Lune

ICML2024顶会

Sharpness-Aware Data Generation for Zero-shot Quantization

Hoang Anh Dung, Cuong Pham, Trung Le, Jianfei Cai, Thanh-Toan Do

摘要

Zero-shot quantization aims to learn a quantized model from a pre-trained full-precision model with no access to original real training data. The common idea in zero-shot quantization approaches is to generate synthetic data for quantizing the full-precision model. While it is well-known that deep neural networks with low sharpness have better generalization ability, none of the previous zero-shot quantization works considers the sharpness of the quantized model as a criterion for generating training data. This paper introduces a novel methodology that takes into account quantized model sharpness in synthetic data generation to enhance generalization. Specifically, we first demonstrate that sharpness minimization can be attained by maximizing gradient matching between the reconstruction loss gradients computed on synthetic and real validation data, under certain assumptions. We then circumvent the problem of the gradient matching without real validation set by approximating it with the gradient matching between each generated sample and its neighbors. Experimental evaluations on CIFAR-100 and ImageNet datasets demonstrate the superiority of the proposed method over the state-of-the-art techniques in low-bit quantization settings.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 5 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Antibody: Strengthening Defense Against Harmful Fine-Tuning for Large Language Models via Attenuating Harmful Gradient Influence 引用了 Unveiling m-Sharpness Through the Structure of Stochastic Gradient Noise
  • Antibody: Strengthening Defense Against Harmful Fine-Tuning for Large Language Models via Attenuating Harmful Gradient Influence 引用了 Sharpness-aware Minimization for Efficiently Improving Generalization
  • Unveiling m-Sharpness Through the Structure of Stochastic Gradient Noise 引用了 Surrogate Gap Minimization Improves Sharpness-Aware Training
  • Unveiling m-Sharpness Through the Structure of Stochastic Gradient Noise 引用了 Sharpness-aware Minimization for Efficiently Improving Generalization
  • Gradient-Aligned Calibration for Post-Training Quantization of Diffusion Models 引用了 Up or Down? Adaptive Rounding for Post-Training Quantization
  • Selective Coupling of Decoupled Informative Regions: Masked Attention Alignment for Data-Free Quantization of Vision Transformers 引用了 Learned Step Size quantization
  • Surrogate Gap Minimization Improves Sharpness-Aware Training 引用了 Sharpness-aware Minimization for Efficiently Improving Generalization
  • Learning from Loss Landscape: Generalizable Mixed-Precision Quantization via Adaptive Sharpness-Aware Gradient Aligning 引用了 Learned Step Size quantization
  • Learning from Loss Landscape: Generalizable Mixed-Precision Quantization via Adaptive Sharpness-Aware Gradient Aligning 引用了 Surrogate Gap Minimization Improves Sharpness-Aware Training
  • Learning from Loss Landscape: Generalizable Mixed-Precision Quantization via Adaptive Sharpness-Aware Gradient Aligning 引用了 Sharpness-aware Minimization for Efficiently Improving Generalization
  • Up or Down? Adaptive Rounding for Post-Training Quantization 引用了 Learned Step Size quantization
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper5

  1. Antibody: Strengthening Defense Against Harmful Fine-Tuning for Large Language Models via Attenuating Harmful Gradient InfluenceQuoc Minh Nguyen, Trung Le, Jing Wu, Anh Tuan Bui 等ICLR 2026 · 10 次引用
  2. Unveiling m-Sharpness Through the Structure of Stochastic Gradient NoiseHaocheng Luo, Mehrtash Harandi, Dinh Phung, Trung LeNeurIPS 2025 · 2 次引用
  3. Gradient-Aligned Calibration for Post-Training Quantization of Diffusion ModelsDung Anh Hoang, Cuong Pham, Trung Le, Jianfei Cai 等ICLR 2026 · 1 次引用
  4. Selective Coupling of Decoupled Informative Regions: Masked Attention Alignment for Data-Free Quantization of Vision TransformersBiao Qian, Yang Wang, Yong Wu, Jungong HanICML 2026 · 1 次引用
  5. Learning from Loss Landscape: Generalizable Mixed-Precision Quantization via Adaptive Sharpness-Aware Gradient AligningLianbo Ma, Jianlun Ma, Yuee Zhou, Guoyang Xie 等ICML 2025

它引用的 Paper17

  1. Sharpness-aware Minimization for Efficiently Improving GeneralizationPierre Foret, Ariel Kleiner, Hossein Mobahi, Behnam NeyshaburICLR 2021 · 1,861 次引用
  2. Learned Step Size quantizationSteven K. Esser, Jeffrey L. McKinstry, Deepika Bablani, Rathinakumar Appuswamy 等ICLR 2020 · 1,037 次引用
  3. Decoupled Knowledge DistillationBorui Zhao, Quan Cui, Renjie Song, Yiyu Qiu 等CVPR 2022 · 835 次引用
  4. Up or Down? Adaptive Rounding for Post-Training QuantizationMarkus Nagel, Rana Ali Amjad, Mart van Baalen, Christos Louizos 等ICML 2020 · 816 次引用
  5. Surrogate Gap Minimization Improves Sharpness-Aware TrainingJuntang Zhuang, Boqing Gong, Liangzhe Yuan, Yin Cui 等ICLR 2022 · 213 次引用

相关 Paper

  1. Zero-Shot Adversarial QuantizationYuang Liu, Wei Zhang, Jun WangCVPR 2021
  2. Hard Sample Matters a Lot in Zero-Shot QuantizationHuantong Li, Xiangmiao Wu, Fanbing Lv, Daihai Liao 等CVPR 2023
  3. It's All In the Teacher: Zero-Shot Quantization Brought Closer to the TeacherKanghyun Choi, Hyeyoon Lee, Deokki Hong, Joonsang Yu 等CVPR 2022 · 33 次引用
  4. Genie: Show Me the Data for QuantizationYongkweon Jeon, Chungman Lee, Ho-Young KimCVPR 2023
  5. SynQ: Accurate Zero-shot Quantization by Synthesis-aware Fine-tuningMinjun Kim, Jongjin Kim, U KangICLR 2025
黄昏的海面,两侧是细线勾勒的悬崖