Unsupervised Multi-Modal Neural Machine Translation

Yuanhang Su, Kai Fan, Nguyen Bach, C.-c. Jay Kuo, Fei Huang

Abstract

Unsupervised Neural Machine Translation (UNMT) typically relies on monolingual corpora, which can lead to alignment difficulties due to the lack of a direct mapping between languages. This paper proposes Unsupervised Multi-modal Neural Machine Translation (UMNMT), which incorporates images as a language-invariant pivot. By utilizing image-conditioned cycle consistency and a controllable attention mechanism, the proposed model achieves state-of-the-art results on the Multi30K dataset, demonstrating that visual information can effectively guide translation in the absence of parallel text.

Introduction

Unsupervised Neural Machine Translation (UNMT) is a significant breakthrough, enabling the construction of translators using only monolingual corpora. However, UNMT is fundamentally an "ill-posed" problem; without a parallel "Rosetta Stone," models often struggle to find exact mappings between concepts.

Comparison of supervised learning and unsupervised multi-modal learning frameworks.

The authors argue that images can serve as the missing link. Because a visual concept—such as a cat—remains constant regardless of the language used to describe it, visual content provides a language-invariant anchor. UMNMT tackles the challenge of using these images to guide translation when no paired sentences exist.

Methodology

The UMNMT framework is built on a Transformer-based architecture consisting of five modules: two language-specific encoders, two language-specific decoders, and one shared image feature extractor (a pre-trained ResNet-152).

Detailed architecture of the Transformer-based UMNMT model featuring controllable multi-modal attention.

Dual Training Objectives

The model's training is driven by two key components:

  1. Denoised Auto-encoding Loss: The model learns to reconstruct a "noisy" sentence (where words are deleted or swapped) by leveraging the remaining text and the associated image.
  2. Cycle-Consistency Loss: Inspired by CycleGAN, the model translates a sentence from Language A to Language B (conditioned on an image) and then back to Language A. It is penalized if the "cycled" version does not match the original.

Controllable Multi-modal Attention

A novel Controllable Multi-modal Attention module fuses text and image features. By using a toggle parameter ($\lambda$), the model can be trained to prioritize visual information when available while remaining flexible enough to function effectively using only text during inference.

Datasets and Evaluation

The model was primarily benchmarked on the Multi30K dataset. To simulate a true unsupervised environment, the authors used the M30k-half split, ensuring the model never sees the same image described in two different languages simultaneously. Additionally, the WMT News Crawl corpus was used for large-scale pre-training to establish a strong linguistic foundation.

Key Insights

  • Images as Disambiguators: Language is often ambiguous (e.g., the word "bank"). Images provide immediate clarification, and the authors use information theory to prove that adding visual context ($Z$) reduces the uncertainty of the translation ($Y$) given the source ($X$).
  • Robustness to Missing Data: A common pitfall of multi-modal models is failure when images are missing at test time. UMNMT’s controllable attention allows it to fall back to a high-performing text-only mode, which actually outperforms standard text-only models because the visual training acts as a superior regularizer.

Results

The UMNMT model achieved state-of-the-art results for unsupervised translation on the Multi30K dataset:

  • Significant BLEU Gains: On English $\rightarrow$ French, the multi-modal model reached a BLEU score of 39.79, compared to 37.20 for the text-only version.
  • Visual Grounding: Qualitative analysis showed the model successfully "looking" at correct image regions—such as a hat or a dog—to select correct gendered nouns or specific vocabulary in the target language.

Conclusion

While the relative boost from images decreases when models are pre-trained on massive text corpora, UMNMT demonstrates that visual grounding is a powerful tool for unsupervised alignment. Future work will focus on scaling this framework to handle more abstract text and multi-lingual environments.

Summary updated

BibTeX
@inproceedings{su2019unsupervised,
  author = {Yuanhang Su and Kai Fan and Nguyen Bach and C.-C. Jay Kuo and Fei Huang},
  title = {{Unsupervised Multi-Modal Neural Machine Translation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2019},
  doi = {10.1109/cvpr.2019.01073},
}
Figure