Abstract
Pre-trained models with dual and cross encoders have shown remarkable success in propelling the landscape of several tasks in vision and language in Visual Question Answering (VQA). However, since they are limited by the requirements of gold annotated data, most of these advancements do not see the light of day in other languages beyond English. We aim to address this problem by introducing a curriculum based on the source and target language translations to finetune the pre-trained models for the downstream task. Experimental results demonstrate that script plays a vital role in the performance of these models. Specifically, we show that target languages that share the same script perform better (~6%) than other languages and mixed-script code-switched languages perform better than their counterparts (~5-12%).
Introduction
Visual Question Answering (VQA) requires a model to understand both an image and a natural language question to provide an answer. While English-centric VQA models have reached impressive heights, scaling these models to the world’s thousands of languages is bottlenecked by a lack of "gold-standard" (human-annotated) data.
Creating parallel datasets for every language is prohibitively expensive. Consequently, researchers often rely on cross-lingual transfer—training on English and hoping the model generalizes to other languages. However, standard models struggle with non-English scripts and "code-mixed" questions (where a speaker switches between two languages, like Hinglish). This paper investigates how to bridge that gap using a structured training "curriculum" and explores why certain languages are easier for models to learn than others.
Curriculum Script Distillation
The authors propose Curriculum Script Distillation, a self-training approach that uses a pre-trained English model to "teach" itself a target language in three stages:
- Task Finetuning: The model is first trained on high-quality English VQA data to learn the core task.
- Cross-lingual Weak Annotation: English questions are machine-translated into the target language. The model is then presented with a "concatenated" prompt: the original English question plus the weak translation. The model uses its English knowledge to predict answers for these translated queries.
- Selection and Final Distillation: The authors select the top ~5,000 questions where the model showed the highest confidence. This "weakly labeled" data is then used to finetune the model one last time, specifically for the target language.
This curriculum acts as a bridge, moving the model from a language it knows well (English) to a mixture of languages, and finally to the target language alone.
Datasets
The study utilizes the MuCO VQA dataset (Multilingual and Code-mixed), which is built on top of the classic VQA v2.0 benchmark.
- Languages included: English, German, Spanish, French (Roman scripts), and Hindi and Bengali (non-Roman scripts).
- Code-mixing: The dataset includes questions that mix these languages with English, generated using the matrix language frame theory.
- Answers: In this setup, the answers remain in English, focusing the challenge on question comprehension.
Key Insights and Results
The experimental results highlight two major factors influencing cross-lingual VQA performance: script similarity and the presence of anchor languages.
- The "Roman Script" Advantage: Models pre-trained on English have a massive head start on any language that uses the Roman script. The authors found a minimum performance difference of ~6% between Roman-script languages and non-Roman-script languages across all tested model configurations (including ViLT, VisualBERT, and LXMERT).
- Code-Switching as a Feature: Surprisingly, models performed 5-12% better on code-switched questions (e.g., a mix of Hindi and English) than on pure monolingual questions in the target language.
- English as an Anchor: In the curriculum stage, concatenating the English question with the translated one acts as a "prime." It helps the model align the visual features of the image with the new linguistic tokens of the target language.
- Script Distillation: The results suggest that the "script" of a language is a vital component of model performance, often overlooked in favor of purely linguistic or semantic features.
Limitations and Future Work
The current study uses discriminative models (choosing from a fixed set of answers). The authors note that moving to generative models (where the model writes the answer) is a necessary next step. Additionally, an open question remains: can we close the 6% gap by including more diverse scripts (like Devanagari or Bangla) during the initial large-scale pre-training phase, rather than just at the finetuning stage? Future work will also explore more sophisticated ways to select "high-confidence" data to better understand the nuances of cross-lingual transfer.
Summary updated