REWEAVE: Online Learning for Workload-Adaptive HNSW Indexes
Minghao Li, Nick Koudas, Raghav Mittal
Key points
From the paper's conclusion- We present REWEAVE (Reward-Guided Rewiring of Vector Graphs), an online index-maintenance method that learns edge utility from query feedback and periodically rewires the bottom layer within the original per-node degree cap.
Abstract
Vector databases rely on Hierarchical Navigable Small World (HNSW) indexes for similarity search, but a graph built from data alone can be poorly matched to a skewed or changing query workload. We present REWEAVE (Reward-Guided Rewiring of Vector Graphs), an online index-maintenance method that learns edge utility from query feedback and periodically rewires the bottom layer within the original per-node degree cap. The method supports sparse exact-neighbor feedback combined with self-labels, and standard HNSW serving without learning overhead once adaptation is disabled. Under explicit assumptions we prove value-estimation and graph-stabilization guarantees. Under stationary skew, REWEAVE improves held-out recall by up to 23.3 percentage points over HNSW. In comparisons with query-aware baselines on up to 100M vectors, it achieves up to 3.3x NGFix's query throughput at recall@100 of 0.80. On Amazon-ESCI with query drift, it increases stream recall@100 from 0.745 to 0.979 with 34% fewer search distance computations than frozen HNSW. These results illustrate the potential to improve retrieval quality and reduce search effort within an existing graph-degree budget, while incurring additional work during adaptation.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- UniGraph: A Unified Graph-based Index for Dynamic Hybrid Dense-Sparse Vector RetrievalarXiv · 2026
- HorizANN: Elastically Scaling Vector Search with Ghost EdgesarXiv · 2026
- d-HNSW: A High-performance Vector Search Engine on Disaggregated MemoryProceedings of the ACM on Measurement and Analysis of Computing Systems · 2026
- Dynamic Graph Indexing for Label-Filtered Approximate Nearest Neighbor SearcharXiv · 2026
- Lossless Compression of Proximity Graph Indexes for Efficient Approximate Nearest Neighbors SearcharXiv · 2026
- Per-Query Recall Guarantees for Approximate Nearest Neighbor Search in Dynamic Vector DatabasesarXiv · 2026