vix.ing · top · new · best · stats · spec

Maximum Inner-Product Search using Tree Data-structures

2012/02/28 by Parikshit Ram, Alexander G. Gray · 2 citations
Computer Science · #cs.CG #cs.DS #cs.IR

paper · pdf · doi:10.1145/2339530.2339677

Under submission in KDD 2012

arxiv created 2012/02/28 · arxiv updated 2021/06/24

Abstract

The problem of \em efficiently finding the best match for a query in a given set with respect to the Euclidean distance or the cosine similarity has been extensively studied in literature. However, a closely related problem of efficiently finding the best match with respect to the inner product has never been explored in the general setting to the best of our knowledge. In this paper we consider this general problem and contrast it with the existing best-match algorithms. First, we propose a general branch-and-bound algorithm using a tree data structure. Subsequently, we present a dual-tree algorithm for the case where there are multiple queries. Finally we present a new data structure for increasing the efficiency of the dual-tree algorithm. These branch-and-bound algorithms involve novel bounds suited for the purpose of best-matching with inner products. We evaluate our proposed algorithms on a variety of data sets from various applications, and exhibit up to five orders of magnitude improvement in query time over the naive search technique.

Cited by