paper-with-me

Papers

Learning Quantized Neural Nets by Coarse Gradient Method for Non-linear Classification

2020-11-23 · Ziang Long, Penghang Yin, Jack Xin

Quantized or low-bit neural networks are attractive due to their inference efficiency. However, training deep neural networks with quantized activations involves minimizing a discontinuous and piecewise constant loss function. Such a loss function has zero gradients almost everywhere (a.e.), which makes the conventional gradient-based algorithms inapplicable. To this end, we study a novel class of \emph{biased} first-order oracle, termed coarse gradient, for overcoming the vanished gradient issue. A coarse gradient is generated by replacing the a.e. zero derivatives of quantized (i.e., stair-case) ReLU activation composited in the chain rule with some heuristic proxy derivative called straight-through estimator (STE). Although having been widely used in training quantized networks empirically, fundamental questions like when and why the ad-hoc STE trick works, still lacks theoretical understanding. In this paper, we propose a class of STEs with certain monotonicity, and consider their applications to the training of a two-linear-layer network with quantized activation functions for non-linear multi-category classification. We establish performance guarantees for the proposed STEs by showing that the corresponding coarse gradient methods converge to the global minimum, which leads to a perfect classification. Lastly, we present experimental results on synthetic data as well as MNIST dataset to verify our theoretical findings and demonstrate the effectiveness of our proposed STEs.

📄 PDF Abstract BibTeX arXiv:2011.11256

Code (0)

등록된 구현이 없습니다.

Tasks

General Classification

Methods 이 논문이 사용한 방법론

ReLU How Do I Communicate to Expedia? How Do I Communicate to Expedia? – Call ☎️ +1-(888) 829 (0881) or +1-805-330-4056 or +1-805-330-4056 for Live Support & Special Travel…

Similar Papers 제목 키워드 기반

Understanding Straight-Through Estimator in Training Activation Quantized Neural Nets

2019-03-13 · ICLR 2019 5 · Penghang Yin, Jiancheng Lyu, Shuai Zhang, Stanley Osher 외

Training activation quantized neural networks involves minimizing a piecewise constant function whose gradient vanishes almost everywhere, which is undesirable for the standard back-propagation or chain rule. An empirica…

Negation

Blended Coarse Gradient Descent for Full Quantization of Deep Neural Networks

2018-08-15 · Penghang Yin, Shuai Zhang, Jiancheng Lyu, Stanley Osher 외

Quantized deep neural networks (QDNNs) are attractive due to their much lower memory storage and faster inference speed than their regular full precision counterparts. To maintain the same performance level especially at…

BinarizationQuantization

Recurrence of Optimum for Training Weight and Activation Quantized Networks

2020-12-10 · Ziang Long, Penghang Yin, Jack Xin

Deep neural networks (DNNs) are quantized for efficient inference on resource-constrained platforms. However, training deep learning models with low-precision weights and activations involves a demanding optimization tas…

NegationQuantization

Training Quantized Nets: A Deeper Understanding

2017-06-07 · NeurIPS 2017 12 · Hao Li, Soham De, Zheng Xu, Christoph Studer 외

Currently, deep neural networks are deployed on low-power portable devices by first training a full-precision model using powerful hardware, and then deriving a corresponding low-precision model for efficient inference o…

FrostNet: Towards Quantization-Aware Network Architecture Search

2020-06-17 · Taehoon Kim, Youngjoon Yoo, Jihoon Yang

INT8 quantization has become one of the standard techniques for deploying convolutional neural networks (CNNs) on edge devices to reduce the memory and computational resource usages. By analyzing quantized performances o…

Object DetectionQuantizationSemantic Segmentation