mlsanityData to 14 Oct 2026

Sharpness-aware Quantization for Deep Neural Networks

arXiv 2111.12273 ↗First posted 24 Nov 2021cs.CV cs.LGcited by 25

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

  1. 2017Attention Is All You Needcited by 60,361
  2. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  3. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  4. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  5. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  6. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  7. 2015Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networkscited by 9,639
  8. 2020End-to-End Object Detection with Transformerscited by 7,414
  9. 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 5,045
  10. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
  11. 2018MobileNetV2: Inverted Residuals and Linear Bottleneckscited by 4,795
  12. 2014Going Deeper with Convolutionscited by 4,241
38 more
  1. 2013Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computationcited by 2,079
  2. 2018DARTS: Differentiable Architecture Searchcited by 1,798
  3. 2016Neural Architecture Search with Reinforcement Learningcited by 1,499
  4. 2020Sharpness-Aware Minimization for Efficiently Improving Generalizationcited by 1,417
  5. 2016On Large-Batch Training for Deep Learning: Generalization Gap and Sharp Minimacited by 1,352
  6. 2017Visualizing the Loss Landscape of Neural Netscited by 1,130
  7. 2016XNOR-Net: ImageNet Classification Using Binary Convolutional Neural Networkscited by 849
  8. 2018Efficient Neural Architecture Search via Parameter Sharingcited by 837
  9. 2018ProxylessNAS: Direct Neural Architecture Search on Target Task and Hardwarecited by 673
  10. 2019Learned Step Size Quantizationcited by 628
  11. 2016DoReFa-Net: Training Low Bitwidth Convolutional Neural Networks with Low Bitwidth Gradientscited by 569
  12. 2017Computing Nonvacuous Generalization Bounds for Deep (Stochastic) Neural Networks with Many More Parameters than Training Datacited by 533
  13. 2019Fantastic Generalization Measures and Where to Find Themcited by 513
  14. 2021BRECQ: Pushing the Limit of Post-Training Quantization by Block Reconstructioncited by 479
  15. 2018PACT: Parameterized Clipping Activation for Quantized Neural Networkscited by 467
  16. 2018HAQ: Hardware-Aware Automated Quantization with Mixed Precisioncited by 443
  17. 2019HAWQ: Hessian AWare Quantization of Neural Networks with Mixed-Precisioncited by 402
  18. 2015Learning Deconvolution Network for Semantic Segmentationcited by 365
  19. 2016Entropy-SGD: Biasing Gradient Descent Into Wide Valleyscited by 359
  20. 2018Slimmable Neural Networkscited by 305
  21. 2021ASAM: Adaptive Sharpness-Aware Minimization for Scale-Invariant Learning of Deep Neural Networkscited by 293
  22. 2021Post-Training Quantization for Vision Transformercited by 278
  23. 2018LQ-Nets: Learned Quantization for Highly Accurate and Compact Deep Neural Networkscited by 274
  24. 2019HAWQ-V2: Hessian Aware trace-Weighted Quantization of Neural Networkscited by 261
  25. 2021When Vision Transformers Outperform ResNets without Pre-training or Strong Data Augmentationscited by 260
  26. 2021I-BERT: Integer-only BERT Quantizationcited by 255
  27. 2019Differentiable Soft Quantization: Bridging Full-Precision and Low-Bit Neural Networkscited by 238
  28. 2018Bi-Real Net: Enhancing the Performance of 1-bit CNNs With Improved Representational Capability and Advanced Training Algorithmcited by 235
  29. 2020LSQ+: Improving low-bit quantization through learnable offsets and better initializationcited by 189
  30. 2020ReActNet: Towards Precise Binary Neural Network with Generalized Activation Functionscited by 184
  31. 2020BinaryBERT: Pushing the Limit of BERT Quantizationcited by 178
  32. 2018Robustness via curvature regularization, and vice versacited by 175
  33. 2018Learning to Quantize Deep Networks by Optimizing Quantization Intervals with Task Losscited by 160
  34. 2019Quantization Networkscited by 153
  35. 2017Towards Accurate Binary Convolutional Neural Networkcited by 149
  36. 2019Additive Powers-of-Two Quantization: An Efficient Non-uniform Discretization for Neural Networkscited by 148
  37. 2021Efficient Sharpness-aware Minimization for Improved Training of Neural Networkscited by 137
  38. 2018Mixed Precision Quantization of ConvNets via Differentiable Neural Architecture Searchcited by 125

