CookingDiffusion:基于Stable Diffusion的烹饪过程图像生成
CookingDiffusion: Cooking Procedural Image Generation with Stable Diffusion
AI总结:
针对食谱烹饪步骤过程图像序列生成的空白,提出烹饪过程图像生成新任务,引入CookingDiffusion方法结合Stable Diffusion与记忆网络建模多模态提示,在YouCookII基准上实现高质量且序列一致的生成,还支持食材和烹饪方法操纵。
摘要:
近年来,文本到图像生成模型的进展在创建多样化且逼真的图像方面表现出色。这一成功延伸至食品图像领域,其中烹饪风格、食材和食谱等各种条件输入被广泛应用。然而,一个尚未探索的挑战是根据食谱中的烹饪步骤生成一系列过程图像,这可通过视觉指导增强烹饪体验,并可能催生智能烹饪模拟系统。为填补这一空白,我们提出一项名为烹饪过程图像生成的新任务。该任务本质上极具挑战性,需生成符合烹饪步骤的照片级真实感图像,同时保持序列一致性。为此,我们引入CookingDiffusion,一种利用Stable Diffusion和三种创新记忆网络对过程提示建模的新方法。这些提示包括文本提示(代表烹饪步骤)、图像提示(对应烹饪图像)和多模态提示(混合烹饪步骤和图像),确保烹饪过程图像的一致生成。为验证方法有效性,我们预处理YouCookII数据集,建立新基准。实验结果表明,经FID和提出的平均过程一致性指标衡量,我们的模型能生成高质量烹饪过程图像,且在连续烹饪步骤中具有显著一致性;此外,CookingDiffusion能操纵食谱中的食材和烹饪方法。我们将公开代码、模型和数据集。
英文摘要:
Recent advancements in text-to-image generation models have excelled in creating diverse and realistic images. This success extends to food imagery, where various conditional inputs like cooking styles, ingredients, and recipes are utilized. However, a yet-unexplored challenge is generating a sequence of procedural images based on cooking steps from a recipe. This could enhance the cooking experience with visual guidance and possibly lead to an intelligent cooking simulation system. To fill this gap, we introduce a novel task called \textbf{cooking procedural image generation}. This task is inherently demanding, as it strives to create photo-realistic images that align with cooking steps while preserving sequential consistency. To collectively tackle these challenges, we present \textbf{CookingDiffusion}, a novel approach that leverages Stable Diffusion and three innovative Memory Nets to model procedural prompts. These prompts encompass text prompts (representing cooking steps), image prompts (corresponding to cooking images), and multi-modal prompts (mixing cooking steps and images), ensuring the consistent generation of cooking procedural images. To validate the effectiveness of our approach, we preprocess the YouCookII dataset, establishing a new benchmark. Our experimental results demonstrate that our model excels at generating high-quality cooking procedural images with remarkable consistency across sequential cooking steps, as measured by both the FID and the proposed Average Procedure Consistency metrics. Furthermore, CookingDiffusion demonstrates the ability to manipulate ingredients and cooking methods in a recipe. We will make our code, models, and dataset publicly accessible.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。