paper-with-me

홈 › Papers

Propagating Asymptotic-Estimated Gradients for Low Bitwidth Quantized Neural Networks

2020-03-04 · Jun Chen, Yong liu, Hao Zhang, Shengnan Hou, Jian Yang

The quantized neural networks (QNNs) can be useful for neural network acceleration and compression, but during the training process they pose a challenge: how to propagate the gradient of loss function through the graph flow with a derivative of 0 almost everywhere. In response to this non-differentiable situation, we propose a novel Asymptotic-Quantized Estimator (AQE) to estimate the gradient. In particular, during back-propagation, the graph that relates inputs to output remains smoothness and differentiability. At the end of training, the weights and activations have been quantized to low-precision because of the asymptotic behaviour of AQE. Meanwhile, we propose a M-bit Inputs and N-bit Weights Network (MINW-Net) trained by AQE, a quantized neural network with 1-3 bits weights and activations. In the inference phase, we can use XNOR or SHIFT operations instead of convolution operations to accelerate the MINW-Net. Our experiments on CIFAR datasets demonstrate that our AQE is well defined, and the QNNs with AQE perform better than that with Straight-Through Estimator (STE). For example, in the case of the same ConvNet that has 1-bit weights and activations, our MINW-Net with AQE can achieve a prediction accuracy 1.5\% higher than the Binarized Neural Network (BNN) with STE. The MINW-Net, which is trained from scratch by AQE, can achieve comparable classification accuracy as 32-bit counterparts on CIFAR test sets. Extensive experimental results on ImageNet dataset show great superiority of the proposed AQE and our MINW-Net achieves comparable results with other state-of-the-art QNNs.

📄 PDF Abstract BibTeX arXiv:2003.04296

Code (0)

등록된 구현이 없습니다.

Methods 이 논문이 사용한 방법론

Convolution A convolution is a type of matrix operation, consisting of a kernel, a small matrix of weights, that slides over input data performing element-wise multiplication with the…

Similar Papers 제목 키워드 기반

DoReFa-Net: Training Low Bitwidth Convolutional Neural Networks with Low Bitwidth Gradients

2016-06-20 · Shuchang Zhou, Yuxin Wu, Zekun Ni, Xinyu Zhou 외

We propose DoReFa-Net, a method to train convolutional neural networks that have low bitwidth weights and activations using low bitwidth parameter gradients. In particular, during backward pass, parameter gradients are s…

CPUGPUQuantization

QBitOpt: Fast and Accurate Bitwidth Reallocation during Training

2023-07-10 · Jorn Peters, Marios Fournarakis, Markus Nagel, Mart van Baalen 외

Quantizing neural networks is one of the most effective methods for achieving efficient inference on mobile and embedded devices. In particular, mixed precision quantized (MPQ) networks, whose layers can be quantized to …

Quantization

Understanding Quantization-Aware Training: Gradients at Quantized Weights Bias to the Low-Loss Basin

2026-06-08 · Hanyang Li, Jianhao Ma, Ying Cui arxiv

Post-training quantization (PTQ) converts a trained full-precision model into low-bit weights without task-level retraining, while quantization-aware training (QAT) incorporates quantization into the training loop. Altho…

A Statistical Framework for Low-bitwidth Training of Deep Neural Networks

2020-10-27 · NeurIPS 2020 12 · Jianfei Chen, Yu Gai, Zhewei Yao, Michael W. Mahoney 외

Fully quantized training (FQT), which uses low-bitwidth hardware by quantizing the activations, weights, and gradients of a neural network model, is a promising approach to accelerate the training of deep neural networks…

Linguistic AcceptabilityNatural Language InferenceQuantizationSemantic Textual Similarity+1

FAMES: Fast Approximate Multiplier Substitution for Mixed-Precision Quantized DNNs--Down to 2 Bits!

2024-11-27 · Yi Ren, Ruge Xu, Xinfei Guo, Weikang Qian

A widely-used technique in designing energy-efficient deep neural network (DNN) accelerators is quantization. Recent progress in this direction has reduced the bitwidths used in DNN down to 2. Meanwhile, many prior works…

Quantization