p-DCIM: A 28nm Probabilistic SRAM DCIM based Ising Machine for Near-Memory Context Selection in LLM-RAG Pipeline
Madhav Vadlamani, Rahul Singh, Yuyao Kong, Haomei Liu, Zheng Zhang, Shimeng Yu
Abstract
We present a fabricated SRAM DCIM Ising machine that performs set-level context selection for large language model (LLM) with retrieval-augmented generation (RAG). In RAG, the evidence-selection stage is increasingly delegated to repeated language-model reranking, which adds substantial energy to the inference pipeline. We reformulate evidence selection as a quadratic unconstrained binary optimization (QUBO) problem and solve it on a dual-mode digital compute-in-memory (DCIM) macro: the same multiply-and-accumulate datapath computes the embedding-similarity scores that populate the QUBO coefficients and evaluates the per-spin Hamiltonian differences that drive the anneal. The annealing temperature is set by a digital plane-count control along with the SRAM pseudo-read random bit flips, giving graded cooling entirely from on-chip digital configuration. The macro is taped-out in a 28 nm process [0.16 mm2, 0.41 mW] and is proposed to be integrated as part of the logic base-die in hybrid high-bandwidth memory (HBM) and high-bandwidth flash (HBF) stacks in a GPU package, where only the selected passage identifiers return to the host. Replacing the language-model selection pass with the near-memory Ising solver yields a macro normalized selection-energy estimate more than six orders of magnitude lower than the LLM-based baseline and reduces the evaluated total energy per query by 67%, while maintaining comparable token-level F1 on the evaluated examples.
Create a lesson
Related papers
SLICE-CiM: Selective Layer-wise Inference Control Engine with Confidence-Based Early Exit for SRAM based Digital Compute-in-Memory
Pratham Sharma, Mohd Faisal Khan, Santosh Kumar Vishvakarma
Kernel Performance Engineering under Physical Non-Idealities
Supun Kuruppu, Pranav Dangi, Wei Li et al.
AnalogScout: Simulation-Efficient PVT-Aware Analog Sizing with LLM Agents
Yichen Long, Keren Zhu
Hardware-Matched Spiking Neural Networks for Real-Time Purkinje Cell Spike Classification
Arooba Farhan, Afsah Syed, Muhammad Fahd Ibrahim Bhatti et al.
Comparative Analysis of Large Load Interconnection Requirements Across U.S. Transmission Entities
Rafi Zahedi, Rahul Anilkumar, Amin Zamani
A State Augmented Approach to Paralle Modeling in High-Level Synthesis
Nicholas Kovacs, Hao Zheng