English

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

Computer Vision and Pattern Recognition 2022-12-19 v2

Abstract

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 Transformer). TNLBT aims to accomplish retrieval tasks while generating images from recipe embeddings. We apply the Hierarchical Transformer-based recipe text encoder, the Vision Transformer~(ViT)-based recipe image encoder, and an adversarial network architecture to enable better cross-modal embedding learning for recipe texts and images. In addition, we use self-supervised learning to exploit the rich information in the recipe texts having no corresponding images. Since contrastive learning could benefit from a larger batch size according to the recent literature on self-supervised learning, we adopt a large batch size during training and have validated its effectiveness. In the experiments, the proposed framework significantly outperformed the current state-of-the-art frameworks in both cross-modal recipe retrieval and image generation tasks on the benchmark Recipe1M. This is the first work which confirmed the effectiveness of large batch training on cross-modal recipe embeddings.

Cite

@article{arxiv.2205.04948,
  title  = {Transformer-based Cross-Modal Recipe Embeddings with Large Batch Training},
  author = {Jing Yang and Junwen Chen and Keiji Yanai},
  journal= {arXiv preprint arXiv:2205.04948},
  year   = {2022}
}

Comments

Accepted at MMM2023

R2 v1 2026-06-24T11:13:14.676Z