paper-with-me

Papers

LG-LSQ: Learned Gradient Linear Symmetric Quantization

2022-02-18 · Shih-ting Lin, Zhaofang Li, Yu-Hsiang Cheng, Hao-Wen Kuo, Chih-Cheng Lu, Kea-Tiong Tang

Deep neural networks with lower precision weights and operations at inference time have advantages in terms of the cost of memory space and accelerator power. The main challenge associated with the quantization algorithm is maintaining accuracy at low bit-widths. We propose learned gradient linear symmetric quantization (LG-LSQ) as a method for quantizing weights and activation functions to low bit-widths with high accuracy in integer neural network processors. First, we introduce the scaling simulated gradient (SSG) method for determining the appropriate gradient for the scaling factor of the linear quantizer during the training process. Second, we introduce the arctangent soft round (ASR) method, which differs from the straight-through estimator (STE) method in its ability to prevent the gradient from becoming zero, thereby solving the discrete problem caused by the rounding process. Finally, to bridge the gap between full-precision and low-bit quantization networks, we propose the minimize discretization error (MDE) method to determine an accurate gradient in backpropagation. The ASR+MDE method is a simple alternative to the STE method and is practical for use in different uniform quantization methods. In our evaluation, the proposed quantizer achieved full-precision baseline accuracy in various 3-bit networks, including ResNet18, ResNet34, and ResNet50, and an accuracy drop of less than 1% in the quantization of 4-bit weights and 4-bit activations in lightweight models such as MobileNetV2 and ShuffleNetV2.

📄 PDF Abstract BibTeX arXiv:2202.09009

Code (0)

등록된 구현이 없습니다.

Tasks

Quantization

Methods 이 논문이 사용한 방법론

Depthwise Convolution Depthwise Convolution is a type of convolution where we apply a single convolutional filter for each input channel. In the regular 2D…
Pointwise Convolution Pointwise Convolution is a type of convolution that uses a 1x1 kernel: a kernel that iterates through every single point. This…
Depthwise Separable Convolution While standard convolution performs the channelwise and spatial-wise computation in one step, Depthwise Separable Convolution
Batch Normalization 설명 없음
Inverted Residual Block 설명 없음
Average Pooling 설명 없음
1x1 Convolution A 1 x 1 Convolution is a convolution with some special properties in that it can be used for dimensionality reduction,…
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 제목 키워드 기반

Linear Symmetric Quantization of Neural Networks for Low-precision Integer Hardware

2020-05-01 · ICLR 2020 1 · Xiandong Zhao, Ying Wang, Xuyi Cai, Cheng Liu 외

With the proliferation of specialized neural network processors that operate on low-precision integers, the performance of Deep Neural Network inference becomes increasingly dependent on the result of quantization. Despi…

object-detectionObject DetectionQuantization

Nonlinear Stochastic Gradient Descent and Heavy-tailed Noise: A Unified Framework and High-probability Guarantees

2024-10-17 · Aleksandar Armacki, Shuhua Yu, Pranay Sharma, Gauri Joshi 외

We study high-probability convergence in online learning, in the presence of heavy-tailed noise. To combat the heavy tails, a general framework of nonlinear SGD methods is considered, subsuming several popular nonlineari…

Quantization

Probabilistic Learning Vector Quantization on Manifold of Symmetric Positive Definite Matrices

2021-02-01 · Fengzhen Tang, Haifeng Feng, Peter Tino, Bailu Si 외

In this paper, we develop a new classification method for manifold-valued data in the framework of probabilistic learning vector quantization. In many classification scenarios, the data can be naturally represented by sy…

EEGElectroencephalogram (EEG)General ClassificationMotor Imagery+1

Learning Multimodal Fixed-Point Weights using Gradient Descent

2019-07-16 · Lukas Enderich, Fabian Timm, Lars Rosenbaum, Wolfram Burgard

Due to their high computational complexity, deep neural networks are still limited to powerful processing units. To promote a reduced model complexity by dint of low-bit fixed-point quantization, we propose a gradient-ba…

Quantization

SYQ: Learning Symmetric Quantization For Efficient Deep Neural Networks

2018-07-01 · CVPR 2018 6 · Julian Faraone, Nicholas Fraser, Michaela Blott, Philip H. W. Leong

Inference for state-of-the-art deep neural networks is computationally expensive, making them difficult to deploy on constrained hardware environments. An efficient way to reduce this complexity is to quantize the weight…

Quantization