The Proof is in the Pudding: Using Automated Theorem Proving to Generate
Cooking Recipes
- URL: http://arxiv.org/abs/2203.02683v1
- Date: Sat, 5 Mar 2022 08:50:34 GMT
- Title: The Proof is in the Pudding: Using Automated Theorem Proving to Generate
Cooking Recipes
- Authors: Louis Mahon and Carl Vogel
- Abstract summary: This paper presents FASTFOOD, a rule-based Natural Language Generation Program for cooking recipes.
Recipes are generated by using an Automated Theorem Proving procedure to select the ingredients and instructions, with ingredients corresponding to axioms and instructions to implications.
FASTFOOD also contains a temporal optimization module which can rearrange the recipe to make it more time-efficient for the user.
- Score: 4.281959480566437
- License: http://creativecommons.org/licenses/by/4.0/
- Abstract: This paper presents FASTFOOD, a rule-based Natural Language Generation
Program for cooking recipes. Recipes are generated by using an Automated
Theorem Proving procedure to select the ingredients and instructions, with
ingredients corresponding to axioms and instructions to implications. FASTFOOD
also contains a temporal optimization module which can rearrange the recipe to
make it more time-efficient for the user, e.g. the recipe specifies to chop the
vegetables while the rice is boiling. The system is described in detail, using
a framework which divides Natural Language Generation into 4 phases: content
production, content selection, content organisation and content realisation. A
comparison is then made with similar existing systems and techniques.
Related papers
- PizzaCommonSense: Learning to Model Commonsense Reasoning about Intermediate Steps in Cooking Recipes [7.839338724237275]
A model to effectively reason about cooking recipes must accurately discern and understand the inputs and outputs of intermediate steps within the recipe.
We present a new corpus of cooking recipes enriched with descriptions of intermediate steps that describe the input and output for each step.
arXiv Detail & Related papers (2024-01-12T23:33:01Z) - Monte Carlo Tree Search for Recipe Generation using GPT-2 [0.8057006406834466]
We propose RecipeMC, a text generation method using GPT-2 that relies on Monte Carlo Tree Search (MCTS)
RecipeMC allows us to define reward functions to put soft constraints on text generation and thus improve the credibility of the generated recipes.
Our results show that human evaluators prefer recipes generated with RecipeMC more often than recipes generated with other baseline methods.
arXiv Detail & Related papers (2024-01-10T14:50:46Z) - Large Language Models as Sous Chefs: Revising Recipes with GPT-3 [56.7155146252028]
We focus on recipes as an example of complex, diverse, and widely used instructions.
We develop a prompt grounded in the original recipe and ingredients list that breaks recipes down into simpler steps.
We also contribute an Amazon Mechanical Turk task that is carefully designed to reduce fatigue while collecting human judgment of the quality of recipe revisions.
arXiv Detail & Related papers (2023-06-24T14:42:43Z) - Counterfactual Recipe Generation: Exploring Compositional Generalization
in a Realistic Scenario [60.20197771545983]
We design the counterfactual recipe generation task, which asks models to modify a base recipe according to the change of an ingredient.
We collect a large-scale recipe dataset in Chinese for models to learn culinary knowledge.
Results show that existing models have difficulties in modifying the ingredients while preserving the original text style, and often miss actions that need to be adjusted.
arXiv Detail & Related papers (2022-10-20T17:21:46Z) - Assistive Recipe Editing through Critiquing [34.1050269670062]
RecipeCrit is a hierarchical denoising auto-encoder that edits recipes given ingredient-level critiques.
Our work's main innovation is our unsupervised critiquing module that allows users to edit recipes by interacting with the predicted ingredients.
arXiv Detail & Related papers (2022-05-05T05:52:27Z) - Learning Structural Representations for Recipe Generation and Food
Retrieval [101.97397967958722]
We propose a novel framework of Structure-aware Generation Network (SGN) to tackle the food recipe generation task.
Our proposed model can produce high-quality and coherent recipes, and achieve the state-of-the-art performance on the benchmark Recipe1M dataset.
arXiv Detail & Related papers (2021-10-04T06:36:31Z) - Structure-Aware Generation Network for Recipe Generation from Images [142.047662926209]
We investigate an open research task of generating cooking instructions based on only food images and ingredients.
Target recipes are long-length paragraphs and do not have annotations on structure information.
We propose a novel framework of Structure-aware Generation Network (SGN) to tackle the food recipe generation task.
arXiv Detail & Related papers (2020-09-02T10:54:25Z) - Decomposing Generation Networks with Structure Prediction for Recipe
Generation [142.047662926209]
We propose a novel framework: Decomposing Generation Networks (DGN) with structure prediction.
Specifically, we split each cooking instruction into several phases, and assign different sub-generators to each phase.
Our approach includes two novel ideas: (i) learning the recipe structures with the global structure prediction component and (ii) producing recipe phases in the sub-generator output component based on the predicted structure.
arXiv Detail & Related papers (2020-07-27T08:47:50Z) - A Recipe for Creating Multimodal Aligned Datasets for Sequential Tasks [48.39191088844315]
In the cooking domain, the web offers many partially-overlapping text and video recipes that describe how to make the same dish.
We use an unsupervised alignment algorithm that learns pairwise alignments between instructions of different recipes for the same dish.
We then use a graph algorithm to derive a joint alignment between multiple text and multiple video recipes for the same dish.
arXiv Detail & Related papers (2020-05-19T17:27:00Z) - A Named Entity Based Approach to Model Recipes [9.18959130745234]
We propose a structure that can accurately represent the recipe as well as a pipeline to infer the best representation of the recipe in this uniform structure.
Ingredients section in a recipe typically lists down the ingredients required and corresponding attributes such as quantity, temperature, and processing state.
The instruction section lists down a series of events in which a cooking technique or process is applied upon these utensils and ingredients.
arXiv Detail & Related papers (2020-04-25T16:37:26Z) - RecipeGPT: Generative Pre-training Based Cooking Recipe Generation and
Evaluation System [29.150333060513177]
We present RecipeGPT, a novel online recipe generation and evaluation system.
System provides two modes of text generations: instruction generation from given recipe title and ingredients; and ingredient generation from recipe title and cooking instructions.
Back-end text generation module comprises a generative pre-trained language model GPT-2 fine-tuned on a large cooking recipe dataset.
arXiv Detail & Related papers (2020-03-05T09:25:30Z)
This list is automatically generated from the titles and abstracts of the papers in this site.
This site does not guarantee the quality of this site (including all information) and is not responsible for any consequences.