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

Learning Cross-Modal Embeddings with Adversarial Networks for Cooking Recipes and Food Images

About

Food computing is playing an increasingly important role in human daily life, and has found tremendous applications in guiding human behavior towards smart food consumption and healthy lifestyle. An important task under the food-computing umbrella is retrieval, which is particularly helpful for health related applications, where we are interested in retrieving important information about food (e.g., ingredients, nutrition, etc.). In this paper, we investigate an open research task of cross-modal retrieval between cooking recipes and food images, and propose a novel framework Adversarial Cross-Modal Embedding (ACME) to resolve the cross-modal retrieval task in food domains. Specifically, the goal is to learn a common embedding feature space between the two modalities, in which our approach consists of several novel ideas: (i) learning by using a new triplet loss scheme together with an effective sampling strategy, (ii) imposing modality alignment using an adversarial learning strategy, and (iii) imposing cross-modal translation consistency such that the embedding of one modality is able to recover some important information of corresponding instances in the other modality. ACME achieves the state-of-the-art performance on the benchmark Recipe1M dataset, validating the efficacy of the proposed technique.

Hao Wang, Doyen Sahoo, Chenghao Liu, Ee-peng Lim, Steven C. H. Hoi• 2019

Related benchmarks

TaskDatasetResultRank
Image-to-recipe retrievalRecipe1M 10k setup (test)
Recall@122.9
125
Recipe-to-image retrievalRecipe1M 10k setup (test)
R@124.4
120
Image-to-recipe retrievalRecipe1M 1k setup (test)
Recall@151.8
116
Recipe-to-image retrievalRecipe1M 1k setup (test)
Recall@152.8
110
Image-to-recipe retrievalRecipe1M 1.0 (test)
Median Rank1
35
Recipe-to-image retrievalRecipe1M 1.0 (test)
MedR1
30
Cross-modal Retrieval (Image-to-Recipe)Recipe1M v1 (1k)
MedR1
28
Image-to-Textual Recipe RetrievalRecipe1M 1k items setup 1.0
MedR1
25
Textual Recipe-to-Image RetrievalRecipe1M 1k items setup 1.0
MedR1
24
Cross-modal Retrieval (Recipe-to-Image)Recipe1M v1 (1k)
Median Rank1
13
Showing 10 of 16 rows

Other info

Code

Follow for update