Skip to main content
QUICK REVIEW

[Paper Review] STONNE: A Detailed Architectural Simulator for Flexible Neural Network Accelerators

Francisco Muñoz-Martínez, José Luis Abellán|arXiv (Cornell University)|Jun 10, 2020
Advanced Neural Network ApplicationsComputer Science14 references14 citations
TL;DR

STONNE is a cycle-accurate, modular, and extensible architectural simulator for flexible DNN inference accelerators, enabling end-to-end evaluation of complete DNN workloads. It reveals that the MAERI architecture's folding strategy causes extremely low compute unit utilization (25% average), resulting in up to 610% performance degradation due to inefficient partial sum re-distribution during folding.

ABSTRACT

The design of specialized architectures for accelerating the inference procedure of Deep Neural Networks (DNNs) is a booming area of research nowadays. First-generation rigid proposals have been rapidly replaced by more advanced flexible accelerator architectures able to efficiently support a variety of layer types and dimensions. As the complexity of the designs grows, it is more and more appealing for researchers to have cycle-accurate simulation tools at their disposal to allow for fast and accurate design-space exploration, and rapid quantification of the efficacy of architectural enhancements during the early stages of a design. To this end, we present STONNE (Simulation TOol of Neural Network Engines), a cycle-accurate, highly-modular and highly-extensible simulation framework that enables end-to-end evaluation of flexible accelerator architectures running complete contemporary DNN models. We use STONNE to model the recently proposed MAERI architecture and show how it can closely approach the performance results of the publicly available BSV-coded MAERI implementation. Then, we conduct a comprehensive evaluation and demonstrate that the folding strategy implemented for MAERI results in very low compute unit utilization (25% on average across 5 DNN models) which in the end translates into poor performance.

Motivation & Objective

  • To address the lack of detailed, open-source simulators for next-generation flexible DNN inference accelerators.
  • To enable accurate, cycle-accurate design-space exploration for flexible accelerator architectures.
  • To evaluate the performance impact of architectural choices, particularly folding strategies, in flexible DNN accelerators.
  • To provide a modular and extensible framework that supports end-to-end simulation of contemporary DNN models on custom accelerator fabrics.
  • To quantify the performance degradation caused by inefficient resource utilization in state-of-the-art flexible accelerators like MAERI.

Proposed method

  • STONNE is a cycle-accurate simulator that models the full dataflow and control flow of flexible DNN accelerator architectures.
  • It supports end-to-end simulation of complete DNN models, including layer-by-layer execution and memory hierarchy behavior.
  • The framework models compute units, on-chip networks (DN and RN), and dataflow patterns such as folding for handling large layers.
  • It uses a modular architecture to allow easy extension for new accelerator fabrics, dataflows, and memory hierarchies.
  • STONNE integrates with existing models like MAERI, enabling validation against BSV-coded implementations with 15% average cycle difference.
  • It reports performance metrics such as multiplier utilization, cycle counts, and theoretical vs. effective utilization to quantify inefficiencies.

Experimental results

Research questions

  • RQ1How accurately can STONNE simulate the behavior of flexible DNN accelerator architectures like MAERI?
  • RQ2What is the impact of the folding strategy on compute unit utilization in flexible accelerators?
  • RQ3Why does the MAERI architecture exhibit low performance despite high theoretical peak utilization?
  • RQ4To what extent does inefficient partial sum re-distribution during folding degrade overall accelerator performance?
  • RQ5Can STONNE enable effective design-space exploration for optimizing flexible accelerator resource utilization?

Key findings

  • STONNE achieves a 15% average cycle difference when simulating the publicly available BSV-coded MAERI implementation, validating its accuracy.
  • The MAERI architecture exhibits an average multiplier utilization of only 25% across five DNN models due to its folding strategy.
  • Even with full bandwidth (64 elements/cycle), multiplier utilization remains low—below 15% in several layers like CONV1 and CONV3.
  • Theoretical peak utilization is significantly higher than effective utilization, with some layers achieving less than 9% utilization (e.g., FC7).
  • The performance degradation caused by inefficient folding reaches up to 610% due to resource underutilization and pipeline stalls.
  • The dependency between multiplier and reduction network during folding prevents pipelined execution, severely limiting performance.

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.