Skip to main navigation Skip to search Skip to main content

Learning from Loss Landscape: Generalizable Mixed-Precision Quantization via Adaptive Sharpness-Aware Gradient Aligning

  • Lianbo Ma
  • , Jianlun Ma
  • , Yuee Zhou
  • , Guoyang Xie*
  • , Qiang He
  • , Zhichao Lu
  • *Corresponding author for this work

Research output: Chapters, Conference Papers, Creative and Literary WorksRGC 32 - Refereed conference paper (with host publication)peer-review

Abstract

Mixed Precision Quantization (MPQ) has become an essential technique for optimizing neural network by determining the optimal bitwidth per layer. Existing MPQ methods, however, face a major hurdle: they require a computationally expensive search for quantization policies on largescale datasets. To resolve this issue, we introduce a novel approach that first searches for quantization policies on small datasets and then generalizes them to large-scale datasets. This approach simplifies the process, eliminating the need for large-scale quantization fine-tuning and only necessitating model weight adjustment. Our method is characterized by three key techniques: sharpness-aware minimization for enhanced quantization generalization, implicit gradient direction alignment to handle gradient conflicts among different optimization objectives, and an adaptive perturbation radius to accelerate optimization. Both theoretical analysis and experimental results validate our approach. Using the CIFAR10 dataset (just 0.5% the size of ImageNet training data) for MPQ policy search, we achieved equivalent accuracy on ImageNet with a significantly lower computational cost, while improving efficiency by up to 150% over the baselines. © 2025 by the author(s).
Original languageEnglish
Title of host publicationProceedings of the 42nd International Conference on Machine Learning
PublisherML Research Press
Pages42081-42095
Number of pages15
Volume267
Publication statusPublished - 2025
Event42nd International Conference on Machine Learning (ICML 2025) - Vancouver Convention Center, Vancouver, Canada
Duration: 13 Jul 202519 Jul 2025
https://icml.cc/Conferences/2025

Publication series

NameProceedings of Machine Learning Research
ISSN (Print)2640-3498

Conference

Conference42nd International Conference on Machine Learning (ICML 2025)
Abbreviated titleICML 2025
PlaceCanada
CityVancouver
Period13/07/2519/07/25
Internet address

Funding

This work is supported in part by the National Natural Science Foundation of China under Grant 62472079 and the Fundamental Research Funds for the Central Universities (No.N2417003).

Fingerprint

Dive into the research topics of 'Learning from Loss Landscape: Generalizable Mixed-Precision Quantization via Adaptive Sharpness-Aware Gradient Aligning'. Together they form a unique fingerprint.

Cite this