An Approximate Algorithm for Maximum Inner Product Search over Streaming Sparse Vectors
Citations Over TimeTop 16% of 2023 papers
Abstract
Maximum Inner Product Search or top- k retrieval on sparse vectors is well understood in information retrieval, with a number of mature algorithms that solve it exactly. However, all existing algorithms are tailored to text and frequency-based similarity measures. To achieve optimal memory footprint and query latency, they rely on the near stationarity of documents and on laws governing natural languages. We consider, instead, a setup in which collections are streaming—necessitating dynamic indexing—and where indexing and retrieval must work with arbitrarily distributed real-valued vectors. As we show, existing algorithms are no longer competitive in this setup, even against naïve solutions. We investigate this gap and present a novel approximate solution, called Sinnamon , that can efficiently retrieve the top- k results for sparse real valued vectors drawn from arbitrary distributions. Notably, Sinnamon offers levers to trade off memory consumption, latency, and accuracy, making the algorithm suitable for constrained applications and systems. We give theoretical results on the error introduced by the approximate nature of the algorithm and present an empirical evaluation of its performance on two hardware platforms and synthetic and real-valued datasets. We conclude by laying out concrete directions for future research on this general top- k retrieval problem over sparse vectors.
Related Papers
- → Analysis in indexing: document and domain centered approaches(2004)100 cited
- → A Review on Indexing Techniques and its application in Multilingual Information Retrieval System(2021)3 cited
- → Indexing: Another way for authors to communicate(1982)1 cited
- The problems of Chinese Library Classification(CLC) in indexing of scientific and technical journals and the indexing principles(2008)
- A closer look on indexing and indexing parameters(2020)