Revamping Cross-Modal Recipe Retrieval with Hierarchical Transformers and Self-supervised Learning
Cross-modal recipe retrieval has recently gained substantial attention due to the importance of food in people's lives, as well as the availability of vast amounts of digital cooking recipes and food images to train machine learning models. In this work, we revisit existing approaches for cross-modal recipe retrieval and propose a simplified end-to-end model based on well established and high performing encoders for text and images. We introduce a hierarchical recipe Transformer which attentively encodes individual recipe components (titles, ingredients and instructions). Further, we propose a self-supervised loss function computed on top of pairs of individual recipe components, which is able to leverage semantic relationships within recipes, and enables training using both image-recipe and recipe-only samples. We conduct a thorough analysis and ablation studies to validate our design choices. As a result, our proposed method achieves state-of-the-art performance in the cross-modal recipe retrieval task on the Recipe1M dataset. We make code and models publicly available.
Code (1)
Tasks
Cross-Modal RetrievalRetrievalSelf-Supervised LearningMethods 이 논문이 사용한 방법론
Similar Papers 제목 키워드 기반
Transformer-based Cross-Modal Recipe Embeddings with Large Batch Training
In this paper, we present a cross-modal recipe retrieval framework, Transformer-based Network for Large Batch Training (TNLBT), which is inspired by ACME~(Adversarial Cross-Modal Embedding) and H-T~(Hierarchical Transfor…
Contrastive LearningImage GenerationRetrievalSelf-Supervised LearningCHEF: Cross-modal Hierarchical Embeddings for Food Domain Retrieval
Despite the abundance of multi-modal data, such as image-text pairs, there has been little effort in understanding the individual entities and their different roles in the construction of these data instances. In this wo…
Cross-Modal RetrievalRetrievalCross-Modal Food Retrieval: Learning a Joint Embedding of Food Images and Recipes with Semantic Consistency and Attention Mechanism
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. …
Cross-Modal RetrievalRetrievalDividing and Conquering Cross-Modal Recipe Retrieval: from Nearest Neighbours Baselines to SoTA
We propose a novel non-parametric method for cross-modal recipe retrieval which is applied on top of precomputed image and text embeddings. By combining our method with standard approaches for building image and text enc…
Cross-Modal RetrievalRetrievalTripletLearning Joint Embedding with Modality Alignments for Cross-Modal Retrieval of Recipes and Food Images
This paper presents a three-tier modality alignment approach to learning text-image joint embedding, coined as JEMA, for cross-modal retrieval of cooking recipes and food images. The first tier improves recipe text embed…
cross-modal alignmentCross-Modal RetrievalRetrievalTerm Extraction+1