arrow
返回

HW/SW Codesign for Approximation-Aware Binary Neural Networks

delete2023-03-01
delete1
PRE
AI
A
Abhilasha Dave
F
Fabio Frustaci *
F
Fanny Spagnolo
M
Mikail Yayla
J
Jian-Jia Chen
H
Hussam Amrouch *
DOI:10.1109/JETCAS.2023.3243267delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Binary Neural Networks (BNNs) are rapidly gaining remarkable attention due to their superiority in shrinking the model size, which outstandingly mitigates the fundamental memory wall bottleneck that is attributed to the existing vonNeumann architectures. This work investigates how principles from approximate computing can be effectively employed to further optimize BNNs. It demonstrates that HW/SW codesign, in which BNNs are either proactively trained in the presence of approximation-induced errors (i.e. design-time optimization) and/or augmented with an appropriate error-mitigation scheme (i.e., run-time optimization), is a key to realize energy-efficient yet robust BNNs. We unveil, for the first time, that although the underlying HW of BNNs can be implemented using simple XNOR gates, the complexity of the required Popcount circuit superlinearly grows with the filter kernel size. This largely impacts the area footprint, inference time, energy, and hence it severely constricts the prospective efficiency gains from BNNs. To overcome this challenge, we replace the accurate full adders constructing the Popcount with Majority gates that approximately perform the required additions. Then, our carefully-crafted error-mitigation scheme along with activations tuning considerably minimizes the induced errors. Afterward, abstracted error probabilities are derived and employed during BNN training to obtain approximation-aware BNNs, that are inherently robust against the underlying HW approximation. Differently from the typical approaches, the proposed HW/SW codesign methodology has the merit of allowing a training of the approximate BNN without the need to modify the existing software frameworks (i.e., PyTorch). This is of great importance since existing tools rely on efficient built-in functions that can be difficult and/or inefficient to be modified. An FPGA-based SoC realizing both accurate and approximation-aware BNNs is developed for validating our proposed methodology. With merely a 4.7% loss in the inference accuracy, our HW/SW codesign leads to 64% and 80.2% savings in the area and energy, respectively, at the parity of the latency. Our results are obtained using commercial EDA tool flows employing a commercial 28nm FDSOI technology node.
Keyword:
Approximate computing
neural network
low-power design
FPGA

期刊

IEEE Journal on Emerging and Selected Topics in Circuits and Systems 封面图
IEEE Journal on Emerging and Selected Topics in Circuits and Systems
IF:
3.8
论文数:
1.4K
被引数:
2.8K

机构

U
University of Calabria
学者数:
8.2K
论文数: 8.0K
被引数: 7.8K
U
University of Stuttgart
学者数:
1.1W
论文数: 9.4K
被引数: 1.3W
D
dortmund university of technology
学者数:
9.4K
论文数: 9.1K
被引数: 15
学者 查看更多机构
引用论文

引用论文

FeFET-Based Binarized Neural Networks Under Temperature-Dependent Bit Errors基于FeFET的二值化神经网络在温度相关误码下的应用
err2022-07-01
err8
errOAAI
errYayla, Mikail; Buschjaeger, Sebastian; Gupta, Aniket; Chen, Jian-Jia; Henkel, Joerg; Morik, Katharina; Chen, Kuan-Hsun; Amrouch, Hussam
err分享
err收藏
err
IF0
err
err0
PREAI
err
err分享
err收藏
FP-BNN: Binarized neural network on FPGAFp-bnn: 基于FPGA的二值化神经网络
err2018-01-01
err222
PREAI
errLiang, Shuang; Yin, Shouyi; Liu, Leibo; Luk, Wayne; Wei, Shaojun
err分享
err收藏
Graphene FETs with high and low mobilities have universal temperature-dependent properties
err2023-01-06
err0
errOAAI
errJonathan H Gosling; Sergey V Morozov; Evgenii E Vdovin; Mark T Greenaway; Yurii N Khanin; Zakhar Kudrynskyi; Amalia Patanè; Laurence Eaves; Lyudmila Turyanska; T Mark Fromhold; Oleg Makarovsky
err分享
err收藏
Two fundamentally different drivers of dipolarizations at Saturn
err2017-04-25
err0
errOAAI
errZ. H. Yao; D. Grodent; L. C. Ray; I. J. Rae; A. J. Coates; Z. Y. Pu; A. T. Lui; A. Radioti; J. H. Waite; G. H. Jones; R. L. Guo; W. R. Dunn
err分享
err收藏
MULTIFRACTAL FLUCTUATIONS IN FINANCE
err2011-11-21
err0
errOAAI
errFRANCOIS SCHMITT; DANIEL SCHERTZER; SHAUN LOVEJOY
err分享
err收藏
err
IF0
err
err0
PREAI
err
err分享
err收藏
学者 查看更多内容