Cosmos: A CXL-Based Full In-Memory System for Approximate Nearest Neighbor Search
On the map: Retrieval-augmented generation → Vector search and ANN indexes
Abstract (arXiv)
Retrieval-Augmented Generation (RAG) is crucial for improving the quality of large language models by injecting proper contexts extracted from external sources. RAG requires high-throughput, low-latency Approximate Nearest Neighbor Search (ANNS) over billion-scale vector databases. Conventional DRAM/SSD solutions face capacity/latency limits, whereas specialized hardware or RDMA clusters lack flexibility or incur network overhead. We present Cosmos, integrating general-purpose cores within CXL memory devices for full ANNS offload and introducing rank-level parallel distance computation to maximize memory bandwidth. We also propose an adjacency-aware data placement that balances search loads across CXL devices based on inter-cluster proximity. Evaluations on SIFT1B and DEEP1B traces show that Cosmos achieves up to 6.72x higher throughput than the baseline CXL system and 2.35x over a state-of-the-art CXL-based solution, demonstrating scalability for RAG pipelines.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Placed in Vector search and ANN indexes, one of 15 directions in Retrieval-augmented generation. Builds on 6 of its 14 references that are in the map. First posted on arXiv 22 May 2025.
Builds on
6 of 14 references.
References · 6
- 2025Agentic Retrieval-Augmented Generation: A Survey on Agentic RAGcited by 249
- 2023Chameleon: a Heterogeneous and Disaggregated Accelerator System for Retrieval-Augmented Language Modelscited by 23
- 2025PIM Is All You Need: A CXL-Enabled GPU-Free System for Large Language Model Inferencecited by 22
- 2024Towards Understanding Systems Trade-offs in Retrieval-Augmented Generation Model Inferencecited by 15
- 2023NDSEARCH: Accelerating Graph-Traversal-Based Approximate Nearest Neighbor Search through Near Data Processingcited by 5
- 2024Characterizing the Dilemma of Performance and Index Size in Billion-Scale Vector Search and Breaking It with Second-Tier Memorycited by 4
Built on by
Citing papers per year: 2025: 1; 2026: 1.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2024Accelerating Retrieval-Augmented Generation
- 2026HAVEN: High-Bandwidth Flash Augmented Vector Engine for Large-Scale Approximate Nearest-Neighbor Search Acceleration
- 2026NasZip: Software and Hardware Co-Design to Accelerate Approximate Nearest Neighbor Search with DIMM-Based Near-Data Processing
- 2025REIS: A High-Performance and Energy-Efficient Retrieval System with In-Storage Processing
- 2025Efficient Distributed Retrieval-Augmented Generation for Enhancing Language Model Performance
- 2026D-NOVA: In-Storage Retrieval Accelerator via Dual-Bound 3D NAND-Optimized Similarity Search with Vector Adaptation
- 2025RAGO: Systematic Performance Optimization for Retrieval-Augmented Generation Serving
- 2025Leveraging Approximate Caching for Faster Retrieval-Augmented Generation