Abstract
We present M3P, a Multitask Multilingual Multimodal Pre-trained model that combines multilingual pre-training and multimodal pre-training into a unified framework via multitask pre-training. Our goal is to learn universal representations that can map objects occurred in different modalities or texts expressed in different languages into a common semantic space. In addition, to explicitly encourage fine-grained alignment between images and non-English languages, we also propose Multimodal Code-switched Training (MCT) to combine monolingual pre-training and multimodal pre-training via a code-switch strategy. Experiments are performed on the multilingual image retrieval task across two benchmark datasets, including MSCOCO and Multi30K. M3P can achieve comparable results for English and new state-of-the-art results for non-English languages.
Introduction
In recent years, artificial intelligence has achieved significant milestones in two distinct domains: multilingual models, which process over 100 languages, and multimodal models, which bridge the gap between visual information and English text. However, integrating these capabilities—creating a model that understands images in the context of diverse global languages—remains a formidable challenge.
The primary obstacle is the scarcity of high-quality multimodal data for non-English languages. While millions of English image-caption pairs are available, data in languages like Czech, Hindi, or Japanese is rare. Relying on machine translation to bridge this gap is often inaccurate and computationally expensive. Consequently, most vision-language models are inherently biased toward English. M3P addresses this by learning a "universal representation" where an image, an English word, and its equivalent in another language (e.g., "chat" in French) all occupy the same semantic space.
The M3P Framework
M3P (Multitask Multilingual Multimodal Pre-training) utilizes a BERT-like Transformer architecture optimized across three distinct data streams to learn these universal mappings.
The model is trained on four tasks simultaneously:
- xMLM (Multilingual Masked Language Modeling): Predicting masked words in text-only data to learn linguistic structures across 100+ languages.
- MC-MLM (Multimodal Code-switched Masked Language Modeling): Predicting masked words in code-switched captions given an image.
- MC-MRM (Multimodal Code-switched Masked Region Modeling): Predicting masked image regions given code-switched text.
- MC-VLM (Multimodal Code-switched Visual-Language Matching): Determining if a specific image and a code-switched caption are a valid match.
Multimodal Code-switched Training (MCT)
The core innovation of M3P is Multimodal Code-switched Training (MCT). This strategy allows the model to align non-English languages with visual features without requiring full-sentence translations.
In MCT, the model takes an English image-caption pair and randomly replaces specific English words with their translations from a bilingual dictionary. For example, as shown in Figure 2, "A dog is sitting on a couch" might be transformed into a hybrid sentence like "A chienne is 坐着 on a ソファー." By forcing the model to predict these non-English tokens based on the visual context of the image, the model learns to associate visual features directly with a wide array of non-English vocabulary.
Experimental Setup and Datasets
The model was pre-trained on a massive corpus including Wikipedia (101GB of text in 100 languages) and Conceptual Captions (3.3 million English image-caption pairs). For the code-switching dictionary, the authors utilized Panlex, the world's largest open-source lexical database, covering the top 50 languages.
Evaluation focused on the multilingual image-text retrieval task using two benchmarks:
- Multi30K: Images with captions in English, German, French, and Czech.
- MSCOCO: A standard benchmark extended with Japanese and Chinese captions.
Key Results and Insights
M3P achieved new state-of-the-art (SOTA) results for non-English languages on both Multi30K and MSCOCO. On the Multi30K dataset, M3P significantly outperformed previous multilingual methods like SMALR and MULE in German, French, and Czech. Crucially, M3P maintained competitive performance with English-only models (like Unicoder-VL) on English tasks, demonstrating that multilinguality does not necessitate a trade-off in primary language performance.
Ablation studies confirmed that the MCT component is the primary driver of cross-lingual multimodal capability. Furthermore, M3P demonstrated impressive zero-shot transfer; it could perform image retrieval in languages it had never seen paired with images during training, relying solely on the cross-lingual links established during the code-switching phase.
Conclusion
M3P successfully bridges the gap between multilingual and multimodal learning through its multitask framework and code-switching strategy. While the model is robust, limitations remain regarding dictionary noise—where polysemous words may be incorrectly translated—and the syntactic irregularity of code-switched sentences. Future work will explore more sophisticated translation strategies and expand the framework to generative tasks like multilingual image captioning.
Summary updated