Sentence-Level Multilingual Multi-modal Embedding for Natural Language Processing

Iacer Calixto, Qun Liu

Abstract

Researchers from the ADAPT Centre have developed a novel ranking model that learns sentence embeddings by "grounding" them in both images and multiple languages simultaneously. By training on a shared space of images, English descriptions, and German descriptions, the Multilingual Multi-modal Embedding (MLMME) model significantly improves performance on image-search tasks, semantic similarity, and machine translation output refinement.

Introduction

Traditional Distributional Semantic Models (DSMs), such as word2vec, learn the meaning of words based solely on their linguistic context. However, human language acquisition is inherently grounded in the physical world; we understand the concept of an "apple" by seeing one, not just by reading about it. This lack of sensory grounding is a significant limitation for current AI systems.

Furthermore, most existing multi-modal models—those combining text and visual data—are monolingual. The authors of this study argue that this represents a missed opportunity. By utilizing descriptions of the same scene in multiple languages (e.g., English and German), a model can leverage subtle linguistic differences to gain a richer, more robust semantic signal than a monolingual model ever could.

Methodology

The proposed Multilingual Multi-modal Embedding (MLMME) model architecture integrates textual and visual components into a unified "meaning space."

  1. Textual Component: The model employs Recurrent Neural Networks (specifically Gated Recurrent Units, or GRUs) to encode sentences into vectors. While each language utilizes its own specific encoder, they are all optimized to map into the same shared embedding space.
  2. Visual Component: A pre-trained VGG19 Convolutional Neural Network (CNN) extracts features from images, which are then projected into the shared space.
The MLMME architecture, illustrating the integration of multilingual text encoders and a visual CNN into a shared embedding space.

The core innovation lies in the objective function. Rather than simply matching a single language to an image, the authors implement a pairwise ranking loss that accommodates three or more sources. A key hyperparameter, $\beta$, serves as a control to balance two learning objectives: multi-modal similarity (matching images to descriptions) and multilingual similarity (matching descriptions of the same image across different languages). This allows the model to cluster an image and its corresponding descriptions in various languages together in the embedding space.

Experimental Setup

The study primarily utilized the Multi30k dataset, an expansion of the Flickr30k dataset (30,000 images with 5 English descriptions each). Multi30k provides two critical additions:

  • M30kC (Comparable): Five German descriptions for each image, collected independently.
  • M30kT (Translated): Professional German translations of the original English descriptions.

Results and Discussion

The MLMME model was evaluated across three major NLP tasks, demonstrating the power of grounded, multilingual learning.

Image-Sentence Ranking (ISR)

The model achieved substantial gains in retrieval tasks. As shown in the results table, the median rank (mrank) for English improved from 8 to 5, while German improved from 11 to 6. The inclusion of multilingual data acted as a regularizer, where adding German descriptions actually improved the quality of the English embeddings by providing a cross-linguistic semantic check.

Comparative performance of the MLMME model on Image-Sentence Ranking tasks for English and German, showing significant improvements over baselines.

Semantic Textual Similarity (STS) and NMT Re-ranking

Beyond image tasks, the model outperformed top results from SemEval 2014 and 2015 competitions in text-only semantic similarity. Furthermore, in Neural Machine Translation (NMT), the model was used to re-rank translation candidates. By ensuring the translation matched the visual content of the scene (improving "adequacy"), the model consistently raised METEOR scores, particularly for weaker baseline translation models.

Conclusion and Future Work

The study confirms that grounding language in visual data is essential; setting $\beta=0$ (ignoring images) caused model performance to collapse. While the model excelled at sentence-to-image retrieval, image-to-sentence performance was slightly less consistent when multilingual similarity was prioritized. Future research will focus on scaling this approach to a "many-languages" setting with 10 or more languages to further refine the semantic signal. Notably, this discriminative approach is highly efficient, requiring only approximately 6 hours to train compared to the days required for generative multi-modal NMT models.

Summary updated

BibTeX
@inproceedings{calixto2017sentence,
  author = {Iacer Calixto and Qun Liu},
  title = {{Sentence-Level Multilingual Multi-modal Embedding for Natural Language Processing}},
  booktitle = {RANLP},
  year = {2017},
  doi = {10.26615/978-954-452-049-6\_020},
}
Figure