Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Inverse Cooking: Recipe Generation from Food Images

About

People enjoy food photography because they appreciate food. Behind each meal there is a story described in a complex recipe and, unfortunately, by simply looking at a food image we do not have access to its preparation process. Therefore, in this paper we introduce an inverse cooking system that recreates cooking recipes given food images. Our system predicts ingredients as sets by means of a novel architecture, modeling their dependencies without imposing any order, and then generates cooking instructions by attending to both image and its inferred ingredients simultaneously. We extensively evaluate the whole system on the large-scale Recipe1M dataset and show that (1) we improve performance w.r.t. previous baselines for ingredient prediction; (2) we are able to obtain high quality recipes by leveraging both image and ingredients; (3) our system is able to produce more compelling recipes than retrieval-based approaches according to human judgment. We make code and models publicly available.

Amaia Salvador, Michal Drozdzal, Xavier Giro-i-Nieto, Adriana Romero• 2018

Related benchmarks

TaskDatasetResultRank
Recipe GenerationRecipe1M
SacreBLEU4.33
12
Recipe GenerationRecipe1M (test)
Success Rate55.47
6
Ingredient RecognitionRecipe1M 1.0
F1 Score48.44
6
Ingredient PredictionRecipe1M (test)
IoU0.3211
4
Ingredient PredictionRecipe1M User Study 1.0 (test)
IoU0.3252
3
Ingredient prediction in cooking instructionsRecipe1M (test)
Recall0.7547
2
Showing 6 of 6 rows

Other info

Code

Follow for update