Altmetric

Automatic generation of multi-precision multi-arithmetic CNN accelerators for FPGAs

Publication available at: https://arxiv.org/abs/1910.10075
Title: Automatic generation of multi-precision multi-arithmetic CNN accelerators for FPGAs
Authors: Zhao, Y
Gao, X
Liu, J
Wang, E
Mullins, R
Cheung, P
Constantinides, G
Xu, C-Z
Item Type: Conference Paper
Abstract: Modern deep Convolutional Neural Networks (CNNs) are computationally demanding, yet real applications often require high throughput and low latency. To help tackle these problems, we propose Tomato, a framework designed to automate the process of generating efficient CNN accelerators. The generated design is pipelined and each convolution layer uses different arithmetics at various precisions. Using Tomato, we showcase state-of-the-art multi-precision multi-arithmetic networks, including MobileNet-V1, running on FPGAs. To our knowledge, this is the first multi-precision multi-arithmetic auto-generation framework for CNNs. In software, Tomato fine-tunes pretrained networks to use a mixture of short powers-of-2 and fixed-point weights with a minimal loss in classification accuracy. The fine-tuned parameters are combined with the templated hardware designs to automatically produce efficient inference circuits in FPGAs. We demonstrate how our approach significantly reduces model sizes and computation complexities, and permits us to pack a complete ImageNet network onto a single FPGA without accessing off-chip memories for the first time. Furthermore, we show how Tomato produces implementations of networks with various sizes running on single or multiple FPGAs. To the best of our knowledge, our automatically generated accelerators outperform closest FPGA-based competitors by at least 2-4x for lantency and throughput; the generated accelerator runs ImageNet classification at a rate of more than 3000 frames per second.
Issue Date: 9-Dec-2019
Date of Acceptance: 12-Oct-2019
URI: http://hdl.handle.net/10044/1/75446
Publisher: IEEE
Journal / Book Title: Field-Programable Technology
Sponsor/Funder: Royal Academy Of Engineering
Imagination Technologies Ltd
Engineering & Physical Science Research Council (EPSRC)
Engineering & Physical Science Research Council (EPSRC)
Funder's Grant Number: Prof Constantinides Chair
Prof Constantinides Chair
EP/P010040/1
EP/S030069/1
Conference Name: 2019 International Conference on Field-Programmable Technology
Publication Status: Accepted
Start Date: 2019-12-09
Finish Date: 2019-12-13
Conference Place: Tianjin, China
Open Access location: https://arxiv.org/abs/1910.10075
Appears in Collections:Electrical and Electronic Engineering



Unless otherwise indicated, items in Spiral are protected by copyright and are licensed under a Creative Commons Attribution NonCommercial NoDerivatives License.

Creative Commons