Multi-Stage Document Ranking with BERT
Authors: Rodrigo Nogueira, Wei Yang, Kyunghyun Cho, Jimmy Lin
Abstract
The advent of deep neural networks pre-trained via language modeling tasks has spurred a number of successful applications in natural language processing. This work explores one such popular model, BERT, in the context of document ranking. We propose two variants, called monoBERT and duoBERT, that formulate the ranking problem as pointwise and pairwise classification, respectively. These two models are arranged in a multi-stage ranking architecture to form an end-to-end search system. One major advantage of this design is the ability to trade off quality against latency by controlling the admission of candidates into each pipeline stage, and by doing so, we are able to find operating points that offer a good balance between these two competing metrics. On two large-scale datasets, MS MARCO and TREC CAR, experiments show that our model produces results that are either at or comparable to the state of the art. Ablation studies show the contributions of each component and characterize the latency/quality tradeoff space.
The papers around it, by date and closeness
Higher is closer to this paper; left is older. Lines join papers close to each other: groups of lines are sub-topics. Select a point to see why it is there. Back to the summary of this paper
Papers around this one
Ranked by how close their title and abstract are to this paper’s. Select some to read them together.
Closest papers
-
Early Exiting BERT for Efficient Document RankingJi Xin, Rodrigo Nogueira, Yao-Liang Yu et al. · 2020 · SUSTAINLP · cited 58 times · Not summarized yet
Early Exiting BERT reduces document-ranking latency by letting each inference sample exit at an intermediate BERT output path.
Abstract
Pre-trained language models such as BERT have shown their effectiveness in various tasks. Despite their power, they are known to be computationally intensive, which hinders real-world applications. In this paper, we introduce early exiting BERT for document ranking. With a slight modification, BERT becomes a model with multiple output paths, and each inference sample can exit early from these paths. In this way, computation can be effectively allocated among samples, and overall system latency is significantly reduced while the original quality is maintained. Our experiments on two document ranking datasets demonstrate up to 2.5x inference speedup with minimal quality degradation. The source…
-
Understanding the Behaviors of BERT in RankingYifan Qiao, Chenyan Xiong, Zhenghao Liu et al. · 2019 · arXiv.org · preprint, not peer reviewed · cited 285 times · Not summarized yet
Understanding the Behaviors of BERT in Ranking tests BERT on MS MARCO passage reranking and TREC ad hoc document ranking.
Abstract
This paper studies the performances and behaviors of BERT in ranking tasks. We explore several different ways to leverage the pre-trained BERT and fine-tune it on two ranking tasks: MS MARCO passage reranking and TREC Web Track ad hoc document ranking. Experimental results on MS MARCO demonstrate the strong effectiveness of BERT in question-answering focused passage ranking tasks, as well as the fact that BERT is a strong interaction-based seq2seq matching model. Experimental results on TREC show the gaps between the BERT pre-trained on surrounding contexts and the needs of ad hoc document ranking. Analyses illustrate how BERT allocates its attentions between query-document tokens in its Tra…
-
Passage Re-ranking with BERTRodrigo Nogueira, Kyunghyun Cho · 2019 · Information Retrieval · preprint, not peer reviewed · cited 1,822 times · AI summary available
Passage Re-ranking with BERT applies BERT to query-based passage reranking on MS MARCO and TREC-CAR.
Abstract
Recently, neural models pretrained on a language modeling task, such as ELMo (Peters et al., 2017), OpenAI GPT (Radford et al., 2018), and BERT (Devlin et al., 2018), have achieved impressive results on various natural language processing tasks such as question-answering and natural language inference. In this paper, we describe a simple re-implementation of BERT for query-based passage re-ranking. Our system is the start of the art on the TREC-CAR dataset and the top entry in the leaderboard of the MS MARCO passage retrieval task, outperforming the previous state of the art by 27% (relative) in MRR@10. The code to reproduce our submission is available at https://github.com/nyu-dl/dl4marco-b…
-
Long Document Re-ranking with Modular Re-rankerLuyu Gao, Jamie Callan · 2022 · Annual International ACM SIGIR Conference on Research and Development in Information Retrieval · cited 19 times · Not summarized yet
Long Document Re-ranking with Modular Re-ranker uses modular Transformer interactions across document chunks to rerank long documents.
Abstract
Long document re-ranking has been a challenging problem for neural re-rankers based on deep language models like BERT. Early work breaks the documents into short passage-like chunks. These chunks are independently mapped to scalar scores or latent vectors, which are then pooled into a final relevance score. These encode-and-pool methods however inevitably introduce an information bottleneck: the low dimension representations. In this paper, we propose instead to model full query-to-document interaction, leveraging the attention operation and modular Transformer re-ranker framework. First, document chunks are encoded independently with an encoder module. An interaction module then encodes the…
-
CEDR: Contextualized Embeddings for Document RankingSean MacAvaney, Andrew Yates, Arman Cohan et al. · 2019 · Annual International ACM SIGIR Conference on Research and Development in Information Retrieval · cited 380 times · Not summarized yet
CEDR applies contextualized language models, including BERT, to ad hoc document ranking on TREC benchmarks.
Abstract
Although considerable attention has been given to neural ranking architectures recently, far less attention has been paid to the term representations that are used as input to these models. In this work, we investigate how two pretrained contextualized language models (ELMo and BERT) can be utilized for ad-hoc document ranking. Through experiments on TREC benchmarks, we find that several ex-sting neural ranking architectures can benefit from the additional context provided by contextualized language models. Furthermore, we propose a joint approach that incorporates BERT's classification vector into existing neural models and show that it outperforms state-of-the-art ad-hoc ranking baselines.…
-
Learning to Rank in the Age of Muppets: Effectiveness–Efficiency Tradeoffs in Multi-Stage RankingYue Zhang, Chengcheng Hu, Yu-Qi Liu et al. · 2021 · SUSTAINLP · cited 23 times · Not summarized yet
Learning to Rank in the Age of Muppets uses feature-based ranking to reduce candidates before transformer reranking, targeting effectiveness and efficiency.
Abstract
It is well known that rerankers built on pretrained transformer models such as BERT have dramatically improved retrieval effectiveness in many tasks. However, these gains have come at substantial costs in terms of efficiency, as noted by many researchers. In this work, we show that it is possible to retain the benefits of transformer-based rerankers in a multi-stage reranking pipeline by first using feature-based learning-to-rank techniques to reduce the number of candidate documents under consideration without adversely affecting their quality in terms of recall. Applied to the MS MARCO passage and document ranking tasks, we are able to achieve the same level of effectiveness, but with up t…
-
Document Ranking with a Pretrained Sequence-to-Sequence ModelRodrigo Frassetto Nogueira, Zhiying Jiang, Ronak Pradeep et al. · 2020 · Findings of the Association for Computational Linguistics: EMNLP (Findings of EMNLP) · cited 469 times · Not summarized yet
Document Ranking with a Pretrained Sequence-to-Sequence Model generates relevance labels instead of using BERT-style classification for ranking.
Abstract
This work proposes a novel adaptation of a pretrained sequence-to-sequence model to the task of document ranking. Our approach is fundamentally different from a commonly-adopted classification-based formulation of ranking, based on encoder-only pretrained transformer architectures such as BERT. We show how a sequence-to-sequence model can be trained to generate relevance labels as "target words", and how the underlying logits of these target words can be interpreted as relevance probabilities for ranking. On the popular MS MARCO passage ranking task, experimental results show that our approach is at least on par with previous classification-based models and can surpass them with larger, more…
-
Intra-Document Cascading: Learning to Select Passages for Neural Document RankingSebastian Hofstätter, Bhaskar Mitra, Hamed Zamani et al. · 2021 · Annual International ACM SIGIR Conference on Research and Development in Information Retrieval · cited 59 times · Not summarized yet
Intra-Document Cascading prunes passages within candidate documents to reduce the latency of neural document reranking.
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 documen…
Prior work it builds on
-
BERT: Pre-training of Deep Bidirectional Transformers for Language UnderstandingJacob Devlin, Ming-Wei Chang, Kenton Lee et al. · 2018 · Computation and Language · cited 124,837 times · AI summary available
BERT introduces the pretrained bidirectional language model that Multi-Stage Document Ranking with BERT fine-tunes for ranking.
Abstract
We introduce a new language representation model called BERT, which stands for Bidirectional Encoder Representations from Transformers. Unlike recent language representation models, BERT is designed to pre-train deep bidirectional representations from unlabeled text by jointly conditioning on both left and right context in all layers. As a result, the pre-trained BERT model can be fine-tuned with just one additional output layer to create state-of-the-art models for a wide range of tasks, such as question answering and language inference, without substantial task-specific architecture modifications. BERT is conceptually simple and empirically powerful. It obtains new state-of-the-art results…
-
Learning to Match using Local and Distributed Representations of Text for Web SearchBhaskar Mitra, Fernando Diaz, Nick Craswell · 2016 · The Web Conference · cited 545 times · Not summarized yet
Learning to Match combines distributed and local text representations for web-search ranking, an earlier neural ranking approach.
Abstract
Models such as latent semantic analysis and those based on neural embeddings learn distributed representations of text, and match the query against the document in the latent semantic space. In traditional information retrieval models, on the other hand, terms have discrete or local representations, and the relevance of a document is determined by the exact matches of query terms in the body text. We hypothesize that matching with distributed representations complements matching with traditional local representations, and that a combination of the two is favourable. We propose a novel document ranking model composed of two separate deep neural networks, one that matches the query and the doc…
-
End-to-End Neural Ad-hoc Ranking with Kernel PoolingChenyan Xiong, Zhuyun Dai, Jamie Callan et al. · 2017 · Annual International ACM SIGIR Conference on Research and Development in Information Retrieval · cited 597 times · Not summarized yet
End-to-End Neural Ad-hoc Ranking with Kernel Pooling presents an earlier end-to-end neural model for document ranking.
Abstract
This paper proposes K-NRM, a kernel based neural model for document ranking. Given a query and a set of documents, K-NRM uses a translation matrix that models word-level similarities via word embeddings, a new kernel-pooling technique that uses kernels to extract multi-level soft match features, and a learning-to-rank layer that combines those features into the final ranking score. The whole model is trained end-to-end. The ranking layer learns desired feature patterns from the pairwise ranking loss. The kernels transfer the feature patterns into soft-match targets at each similarity level and enforce them on the translation matrix. The word embeddings are tuned accordingly so that they can …
-
Efficient Cost-Aware Cascade Ranking in Multi-Stage RetrievalRuey-Cheng Chen, L. Gallagher, Roi Blanco et al. · 2017 · Annual International ACM SIGIR Conference on Research and Development in Information Retrieval · cited 92 times · Not summarized yet
Efficient Cost-Aware Cascade Ranking in Multi-Stage Retrieval optimizes cascaded ranking using feature costs and reranking workload.
Abstract
Complex machine learning models are now an integral part of modern, large-scale retrieval systems. However, collection size growth continues to outpace advances in efficiency improvements in the learning models which achieve the highest effectiveness. In this paper, we re-examine the importance of tightly integrating feature costs into multi-stage learning-to-rank (LTR) IR systems. We present a novel approach to optimizing cascaded ranking models which can directly leverage a variety of different state-of-the-art LTR rankers such as LambdaMART and Gradient Boosted Decision Trees. Using our cascade model, we conclusively show that feature costs and the number of documents being re-ranked in e…
-
End-to-End Open-Domain Question Answering with BERTseriniWei Yang, Yuqing Xie, Aileen Lin et al. · 2019 · North American Chapter of the Association for Computational Linguistics · cited 531 times · Not summarized yet
BERTserini integrates a BERT reader with information retrieval for open-domain question answering rather than document ranking.
Abstract
We demonstrate an end-to-end question answering system that integrates BERT with the open-source Anserini information retrieval toolkit. In contrast to most question answering and reading comprehension models today, which operate over small amounts of input text, our system integrates best practices from IR with a BERT-based reader to identify answers from a large corpus of Wikipedia articles in an end-to-end fashion. We report large improvements over previous results on a standard benchmark test collection, showing that fine-tuning pretrained BERT with SQuAD is sufficient to achieve high accuracy in identifying answer spans.
Papers that cite it
-
ColBERT: Efficient and Effective Passage Search via Contextualized Late Interaction over BERTOmar Khattab, Matei Zaharia · 2020 · Information Retrieval · cited 2,803 times · AI summary available
ColBERT uses independent query and document encodings with late interaction to make BERT-based retrieval more efficient.
Abstract
Recent progress in Natural Language Understanding (NLU) is driving fast-paced advances in Information Retrieval (IR), largely owed to fine-tuning deep language models (LMs) for document ranking. While remarkably effective, the ranking models based on these LMs increase computational cost by orders of magnitude over prior approaches, particularly as they must feed each query-document pair through a massive neural network to compute a single relevance score. To tackle this, we present ColBERT, a novel ranking model that adapts deep LMs (in particular, BERT) for efficient retrieval. ColBERT introduces a late interaction architecture that independently encodes the query and the document using BE…
-
Utilizing BERT for Information Retrieval: Survey, Applications, Resources, and ChallengesJiajia Wang, J. Huang, Xinhui Tu et al. · 2024 · ACM Computing Surveys · cited 149 times · Not summarized yet
Utilizing BERT for Information Retrieval surveys BERT applications, resources, and challenges in information retrieval.
Abstract
Recent years have witnessed a substantial increase in the use of deep learning to solve various natural language processing (NLP) problems. Early deep learning models were constrained by their sequential or unidirectional nature, such that they struggled to capture the contextual relationships across text inputs. The introduction of bidirectional encoder representations from transformers (BERT) leads to a robust encoder for the transformer model that can understand the broader context and deliver state-of-the-art performance across various NLP tasks. This has inspired researchers and practitioners to apply BERT to practical problems, such as information retrieval (IR). A survey that focuses …
-
Text Retrieval with Multi-Stage Re-Ranking ModelsYuichi Sasazawa, Ken-Ichi Yokote, Osamu Imaichi et al. · 2023 · arXiv.org · preprint, not peer reviewed · cited 6 times · Not summarized yet
Text Retrieval with Multi-Stage Re-Ranking Models evaluates staged reranking approaches that balance search accuracy and delay.
Abstract
The text retrieval is the task of retrieving similar documents to a search query, and it is important to improve retrieval accuracy while maintaining a certain level of retrieval speed. Existing studies have reported accuracy improvements using language models, but many of these do not take into account the reduction in search speed that comes with increased performance. In this study, we propose three-stage re-ranking model using model ensembles or larger language models to improve search accuracy while minimizing the search delay. We ranked the documents by BM25 and language models, and then re-ranks by a model ensemble or a larger language model for documents with high similarity to the q…
-
Pretrained Transformers for Text Ranking: BERT and BeyondAndrew Yates, Rodrigo Frassetto Nogueira, Jimmy Lin · 2021 · ACM International Conference on Web Search and Data Mining (WSDM) · cited 174 times · Not summarized yet
Pretrained Transformers for Text Ranking synthesizes transformer-based text-ranking research, including BERT methods.
Abstract
The goal of text ranking is to generate an ordered list of texts retrieved from a corpus in response to a query. Although the most common formulation of text ranking is search, instances of the task can also be found in many natural language processing applications. This tutorial, based on a forthcoming book, provides an overview of text ranking with neural network architectures known as transformers, of which BERT is the best-known example. The combination of transformers and self-supervised pretraining has, without exaggeration, revolutionized the fields of natural language processing (NLP), information retrieval (IR), and beyond. We provide a synthesis of existing work as a single point o…
-
Rethink Training of BERT Rerankers in Multi-stage Retrieval PipelineLuyu Gao, Zhuyun Dai, Jamie Callan · 2021 · Lecture notes in computer science · cited 83 times · Not summarized yet
Rethink Training of BERT Rerankers in Multi-stage Retrieval addresses training BERT rerankers in multi-stage pipelines and cites this paper.
Go further
How are these papers found?
We compare the title and abstract of this paper with those of every paper summarized on this site, and with the papers Semantic Scholar recommends, those it cites and those citing it (for a much-cited paper, its most recent citations and, from OpenAlex, the most cited ones). Among the prior work and the follow-ups, the papers that use each other in depth, a method it uses and the much-cited follow-ups come a little higher. The levels (very close, close, related) come from the similarity of the texts, not from a judgment of quality; * marks a paper without an abstract, compared by its title. The sentence under a paper is written by an AI from the two abstracts: check it in the papers. A paper marked not relevant by three readers leaves the list.
Updated on 1 November 2026.