Proceedings of ESCAPE 35ISSN: 2818-4734
Volume: 4 (2025)
Table of Contents
LAPSE:2025.0507
Published Article
LAPSE:2025.0507
Beyond ChatGMP: Improving LLM generation through user preferences
Fiammetta Caccavale, Carina L. Gargalo, Krist V. Gernaey, Ulrich Krühne, Alessandra Russo
June 27, 2025
Abstract
Prompt engineering – improving the command given to a large language model (LLM) – is becoming increasingly useful in order to maximize the performance of the model and therefore the quality of the output. However, in certain instances, the user is not able to enrich the prompt with additional and personalized details, such as the preferred tone and length of generated response. Therefore, it is useful to create models that learn these preferences and implement them directly in the prompt. Current state-of-the-art inductive logic programming (ILP) systems can play an important role in the development and advancement of digitalization strategies. For example, they can be used to learn personal preferences of users without sacrificing human interpretability of the learned outcomes. These systems have recently witnessed the development of data efficient, robust, and human interpretable algorithms and systems for learning predictive models from data and background knowledge. In this paper, one of these systems, ILASP (inductive learning of answer set programs), is used to develop a proof of concept of how personal preferences of groups of students participating in an interview exercise can be learned to tailor and improve the generated response of a LLM used in an educational context.
Keywords
Artificial Intelligence, Education, Industry 40, Intelligent Systems, Machine Learning
Suggested Citation
Caccavale F, Gargalo CL, Gernaey KV, Krühne U, Russo A. Beyond ChatGMP: Improving LLM generation through user preferences. Systems and Control Transactions 4:2209-2214 (2025) https://doi.org/10.69997/sct.144855
Author Affiliations
Caccavale F: Process and Systems Engineering Center (PROSYS), Department of Chemical and Biochemical Engineering, Technical University of Denmark, Søltofts Plads, Building 228 A, 2800 Kgs. Lyngby, Denmark
Gargalo CL: Process and Systems Engineering Center (PROSYS), Department of Chemical and Biochemical Engineering, Technical University of Denmark, Søltofts Plads, Building 228 A, 2800 Kgs. Lyngby, Denmark
Gernaey KV: Process and Systems Engineering Center (PROSYS), Department of Chemical and Biochemical Engineering, Technical University of Denmark, Søltofts Plads, Building 228 A, 2800 Kgs. Lyngby, Denmark
Krühne U: Process and Systems Engineering Center (PROSYS), Department of Chemical and Biochemical Engineering, Technical University of Denmark, Søltofts Plads, Building 228 A, 2800 Kgs. Lyngby, Denmark
Russo A: Department of Computing, Imperial College London, London, UK
Journal Name
Systems and Control Transactions
Volume
4
First Page
2209
Last Page
2214
Year
2025
Publication Date
2025-07-01
Version Comments
Original Submission
Other Meta
PII: 2209-2214-1331-SCT-4-2025, Publication Type: Journal Article
Record Map
Published Article

LAPSE:2025.0507
This Record
External Link

https://doi.org/10.69997/sct.144855
Article DOI
Download
Files
Jun 27, 2025
Main Article
License
CC BY-SA 4.0
Meta
Record Statistics
Record Views
848
Version History
[v1] (Original Submission)
Jun 27, 2025
 
Verified by curator on
Jun 27, 2025
This Version Number
v1
Citations
Most Recent
This Version
URL Here
https://psecommunity.org/LAPSE:2025.0507
 
Record Owner
PSE Press
Links to Related Works
Directly Related to This Work
Article DOI
References Cited
  1. Caccavale, F., Gargalo, C. L., Kager, J., Larsen, S., Gernaey, K. V., & Krühne, U. (2024). ChatGMP: a case of AI chatbots in chemical engineering education towards the automation of repetitive tasks. Computers and Education: Artificial Intelligence, 100354 https://doi.org/10.1016/j.caeai.2024.100354
  2. Law, M., Russo, A., & Broda, K. (2019). Logic-Based Learning of Answer Set Programs. Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), 11810 LNCS, 196-231. https://doi.org/10.1007/978-3-030-31423-1_6
  3. Muggleton, S., & De Raedt, L. (1994). Inductive logic programming: Theory and methods. The Journal of Logic Programming, 19, 629-679 https://doi.org/10.1016/0743-1066(94)90035-3
  4. Law, M., Russo, A., & Broda, K. (2015). Learning weak constraints in answer set programming. Theory and Practice of Logic Programming, 15(4-5), 511-525. https: //doi.org/10.1017/S1471068415000198 https://doi.org/10.1017/S1471068415000198
  5. Law, M., Russo, A., Bertino, E., Broda, K., & Lobo, J. (2020). FastLAS: Scalable Inductive Logic Programming Incorporating Domain-Specific Optimisation Criteria. Proceedings of the AAAI Conference on Artificial Intelligence, 34(03), 2877-2885. https://doi.org/10.1609/aaai.v34i03.5678
  6. Gelfond, M., & Lifschitz, V. (1988). The stable model semantics for logic programming. ICLP/SLP, 88, 1070-1080
  7. Erdem, E., Gelfond, M., & Leone, N. (2016). Applications of answer set programming. AI Magazine, 37(3), 53-68 https://doi.org/10.1609/aimag.v37i3.2678
  8. Agrafiotis, D. K., Bandyopadhyay, D., Wegner, J. K., & Van Vlijmen, H. (2007). Recent advances in chemoinformatics. Journal of Chemical Information and Modeling, 47(4), 1279-1293. https://doi.org/10.1021/ci700059g
  9. Ando, H. Y., Dehaspe, L., Luyten, W., Van Craenenbroeck, E., Vandecasteele, H., & Van Meervelt, L. (2006). Discovering h-bonding rules in crystals with inductive logic programming. Molecular pharmaceutics, 3(6), 665-674 https://doi.org/10.1021/mp060034z
  10. Begam, B. F., & Kumar, J. S. (2012). A study on cheminformatics and its applications on modern drug discovery. Procedia engineering, 38, 1264-1275 https://doi.org/10.1016/j.proeng.2012.06.156
  11. Muggleton, S. (1993). Inductive logic programming: Derivations, successes and shortcomings. Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), 667 LNAI(1), 21-37. https://doi.org/10.1007/3-540-56602-3_125
  12. Lisi, F. A. (2007). Building rules on top of ontologies for the semantic web with inductive logic programming. arXiv preprint arXiv:0711.1814 https://doi.org/10.1017/S1471068407003195
  13. Costa, V. S., Fonseca, N. A., & Camacho, R. (2008). Logchem: Interactive discriminative mining of chemical structure. 2008 IEEE International Conference on Bioinformatics and Biomedicine, 421-426 https://doi.org/10.1109/BIBM.2008.45
  14. Kaalia, R., Srinivasan, A., Kumar, A., & Ghosh, I. (2016). Ilp-assisted de novo drug design. Machine Learning, 103, 309-341 https://doi.org/10.1007/s10994-016-5556-x
  15. Chung, H.W., Hou, L., Longpre, S., Zoph, B., Tay, Y., Fedus, W., Li, Y., Wang, X., Dehghani, M., Brahma, S. and Webson, A., (2024). Scaling instruction-finetuned language models. Journal of Machine Learning Research, 25(70), pp.1-53
(0.43 seconds)