[Paper Review] Learning-to-Rank with BERT in TF-Ranking
The paper proposes TFR-BERT, a framework that finetunes BERT representations of query–document pairs within TF-Ranking to perform neural learning-to-rank for MS MARCO, achieving state-of-the-art or near-state-of-the-art results for passage re-ranking and full ranking, and further boosting performance by ensembling BERT, RoBERTa, and ELECTRA.
This paper describes a machine learning algorithm for document (re)ranking, in which queries and documents are firstly encoded using BERT [1], and on top of that a learning-to-rank (LTR) model constructed with TF-Ranking (TFR) [2] is applied to further optimize the ranking performance. This approach is proved to be effective in a public MS MARCO benchmark [3]. Our first two submissions achieve the best performance for the passage re-ranking task [4], and the second best performance for the passage full-ranking task as of April 10, 2020 [5]. To leverage the lately development of pre-trained language models, we recently integrate RoBERTa [6] and ELECTRA [7]. Our latest submissions improve our previously state-of-the-art re-ranking performance by 4.3% [8], and achieve the third best performance for the full-ranking task [9] as of June 8, 2020. Both of them demonstrate the effectiveness of combining ranking losses with BERT representations for document ranking.
Motivation & Objective
- Motivate the use of a learning-to-rank framework on top of BERT representations for document ranking rather than a standalone classification approach.
- Introduce TFR-BERT, a generic framework that uses BERT to encode query–passage pairs and TF-Ranking for ranking losses.
- Evaluate the approach on MS MARCO to demonstrate gains in passage re-ranking and full ranking tasks.
- Show the benefits of ensembling across different BERT-family models and ranking losses to maximize performance.
Proposed method
- Represent query–passage pairs as two-sentence inputs to BERT and use the [CLS] token as a representation.
- Feed the BERT outputs into TF-Ranking to apply pointwise, pairwise, and listwise losses.
- Train on TPU with list size 12 and batch size 32, producing 384 query–document pairs per step.
- Explore ensembling across multiple losses and across multiple pre-trained models (BERT, RoBERTa, ELECTRA).
- Evaluate re-ranking and full-ranking tasks on MS MARCO using MRR@10 as the evaluation metric.
Experimental results
Research questions
- RQ1Can a LTR model built on top of BERT representations improve passage re-ranking and full ranking on MS MARCO compared to baselines?
- RQ2Do ensemble strategies over losses and over multiple BERT-family models yield consistent gains in MRR@10?
- RQ3How does the combination of DeepCT, BM25, and neural re-ranking perform in the full-ranking setting?
- RQ4What is the impact of using newer pre-trained models (RoBERTa, ELECTRA) within the TF-Ranking BERT framework?
Key findings
- TFR-BERT outperforms baselines on passage re-ranking, with substantial gains in MRR@10 compared to BM25 and prior BERT-based methods.
- Ensembling multiple runs and multiple loss types yields significant improvements (e.g., about 3.5% to 4.0% on dev) over single runs.
- Incorporating RoBERTa and ELECTRA ensembles further improves re-ranking performance beyond BERT alone.
- For full ranking, combining DeepCT with TF-Ranking BERT ensembles achieves top performance among reported submissions, approaching leaderboard bests.
- The ensemble of multiple BERT-family models (BERT, RoBERTa, ELECTRA) delivers the best MRR@10 among re-ranking submissions as of mid-2020.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.