arXiv:2608.21163cs.DCAug 2026

Manuscript Offprint

arXiv:2608.21163

GrAND: GPU-based Dynamic Graph Indexes for Approximate Nearest Neighbour Search

Karthik Venkatasubba, Shivendra Deshpande, Shivram S, Jyothi Vedurada

Karthik Venkatasubba

IIT Hyderabad

India

cs21resch14001@iith.ac.in

Shivendra Deshpande

IIT Hyderabad

India

cs24mtech12017@iith.ac.in

Shivram S.

IIT Hyderabad

India

ai24btech11031@iith.ac.in

Jyothi Vedurada

IIT Hyderabad

India

jyothiv@cse.iith.ac.in

ABSTRACT

Modern Approximate Nearest Neighbour Search (ANNS) applications operate over continuously evolving vector collections and require graph indexes that sustain high-throughput searches while incorporating insertions and deletions with high recall. However, most GPU graph indexes are static or provide limited update support. Updates require neighbour discovery, reverse-edge creation, pruning, and deletion-induced graph repair; executing these operations concurrently introduces redundant distance computations and conflicting accesses to shared adjacency lists. Background-rebuild-based deletion further incurs substantial computation, additional memory consumption, and interference with foreground queries.

We present GrAND (GPU-based Dynamic Graph Indexes for Approximate Nearest Neighbour Search), a GPU-native collection of dynamic-update algorithms for two popular graph indexes, Vamana and CAGRA. GrAND consolidates graph repair across a batch, eliminating redundant pruning computations, and employs a lock-free find-and-replace strategy for parallel adjacency-list updates. For reliable in-place deletion, GrAND constructs an on-demand reverse graph on the GPU, accurately identifying incoming edges without permanently duplicating the index. We evaluate GrAND on seven real-world datasets across five streaming workloads, comparing it against SVFusion and FreshDiskANN-GPU (our GPU adaptation of FreshDiskANN). GrAND improves overall workload throughput by 2.2×−8.7×2.2\times-8.7\times and 6.5×−25.4×6.5\times-25.4\times, respectively, while maintaining high search throughput and recall over sustained updates.

PVLDB Reference Format:

Karthik Venkatasubba, Shivendra Deshpande, Shivram S., and Jyothi Vedurada. GrAND: GPU-based Dynamic Graph Indexes for Approximate Nearest Neighbour Search. PVLDB, 20(1): XXX-XXX, 2027. doi:XX.XX/XXX.XX

1 INTRODUCTION

Modern data-intensive applications represent objects such as text, images, videos, user preferences, and sensor observations as high-dimensional vector embeddings [14]. Given a query vector, k-nearest-neighbour search identifies the k most similar dataset vectors under a chosen distance metric. Since exhaustive search requires comparing the query against every dataset vector, it becomes prohibitively expensive for large, high-dimensional datasets, motivating

Streaming Vector Analytics

Figure

Figure 1: Modern AI applications generate streams of vectors that require dynamically maintained ANN graph indexes.

approximate nearest-neighbour search (ANNS), which trades a small loss in recall for substantially lower search cost [8, 29]. Consequently, ANNS indexes have become the dominant choice for vector databases and underpin applications such as semantic search, retrieval-augmented generation, recommendation systems, computer vision, and multimedia retrieval [2, 12, 28].

Most high-performance ANNS indexes [19, 26], however, are designed primarily for static datasets. This assumption is increasingly unsuitable for applications in which new embeddings arrive continuously, existing objects are updated, and obsolete data must be removed. As illustrated in Figure 1, a dynamic ANNS index must interleave high-throughput searches with concurrent insertions and deletions while preserving index freshness and search recall [22]. Consequently, there has been continued interest in exploring hardware acceleration, e.g. GPUs, for vector databases [23]. However, supporting dynamic indexes on GPUs introduces several key challenges, in particular for graph-based indexes, the dominant ANNS index type, which requires complex graph maintenance for every update.

Challenge 1. Efficient Graph Repair. In dynamic graph processing, each insertion or deletion affects multiple neighbourhoods and requires neighbour discovery, reverse-edge updates, pruning to enforce the degree bound, and repair of adjacency lists affected by deletions in order to preserve graph quality. These operations are computationally expensive because they involve numerous distance computations over candidate vectors. Moreover, pruning may be performed during both forward-edge construction and subsequently during reverse-edge updates, leading to redundant work when the candidate sets overlap. Performing these operations in

This work is licensed under the Creative Commons BY-NC-ND 4.0 International License. Visit https://creativecommons.org/licenses/by-nc-nd/4.0/ to view a copy of this license. For any use beyond those covered by this license, obtain permission by emailing info@vldb.org. Copyright is held by the owner/author(s). Publication rights licensed to the VLDB Endowment.

Proceedings of the VLDB Endowment, Vol. 20, No. 1 ISSN 2150-8097. doi:XX.XX/XXX.XX a massively parallel manner on GPUs also introduces race conditions and complex synchronisation requirements because multiple threads may concurrently access or modify the same adjacency lists.

