CAIMS:可扩展的跨阵列存内搜索框架
CAIMS: Scalable Cross-Array In-Memory Search
CAIMS 是一个与存储技术和应用无关的跨阵列存内搜索(IMS)框架,可在多个 CAM 阵列间实现可扩展且保持精度的 top-k 相似度搜索。它利用现有阈值匹配功能,结合离线与在线参数选择,将局部二值匹配结果转换为全局粗粒度相似度分数,并通过分层归约只传输选择结果与必要控制信号。
arXiv:2611.25141v1 Announce Type: new 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\times/10.1\times$ and energy efficiency by $426.6\times/23.7\times$ compared to the server-class CPU baseline and prior 3D NAND Flash accelerators, respectively, while maintaining comparable accuracy.
来源:arXiv (Robotics + Hardware + Signal) · arxiv.org