Exploiting the Memory-Compute-Coupling Feature for CIM Accelerator Design Optimization
- 29 April 2025
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems
- Vol. 44 (11) , 4181-4194
Abstract
SRAM computing-in-memory (CIM) accelerators have evolved as a promising solution to the memory wall problem in neural network (NN) models. By integrating memory and compute resources in each macro, CIM accelerators offer massive in-situ computing parallelism and large memory capacity, enabling spatial mapping with layer fusion and potentially keeping layers stationary in CIM. However, CIM’s memory-compute coupling (MCC) feature poses challenges in designing CIM accelerators. From an architecture aspect, designers must balance CIM’s memory and compute resources by optimizing the macro’s memory-compute ratio (MCR) configuration across diverse scenarios. From a mapping aspect, conventional mappings, which allocate each macro exclusively to each layer, face two major problems: 1) a layer-fusion dilemma (the accelerator suffers from excessive memory access due to layer replications or performance degradation due to load imbalance) and 2) a layer-eviction issue (storing layers stationary in CIM is usually infeasible due to limited CIM capacity). To address these challenges, this article introduces MCC-DSE, an MCC-aware Design Space Exploration framework for architecture-mapping co-optimization of CIM accelerators. We also propose a three-axis CIM division mapping, which interleaves multiple layers in each macro to concurrently optimize memory access and performance during layer fusion as well as reserves a part of CIM memory in each macro for layer pinning. Compared to baseline architecture and mapping, MCC-DSE shows a $1.4\times $ – $8.3\times $ EDP reduction across various workloads and chip areas.
Keywords
Funding Information
- National Natural Science Foundation of China (62422407)
- Research Grants Council (26204424)
- ACCESS—AI Chip Center for Emerging Smart Systems, sponsored by the InnoHK initiative of the Innovation and Technology Commission of the Hong Kong Special Administrative Region Government.
This publication has 35 references indexed in Scilit:
- Analog or Digital In-Memory Computing? Benchmarking Through Quantitative Modeling2023
- A 16nm 128kB high-density fully digital In Memory Compute macro with reverse SRAM pre-charge achieving 0.36TOPs/mm2, 256kB/mm2 and 23. 8TOPs/W2023
- AutoDCIM: An Automated Digital CIM Compiler2023
- DeFiNES: Enabling Fast Exploration of the Depth-first Scheduling Space for DNN Accelerators through Analytical Modeling2023
- A ConvNet for the 2020s2022
- HyPar: Towards Hybrid Parallelism for Deep Learning Accelerator Array2019
- MobileNetV2: Inverted Residuals and Linear Bottlenecks2018
- PipeLayer: A Pipelined ReRAM-Based Accelerator for Deep Learning2017
- Deep Residual Learning for Image Recognition2016
- ImageNet: A large-scale hierarchical image database2009