Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
110 tokens/sec
GPT-4o
56 tokens/sec
Gemini 2.5 Pro Pro
44 tokens/sec
o3 Pro
6 tokens/sec
GPT-4.1 Pro
47 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

Efficient Document Re-Ranking for Transformers by Precomputing Term Representations (2004.14255v2)

Published 29 Apr 2020 in cs.IR

Abstract: 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.

User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (6)
  1. Sean MacAvaney (75 papers)
  2. Franco Maria Nardini (29 papers)
  3. Raffaele Perego (27 papers)
  4. Nicola Tonellotto (40 papers)
  5. Nazli Goharian (43 papers)
  6. Ophir Frieder (24 papers)
Citations (112)

Summary

We haven't generated a summary for this paper yet.