FlexiGAN: An End-to-End Solution for FPGA Acceleration of Generative Adversarial Networks

Amir Yazdanbakhsh, Michael Brzozowski, Behnam Khaleghi, Soroush Ghodrati, Kambiz Samadi, Nam Sung Kim, Hadi Esmaeilzadeh

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

Generative Adversarial Networks (GANs) are among the frontiers of deep networks. GANs consist of two models, a generative model and a discriminative model. While the discriminative model uses the conventional convolution operator, the generative model is fundamentally different per its use of the transposed convolution operator. Unlike the conventional convolution, the transposed convolution initially inserts a large number of zeros in its input. This zero-insertion leads to a large number of inconsequential operations and creates different patterns of computation across the sliding windows. The inconsequential operations along with the variation in computation patterns lead to signicant resource underutilization when evaluated using conventional convolution hardware. This paper introduces FlexiGAN, an end-to-end solution, from high-level GAN specication to an optimized synthesizable FPGA accelerator. FlexiGAN framework is coupled with a novel architecture that aims to harness the benets of both MIMD and SIMD execution models. The proposed architecture separated data retrieval and data processing units at the nest granularity of each compute engine. Leveraging the separation between data retrieval and data processing units in the compute engines, we introduce a succinct set of operations that enable us to signicantly reduce the on-chip memory usage, which is generally scarce in FPGAs. We evaluate our end-to-end solution across various GANs from machine learning literature. FlexiGAN provides 2.4 higher performance than an optimized conventional convolution design. In addition, FlexiGAN, on average, yields 2.8 (up to 3.7) improvements in Performance-per-Watt over a high-end GPU. These results indicate that FlexiGAN is an effective initial step towards providing an end-to-end solution for accelerating GANs.

Original languageEnglish (US)
Title of host publicationProceedings - 26th IEEE International Symposium on Field-Programmable Custom Computing Machines, FCCM 2018
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages65-72
Number of pages8
ISBN (Electronic)9781538655221
DOIs
StatePublished - Sep 7 2018
Event26th Annual IEEE International Symposium on Field-Programmable Custom Computing Machines, FCCM 2018 - Boulder, United States
Duration: Apr 29 2018May 1 2018

Publication series

NameProceedings - 26th IEEE International Symposium on Field-Programmable Custom Computing Machines, FCCM 2018

Other

Other26th Annual IEEE International Symposium on Field-Programmable Custom Computing Machines, FCCM 2018
Country/TerritoryUnited States
CityBoulder
Period4/29/185/1/18

Keywords

  • Accelerator
  • Generative Adversarial Network
  • MIMD SIMD
  • Machine learning

ASJC Scopus subject areas

  • Artificial Intelligence
  • Hardware and Architecture
  • Software

Fingerprint

Dive into the research topics of 'FlexiGAN: An End-to-End Solution for FPGA Acceleration of Generative Adversarial Networks'. Together they form a unique fingerprint.

Cite this