FlexCNN: An End-to-end Framework for Composing CNN Accelerators on FPGA

Author:

Basalama Suhail1ORCID,Sohrabizadeh Atefeh1ORCID,Wang Jie1ORCID,Guo Licheng1ORCID,Cong Jason1ORCID

Affiliation:

1. University of California - Los Angeles, CA, USA

Abstract

With reduced data reuse and parallelism, recent convolutional neural networks (CNNs) create new challenges for FPGA acceleration. Systolic arrays (SAs) are efficient, scalable architectures for convolutional layers, but without proper optimizations, their efficiency drops dramatically for reasons: (1) the different dimensions within same-type layers, (2) the different convolution layers especially transposed and dilated convolutions, and (3) CNN’s complex dataflow graph. Furthermore, significant overheads arise when integrating FPGAs into machine learning frameworks. Therefore, we present a flexible, composable architecture called FlexCNN, which delivers high computation efficiency by employing dynamic tiling, layer fusion, and data layout optimizations. Additionally, we implement a novel versatile SA to process normal, transposed, and dilated convolutions efficiently. FlexCNN also uses a fully pipelined software-hardware integration that alleviates the software overheads. Moreover, with an automated compilation flow, FlexCNN takes a CNN in the ONNX 1 representation, performs a design space exploration, and generates an FPGA accelerator. The framework is tested using three complex CNNs: OpenPose, U-Net, and E-Net. The architecture optimizations achieve 2.3× performance improvement. Compared to a standard SA, the versatile SA achieves close-to-ideal speedups, with up to 5.98× and 13.42× for transposed and dilated convolutions, with a 6% average area overhead. The pipelined integration leads to a 5× speedup for OpenPose.

Funder

NSF/Intel

NSF NeuroNex project

CRISP center under the JUMP program, and CDSC industrial partners

Publisher

Association for Computing Machinery (ACM)

Subject

General Computer Science

Reference63 articles.

1. DPUCAHX8H Resource Utilization. (n.d.). Retrieved from https://docs.xilinx.com/r/en-US/pg367-dpucahx8h/Resource-Utilization.

2. DPUCAHX8L Resource Utilization. (n.d.). Retrieved from https://docs.xilinx.com/r/en-US/pg366-dpucahx8l/Resource-Utilization.

3. U280 Performance with 14E300 MHz DPUCAHX8H. (n.d.). Retrieved from https://docs.xilinx.com/r/1.4.1-English/ug1354-xilinx-ai-sdk/Alveo-U280-Data-Accelerator-Card.

4. Vitis AI. (n.d.). Retrieved from https://www.xilinx.com/products/design-tools/vitis/vitis-ai.html.

5. Martín Abadi, Paul Barham, Jianmin Chen, Zhifeng Chen, Andy Davis, Jeffrey Dean, Matthieu Devin, Sanjay Ghemawat, Geoffrey Irving, Michael Isard et al. 2016. Tensorflow: A system for large-scale machine learning. In 12th USENIX Symposium on Operating Systems Design and Implementation (OSDI’16). 265–283.

Cited by 17 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. OptimalNN: A Neural Network Architecture to Monitor Chemical Contamination in Cancer Alley;Journal of Low Power Electronics and Applications;2024-06-10

2. ConvMap: Boosting Convolution Throughput on FPGAs with Efficient Resource Mapping;2024 IEEE International Parallel and Distributed Processing Symposium Workshops (IPDPSW);2024-05-27

3. SMOF: Streaming Modern CNNs on FPGAs with Smart Off-Chip Eviction;2024 IEEE 32nd Annual International Symposium on Field-Programmable Custom Computing Machines (FCCM);2024-05-05

4. Pflow: An end-to-end heterogeneous acceleration framework for CNN inference on FPGAs;Journal of Systems Architecture;2024-05

5. Understanding the Potential of FPGA-Based Spatial Acceleration for Large Language Model Inference;ACM Transactions on Reconfigurable Technology and Systems;2024-04-04

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3