Diamond Sampling For Approximate Maximum All-pairs Dot-product (MAD) Search
Ballard Grey, Pinar Ali, Kolda Tamara G., Seshadhri C.. ICDM 2015
[Paper]
Given two sets of vectors, and
, our problem is to find the top- dot products,
i.e., the largest among all possible pairs. This is a
fundamental mathematical problem that appears in numerous data applications
involving similarity search, link prediction, and collaborative filtering. We
propose a sampling-based approach that avoids direct computation of all
dot products. We select diamonds (i.e., four-cycles) from the weighted
tripartite representation of and . The probability of selecting a
diamond corresponding to pair is proportional to ,
amplifying the focus on the largest-magnitude entries. Experimental results
indicate that diamond sampling is orders of magnitude faster than direct
computation and requires far fewer samples than any competing approach. We also
apply diamond sampling to the special case of maximum inner product search, and
get significantly better results than the state-of-the-art hashing methods.
Similar Work