TL;DR
This paper introduces Visual Recipe Flow (VRF), a novel multimodal dataset that links visual object state changes in cooking with their corresponding textual recipe instructions. By providing dense, action-level visual annotations grounded in a recipe flow graph, VRF enables AI agents to better understand and predict the outcomes of cooking actions, paving the way for more sophisticated procedural reasoning.
What Problem Does This Paper Address?
Understanding procedural texts, like recipes, is a significant challenge for AI. While previous work has focused on annotating entire instructions with images, this approach often falls short because a single instruction can involve multiple distinct actions, each with its own visual outcome. For instance, "slice the tomato and put it into the bowl" results in both a sliced tomato and the tomato being in the bowl. To truly grasp cooking processes, AI needs to track how individual objects change state with each specific action. This requires a more granular, action-wise visual annotation that connects directly to the underlying workflow of the recipe.
Methods
The core of this work is the creation of the Visual Recipe Flow (VRF) dataset. The dataset is built upon a recipe flow graph (r-FG), which represents the sequential dependencies and relationships between cooking actions and ingredients. This r-FG acts as a structural backbone.
The key innovation lies in the dense visual annotation that grounds the r-FG. For each action in the recipe, VRF provides:
- Image Pairs: A "before" and "after" image pair illustrating the state change of an object.
- Grounding: These image pairs are explicitly linked to specific actions and objects within the r-FG, establishing a cross-modal connection.
The annotation process involves three steps:
- r-NE Annotation: Identifying and tagging recipe named entities (ingredients, tools, actions, states) within the text.
- r-FG Annotation: Constructing the recipe flow graph by connecting these entities and defining their relationships.
- Image Annotation: Capturing object state changes with image pairs, sampled from cooking videos and aligned with the r-FG.
Datasets
The paper introduces the Visual Recipe Flow (VRF) dataset.
- Source: Collected from 200 Japanese recipes and corresponding cooking videos from the Kurashiru website.
- Content: Includes ingredient lists, instruction lists, and cooking videos.
- Annotations:
- r-NEs: 11,686 annotated recipe named entities across 8 types.
- r-FGs: 11,291 annotated recipe flow graphs across 13 types.
- Visual Annotations: 3,705 objects annotated with pre- and post-action image pairs, totaling 5,659 images.
- Focus: Primarily on salad recipes to simplify procedures while capturing a good variety of actions and ingredients.
Key Insights and Ideas
- Action-wise vs. Instruction-wise Annotation: The paper strongly advocates for action-level visual annotation, arguing that instruction-level is insufficient for complex recipes. This granular approach is crucial for understanding the precise impact of each cooking step.
- Cross-Modal Grounding is Key: Linking visual state changes directly to a structured recipe flow graph (r-FG) is essential for enabling AI to reason about cooking processes. This grounding allows for a deeper understanding of dependencies and requirements.
- Visual Modality is Crucial for Prediction: Experiments show that visual information significantly improves the ability to find correct post-action images, highlighting its importance for tasks like multimodal information retrieval in recipes.
- Dataset Enables New Applications: VRF is designed to support advanced AI tasks such as multimodal commonsense reasoning about food transformations and procedural text generation that is visually consistent.
Key Results
- High Annotation Agreement: The inter-annotator agreement for r-NEs was very high (F-measure 98.40), indicating clear guidelines. r-FG agreement was also strong (F-measure 86.11). Image annotation agreement was lower (F-measure 72.80) but still considered high given the complexity.
- Multimodal Retrieval Performance: In a multimodal information retrieval task (finding the correct post-action image given an action verb and pre-action image), combining text and visual modalities yielded better results than either modality alone, demonstrating the dataset's utility. Specifically, using both text and image inputs improved performance, indicating complementary information.
Limitations and Future Work
- Limited Scope of Recipes: The dataset primarily focuses on salad recipes. While this simplifies annotation and initial analysis, future work could expand to more complex cuisines and cooking techniques.
- Annotation Differences: While inter-annotator agreement for images was good, it was lower than for text. This suggests that visual interpretation can be more subjective, and further refinement of annotation guidelines or more robust visual features might be beneficial.
- Future Directions: The authors suggest using VRF for multimodal commonsense reasoning and procedural text generation. The dataset's structure also lends itself to exploring few-shot learning for vision-language models.
Summary updated