Large Language Models for Ingredient Substitution in Food Recipes using Supervised Fine-tuning and Direct Preference Optimization
On the map: LLM alignment / RLHF / preference optimisation → Human values and AI feedback alignment
Abstract (arXiv)
In this paper, we address the challenge of recipe personalization through ingredient substitution. We make use of Large Language Models (LLMs) to build an ingredient substitution system designed to predict plausible substitute ingredients within a given recipe context. Given that the use of LLMs for this task has been barely done, we carry out an extensive set of experiments to determine the best LLM, prompt, and the fine-tuning setups. We further experiment with methods such as multi-task learning, two-stage fine-tuning, and Direct Preference Optimization (DPO). The experiments are conducted using the publicly available Recipe1MSub corpus. The best results are produced by the Mistral7-Base LLM after fine-tuning and DPO. This result outperforms the strong baseline available for the same corpus with a Hit@1 score of 22.04. Thus we believe that this research represents a significant step towards enabling personalized and creative culinary experiences by utilizing LLM-based ingredient substitution.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Placed in Human values and AI feedback alignment, one of 10 directions in LLM alignment / RLHF / preference optimisation. Builds on 8 of its 33 references that are in the map. First posted on arXiv 6 Dec 2024.
Builds on
8 of 33 references.
References · 8
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2013Efficient Estimation of Word Representations in Vector Spacecited by 4,375
- 2022Training a Helpful and Harmless Assistant with Reinforcement Learning from Human Feedbackcited by 3,720
- 2023Mistral 7Bcited by 3,164
- 2024Gemma: Open Models Based on Gemini Research and Technologycited by 916
- 2022A Survey on In-context Learningcited by 721
- 2023Learning to Substitute Ingredients in Recipescited by 8
- 2016Extracting Food Substitutes From Food Diary via Distributional Similaritycited by 4
Built on by
Citing papers per year: 2025: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2026Enhancing Action and Ingredient Modeling for Semantically Grounded Recipe Generation
- 2024Directed Domain Fine-Tuning: Tailoring Separate Modalities for Specific Training Tasks
- 2025Culinary Crossroads: A RAG Framework for Enhancing Diversity in Cross-Cultural Recipe Adaptation
- 2024FoodSky: A Food-oriented Large Language Model that Passes the Chef and Dietetic Examination
- 2026CGU-ILALab at FoodBench-QA 2026: Comparing Traditional and LLM-based Approaches for Recipe Nutrient Estimation
- 2026FlavourBench: Executable Culinary Reward Maps for Language Model Evaluation and Post-Training
- 2026LLM Agents for Automated Post-Training via Structured Recipe Optimization
- 2024FoodMLLM-JP: Leveraging Multimodal Large Language Models for Japanese Recipe Generation