arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2203.16071cs.CV
收藏

食物图像和烹饪食谱的学习程序表示

Learning Program Representations for Food Images and Cooking Recipes

MIT CSAIL(麻省理工学院计算机科学与人工智能实验室);DTU Compute(丹麦技术大学计算学院);Nestle(雀巢公司);Qatar Computing Research Institute, HBKU(哈马德·本·哈利法大学卡塔尔计算研究所)

Dim P. Papadopoulos, Enrique Mora, Nadiia Chepurko, Kuan Wei Huang, Ferda Ofli, Antonio Torralba

摘要:

在本文中,我们感兴趣的是如何建模的教学过程,如烹饪食谱,有意义的和丰富的高层次的表示。具体来说,我们建议代表烹饪食谱和食物图像作为烹饪程序。程序提供任务的结构化表示,以图形的形式捕获烹饪语义和动作的顺序关系。这使得它们可以很容易地被用户操纵并由代理执行。为此,我们构建了一个模型,该模型经过训练,可以通过自我监督来学习食谱和食物图像之间的联合嵌入,并根据该嵌入作为序列联合生成程序。为了验证我们的想法,我们众包烹饪食谱的程序,并表明:(a)将图像食谱嵌入到程序中会导致更好的跨模态检索结果;(b)与预测原始烹饪指令相比,从图像生成程序会导致更好的识别结果;(c)我们可以通过优化GAN的潜在代码来操纵程序来生成食物图像。代码、数据和模型可在线获取。

英文摘要:

In this paper, we are interested in modeling a how-to instructional procedure, such as a cooking recipe, with a meaningful and rich high-level representation. Specifically, we propose to represent cooking recipes and food images as cooking programs. Programs provide a structured representation of the task, capturing cooking semantics and sequential relationships of actions in the form of a graph. This allows them to be easily manipulated by users and executed by agents. To this end, we build a model that is trained to learn a joint embedding between recipes and food images via self-supervision and jointly generate a program from this embedding as a sequence. To validate our idea, we crowdsource programs for cooking recipes and show that: (a) projecting the image-recipe embeddings into programs leads to better cross-modal retrieval results; (b) generating programs from images leads to better recognition results compared to predicting raw cooking instructions; and (c) we can generate food images by manipulating programs via optimizing the latent code of a GAN. Code, data, and models are available online.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