Abstract
Dense retrieval models, which map queries and documents into a high-dimensional vector space, have become the standard for ad-hoc retrieval. However, these models are often limited by sparse annotation in training datasets, leading to a "false negative" problem where unlabeled relevant documents are penalized. This paper introduces a method to enhance the ranking context by utilizing Reciprocal Nearest Neighbors (rNN). By analyzing the local connectivity of the embedding space, the authors propose Evidence-Based Label Smoothing (EB) for training and a lightweight reranking mechanism for inference. Evaluation across benchmarks like MS MARCO and TREC DL shows that rNN-based methods improve retrieval effectiveness while maintaining high computational efficiency.
Introduction
Modern information retrieval relies heavily on dense retrieval, where relevance is determined by the geometric proximity (e.g., cosine similarity or dot product) between query and document embeddings. Despite their success, these models face a significant challenge: the sparsity of relevance labels. In popular benchmarks like MS MARCO, queries typically have only one labeled relevant document. During contrastive training, any unlabeled document—even one that is semantically identical to the ground truth—is treated as a negative sample. This "false negative" signal distorts the model's understanding of the semantic space.
To address this, the authors propose moving beyond simple geometric distance to consider the "neighborhood context" of documents. By identifying Reciprocal Nearest Neighbors (rNN), the model can better identify documents that are semantically related to the ground truth, even if they lack explicit labels.
Methodology
Reciprocal Nearest Neighbors (rNN)
The core of the proposed approach is the concept of k-reciprocal nearest neighbors. Two items are considered reciprocal neighbors if they both appear in each other’s top-$k$ nearest neighbor lists. This relationship is a much stronger indicator of semantic similarity than simple distance, as it captures the local density and connectivity of the embedding space.
Evidence-Based Label Smoothing (EB)
Standard training uses "hard" targets, assigning a probability of 1 to the labeled document and 0 to all others. The authors introduce Evidence-Based Label Smoothing, which redistributes a portion of the probability mass to unlabeled documents that show high reciprocal similarity to the ground truth. By using a mixed metric—combining geometric distance with the Jaccard similarity of reciprocal neighbor sets—the model is no longer unfairly penalized for ranking highly relevant (but unlabeled) documents near the top.
Inference-Time Reranking
The rNN similarity metric is also applied as a post-processing step. After a dense retriever identifies the top-$N$ candidates, they are reranked based on their reciprocal neighborhood relationship with the query. This process is highly optimized; by performing the calculations offline or using efficient CPU-based processing, the authors limit the additional latency to approximately 5 milliseconds per query, making it viable for production environments.
Experimental Evaluation
Datasets
The researchers evaluated the rNN approach on three major benchmarks:
- MS MARCO (Passage Retrieval): A large-scale dataset characterized by high label sparsity (~1.1 labels per query).
- TREC DL (2019 & 2020): Subsets of MS MARCO featuring deep, multi-level human annotations, providing a more accurate measure of true ranking quality.
- TripClick: A health-domain dataset based on user click logs, offering a test case for noisy, real-world labels.
Key Findings
- The MRR Paradox: On sparse datasets like MS MARCO, label smoothing significantly reduced validation loss but did not always result in immediate gains in Mean Reciprocal Rank (MRR). This occurs because MRR only rewards the placement of the single labeled document at the very top. However, on the more deeply annotated TREC DL datasets, the performance gains were clear, with an average boost of +0.010 nDCG@10.
- Neighborhood Disruption: The study found that the "ranking context" has a sweet spot. Including approximately 60 candidates for neighborhood analysis provides the strongest signal; exceeding this number introduces unrelated documents that "pollute" the reciprocal relationships.
- Efficiency: Unlike computationally expensive Cross-Encoders, the rNN reranker maintains the high throughput of dual-encoder systems while narrowing the performance gap between the two architectures.
Conclusion
By leveraging the structural information inherent in the embedding space, Reciprocal Nearest Neighbors provide a robust solution to the false negative problem in dense retrieval. Evidence-Based Label Smoothing allows for more nuanced training signals, while rNN-based reranking offers a low-latency path to improved inference. Future work may explore dynamic label smoothing—updating reciprocal sets as embeddings evolve during training—and the application of these techniques to late-interaction models like ColBERT.
Summary updated