[Paper Review] Structured Weight Matrices-Based Hardware Accelerators in Deep Neural Networks: FPGAs and ASICs
This paper proposes structured weight matrices (SWM) based on block-circulant matrices to compress deep neural networks for efficient FPGA and ASIC implementations. By reducing computational complexity from O(n²) to O(n log n) and storage from O(n²) to O(n), the method achieves up to 152X higher performance and 72X better energy efficiency on FPGAs, with 21X speedup and 33.5X energy gain on LSTM models, and demonstrates 8.08×10⁶ images/J energy efficiency in 40nm ASIC designs.
Both industry and academia have extensively investigated hardware accelerations. In this work, to address the increasing demands in computational capability and memory requirement, we propose structured weight matrices (SWM)-based compression techniques for both \emph{field programmable gate array} (FPGA) and \emph{application-specific integrated circuit} (ASIC) implementations. In algorithm part, SWM-based framework adopts block-circulant matrices to achieve a fine-grained tradeoff between accuracy and compression ratio. The SWM-based technique can reduce computational complexity from O($n^2$) to O($n\log n$) and storage complexity from O($n^2$) to O($n$) for each layer and both training and inference phases. For FPGA implementations on deep convolutional neural networks (DCNNs), we achieve at least 152X and 72X improvement in performance and energy efficiency, respectively using the SWM-based framework, compared with the baseline of IBM TrueNorth processor under same accuracy constraints using the data set of MNIST, SVHN, and CIFAR-10. For FPGA implementations on long short term memory (LSTM) networks, the proposed SWM-based LSTM can achieve up to 21X enhancement in performance and 33.5X gains in energy efficiency compared with the baseline accelerator. For ASIC implementations, the SWM-based ASIC design exhibits impressive advantages in terms of power, throughput, and energy efficiency. Experimental results indicate that this method is greatly suitable for applying DNNs onto both FPGAs and mobile/IoT devices.
Motivation & Objective
- Address the growing computational and memory demands of large-scale deep neural networks (DNNs) in resource-constrained environments.
- Overcome limitations of existing model compression techniques—such as sparsity and low-rank approximation—that introduce irregularity and increased training complexity.
- Enable high-performance, energy-efficient DNN inference on FPGAs and ASICs for mobile and IoT devices.
- Achieve a fine-grained trade-off between model accuracy and compression ratio through structured weight matrix design.
- Develop a mathematically rigorous framework applicable to both fully connected and convolutional layers in DNNs.
Proposed method
- Employ block-circulant matrices as structured weight matrices (SWM) to replace dense weight matrices in DNN layers.
- Leverage the Fast Fourier Transform (FFT) to enable efficient matrix-vector multiplication, reducing complexity from O(n²) to O(n log n).
- Apply weight matrix transformation to fully connected and convolutional layers, preserving model accuracy while enabling compression.
- Use 64-point FFT modules in ASIC design to process 64-element vectors, enabling efficient computation of structured matrices.
- Implement SWM-based designs on both FPGA (XCKU060, Virtex-7) and ASIC (SMIC 40nm) platforms for end-to-end evaluation.
- Preserve the original weight structure in the output layer to maintain accuracy, while transforming all preceding layers into block-circulant form.
Experimental results
Research questions
- RQ1Can structured weight matrices (SWM) based on block-circulant matrices achieve high compression ratios while maintaining high model accuracy in DNNs?
- RQ2To what extent can SWM-based designs reduce computational and storage complexity in both fully connected and convolutional layers?
- RQ3How do SWM-based accelerators perform in terms of performance and energy efficiency on FPGA platforms compared to state-of-the-art baselines like IBM TrueNorth and ESE?
- RQ4What are the performance and energy efficiency gains of SWM-based designs in ASIC implementations for mobile and IoT applications?
- RQ5Can the SWM framework be effectively applied to both CNNs and RNNs (e.g., LSTMs) with minimal accuracy degradation?
Key findings
- On FPGA platforms, the SWM-based framework achieves at least 152X higher performance and 72X better energy efficiency than IBM TrueNorth across MNIST, SVHN, and CIFAR-10 datasets under similar accuracy constraints.
- For LSTM networks, the proposed SWM-based design achieves up to 21X speedup and 33.5X energy efficiency gain compared to the ESE accelerator on AMD-7v3 FPGA.
- The ASIC implementation using SMIC 40nm technology achieves 1.14×10⁶ images/second throughput, 0.14W power consumption, and 8.08×10⁶ images/J energy efficiency.
- The SWM-based design maintains high accuracy with only 0.32% relative PER degradation in LSTM2 (block size 8) and 1.23% in LSTM1 (block size 16).
- The method reduces storage complexity from O(n²) to O(n) and computational complexity from O(n²) to O(n log n) per layer, enabling scalable deployment on edge devices.
- The energy efficiency gains are even higher than performance gains due to reduced power consumption—especially notable as the XCKU060 FPGA uses a more advanced 20nm process than the 28nm Virtex-7.
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.