Learning to Scale Multilingual Representations for Vision-Language Tasks

Andrea Burns, Donghyun Kim, Derry Wijaya, Kate Saenko, Bryan A. Plummer

Abstract

Current multilingual vision-language models either require a large number of additional parameters for each supported language, or suffer performance degradation as languages are added. In this paper, we propose a Scalable Multilingual Aligned Language Representation (SMALR) that supports many languages with few model parameters without sacrificing downstream task performance. SMALR learns a fixed size language-agnostic representation for most words in a multilingual vocabulary, keeping language-specific features for just a few. We use a masked cross-language modeling loss to align features with context from other languages. Additionally, we propose a cross-lingual consistency module that ensures predictions made for a query and its machine translation are comparable. The effectiveness of SMALR is demonstrated with ten diverse languages, over twice the number supported in vision-language tasks to date. We evaluate on multilingual image-sentence retrieval and outperform prior work by 3–4% with less than 1/5th the training parameters compared to other word embedding methods.

Introduction

In the world of AI, "multilingual" often comes with a heavy price tag: either your model's parameter count explodes as you add languages, or its performance tanks as it tries to cram too much information into too little space. At the intersection of vision and language—tasks like finding an image based on a caption—this problem is even more acute.

Researchers from Boston University and the MIT-IBM Watson AI Lab introduce SMALR (Scalable Multilingual Aligned Language Representation). SMALR manages to support ten diverse languages—double the previous standard—while outperforming existing models using a fraction of the parameters.

The Scaling Wall in Multilingual Models

Most vision-language models are English-centric. Expanding them to be multilingual usually follows two paths, both flawed:

  1. Word-level models (e.g., MULE): These learn unique embeddings for every word in every language. As you add languages, the parameter count grows linearly, making them massive and memory-hungry.
  2. Character-level models (e.g., LIWE): These are very compact because they look at characters instead of words, but they often suffer from "performance degradation"—the more languages you add, the worse the model gets at each individual one.

SMALR addresses this "scaling wall" by supporting many languages efficiently without sacrificing the nuanced understanding that word-level embeddings provide.

Methodology

The SMALR framework introduces three key innovations to achieve scalability and performance:

The SMALR architecture featuring the Hybrid Embedding Model, Masked Cross-Language Modeling, and Cross-Lingual Consistency modules.
  • Hybrid Embedding Model (HEM): Language follows a "long-tail" distribution. SMALR keeps language-specific embeddings for the top 5,000 most frequent words in each language. For the "long tail" of rare words, it maps them to a fixed-size, language-agnostic shared vocabulary. This captures the essence of each language while keeping the total parameter count low.
  • Masked Cross-Language Modeling (MCLM): Inspired by BERT, this technique masks words in a sentence and asks the model to predict them using cross-language context. If a German and an English sentence both describe the same image, the model uses context from one to predict a masked word in the other, forcing semantic alignment.
  • Cross-Lingual Consistency (CLC): At test-time, a query in one language is automatically translated into other supported languages. The model aggregates retrieval scores from all versions to produce a more robust final result.

Experimental Setup

The researchers evaluated SMALR on two gold-standard benchmarks for image-sentence retrieval:

  • Multi30K: Expanded from its original 4 languages to 10.
  • MSCOCO: Augmented via machine translation to support 10 languages.

The ten languages covered include English, German, French, Czech, Chinese, Japanese, Arabic, Afrikaans, Korean, and Russian, representing diverse scripts and structures.

Results and Discussion

SMALR demonstrates superior performance and efficiency compared to existing baselines.

Comparison of Average mR vs. Number of Languages. SMALR maintains high performance with significantly fewer parameters (27.9M) compared to MULE (129.2M).
  • Performance Gains: SMALR outperformed the previous state-of-the-art (S-LIWE) by 11 points on MSCOCO and 5.8 points on Multi30K.
  • Parameter Efficiency: It achieved these results with less than 1/5th the training parameters of MULE (27.9M vs 129.2M).
  • Robust Scaling: Unlike character-based models that degrade as languages are added, SMALR’s performance remained stable or improved as the language count grew to ten.
  • Agnostic Advantage: By mapping rare words to shared tokens, the model learns universal concepts without needing separate memory slots, leaving more GPU memory for vision-language reasoning.

Conclusion

SMALR breaks the trade-off between model size and accuracy in multilingual vision-language tasks. While it currently relies on machine translation for its CLC module and data augmentation, its efficiency makes it a practical candidate for real-world deployment. Future work may involve integrating this hybrid embedding approach into larger transformer-based foundation models.

Summary updated

BibTeX
@inproceedings{burns2020learning,
  author = {Andrea Burns and Donghyun Kim and Derry Wijaya and Kate Saenko and Bryan A. Plummer},
  title = {{Learning to Scale Multilingual Representations for Vision-Language Tasks}},
  booktitle = {European Conference on Computer Vision},
  year = {2020},
  url = {https://openreview.net/forum?id=M8j2950itqe},
}
Figure