paper-with-me

홈 › Papers

Revamping Cross-Modal Recipe Retrieval with Hierarchical Transformers and Self-supervised Learning

2021-03-24 · CVPR 2021 1 · Amaia Salvador, Erhan Gundogdu, Loris Bazzani, Michael Donoser

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.

📄 PDF Abstract BibTeX arXiv:2103.13061

Code (1)

amzn/image-to-recipe-transformers 공식 구현 pytorch

Tasks

Cross-Modal RetrievalRetrievalSelf-Supervised Learning

Methods 이 논문이 사용한 방법론

Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Absolute Position Encodings Absolute Position Encodings are a type of position embeddings for [Transformer-based models] where positional encodings are…
Position-Wise Feed-Forward Layer 설명 없음
Residual Connection 설명 없음
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…
Adam 설명 없음
Dense Connections Dense Connections, or Fully Connected Connections, are a type of layer in a deep neural network that use a linear operation where every input is connected to every output…
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…

Similar Papers 제목 키워드 기반

Transformer-based Cross-Modal Recipe Embeddings with Large Batch Training

2022-05-10 · Jing Yang, Junwen Chen, Keiji Yanai

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 Learning

CHEF: Cross-modal Hierarchical Embeddings for Food Domain Retrieval

2021-02-04 · Hai X. Pham, Ricardo Guerrero, Jiatong Li, Vladimir Pavlovic

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 RetrievalRetrieval

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

2020-03-09 · Hao Wang, Doyen Sahoo, Chenghao Liu, Ke Shu 외

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 RetrievalRetrieval

Dividing and Conquering Cross-Modal Recipe Retrieval: from Nearest Neighbours Baselines to SoTA

2019-11-28 · Mikhail Fain, Niall Twomey, Andrey Ponikar, Ryan Fox 외

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 RetrievalRetrievalTriplet

Learning Joint Embedding with Modality Alignments for Cross-Modal Retrieval of Recipes and Food Images

2021-08-09 · Zhongwei Xie, Ling Liu, Lin Li, Luo Zhong

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