Transforming LLMs into Cross-modal and Cross-lingual Retrieval Systems
Paper: https://arxiv.org/abs/2404.01616 Authors: Frank Palma Gomez, Ramon Sanabria, Yun-hsuan Sung, Daniel Cer, Siddharth Dalmia, Gustavo Hernandez Abrego Affiliations: Google DeepMind, University of Edinburgh Date: April 2024 Category: Multilingual / Information Retrieval
Overview
This paper investigates how large language models, particularly decoder-only architectures, can be repurposed as retrieval systems that work across languages (cross-lingual) and modalities (cross-modal, e.g., text and images). Rather than training embedding models from scratch on encoder architectures such as BERT or T5, the authors adapt pretrained LLMs into dual-encoder (bi-encoder) retrievers using parameter-efficient fine-tuning.
Key Ideas
- LLMs as retriever backbones: Decoder-only LLMs already encode strong multilingual and world knowledge; the authors show this knowledge can be leveraged for dense retrieval by adding lightweight adaptation.
- Parameter-efficient adaptation: LoRA-style fine-tuning converts a generative LLM into a bi-encoder that produces query and document embeddings compatible with approximate nearest-neighbor search at scale.
- Cross-lingual retrieval: The resulting retrievers are evaluated on multilingual retrieval benchmarks, testing whether LLM-derived embeddings transfer across languages without per-language tuning.
- Cross-modal extension: The work examines image-text retrieval, exploring whether multimodal LLMs can serve as a single embedding backbone for both text-only and multimodal retrieval tasks.
- Instruction tuning and scaling: The study considers how instruction-tuned embeddings and model scale affect retrieval quality, following trends established by instruction-tuned text embedding models.
- A single foundation model could serve both as a generator and as a retriever, simplifying RAG architectures and reducing the number of separately maintained models.
- LLM-based dual encoders may inherit broader language coverage than traditional multilingual encoders, improving cross-lingual retrieval for low-resource languages.
- Parameter-efficient fine-tuning keeps adaptation costs low compared to pretraining dedicated embedding models.
- Evaluating Large Language Models for Cross-Lingual Retrieval
- CLIRudit: Cross-Lingual Information Retrieval of Scientific Documents
- Multimodal LLM Enhanced Cross-lingual Cross-modal Retrieval (ACM MM 2024)
- Cross-Lingual Cross-Modal Retrieval With Noise-Robust Fine-Tuning
Why It Matters
Evaluation Notes
Specific benchmark scores (e.g., nDCG@10, Recall@k) should be taken from the original paper's tables; this page summarizes the approach and scope based on the paper's public metadata.
Related Reading
Takeaways for Practitioners
1. Researchers: Reproduce the bi-encoder conversion and compare against dedicated multilingual embedding models on BEIR-style and MIRACL-style benchmarks. 2. Engineers: LLM-derived embeddings can potentially replace separate retrieval encoders; evaluate index size, latency, and embedding-version compatibility before migration. 3. Product teams: Unified retrieval-and-generation backbones reduce maintenance overhead, but verify latency budgets and multilingual quality on real query distributions.