Introduction
Training multilingual image captioning models typically involves a trade-off known as the "curse of multilinguality." To support a wide array of languages, researchers often scale models to billions of parameters and datasets to billions of examples, making training prohibitively expensive and environmentally taxing. Furthermore, many existing models are English-centric and struggle to generalize to low-resource languages or diverse writing systems.
PAELLA (Parameter-Efficient Lightweight Language-Agnostic model) addresses these challenges by leveraging retrieval augmentation. Instead of memorizing every linguistic nuance within its weights, the model uses a "cheat sheet" of similar captions from a datastore to guide the generation process, achieving state-of-the-art performance with a remarkably lean architecture.
Architecture and Methodology
PAELLA utilizes a "frozen sandwich" architecture designed for maximum efficiency:
- Frozen Vision Encoder: A pre-trained CLIP model extracts visual features from the input image.
- Frozen Multilingual Language Model (LM): XGLM (a 2.9B parameter model) generates the final descriptive text.
- Trainable Mapping Network: A compact set of cross-attention layers (only 34M parameters) that acts as the bridge between the vision encoder and the LM.
The Retrieval Mechanism
During both training and inference, the model uses CLIP to retrieve the four most similar captions from a datastore (such as COCO) based on the input image. These retrieved captions are formatted into a prompt: "Similar images show [Caption 1]... [Caption 4]. A caption I can generate to describe this image in [Language] is:". This allows the model to borrow the style and vocabulary of the target language from external examples rather than internalizing them entirely.
Experimental Setup
The model was trained on a subset of COCO-35L, containing approximately 566,000 images with machine-translated captions in 35 languages. Evaluation was conducted on the XM3600 benchmark, a geographically diverse dataset featuring human-annotated captions in 36 languages. The retrieval datastore primarily utilizes English COCO captions cross-referenced with their translated versions.
Key Results and Insights
PAELLA demonstrates that retrieval is a "key ingredient" for lightweight multilinguality. Ablation studies showed that removing retrieved captions caused CIDEr scores to drop by 24 points.
Efficiency and Performance
On the XM3600 benchmark, PAELLA achieved an average CIDEr score of 26.2. Notably, it outperformed the Lg model (a fully supervised 2.6B parameter model) despite having 86x fewer trainable parameters and using 35x less training data. The model's efficiency is such that it can be trained in just one day on a single consumer-grade GPU (NVIDIA RTX A6000).
Balanced Multilinguality
Unlike many large-scale models that excel in Latin-script languages but falter elsewhere, PAELLA maintains balanced performance across diverse writing systems. It significantly outperformed concurrent models like mBLIP in low-resource contexts.
One of the most striking findings is PAELLA's zero-shot capability. When trained only on English data, the model can still generate high-quality captions in other languages at test time simply by swapping the retrieved captions and the prompt into the target language.
Limitations and Future Work
While effective, PAELLA inherits biases from its machine-translated training data and the original COCO dataset. Its performance is also bound by the "worldview" of its retrieval datastore; if an image contains concepts not present in the datastore, the retrieved captions may be misleading. Future research may extend this retrieval-augmented approach to broader multimodal tasks such as Visual Question Answering (VQA).
Summary updated