Learning Program Representations for Food Images and Cooking Recipes

被引:12
|
作者
Papadopoulos, Dim P. [1 ,3 ]
Mora, Enrique [2 ]
Chepurko, Nadiia [1 ]
Huang, Kuan Wei [1 ]
Ofli, Ferda [4 ]
Torralba, Antonio [1 ]
机构
[1] MIT CSAIL, Cambridge, MA 02139 USA
[2] Nestle, Vevey, Switzerland
[3] DTU Compute, Lyngby, Denmark
[4] HBKU, Qatar Comp Res Inst, Ar Rayyan, Qatar
关键词
D O I
10.1109/CVPR52688.2022.01606
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
In this paper, we are interested in modeling a how-to instructional procedure, such as a cooking recipe, with a meaningfiil 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(1).
引用
收藏
页码:16538 / 16548
页数:11
相关论文
共 50 条
  • [31] Development of a Machine Learning Model for Classifying Cooking Recipes According to Dietary Styles
    Yamaguchi, Miwa
    Araki, Michihiro
    Hamada, Kazuki
    Nojiri, Tetsuya
    Nishi, Nobuo
    FOODS, 2024, 13 (05)
  • [32] Inverse Cooking: Recipe Generation from Food Images
    Salvador, Amaia
    Drozdzal, Michal
    Giro-i-Nieto, Xavier
    Romero, Adriana
    2019 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR 2019), 2019, : 10445 - 10454
  • [33] Estimating Glycemic Impact of Cooking Recipes via Online Crowdsourcing and Machine Learning
    Lee, Helena
    Achananuparp, Palakorn
    Liu, Yue
    Lim, Ee-Peng
    Varshney, Lav R.
    PROCEEDINGS OF THE 9TH INTERNATIONAL CONFERENCE ON DIGITAL PUBLIC HEALTH (DPH '19), 2019, : 31 - 35
  • [34] AutoChef: Automated Generation of Cooking Recipes
    Jabeen, Hajira
    Weinz, Jonas
    Lehmann, Jens
    2020 IEEE CONGRESS ON EVOLUTIONARY COMPUTATION (CEC), 2020,
  • [35] The Homemade Kitchen: Recipes for Cooking with Pleasure
    Campbell, Lisa
    LIBRARY JOURNAL, 2015, 140 (13) : 119 - 119
  • [36] Cooking in the Moment: A Year of Seasonal Recipes
    Scarr, Carrie
    LIBRARY JOURNAL, 2011, 136 (03) : 129 - 129
  • [37] Allergy Cooking: a Guide with Menus and Recipes
    不详
    LIBRARY JOURNAL, 1955, 80 (07) : 809 - 809
  • [38] 1080 Recipes - The joy of cooking for the cocina
    Cooperman, Stephanie
    FORBES, 2007, : 164 - 164
  • [39] Cooking without recipes - Sindell,C
    Poquette, B
    LIBRARY JOURNAL, 1997, 122 (06) : 116 - 116
  • [40] Recipes for Organizing: Cooking Futures Together
    Parker, Martin
    ORGANIZATION, 2025, 32 (03) : 483 - 485