Saved in:
Bibliographic Details
Main Authors: Li, Shuaiting, Deng, Juncan, Xu, Kedong, Deng, Rongtao, Gu, Hong, Jiang, Minghan, Shen, Haibin, Huang, Kejie
Format: Preprint
Published: 2026
Subjects:
Online Access:https://arxiv.org/abs/2604.07955
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910115753361408
author Li, Shuaiting
Deng, Juncan
Xu, Kedong
Deng, Rongtao
Gu, Hong
Jiang, Minghan
Shen, Haibin
Huang, Kejie
author_facet Li, Shuaiting
Deng, Juncan
Xu, Kedong
Deng, Rongtao
Gu, Hong
Jiang, Minghan
Shen, Haibin
Huang, Kejie
contents Methods based on weight compensation, which iteratively apply quantization and weight compensation to minimize the output error, have recently demonstrated remarkable success in quantizing Large Language Models (LLMs). The representative work, GPTQ, introduces several key techniques that make such iterative methods practical for LLMs with billions of parameters. GPTAQ extends this approach by introducing an asymmetric calibration process that aligns the output of each quantized layer with its full-precision counterpart, incorporating a residual error into the weight compensation framework. In this work, we revisit the formulation of the residual error. We identify a sub-optimal calibration objective in existing methods: during the intra-layer calibration process, they align the quantized output with the output from compensated weights, rather than the true output from the original full-precision model. Therefore, we redefine the objective to precisely align the quantized model's output with the original output of the full-precision model at each step. We then reveal that the residual error originates not only from the output difference of the preceding layer but also from the discrepancy between the compensated and original weights within each layer, which we name the 'compensation-aware error'. By inheriting the neuron decomposition technique from GPTAQ, we can efficiently incorporate this compensation-aware error into the weight update process. Extensive experiments on various LLMs and quantization settings demonstrate that our proposed enhancements integrate seamlessly with both GPTQ and GPTAQ, significantly improving their quantization performance. Our code is publicly available at https://github.com/list0830/ResComp.
format Preprint
id arxiv_https___arxiv_org_abs_2604_07955
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Rethinking Residual Errors in Compensation-based LLM Quantization
Li, Shuaiting
Deng, Juncan
Xu, Kedong
Deng, Rongtao
Gu, Hong
Jiang, Minghan
Shen, Haibin
Huang, Kejie
Machine Learning
Methods based on weight compensation, which iteratively apply quantization and weight compensation to minimize the output error, have recently demonstrated remarkable success in quantizing Large Language Models (LLMs). The representative work, GPTQ, introduces several key techniques that make such iterative methods practical for LLMs with billions of parameters. GPTAQ extends this approach by introducing an asymmetric calibration process that aligns the output of each quantized layer with its full-precision counterpart, incorporating a residual error into the weight compensation framework. In this work, we revisit the formulation of the residual error. We identify a sub-optimal calibration objective in existing methods: during the intra-layer calibration process, they align the quantized output with the output from compensated weights, rather than the true output from the original full-precision model. Therefore, we redefine the objective to precisely align the quantized model's output with the original output of the full-precision model at each step. We then reveal that the residual error originates not only from the output difference of the preceding layer but also from the discrepancy between the compensated and original weights within each layer, which we name the 'compensation-aware error'. By inheriting the neuron decomposition technique from GPTAQ, we can efficiently incorporate this compensation-aware error into the weight update process. Extensive experiments on various LLMs and quantization settings demonstrate that our proposed enhancements integrate seamlessly with both GPTQ and GPTAQ, significantly improving their quantization performance. Our code is publicly available at https://github.com/list0830/ResComp.
title Rethinking Residual Errors in Compensation-based LLM Quantization
topic Machine Learning
url https://arxiv.org/abs/2604.07955