# FreshDiskANN: A Fast and Accurate Graph-Based ANN Index for Streaming Similarity Search

Source: [FreshDiskANN: A Fast and Accurate Graph-Based ANN Index for Streaming Similarity Search](<https://www.sota2.com/research/paper/68fa6a051e209131cea257bb>)

Collection index: [llms.txt](<https://www.sota2.com/research/llms.txt>)

Data updated: 2025-10-27T06:07:38.365Z

Authors: Aditi Singh, Suhas Jayaram Subramanya, Ravishankar Krishnaswamy, Harsha Vardhan Simhadri

Published: 2021-05-20T09:17:13.000Z

## Abstract

Approximate nearest neighbor search (ANNS) is a fundamental building block in information retrieval with graph-based indices being the current state-of-the-art and widely used in the industry. Recent advances in graph-based indices have made it possible to index and search billion-point datasets with high recall and millisecond-level latency on a single commodity machine with an SSD.   However, existing graph algorithms for ANNS support only static indices that cannot reflect real-time changes to the corpus required by many key real-world scenarios (e.g. index of sentences in documents, email, or a news index). To overcome this drawback, the current industry practice for manifesting updates into such indices is to periodically re-build these indices, which can be prohibitively expensive.   In this paper, we present the first graph-based ANNS index that reflects corpus updates into the index in real-time without compromising on search performance. Using update rules for this index, we design FreshDiskANN, a system that can index over a billion points on a workstation with an SSD and limited memory, and support thousands of concurrent real-time inserts, deletes and searches per second each, while retaining $\>95\\%$ 5-recall@5. This represents a 5-10x reduction in the cost of maintaining freshness in indices when compared to existing methods.

## Recorded benchmark results

A research result applies to its stated dataset, split, metric and evaluation configuration. Compare like-for-like settings, preserve the metric's unit and direction, and distinguish paper-reported results from independent reproduction. The best result recorded here is not a claim of exhaustive, current global coverage.

- [Approximate Nearest Neighbor Search on SIFT-1M 100% turnover streaming](<https://www.sota2.com/research/sota/approximate-nearest-neighbor-search-on-sift-1m-100-percent-turnover-streaming.md>): Approximate Nearest Neighbor Search; SIFT-1M 100% turnover streaming; Recall@5: 95.

- [Streaming Vector Search on SIFT 1M (streaming)](<https://www.sota2.com/research/sota/streaming-vector-search-on-sift-1m-streaming.md>): Streaming Vector Search; SIFT 1M (streaming); Recall: 95.

## Original sources and implementation

[Original paper](<https://arxiv.org/abs/2105.09613>)

[PDF](<https://arxiv.org/pdf/2105.09613.pdf>)
