paper-with-me

홈 › Papers

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

2020-04-06 · Jun Chen, Liang Liu, Yong liu, Xianfang Zeng

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.

📄 PDF Abstract BibTeX arXiv:2004.02396

Code (1)

papcjy/n-BQ-NN 공식 구현 tf

Methods 이 논문이 사용한 방법론

Batch Normalization 설명 없음
Bottleneck Residual Block A Bottleneck Residual Block is a variant of the residual block that utilises 1x1 convolutions to create a bottleneck. The…
Residual Connection 설명 없음
Residual Block Residual Blocks are skip-connection blocks that learn residual functions with reference to the layer inputs, instead of learning unreferenced functions. They were introduced…
Average Pooling 설명 없음
Local Response Normalization Local Response Normalization is a normalization layer that implements the idea of lateral inhibition. Lateral inhibition is a concept in neurobiology that refers to the…
Concatenated Skip Connection A Concatenated Skip Connection is a type of skip connection that seeks to reuse features by concatenating them to new layers, allowing more information to be retained from…
Bitcoin Customer Service Number +1-833-534-1729 설명 없음

Similar Papers 제목 키워드 기반

Streaming Architecture for Large-Scale Quantized Neural Networks on an FPGA-Based Dataflow Platform

2017-07-31 · Chaim Baskin, Natan Liss, Evgenii Zheltonozhskii, Alex M. Bronshtein 외

Deep neural networks (DNNs) are used by different applications that are executed on a range of computer architectures, from IoT devices to supercomputers. The footprint of these networks is huge as well as their computat…

General Classification

da4ml: Distributed Arithmetic for Real-time Neural Networks on FPGAs

2025-07-06 · Chang Sun, Zhiqiang Que, Vladimir Loncar, Wayne Luk 외

Neural networks with a latency requirement on the order of microseconds, like the ones used at the CERN Large Hadron Collider, are typically deployed on FPGAs fully unrolled and pipelined. A bottleneck for the deployment…

Towards Hardware Implementation of Neural Network-based Communication Algorithms

2019-02-19 · Fayçal Ait Aoudia, Jakob Hoydis

There is a recent interest in neural network (NN)-based communication algorithms which have shown to achieve (beyond) state-of-the-art performance for a variety of problems or lead to reduced implementation complexity. H…

Elastic Significant Bit Quantization and Acceleration for Deep Neural Networks

2021-09-08 · Cheng Gong, Ye Lu, Kunpeng Xie, Zongming Jin 외

Quantization has been proven to be a vital method for improving the inference efficiency of deep neural networks (DNNs). However, it is still challenging to strike a good balance between accuracy and efficiency while qua…

CPUGPUQuantization

C-LSTM: Enabling Efficient LSTM using Structured Compression Techniques on FPGAs

2018-03-14 · Shuo Wang, Zhe Li, Caiwen Ding, Bo Yuan 외

Recently, significant accuracy improvement has been achieved for acoustic recognition systems by increasing the model size of Long Short-Term Memory (LSTM) networks. Unfortunately, the ever-increasing size of LSTM model …