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

Augmenting Passage Representations with Query Generation for Enhanced Cross-Lingual Dense Retrieval

Shengyao Zhuang, Linjun Shou, Guido ZucconarXiv 2023 · DOI

TL;DR

Researchers have developed a way to boost cross-lingual search performance by "pre-translating" English documents into synthetic queries across multiple languages. By blending these generated query embeddings into the original document representations at indexing time, they significantly bridge the language gap without adding a single millisecond to query-time latency.

What Problem Does This Paper Address?

Cross-lingual Dense Retrieval (xDR) is the task of finding relevant documents in one language (usually English) using a query in another (e.g., Japanese or Arabic). While modern multilingual models like mBERT are powerful, they face a "dual burden": they must simultaneously learn relevance matching (is this the right answer?) and cross-language alignment (do these two different languages mean the same thing?).

The primary bottleneck is data. We have plenty of English-only training data, but high-quality pairs of Japanese queries matched to English passages are scarce. Consequently, xDR models often perform significantly worse than their English-only counterparts.

Methods

The authors propose a method called xQG4xDR (Cross-lingual Query Generation for Cross-lingual Dense Retrieval). The process works in two main stages:

  1. Cross-lingual Query Generation (xQG): They fine-tune a multilingual T5 (mT5) model to act as a query generator. Using simple prompts like "Generate a [Japanese] question for this passage: [English Text]", the model creates several synthetic queries for every document in the corpus across all target languages.
  2. Embedding Augmentation: Instead of just indexing the English passage, they use a Rocchio-like aggregation function to blend the original passage embedding with the embeddings of the synthetic queries.
Figure 1: Augmenting passage representations with cross-lingual generated query embeddings. The query examples shown in this figure were generated using our trained xQG model. For each query, we report the corresponding translation obtained using Google’s translation service.

The formula uses a hyper-parameter $\alpha$ (the augmentation ratio) to control how much weight is given to the synthetic queries versus the original text. Crucially, this augmentation happens entirely offline during the indexing phase. At search time, the user's query is processed normally, meaning there is no extra computational overhead for the end-user.

Datasets

The approach was evaluated on XOR-TyDi, a benchmark for cross-lingual open-retrieval question answering.

  • Languages: Arabic, Bengali, Finnish, Japanese, Korean, Russian, and Telugu.
  • Corpus: ~18 million English Wikipedia passages.
  • Training: The authors also utilized the Natural Questions (NQ) dataset to test "zero-shot" scenarios, where the retriever is trained only on English data but tested on cross-lingual tasks.

Key Insights and Ideas

  • Moving the Passage, Not the Query: Most retrieval research focuses on improving the query representation. This paper argues that it's more effective to move the passage embeddings into a shared space that is "closer" to where the target language queries will land.
  • Cross-Language Synergy: One of the most surprising findings was that queries generated in one language can help retrieval in another. For example, Japanese-generated queries improved performance for Korean user queries. This suggests that the synthetic queries are capturing language-agnostic semantic concepts.
  • A Little Goes a Long Way: The optimal augmentation ratio $\alpha$ was found to be quite small (around 0.02). This indicates that the original passage embedding should remain the anchor, with synthetic queries providing a subtle but vital "nudge" in the right direction within the vector space.
Figure 3: Impact of the augmentation ratio 𝛼. Scores are averaged across all languages. Statistical significant improvements over no augmentation (𝛼= 0) are labelled with stars (𝑝< 0.05).

Key Results

The method consistently improved performance across different model backbones (mBERT and XLM-R):

  • mBERT Backbone: Average Recall@2kt improved from 44.1 to 46.2.
  • Zero-Shot Performance: For a model trained only on English data, xQG boosted average Recall@2kt from 33.0 to 36.0, a significant jump for a model that never saw a cross-lingual pair during training.
  • Scalability: Performance generally improved as the number of generated queries per passage increased, though the gains began to diminish after 4 queries per language.
Comparison of xDR models with and without xQG augmentation.

Limitations and Future Work

  • Hallucination: Like all T5-based models, the query generator can sometimes "hallucinate" or produce poor-quality queries. The authors suggest that using a cross-encoder to filter out bad synthetic queries could further improve results.
  • Computational Cost: While there is no latency at query time, generating queries for 18 million passages is computationally expensive (requiring ~70 hours on four A100 GPUs in this study).
  • Architecture Scope: The study focused on dual-encoder architectures (like DPR). Future work could explore if this augmentation strategy benefits more complex architectures like ColBERT.

Summary updated

BibTeX
@misc{zhuang2023augmenting,
  author = {Shengyao Zhuang and Linjun Shou and Guido Zuccon},
  title = {{Augmenting Passage Representations with Query Generation for Enhanced Cross-Lingual Dense Retrieval}},
  year = {2023},
  eprint = {2305.03950},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2305.03950},
}
Figure