Sharpness-aware Quantization for Deep Neural Networks
Not on the map. Why?
Abstract (arXiv)
Network quantization is a dominant paradigm of model compression. However, the abrupt changes in quantized weights during training often lead to severe loss fluctuations and result in a sharp loss landscape, making the gradients unstable and thus degrading the performance. Recently, Sharpness-Aware Minimization (SAM) has been proposed to smooth the loss landscape and improve the generalization performance of the models. Nevertheless, directly applying SAM to the quantized models can lead to perturbation mismatch or diminishment issues, resulting in suboptimal performance. In this paper, we propose a novel method, dubbed Sharpness-Aware Quantization (SAQ), to explore the effect of SAM in model compression, particularly quantization for the first time. Specifically, we first provide a unified view of quantization and SAM by treating them as introducing quantization noises and adversarial perturbations to the model weights, respectively. According to whether the noise and perturbation terms depend on each other, SAQ can be formulated into three cases, which are analyzed and compared comprehensively. Furthermore, by introducing an efficient training strategy, SAQ only incurs a little additional training overhead compared with the default optimizer (e.g., SGD or AdamW). Extensive experiments on both convolutional neural networks and Transformers across various datasets (i.e., ImageNet, CIFAR-10/100, Oxford Flowers-102, Oxford-IIIT Pets) show that SAQ improves the generalization performance of the quantized models, yielding the SOTA results in uniform quantization. For example, on ImageNet, SAQ outperforms AdamW by 1.2% on the Top-1 accuracy for 4-bit ViT-B/16. Our 4-bit ResNet-50 surpasses the previous SOTA method by 0.9% on the Top-1 accuracy.
Key facts. Cited by 25 papers in the map (data through 14 Oct 2026). Builds on 78 of its 109 references that are in the map. First posted on arXiv 24 Nov 2021.
Builds on
78 of 109 references.
References · 78
- 2017Attention Is All You Needcited by 60,361
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2015Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networkscited by 9,639
- 2020End-to-End Object Detection with Transformerscited by 7,414
- 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 5,045
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
- 2018MobileNetV2: Inverted Residuals and Linear Bottleneckscited by 4,795
- 2014Going Deeper with Convolutionscited by 4,241
38 more
- 2013Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computationcited by 2,079
- 2018DARTS: Differentiable Architecture Searchcited by 1,798
- 2016Neural Architecture Search with Reinforcement Learningcited by 1,499
- 2020Sharpness-Aware Minimization for Efficiently Improving Generalizationcited by 1,417
- 2016On Large-Batch Training for Deep Learning: Generalization Gap and Sharp Minimacited by 1,352
- 2017Visualizing the Loss Landscape of Neural Netscited by 1,130
- 2016XNOR-Net: ImageNet Classification Using Binary Convolutional Neural Networkscited by 849
- 2018Efficient Neural Architecture Search via Parameter Sharingcited by 837
- 2018ProxylessNAS: Direct Neural Architecture Search on Target Task and Hardwarecited by 673
- 2019Learned Step Size Quantizationcited by 628
- 2016DoReFa-Net: Training Low Bitwidth Convolutional Neural Networks with Low Bitwidth Gradientscited by 569
- 2017Computing Nonvacuous Generalization Bounds for Deep (Stochastic) Neural Networks with Many More Parameters than Training Datacited by 533
- 2019Fantastic Generalization Measures and Where to Find Themcited by 513
- 2021BRECQ: Pushing the Limit of Post-Training Quantization by Block Reconstructioncited by 479
- 2018PACT: Parameterized Clipping Activation for Quantized Neural Networkscited by 467
- 2018HAQ: Hardware-Aware Automated Quantization with Mixed Precisioncited by 443
- 2019HAWQ: Hessian AWare Quantization of Neural Networks with Mixed-Precisioncited by 402
- 2015Learning Deconvolution Network for Semantic Segmentationcited by 365
- 2016Entropy-SGD: Biasing Gradient Descent Into Wide Valleyscited by 359
- 2018Slimmable Neural Networkscited by 305
- 2021ASAM: Adaptive Sharpness-Aware Minimization for Scale-Invariant Learning of Deep Neural Networkscited by 293
- 2021Post-Training Quantization for Vision Transformercited by 278
- 2018LQ-Nets: Learned Quantization for Highly Accurate and Compact Deep Neural Networkscited by 274
- 2019HAWQ-V2: Hessian Aware trace-Weighted Quantization of Neural Networkscited by 261
- 2021When Vision Transformers Outperform ResNets without Pre-training or Strong Data Augmentationscited by 260
- 2021I-BERT: Integer-only BERT Quantizationcited by 255
- 2019Differentiable Soft Quantization: Bridging Full-Precision and Low-Bit Neural Networkscited by 238
- 2018Bi-Real Net: Enhancing the Performance of 1-bit CNNs With Improved Representational Capability and Advanced Training Algorithmcited by 235
- 2020LSQ+: Improving low-bit quantization through learnable offsets and better initializationcited by 189
- 2020ReActNet: Towards Precise Binary Neural Network with Generalized Activation Functionscited by 184
- 2020BinaryBERT: Pushing the Limit of BERT Quantizationcited by 178
- 2018Robustness via curvature regularization, and vice versacited by 175
- 2018Learning to Quantize Deep Networks by Optimizing Quantization Intervals with Task Losscited by 160
- 2019Quantization Networkscited by 153
- 2017Towards Accurate Binary Convolutional Neural Networkcited by 149
- 2019Additive Powers-of-Two Quantization: An Efficient Non-uniform Discretization for Neural Networkscited by 148
- 2021Efficient Sharpness-aware Minimization for Improved Training of Neural Networkscited by 137
- 2018Mixed Precision Quantization of ConvNets via Differentiable Neural Architecture Searchcited by 125
50 most cited of 78 All 78 (JSON)
Built on by
Citing papers per year: 2022: 6; 2023: 7; 2024: 5; 2025: 4; 2026: 3.
25 papers.
Sort:
- 2022NIPQ: Noise proxy-based Integrated Pseudo-Quantizationcited by 35
- 2022SDQ: Stochastic Differentiable Quantization with Mixed Precisioncited by 28
- 2023Patch-wise Mixed-Precision Quantization of Vision Transformercited by 15
- 2025Unifying Block-wise PTQ and Distillation-based QAT for Progressive Quantization toward 2-bit Instruction-Tuned LLMscited by 8
- 2022SQuAT: Sharpness- and Quantization-Aware Training for BERTcited by 7
- 2024QGen: On the Ability to Generalize in Quantization Aware Trainingcited by 7
- 2023Lookbehind-SAM: k steps back, 1 step forwardcited by 5
- 2025Sharpness-Aware Data Generation for Zero-shot Quantizationcited by 5
- 2022Neural Networks with Quantization Constraintscited by 4
- 2023Efficient and Effective Methods for Mixed Precision Neural Network Quantization for Faster, Energy-efficient Inferencecited by 3
- 2024Robust Training of Neural Networks at Arbitrary Precision and Sparsitycited by 3
- 2023The Split Matters: Flat Minima Methods for Improving the Performance of GNNscited by 2
13 more
- 2023Zero-Shot Sharpness-Aware Quantization for Pre-trained Language Modelscited by 2
- 2025Quantization Meets OOD: Generalizable Quantization-aware Training from a Flatness Perspectivecited by 2
- 2026Zero-Shot Quantization via Weight-Space Arithmeticcited by 2
- 2023On Calibration of Modern Quantized Efficient Neural Networkscited by 1
- 2024AdaQAT: Adaptive Bit-Width Quantization-Aware Trainingcited by 1
- 2024Fisher-aware Quantization for DETR Detectors with Critical-category Objectivescited by 1
- 2022SAMSON: Sharpness-Aware Minimization Scaled by Outlier Normalization for Improving DNN Generalization and Robustnesscited by 0
- 2022FlatENN: Train Flat for Enhanced Fault Tolerance of Quantized Deep Neural Networkscited by 0
- 2023CrAFT: Compression-Aware Fine-Tuning for Efficient Visual Task Adaptationcited by 0
- 2024Memory Faults in Activation-sparse Quantized Deep Neural Networks: Analysis and Mitigation using Sharpness-aware Trainingcited by 0
- 2025Nearly Lossless Adaptive Bit Switchingcited by 0
- 2026Certification of Machine Learning Models via Directional Sharpnesscited by 0
- 2026Neural Network Quantization by Learning Low-Loss Subspacescited by 0
- 2026Neural Network Quantization by Learning Low-Loss Subspaces23 Jun 2026
- 2026Certification of Machine Learning Models via Directional Sharpness23 Jun 2026
- 2026Zero-Shot Quantization via Weight-Space Arithmetic3 Apr 2026
- 2025Sharpness-Aware Data Generation for Zero-shot Quantization8 Oct 2025
- 2025Quantization Meets OOD: Generalizable Quantization-aware Training from a Flatness Perspective31 Aug 2025
- 2025Unifying Block-wise PTQ and Distillation-based QAT for Progressive Quantization toward 2-bit Instruction-Tuned LLMs10 Jun 2025
- 2025Nearly Lossless Adaptive Bit Switching3 Feb 2025
- 2024Robust Training of Neural Networks at Arbitrary Precision and Sparsity14 Sep 2024
- 2024Fisher-aware Quantization for DETR Detectors with Critical-category Objectives3 Jul 2024
- 2024Memory Faults in Activation-sparse Quantized Deep Neural Networks: Analysis and Mitigation using Sharpness-aware Training15 Jun 2024
- 2024AdaQAT: Adaptive Bit-Width Quantization-Aware Training22 Apr 2024
- 2024QGen: On the Ability to Generalize in Quantization Aware Training17 Apr 2024
13 more
- 2023Zero-Shot Sharpness-Aware Quantization for Pre-trained Language Models20 Oct 2023
- 2023On Calibration of Modern Quantized Efficient Neural Networks25 Sep 2023
- 2023Lookbehind-SAM: k steps back, 1 step forward31 Jul 2023
- 2023The Split Matters: Flat Minima Methods for Improving the Performance of GNNs15 Jun 2023
- 2023Patch-wise Mixed-Precision Quantization of Vision Transformer11 May 2023
- 2023CrAFT: Compression-Aware Fine-Tuning for Efficient Visual Task Adaptation8 May 2023
- 2023Efficient and Effective Methods for Mixed Precision Neural Network Quantization for Faster, Energy-efficient Inference30 Jan 2023
- 2022FlatENN: Train Flat for Enhanced Fault Tolerance of Quantized Deep Neural Networks29 Dec 2022
- 2022SAMSON: Sharpness-Aware Minimization Scaled by Outlier Normalization for Improving DNN Generalization and Robustness18 Nov 2022
- 2022Neural Networks with Quantization Constraints27 Oct 2022
- 2022SQuAT: Sharpness- and Quantization-Aware Training for BERT13 Oct 2022
- 2022SDQ: Stochastic Differentiable Quantization with Mixed Precision9 Jun 2022
- 2022NIPQ: Noise proxy-based Integrated Pseudo-Quantization2 Jun 2022
- 2022NIPQ: Noise proxy-based Integrated Pseudo-Quantizationcited by 35
- 2022SDQ: Stochastic Differentiable Quantization with Mixed Precisioncited by 28
- 2023Patch-wise Mixed-Precision Quantization of Vision Transformercited by 15
- 2025Unifying Block-wise PTQ and Distillation-based QAT for Progressive Quantization toward 2-bit Instruction-Tuned LLMscited by 8
- 2022SQuAT: Sharpness- and Quantization-Aware Training for BERTcited by 7
- 2024QGen: On the Ability to Generalize in Quantization Aware Trainingcited by 7
- 2023Lookbehind-SAM: k steps back, 1 step forwardcited by 5
- 2025Sharpness-Aware Data Generation for Zero-shot Quantizationcited by 5
- 2022Neural Networks with Quantization Constraintscited by 4
- 2023Efficient and Effective Methods for Mixed Precision Neural Network Quantization for Faster, Energy-efficient Inferencecited by 3
- 2024Robust Training of Neural Networks at Arbitrary Precision and Sparsitycited by 3
- 2023The Split Matters: Flat Minima Methods for Improving the Performance of GNNscited by 2
12 most cited of 25 All 25 (JSON)
- 2026Neural Network Quantization by Learning Low-Loss Subspaces23 Jun 2026
- 2026Certification of Machine Learning Models via Directional Sharpness23 Jun 2026
- 2026Zero-Shot Quantization via Weight-Space Arithmetic3 Apr 2026
- 2025Sharpness-Aware Data Generation for Zero-shot Quantization8 Oct 2025
- 2025Quantization Meets OOD: Generalizable Quantization-aware Training from a Flatness Perspective31 Aug 2025
- 2025Unifying Block-wise PTQ and Distillation-based QAT for Progressive Quantization toward 2-bit Instruction-Tuned LLMs10 Jun 2025
- 2025Nearly Lossless Adaptive Bit Switching3 Feb 2025
- 2024Robust Training of Neural Networks at Arbitrary Precision and Sparsity14 Sep 2024
- 2024Fisher-aware Quantization for DETR Detectors with Critical-category Objectives3 Jul 2024
- 2024Memory Faults in Activation-sparse Quantized Deep Neural Networks: Analysis and Mitigation using Sharpness-aware Training15 Jun 2024
- 2024AdaQAT: Adaptive Bit-Width Quantization-Aware Training22 Apr 2024
- 2024QGen: On the Ability to Generalize in Quantization Aware Training17 Apr 2024
12 newest of 25 All 25 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2024GAQAT: gradient-adaptive quantization-aware training for domain generalization
- 2022Train Flat, Then Compress: Sharpness-Aware Minimization Learns More Compressible Models
- 2026Quantization-Aware Regularizers for Deep Neural Networks Compression
- 2021BSQ: Exploring Bit-Level Sparsity for Mixed-Precision Neural Network Quantization
- 2023RepQ: Generalizing Quantization-Aware Training for Re-Parametrized Architectures
- 2025Stabilizing Quantization-Aware Training by Implicit-Regularization on Hessian Matrix
- 2025Sensitivity-Aware Post-Training Quantization for Deep Neural Networks
- 2025MSQ: Memory-Efficient Bit Sparsification Quantization