跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 机器学习

arXiv:2004.02396 (cs)
[提交于 2020年4月7日]

标题:A Learning Framework for n-bit Quantized Neural Networks toward FPGAs

作者:Jun Chen, Liang Liu, Yong Liu, Xianfang Zeng
查看论文《A Learning Framework for n-bit Quantized Neural Networks toward FPGAs》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:The quantized neural network (QNN) is an efficient approach for network compression and can be widely used in the implementation of FPGAs. This paper proposes a novel learning framework for n-bit QNNs, whose weights are constrained to the power of two. To solve the gradient vanishing problem, we propose a reconstructed gradient function for QNNs in back-propagation algorithm that can directly get the real gradient rather than estimating an approximate gradient of the expected loss. We also propose a novel QNN structure named n-BQ-NN, which uses shift operation to replace the multiply operation and is more suitable for the inference on FPGAs. Furthermore, we also design a shift vector processing element (SVPE) array to replace all 16-bit multiplications with SHIFT operations in convolution operation on FPGAs. We also carry out comparable experiments to evaluate our framework. The experimental results show that the quantized models of ResNet, DenseNet and AlexNet through our learning framework can achieve almost the same accuracies with the original full-precision models. Moreover, when using our learning framework to train our n-BQ-NN from scratch, it can achieve state-of-the-art results compared with typical low-precision QNNs. Experiments on Xilinx ZCU102 platform show that our n-BQ-NN with our SVPE can execute 2.9 times faster than with the vector processing element (VPE) in inference. As the SHIFT operation in our SVPE array will not consume Digital Signal Processings (DSPs) resources on FPGAs, the experiments have shown that the use of SVPE array also reduces average energy consumption to 68.7% of the VPE array with 16-bit.
评论: This paper has been accepted for publication in the IEEE Transactions on Neural Networks and Learning Systems
主题: 机器学习 (cs.LG); 信号处理 (eess.SP); 机器学习 (stat.ML)
引用方式: arXiv:2004.02396 [cs.LG]
  (或者 arXiv:2004.02396v1 [cs.LG] 对于此版本)
  https://doi.org/10.48550/arXiv.2004.02396
期刊参考: IEEE Transactions on Neural Networks and Learning Systems 2020
相关 DOI: https://doi.org/10.1109/TNNLS.2020.2980041

提交历史

来自:Jun Chen
[v1] 2020年4月7日 星期二 00:00:00 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.LG
< 上一篇   |   下一篇 >
最新 | 近期 | 2020-04
切换浏览方式为:
cs
eess.SP
stat.ML

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站