paper-with-me

Papers

Large Language Models for Ingredient Substitution in Food Recipes using Supervised Fine-tuning and Direct Preference Optimization

2024-12-06 · Thevin Senath, Kumuthu Athukorala, Ransika Costa, Surangika Ranathunga, Rishemjit Kaur

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.

📄 PDF Abstract BibTeX arXiv:2412.04922

Code (1)

Code-Triad/Large-Language-Models-for-Ingredient-Substitution 공식 구현

Tasks

Multi-Task Learning

Methods 이 논문이 사용한 방법론

SET Dynamic Sparse Training method where weight mask is updated randomly periodically
DPO 설명 없음

Similar Papers 제목 키워드 기반

A Graphical Formalism for Commonsense Reasoning with Recipes

2023-06-15 · Antonis Bikakis, Aissatou Diallo, Luke Dickens, Anthony Hunter 외

Whilst cooking is a very important human activity, there has been little consideration given to how we can formalize recipes for use in a reasoning framework. We address this need by proposing a graphical formalization t…

Optimizing Ingredient Substitution Using Large Language Models to Enhance Phytochemical Content in Recipes

2024-09-13 · Luis Rita, Josh Southern, Ivan Laponogov, Kyle Higgins 외

In the emerging field of computational gastronomy, aligning culinary practices with scientifically supported nutritional goals is increasingly important. This study explores how large language models (LLMs) can be applie…

A Rich Recipe Representation as Plan to Support Expressive Multi Modal Queries on Recipe Content and Preparation Process

2022-03-31 · Vishal Pallagani, Priyadharsini Ramamurthy, Vedant Khandelwal, Revathy Venkataramanan 외

Food is not only a basic human necessity but also a key factor driving a society's health and economic well-being. As a result, the cooking domain is a popular use-case to demonstrate decision-support (AI) capabilities i…

Information RetrievalRetrieval

Food Pairing Unveiled: Exploring Recipe Creation Dynamics through Recommender Systems

2024-06-21 · Giovanni Palermo, Claudio Caprioli, Giambattista Albora

In the early 2000s, renowned chef Heston Blumenthal formulated his "food pairing" hypothesis, positing that if foods share many flavor compounds, then they tend to taste good when eaten together. In 2011, Ahn et al. cond…

Collaborative FilteringRecommendation Systems

Inverse Cooking: Recipe Generation from Food Images

2018-12-14 · CVPR 2019 6 · Amaia Salvador, Michal Drozdzal, Xavier Giro-i-Nieto, Adriana Romero

People enjoy food photography because they appreciate food. Behind each meal there is a story described in a complex recipe and, unfortunately, by simply looking at a food image we do not have access to its preparation p…

Recipe GenerationRetrieval