EARL: Speedup Transformer-based Rankers with Pre-computed Representation
By Luyu Gao, Zhuyun Dai, Jamie Callan. 2020
9 citations recorded by the source corpus.
Recent innovations in Transformer-based ranking models have advanced the state-of-the-art in information retrieval. However, their performance gains come at a steep computational cost. This paper presents a novel Embed Ahead Rank Later (EARL) framework, which speeds-up Transformer-based rankers by pre-computing representations and keeping online computation shallow. EARL dis-entangles the attention in a typical Transformer-based ranker into three asynchronous tasks and assign each to a dedicated Transformer: query understanding, document understanding, and relevance judging. With such a ranking framework, query and document token representations can be offline computed and reused. We also propose a new judger transformer block that keeps online relevance judging light and shallow. Our experiments demonstrate that EARL can be as effective as previous state-of-the-art BERT rankers in accuracy while substantially faster in evaluation time.
Subfields: Artificial Intelligence, Information Systems, Information Retrieval & Search, Efficiency & Compression
How researchers see this paper
The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.
In Artificial Intelligence
- Jimmy J. Lin
- Sebastian Hofstätter
- Allan Hanbury
- Andrew Yates
- Rodrigo Nogueira
- Sean MacAvaney
- Nazli Goharian
- Mete Sertkan
In Information Systems
- Sebastian Hofstätter
- Allan Hanbury
- Rodrigo Nogueira
- Sean MacAvaney
- Jimmy J. Lin
- Nazli Goharian
- Andrew Yates
- Kai Hui
In Information Retrieval & Search
- Jimmy J. Lin
- Sebastian Hofstätter
- Allan Hanbury
- Rodrigo Nogueira
- Andrew Yates
- Sean MacAvaney
- Nazli Goharian
- Mete Sertkan
In Efficiency & Compression
- Jimmy J. Lin
- Allan Hanbury
- Sebastian Hofstätter
- Mete Sertkan
- Rodrigo Nogueira
- Andrew Yates
- Arman Cohan
- Sheng-Chieh Lin
Citations in the corpus
- Pretrained Transformers for Text Ranking: BERT and Beyond (2020, methodology): “Evaluation on the MS MARCO passage retrieval test collection and TREC 2019 Deep Learning Track passage retrieval test collection are shown in Table 23, with results copied Gao et al. [2020b]. The six-layer and four-layer student models are shown in row groups (2) and (3), respectively, and the monoB”
- Improving Efficient Neural Ranking Models with Cross-Architecture Knowledge Distillation (2020, methodology): “Finally, the CLS token output is pooled with single linear layer 𝑊 𝑠 : Concurrently to PreTT, DC-BERT [46] and EARL [12] have been proposed with very similar approaches to split Transformer layers.”
- BERT-QE: Contextualized Query Expansion for Document Re-ranking (2020, background): “Many efforts have also been made to reduce the inference time of transformerbased rankers (Hofstätter et al., 2020a,b; Gao et al., 2020).”
- SLEDGE: A Simple Yet Effective Baseline for Coronavirus Scientific Knowledge Search (2020, background): “…modeling choices (Hofst¨atter et al., 2020; MacAvaney et al., 2020c), caching intermediate representations (Khattab and Zaharia, 2020; MacAvaney et al., 2020b; Gao et al., 2020), or by modifying the index with new terms or weights (Nogueira et al., 2019; Dai and Callan, 2019a; Nogueira, 2019).”