Backpropagation-Based Decoding for Multimodal Machine Translation

Ziyan Yang, Leticia Pinto-Alva, Franck Dernoncourt, Vicente Ordonez · DOI

Abstract

Traditional machine translation relies on massive parallel corpora, which are often unavailable for many language pairs. This paper introduces a novel multimodal machine translation (MMT) approach that uses images as a universal "bridge" to translate between languages without parallel text. By employing backpropagation-based decoding at inference time, the model "imagines" visual features corresponding to a source sentence and uses these features to generate a target translation. Experimental results on the Multi30k and COCO datasets demonstrate that this method significantly outperforms previous state-of-the-art zero-resource translation models.

Introduction

Machine Translation (MT) typically requires millions of paired sentences to achieve high performance. Multimodal Machine Translation (MMT) seeks to alleviate this data dependency by incorporating visual information. However, most existing MMT frameworks still require parallel text or images annotated in multiple languages simultaneously. This paper addresses the "zero-resource" or "unpaired" scenario, where no direct linguistic link exists between the source and target languages. The authors leverage the "one visual world" hypothesis: while languages differ, the physical reality they describe remains constant.

Methodology: Backpropagation-Based Decoding

The proposed method departs from standard encoder-decoder architectures. Instead of direct text-to-text mapping, the system treats translation as a sequence of image-captioning tasks linked by a shared visual latent space.

Training Phase

The model consists of a shared image encoder (ResNet-50) and multiple language-specific Transformer decoders. During training, each decoder is optimized to generate captions in its respective language given an image input. Crucially, the model does not require the same image to have captions in multiple languages.

Inference Phase

To translate a sentence (e.g., from German to Japanese), the model performs "backpropagation-based decoding":

  1. Initialization: The process begins with a "dummy" input (random noise) representing a latent visual feature.
  2. Optimization: The model uses backpropagation to iteratively update this latent feature. The objective is to find a visual representation that, when passed through the German decoder, would most likely produce the input German sentence.
  3. Generation: Once the visual feature is optimized to represent the "imagined" scene of the source text, it is fed into the Japanese decoder to generate the final translation.
Multimodal bridging between German, English, and Japanese using shared visual concepts.

Experimental Setup and Datasets

The study utilizes two primary benchmarks:

  • Multi30k: Images with English and German captions.
  • COCO + STAIR Captions: A large-scale dataset providing English and Japanese captions.

To simulate a truly disjoint scenario, the researchers combined these datasets such that the model never saw the same image with both German and Japanese captions. This forced the model to rely entirely on the shared visual latent space for translation.

Results

The backpropagation-based approach achieved significant performance gains:

  • Unpaired Translation: On the German-to-English task (Multi30k), the model achieved a BLEU-4 score of 15.02, more than doubling the performance of previous state-of-the-art methods like Globetrotter (6.00) and V-Grounding (5.01).
  • Trilingual Translation: The model successfully translated between German and Japanese despite zero shared images in the training set, producing contextually relevant sentences.
  • Transformer Efficiency: The authors found that Transformers are significantly more effective for backprop-based decoding than LSTMs, likely due to their superior handling of global dependencies.

Discussion and Limitations

While the results are promising, several challenges remain. The optimization loop required for every sentence at test time makes this method computationally expensive and slower than standard forward-pass models. Additionally, moving through a purely visual intermediate stage can lead to the loss of linguistic nuances, such as gendered pronouns or cultural idioms, if they are not explicitly captured in the "imagined" image.

Conclusion

This work demonstrates that visual features can serve as a powerful, language-agnostic pivot for machine translation. By treating inference as an optimization problem, the model can bridge the gap between languages without the need for parallel corpora, opening new avenues for low-resource language translation.

Summary updated

BibTeX
@article{yang2021backpropagation,
  author = {Ziyan Yang and Leticia Pinto-Alva and Franck Dernoncourt and Vicente Ordonez},
  title = {{Backpropagation-Based Decoding for Multimodal Machine Translation}},
  journal = {Frontiers Artif. Intell.},
  year = {2021},
  doi = {10.3389/frai.2021.736722},
}
Figure