NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Approximate near neighbors for general symmetric norms

Alexandr Andoni, Huy L. Nguyen, Aleksandar Nikolov, Ilya P. Razenshteyn, Erik Waingarten · DOI

TL;DR

This paper introduces a groundbreaking algorithm for approximate nearest neighbor (ANN) search in high-dimensional spaces equipped with symmetric norms. It achieves near-optimal performance, offering a significant theoretical leap for a broad class of distance measures previously lacking efficient solutions. This work bridges a critical gap in ANN research, moving beyond the well-studied L1 and L2 norms.

What Problem Does This Paper Address?

The Approximate Nearest Neighbor (ANN) problem is fundamental in data science: given a dataset and a query point, find a data point that is "close enough" to the query. While efficient ANN algorithms exist for common distance metrics like L1 (Hamming) and L2 (Euclidean), many other important distance measures, particularly in high dimensions, remain challenging. This paper focuses on the ANN problem for symmetric norms. Symmetric norms are a rich class of distance measures that are invariant under permutations and sign changes of coordinates, encompassing many practical metrics beyond L1 and L2 (e.g., top-k norms, Orlicz norms). The challenge has been to develop ANN algorithms that are efficient in both query time and space for these general symmetric norms, a goal that has eluded researchers for years.

Methods

The authors present a multi-stage approach to tackle ANN for symmetric norms:

  1. Embedding into Top-k Norms: They first develop an efficient ANN data structure for top-k norms. This is achieved by a randomized embedding into the L-infinity norm, leveraging existing ANN algorithms for L-infinity.
  2. Embedding into Product Spaces: A key technical contribution is a structural result showing that any d-dimensional symmetric norm can be embedded with constant distortion into a low-dimensional iterated product of top-k norms. This is a significant improvement over naive embeddings that would require exponentially higher dimensions.
  3. Combining with Product Space ANN: Finally, they utilize existing ANN algorithms for product spaces. By combining the embedding into product spaces with the ANN data structure for top-k norms, they achieve the desired ANN solution for general symmetric norms.

The paper also explores lower bounds, demonstrating that their techniques cannot be extended to general norms, highlighting the special properties of symmetric norms.

Datasets

Not discussed in the paper.

Key Insights and Ideas

  • Symmetric Norms as a "Sweet Spot": The paper argues that symmetric norms are mathematically tractable and offer a good balance between generality and algorithmic tractability, making them ideal for a unified ANN theory.
  • Iterated Products of Top-k Norms as a Universal Host: The core insight is that a low-dimensional iterated product of top-k norms can serve as a universal "host space" for embedding any symmetric norm with constant distortion. This is a powerful structural result.
  • The Power of Randomized Embeddings: The use of randomized linear maps is crucial for achieving constant distortion embeddings, allowing them to bypass limitations of deterministic approaches.
  • Lower Bounds for General Norms: The paper provides theoretical evidence that the techniques used for symmetric norms do not generalize to arbitrary norms, underscoring the importance of the symmetric property.

Key Results

The main result is a data structure for approximate nearest neighbor search in d-dimensional symmetric norms that achieves:

  • Approximation: O((log log n)^(1))
  • Space: n^(1+o(1))
  • Query Time: n^(o(1))

This is a significant theoretical achievement, providing efficient ANN solutions for a wide range of norms beyond L1 and L2. The paper also establishes lower bounds showing that certain techniques cannot be extended to general norms, and that Ω(√log d) approximation might be necessary for some symmetric norms.

Limitations and Future Work

  • Approximation Factor: While the approximation factor is near-optimal for many practical purposes, the (log log n)^(1) term is a potential area for improvement. The authors note that this might be a bottleneck due to existing results for L-infinity ANN.
  • General Norms: The paper explicitly states that their techniques do not extend to general norms, and lower bounds suggest this is a fundamental limitation.
  • Future Work: The authors leave open the question of improving the approximation factor from (log log n)^(1) to O(log log d). They also suggest exploring stronger hardness results for ANN over general norms.

Summary updated

BibTeX
@inproceedings{andoni2016approximate,
  author = {Alexandr Andoni and Huy L. Nguyen and Aleksandar Nikolov and Ilya P. Razenshteyn and Erik Waingarten},
  title = {{Approximate near neighbors for general symmetric norms}},
  booktitle = {STOC},
  year = {2016},
  doi = {10.1145/3055399.3055418},
}
Figure