Recipe Generation from Unsegmented Cooking Videos
Taichi Nishimura, Atsushi Hashimoto, Yoshitaka Ushiku, Hirotaka Kameko, Shinsuke Mori
TL;DR
This work tackles the challenging problem of generating coherent recipes from unsegmented cooking videos by jointly extracting key cooking events and generating grounded sentences. It introduces a transformer-based multimodal recurrent model with an event selector and a sentence generator that memorize and mix histories to produce a story-aware sequence of steps, grounded in visual content. An extended model adds a dot-product visual simulator and textual attention to incorporate ingredient state transitions and verbalization, using YouCook2 for evaluation; the base model outperforms state-of-the-art DVC methods on story-oriented metrics, and the extended model further improves grounding and event sequencing. The approach offers a practical path to readable multimedia recipe summaries and could benefit education, content summarization, and cooking assistance systems, especially when narrated data is unavailable.
Abstract
This paper tackles recipe generation from unsegmented cooking videos, a task that requires agents to (1) extract key events in completing the dish and (2) generate sentences for the extracted events. Our task is similar to dense video captioning (DVC), which aims at detecting events thoroughly and generating sentences for them. However, unlike DVC, in recipe generation, recipe story awareness is crucial, and a model should extract an appropriate number of events in the correct order and generate accurate sentences based on them. We analyze the output of the DVC model and confirm that although (1) several events are adoptable as a recipe story, (2) the generated sentences for such events are not grounded in the visual content. Based on this, we set our goal to obtain correct recipes by selecting oracle events from the output events and re-generating sentences for them. To achieve this, we propose a transformer-based multimodal recurrent approach of training an event selector and sentence generator for selecting oracle events from the DVC's events and generating sentences for them. In addition, we extend the model by including ingredients to generate more accurate recipes. The experimental results show that the proposed method outperforms state-of-the-art DVC models. We also confirm that, by modeling the recipe in a story-aware manner, the proposed model outputs the appropriate number of events in the correct order.
