Skip to search boxSkip to navigationSkip to main content

Sampling a Near Neighbor in High Dimensions — Who is the Fairest of Them All?

  • ,
  • Rasmus Pagh
    ,
  • Francesco Silvestri
    ,
  • Sariel Har-Peled
    ,
  • Sepideh Mahabadi
Research Output:
Journal Article or Conference Article in Journal
Journal article
Peer-review

Open access

Publication Information

Output type

Research Output:
Journal Article or Conference Article in Journal
Journal article
Peer-review

Original language

English

Article number

4

Pages from-to (Number of pages)

Pages 1-40 (40 pages)

Journal (Volume, Issue Number)

ACM Transactions on Database Systems (Volume 47, Issue 1)

Publication milestones

  • Published - 2022

Publication status

Published - 2022

ISSN

0362-5915

Publication IDs

  • Scopus: 85129852069

Abstract

Similarity search is a fundamental algorithmic primitive, widely used in many computer science disciplines. Given a set of points S and a radius parameter r > 0, the r-near neighbor (r-NN) problem asks for a data structure that, given any query point q, returns a point p within distance at most r from q. In this paper, we study the r-NN problem in the light of individual fairness and providing equal opportunities: all points that are within distance r from the query should have the same probability to be returned. In the low-dimensional case, this problem was first studied by Hu, Qiao, and Tao (PODS 2014). Locality sensitive hashing (LSH), the theoretically strongest approach to similarity search in high dimensions, does not provide such a fairness guarantee.

In this work, we show that LSH based algorithms can be made fair, without a significant loss in efficiency. We propose several efficient data structures for the exact and approximate variants of the fair NN problem. Our approach works more generally for sampling uniformly from a sub-collection of sets of a given collection and can be used in a few other applications. We also develop a data structure for fair similarity search under inner product that requires nearly-linear space and exploits locality sensitive filters. The paper concludes with an experimental evaluation that highlights the unfairness of state-of-the-art NN data structures and shows the performance of our algorithms on real-world datasets.

Publication metrics

PlumX, opens in new tab

Citations
10
Captures
9