English

LANNS: A Web-Scale Approximate Nearest Neighbor Lookup System

Information Retrieval 2020-10-20 v1

Abstract

Nearest neighbor search (NNS) has a wide range of applications in information retrieval, computer vision, machine learning, databases, and other areas. Existing state-of-the-art algorithm for nearest neighbor search, Hierarchical Navigable Small World Networks(HNSW), is unable to scale to large datasets of 100M records in high dimensions. In this paper, we propose LANNS, an end-to-end platform for Approximate Nearest Neighbor Search, which scales for web-scale datasets. Library for Large Scale Approximate Nearest Neighbor Search (LANNS) is deployed in multiple production systems for identifying topK (100topK200100 \leq topK \leq 200) approximate nearest neighbors with a latency of a few milliseconds per query, high throughput of 2.5k Queries Per Second (QPS) on a single node, on large (\sim180M data points) high dimensional (50-2048 dimensional) datasets.

Keywords

Cite

@article{arxiv.2010.09426,
  title  = {LANNS: A Web-Scale Approximate Nearest Neighbor Lookup System},
  author = {Ishita Doshi and Dhritiman Das and Ashish Bhutani and Rajeev Kumar and Rushi Bhatt and Niranjan Balasubramanian},
  journal= {arXiv preprint arXiv:2010.09426},
  year   = {2020}
}

Comments

10 pages, 9 figures, 9 tables

R2 v1 2026-06-23T19:26:57.653Z