Skip to main content
QUICK REVIEW

[Paper Review] SparseNN: An Energy-Efficient Neural Network Accelerator Exploiting Input and Output Sparsity

Jingyang Zhu, Jingbo Jiang|arXiv (Cornell University)|Nov 3, 2017
Advanced Neural Network ApplicationsComputer Science14 references3 citations
TL;DR

SparseNN proposes a novel energy-efficient DNN accelerator that jointly exploits input and output activation sparsity using an end-to-end trained sparsity predictor. By predicting output sparsity with under 5% computation overhead, SparseNN achieves 10–70% higher throughput and 50% lower power consumption compared to state-of-the-art accelerators that only exploit input sparsity.

ABSTRACT

Contemporary Deep Neural Network (DNN) contains millions of synaptic connections with tens to hundreds of layers. The large computation and memory requirements pose a challenge to the hardware design. In this work, we leverage the intrinsic activation sparsity of DNN to substantially reduce the execution cycles and the energy consumption. An end-to-end training algorithm is proposed to develop a lightweight run-time predictor for the output activation sparsity on the fly. From our experimental results, the computation overhead of the prediction phase can be reduced to less than 5% of the original feedforward phase with negligible accuracy loss. Furthermore, an energy-efficient hardware architecture, SparseNN, is proposed to exploit both the input and output sparsity. SparseNN is a scalable architecture with distributed memories and processing elements connected through a dedicated on-chip network. Compared with the state-of-the-art accelerators which only exploit the input sparsity, SparseNN can achieve a 10%-70% improvement in throughput and a power reduction of around 50%.

Motivation & Objective

  • Address the high energy and memory demands of deep neural networks (DNNs) in embedded systems.
  • Overcome the limitation of prior accelerators that exploit only input sparsity, not output sparsity.
  • Develop a run-time predictor for output activation sparsity that incurs minimal computational overhead.
  • Design a scalable, NoC-based hardware architecture (SparseNN) to efficiently exploit both input and output sparsity.
  • Demonstrate significant improvements in throughput and energy efficiency over existing SIMD and EIE-style accelerators.

Proposed method

  • Propose an end-to-end training algorithm to learn U and V matrices for output sparsity prediction via backpropagation.
  • Use truncated SVD-like decomposition to predict output sparsity before actual computation, with less than 5% overhead on the feedforward phase.
  • Design a scalable Network-on-Chip (NoC) architecture with distributed processing elements (PEs) and memories for high parallelism.
  • Integrate sparsity-aware memory access and computation scheduling to bypass zero activations in both input and output feature maps.
  • Implement SparseNN in ASIC using 65nm technology, with on-chip SRAMs for weights (W), and auxiliary matrices (U, V) for sparsity prediction.
  • Use a dedicated on-chip network to connect PEs and memories, minimizing communication bottlenecks and enabling scalability.

Experimental results

Research questions

  • RQ1Can an end-to-end trained sparsity predictor for output activations be designed with minimal computational overhead?
  • RQ2How does jointly exploiting input and output sparsity impact throughput and energy efficiency in DNN inference?
  • RQ3Can a scalable NoC-based hardware architecture efficiently support both input and output sparsity exploitation?
  • RQ4What is the performance and energy efficiency gain of SparseNN compared to state-of-the-art accelerators like EIE and LRADNN?
  • RQ5How does the sparsity prediction accuracy and scalability vary with different network ranks and DNN models?

Key findings

  • The sparsity prediction phase adds less than 5% computation overhead to the original feedforward pass, with negligible accuracy loss.
  • SparseNN achieves 10–70% higher throughput compared to accelerators that exploit only input sparsity, with improvements varying by layer and dataset.
  • Power consumption is reduced by approximately 50% when both input and output sparsity are exploited, due to reduced memory accesses and low-energy sparsity prediction.
  • The area breakdown shows that 94.8% of the total area is consumed by memory (mainly on-chip SRAMs for W, U, and V matrices), with PEs accounting for 99.2% of the memory area.
  • SparseNN demonstrates 4× better energy efficiency than a 28nm SIMD architecture (DNN-Engine) when scaled to 65nm, due to effective sparsity exploitation.
  • The improvement in execution cycles is most significant in deeper layers (up to 70% reduction), where predicted output sparsity from prior layers enhances input sparsity in subsequent layers.

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.