[Paper Review] FlexSA: Flexible Systolic Array Architecture for Efficient Pruned DNN Model Training
FlexSA proposes a reconfigurable systolic array architecture that dynamically adjusts its structure to efficiently train pruned DNN models by supporting multiple operating modes for varying tensor sizes. By enabling inter-core data reuse and optimizing tiling via a compilation heuristic, FlexSA improves compute utilization by 37% and reduces energy consumption by 28% compared to conventional large systolic arrays.
Modern deep learning models have high memory and computation cost. To make them fast and memory-cost efficient, structured model pruning is commonly used. We find that pruning a model using a common training accelerator with large systolic arrays is extremely performance-inefficient. To make a systolic array efficient for pruning and training, we propose FlexSA, a flexible systolic array architecture. FlexSA dynamically reconfigures the systolic array structure and offers multiple sub-systolic operating modes, which are designed for energy- and memory bandwidth-efficient processing of tensors with different sizes and shapes. We also present a compilation heuristic for tiling matrix-multiplication-and-accumulation operations in a training workload to best utilize the resources of FlexSA. Based on our evaluation, FlexSA with the proposed compilation heuristic improves compute resource utilization of pruning and training modern CNN models by 37% compared to a conventional training accelerator with a large systolic array. FlexSA also improves on-chip data reuse by 1.7X saving 28% energy compared to naive systolic array splitting.
Motivation & Objective
- Address the inefficiency of large systolic arrays in training pruned DNN models due to low compute unit utilization.
- Overcome the performance and energy trade-off between large-core reuse and small-core utilization in structured pruning.
- Design a systolic array that supports dynamic reconfiguration to match varying GEMM dimensions during pruning.
- Develop a compilation heuristic to intelligently select FlexSA operating modes for optimal resource utilization.
- Achieve high energy efficiency and compute utilization without sacrificing on-chip data reuse or increasing area overhead significantly.
Proposed method
- FlexSA integrates four sub-systolic arrays with shared input/output data paths and control logic, enabling four distinct operating modes for dynamic reconfiguration.
- The architecture supports inter-core systolic dataflows (e.g., vertical, horizontal, full waves) to improve data reuse and reduce redundant data movement.
- A compile-time GEMM tiling heuristic prioritizes operating modes with high inter-core reuse, minimizing idle PEs and optimizing resource utilization.
- The compiler schedules data loading to on-chip buffers and manages output storage to global memory or DRAM based on the selected mode.
- The design incurs only 1% area overhead compared to a naive four-core systolic array, enabling efficient hardware integration.
- Operating modes are selected based on tensor dimensions to balance PE utilization and data reuse, with a focus on minimizing energy consumption.
Experimental results
Research questions
- RQ1How can a systolic array architecture be reconfigured at runtime to efficiently handle the dynamic tensor sizes arising during structured DNN pruning?
- RQ2What are the performance and energy trade-offs between using a single large systolic array and multiple smaller, dynamically reconfigured arrays during pruning?
- RQ3Can inter-core data reuse be effectively leveraged to maintain high on-chip data reuse while improving PE utilization in small-tile GEMM operations?
- RQ4To what extent can a compilation heuristic improve resource utilization by intelligently selecting FlexSA operating modes based on GEMM dimensions?
- RQ5How does the proposed FlexSA architecture compare in energy efficiency and compute utilization to both large-core and many-small-core systolic array designs?
Key findings
- FlexSA improves compute resource utilization by 37% compared to a conventional large systolic array accelerator during pruning and training of modern CNN models.
- The architecture increases on-chip data reuse by 1.7× compared to naive small-core splitting, significantly reducing redundant data movement.
- Energy consumption is reduced by 28% compared to naive systolic array splitting, despite increased inter-core data transmission.
- The FlexSA compiler uses inter-core systolic dataflows in over 89% of cases during pruning, ensuring high utilization without sacrificing reuse.
- For ResNet50 and Inception v4, inter-core operating modes account for 94% and 99% of operations in 1G1F and 4G1F configurations, respectively, indicating high reuse efficiency.
- End-to-end training performance improves by 24% (1G1F) and 29% (4G1F) compared to a single large core, with 10% lower dynamic energy than many-small-core designs.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.