NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

CAPIVARA: Cost-Efficient Approach for Improving Multilingual CLIP Performance on Low-Resource Languages

Gabriel Oliveira dos Santos, Diego A. B. Moreira, Alef Iury Siqueira Ferreira, Jhessica Silva, Luiz Pereira, Pedro Bueno, Thiago J. Sousa, Helena de Almeida Maia, Nádia Da Silva, Esther Luna Colombini, Hélio Pedrini, Sandra Avila2023

Abstract

Contrastive Language-Image Pre-training (CLIP) has established a new paradigm for zero-shot vision tasks, yet it remains heavily biased toward English due to the nature of large-scale web-scraped datasets. Furthermore, the computational cost of fine-tuning these models for low-resource languages often exceeds the capacity of researchers in those regions. This paper introduces CAPIVARA, a cost-efficient framework that leverages synthetic data augmentation and parameter-efficient fine-tuning to enhance multilingual CLIP performance. By combining BLIP2-generated captions with machine translation and utilizing Locked-image Tuning (LiT) with Low-Rank Adaptation (LoRA), CAPIVARA achieves state-of-the-art results on Portuguese, Xhosa, and Hindi benchmarks with just 2 hours of training on a single consumer-grade GPU.

Introduction

While CLIP models demonstrate impressive zero-shot capabilities, their performance is significantly degraded in non-English contexts. This "English bias" stems from the dominance of English-language data in pre-training corpora like LAION or CC3M. For low-resource languages, the lack of high-quality, native image-text pairs creates a performance gap that traditional large-scale training cannot easily bridge due to the immense computational requirements.

The CAPIVARA framework (named after the social capybara native to South America) addresses these challenges by focusing on a data-centric approach that democratizes high-performance multilingual AI. The goal is to provide a methodology that allows researchers to adapt CLIP to their native languages using minimal hardware and time.

Methodology

CAPIVARA employs a two-pronged strategy to optimize both data quality and training efficiency.

1. Data-Centric Augmentation

The authors posit that original web-scraped captions are often noisy or insufficiently descriptive. To improve the linguistic signal, CAPIVARA utilizes a synthetic pipeline:

  • Caption Generation: BLIP2 is used to generate multiple descriptive English captions for images in the CC3M dataset.
  • Translation: These synthetic captions, along with the original metadata, are translated into the target language (e.g., Portuguese) using Google Translate.
  • Sampling: During training, the model randomly samples from this pool of multiple captions per image, providing a richer and more diverse linguistic context than a single static caption.

2. Training Optimization

To ensure the framework remains accessible to researchers with limited compute, CAPIVARA integrates three efficiency-focused techniques:

  • Locked-image Tuning (LiT): The image encoder is frozen, assuming that pre-trained visual representations are already sufficiently robust. This focuses the learning process entirely on aligning the text manifold to a stable visual space.
  • Low-Rank Adaptation (LoRA): Instead of fine-tuning all 366 million parameters of the text encoder, small trainable rank-decomposition matrices are injected. This reduces the number of trainable parameters to approximately 300,000—only 0.1% of the total.
  • Gradient Checkpointing: This technique trades a small amount of compute for significant memory savings, allowing the model to fit within 8.5 GB of VRAM, making it compatible with consumer-grade GPUs.

Experimental Setup and Datasets

The model was trained on the CC3M (Conceptual Captions) dataset, re-annotated with synthetic Portuguese and English descriptions. Evaluation was conducted across several benchmarks:

  • Retrieval: Flickr30k and MS COCO (translated to Portuguese, Hindi, and Xhosa), and PraCegoVer (a native Portuguese dataset).
  • Classification: ImageNet-1k and the ELEVATER benchmark, which consists of 20 diverse image classification datasets.

Key Results and Insights

Performance Gains

CAPIVARA achieved state-of-the-art results for zero-shot tasks in Portuguese. Notably, the framework showed significant cross-lingual transfer capabilities. On the Flickr30k dataset, CAPIVARA improved mean recall for Xhosa by 6.5 percentage points and for Hindi by 21 percentage points compared to the OpenCLIP baseline. These gains suggest that improving the text encoder's alignment in one language can have positive downstream effects on other low-resource languages within the same multilingual model.

Efficiency and Sustainability

The optimized pipeline reduced training time from 31 hours to just 2 hours and slashed memory requirements from 38 GB to 8.5 GB. This efficiency does not come at the cost of accuracy; rather, the model maintained or improved performance across all benchmarks. Furthermore, the authors highlighted the environmental impact, noting that the CAPIVARA + LoRA approach produces a negligible carbon footprint compared to traditional large-scale fine-tuning.

Classification Robustness

On the ELEVATER benchmark, the model showed a 0.6 percentage point improvement over the baseline. Specific domains saw even higher gains, such as the KITTI-Distance dataset, which saw an increase of 5.53 percentage points, demonstrating that the data-centric approach improves generalizability across diverse visual domains.

Discussion and Limitations

While CAPIVARA demonstrates that synthetic data is a powerful force multiplier, it is not without limitations. The reliance on machine translation means the model may inherit systemic biases or fail to capture cultural nuances and idioms that do not translate directly from English.

Additionally, the current study focused on the ViT-B/32 architecture. Future research is required to determine if these efficiency gains scale linearly with larger models (e.g., ViT-L or ViT-G). There also remains an open question regarding the "scaling laws" of low-resource fine-tuning: specifically, the minimum threshold of native-language examples required to achieve parity with English-language performance.

Conclusion

CAPIVARA proves that high-performance multilingual vision-language models do not require supercomputing clusters. By prioritizing smart data augmentation and parameter-efficient training, researchers can significantly improve model performance on low-resource languages with minimal time and financial investment. This approach paves the way for more inclusive and accessible AI development globally.

Summary updated

BibTeX
@misc{santos2023capivara,
  author = {Gabriel Oliveira dos Santos and Diego A. B. Moreira and Alef Iury Siqueira Ferreira and Jhessica Silva and Luiz Pereira and Pedro Bueno and Thiago J. Sousa and Helena de Almeida Maia and Nádia Da Silva and Esther Luna Colombini and Hélio Pedrini and Sandra Avila},
  title = {{CAPIVARA: Cost-Efficient Approach for Improving Multilingual CLIP Performance on Low-Resource Languages}},
  year = {2023},
  doi = {10.18653/v1/2023.mrl-1.15},
}
Figure