Model-Preserving Adaptive Rounding

Albert Tseng, Zhaofeng Sun, Christopher De Sa
5/29/2025
cs.LGcs.AI
quantization-pruning

No confident code implementation found for this paper.

Abstract

The goal of quantization is to produce a compressed model whose output distribution is as close to the original model's as possible. To do this tractably, most quantization algorithms minimize the immediate activation error of each layer as a proxy for the end-to-end error.

Show full abstract

However, this ignores the effect of future layers, making it a poor proxy. In this work, we introduce Yet Another Quantization Algorithm (YAQA), an adaptive rounding algorithm that directly considers the error at the network's output. YAQA introduces a series of theoretical results that culminate in the first end-to-end error bounds for quantization algorithms. First, we characterize the convergence time of adaptive rounding algorithms via the structure of their Hessian approximations. We then show that the end-to-end error can be bounded by the approximation's cosine similarity to the true Hessian. This admits a natural Kronecker-factored approximation with corresponding near-optimal Hessian sketches. YAQA is provably better than GPTQ/LDLQ and empirically reduces the error by $\approx 30\%$ over these methods. YAQA even achieves a lower error than quantization aware training. This translates to state of the art performance on downstream tasks, all while adding no inference overhead.

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{tseng2025modelpreserving,
  title  = {Model-Preserving Adaptive Rounding},
  author = {Albert Tseng and Zhaofeng Sun and Christopher De Sa},
  year   = {2025},
  eprint = {2505.22988},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.22988v3}
}

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/2505.22988.svg)](https://codeofpaper.com/paper/2505.22988)

Discussion