# Robust Approximate Nearest Neighbor Search for Any Dataset

*Alexandr Andoni, Themistoklis Haris, Esty Kelman, Krzysztof Onak*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/150072) · [Open on the map](../papers.html#p150072)

Category: [Time Series, PDEs & Probabilistic ML](../pcat/9.md) › [Coresets and Efficient Summarization for Clustering](../pgroup/76.md) · Type: new method · Keywords: robust approximate nearest neighbor, adversarial ANN, locality sensitive hashing, sublinear query time, universal correctness

Areas: [Privacy & Federated Learning](../areas/privacy-federated.md) › Privacy Defenses and Attacks › Private Subspace Estimation

## Summary
The paper presents adversarially robust ANN algorithms for any dataset that achieve sublinear query time without structural assumptions.

## Explained to a 5-year-old
Finding things that are similar to something you look for is like a game of hide-and-seek with data. Sometimes someone can trick the system to give wrong answers. This paper makes a way to protect the system so it still finds the right similar items even when someone tries to trick it. The method works for any kind of data and stays fast. It also works well when there are only a few dimensions.

## Explained to a 5-year-old, longer
Finding the most similar thing to something you look for is like a game of hide-and-seek with data. Usually computers use tricks to make this fast, but those tricks can be broken by clever attackers. This paper creates a new shield that stops attackers from messing up the search. The shield works for any kind of data you might have. It keeps the search fast even when the data is huge. For problems in low-dimensional spaces, the shield guarantees the answer is always correct. The idea uses fairness, buckets, and rings to protect the search. It does not add noise that could hide the real answer. The method is designed so that even if the attacker knows everything, the system stays safe. It helps applications like recommendation lists and search engines stay reliable. The approach is simple enough to be used in many real-world tools. Overall, it makes finding similar items more trustworthy.

## For a technical reader
The paper addresses the problem of finding approximate nearest neighbors in a dataset when an adversary can adaptively choose both the data and the queries. It proposes a robust algorithm that works for any metric space supporting locality-sensitive hashing, achieving sublinear query time without relying on data-specific assumptions. The core ideas include using fairness-based defenses, reducing the search to a robust decision via bucketing, and constructing concentric annuli to improve speed. For low-dimensional spaces, the algorithm provides a universal guarantee that it always returns a correct neighbor. This makes ANN search more reliable for security-sensitive applications such as recommendation systems and search engines.

## Problem
Approximate nearest neighbor search is vulnerable to adaptive adversarial queries that can degrade performance. Existing robust methods rely on structural assumptions or differential privacy, which either limit applicability or obscure the output, making it hard to guarantee correctness for arbitrary datasets.

## Method
The approach uses fairness-based mechanisms to protect against adaptive queries, reduces the search problem to a robust decision via bucketing, and constructs concentric annuli to improve query-time exponent while preserving sublinear search. For low-dimensional spaces, it provides a universal guarantee correct for all queries.

## Contributions
Provides the first adversarially robust ANN algorithms that work for any dataset without structural assumptions, achieving sublinear query time and universal correctness in low dimensions. Introduces search-specific robustification techniques such as fairness-based defense, bucketing reduction, and concentric annuli construction.

## Limitations and assumptions
The algorithms are designed for metric spaces that support LSH and rely on the existence of such hash families; the universal guarantee is limited to low-dimensional spaces.

## Research questions this paper is counted under

- [How can we improve the reliability and performance of approximate nearest neighbor search under challenging conditions?](../q/549.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/150072)
