The Impacts of Data, Ordering, and Intrinsic Dimensionality on Recall in Hierarchical Navigable Small Worlds
Not on the map. Why?
Abstract (arXiv)
Vector search systems, pivotal in AI applications, often rely on the Hierarchical Navigable Small Worlds (HNSW) algorithm. However, the behaviour of HNSW under real-world scenarios using vectors generated with deep learning models remains under-explored. Existing Approximate Nearest Neighbours (ANN) benchmarks and research typically has an over-reliance on simplistic datasets like MNIST or SIFT1M and fail to reflect the complexity of current use-cases. Our investigation focuses on HNSW's efficacy across a spectrum of datasets, including synthetic vectors tailored to mimic specific intrinsic dimensionalities, widely-used retrieval benchmarks with popular embedding models, and proprietary e-commerce image data with CLIP models. We survey the most popular HNSW vector databases and collate their default parameters to provide a realistic fixed parameterisation for the duration of the paper. We discover that the recall of approximate HNSW search, in comparison to exact K Nearest Neighbours (KNN) search, is linked to the vector space's intrinsic dimensionality and significantly influenced by the data insertion sequence. Our methodology highlights how insertion order, informed by measurable properties such as the pointwise Local Intrinsic Dimensionality (LID) or known categories, can shift recall by up to 12 percentage points. We also observe that running popular benchmark datasets with HNSW instead of KNN can shift rankings by up to three positions for some models. This work underscores the need for more nuanced benchmarks and design considerations in developing robust vector search systems using approximate vector search algorithms. This study presents a number of scenarios with varying real world applicability which aim to better increase understanding and future development of ANN algorithms and embedding
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). First posted on arXiv 28 May 2024.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2025: 3; 2026: 1.
4 papers.
- 2025From Topology to Retrieval: Decoding Embedding Spaces with Unified Signaturescited by 5
- 2025HONEYBEE: Efficient Role-based Access Control for Vector Databases via Dynamic Partitioning[Technical Report]cited by 3
- 2025Dual-Branch HNSW Approach with Skip Bridges and LID-Driven Optimizationcited by 0
- 2026NeuRoute: Logit-Guided Neural Routing for Billion-Scale Vector Search with Sub-Hour Index Constructioncited by 0
- 2026NeuRoute: Logit-Guided Neural Routing for Billion-Scale Vector Search with Sub-Hour Index Construction15 Aug 2026
- 2025From Topology to Retrieval: Decoding Embedding Spaces with Unified Signatures27 Nov 2025
- 2025HONEYBEE: Efficient Role-based Access Control for Vector Databases via Dynamic Partitioning[Technical Report]2 May 2025
- 2025Dual-Branch HNSW Approach with Skip Bridges and LID-Driven Optimization23 Jan 2025