Stop Pre-Training: Adapt Visual-Language Models to Unseen Languages

Yasmine Karoui, Rémi Lebret, Negar Foroutan Eghlidi, Karl Aberer

Introduction

Vision-Language Pre-trained Models (VLPMs), such as CLIP and ALBEF, have fundamentally changed how artificial intelligence processes the relationship between visual and textual data. However, these models are predominantly English-centric, and their performance often degrades significantly when applied to other languages in a zero-shot context. The conventional solution—pre-training multilingual VLPMs on millions of image-text pairs—is hindered by the scarcity of high-quality data for low-resource languages and the massive computational costs involved.

This paper introduces CLiCoTEA (Cross-Lingual Contextualised Token Embedding Alignment), a method that challenges the necessity of expensive pre-training. By aligning the token embeddings of a multilingual language model with a pre-trained English VLPM using simple machine translation, researchers can adapt models to new languages in just a few hours on a single GPU.

The CLiCoTEA Methodology

CLiCoTEA treats the adaptation of VLPMs as a translation problem at the embedding level rather than a traditional multimodal learning problem. The process is executed in six distinct steps:

  1. Select a Base Model: The process begins with a high-performing English-only VLPM (the authors utilize ALBEF).
  2. Task-Specific Fine-Tuning: The English model is fine-tuned on a specific downstream task, such as visual reasoning.
  3. Synthetic Corpus Generation: Neural Machine Translation (NMT) is used to translate English training captions into the target languages.
  4. Token Alignment: An alignment tool identifies corresponding words between the original English sentences and their translations.
  5. Embedding Alignment: A standard multilingual model (like mBERT) is trained so its text encoder produces embeddings that match the English VLPM’s embeddings for the aligned tokens. This step uses a simple Mean Squared Error (MSE) loss and, crucially, requires no images.
  6. Encoder Swap: The original English text encoder is replaced with the newly aligned multilingual encoder.

Experimental Setup and Datasets

The researchers evaluated CLiCoTEA using the IGLUE benchmark, focusing on three diverse tasks across multiple languages:

  • xFlickr&CO: Image-text and text-image retrieval.
  • XVNLI: Visual Entailment (determining if an image supports, contradicts, or is neutral toward a text hypothesis).
  • MaRVL: Multicultural Reasoning over Visual Logics (complex reasoning across different cultures).

For the alignment phase, the model was trained on translated versions of standard datasets including Flickr30k, SNLI, and NLVR2.

Key Insights

Efficiency and Scalability

While state-of-the-art models like CCLM require training on 19 million parallel sentences and 4 million image-text pairs, CLiCoTEA achieves comparable or superior results using only small, task-specific translated datasets. The alignment phase is remarkably efficient, requiring only a few hours on a single TITAN X GPU.

Decoupling Vision from Language

CLiCoTEA demonstrates that once a model masters the visual logic of a task in English, additional images are not required to teach it the same task in another language. The method effectively aligns the "map" of a new language to the existing English "map."

Robustness to Translation Noise

Because the method relies on token-level alignment rather than whole-sentence semantics during training, it remains robust against the grammatical errors often produced by NMT in low-resource languages.

Performance Results

CLiCoTEA demonstrated strong performance across the IGLUE benchmark:

  • Visual Entailment (XVNLI): Achieved 78.15% accuracy, significantly outperforming the previous state-of-the-art (CCLM) at 74.64%.
  • Visual Reasoning (MaRVL): Reached 68.09%, surpassing CCLM’s 67.17%.
  • Low-Resource Gains: The model showed particularly strong improvements in low-resource languages, outperforming CCLM by approximately 4% in Tamil and Swahili for visual reasoning tasks.
  • Retrieval Tasks: While competitive, CLiCoTEA trailed slightly behind the largest CCLM models in retrieval, likely due to CCLM's pre-training on the specific COCO dataset used for evaluation.

Limitations and Future Directions

Despite its success, CLiCoTEA currently has limitations. It is designed for discriminative tasks (classification and retrieval) and does not yet support generative tasks like image captioning. Furthermore, its performance is currently capped by the base multilingual model (mBERT); the authors suggest that upgrading to more powerful encoders like XLM-R could yield better results.

Finally, while CLiCoTEA is a major advancement for zero-shot models, the "translate-test" approach—where inputs are translated to English at inference time—still maintains a slight edge in high-resource languages. Closing this gap remains a primary objective for future research in multilingual vision-language modeling.

Summary updated

BibTeX
@inproceedings{karoui2023stop,
  author = {Yasmine Karoui and Rémi Lebret and Negar Foroutan Eghlidi and Karl Aberer},
  title = {{Stop Pre-Training: Adapt Visual-Language Models to Unseen Languages}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2023},
  doi = {10.18653/v1/2023.acl-short.32},
}
Figure