Skip to main content
QUICK REVIEW

[Paper Review] Intra-Document Cascading: Learning to Select Passages for Neural Document Ranking

Sebastian Hofstätter, Bhaskar Mitra|arXiv (Cornell University)|May 20, 2021
Topic ModelingComputer Science40 references10 citations
TL;DR

This paper proposes Intra-Document Cascaded Ranking (IDCM), a two-stage neural document re-ranking model that uses a fast, knowledge-distilled student model (ESM) to select top-k passages before applying a high-accuracy BERT-based teacher model (ETM) only to those passages. By pruning irrelevant content early, IDCM reduces query latency by over 400% while maintaining state-of-the-art effectiveness on MS MARCO and TREC Deep Learning Track benchmarks.

ABSTRACT

An emerging recipe for achieving state-of-the-art effectiveness in neural document re-ranking involves utilizing large pre-trained language models - e.g., BERT - to evaluate all individual passages in the document and then aggregating the outputs by pooling or additional Transformer layers. A major drawback of this approach is high query latency due to the cost of evaluating every passage in the document with BERT. To make matters worse, this high inference cost and latency varies based on the length of the document, with longer documents requiring more time and computation. To address this challenge, we adopt an intra-document cascading strategy, which prunes passages of a candidate document using a less expensive model, called ESM, before running a scoring model that is more expensive and effective, called ETM. We found it best to train ESM (short for Efficient Student Model) via knowledge distillation from the ETM (short for Effective Teacher Model) e.g., BERT. This pruning allows us to only run the ETM model on a smaller set of passages whose size does not vary by document length. Our experiments on the MS MARCO and TREC Deep Learning Track benchmarks suggest that the proposed Intra-Document Cascaded Ranking Model (IDCM) leads to over 400% lower query latency by providing essentially the same effectiveness as the state-of-the-art BERT-based document ranking models.

Motivation & Objective

  • To address the high inference latency of BERT-based neural document re-ranking, which scales with document length due to passage-wise BERT scoring.
  • To improve efficiency without sacrificing ranking effectiveness by introducing a cascaded two-stage model architecture.
  • To enable practical deployment of strong neural re-rankers in large-scale production systems by reducing computational cost.
  • To explore knowledge distillation as a self-supervised method to train an efficient passage selection model using BERT's own scores as supervision.

Proposed method

  • The model employs an intra-document cascading strategy: a lightweight, distilled student model (ESM) first ranks and selects top-k passages from a document.
  • The ESM is trained via knowledge distillation using passage-level scores from a BERT-based teacher model (ETM), enabling it to approximate the BERT ranking behavior.
  • Only the selected k passages are then scored by the full BERT model (ETM), drastically reducing the number of expensive BERT inferences per document.
  • The ESM is further optimized with an intra-document ranking loss to improve selection quality beyond just matching BERT scores.
  • The framework uses symmetric padding to preserve positional signals, allowing the model to learn from passage position cues.
  • The entire pipeline is trained in a multi-stage fashion to balance collaboration between the selection and scoring modules.

Experimental results

Research questions

  • RQ1RQ1: Can IDCM achieve comparable effectiveness to a full BERT-based ranker while reducing computational cost and query latency?
  • RQ2RQ2: How does the effectiveness-efficiency trade-off vary with the number of passages k selected by the ESM module?
  • RQ3RQ3: How well does the ESM module recall the top passages that would be selected by the BERT model?
  • RQ4RQ4: What patterns emerge in passage selection behavior across different document relevance grades and positions?

Key findings

  • IDCM reduces median query latency by over 400% compared to a full BERT-based re-ranker, achieving the same effectiveness on MS MARCO and TREC DL 2019 benchmarks.
  • The best performance is achieved when the ESM is trained via knowledge distillation using BERT passage scores and an intra-document ranking loss, with k=40 passages selected for BERT scoring.
  • The ESM achieves high recall for top passages—especially on highly relevant documents—demonstrating strong alignment with BERT’s selection behavior.
  • The model learns to utilize both the beginning and end of documents, likely due to positional signals from symmetric padding, which helps identify relevant content at document boundaries.
  • A single BERT inference on one passage adds 25ms to median latency, while CK(S) processing 40 passages has similar runtime, showing the efficiency gain of cascading.
  • The framework enables efficient deployment of strong neural re-rankers by replacing manual annotation with self-supervised distillation, reducing labor and cost.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.