TL;DR
GRAB-ANNS is a high-throughput, GPU-native graph index designed to accelerate hybrid vector search (combining vector similarity with structured metadata filtering). By rethinking graph indexing from a hardware-first perspective using bucket-based partitioning and a hybrid edge topology, it achieves up to 240× higher query throughput than CPU baselines and up to 10× over naive GPU ports, all while seamlessly supporting real-time dynamic updates.
What Problem Does This Paper Address?
Modern AI applications like Retrieval-Augmented Generation (RAG) and real-time recommendation systems rely heavily on hybrid search—the ability to find vectors that are both semantically similar to a query and satisfy hard metadata constraints (e.g., "find similar images uploaded within a specific price range").
While CPU-based graph indices handle this well algorithmically, they are increasingly bottlenecked by limited memory bandwidth. Intuitively, one might turn to GPUs to solve this. However, naively porting CPU-centric hybrid search algorithms to GPUs results in a massive performance drop (up to 43× lower throughput than native CPU execution). This stems from a fundamental architectural mismatch: traditional hybrid search relies on branch-heavy pointer chasing, which triggers severe warp divergence and uncoalesced memory accesses on GPUs, leaving the massive parallel compute units heavily underutilized.
Methods
The authors introduce GRAB-ANNS, a GPU-native graph index built from the ground up to align with Single-Instruction Multiple-Thread (SIMT) execution models:
- Predicate-based Bucket Partitioning: Instead of evaluating metadata conditions node-by-node during graph traversal, GRAB-ANNS partitions vectors into disjoint buckets based on their scalar attributes. This turns complex conditional branching into a lightweight, $O(1)$ bucket selection process. Vectors within a bucket are stored contiguously, enabling highly efficient coalesced memory accesses.
- Hybrid Edge Topology: Strict partitioning risks fragmenting the navigation graph into isolated "islands." To prevent this connectivity crisis, GRAB-ANNS introduces a dual-layer edge structure: dense local edges within each bucket for fine-grained local convergence, and sparse remote edges that act as long-range bridges across different buckets to maintain global navigability.
- Fixed-Degree Constraint: To eliminate workload imbalances and irregular memory addressing, every node is allocated an identical total edge budget ($K_{max}$). This flattens the graph into a dense 2D matrix, ensuring perfectly balanced thread execution.
- Dynamic Update Pipeline: To support real-time data ingestion, the authors design an append-only memory pipeline that avoids expensive data shifting. They pair this with a Freshness-Biased Pruning strategy to ensure newly inserted nodes are successfully integrated into the graph rather than being geometrically shielded by older nodes.
Datasets
The approach was evaluated on four standard high-dimensional vector benchmarks, augmented with uniformly distributed synthetic scalar predicates simulating timestamps or prices:
- DEEP-96: 1M vectors, 96 dimensions (Deep visual features from GoogLeNet).
- SIFT-128: 1M vectors, 128 dimensions (Classic local image descriptors).
- GIST-960: 1M vectors, 960 dimensions (Global scene descriptors representing high-dimensional workloads).
- WIT-2048: 1M vectors, 2048 dimensions (Ultra-high-dimensional image embeddings from Wikipedia Image Text).
Key Insights and Ideas
- The Edge Redundancy Hypothesis: The authors discovered that within a moderate-sized bucket, increasing the local node degree yields diminishing returns for search accuracy. This "aha moment" allowed them to safely repurpose a portion of the fixed edge budget for remote, cross-bucket links without hurting local search precision.
- Physical vs. Logical Decoupling: Instead of physically sorting arrays during online data ingestion (which triggers a catastrophic "cascading index shift" that invalidates graph pointers), GRAB-ANNS keeps a monolithic physical layout and maps data logically via lightweight metadata tables.
- Overcoming "Newcomer Isolation": In fixed-degree graphs, older, well-connected nodes often form a geometric barrier that rejects new data during heuristic pruning. Introducing an Effective Distance with a freshness bias coefficient ($\alpha$) artificially prioritizes new nodes, ensuring they are rapidly integrated into high-speed navigation paths.
Key Results
- Massive Speedups over CPUs: GRAB-ANNS consistently dominates state-of-the-art CPU hybrid search systems (like SeRF, ACORN, and Milvus), delivering up to 240.1× higher query throughput (QPS) at a high recall target (Recall@95%).
- Outperforming Naive GPU Implementations: Compared to an optimized GPU-native baseline utilizing standard pre-filtering (Filtered-CAGRA), GRAB-ANNS achieves up to a 9.91× speedup, demonstrating the power of its hybrid topology.
- Scalability & Stability: As the dataset scales from 1M to 10M vectors, GRAB-ANNS maintains stable throughput and exhibits the slowest build-time growth. Furthermore, during continuous updates, query performance experiences only a gentle, theoretically expected sub-linear decline, proving the index's structural stability.
Limitations and Future Work
- Single Attribute Constraint: The current bucketing mechanism is primarily optimized for a single scalar predicate (e.g., filtering by a single dimension like time or price).
- Future Directions: The authors note that future work will focus on extending this hybrid topology to support multi-attribute composite filtering (e.g., price and location) as well as handling streaming deletion scenarios.
Summary updated