Enregistré dans:
Détails bibliographiques
Auteurs principaux: Sun, Ziteng, Benton, Adrian, Kushnir, Samuel, Trockman, Asher, Singh, Vikas, Diggavi, Suhas, Suresh, Ananda Theertha
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:https://arxiv.org/abs/2511.19705
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866908673263009792
author Sun, Ziteng
Benton, Adrian
Kushnir, Samuel
Trockman, Asher
Singh, Vikas
Diggavi, Suhas
Suresh, Ananda Theertha
author_facet Sun, Ziteng
Benton, Adrian
Kushnir, Samuel
Trockman, Asher
Singh, Vikas
Diggavi, Suhas
Suresh, Ananda Theertha
contents Post-training quantization is an effective method for reducing the serving cost of large language models, where the standard approach is to use a round-to-nearest quantization level scheme. However, this often introduces large errors due to outliers in the weights. Proposed mitigation mechanisms include applying adaptive rounding, random rotation transformations or committing to a post-training target using calibration data. Unfortunately, this reliance on calibration data can be severely limiting in some real-world scenarios as such data may be unavailable or subject to privacy regulations. In this paper, we propose algorithms to optimize transformations and adaptive rounding without access to any calibration data. The optimization is achieved by designing a suitable proxy function for the quantization loss without calibration data. To maintain inference efficiency, we perform structured matrix transformations for single matrices. For paired weights that interact directly in the computation graph, we use dual matrix transformations and adaptive rounding methods. We conduct experiments on Gemma 2 models, and observe consistent improvement over the baselines. For Gemma 2 9B quantization, our method improves the average benchmark score from 61.9 to 62.4 for 4-bit quantization and from 52.0 to 60.6 for 3-bit quantization, while adding less than 3% of computation overhead. Furthermore, our method achieves performance comparable to the commonly used GPTQ method, which requires calibration data.
format Preprint
id arxiv_https___arxiv_org_abs_2511_19705
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle CafeQ: Calibration-free Quantization via Learned Transformations and Adaptive Rounding
Sun, Ziteng
Benton, Adrian
Kushnir, Samuel
Trockman, Asher
Singh, Vikas
Diggavi, Suhas
Suresh, Ananda Theertha
Machine Learning
Post-training quantization is an effective method for reducing the serving cost of large language models, where the standard approach is to use a round-to-nearest quantization level scheme. However, this often introduces large errors due to outliers in the weights. Proposed mitigation mechanisms include applying adaptive rounding, random rotation transformations or committing to a post-training target using calibration data. Unfortunately, this reliance on calibration data can be severely limiting in some real-world scenarios as such data may be unavailable or subject to privacy regulations. In this paper, we propose algorithms to optimize transformations and adaptive rounding without access to any calibration data. The optimization is achieved by designing a suitable proxy function for the quantization loss without calibration data. To maintain inference efficiency, we perform structured matrix transformations for single matrices. For paired weights that interact directly in the computation graph, we use dual matrix transformations and adaptive rounding methods. We conduct experiments on Gemma 2 models, and observe consistent improvement over the baselines. For Gemma 2 9B quantization, our method improves the average benchmark score from 61.9 to 62.4 for 4-bit quantization and from 52.0 to 60.6 for 3-bit quantization, while adding less than 3% of computation overhead. Furthermore, our method achieves performance comparable to the commonly used GPTQ method, which requires calibration data.
title CafeQ: Calibration-free Quantization via Learned Transformations and Adaptive Rounding
topic Machine Learning
url https://arxiv.org/abs/2511.19705