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 pipeline consists of four key phases:
- Passage Generation: Documents are segmented into 100-token chunks to ensure they fit within BERT's context window.
- 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.
- Training (The Student): A new BERT ranker is fine-tuned using these high-precision, passage-level labels.
- Aggregation: At inference time, individual passage scores are aggregated using strategies such as
MaxP(selecting the highest passage score) orDecaySumP(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