Papers › Transformer Decoders with MultiModal Regularization for Cross-Modal Food Retrieval

Transformer Decoders with MultiModal Regularization for Cross-Modal Food Retrieval

20 Apr 2022arXiv:2204.09730archive 2025-07-28

Mustafa Shukor, Guillaume Couairon, Asya Grechka, Matthieu Cord

Cross-modal image-recipe retrieval has gained significant attention in recent years. Most work focuses on improving cross-modal embeddings using unimodal encoders, that allow for efficient retrieval in large-scale databases, leaving aside cross-attention between modalities which is more computationally expensive. We propose a new retrieval framework, T-Food (Transformer Decoders with MultiModal Regularization for Cross-Modal Food Retrieval) that exploits the interaction between modalities in a novel regularization scheme, while using only unimodal encoders at test time for efficient retrieval. We also capture the intra-dependencies between recipe entities with a dedicated recipe encoder, and propose new variants of triplet losses with dynamic margins that adapt to the difficulty of the task. Finally, we leverage the power of the recent Vision and Language Pretraining (VLP) models such as CLIP for the image encoder. Our approach outperforms existing approaches by a large margin on the Recipe1M dataset. Specifically, we achieve absolute improvements of 8.1 % (72.6 R@1) and +10.9 % (44.6 R@1) on the 1k and 10k test sets respectively. The code is available here:https://github.com/mshukor/TFood

PaperPDFCode

Code

mshukor/tfood officialmentioned in papermentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

Not run by Syntology. Nothing on this page verifies that the listed code works.

Tasks

Cross-Modal RetrievalRetrieval

1 archive task tag without a task page not shown.

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Cross-Modal Retrieval Recipe1M T-Food (CLIP) Image-to-text R@1 72.3 #3 of 9 Archive leaderboard report
Cross-Modal Retrieval Recipe1M T-Food (CLIP) Text-to-image R@1 72.6 #3 of 9 Archive leaderboard report
Cross-Modal Retrieval Recipe1M T-Food Image-to-text R@1 68.2 #4 of 9 Archive leaderboard report
Cross-Modal Retrieval Recipe1M T-Food Text-to-image R@1 68.3 #4 of 9 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

CLIP

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections