Recipe1M+: A Dataset for Learning Cross-Modal Embeddings for Cooking Recipes and Food Images
About
In this paper, we introduce Recipe1M+, a new large-scale, structured corpus of over one million cooking recipes and 13 million food images. As the largest publicly available collection of recipe data, Recipe1M+ affords the ability to train high-capacity modelson aligned, multimodal data. Using these data, we train a neural network to learn a joint embedding of recipes and images that yields impressive results on an image-recipe retrieval task. Moreover, we demonstrate that regularization via the addition of a high-level classification objective both improves retrieval performance to rival that of humans and enables semantic vector arithmetic. We postulate that these embeddings will provide a basis for further exploration of the Recipe1M+ dataset and food and cooking in general. Code, data and models are publicly available.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Image-to-recipe retrieval | Recipe1M 1k setup (test) | Recall@117 | 116 | |
| Image-to-Textual Recipe Retrieval | Recipe1M 1k items setup 1.0 | MedR5.2 | 25 | |
| Textual Recipe-to-Image Retrieval | Recipe1M 1k items setup 1.0 | MedR5.1 | 24 | |
| im2recipe retrieval | Recipe1M (test) | Dessert Accuracy76 | 3 | |
| Recipe-to-image retrieval | Recipe1M+ 1k (test) | MedR6.8 | 3 | |
| im2recipe | Food-101 (test) | Median Rank10.15 | 2 | |
| recipe2im | Food-101 (test) | Median Rank (medR)2.6 | 2 | |
| Image-to-recipe retrieval | Recipe1M+ 1k setup (test) | R@117 | 2 | |
| Recipe-to-image retrieval | Recipe1M+ 1k setup (test) | Recall@117 | 2 |