MamCIMFlow: An Integrated Co-Design of RRAM-Based CIM and Selective State-Space Streaming for Efficient Mamba Model Acceleration
Abstract
State Space Models (SSMs), notably Mamba-2, match Transformer performance with superior efficiency but face two challenges: memory-bound projection MVMs hitting the “memory wall” and dynamic, input-dependent state transitions that general systems process inefficiently. Compute-in-Memory (CIM) alleviates the first issue but is not tailored to Mamba's dataflow. We propose MamCIMFlow, a co-designed architecture integrating RRAM-based CIM with a specialized State Space Streaming (SSS) unit. The unified fabric jointly optimizes RRAM arrays and streaming hardware to enable seamless transitions between memory-bound and control-bound operations. Key innovations include: (1) intrinsic integration of RRAM-CIM and streaming units; (2) a continuous pipeline mapping Mamba-2's equations to hardware; and (3) a streaming-centric RRAM organization producing just-in-time, SSS-ready vectors. Experiments show up to $14.1 \times$ speedup and $319.3 \times$ power efficiency over GPUs, and up to $2.29 \times$ speedup and $3.43 \times$ power efficiency over a CIM baseline, while reducing SRAM footprint by 66%, enabling efficient SSM deployment in constrained environments.
BibTeX
@inproceedings{li2025mamcimflow,
author = {Mingzi Li and Zhongrui Wang and Zhongwen Ye and Tao Pan and Han Wang},
title = {{MamCIMFlow: An Integrated Co-Design of RRAM-Based CIM and Selective State-Space Streaming for Efficient Mamba Model Acceleration}},
booktitle = {ICCD},
year = {2025},
url = {https://openreview.net/forum?id=ADbgOe7pOZ},
}Ask Althea to put this paper to the test.
Loading related content...