paper-with-me

홈 › Papers

Hard Sample Matters a Lot in Zero-Shot Quantization

2023-03-24 · CVPR 2023 1 · Huantong Li, Xiangmiao Wu, Fanbing Lv, Daihai Liao, Thomas H. Li, Yonggang Zhang, Bo Han, Mingkui Tan

Zero-shot quantization (ZSQ) is promising for compressing and accelerating deep neural networks when the data for training full-precision models are inaccessible. In ZSQ, network quantization is performed using synthetic samples, thus, the performance of quantized models depends heavily on the quality of synthetic samples. Nonetheless, we find that the synthetic samples constructed in existing ZSQ methods can be easily fitted by models. Accordingly, quantized models obtained by these methods suffer from significant performance degradation on hard samples. To address this issue, we propose HArd sample Synthesizing and Training (HAST). Specifically, HAST pays more attention to hard samples when synthesizing samples and makes synthetic samples hard to fit when training quantized models. HAST aligns features extracted by full-precision and quantized models to ensure the similarity between features extracted by these two models. Extensive experiments show that HAST significantly outperforms existing ZSQ methods, achieving performance comparable to models that are quantized with real data.

📄 PDF Abstract BibTeX arXiv:2303.13826

Code (1)

lihuantong/hast 공식 구현 pytorch

Tasks

Quantization

Similar Papers 제목 키워드 기반

SynQ: Accurate Zero-shot Quantization by Synthesis-aware Fine-tuning

2026-03-19 · Minjun Kim, Jongjin Kim, U Kang arxiv

How can we accurately quantize a pre-trained model without any data? Quantization algorithms are widely used for deploying neural networks on resource-constrained edge devices. Zero-shot Quantization (ZSQ) addresses the …

ZeroQuant(4+2): Redefining LLMs Quantization with a New FP6-Centric Strategy for Diverse Generative Tasks

2023-12-14 · Xiaoxia Wu, Haojun Xia, Stephen Youn, Zhen Zheng 외

This study examines 4-bit quantization methods like GPTQ in large language models (LLMs), highlighting GPTQ's overfitting and limited enhancement in Zero-Shot tasks. While prior works merely focusing on zero-shot measure…

Abstractive Text SummarizationCode GenerationQuantization

Infrared Domain Adaptation with Zero-Shot Quantization

2024-08-25 · Burak Sevsay, Erdem Akagündüz

Quantization is one of the most popular techniques for reducing computation time and shrinking model size. However, ensuring the accuracy of quantized models typically involves calibration using training data, which may …

Domain Adaptationobject-detectionObject DetectionQuantization

Zero-Shot Learning of a Conditional Generative Adversarial Network for Data-Free Network Quantization

2022-10-26 · Yoojin Choi, Mostafa El-Khamy, Jungwon Lee

We propose a novel method for training a conditional generative adversarial network (CGAN) without the use of training data, called zero-shot learning of a CGAN (ZS-CGAN). Zero-shot learning of a conditional generator on…

Data Free QuantizationGenerative Adversarial NetworkQuantizationZero-Shot Learning

A Generalized Zero-Shot Quantization of Deep Convolutional Neural Networks via Learned Weights Statistics

2021-12-06 · Prasen Kumar Sharma, Arun Abraham, Vikram Nelvoy Rajendiran

Quantizing the floating-point weights and activations of deep convolutional neural networks to fixed-point representation yields reduced memory footprints and inference time. Recently, efforts have been afoot towards zer…

Quantization