ResCom: Activation Residual Compensation for Large Language Model Quantization

Ning Yang, Bohan Cui, Zhuowen Liu, Yuting Wang
10/25/2026
cs.LGcs.AI
quantization-pruning

No confident code implementation found for this paper.

Abstract

Low-bit weight--activation quantization reduces the memory and computation needed to deploy large language models, but activation rounding can still degrade accuracy after calibration. Reconstruction from rounded inputs cannot distinguish activations within the same quantization bin.

Show full abstract

We propose ResCom, a low-rank correction that uses the activation rounding residual to compensate for the resulting layer-output error. An output-aware calibration procedure selects residual directions by their contribution to output reconstruction and computes the correction in closed form, without gradient training or updates to the calibrated weights. On Llama-3-8B with 4-bit weights and activations, rank-32 attention corrections reduce WikiText-2 perplexity from 7.708 to 7.147, improve MMLU by 2.89 percentage points, and raise five-shot GSM8K accuracy from 23.96 to 36.16 percent. Evaluations on models from 1B to 70B parameters and on held-out C4 test the method beyond this setting. The evaluated FP32 implementation adds 2.25 percent to 4K prefill time; a separate compact-storage implementation retains a 27.7 percent peak-memory reduction relative to FP16.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{yang2026rescom,
  title  = {ResCom: Activation Residual Compensation for Large Language Model Quantization},
  author = {Ning Yang and Bohan Cui and Zhuowen Liu and Yuting Wang},
  year   = {2026},
  eprint = {2610.35955},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.35955v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2610.35955.svg)](https://codeofpaper.com/paper/2610.35955)

Discussion