English

Adversarially Robust Approximate Furthest Neighbor

Data Structures and Algorithms 2026-05-19 v1 Computational Geometry

Abstract

We work in the adaptive query model, where one is given a point set PRdP \subset \mathbb{R}^d and seeks to construct a data structure that can answer correctly and efficiently a sequence of adaptive queries. In this model, an adversary observes the answers returned by the data structure to previous queries q1,,qi1q_1, \ldots, q_{i-1} and, based on this information, chooses the next query point qiq_i. This setting captures strong forms of adaptivity that naturally arise in modern machine learning pipelines, and rules out many classical randomized techniques that assume oblivious queries. Our focus is the problem of furthest neighbor search in this adaptive setting, a fundamental problem in several learning tasks, including diversity maximization, outlier and anomaly detection, adversarial example generation, and more. We present the first adversarially robust data structure for cc-approximate furthest neighbor queries that achieves query time O~(min(dn1/c2,n2/c2+d))\tilde{O}( \min( d n^{1/c^2}, n^{2/c^2} + d)). This matches the nn dependency in the query time of the seminal result by Indyk~[SODA'03] for cc-approximate furthest neighbor in the oblivious setting, and improves upon the O~(n+d)\tilde{O}(n + d) query time achieved via the adaptive distance estimation framework of Cherapanamjeri and Nelson~[NeurIPS'20] for a wide range of natural parameters. To complement this result, we present an adversarial attack against oblivious approximate furthest neighbor algorithms. Specifically, we show that the data structure from the algorithm by Indyk fails to maintain its guarantees against adaptive queries.

Keywords

Cite

@article{arxiv.2605.16618,
  title  = {Adversarially Robust Approximate Furthest Neighbor},
  author = {Kiarash Banihashem and Jeff Giliberti and Prashant Gokhale and Samira Goudarzi and MohammadTaghi Hajiaghayi and Yuhao Liu and Morteza Monemizadeh and Sandeep Silwal},
  journal= {arXiv preprint arXiv:2605.16618},
  year   = {2026}
}

Comments

ICML 2026