On cross-lingual retrieval with multilingual text encoders

Robert Litschko, Ivan Vulic, Simone Paolo Ponzetto, Goran Glavas

Abstract

Pretrained multilingual encoders such as mBERT and XLM have revolutionized many NLP tasks, yet their application to cross-lingual information retrieval (CLIR) is not straightforward. This paper investigates the effectiveness of these models in zero-shot document retrieval scenarios. We find that general-purpose transformers often fail to surpass simpler word-embedding baselines unless they are specialized for sentence similarity or utilized with localized matching strategies. Our analysis highlights a "granularity mismatch" where sentence-optimized models struggle with long documents, and identifies "monolingual overfitting" as a barrier for supervised transfer. We propose localized relevance matching and contrastive fine-tuning as effective remedies.

Introduction

Cross-Lingual Information Retrieval (CLIR) remains a challenging task due to the scarcity of cross-lingual relevance judgments. While the field has moved from static word embeddings to contextualized multilingual transformers, the zero-shot performance of these models on ad-hoc document retrieval is poorly understood. This study systematically benchmarks various encoding strategies and model architectures to determine if the "transformer revolution" has truly improved cross-lingual search capabilities.

Methods

We evaluate a spectrum of approaches for cross-lingual representation:

  • Encoding Granularity: We compare three methods for vector extraction: Word in Isolation (ISO), which ignores context; Average Over Contexts (AOC), which aggregates contextualized word meanings; and Sentence EMBeddings (SEMB), which encodes entire text segments.
  • Model Specialization: We contrast general encoders (mBERT, XLM) with models specifically fine-tuned for sentence-level semantic similarity, such as LASER, m-USE, and LaBSE.
  • Localized Relevance Matching: To address the input length limitations of transformers, we propose scoring queries against individual document sentences independently and pooling these scores to determine document relevance.
  • Fine-tuning Strategies: We examine the impact of "Learning to Rank" (L2R) transfer from large English datasets versus small-scale, in-domain contrastive fine-tuning using Multiple Negative Ranking Loss (MNRL).
Comparison of static (ISO, AOC) and dynamic (SEMB) embedding strategies for multilingual encoders.

Results

We evaluated these strategies on the CLEF 2003 benchmark for document retrieval and Europarl for sentence retrieval. Our results indicate that unsupervised general-purpose transformers (mBERT/XLM) do not consistently outperform static embedding baselines like Proc-B for document retrieval. However, specialized models like LASER and LaBSE show exceptional performance in sentence-level retrieval (MAP > 0.95). For document-level tasks, localized matching significantly boosts performance, achieving a MAP of 31.4. We also observe that models trained on massive English datasets (e.g., MS MARCO) often fail in cross-lingual settings because they over-rely on exact term matches, whereas contrastive fine-tuning on as few as 800 in-domain examples provides consistent gains across languages.

Discussion and Conclusion

The primary challenges in applying transformers to CLIR are the granularity mismatch between sentence-level training and document-level retrieval, and the tendency of supervised models to overfit on monolingual lexical features. Localized matching effectively bridges the gap for long documents but introduces higher latency. Future research should explore long-context multilingual architectures and training objectives that better generalize across languages without relying on surface-level term overlap.

Summary updated

BibTeX
@inproceedings{litschko2022cross,
  author = {Robert Litschko and Ivan Vulic and Simone Paolo Ponzetto and Goran Glavas},
  title = {{On cross-lingual retrieval with multilingual text encoders}},
  booktitle = {Inf. Retr. J},
  year = {2022},
  url = {https://openreview.net/forum?id=9j6DFOnBg1},
}
Figure