Zarc: Exact Nearest Neighbors over a Billion Vectors in Seconds
Read if billion-scale exact neighbor search is limited by device memory or exhaustive scanning.
- Method
- Zarc screens with half-precision rows in GPU memory while full vectors stay in host memory. Tensor cores screen candidates, certified lower bounds order survivors, and only a few are verified exactly from host memory. The design extends to thresholds, projections, sharding, updates and filters.
- Result
- On BIGANN-1B, 10,000 exact queries completed in 1.1 seconds on four H100s versus about five minutes for exhaustive GPU search. On one H100, BIGANN-500M used 71 GB device memory versus 256 GB for exhaustive search.
- Limit
- Filtered queries support one label per vector and one per query. Insertions append within preallocated capacity and the projection stays fixed until periodic rebuilds.