PRO-HNSW: Proactive Repair and Optimization for High-Performance Dynamic HNSW Indexes
Huijun Jin, Jieun Lee, Shengmin Piao, Sangmin Seo, Sanghyun Park
Abstract
Graph-based Approximate Nearest Neighbor Search (ANNS), particularly using Hierarchical Navigable Small World (HNSW) graphs, offers state-of-the-art query performance for large-scale, high-dimensional data. However, the efficiency and accuracy of HNSW indexes degrade seriously under dynamic conditions involving frequent data deletions and reinsertions, often necessitating costly full index rebuilds. This paper introduces PRO-HNSW (Proactive Repair and Optimized HNSW), a novel and lightweight maintenance framework designed to efficiently preserve and even enhance the quality of the HNSW graph in dynamic environments. PRO-HNSW systematically addresses key structural degradation factors by incorporating three targeted modules: (1) a RemoveObsoleteEdges module to prune edges pointing to deleted nodes while preserving minimal connectivity, (2) a RepairDisconnectedNodes module that re-establishes connectivity for isolated nodes via BFS-based neighbor discovery, and (3) a ResolveUnidirectionalEdges module to ensure more balanced and navigable graph structures. Extensive experiments on eight diverse benchmark datasets demonstrate that PRO-HNSW significantly outperforms not only the standard HNSW but also the state-of-the-art MN-RU method. Notably, on the high-dimensional GIST1M dataset under high data churn, PRO-HNSW achieves a peak recall of 84.23%, a significant 2.56 percentage points higher than even the ideal HNSW-Rebuild baseline, showcasing its superior ability to produce a more optimal graph structure. Our findings also reveal that applying specific PRO-HNSW maintenance modules to a freshly built static HNSW index can improve its initial recall, highlighting its utility as a general graph optimization technique. PRO-HNSW thus provides a practical and robust solution for maintaining highperformance ANNS in evolving real-world applications.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 1804c029-6abe-423a-88f7-0d684d69e4abBuilds on5
- Retrieval-Augmented Generation for Knowledge-Intensive NLP TasksPatrick Lewis, Ethan Perez, Aleksandra Piktus, Fabio Petroni et al.NeurIPS 2020 · 19,162 citations
- A Comprehensive Survey and Experimental Comparison of Graph-Based Approximate Nearest Neighbor SearchMengzhao Wang, Xiaoliang Xu, Qiang Yue, Yuxiang WangVLDB 2021 · 354 citations
- SPANN: Highly-efficient Billion-scale Approximate Nearest Neighborhood SearchQi Chen, Bing Zhao, Haidong Wang, Mingqin Li et al.NeurIPS 2021 · 219 citations
- Adaptive Indexing of Objects with Spatial ExtentFatemeh Zardbani, Nikos Mamoulis, Stratos Idreos, Panagiotis KarrasVLDB 2023 · 15 citations
- A Topology-Aware Localized Update Strategy for Graph-Based ANN IndexSong Yu, Shengyuan Lin, Shufeng Gong, Yongqing Xie et al.VLDB 2026 · 10 citations
Related papers
- Graph-based Nearest Neighbors with Dynamic Updates via Random WalksNina Mishra, Yonatan Naamad, Tal Wagner, Lichen ZhangICLR 2026 · 1 citation
- Graph Reordering for Cache-Efficient Near Neighbor SearchBenjamin Coleman, Santiago Segarra, Alexander J. Smola, Anshumali ShrivastavaNeurIPS 2022 · 24 citations
- FGIM: a Fast Graph-based Indexes Merging Framework for Approximate Nearest Neighbor SearchZekai Wu, Jiabao Jin, Peng Cheng, Xiaoyao Zhong et al.SIGMOD 2026
- Towards Efficient Index Construction and Approximate Nearest Neighbor Search in High-Dimensional SpacesXi Zhao, Yao Tian, Kai Huang, Bolong Zheng et al.VLDB 2023 · 88 citations
- Wolverine: Highly Efficient Monotonic Search Path Repair for Graph-based ANN Index UpdatesDawei Liu, Bolong Zheng, Ziyang Yue, Fuhao Ruan et al.VLDB 2025 · 6 citations
