NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Sparse Systolic Tensor Array for Efficient CNN Hardware Acceleration

Zhi Gang Liu, Paul N. Whatmough, Matthew MattinaarXiv 2020

Abstract

Convolutional neural network (CNN) inference on mobile devices demands efficient hardware acceleration of low-precision (INT8) general matrix multiplication (GEMM). Exploiting data sparsity is a common approach to further accelerate GEMM for CNN inference, and in particular, structural sparsity has the advantages of predictable load balancing and very low index overhead. In this paper, we address a key architectural challenge with structural sparsity: how to provide support for a range of sparsity levels while maintaining high utilization of the hardware. We describe a time unrolled formulation of variable density-bound block (VDBB) sparsity that allows for a configurable number of non-zero elements per block, at constant utilization. We then describe a systolic array microarchitecture that implements this scheme, with two data reuse optimizations. Firstly, we increase reuse in both operands and partial products by increasing the number of MACs per PE. Secondly, we introduce a novel approach of moving the IM2COL transform into the hardware, which allows us to achieve a 3x data bandwidth expansion just before the operands are consumed by the datapath, reducing the SRAM power consumption. The optimizations for weight sparsity, activation sparsity and data reuse are all interrelated and therefore the optimal combination is not obvious. Therefore, we perform an design space evaluation to find the pareto-optimal design characteristics. The resulting design achieves 16.8 TOPS/W in 16nm with modest 50% model sparsity and scales with model sparsity up to 55.7TOPS/W at 87.5%. As well as successfully demonstrating the variable DBB technique, this result significantly outperforms previously reported sparse CNN accelerators.

Introduction

Efficiently executing Convolutional Neural Networks (CNNs) on mobile and IoT devices requires a careful balance between high performance and low power consumption. Data sparsity—the presence of zero-valued weights and activations—presents a significant opportunity for optimization. However, hardware support for sparsity often faces a trade-off: random sparsity is flexible but leads to complex indexing and hardware underutilization due to load imbalance, while fixed structural sparsity simplifies hardware but lacks the flexibility to adapt to varying model densities. This paper presents a novel architecture that utilizes Variable Density-Bound Block (VDBB) sparsity to achieve high hardware utilization across a wide range of sparsity levels.

Variable Density-Bound Block (VDBB) Sparsity

The core innovation of this work is the VDBB scheme, which provides a hardware-friendly structural sparsity that remains flexible. Unlike traditional block sparsity that requires a fixed number of non-zero elements, VDBB allows for a configurable density within each block.

Comparison of Random, Block, and Density-Bound Block (DBB) sparsity patterns.

To maintain 100% hardware utilization, the architecture employs a "time-unrolling" approach. Instead of processing a block spatially across multiple multipliers, the hardware processes one non-zero element per cycle per block. This ensures that the processing elements (PEs) are never idle; a block with fewer non-zero elements simply completes its computation in fewer cycles, directly converting sparsity into increased throughput.

Hardware Architecture and Optimizations

The proposed Systolic Tensor Array (STA) architecture enhances the classic systolic array design by grouping multipliers into "Tensor" PEs. Each PE performs small matrix-matrix multiplications, which significantly increases data reuse for operands and partial products, thereby reducing energy-intensive memory accesses.

The Variable Density-Bound Block (VDBB) compression scheme and tensor blocking.

Two additional optimizations further improve efficiency. First, the IM2COL transform, traditionally a software pre-processing step that increases memory footprint, is moved into the hardware datapath. This allows for a 3x data bandwidth expansion just before consumption, reducing SRAM read power. Second, the VDBB scheme uses amortized indexing, where a single bitmask (e.g., 8 bits for an 8-element block) describes the locations of non-zero elements, drastically reducing the metadata overhead compared to per-element indexing.

Evaluation and Results

The VDBB accelerator was evaluated using a range of CNN benchmarks, including ResNet-50 and MobileNetV1. Models were trained using magnitude-based pruning with DBB constraints, achieving 50–75% sparsity with minimal accuracy degradation (0.1–1.1%).

Implemented in 16nm FinFET technology, the design demonstrates exceptional energy efficiency. At 50% weight and activation sparsity, it achieves 16.8 TOPS/W. As model sparsity increases, the performance scales linearly, reaching 55.7 TOPS/W at 87.5% sparsity. This performance significantly outperforms previous state-of-the-art sparse accelerators, such as Laconic, by over 8x in energy efficiency.

Conclusion

The combination of Variable Density-Bound Block sparsity and a Systolic Tensor Array architecture provides a robust solution for efficient CNN inference. By leveraging temporal unrolling and hardware-level data reuse optimizations, the proposed design achieves high utilization and industry-leading energy efficiency across a broad spectrum of sparsity levels, making it ideal for edge AI applications.

Summary updated

BibTeX
@misc{liu2020sparse,
  author = {Zhi Gang Liu and Paul N. Whatmough and Matthew Mattina},
  title = {{Sparse Systolic Tensor Array for Efficient CNN Hardware Acceleration}},
  year = {2020},
  eprint = {2009.02381},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2009.02381},
}
Figure