Manuscript Offprint

arXiv:2610.40345

A Unified Hessian-Guided Framework for Post-Training Quantization

Mads Toftrup, Marco Federici, Boris van Breugel, Paul Whatmough, Markus Nagel

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Mads Toftrup*†

Aarhus University

toftrup@cs.au.dk

Marco Federici*

Qualcomm AI Research

mfederic@qualcomm.com

Paul Whatmough

Qualcomm AI Research

pwhatmou@qualcomm.com

Boris van Breugel

Qualcomm AI Research

bvanbreu@qualcomm.com

Markus Nagel

Qualcomm AI Research

markusn@qualcomm.com

ABSTRACT

Low-bit quantization enables efficient deployment of large language models by reducing memory footprint and computational cost. Achieving high accuracy at low precision requires selecting quantization ranges, linear transformations, and weight rounding decisions. Existing approaches typically optimize these components independently using local reconstruction objectives, which fail to account for the varying impact of quantization errors on downstream predictions. Direct optimization of task-level metrics would provide a more faithful objective, but is challenging due to the discontinuous nature of quantization operations and the high computational cost of evaluating their downstream effects.

In this work, we derive a Hessian-guided approximation of the output change induced by joint weight and activation quantization. Based on a tractable Fisher approximation, we formulate a unified post-training quantization framework that enables the joint optimization of quantization ranges, linear transformations, and weight rounding under a common output-sensitivity objective. The resulting method remains practical for modern large language models and consistently outperforms state-of-the-art transformation and rounding methods across both channel-wise and block-wise quantization settings.

1 INTRODUCTION

Large language models achieve strong performance across a wide range of language tasks, but their memory and computational requirements make deployment expensive. Quantization reduces these costs by representing weights and activations at lower precision, improving memory efficiency and enabling faster integer computation. The central challenge is to obtain these benefits while preserving the predictions of the full-precision model.

We focus on integer post-training quantization (PTQ) of both weights and activations. A small calibration set informs the quantization parameters. At a fixed bit width, accuracy depends on the quantization ranges, rounding choices, and representation basis. Quantization ranges set the scales: narrower ranges give finer grids but can increase clipping error. Rounding then selects weights on those grids. Both choices operate on a given representation of the layer. An invertible, function-preserving transform (van Breugel et al., 2026), such as a rotation or Hadamard transform (Ashkboos et al., 2024b), changes that representation by redistributing weight and activation magnitudes while preserving the full-precision layer output. Range selection and transforms can address both weights and activations, whereas adaptive rounding primarily addresses weights.

Local reconstruction evaluates these choices by the error they introduce at a layer's output. But, as shown in Figure 1, the magnitude of local perturbations is not necessarily a good proxy for the

∗^{*}Equal contribution (shared first authorship).

†^{\dagger}Work done while doing an internship at Qualcomm AI Research.

Qualcomm AI Research is an initiative of Qualcomm Technologies, Inc.

Figure

Figure 1: Relationship between the KL divergence between the original and quantized model outputs and several layer-local error proxies across linear layers of Llama 3.2 1B Instruct under W4A4 quantization. Conventional reconstruction metrics, such as the output Frobenius norm, exhibit weak correlation with downstream output degradation. Fisher-weighted weight error fails to capture the effect of activation quantization. Output Fisher-weighted error correlates more strongly with the KL divergence, and our proposed Kronecker factorization of the Output Fisher retains this correlation.

changes in the model output. Existing methods (Tseng et al., 2026) capture these downstream effects through an approximation to the Hessian of the full-model output KL divergence with respect to a layer's weights. However, methods based on the Weight Hessian fail to capture the error introduced by quantizing the activations (Figure 1, second column).

In this work, we use a quadratic expansion of the KL divergence between the original and quantized model predictions around the layer output with a tractable approximation (Figure 1, third and last column). This lets us derive a unified algorithm that optimizes transformations, range setting, and weight rounding under the same curvature metric, accounting for the downstream effects of both weight and activation quantization.

Our contributions are:

• We introduce a layer Output Kronecker-factorized approximation to the layer-output Fisher matrix that defines a quadratic proxy for the KL divergence between original and quantized outputs, accounting for both weight and activation quantization.

• Using the output Kronecker factorization, we derive HZH_{Z}-PTQ, a unified procedure for transformation design, weight range selection, adaptive rounding, and activation clipping under a common downstream-sensitivity objective.

• We demonstrate improvements over existing PTQ baselines across multiple model families and quantization granularities.

References (37)