mlsanityData to 14 Oct 2026

GAQAT: gradient-adaptive quantization-aware training for domain generalization

arXiv 2412.05551 ↗First posted 7 Dec 2024cs.CVcited by 2

Not on the map. Why?

Abstract (arXiv)

Research on loss surface geometry, such as Sharpness-Aware Minimization (SAM), shows that flatter minima improve generalization. Recent studies further reveal that flatter minima can also reduce the domain generalization (DG) gap. However, existing flatness-based DG techniques predominantly operate within a full-precision training process, which is impractical for deployment on resource-constrained edge devices that typically rely on lower bit-width representations (e.g., 4 bits, 3 bits). Consequently, low-precision quantization-aware training is critical for optimizing these techniques in real-world applications. In this paper, we observe a significant degradation in performance when applying state-of-the-art DG-SAM methods to quantized models, suggesting that current approaches fail to preserve generalizability during the low-precision training process. To address this limitation, we propose a novel Gradient-Adaptive Quantization-Aware Training (GAQAT) framework for DG. Our approach begins by identifying the scale-gradient conflict problem in low-precision quantization, where the task loss and smoothness loss induce conflicting gradients for the scaling factors of quantizers, with certain layers exhibiting opposing gradient directions. This conflict renders the optimization of quantized weights highly unstable. To mitigate this, we further introduce a mechanism to quantify gradient inconsistencies and selectively freeze the gradients of scaling factors, thereby stabilizing the training process and enhancing out-of-domain generalization. Extensive experiments validate the effectiveness of the proposed GAQAT framework. On PACS, our 3-bit and 4-bit models outperform direct DG-QAT integration by up to 4.5%. On DomainNet, the 4-bit model achieves near-lossless performance compared to full precision, with improvements of 1.39% (4-bit) and 1.06% (3-bit) over the SOTA QAT baseline.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 49 of its 54 references that are in the map. First posted on arXiv 7 Dec 2024.

Builds on

49 of 54 references.

References · 49

  1. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  2. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  3. 2018MobileNetV2: Inverted Residuals and Linear Bottleneckscited by 4,795
  4. 2020Deformable DETR: Deformable Transformers for End-to-End Object Detectioncited by 3,422
  5. 2020Improved Baselines with Momentum Contrastive Learningcited by 2,287
  6. 2013Estimating or Propagating Gradients Through Stochastic Neurons for Conditional Computationcited by 2,079
  7. 2020Sharpness-Aware Minimization for Efficiently Improving Generalizationcited by 1,417
  8. 2020WILDS: A Benchmark of in-the-Wild Distribution Shiftscited by 1,375
  9. 2022DINO: DETR with Improved DeNoising Anchor Boxes for End-to-End Object Detectioncited by 1,319
  10. 2018Averaging Weights Leads to Wider Optima and Better Generalizationcited by 1,209
  11. 2017Visualizing the Loss Landscape of Neural Netscited by 1,130
  12. 2020In Search of Lost Domain Generalizationcited by 1,054
37 more
  1. 2017Deeper, Broader and Artier Domain Generalizationcited by 986
  2. 2021Segmenter: Transformer for Semantic Segmentationcited by 855
  3. 2021Generalizing to Unseen Domains: A Survey on Domain Generalizationcited by 766
  4. 2021Domain Generalization: A Surveycited by 764
  5. 2017Learning to Generalize: Meta-Learning for Domain Generalizationcited by 763
  6. 2019Learned Step Size Quantizationcited by 628
  7. 2013Domain Generalization via Invariant Feature Representationcited by 623
  8. 2020Up or Down? Adaptive Rounding for Post-Training Quantizationcited by 621
  9. 2016DoReFa-Net: Training Low Bitwidth Convolutional Neural Networks with Low Bitwidth Gradientscited by 569
  10. 2021Domain Generalization with MixStylecited by 566
  11. 2021A White Paper on Neural Network Quantizationcited by 472
  12. 2018PACT: Parameterized Clipping Activation for Quantized Neural Networkscited by 467
  13. 2018Generalizing to Unseen Domains via Adversarial Data Augmentationcited by 451
  14. 2019Domain Generalization by Solving Jigsaw Puzzlescited by 450
  15. 2021Towards Out-Of-Distribution Generalization: A Surveycited by 436
  16. 2021SWAD: Domain Generalization by Seeking Flat Minimacited by 434
  17. 2019Domain Generalization via Model-Agnostic Learning of Semantic Featurescited by 407
  18. 2020Domain Generalization using Causal Matchingcited by 225
  19. 2022Surrogate Gap Minimization Improves Sharpness-Aware Trainingcited by 172
  20. 2018Domain Generalization via Conditional Invariant Representationcited by 146
  21. 2022Towards Understanding Sharpness-Aware Minimizationcited by 146
  22. 2022Rethinking Semantic Segmentation: A Prototype Viewcited by 140
  23. 2022Causality Inspired Representation Learning for Domain Generalizationcited by 138
  24. 2022Towards Efficient and Scalable Sharpness-Aware Minimizationcited by 129
  25. 2022Overcoming Oscillations in Quantization-Aware Trainingcited by 119
  26. 2019Domain Agnostic Learning with Disentangled Representationscited by 108
  27. 2023Sharpness-Aware Gradient Matching for Domain Generalizationcited by 102
  28. 2021Towards Principled Disentanglement for Domain Generalizationcited by 91
  29. 2023Oscillation-free Quantization for Low-bit Vision Transformerscited by 57
  30. 2023Gradient Norm Aware Minimization Seeks First-Order Flatness and Improves Generalizationcited by 57
  31. 2022Mixed-Precision Neural Network Quantization via Learned Layer-wise Importancecited by 54
  32. 2023Enhancing Sharpness-Aware Optimization Through Variance Suppressioncited by 37
  33. 2023Flatness-Aware Minimization for Domain Generalizationcited by 27
  34. 2024A Survey on Evaluation of Out-of-Distribution Generalizationcited by 21
  35. 2023Rethinking the Evaluation Protocol of Domain Generalizationcited by 20
  36. 2024Retraining-free Model Quantization via One-Shot Weight-Coupling Learningcited by 13
  37. 2022Characterizing and Understanding the Behavior of Quantized Models for Reliable Deploymentcited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 1.

2 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024QT-DoG: Quantization-aware Training for Domain Generalization
  2. 2025Quantization Meets OOD: Generalizable Quantization-aware Training from a Flatness Perspective
  3. 2021Sharpness-aware Quantization for Deep Neural Networks
  4. 2025Learning from Loss Landscape: Generalizable Mixed-Precision Quantization via Adaptive Sharpness-Aware Gradient Aligning
  5. 2026StableQAT: Stable Quantization-Aware Training at Ultra-Low Bitwidths
  6. 2026Understanding Quantization-Aware Training: Gradients at Quantized Weights Bias to the Low-Loss Basin
  7. 2024AdaQAT: Adaptive Bit-Width Quantization-Aware Training
  8. 2024QGen: On the Ability to Generalize in Quantization Aware Training