TL;DR
XTR (ConteXtualized Token Retriever) simplifies multi-vector information retrieval by scoring documents using only the tokens retrieved in the initial search stage, completely eliminating the need to load all document embeddings. This approach achieves a staggering 4,000x reduction in scoring FLOPs compared to models like ColBERT while simultaneously setting a new state-of-the-art on the BEIR benchmark.
What Problem Does This Paper Address?
Dense retrieval has traditionally been a trade-off between efficiency and expressivity. Dual encoders (like DPR) are fast because they represent queries and documents as single vectors, allowing for efficient Maximum Inner Product Search (MIPS). However, they lack the nuance of token-level interactions. Multi-vector models (like ColBERT) bridge this gap by storing embeddings for every token, achieving superior accuracy through "late interaction" scoring.
The catch? Multi-vector models are computationally expensive at scale. Their standard inference pipeline involves three stages:
- Token Retrieval: Use query tokens to find a set of candidate documents.
- Gathering: Load every token embedding for those candidate documents from disk/RAM.
- Scoring: Perform an exhaustive "sum-of-max" similarity calculation across all query and document tokens.
The "gathering" and "scoring" stages are the bottlenecks. The authors of this paper ask: Can we achieve high performance using only the tokens we already retrieved in the first stage?
Methods
The authors introduce XTR, which rethinks the role of token retrieval to streamline the entire process.
1. Rethinking the Pipeline
Unlike ColBERT, which uses token retrieval only to find candidate documents, XTR uses the retrieved tokens for the final score. As shown in Figure 1, this removes the expensive gathering stage entirely.
2. In-Batch Token Retrieval Training
Standard multi-vector training (like ColBERT's) often results in "over-confident" token scores that don't differentiate well between relevant and irrelevant contexts (see Figure 2). XTR introduces a new objective function that simulates the retrieval process during training. It encourages the model to assign high scores only to the most salient document tokens that are likely to be retrieved in the top-$k$ results.
3. Missing Similarity Imputation
During inference, a query token might not retrieve any tokens from a specific candidate document. To maintain the "sum-of-max" logic without loading all document tokens, XTR "imputes" a score for these missing interactions. It uses the similarity score of the $k'$-th retrieved token (the last one in the global retrieval list) as a tight upper bound for any non-retrieved token in that document. This is illustrated in Figure 3.
Datasets
- Training: MS MARCO (a large-scale English passage retrieval dataset).
- Evaluation:
- BEIR: A diverse benchmark of 13 zero-shot information retrieval tasks.
- LoTTE: A dataset for long-tail topic evaluation.
- EntityQuestions: Focused on entity-centric queries.
- MIRACL: A multilingual retrieval benchmark covering 18 languages.
Key Insights and Ideas
- Context over Lexical Match: Standard models often over-rely on exact keyword matches. XTR's training objective forces it to learn better contextual representations. Analysis shows XTR retrieves "gold" (relevant) tokens with much higher probability than ColBERT, even when it relies less on exact lexical matches (see Figure 4).
- Efficiency is Accuracy: By making the scoring stage 4,000x cheaper, XTR can afford to look at a much larger pool of candidate tokens ($k'=40,000$) during the retrieval stage, which significantly boosts overall recall (see Figure 5).
- The Power of Imputation: Simple upper-bound imputation works remarkably well. It allows the model to approximate the full "sum-of-max" interaction without the I/O overhead of loading full document representations.
Key Results
- State-of-the-Art Performance: XTR advances the SOTA on the BEIR benchmark by 2.8 nDCG@10 without any distillation or complex hard-negative mining.
- Massive Speedup: The scoring stage is two-to-three orders of magnitude cheaper in terms of FLOPs compared to ColBERT.
- Multilingual Superiority: On the MIRACL benchmark, XTR significantly outperforms previous models like mContriever, demonstrating strong cross-lingual generalization.
- Recall Gains: XTR achieves much higher recall at the token retrieval stage, which is the foundation for its strong final ranking performance.
Limitations and Future Work
- Training Data Dependency: Most experiments were conducted using MS MARCO for fine-tuning. The authors note that future work could explore removing this dependency, perhaps through LLM-based synthetic data generation.
- Convergence Issues: The authors found that training directly with the inference scoring function ($f_{XTR'}$) currently fails to converge, leaving an interesting open problem for optimization research.
- Index Size: While inference is faster, XTR still requires storing multiple vectors per document, which leads to larger index sizes compared to dual encoders. Exploring vector quantization or pruning within the XTR framework is a natural next step.
Summary updated