Locality Sensitive Hashing for Set-Queries, Motivated by Group Recommendations
Abstract
Locality Sensitive Hashing (LSH) is an effective method to index a set of points such that we can efficiently find the nearest neighbors of a query point. We extend this method to our novel Set-query LSH (SLSH), such that it can find the nearest neighbors of a set of points, given as a query. Let be the similarity between two points and . We define a similarity between a set and a point by aggregating the similarities for all . For example, we can take to be the angular similarity between and (i.e., ), and aggregate by arithmetic or geometric averaging, or taking the lowest similarity. We develop locality sensitive hash families and data structures for a large set of such arithmetic and geometric averaging similarities, and analyze their collision probabilities. We also establish an analogous framework and hash families for distance functions. Specifically, we give a structure for the euclidean distance aggregated by either averaging or taking the maximum. We leverage SLSH to solve a geometric extension of the approximate near neighbors problem. In this version, we consider a metric for which the unit ball is an ellipsoid and its orientation is specified with the query. An important application that motivates our work is group recommendation systems. Such a system embeds movies and users in the same feature space, and the task of recommending a movie for a group to watch together, translates to a set-query using an appropriate similarity.
Cite
@article{arxiv.2004.07286,
title = {Locality Sensitive Hashing for Set-Queries, Motivated by Group Recommendations},
author = {Haim Kaplan and Jay Tenenbaum},
journal= {arXiv preprint arXiv:2004.07286},
year = {2020}
}