Skip to main content
QUICK REVIEW

[Paper Review] Passage Re-ranking with BERT

Rodrigo Nogueira, Kyunghyun Cho|arXiv (Cornell University)|Jan 13, 2019
Topic ModelingComputer Science20 references346 citations
TL;DR

The authors repurpose BERT as a passage re-ranker for query-based retrieval and achieve state-of-the-art results on MS MARCO and TREC-CAR by fine-tuning BERT-LARGE on top of BM25 candidates.

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 state 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 results is available at https://github.com/nyu-dl/dl4marco-bert

Motivation & Objective

  • Leverage BERT to re-rank candidate passages for a given query.
  • Demonstrate strong performance improvements over prior neural and traditional IR methods on MS MARCO and TREC-CAR.
  • Show that fine-tuning a pre-trained BERT model with a simple cross-entropy objective yields high relevance scores for passages.

Proposed method

  • Treat the query as sentence A and the passage as sentence B and input them to a BERT-LARGE binary classifier.
  • Truncate the query to at most 64 tokens and the combined [CLS], query, passage, and separator tokens to 512 tokens.
  • Fine-tune pre-trained BERT-LARGE with cross-entropy loss on labeled query-passage pairs from BM25 top-1000 candidates.
  • Compute passage relevance probabilities independently for each candidate and rank by these probabilities.
  • Train on MS MARCO and TREC-CAR with TPU v3-8 and Adam optimizer with learning rate warmup and decay.
  • Demonstrate that training on a fraction of data yields strong performance gains over prior SOTA.

Experimental results

Research questions

  • RQ1Can BERT-LARGE, fine-tuned as a binary relevance classifier, effectively re-rank passages for open-domain question answering datasets?
  • RQ2What is the performance gain of BERT-based re-ranking over traditional BM25 baselines and prior neural models on MS MARCO and TREC-CAR?
  • RQ3How much training data is needed for BERT re-rankers to reach competitive or state-of-the-art results?

Key findings

  • BERT-LARGE re-ranker achieves state-of-the-art results on MS MARCO and MS MARCO TREC-CAR tasks.
  • On MS MARCO, BERT-LARGE surpasses previous SOTA (e.g., IR-NET) with substantial gains in MRR@10.
  • Training with as few as 100k query-passage pairs yields a large performance boost over prior methods.
  • Using BM25 to generate top-1000 candidates, the BERT re-ranker improves over baselines like BM25 and other neural models.
  • The approach provides strong results while training on a small fraction of the available data (e.g., 100k pairs).
  • The authors release code to reproduce results.

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.