HAKES: Scalable Vector Database for Embedding Search Service
Guoyu Hu, Shaofeng Cai, Tien Tuan Anh Dinh, Zhongle Xie, Cong Yue, Gang Chen, Beng Chin Ooi
Abstract
Modern deep learning models capture the semantics of complex data by transforming them into high-dimensional embedding vectors. Emerging applications, such as retrieval-augmented generation, use approximate nearest neighbor (ANN) search in the embedding vector space to find similar data. Existing vector databases provide indexes for efficient ANN searches, with graph-based indexes being the most popular due to their low latency and high recall in real-world high-dimensional datasets. However, these indexes are costly to build, suffer from significant contention under concurrent read-write workloads, and scale poorly to multiple servers. Our goal is to build a vector database that achieves high throughput and high recall under concurrent read-write workloads. To this end, we first propose an ANN index with an explicit two-stage design combining a fast filter stage with highly compressed vectors and a refine stage to ensure recall, and we devise a novel lightweight machine learning technique to fine-tune the index parameters. We introduce an early termination check to dynamically adapt the search process for each query. Next, we add support for writes while maintaining search performance by decoupling the management of the learned parameters. Finally, we design HAKES, a distributed vector database that serves the new index in a disaggregated architecture. We evaluate our index and system against 12 state-of-the-art indexes and three distributed vector databases, using high-dimensional embedding datasets generated by deep learning models. The experimental results show that our index outperforms index baselines in the high recall region and under concurrent read-write workloads. Furthermore, HAKES is scalable and achieves up to 16× higher throughputs than the baselines. The HAKES project is open-sourced 1 .
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext dd4cd178-cb6d-45d9-811b-c81967bbca72Cited by top-tier papers3
- DistVS: Large-scale Vector Search with Compute-Memory DisaggregationPeiqi Yin, Xiao Yan, Shiyuan Deng, Hui Li et al.NSDI 2026 · 3 citations
- SVFusion: A CPU-GPU Co-Processing Architecture for Large-Scale Real-Time Vector SearchYuchen Peng, Dingyu Yang, Zhongle Xie, Ji Sun et al.VLDB 2026 · 1 citation
- FAVOR: Efficient Filter-Agnostic Vector ANNS Based on Selectivity-Aware Exclusion DistancesJunjie Song, Yu Liu, Guoyu Hu, Zhongle Xie et al.SIGMOD 2026 · 1 citation
Builds on28
- Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
- Retrieval-Augmented Generation for Knowledge-Intensive NLP TasksPatrick Lewis, Ethan Perez, Aleksandra Piktus, Fabio Petroni et al.NeurIPS 2020 · 19,162 citations
- Improving Language Models by Retrieving from Trillions of TokensSebastian Borgeaud, Arthur Mensch, Jordan Hoffmann, Trevor Cai et al.ICML 2022 · 1,629 citations
- Accelerating Large-Scale Inference with Anisotropic Vector QuantizationRuiqi Guo, Philip Sun, Erik Lindgren, Quan Geng et al.ICML 2020 · 539 citations
- Pengi: An Audio Language Model for Audio TasksSoham Deshmukh, Benjamin Elizalde, Rita Singh, Huaming WangNeurIPS 2023 · 352 citations
Related papers
- Quake: Adaptive Indexing for Vector SearchJason Mohoney, Devesh Sarda, Mengze Tang, Shihabur Rahman Chowdhury et al.OSDI 2025 · 12 citations
- Cracking Vector Search IndexesVasilis Mageirakos, Bowen Wu, Gustavo AlonsoVLDB 2025 · 6 citations
- Turbocharging Vector Databases using Modern SSDsJoobo Shim, Jaewon Oh, Hongchan Roh, Jaeyoung Do et al.VLDB 2025 · 13 citations
- VecFlow: A High-Performance Vector Data Management System for Filtered-Search on GPUsJingyi Xi, Chenghao Mo, Ben Karsin, Artem M. Chirkin et al.SIGMOD 2026 · 1 citation
- Vista: Vector Indexing and Search for Large-Scale Imbalanced DatasetsYujian Fu, Cheng Chen, Yao Chen, Weng-Fai Wong et al.ICDE 2025 · 3 citations
