An In-depth Analysis of Passage-Level Label Transfer for Contextual Document Ranking

Koustav Rudra, Zeon Trevor Fernando, Avishek Anand

Abstract

Ranking long documents with Transformer-based models like BERT is constrained by fixed input lengths, typically 512 tokens. While segmenting documents into passages is a common workaround, the standard practice of "direct label transfer"—assigning the document's relevance label to every constituent passage—introduces substantial label noise. This paper introduces QA-DocRank, a method that leverages distant supervision from a Question Answering (QA) model to selectively label relevant passages. By denoising the training signal, QA-DocRank achieves a 3-14% improvement in nDCG across multiple TREC benchmarks while enhancing computational efficiency during both training and inference.

Introduction

Contextual language models have significantly advanced information retrieval, yet their application to long-form content remains problematic. When a document exceeds the token limit, researchers often resort to truncation or passage-level splitting. However, a long document relevant to a query often contains many irrelevant sections. Treating these irrelevant snippets as positive training examples creates "label noise," which degrades model performance as training datasets scale. This paper addresses the "Goldilocks" problem of finding the right granularity for relevance signals in long-document ranking.

Methodology

The authors propose QA-DocRank, a "teacher-student" framework designed to filter out irrelevant passages before training the final ranker.

The QA-DocRank framework: From document collection to training a denoised ranker using a QA-based teacher model.

The pipeline consists of four key phases:

  1. Passage Generation: Documents are segmented into 100-token chunks to ensure they fit within BERT's context window.
  2. Distant Supervision (The Teacher): An external BERT-based model, pre-trained on passage reranking for Question Answering, acts as a "teacher." It scans the generated passages and labels only those containing query-relevant information, effectively denoising the dataset.
  3. Training (The Student): A new BERT ranker is fine-tuned using these high-precision, passage-level labels.
  4. Aggregation: At inference time, individual passage scores are aggregated using strategies such as MaxP (selecting the highest passage score) or DecaySumP (weighting scores by their position in the document) to determine the final document rank.

Experimental Setup

The framework was evaluated on four diverse TREC datasets: Robust04 (news), TREC-DL (web search), Core17 (NYT articles), and ClueWeb09 (large-scale web crawl). This variety ensures the robustness of the findings across different domains and document types.

Key Results and Insights

The experimental results highlight several critical advantages of the QA-DocRank approach:

  • Performance Gains: QA-DocRank consistently outperformed baseline models, yielding a 3-14% improvement in nDCG scores.
  • Efficiency: By focusing on a smaller, high-quality subset of passages, the training process was 2.5 to 3 times faster than standard document-labeled baselines. Furthermore, the model achieved a 5.5x median speedup in inference time compared to state-of-the-art cross-domain models like BERT-3S.
  • Sample Efficiency: The "cleaner" training signal allows the model to achieve competitive performance with fewer training queries, challenging the notion that more data is always better when that data is noisy.
  • Cross-Domain Transferability: A teacher model trained on web-based QA (MS MARCO) proved highly effective at labeling news articles (Robust04), suggesting that relevance features are largely domain-agnostic.

Conclusion

QA-DocRank demonstrates that selective passage labeling is essential for scaling document ranking models. By mitigating label noise through distant supervision, the framework achieves superior accuracy and efficiency. Future research will explore passage interactions, the integration of Large Language Models for query refinement, and the impact of varying passage granularities across different document genres.

Summary updated

Abstract

Pre-trained contextual language models such as BERT, GPT, and XLnet work quite well for document retrieval tasks. Such models are fine-tuned based on the query-document/query-passage level relevance labels to capture the ranking signals. However, the documents are longer than the passages and such document ranking models suffer from the token limitation (512) of BERT. Researchers proposed ranking strategies that either truncate the documents beyond the token limit or chunk the documents into units that can fit into the BERT. In the later case, the relevance labels are either directly transferred from the original query-document pair or learned through some external model. In this paper, we conduct a detailed study of the design decisions about splitting and label transfer on retrieval effectiveness and efficiency. We find that direct transfer of relevance labels from documents to passages introduces label noise that strongly affects retrieval effectiveness for large training datasets. We also find that query processing times are adversely affected by fine-grained splitting schemes. As a remedy, we propose a careful passage level labelling scheme using weak supervision that delivers improved performance (3-14% in terms of nDCG score) over most of the recently proposed models for ad-hoc retrieval while maintaining manageable computational complexity on four diverse document retrieval datasets.
BibTeX
@article{rudra2023depth,
  author = {Koustav Rudra and Zeon Trevor Fernando and Avishek Anand},
  title = {{An In-depth Analysis of Passage-Level Label Transfer for Contextual Document Ranking}},
  journal = {Inf. Retr. J.},
  year = {2023},
  doi = {10.1007/s10791-023-09430-5},
}
Figure