Saved in:
Bibliographic Details
Main Authors: Xia, Peng, Pang, Junbiao, Cai, Tianyang
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2511.01462
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909884101951488
author Xia, Peng
Pang, Junbiao
Cai, Tianyang
author_facet Xia, Peng
Pang, Junbiao
Cai, Tianyang
contents Post-training quantization (PTQ) for vision transformers (ViTs) has garnered significant attention due to its efficiency in compressing models. However, existing methods typically overlook the relationship between a well-trained NN and the quantized model, leading to considerable quantization error for PTQ. However, it is unclear how to efficiently train a model-agnostic neural network which is tailored for a predefined precision low-bit model. In this paper, we firstly discover that a flat full precision neural network is crucial for low-bit quantization. To achieve this, we propose a framework that proactively pre-conditions the model by measuring and disentangling the error sources. Specifically, both the Activation Quantization Error (AQE) and the Weight Quantization Error (WQE) are statistically modeled as independent Gaussian noises. We study several noise injection optimization methods to obtain a flat minimum. Experimental results attest to the effectiveness of our approach. These results open novel pathways for obtaining low-bit PTQ models.
format Preprint
id arxiv_https___arxiv_org_abs_2511_01462
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Efficiently Training A Flat Neural Network Before It has been Quantizated
Xia, Peng
Pang, Junbiao
Cai, Tianyang
Computer Vision and Pattern Recognition
Artificial Intelligence
Post-training quantization (PTQ) for vision transformers (ViTs) has garnered significant attention due to its efficiency in compressing models. However, existing methods typically overlook the relationship between a well-trained NN and the quantized model, leading to considerable quantization error for PTQ. However, it is unclear how to efficiently train a model-agnostic neural network which is tailored for a predefined precision low-bit model. In this paper, we firstly discover that a flat full precision neural network is crucial for low-bit quantization. To achieve this, we propose a framework that proactively pre-conditions the model by measuring and disentangling the error sources. Specifically, both the Activation Quantization Error (AQE) and the Weight Quantization Error (WQE) are statistically modeled as independent Gaussian noises. We study several noise injection optimization methods to obtain a flat minimum. Experimental results attest to the effectiveness of our approach. These results open novel pathways for obtaining low-bit PTQ models.
title Efficiently Training A Flat Neural Network Before It has been Quantizated
topic Computer Vision and Pattern Recognition
Artificial Intelligence
url https://arxiv.org/abs/2511.01462