paper-with-me

Papers

Loss Aware Post-training Quantization

2019-11-17 · Yury Nahshan, Brian Chmiel, Chaim Baskin, Evgenii Zheltonozhskii, Ron Banner, Alex M. Bronstein, Avi Mendelson

Neural network quantization enables the deployment of large models on resource-constrained devices. Current post-training quantization methods fall short in terms of accuracy for INT4 (or lower) but provide reasonable accuracy for INT8 (or above). In this work, we study the effect of quantization on the structure of the loss landscape. Additionally, we show that the structure is flat and separable for mild quantization, enabling straightforward post-training quantization methods to achieve good results. We show that with more aggressive quantization, the loss landscape becomes highly non-separable with steep curvature, making the selection of quantization parameters more challenging. Armed with this understanding, we design a method that quantizes the layer parameters jointly, enabling significant accuracy improvement over current post-training quantization methods. Reference implementation is available at https://github.com/ynahshan/nn-quantization-pytorch/tree/master/lapq

📄 PDF Abstract BibTeX arXiv:1911.07190

Code (2)

ynahshan/nn-quantization-pytorch/tree/master/lapq 공식 구현 pytorch
ynahshan/nn-quantization-pytorch pytorch

Tasks

Quantization

Similar Papers 제목 키워드 기반

Attention Round for Post-Training Quantization

2022-07-07 · Huabin Diao, Gongyan Li, Shaoyun Xu, Yuexing Hao

At present, the quantification methods of neural network models are mainly divided into post-training quantization (PTQ) and quantization aware training (QAT). Post-training quantization only need a small part of the dat…

Combinatorial OptimizationQuantization

BayesQ: Uncertainty-Guided Bayesian Quantization

2025-11-11 · Ismail Lamaakal, Chaymae Yahyati, Yassine Maleh, Khalid El Makkaoui 외 arxiv

We present BayesQ, an uncertainty-guided post-training quantization framework that is the first to optimize quantization under the posterior expected loss. BayesQ fits a lightweight Gaussian posterior over weights (diago…

TSPTQ-ViT: Two-scaled post-training quantization for vision transformer

2023-05-22 · Yu-Shan Tai, Ming-Guang Lin, An-Yeu, Wu

Vision transformers (ViTs) have achieved remarkable performance in various computer vision tasks. However, intensive memory and computation requirements impede ViTs from running on resource-constrained edge devices. Due …

Quantization

Understanding the Difficulty of Low-Precision Post-Training Quantization for LLMs

2024-10-18 · Zifei Xu, Sayeh Sharify, Wanzin Yazar, Tristan Webb 외

Large language models of high parameter counts are computationally expensive, yet can be made much more efficient by compressing their weights to very low numerical precision. This can be achieved either through post-tra…

Quantization

Poster: Self-Supervised Quantization-Aware Knowledge Distillation

2023-09-22 · Kaiqi Zhao, Ming Zhao

Quantization-aware training (QAT) starts with a pre-trained full-precision model and performs quantization during retraining. However, existing QAT works require supervision from the labels and they suffer from accuracy …

Knowledge DistillationQuantization