An Approximate Algorithm for Maximum Inner Product Search over Streaming Sparse Vectors

01/25/2023
by   Sebastian Bruch, et al.
0

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 naive 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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
09/16/2023

Bridging Dense and Sparse Maximum Inner Product Search

Maximum inner product search (MIPS) over dense and sparse vectors have p...
research
01/14/2023

Weighted Minwise Hashing Beats Linear Sketching for Inner Product Estimation

We present a new approach for computing compact sketches that can be use...
research
10/17/2021

Low-Precision Quantization for Efficient Nearest Neighbor Search

Fast k-Nearest Neighbor search over real-valued vector spaces (KNN) is a...
research
03/25/2018

Bernoulli Embeddings for Graphs

Just as semantic hashing can accelerate information retrieval, binary va...
research
05/07/2020

Phase retrieval of complex-valued objects via a randomized Kaczmarz method

This paper investigates the convergence of the randomized Kaczmarz algor...
research
08/23/2019

Revisiting Wedge Sampling for Budgeted Maximum Inner Product Search

Top-k maximum inner product search (MIPS) is a central task in many mach...
research
11/25/2021

The Classic Cross-Correlation and the Real-Valued Jaccard and Coincidence Indices

In this work we describe and compare the classic inner product and Pears...

Please sign up or login with your details

Forgot password? Click here to reset