Ascend-RaBitQ: Heterogeneous NPU-CPU Acceleration of Billion-Scale Similarity Search with 1-bit Quantization

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: He, Fujun, Ye, Chuyue, Cai, Huaxiang, Lv, Zetao, Cui, Baolong, Yan, Wenru, Zhan, Chao, Zhang, Zigang, Yi, Hao, Xiang, Jie, Li, Xiabing, Gai, Yuhang, Zhang, Ziyang, Zheng, Pengfei, Du, Yunfei
Natura: Preprint
Pubblicazione: 2026
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866916016159719424
author He, Fujun
Ye, Chuyue
Cai, Huaxiang
Lv, Zetao
Cui, Baolong
Yan, Wenru
Zhan, Chao
Zhang, Zigang
Yi, Hao
Xiang, Jie
Li, Xiabing
Gai, Yuhang
Zhang, Ziyang
Zheng, Pengfei
Du, Yunfei
author_facet He, Fujun
Ye, Chuyue
Cai, Huaxiang
Lv, Zetao
Cui, Baolong
Yan, Wenru
Zhan, Chao
Zhang, Zigang
Yi, Hao
Xiang, Jie
Li, Xiabing
Gai, Yuhang
Zhang, Ziyang
Zheng, Pengfei
Du, Yunfei
contents Vector similarity search is a critical component of modern AI systems, but traditional CPU-based implementations face fundamental scalability bottlenecks for billion-scale corpora due to prohibitive computational overhead and memory bandwidth limitations. While Neural Processing Units (NPUs) offer orders-of-magnitude higher compute density, existing CPU/GPU-optimized 1-bit RaBitQ quantization implementations cannot be directly ported to NPU architectures due to fundamental hardware mismatches, and homogeneous design paradigms struggle to simultaneously balance accuracy, memory footprint, and performance. This paper presents Ascend-RaBitQ, the first heterogeneous NPU-CPU optimized IVF-RaBitQ system for billion-scale vector search, built on the core insight that decoupling coarse ranking (NPU) from fine ranking (CPU) allows each stage to leverage its optimal hardware, breaking the long-standing accuracy-memory-performance trade-off. We propose a three-stage heterogeneous pipeline comprising AI Core-accelerated coarse ranking on 1-bit quantized vectors, on-device AI CPU Top-k processing, and host CPU fine re-ranking on full-precision vectors. We introduce four NPU architecture-native optimizations: fused AIC-AIV operators for parallel distance computation, computation flow restructuring to exploit rotation orthogonality, fine-grained index block-level load balancing that breaks query boundaries, and intra-NPU pipeline parallelism between AI Core and AI CPU to mask Top-k latency. Evaluation on standard datasets shows that Ascend-RaBitQ achieves 3.0* to 62.8* faster index construction than the CPU baseline, up to 4.6* throughput improvement over the fastest CPU IVF-RaBitQ implementation, and over 100* over the mathematically equivalent CPU baseline, while demonstrating encouraging scalability on distributed multi-NPU systems.
format Preprint
id arxiv_https___arxiv_org_abs_2605_16007
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Ascend-RaBitQ: Heterogeneous NPU-CPU Acceleration of Billion-Scale Similarity Search with 1-bit Quantization
He, Fujun
Ye, Chuyue
Cai, Huaxiang
Lv, Zetao
Cui, Baolong
Yan, Wenru
Zhan, Chao
Zhang, Zigang
Yi, Hao
Xiang, Jie
Li, Xiabing
Gai, Yuhang
Zhang, Ziyang
Zheng, Pengfei
Du, Yunfei
Information Retrieval
Vector similarity search is a critical component of modern AI systems, but traditional CPU-based implementations face fundamental scalability bottlenecks for billion-scale corpora due to prohibitive computational overhead and memory bandwidth limitations. While Neural Processing Units (NPUs) offer orders-of-magnitude higher compute density, existing CPU/GPU-optimized 1-bit RaBitQ quantization implementations cannot be directly ported to NPU architectures due to fundamental hardware mismatches, and homogeneous design paradigms struggle to simultaneously balance accuracy, memory footprint, and performance. This paper presents Ascend-RaBitQ, the first heterogeneous NPU-CPU optimized IVF-RaBitQ system for billion-scale vector search, built on the core insight that decoupling coarse ranking (NPU) from fine ranking (CPU) allows each stage to leverage its optimal hardware, breaking the long-standing accuracy-memory-performance trade-off. We propose a three-stage heterogeneous pipeline comprising AI Core-accelerated coarse ranking on 1-bit quantized vectors, on-device AI CPU Top-k processing, and host CPU fine re-ranking on full-precision vectors. We introduce four NPU architecture-native optimizations: fused AIC-AIV operators for parallel distance computation, computation flow restructuring to exploit rotation orthogonality, fine-grained index block-level load balancing that breaks query boundaries, and intra-NPU pipeline parallelism between AI Core and AI CPU to mask Top-k latency. Evaluation on standard datasets shows that Ascend-RaBitQ achieves 3.0* to 62.8* faster index construction than the CPU baseline, up to 4.6* throughput improvement over the fastest CPU IVF-RaBitQ implementation, and over 100* over the mathematically equivalent CPU baseline, while demonstrating encouraging scalability on distributed multi-NPU systems.
title Ascend-RaBitQ: Heterogeneous NPU-CPU Acceleration of Billion-Scale Similarity Search with 1-bit Quantization
topic Information Retrieval
url https://arxiv.org/abs/2605.16007