Balancing Efficiency and Flexibility for DNN Acceleration via Temporal GPU-Systolic Array Integration

Cong Guo, Yangjie Zhou, Jingwen Leng, Yuhao Zhu, Zidong Du, Quan Chen, Chao Li, Bin Yao, Minyi Guo

Abstract

Modern Deep Neural Network (DNN) acceleration is caught between the high efficiency of specialized systolic arrays and the general-purpose flexibility of GPUs. This paper introduces the Simultaneous Multi-mode Architecture (SMA), which temporally integrates these two models on a single hardware substrate. By allowing hardware units to switch between SIMD and systolic modes, SMA achieves a 63% performance improvement and 23% energy savings over NVIDIA’s Volta architecture for complex end-to-end applications.

Introduction

The rapid evolution of DNNs has led to a "flexibility vs. efficiency" paradox. Specialized accelerators like Google’s TPU utilize systolic arrays to achieve peak efficiency for matrix multiplications (GEMM). However, they struggle with "irregular" operations—such as Non-Maximum Suppression (NMS) or RoIAlign—common in object detection and autonomous driving. Conversely, GPUs offer high programmability for these irregular tasks but lack the efficiency of systolic arrays for core matrix operations.

NVIDIA’s Tensor Cores attempted a "spatial" integration, placing GEMM accelerators alongside standard GPU cores. This approach often leaves silicon idle and suffers from low data reuse due to mismatches with the GPU’s memory hierarchy.

The SMA Architecture

SMA redefines the relationship between GPU and systolic array through temporal integration. Instead of side-by-side placement, the same hardware units switch execution modes over time.

Semi-Broadcasted Weight-Stationary Dataflow

A primary challenge in integrating systolic arrays into GPUs is memory bank conflicts. SMA introduces a novel dataflow where weights are broadcasted to columns of processing elements (PEs). This ensures that memory accesses are coalesced and SIMD-friendly, bridging the gap between the two execution models.

Comparison of TPU and SMA dataflows, highlighting the semi-broadcasted input and output patterns in SMA.

Hardware and Control Innovations

SMA reuses existing GPU components, such as operand collectors, as local buffers for weights, minimizing area overhead to less than 0.1%. It introduces the LSMA (Load, Store, and Multiply-Accumulate) instruction, enabling asynchronous systolic execution. This allows the architecture to hide memory latency more effectively than synchronous alternatives.

Evaluation and Results

The researchers evaluated SMA against regular models (AlexNet, VGG-A) and complex hybrid models (Mask R-CNN, DeepLab).

Efficiency Gains

While traditional Tensor Cores struggle to maintain high efficiency on large matrices due to register file bandwidth bottlenecks, SMA achieves over 90% FLOP efficiency, matching specialized systolic hardware.

Efficiency comparison between Tensor Cores (TC) and TPU across various matrix sizes, illustrating the performance gap SMA addresses.

End-to-End Performance

On complex models like Mask R-CNN, SMA provides a 63% performance boost over the Volta baseline. In autonomous driving simulations, SMA reduced frame latency by nearly 50%, successfully meeting real-time requirements (under 100ms) that standard GPUs failed to reach. Furthermore, energy consumption was reduced by 23% on average due to decreased data movement between processing units and the register file.

Conclusion

SMA demonstrates that temporal integration of SIMD and systolic modes offers a superior path for DNN acceleration. By aligning memory access patterns and maximizing hardware reuse, SMA provides the efficiency of a TPU with the flexibility of a GPU, making it ideal for the diverse workloads of modern AI applications.

Summary updated

BibTeX
@inproceedings{guo2020balancing,
  author = {Cong Guo and Yangjie Zhou and Jingwen Leng and Yuhao Zhu and Zidong Du and Quan Chen and Chao Li and Bin Yao and Minyi Guo},
  title = {{Balancing Efficiency and Flexibility for DNN Acceleration via Temporal GPU-Systolic Array Integration}},
  booktitle = {DAC},
  year = {2020},
  doi = {10.1109/dac18072.2020.9218732},
}
Figure