Leveraging LLMs for recipe generation: Knowledge distillation with GPT-2, BART, T5, and LoRA fine-tuning

bracu.type.groupResearch Publications
datacite.rightsMetadata Only
dc.contributor.authorSakib N.
dc.contributor.authorGope, Nirjhar
dc.contributor.authorHosen M.A.
dc.contributor.departmentDepartment of Computer Science and Engineering
dc.date.accessioned2026-08-22T10:35:10Z
dc.date.available2026-08-22T10:35:10Z
dc.date.issued2025-01-01
dc.description.abstractAutomatic recipe generation transforms ingredient lists into coherent and logically sequenced cooking instructions, a task that challenges even state-of-the-art language models due to redundancy, inconsistency, and fluency issues. This study proposes an efficient and scalable recipe generation framework using fine-tuned Large Language Models (T5, BART, GPT-2) combined with Low-Rank Adaptation (LoRA) and Knowledge Distillation. To mitigate data scarcity and enhance diversity, a clustering-based downsampling approach was applied to extract 1,000 high-quality samples from a large-scale recipe dataset, followed by systematic preprocessing and refinement using a teacher model. Experimental results demonstrate that BART outperforms in ROUGE metrics, reflecting superior structure and fidelity, while T5 achieves the highest BLEU score, indicating more fluent and semantically rich instructions. The integration of LoRA allowed for parameter-efficient fine-tuning, enabling high performance under limited computational resources. Compared to baseline models, the proposed framework yields significantly more coherent, diverse, and instructionally relevant recipes, establishing a robust foundation for scalable, real-world AI-driven culinary applications.
dc.description.versionPublished
dc.format.extent7 Pages
dc.identifier.citationN. Sakib, N. Gope and M. A. Hosen, "Leveraging LLMs for Recipe Generation: Knowledge Distillation with GPT-2, BART, T5, and LoRA Fine-Tuning," 2025 IEEE International Conference on Future Machine Learning and Data Science (FMLDS), Los Angeles, CA, USA, 2025, pp. 694-700, doi: 10.1109/FMLDS67896.2025.00117.
dc.identifier.doi10.1109/FMLDS67896.2025.00117
dc.identifier.issn9798331553975
dc.identifier.other2-s2.0-105037317552
dc.identifier.urihttps://hdl.handle.net/10361/29428
dc.language.isoen_US
dc.publisherInstitute of Electrical and Electronics Engineers Inc.
dc.relation.hasversion10.1109/FMLDS67896.2025.00117
dc.relation.ispartofProceedings 2025 IEEE International Conference on Future Machine Learning and Data Science Fmlds 2025
dc.relation.ispartofseriesProceedings 2025 IEEE International Conference on Future Machine Learning and Data Science Fmlds 2025
dc.relation.urihttps://ieeexplore.ieee.org/document/11446503
dc.subjectTraining
dc.subjectAdaptation models
dc.subjectSystematics
dc.subjectComputational modeling
dc.subjectTransformers
dc.subjectData models
dc.subjectRecipe generation
dc.subjectKnowledge distillation
dc.subjectLow-rank adaptation
dc.subjectTransformer models
dc.subject.lcshNatural language processing (Computer science).
dc.titleLeveraging LLMs for recipe generation: Knowledge distillation with GPT-2, BART, T5, and LoRA fine-tuning
dc.typeConference Proceeding
person.affiliation.nameDeakin University
person.affiliation.nameBRAC University
person.affiliation.nameDeakin University
person.identifier.scopus-author-id58650270000
person.identifier.scopus-author-id59940429400
person.identifier.scopus-author-id36990277200

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
IMG_8345.jpg
Size:
27.35 KB
Format:
Joint Photographic Experts Group/JPEG File Interchange Format (JFIF)

License bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
license.txt
Size:
1.71 KB
Format:
Item-specific license agreed upon to submission
Description: