Skip to main navigation Skip to search Skip to main content

Vector Index Recall Optimization for Batch Updates

  • Ke WANG
  • , Si Jie HU
  • , Hui Qi HU
  • , Ming Hao ZHAO*
  • , Xing WEI
  • , Yao Feng TU
  • , Xuan ZHOU
  • *Corresponding author for this work
  • East China Normal University
  • Zhongxing Telecommunication Equipment Corporation

Research output: Contribution to journalArticlepeer-review

Abstract

Approximate nearest neighbor search (ANNS) is a foundational technology supporting applications such as vector databases, recommendation systems, and large language models (LLMs). Among these, the hierarchical navigable small world (HNSW) graph indexing technique constructs a hierarchical structure to quickly locate results within the target region, thus achieving high retrieval recall at low computational cost. However, existing HNSW algorithms are primarily designed for static data retrieval scenarios and fail to account for the impact of data updates on retrieval performance. Through research on real-world datasets, it is found that data in vector databases is typically updated in batches, and their similar characteristics weaken the effectiveness of heuristic pruning in HNSW algorithms and lead to sparsification issues in the connections among similar vectors, collectively causing a significant decline in retrieval recall. To address these issues, this study proposes an adaptive fine-grained pruning strategy based on local adjustments to the graph structure and constructs a comprehensive optimization scheme that integrates an identification and repair mechanism. First, in the identification phase, the regional neighbor distance is calculated to quantify local topological density, thereby precisely locating the dense regions requiring intervention. Second, in the repair phase, for hub nodes in dense regions, a dual pruning neighbor selection strategy is adopted: native and modified heuristic pruning rules are applied synergistically, and the results of both rules are merged to enhance neighbor connection diversity while maintaining retrieval accuracy, effectively alleviating over-pruning and connection sparsification issues. Experimental results on multiple public datasets show that the proposed method demonstrates good adaptability in scenarios with frequent data updates, achieving a 1%–4% improvement in recall while maintaining stable query latency and throughput.

Translated title of the contribution面向批量更新的向量索引召回率优化
Original languageEnglish
Pages (from-to)1084-1103
Number of pages20
JournalRuan Jian Xue Bao/Journal of Software
Volume37
Issue number3
DOIs
StatePublished - 2026

Keywords

  • approximate nearest neighbor search (ANNS)
  • graph-based vector index
  • vector retrieval
  • 向量检索
  • 图向量索引
  • 近似最近邻搜索

Fingerprint

Dive into the research topics of 'Vector Index Recall Optimization for Batch Updates'. Together they form a unique fingerprint.

Cite this