Furthermore, most existing techniques [20, 22] handle deletions via tombstoning, deferring the actual deletion to a background index rebuild/consolidation operation, which removes the deleted node from the graph index and repairs the adjacency lists of the affected nodes eventually. This approach comes with undesirable side effects: (i) since rebuild is a computationally intensive task, during this background activity, the foreground query processing is starved, resulting in lower throughputs as evidenced by our experiments; (ii) index rebuild requires additional temporary memory comparable to the size of the current index, increasing the peak memory requirement and limiting scalability to larger datasets (e.g., 100M vectors) on memory-constrained GPUs.

Challenge 2. Efficient In-place Deletion. An alternative to existing dynamic ANNS systems that handle deletions via background index rebuilding [22] is to support in-place deletions. However, graph-based ANNS indexes maintain only the outgoing adjacency list of each node. Consequently, when a node is deleted, the index lacks sufficient information to instantly identify all nodes whose adjacency lists contain an edge to the deleted node (i.e., the deleted node's incoming edges). Therefore, existing dynamic ANNS systems support in-place deletions [30] using local-neighbourhood heuristics that approximate the set of incoming edges. However, these approaches incur substantial computational/memory overhead and fail to identify every incoming edge that subsequently affects recall over prolonged operations.

Existing GPU-based graph ANNS systems do not fully address the challenges discussed above. CAGRA [19] and BANG [26] target static GPU indexes, Jasper [17] supports only batch-incremental insertions but not streaming deletions, and SVFusion [20] relies on tombstone-based deletions without in-place graph maintenance and further requires CPU-GPU collaboration overheads. Thus, efficient support for continuous insertions and deletions within a GPU-resident graph index while preserving graph quality and high GPU throughput remains unaddressed.

To address these challenges and limitations, we present GrAND, an ANNS system for streaming vectors built on four key innovations. (i) Full GPU-native: GrAND is optimised for dynamic update processing to maximise throughput for datasets that fit in GPU memory, without relying on CPU-side graph processing. (ii) Efficient Index Repair: instead of separately pruning affected nodes during each insertion or deletion, GrAND accumulates the affected nodes and prunes them collectively at the end of the batch, eliminating redundant computations without compromising recall. To achieve maximum parallelism during pruning, which involves concurrent reads and writes of adjacency lists, we employ a simple find-and-replace strategy to update nodes in the adjacency list, thereby avoiding fine-grained locking. (iii) Accurate and Efficient In-place Deletions: unlike heuristic approaches that approximate incoming/reverse-edges, GrAND exploits GPU parallelism and memory bandwidth to construct a reverse graph for each batch of deletions, enabling accurate identification of incoming edges and in-place repair of affected adjacency lists without maintaining a permanent reverse

Algorithm 1: BeamSearch(G, s, q, ℓ\ell, k, Dist)

Input: Proximity graph G; starting point s; query vector q; beam width ℓ\ell; recall parameter k; distance function Dist

Output: The k closest vertices to q visited during the search

1 V←∅V \leftarrow \emptyset; C←{s}C \leftarrow \{s\}

2 while C∖V≠∅C \setminus V \neq \emptyset do

3 u←arg⁡min⁡v∈C∖VDist(v,q)u \leftarrow \arg\min_{v \in C \setminus V} \text{Dist}(v, q)

4 V←V∪{u}V \leftarrow V \cup \{u\}

5 C←C∪Nout(u)C \leftarrow C \cup N_{out}(u)

6 if ∣C∣>ℓ|C| > \ell then

7 C←C \leftarrow the ℓ\ell vertices in C closest to q

8 return the k vertices in C closest to q

graph. (iv) Extensible ANNS Algorithms: the dynamic-update techniques implemented by GrAND can be applied to both Vamana [9] and CAGRA [19], two popular graph-based indexes.

Together, these techniques deliver an overall throughput improvement of 2.2×−8.7×2.2 \times -8.7 \times over the state-of-the-art SVFusion baseline while maintaining high recall.

The main contributions of this paper are as follows:

  • We present GrAND, a collection of high-performance dynamic update algorithms that extend Vamana and CAGRA graph indexes with efficient support for streaming insertions and deletions.

  • We design a robust, lock-free graph-repair strategy that consolidates pruning across affected vertices within an update batch, eliminating redundant distance computations while enabling massively parallel GPU execution.

  • We propose a novel GPU-friendly on-demand reverse graph construction technique that accurately identifies incoming edges, enabling reliable and efficient in-place deletion.

  • We conduct an extensive evaluation using seven real-world datasets under five diverse workload patterns. Compared with SVFusion and FreshDiskANN-GPU (our GPU adaptation of FreshDiskANN [22]), GrAND achieves 2.5×−20.2×2.5 \times -20.2 \times and 5.0×−39.8×5.0 \times -39.8 \times higher insertion throughput, respectively, and 2.2×−8.7×2.2 \times -8.7 \times and 6.5×−25.4×6.5 \times -25.4 \times higher overall throughput, while maintaining comparable search throughput and recall sustained throughout update operations.

References (15)