Skip to main content
QUICK REVIEW

[Paper Review] Benchmarking and modeling of analog and digital SRAM in-memory computing architectures

Pouya Houshmand, Jiacong Sun|arXiv (Cornell University)|May 25, 2023
Advanced Memory and Neural ComputingEngineering6 citations
TL;DR

This paper presents a unified analytical cost model for benchmarking analog (AIMC) and digital (DIMC) in-memory computing architectures, enabling fair, quantitative comparison across diverse designs. Integrated into the ZigZag DSE framework, the model reveals that large AIMC arrays excel in high-reuse convolutions (e.g., ResNet8), while smaller, distributed DIMC macros outperform in low-reuse, pointwise layers (e.g., MobileNetV1), highlighting critical trade-offs in array size, dataflow, and energy efficiency.

ABSTRACT

In-memory-computing is emerging as an efficient hardware paradigm for deep neural network accelerators at the edge, enabling to break the memory wall and exploit massive computational parallelism. Two design models have surged: analog in-memory-computing (AIMC) and digital in-memory-computing (DIMC), offering a different design space in terms of accuracy, efficiency and dataflow flexibility. This paper targets the fair comparison and benchmarking of both approaches to guide future designs, through a.) an overview of published architectures; b.) an analytical cost model for energy and throughput; c.) scheduling of workloads on a variety of modeled IMC architectures for end-to-end network efficiency analysis, offering valuable workload-hardware co-design insights.

Motivation & Objective

  • To enable fair, quantitative benchmarking of analog and digital in-memory computing (AIMC/DIMC) architectures despite diverse technologies and design parameters.
  • To develop a unified analytical cost model for energy and throughput that is validated across published AIMC and DIMC designs.
  • To integrate the model into the ZigZag design space exploration (DSE) framework for end-to-end efficiency analysis of real DNN workloads.
  • To provide workload-hardware co-design insights by evaluating spatial and temporal mappings across multiple architectures and tinyMLPerf benchmarks.
  • To identify the strengths and limitations of AIMC and DIMC paradigms under varying network characteristics and array configurations.

Proposed method

  • The authors extract architectural parameters (array size, number of macros, technology node, precision) from 10 published AIMC and DIMC designs across different process technologies.
  • A unified analytical cost model is developed to estimate energy and throughput, validated against design points with a relative mismatch of ~15%.
  • The model incorporates macro-level energy consumption and data movement costs to outer memory levels, accounting for operand reuse and peripheral overheads.
  • The model is integrated into the ZigZag DSE framework to explore optimal spatial and temporal mappings for each network layer and hardware configuration.
  • Workload evaluation is performed on tinyMLPerf benchmark models (e.g., DeepAutoEncoder, ResNet8, MobileNetV1, DS-CNN) to assess end-to-end efficiency.
  • Energy breakdowns and data traffic to outer memory are analyzed across different array sizes and macro counts to reveal trade-offs in utilization and overheads.

Experimental results

Research questions

  • RQ1How do different AIMC and DIMC architectural parameters (array size, number of macros, technology node) impact energy efficiency and throughput for real DNN workloads?
  • RQ2In what scenarios does large-array AIMC outperform smaller, distributed DIMC architectures, and vice versa?
  • RQ3How does the choice of spatial and temporal mapping affect the energy efficiency of IMC accelerators across diverse DNN layers?
  • RQ4What are the relative trade-offs between macro-level energy efficiency and off-chip data movement overheads in different IMC design points?
  • RQ5To what extent can a unified analytical model accurately predict performance across heterogeneous AIMC and DIMC designs?

Key findings

  • Large AIMC arrays achieve peak energy efficiency in high-reuse layers such as ResNet8, where weight reuse across feature map pixels amortizes write costs.
  • For networks with only fully connected layers (e.g., DeepAutoEncoder), AIMC’s benefits vanish due to lack of weight reuse, leading to high energy costs from frequent weight rewrites.
  • Smaller, distributed DIMC macros outperform large arrays in low-reuse, pointwise, and depthwise convolution layers (e.g., MobileNetV1, DS-CNN), where large arrays suffer from computational underutilization.
  • Increased macro count improves spatial parallelization of non-IMC dimensions (e.g., OX, OY, G), but increases off-chip data movement for feature maps and partial sums, raising energy overheads.
  • The unified analytical model achieves ~15% relative mismatch when validated against published design points, demonstrating strong accuracy for cross-architecture benchmarking.
  • The integration of the model into ZigZag enables systematic exploration of optimal mappings, revealing that optimal design depends critically on workload characteristics and layer types.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.