paper-with-me

홈 › Papers

Differentiable Soft Quantization: Bridging Full-Precision and Low-Bit Neural Networks

2019-08-14 · ICCV 2019 10 · Ruihao Gong, Xianglong Liu, Shenghu Jiang, Tianxiang Li, Peng Hu, Jiazhen Lin, Fengwei Yu, Junjie Yan

Hardware-friendly network quantization (e.g., binary/uniform quantization) can efficiently accelerate the inference and meanwhile reduce memory consumption of the deep neural networks, which is crucial for model deployment on resource-limited devices like mobile phones. However, due to the discreteness of low-bit quantization, existing quantization methods often face the unstable training process and severe performance degradation. To address this problem, in this paper we propose Differentiable Soft Quantization (DSQ) to bridge the gap between the full-precision and low-bit networks. DSQ can automatically evolve during training to gradually approximate the standard quantization. Owing to its differentiable property, DSQ can help pursue the accurate gradients in backward propagation, and reduce the quantization loss in forward process with an appropriate clipping range. Extensive experiments over several popular network structures show that training low-bit neural networks with DSQ can consistently outperform state-of-the-art quantization methods. Besides, our first efficient implementation for deploying 2 to 4-bit DSQ on devices with ARM architecture achieves up to 1.7$\times$ speed up, compared with the open-source 8-bit high-performance inference framework NCNN. [31]

📄 PDF Abstract BibTeX arXiv:1908.05033

Code (2)

flyingTan/DSQ pytorch
ricky40403/DSQ pytorch

Tasks

Quantization

Methods 이 논문이 사용한 방법론

SPEED The monocular depth estimation (MDE) is the task of estimating depth from a single frame. This information is an essential knowledge in many computer vision tasks such as scene…

Similar Papers 제목 키워드 기반

Differentiable Dynamic Quantization with Mixed Precision and Adaptive Resolution

2021-06-04 · Zhang Zhaoyang, Shao Wenqi, Gu Jinwei, Wang Xiaogang 외

Model quantization is challenging due to many tedious hyper-parameters such as precision (bitwidth), dynamic range (minimum and maximum discrete values) and stepsize (interval between discrete values). Unlike prior arts …

Quantization

Distance-aware Quantization

2021-08-16 · ICCV 2021 10 · Dohyung Kim, Junghyup Lee, Bumsub Ham

We address the problem of network quantization, that is, reducing bit-widths of weights and/or activations to lighten network architectures. Quantization methods use a rounding function to map full-precision values to th…

Quantization

Universally Quantized Neural Compression

2020-06-17 · NeurIPS 2020 12 · Eirikur Agustsson, Lucas Theis

A popular approach to learning encoders for lossy compression is to use additive uniform noise during training as a differentiable approximation to test-time quantization. We demonstrate that a uniform noise channel can …

Quantization

Search What You Want: Barrier Panelty NAS for Mixed Precision Quantization

2020-07-20 · ECCV 2020 8 · Haibao Yu, Qi Han, Jianbo Li, Jianping Shi 외

Emergent hardwares can support mixed precision CNN models inference that assign different bitwidths for different layers. Learning to find an optimal mixed precision model that can preserve accuracy and satisfy the speci…

Quantizationvalid

SDQ: Stochastic Differentiable Quantization with Mixed Precision

2022-06-09 · Xijie Huang, Zhiqiang Shen, Shichao Li, Zechun Liu 외

In order to deploy deep models in a computationally efficient manner, model quantization approaches have been frequently used. In addition, as new hardware that supports mixed bitwidth arithmetic operations, recent resea…

Knowledge DistillationNeural Architecture SearchQuantization