Multimodal Machine Translation (MMT) seeks to enhance translation quality by leveraging auxiliary context, typically in the form of images. While it is intuitively beneficial for a model to see a picture of a "crane" to decide whether to translate it as a bird or a piece of construction machinery, early MMT systems often struggled to prove that visual context provided a significant advantage over text-only baselines. Furthermore, high-quality "triple-aligned" data—where an image is paired with both source and target sentences—is expensive and scarce.
The Imagination Framework
To address these challenges, the authors introduce "Imagination," a multitask learning framework designed to ground linguistic representations in visual context. The core innovation lies in a shared encoder that simultaneously supports translation and visual feature prediction.
As shown in the architecture diagram, the model consists of three primary components:
- Shared Encoder: A bidirectional Gated Recurrent Unit (GRU) that processes the source sentence. By serving two tasks, it is forced to learn representations that are both linguistically and visually informative.
- Translation Decoder: A standard attention-based NMT decoder that generates the target sentence based on the encoder's hidden states.
- Imaginet Decoder: A simple feed-forward network that takes the mean-pooled representation of the source sentence and attempts to predict a global visual feature vector (extracted from a pre-trained CNN like GoogLeNet) of the associated image.
By treating image prediction as an auxiliary task during training, the model learns to "imagine" the visual context. Crucially, because the image prediction is only required during training, the model does not require images as input during inference. This makes the system more robust and easier to deploy than traditional MMT models that require a vision pipeline at runtime.
Datasets and Training
The model was primarily evaluated on the Multi30K dataset, which contains 31,000 images paired with English descriptions and German translations. To overcome the limitations of small datasets, the framework's multitask nature allows it to leverage external, non-aligned resources:
- MS COCO: Used to train the "imagination" (image-prediction) task using 414,000 English descriptions of 83,000 images.
- News Commentary: Used to bolster the translation task with 240,000 English-German parallel sentence pairs that lack associated images.
Key Results and Insights
The Imagination model achieved significant performance gains, reaching 55.8 Meteor on the Multi30K dataset—a 1.8-point improvement over a text-only NMT baseline. By ensembling models trained on both in-domain and out-of-domain data, the authors achieved a state-of-the-art result of 59.3 Meteor.
Beyond raw scores, the paper offers several key insights:
- Grounding vs. Input: The primary value of images in MMT is in shaping the encoder's internal representations during training, rather than acting as a raw feature at test time.
- Efficiency: The model uses roughly 6.2% fewer parameters than models that explicitly use 2048D visual features as input to the decoder, as it represents visual context internally.
- Qualitative Success: Image-sentence ranking tasks confirmed that the encoder's representations were indeed effective at retrieving relevant images for a given sentence, proving the "imagination" mechanism works as intended.
Limitations and Future Work
Currently, the model predicts a single global feature vector for an entire image. The authors suggest that predicting local, spatially-aware features (such as specific objects) could further improve grounding. Additionally, while this study focused on GRUs, exploring how this multitask objective interacts with Transformer-based architectures is a natural next step. The "imagination" framework also holds potential for other NLP tasks that might benefit from visual grounding, such as semantic role labeling or dependency parsing.
Summary updated