UpANNS: Enhancing Billion-Scale ANNS Efficiency with Real-World PIM Architecture
Sitian Chen, Amelie Chi Zhou, Yucheng Shi, Yusen Li, Xin Yao
摘要
Approximate Nearest Neighbor Search (ANNS) is a critical component of modern AI systems, such as recommendation engines and retrieval-augmented large language models (RAG-LLMs). However, scaling ANNS to billion-entry datasets exposes critical inefficiencies: CPU-based solutions are bottlenecked by memory bandwidth limitations, while GPU implementations underutilize hardware resources, leading to suboptimal performance and energy consumption. To address these challenges, we introduce UpANNS, a novel framework leveraging Processing-in-Memory (PIM) architecture to accelerate billion-scale ANNS. UpANNS integrates four key innovations, including 1) architecture-aware data placement to minimize latency through workload balancing, 2) dynamic resource management for optimal PIM utilization, 3) co-occurrence optimized encoding to reduce redundant computations, and 4) an early-pruning strategy for efficient top-k selection. Evaluation on commercial UPMEM hardware demonstrates that UpANNS achieves 4.3x higher QPS than CPU-based Faiss, while matching GPU performance with 2.3x greater energy efficiency. Its near-linear scalability ensures practicality for growing datasets, making it ideal for applications like real-time LLM serving and large-scale retrieval systems.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 3 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- DRIM-ANN: An Approximate Nearest Neighbor Search Engine based on Commercial DRAM-PIMs 引用了 SONG: Approximate Nearest Neighbor Search on GPU
- Harmonizing Efficiency and Accuracy in Filtered Vector Search 引用了 DRIM-ANN: An Approximate Nearest Neighbor Search Engine based on Commercial DRAM-PIMs
- Harmonizing Efficiency and Accuracy in Filtered Vector Search 引用了 SONG: Approximate Nearest Neighbor Search on GPU
引用它的顶会 Paper3
- DRIM-ANN: An Approximate Nearest Neighbor Search Engine based on Commercial DRAM-PIMsMingkai Chen, Tianhua Han, Cheng Liu, Shengwen Liang 等SC 2025 · 5 次引用
- PIM-zd-tree: A Fast Space-Partitioning Index Leveraging Processing-in-MemoryYiwei Zhao, Hongbo Kang, Ziyang Men, Yan Gu 等PPoPP 2026 · 1 次引用
- Harmonizing Efficiency and Accuracy in Filtered Vector SearchZixiang Zhou, Xuhao ChenVLDB 2026
它引用的 Paper24
- Generalization through Memorization: Nearest Neighbor Language ModelsUrvashi Khandelwal, Omer Levy, Dan Jurafsky, Luke Zettlemoyer 等ICLR 2020 · 1,038 次引用
- Actions Speak Louder than Words: Trillion-Parameter Sequential Transducers for Generative RecommendationsJiaqi Zhai, Lucy Liao, Xing Liu, Yueming Wang 等ICML 2024 · 200 次引用
- SONG: Approximate Nearest Neighbor Search on GPUWeijie Zhao, Shulong Tan, Ping LiICDE 2020 · 103 次引用
- In-Context Pretraining: Language Modeling Beyond Document BoundariesWeijia Shi, Sewon Min, Maria Lomeli, Chunting Zhou 等ICLR 2024 · 87 次引用
- FAFNIR: Accelerating Sparse Gathering by Using Efficient Near-Memory Intelligent ReductionBahar Asgari, Ramyad Hadidi, Jiashen Cao, Da Eun Shim 等HPCA 2021 · 87 次引用
相关 Paper
- SeIM: In-Memory Acceleration for Approximate Nearest Neighbor SearchChaoqiang Liu, Dan Chen, Yu Huang, Wenjing Xiao 等DAC 2025 · 2 次引用
- DF-GAS: a Distributed FPGA-as-a-Service Architecture towards Billion-Scale Graph-based Approximate Nearest Neighbor SearchShulin Zeng, Zhenhua Zhu, Jun Liu, Haoyu Zhang 等MICRO 2023 · 24 次引用
- ANNA: Specialized Architecture for Approximate Nearest Neighbor SearchYejin Lee, Hyunji Choi, Sunhong Min, Hyunseung Lee 等HPCA 2022 · 37 次引用
- Turbocharge ANNS on Real Processing-in-Memory by Enabling Fine-Grained Per-PIM-Core SchedulingPuqing Wu, Minhui Xie, Enrui Zhao, Dafang Zhang 等USENIX ATC 2025 · 8 次引用
- WebANNS: Fast and Efficient Approximate Nearest Neighbor Search in Web BrowsersMugeng Liu, Siqi Zhong, Qi Yang, Yudong Han 等SIGIR 2025 · 4 次引用
