betaFeedback

WorksComputer Science

Rethinking ANNS on Commodity PIM: PIM-Native Vector Search with Cooperative Filtering

Abstract

Approximate nearest neighbor search (ANNS) is a key primitive in modern data-intensive systems, and its memory-bound vector-scanning stage makes processing-in-memory (PIM) a promising acceleration platform. Existing PIM-based ANNS systems largely transplant CPU-oriented distance evaluation and top-kk selection onto PIM, introducing arithmetic- and state-heavy operations that poorly match lightweight, isolated PIM cores. To address these mismatches, we present PIVOT, a PIM-native vector search system with cooperative filtering, which thoroughly rethinks how ANNS should be executed on commodity PIM. First, PIVOT recasts PIM-side distance evaluation around binary quantization to exploit PIM-native bitwise operations, enabling LUT-free evaluation with low arithmetic cost and a small local-memory footprint. Second, PIVOT redesigns PIM-side candidate selection around threshold-guided cooperative filtering, using a survivor-mass model to derive a conservative threshold for CPU-side cluster filtering and PIM-side lower-bound filtering, thereby reducing output traffic and eliminating per-core top-kk state. PIVOT organizes these stages into a cooperative workflow that keeps query-global coordination and reranking on the CPU while assigning memory-intensive, data-parallel filtering to PIM. To efficiently realize this workflow and sustain high utilization across devices, PIVOT further generates configuration-specialized PIM kernels and pipelines CPU-side preparation and reranking with PIM-side filtering across query batches. Evaluations on real UPMEM hardware show that PIVOT filters out 99.3-99.7% of probed vectors and achieves up to 18.8×18.8\times and 10.2×10.2\times the QPS of CPU and prior PIM baselines, respectively. PIVOT also achieves higher recall than existing PIM systems and remains effective on high-dimensional embeddings.

Paper details

vlnc:W_wpzh2syu
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
arXiv nonexclusive license
Usage

views · 8

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…