mlsanityData to 14 Oct 2026

SQuAT: Sharpness- and Quantization-Aware Training for BERT

arXiv 2210.07171 ↗First posted 13 Oct 2022cs.LG cs.CLcited by 7

Not on the map. Why?

Abstract (arXiv)

Quantization is an effective technique to reduce memory footprint, inference latency, and power consumption of deep learning models. However, existing quantization methods suffer from accuracy degradation compared to full-precision (FP) models due to the errors introduced by coarse gradient estimation through non-differentiable quantization layers. The existence of sharp local minima in the loss landscapes of overparameterized models (e.g., Transformers) tends to aggravate such performance penalty in low-bit (2, 4 bits) settings. In this work, we propose sharpness- and quantization-aware training (SQuAT), which would encourage the model to converge to flatter minima while performing quantization-aware training. Our proposed method alternates training between sharpness objective and step-size objective, which could potentially let the model learn the most suitable parameter update magnitude to reach convergence near-flat minima. Extensive experiments show that our method can consistently outperform state-of-the-art quantized BERT models under 2, 3, and 4-bit settings on GLUE benchmarks by 1%, and can sometimes even outperform full precision (32-bit) models. Our experiments on empirical measurement of sharpness also suggest that our method would lead to flatter minima compared to other quantization methods.

Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Builds on 22 of its 26 references that are in the map. First posted on arXiv 13 Oct 2022.

Builds on

22 of 26 references.

References · 22

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
  3. 2013Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computationcited by 2,079
  4. 2017Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inferencecited by 1,593
  5. 2020Sharpness-Aware Minimization for Efficiently Improving Generalizationcited by 1,417
  6. 2016On Large-Batch Training for Deep Learning: Generalization Gap and Sharp Minimacited by 1,352
  7. 2021A Survey of Quantization Methods for Efficient Neural Network Inferencecited by 815
  8. 2019Learned Step Size Quantizationcited by 628
  9. 2019Q-BERT: Hessian Based Ultra Low Precision Quantization of BERTcited by 359
  10. 2019Q8BERT: Quantized 8Bit BERTcited by 300
  11. 2020The Lottery Ticket Hypothesis for Pre-trained BERT Networkscited by 275
  12. 2021When Vision Transformers Outperform ResNets without Pre-training or Strong Data Augmentationscited by 260
10 more
  1. 2021I-BERT: Integer-only BERT Quantizationcited by 255
  2. 2019A Comparative Study on Transformer vs RNN in Speech Applicationscited by 211
  3. 2020BinaryBERT: Pushing the Limit of BERT Quantizationcited by 178
  4. 2020TernaryBERT: Distillation-aware Ultra-low Bit BERTcited by 148
  5. 2021An Empirical Investigation of the Role of Pre-training in Lifelong Learningcited by 134
  6. 2020GOBO: Quantizing Attention-Based NLP Models for Low Latency and Energy Efficient Inferencecited by 106
  7. 2019Loss Aware Post-training Quantizationcited by 97
  8. 2019Trained Quantization Thresholds for Accurate and Efficient Fixed-Point Inference of Deep Neural Networkscited by 90
  9. 2021Learnable Companding Quantization for Accurate Low-bit Neural Networkscited by 42
  10. 2021Sharpness-aware Quantization for Deep Neural Networkscited by 25

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2023: 2; 2024: 2; 2025: 1; 2026: 2.

7 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025Continual Quantization-Aware Pre-Training: When to transition from 16-bit to 1.58-bit pre-training for BitNet language models?
  2. 2025An Extra RMSNorm is All You Need for Fine Tuning to 1.58 Bits
  3. 2024How to Parameterize Asymmetric Quantization Ranges for Quantization-Aware Training
  4. 2026SliderQuant: Accurate Post-Training Quantization for LLMs
  5. 2025Enhancing Ultra-Low-Bit Quantization of Large Language Models Through Saliency-Aware Partial Retraining
  6. 2024Squat: Quant Small Language Models on the Edge
  7. 2024Direct Quantized Training of Language Models with Stochastic Rounding
  8. 2025Mixed-Precision Quantization for Language Models: Techniques and Prospects