Efficient Document Re-Ranking for Transformers by Precomputing Term Representations

By Sean MacAvaney, Franco Maria Nardini, Raffaele Perego, Nicola Tonellotto, Nazli Goharian, Ophir Frieder. 2020

132 citations recorded by the source corpus.

Deep pretrained transformer networks are effective at various ranking tasks, such as question answering and ad-hoc document ranking. However, their computational expenses deem them cost-prohibitive in practice. Our proposed approach, called PreTTR (Precomputing Transformer Term Representations), considerably reduces the query-time latency of deep transformer networks (up to a 42x speedup on web document ranking) making these networks more practical to use in a real-time ranking scenario. Specifically, we precompute part of the document term representations at indexing time (without a query), and merge them with the query representation at query time to compute the final ranking score. Due to the large size of the token representations, we also propose an effective approach to reduce the storage requirement by training a compression layer to match attention scores. Our compression technique reduces the storage required up to 95% and it can be applied without a substantial degradation in ranking performance.

Subfields: Artificial Intelligence, Information Systems, Management Science and Operations Research, Information Retrieval & Search, Large Language Models

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

  1. Jimmy J. Lin
  2. Jamie Callan
  3. Sebastian Hofstätter
  4. Allan Hanbury
  5. Luyu Gao
  6. Andrew Yates
  7. Chenyan Xiong
  8. Zhuyun Dai

In Information Systems

  1. Jamie Callan
  2. Zhuyun Dai
  3. Sebastian Hofstätter
  4. Allan Hanbury
  5. Luyu Gao
  6. Chenyan Xiong
  7. Andrew Yates
  8. Jimmy J. Lin

In Management Science and Operations Research

  1. Allan Hanbury
  2. Sebastian Hofstätter
  3. Chenyan Xiong
  4. Mete Sertkan
  5. Jamie Callan
  6. Michael Bendersky
  7. Marc Najork
  8. Omar Khattab

In Information Retrieval & Search

  1. Jimmy J. Lin
  2. Sebastian Hofstätter
  3. Jamie Callan
  4. Allan Hanbury
  5. Luyu Gao
  6. Andrew Yates
  7. Chenyan Xiong
  8. Zhuyun Dai

In Large Language Models

  1. Jamie Callan
  2. Zhuyun Dai
  3. Nazli Goharian
  4. Sean MacAvaney
  5. Andrew Yates
  6. Chenyan Xiong
  7. Luyu Gao
  8. Liu Yang

Citations in the corpus