On the Complexity of Inner Product Similarity Join
Open Access
- 15 June 2016
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 151-164
Abstract
A number of tasks in classification, information retrieval, recommendation systems, and record linkage reduce to the core problem of inner product similarity join (IPS join): identifying pairs of vectors in a collection that have a sufficiently large inner product. IPS join is well understood when vectors are normalized and some approximation of inner products is allowed. However, the general case where vectors may have any length appears much more challenging. Recently, new upper bounds based on asymmetric locality-sensitive hashing (ALSH) and asymmetric embeddings have emerged, but little has been known on the lower bound side. In this paper we initiate a systematic study of inner product similarity join, showing new lower and upper bounds. Our main results are: Approximation hardness of IPS join in subquadratic time, assuming the strong exponential time hypothesis. New upper and lower bounds for (A)LSH-based algorithms. In particular, we show that asymmetry can be avoided by relaxing the LSH definition to only consider the collision probability of distinct elements. A new indexing method for IPS based on linear sketches, implying that our hardness results are not far from being tight. Our technical contributions include new asymmetric embeddings that may be of independent interest. At the conceptual level we strive to provide greater clarity, for example by distinguishing among signed and unsigned variants of IPS join and shedding new light on the effect of asymmetry.Keywords
All Related Versions
Funding Information
- European Research Council (614331)
This publication has 49 references indexed in Scilit:
- On deterministic sketching and streaming for sparse recovery and norm estimationLinear Algebra and its Applications, 2014
- Similarity Joins in Relational Database SystemsSynthesis Lectures on Data Management, 2013
- An Efficient Similarity Join Algorithm with Cosine Similarity PredicateLecture Notes in Computer Science, 2010
- Cutting-plane training of structural SVMsMachine Learning, 2009
- Metric space similarity joinsACM Transactions on Database Systems, 2008
- Near-optimal hashing algorithms for approximate nearest neighbor in high dimensionsCommunications of the ACM, 2008
- A new algorithm for optimal 2-constraint satisfaction and its implicationsTheoretical Computer Science, 2005
- Rank, Trace-Norm and Max-Norm2005
- GORDER2004
- Finding interesting associations without support pruningIEEE Transactions on Knowledge and Data Engineering, 2001