FD-CNN: A Frequency-Domain FPGA Acceleration Scheme for CNN-Based Image-Processing Applications

计算机科学 卷积神经网络 现场可编程门阵列 离散余弦变换 人工智能 Stratix公司 管道(软件) 图像处理 解码方法 计算机硬件 计算机视觉 算法 图像(数学) 程序设计语言
作者
Xiaoyang Wang,Zhe Zhou,Zhihang Yuan,Jingchen Zhu,Y. Cao,Yao Zhang,Kangrui Sun,Guangyu Sun
出处
期刊:ACM Transactions in Embedded Computing Systems [Association for Computing Machinery]
卷期号:22 (6): 1-30 被引量:2
标识
DOI:10.1145/3559105
摘要

In the emerging edge-computing scenarios, FPGAs have been widely adopted to accelerate convolutional neural network (CNN)–based image-processing applications, such as image classification, object detection, and image segmentation, and so on. A standard image-processing pipeline first decodes the collected compressed images from Internet of Things (IoTs) to RGB data, then feeds them into CNN engines to compute the results. Previous works mainly focus on optimizing the CNN inference parts. However, we notice that on the popular ZYNQ FPGA platforms, image decoding can also become the bottleneck due to the poor performance of embedded ARM CPUs. Even with a hardware accelerator, the decoding operations still incur considerable latency. Moreover, conventional RGB-based CNNs have too few input channels at the first layer, which can hardly utilize the high parallelism of CNN engines and greatly slows down the network inference. To overcome these problems, in this article, we propose FD-CNN, a novel CNN accelerator leveraging the partial-decoding technique to accelerate CNNs directly in the frequency domain. Specifically, we omit the most time-consuming IDCT (Inverse Discrete Cosine Transform) operations of image decoding and directly feed the DCT coefficients (i.e., the frequency data) into CNNs. By this means, the image decoder can be greatly simplified. Moreover, compared to the RGB data, frequency data has a narrower input resolution but has 64× more channels. Such an input shape is more hardware friendly than RGB data and can substantially reduce the CNN inference time. We then systematically discuss the algorithm, architecture, and command set design of FD-CNN. To deal with the irregularity of different CNN applications, we propose an image-decoding-aware design-space exploration (DSE) workflow to optimize the pipeline. We further propose an early stopping strategy to tackle the time-consuming progressive JPEG decoding. Comprehensive experiments demonstrate that FD-CNN achieves, on average, 3.24×, 4.29× throughput improvement, 2.55×, 2.54× energy reduction and 2.38×, 2.58× lower latency on ZC-706 and ZCU-102 platforms, respectively, compared to the baseline image-processing pipelines.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
莫漓漓发布了新的文献求助10
1秒前
3秒前
野性的雁菡完成签到 ,获得积分10
5秒前
小群完成签到,获得积分10
5秒前
NexusExplorer应助默默的筝采纳,获得10
5秒前
科目三应助天天采纳,获得10
7秒前
8秒前
任秀烨完成签到,获得积分10
10秒前
MZ完成签到,获得积分10
13秒前
porcelain发布了新的文献求助10
13秒前
HY完成签到,获得积分10
14秒前
zhang完成签到,获得积分10
14秒前
15秒前
yingzi完成签到,获得积分10
15秒前
iambamboo完成签到,获得积分10
15秒前
今天值班的不是我完成签到,获得积分10
17秒前
JamesPei应助ste11ar采纳,获得10
19秒前
明亮的青旋完成签到 ,获得积分10
21秒前
我是老大应助niufuking采纳,获得10
23秒前
1235完成签到,获得积分10
23秒前
orixero应助阳生采纳,获得10
23秒前
LX有理想完成签到 ,获得积分10
24秒前
25秒前
进步完成签到 ,获得积分10
25秒前
在水一方应助沉默凡英采纳,获得10
26秒前
彭于晏应助感冒药采纳,获得30
26秒前
可爱语芹发布了新的文献求助10
27秒前
可靠谷兰完成签到,获得积分20
31秒前
31秒前
js完成签到 ,获得积分10
34秒前
hongxuezhi完成签到,获得积分10
35秒前
华仔应助Leo采纳,获得10
37秒前
薛定谔的电完成签到,获得积分10
39秒前
juejue333完成签到,获得积分10
41秒前
自然芫完成签到,获得积分20
42秒前
lokiyyy发布了新的文献求助10
43秒前
CipherSage应助自由的沛山采纳,获得10
46秒前
赘婿应助朱佳慧采纳,获得10
47秒前
赘婿应助Neil采纳,获得10
47秒前
慕青应助Neil采纳,获得10
47秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
PowerCascade: A Synthetic Dataset for Cascading Failure Analysis in Power Systems 2000
Picture this! Including first nations fiction picture books in school library collections 1000
Signals, Systems, and Signal Processing 610
Unlocking Chemical Thinking: Reimagining Chemistry Teaching and Learning 555
Photodetectors: From Ultraviolet to Infrared 500
信任代码:AI 时代的传播重构 450
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 物理 内科学 复合材料 催化作用 物理化学 光电子学 电极 细胞生物学 基因 无机化学
热门帖子
关注 科研通微信公众号,转发送积分 6356462
求助须知:如何正确求助?哪些是违规求助? 8171260
关于积分的说明 17203746
捐赠科研通 5412294
什么是DOI,文献DOI怎么找? 2864564
邀请新用户注册赠送积分活动 1842098
关于科研通互助平台的介绍 1690360