Skip to main content
QUICK REVIEW

[Paper Review] A Design Methodology for Efficient Implementation of Deconvolutional Neural Networks on an FPGA

Xinyu Zhang, Srinjoy Das|arXiv (Cornell University)|May 7, 2017
Advanced Image Processing TechniquesComputer Science19 references42 citations
TL;DR

This paper presents a three-step FPGA design methodology for efficient implementation of deconvolutional neural networks (DCNNs), leveraging reverse looping, stride hole skipping, and VLSI optimization to accelerate deconvolution operations. The approach achieves a peak performance density of 0.012 GOPs/DSP on a Xilinx Zynq-7000 FPGA, with bitwidth analysis identifying 12-bit precision as optimal for balancing generative quality and resource efficiency.

ABSTRACT

In recent years deep learning algorithms have shown extremely high performance on machine learning tasks such as image classification and speech recognition. In support of such applications, various FPGA accelerator architectures have been proposed for convolutional neural networks (CNNs) that enable high performance for classification tasks at lower power than CPU and GPU processors. However, to date, there has been little research on the use of FPGA implementations of deconvolutional neural networks (DCNNs). DCNNs, also known as generative CNNs, encode high-dimensional probability distributions and have been widely used for computer vision applications such as scene completion, scene segmentation, image creation, image denoising, and super-resolution imaging. We propose an FPGA architecture for deconvolutional networks built around an accelerator which effectively handles the complex memory access patterns needed to perform strided deconvolutions, and that supports convolution as well. We also develop a three-step design optimization method that systematically exploits statistical analysis, design space exploration and VLSI optimization. To verify our FPGA deconvolutional accelerator design methodology we train DCNNs offline on two representative datasets using the generative adversarial network method (GAN) run on Tensorflow, and then map these DCNNs to an FPGA DCNN-plus-accelerator implementation to perform generative inference on a Xilinx Zynq-7000 FPGA. Our DCNN implementation achieves a peak performance density of 0.012 GOPs/DSP.

Motivation & Objective

  • To address the lack of efficient FPGA accelerators for deconvolutional neural networks (DCNNs), which are critical for generative vision tasks like image super-resolution and image-to-image translation.
  • To develop a systematic design methodology that optimizes DCNN inference on FPGAs by balancing performance, power, and resource utilization.
  • To identify the most cost-efficient bitwidth precision for DCNN inference by quantitatively analyzing generative quality under finite-precision arithmetic.
  • To enable high-throughput, low-latency deconvolution operations on FPGAs through hardware-aware algorithm adaptation and VLSI-level optimizations.

Proposed method

  • Proposes a deconvolution accelerator with reverse looping and stride hole skipping to efficiently handle complex memory access patterns in strided deconvolutions, reusing a convolution accelerator architecture.
  • Employs a three-step methodology: (1) statistical analysis using RMMD test to evaluate generative quality across bitwidths; (2) roofline model-based design space exploration to balance memory bandwidth and throughput; (3) VLSI optimization via loop unrolling, pipelining, register insertion, and memory partitioning.
  • Uses fixed-point arithmetic with 12-bit precision, selected as optimal through p-value and power trade-off analysis, and implements all operations using Vivado HLS with ap_fixed.h and streaming data structures.
  • Maps trained GAN-based DCNNs (on MNIST and CelebA datasets) to the FPGA via a Zynq-7000 system, where the ARM processor manages data transfer and configuration, while the accelerator handles computation.
  • Applies loop unrolling and pipelining to inner loops for constant-cycle execution, and inserts registers to reduce BRAM writes and improve critical path timing.
  • Validates the design using a block diagram with AXI-Stream interfaces and BRAM-based on-chip memory, achieving 48% LUT, 95% DSP, and 48% BRAM utilization.

Experimental results

Research questions

  • RQ1What is the optimal bitwidth precision for DCNN inference on FPGAs that balances generative quality and hardware efficiency?
  • RQ2How can deconvolution operations be efficiently mapped to FPGA hardware given their complex memory access patterns?
  • RQ3What design space exploration strategy enables optimal trade-offs between memory bandwidth and accelerator throughput in DCNNs?
  • RQ4To what extent can VLSI-level optimizations such as loop unrolling and register insertion improve performance without increasing resource overhead?

Key findings

  • The 12-bit fixed-point precision was identified as optimal, achieving the highest p-value×minimum slack and p-value/power trade-off, indicating best balance of generative quality and efficiency.
  • The proposed deconvolution accelerator achieved a peak performance density of 0.012 GOPs/DSP on a Xilinx Zynq-7000 FPGA, outperforming previous FPGA-based CNN accelerators in efficiency.
  • Design space exploration using the roofline model identified the optimal configuration for the first layer of the CelebA DCNN, with the best solution located at the left corner of the roofline, indicating high throughput and low memory bandwidth pressure.
  • Visual evaluation showed minimal image quality degradation at 12-bit precision, with significant degradation only occurring at 8-bit precision, confirming the statistical analysis results.
  • Resource utilization after place-and-route showed 95% DSP, 48% LUT, 29% FF, and 48% BRAM usage, indicating efficient resource mapping with room for further optimization via ping-pong buffering.
  • The methodology successfully enabled high-quality generative inference on FPGA, with generated faces and digits from MNIST and CelebA datasets demonstrating visual fidelity at 12-bit precision.

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.