Cross-lingual Visual Pre-training for Multimodal Machine Translation

Ozan Caglayan, Menekse Kuyu, Mustafa Sercan Amac, Pranava Madhyastha, Erkut Erdem, Aykut Erdem, Lucia Specia

Abstract

Multimodal Machine Translation (MMT) aims to enhance translation quality by incorporating visual context. However, traditional models often fail to effectively integrate visual information, frequently performing worse than text-only counterparts. This paper introduces Visual Translation Language Modeling (VTLM), a novel pre-training strategy that learns grounded representations across multiple languages and visual regions simultaneously. By pre-training on a massive three-way dataset (English-German-Image), VTLM achieves a new state-of-the-art on the Multi30k benchmark, outperforming standard baselines by up to 10 BLEU points.

The Modality Gap in MMT

Historically, MMT models have struggled with a "modality gap," where the visual signal is either ignored or detrimental to the final translation. While pre-training has revolutionized NLP through models like BERT and XLM, most visual-linguistic pre-training has been limited to single-language tasks like image retrieval. VTLM addresses this by providing a unified pre-training strategy specifically tailored for generative translation tasks, ensuring the model understands how visual regions relate to specific words across different languages.

Methods: Visual Translation Language Modeling

The core of the approach is a "single-stream" Transformer architecture that processes text and images in a unified sequence.

VTLM Architecture: A single-stream Transformer processing concatenated English, German, and visual region embeddings with dual objectives: Translation Language Modeling and Masked Region Classification.

Architecture and Objectives

  1. Input Representation: The model concatenates a source sentence, its target translation, and a set of 36 visual region features (extracted via Faster R-CNN) into a single input sequence. These are projected into a shared embedding space.
  2. The VTLM Objective: The model is trained to predict masked tokens using cross-modal context. It must predict masked words using information from both the alternate language and the image, as well as predict object labels for masked image regions (Masked Region Classification).
  3. Transfer Learning: Following pre-training on a large-scale synthetic triplet dataset (derived from Conceptual Captions), the encoder is integrated into a standard Transformer MMT model for fine-tuning on high-quality human translations like Multi30k.

Key Results

VTLM demonstrates that pre-training is the essential "warm start" required for MMT models to successfully utilize visual data.

Performance comparison on Multi30k and COCO benchmarks. VTLM achieves state-of-the-art results, reaching 44.0 BLEU on the 2016 test set, significantly outperforming baselines trained from scratch.
  • State-of-the-Art Performance: On the Multi30k English→German task, VTLM achieved 44.0 BLEU, a substantial improvement over previous graph-based and ensemble methods.
  • Massive Gains over Baselines: Compared to MMT models trained from scratch, VTLM-pre-trained models improved performance by approximately 10 BLEU and 8 METEOR points.
  • Robustness: The model remains effective even when nouns are masked during testing, indicating it can successfully "look" at the image to retrieve missing information necessary for accurate translation.

Insights and Future Directions

Qualitative analysis confirms that VTLM-trained models pay significantly more attention to image regions than models trained from scratch. Interestingly, the authors found that not masking visual regions during pre-training (while still predicting their labels) yielded slightly better results, suggesting that a constant visual signal helps the model map text to the visual world more efficiently.

Future work may involve more sophisticated masking strategies, such as targeting specific entities visible in the image, to further tighten the grounding between language and vision. While the computational cost of pre-training on millions of triplets is high, the resulting performance leap establishes VTLM as a powerful framework for the future of multimodal translation.

Summary updated

BibTeX
@inproceedings{caglayan2021cross,
  author = {Ozan Caglayan and Menekse Kuyu and Mustafa Sercan Amac and Pranava Madhyastha and Erkut Erdem and Aykut Erdem and Lucia Specia},
  title = {{Cross-lingual Visual Pre-training for Multimodal Machine Translation}},
  booktitle = {EACL},
  year = {2021},
  doi = {10.18653/v1/2021.eacl-main.112},
}
Figure