Efficient Neural Ranking using Forward Indexes

Jurek Leonhardt, Koustav Rudra, Megha Khosla, Abhijit Anand, Avishek Anand
10/12/2021
cs.IR
transformer-attention

Official code: mrjleo/fast-forward-indexes (11 stars, Python, MIT, last commit 2025-04-25).

Abstract

Neural document ranking approaches, specifically transformer models, have achieved impressive gains in ranking performance. However, query processing using such over-parameterized models is both resource and time intensive.

Show full abstract

In this paper, we propose the Fast-Forward index -- a simple vector forward index that facilitates ranking documents using interpolation of lexical and semantic scores -- as a replacement for contextual re-rankers and dense indexes based on nearest neighbor search. Fast-Forward indexes rely on efficient sparse models for retrieval and merely look up pre-computed dense transformer-based vector representations of documents and passages in constant time for fast CPU-based semantic similarity computation during query processing. We propose index pruning and theoretically grounded early stopping techniques to improve the query processing throughput. We conduct extensive large-scale experiments on TREC-DL datasets and show improvements over hybrid indexes in performance and query processing efficiency using only CPUs. Fast-Forward indexes can provide superior ranking performance using interpolation due to the complementary benefits of lexical and semantic similarities.

View on arXivView PDF

Code Implementations(1)

MIT

Efficient interpolation-based ranking on CPUs

118PythonJan 14, 20221 years agoMIT
dual-encoderefficiencyinformation-retrievalneural-rankingranking

Similar Papers

Cite this paper

@article{leonhardt2021efficient,
  title  = {Efficient Neural Ranking using Forward Indexes},
  author = {Jurek Leonhardt and Koustav Rudra and Megha Khosla and Abhijit Anand and Avishek Anand},
  year   = {2021},
  eprint = {2110.06051},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.06051}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2110.06051.svg)](https://codeofpaper.com/paper/2110.06051)

Discussion