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

Cross-Modal Food Retrieval: Learning a Joint Embedding of Food Images and Recipes with Semantic Consistency and Attention Mechanism

About

Food retrieval is an important task to perform analysis of food-related information, where we are interested in retrieving relevant information about the queried food item such as ingredients, cooking instructions, etc. In this paper, we investigate cross-modal retrieval between food images and cooking recipes. The goal is to learn an embedding of images and recipes in a common feature space, such that the corresponding image-recipe embeddings lie close to one another. Two major challenges in addressing this problem are 1) large intra-variance and small inter-variance across cross-modal food data; and 2) difficulties in obtaining discriminative recipe representations. To address these two problems, we propose Semantic-Consistent and Attention-based Networks (SCAN), which regularize the embeddings of the two modalities through aligning output semantic probabilities. Besides, we exploit a self-attention mechanism to improve the embedding of recipes. We evaluate the performance of the proposed method on the large-scale Recipe1M dataset, and show that we can outperform several state-of-the-art cross-modal retrieval strategies for food images and cooking recipes by a significant margin.

Hao Wang, Doyen Sahoo, Chenghao Liu, Ke Shu, Palakorn Achananuparp, Ee-peng Lim, Steven C. H. Hoi• 2020

Related benchmarks

TaskDatasetResultRank
Image-to-recipe retrievalRecipe1M 10k setup (test)
Recall@123.7
125
Recipe-to-image retrievalRecipe1M 10k setup (test)
R@125.3
120
Image-to-recipe retrievalRecipe1M 1k setup (test)
Recall@154
116
Recipe-to-image retrievalRecipe1M 1k setup (test)
Recall@154.9
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
Cross-modal Retrieval (Recipe-to-Image)Recipe1M v1 (1k)
Median Rank1
13
Cross-modal Retrieval (Recipe-to-Image)Recipe1M 10k v1
Median Rank5.1
13
Showing 9 of 9 rows

Other info

Follow for update