Evaluating Interpolation and Extrapolation Performance of Neural Retrieval Models

Jingtao Zhan, Xiaohui Xie, Jiaxin Mao, Yiqun Liu, Jiafeng Guo, Min Zhang, Shaoping Ma

TL;DR

Current neural retrieval models excel at interpolating training data but their ability to extrapolate to unseen queries is poorly understood. This paper introduces a novel evaluation framework to disentangle these capabilities, revealing that many models, particularly representation-based ones, significantly degrade in performance when extrapolating, highlighting a critical gap in current benchmarks.

What Problem Does This Paper Address?

The field of information retrieval (IR) has seen remarkable progress with the advent of neural models for tasks like ad-hoc search. These models are typically trained on massive datasets and evaluated on held-out test sets. However, the authors argue that existing benchmarks often exhibit a significant overlap between training and test data in terms of query entities, intents, and relevance labels. This overlap means that current evaluations primarily measure a model's ability to interpolate (perform well on data similar to what it was trained on) rather than extrapolate (perform well on data that is distinctly different). Extrapolation is crucial for real-world search engines, which must handle novel and diverse user queries. The paper aims to address this by proposing a method to rigorously evaluate both interpolation and extrapolation performance separately, providing a more accurate picture of a model's true generalization capabilities.

Methods

The core contribution of this paper is a new evaluation protocol designed to disentangle interpolation and extrapolation performance.

  1. Analysis of Existing Benchmarks: The authors first analyze popular benchmarks like MS MARCO and TREC Deep Learning Tracks. They investigate the distribution of training and test data, focusing on query entities, intents, and relevance labels. They find substantial overlap, suggesting these benchmarks are biased towards interpolation.
  2. Novel Evaluation Protocol: To address the benchmark bias, they propose a resampling-based approach:
  3. Query Similarity: They use an embedding-based method to measure query similarity, as it was found to be more effective than term-based methods in recalling similar training queries.
  4. ReSTrain (Resampling Training Queries): This method keeps the original test set intact. It constructs two distinct training sets: one with queries similar to the test queries (for interpolation evaluation) and another with queries dissimilar to the test queries (for extrapolation evaluation).
  5. ReSTTest (Resampling Training and Test Queries): This method is designed for larger test sets. It clusters both training and test queries into k buckets. For each iteration, k-1 buckets form the training set, and the remaining bucket serves as the extrapolation test set, while queries from the k-1 buckets are used for interpolation evaluation. This process is repeated k times to cover all queries.
  6. Alignment with Generalization: The authors validate their protocol by showing that extrapolation performance measured by their method correlates well with out-of-distribution generalization performance, while interpolation performance does not.

Datasets

  • Training/Evaluation Datasets:
    • MS MARCO (passage ranking task)
    • TREC Deep Learning Tracks (TREC DL) (passage ranking task)
  • Out-of-Distribution Evaluation Dataset:
    • BEIR (a collection of diverse retrieval datasets)

The paper does not introduce new benchmark datasets but rather proposes a new evaluation protocol that can be applied to existing Cranfield-like datasets.

Key Insights and Ideas

  • The "Interpolation Trap": Current benchmarks are heavily skewed towards evaluating interpolation, giving a potentially misleading impression of model performance. High scores on these benchmarks might not translate to real-world effectiveness where novel queries are common.
  • Extrapolation is Harder: The study confirms the intuition that extrapolation is a more challenging task than interpolation. Models that perform well in one regime can falter significantly in the other.
  • Model Architecture Matters for Extrapolation: Interaction-based models (like ColBERT) show much greater robustness to extrapolation compared to representation-based models (like dense retrievers and SPLADE).
  • Pretraining is Key for Extrapolation: While fine-tuning techniques like hard negative mining and distillation improve interpolation, pretraining (especially on the target corpus) appears to be the most effective strategy for boosting extrapolation capabilities.
  • Evaluation is Not One-Size-Fits-All: The findings strongly suggest that a single evaluation metric on a standard benchmark is insufficient. Separate evaluation of interpolation and extrapolation is necessary for a comprehensive understanding of neural retrieval models.

Key Results

  • Benchmark Bias: Over 90% of test queries in MS MARCO and TREC DL showed significant overlap in entities or intents with training queries, indicating a strong interpolation bias.
  • Performance Degradation: Representation-based models (SPLADE, dense retrieval) experienced a substantial drop in performance (e.g., >10% in NDCG@10 on TREC DL) when moving from interpolation to extrapolation.
  • Robustness of Interaction Models: Interaction-based models (BERT reranker, ColBERT) showed minimal performance degradation when extrapolating.
  • Pretraining vs. Fine-tuning: Models pretrained with target corpus contrastive learning (coCon-marco) significantly reduced the interpolation-extrapolation gap and improved extrapolation performance, outperforming models trained with hard negatives or distillation in this regard.
  • Correlation with OOD: The proposed extrapolation evaluation method showed a strong correlation with out-of-distribution generalization performance, validating its effectiveness.

Limitations and Future Work

  • Document Dynamics: The current evaluation protocol focuses on query dynamics. The authors acknowledge that incorporating document dynamics (newly added documents) would provide a more complete picture of generalization.
  • Model-Specific Definitions: The definitions of interpolation and extrapolation are general. Future work could explore model-specific definitions for better alignment.
  • Min-Max Game: Optimizing ranking models for extrapolation can be viewed as a min-max game. Designing models that are inherently robust to extrapolation remains an open challenge.
  • Computational Cost: While ReSTrain is more efficient than ReSTTest, evaluating many models across different training set sizes and pretraining strategies can still be computationally intensive.
  • Relevance Definition Nuances: The study noted that some BEIR datasets have relevance definitions that differ from typical ad-hoc search, potentially affecting correlation results. Further investigation into these nuances might be needed.

Summary updated

BibTeX
@inproceedings{zhan2022evaluating,
  author = {Jingtao Zhan and Xiaohui Xie and Jiaxin Mao and Yiqun Liu and Jiafeng Guo and Min Zhang and Shaoping Ma},
  title = {{Evaluating Interpolation and Extrapolation Performance of Neural Retrieval Models}},
  booktitle = {ACM International Conference on Information and Knowledge Management},
  year = {2022},
  doi = {10.1145/3511808.3557312},
}
Figure