50 most cited of 78 All 78 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2022: 6; 2023: 7; 2024: 5; 2025: 4; 2026: 3.

25 papers.

Sort:

  1. 2022NIPQ: Noise proxy-based Integrated Pseudo-Quantizationcited by 35
  2. 2022SDQ: Stochastic Differentiable Quantization with Mixed Precisioncited by 28
  3. 2023Patch-wise Mixed-Precision Quantization of Vision Transformercited by 15
  4. 2025Unifying Block-wise PTQ and Distillation-based QAT for Progressive Quantization toward 2-bit Instruction-Tuned LLMscited by 8
  5. 2022SQuAT: Sharpness- and Quantization-Aware Training for BERTcited by 7
  6. 2024QGen: On the Ability to Generalize in Quantization Aware Trainingcited by 7
  7. 2023Lookbehind-SAM: k steps back, 1 step forwardcited by 5
  8. 2025Sharpness-Aware Data Generation for Zero-shot Quantizationcited by 5
  9. 2022Neural Networks with Quantization Constraintscited by 4
  10. 2023Efficient and Effective Methods for Mixed Precision Neural Network Quantization for Faster, Energy-efficient Inferencecited by 3
  11. 2024Robust Training of Neural Networks at Arbitrary Precision and Sparsitycited by 3
  12. 2023The Split Matters: Flat Minima Methods for Improving the Performance of GNNscited by 2
13 more
  1. 2023Zero-Shot Sharpness-Aware Quantization for Pre-trained Language Modelscited by 2
  2. 2025Quantization Meets OOD: Generalizable Quantization-aware Training from a Flatness Perspectivecited by 2
  3. 2026Zero-Shot Quantization via Weight-Space Arithmeticcited by 2
  4. 2023On Calibration of Modern Quantized Efficient Neural Networkscited by 1
  5. 2024AdaQAT: Adaptive Bit-Width Quantization-Aware Trainingcited by 1
  6. 2024Fisher-aware Quantization for DETR Detectors with Critical-category Objectivescited by 1
  7. 2022SAMSON: Sharpness-Aware Minimization Scaled by Outlier Normalization for Improving DNN Generalization and Robustnesscited by 0
  8. 2022FlatENN: Train Flat for Enhanced Fault Tolerance of Quantized Deep Neural Networkscited by 0
  9. 2023CrAFT: Compression-Aware Fine-Tuning for Efficient Visual Task Adaptationcited by 0
  10. 2024Memory Faults in Activation-sparse Quantized Deep Neural Networks: Analysis and Mitigation using Sharpness-aware Trainingcited by 0
  11. 2025Nearly Lossless Adaptive Bit Switchingcited by 0
  12. 2026Certification of Machine Learning Models via Directional Sharpnesscited by 0
  13. 2026Neural Network Quantization by Learning Low-Loss Subspacescited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2024GAQAT: gradient-adaptive quantization-aware training for domain generalization
  2. 2022Train Flat, Then Compress: Sharpness-Aware Minimization Learns More Compressible Models
  3. 2026Quantization-Aware Regularizers for Deep Neural Networks Compression
  4. 2021BSQ: Exploring Bit-Level Sparsity for Mixed-Precision Neural Network Quantization
  5. 2023RepQ: Generalizing Quantization-Aware Training for Re-Parametrized Architectures
  6. 2025Stabilizing Quantization-Aware Training by Implicit-Regularization on Hessian Matrix
  7. 2025Sensitivity-Aware Post-Training Quantization for Deep Neural Networks
  8. 2025MSQ: Memory-Efficient Bit Sparsification Quantization