cs.ARNov 18, 2026

CAIMS: Scalable Cross-Array In-Memory Search

Authors: Yi-Chun Liao, Liu Liu, Ruiyang Qin, Yiran Chen, X. Sharon Hu

Organizations: Duke University, Durham, NC, USA · University of Notre Dame, Notre Dame, IN, USA · Villanova University, Villanova, PA, USA

Abstract

Search, especially top-k similarity search, plays a vital role in many applications, but its performance can be severely limited by memory access overhead. In-memory search (IMS), an alternative to CPU/GPU-based approaches, exploits massive parallelism within a content-addressable memory (CAM) array to perform search in situ and provides both low latency and high energy efficiency. However, the capacity of a single CAM array is often insufficient for modern workloads, requiring data to be distributed across multiple arrays. Deploying scalable top-k similarity search across multiple CAM arrays poses a fundamental problem that existing designs fail to address: how to accurately and efficiently reduce local binary match results to global top-k results. This work introduces CAIMS, a cross-array IMS framework that is agnostic to memory technologies and applications, enabling scalable and efficient top-k similarity search while preserving accuracy. To enable accurate top-k result reduction, CAIMS leverages the existing threshold match functionality with a combined offline and online parameter selection approach to transform local binary match results that lack globally comparable similarity information into global coarse-grained similarity scores. To further improve efficiency, CAIMS conducts hierarchical reduction and transfers only the selection results and necessary control signals with lightweight local peripherals. Implemented on a 3D NAND Flash model and demonstrated using the retrieval phase of retrieval-augmented generation, CAIMS improves throughput by up to 22.3×/10.1×22.3\times/10.1\times and energy efficiency by 426.6×/23.7×426.6\times/23.7\times compared to the server-class CPU baseline and prior 3D NAND Flash accelerators, respectively, while maintaining comparable accuracy.

Figures & tables

Explore similar work

CardsList
  1. RE-CAM: Readout-Enhanced Content-Addressable Memory for Quantitative Similarity Search

    Nov 19, 2026Yi-Chun Liao, Dongyoung Lee, Jiazheng Chen +7Associative MemoryCompute-in-Memory

  2. CAMP: Context-Aware Mapping and Placement for LLMs on 3D-IMC Arrays

    Nov 5, 2026Orhun Görkem, Athanasios Vasilopoulos, Georgios Pagonis +6LLM Inference AccelerationAI Accelerator Inference

  3. A Fast and Energy-Efficient Latch-Based Memristive Analog Content-Addressable Memory

    May 12, 2026Paul-Philipp Manea, Aishwarya Natarajan, Jim Ignowski +2Compute-in-MemoryEnergy-Efficient ML