Skip to main content
QUICK REVIEW

[Paper Review] Towards Ultra-High Performance and Energy Efficiency of Deep Learning Systems: An Algorithm-Hardware Co-Optimization Framework

Yanzhi Wang, Caiwen Ding|arXiv (Cornell University)|Feb 18, 2018
CCD and CMOS Imaging SensorsEngineering2 references14 citations
TL;DR

This paper presents an algorithm-hardware co-optimization framework for ultra-high performance and energy-efficient deep learning on FPGAs, using general block-circulant matrices to reduce computational and storage complexity from O(n²) to O(n log n) and O(n), respectively, while maintaining high accuracy. The framework achieves up to 152X speedup and 71X energy efficiency gain over IBM TrueNorth, with 31X gain over reference FPGA implementations by enabling on-chip model storage and efficient hardware mapping via deep pipelining and batch processing.

ABSTRACT

Hardware accelerations of deep learning systems have been extensively investigated in industry and academia. The aim of this paper is to achieve ultra-high energy efficiency and performance for hardware implementations of deep neural networks (DNNs). An algorithm-hardware co-optimization framework is developed, which is applicable to different DNN types, sizes, and application scenarios. The algorithm part adopts the general block-circulant matrices to achieve a fine-grained tradeoff between accuracy and compression ratio. It applies to both fully-connected and convolutional layers and contains a mathematically rigorous proof of the effectiveness of the method. The proposed algorithm reduces computational complexity per layer from O($n^2$) to O($n\log n$) and storage complexity from O($n^2$) to O($n$), both for training and inference. The hardware part consists of highly efficient Field Programmable Gate Array (FPGA)-based implementations using effective reconfiguration, batch processing, deep pipelining, resource re-using, and hierarchical control. Experimental results demonstrate that the proposed framework achieves at least 152X speedup and 71X energy efficiency gain compared with IBM TrueNorth processor under the same test accuracy. It achieves at least 31X energy efficiency gain compared with the reference FPGA-based work.

Motivation & Objective

  • To address the growing computational and energy demands of deep neural networks (DNNs) in resource-constrained environments such as mobile and IoT devices.
  • To overcome limitations of existing model compression techniques—such as irregular sparsity, increased training complexity, and heuristic compression factors—by enabling mathematically rigorous, fine-grained control over accuracy-compression tradeoffs.
  • To achieve ultra-high performance and energy efficiency in FPGA-based DNN accelerators through joint algorithmic and hardware optimization.
  • To enable full model storage in on-chip memory by drastically reducing model size, thereby minimizing costly off-chip memory access.
  • To develop a scalable, generalizable framework applicable to various DNN types, sizes, and application scenarios, including fully-connected and convolutional layers.

Proposed method

  • The algorithm uses general block-circulant matrices to compress both fully-connected and convolutional layers, enabling a fine-grained tradeoff between model accuracy and compression ratio.
  • It reformulates matrix multiplications using fast Fourier transform (FFT) and inverse FFT (IFFT), decoupling these operations to reduce complexity and enable efficient hardware mapping.
  • The framework provides a mathematically rigorous proof that the compressed DNN asymptotically converges to the same effectiveness as the original network.
  • Computational complexity is reduced from O(n²) to O(n log n), and storage complexity from O(n²) to O(n), for both training and inference.
  • Hardware implementation employs FPGA-based accelerators with deep pipelining, batch processing, dynamic reconfiguration, resource reuse, and hierarchical control to maximize throughput and energy efficiency.
  • The design ensures the entire DNN model fits in on-chip block memory, eliminating off-chip memory access and drastically improving energy efficiency.

Experimental results

Research questions

  • RQ1Can a unified algorithmic approach achieve both high compression and low computational complexity across diverse DNN layers, including fully-connected and convolutional layers?
  • RQ2Can the use of block-circulant matrices enable a mathematically provable convergence to the original DNN’s performance while allowing fine-grained control over accuracy and compression ratio?
  • RQ3Can FPGA-based hardware accelerators achieve ultra-high energy efficiency by minimizing off-chip memory access through on-chip model storage?
  • RQ4To what extent can algorithmic compression and hardware co-design jointly outperform state-of-the-art accelerators like IBM TrueNorth and reference FPGA implementations in performance and energy efficiency?
  • RQ5How does the proposed framework compare in energy efficiency and throughput against emerging analog and device-level DNN accelerators?

Key findings

  • The proposed framework achieves at least 152X speedup in throughput and 71X energy efficiency gain compared to IBM TrueNorth under the same test accuracy.
  • It achieves a minimum of 31X energy efficiency gain over reference FPGA-based implementations, primarily due to full on-chip model storage and reduced off-chip memory access.
  • The framework delivers up to 5.14 TOPS/W energy efficiency, significantly outperforming analog and emerging device-based implementations (e.g., 380.7 GOPS/W, 142.9 GOPS/W, 1.04 TOPS/W).
  • Throughput reaches 11.6ns per image on CyClone V FPGA (equivalent to ~86k FPS), and 4ns per image on Kintex-7 FPGA, surpassing even emerging device technologies.
  • The algorithm reduces computational complexity per layer from O(n²) to O(n log n) and storage complexity from O(n²) to O(n), with negligible accuracy degradation across MNIST, SVHN, and CIFAR-10 datasets.
  • Experimental results show 92.9% to 99.0% accuracy on MNIST, 96.2% on SVHN, and 80.3% to 94.75% on CIFAR-10, with energy efficiency ranging from 659.5 to 2514 GOPS/W.

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.