WaterKron and FlipFlop Hessian: Information-Theoretically Grounded Quantization with Kronecker-factored Hessians
Authors: Johann Birnick, Rayan Saab
Organizations: Department of Mathematics University of California San Diego La Jolla, CA 92093, USA · Department of Mathematics and HDSI University of California San Diego La Jolla, CA 92093, USA
How should a Kronecker-factored Hessian approximation be chosen for post-training quantization? We address this question through WaterKron, which combines two-sided GPTQ with row- and column-dependent waterfilling scales and entropy coding. We derive its high-rate distortion with respect to the full Hessian using an explicit Kronecker-Hessian mismatch factor Φ. This factor quantifies the asymptotic distortion penalty due to the Kronecker Hessian approximation and provides a criterion for selecting the factors optimally. Minimizing Φ leads to a Gaussian covariance-fitting problem with classical ``flip-flop'' updates. We thus give a rate-distortion justification for using the resulting FlipFlop Hessian in quantization. We evaluate it empirically, finding that the FlipFlop Hessian consistently improves KL divergence and perplexity over input-only, marginal, and Frobenius-based Hessian choices.
Figures & tables
Figure 1: Babai rounding for L=(2103) . Lattice points Ldiag(α)Z2 are represented by black dots. Target vectors Lw with w∼N(0,I2) are represented by blue dots. Each target is mapped to the lattice point at the center of its cell. The fundamental region E that contains the quantization errors is highlighted. On the left, the scaling factors are α=(1,1) , giving rectangular cells. On the right, they are chosen optimally as α=(3/6,2/6) , giving square cells while preserving the volume.
Name
Input factor A
Output factor B
Notes
Input
E[xxT]
Im
Recovers WaterSIC.
Marginal
E[xxT]
E[ggT]
Treats x,g as independent.
Frobenius
E[(gTBg)xxT]
E[(xTAx)ggT]
Targets ∥H−A⊗B∥F .
FlipFlop
E[(gTB−1g)xxT]
E[(xTA−1x)ggT]
Targets Φ(H,A⊗B) .
Table 1: Different Hessian approximations A⊗B of H=E[xxT⊗ggT] . Frobenius and FlipFlop approximations are computed using the alternating fixed-point iteration, starting from the identity matrix.
Figure 2: Llama-3.2-1B KL/PPL across rates for various Hessian approximations. (See Figure 3 .)
Appendix figures & tables7 assets
Supplementary material from the paper’s appendix.
Appendix
Figure 3: More detailed version of Figure 2 . Llama-3.2-1B quantized with all eight Hessian variants across various rates. “FlipFlop” outperforms all other Hessian approximations.
Pile10k
WikiText-2
Hessian
KL ↓
PPL ↓
KL ↓
PPL ↓
Unquantized
0.00
7.3
0.00
9.8
Input (WaterSIC)
1.14
22.5
1.60
49.3
Marginal
0.70
14.6
0.98
26.3
Frobenius-1
0.62
13.5
0.91
24.4
Frobenius-2
0.74
15.2
1.09
29.4
Appendix
Table 2: Llama-3.2-1B at a target rate of 2 bits per weight.
Pile10k
WikiText-2
Hessian
KL ↓
PPL ↓
KL ↓
PPL ↓
Unquantized
0.00
6.2
0.00
7.8
Input (WaterSIC)
0.46
9.5
0.72
15.8
Marginal
0.41
9.2
0.71
15.6
Frobenius-1
0.39
9.0
0.68
15.2
Frobenius-2
0.46
9.6
0.82
17.5
Appendix
Table 3: Llama-3.2-3B at a target rate of 2 bits per weight.
Pile10k
WikiText-2
Hessian
KL ↓
PPL ↓
KL ↓
PPL ↓
Unquantized
0.00
5.3
0.00
6.2
Input (WaterSIC)
0.41
7.9
0.62
11.6
Marginal
0.40
7.9
0.64
11.9
Frobenius-1
0.42
8.0
0.67
12.2
Frobenius-2
0.47
8.4
0.69
12.5
Appendix
Table 4: Llama-3.1-8B at a target rate of 2 bits per weight.
Pile10k
WikiText-2
Hessian
KL ↓
PPL ↓
KL ↓
PPL ↓
Unquantized
0.00
9.1
0.00
16.7
Input (WaterSIC)
0.78
17.2
1.11
37.2
Marginal
0.74
16.1
1.09
36.1
Frobenius-1
0.64
14.2
0.90
28.8
Frobenius-2
0.76
15.7
1.07
32.3
Appendix
Table 5: Qwen3-1.7B at a target rate of 2 bits per weight.
Pile10k
WikiText-2
Hessian
KL ↓
PPL ↓
KL ↓
PPL ↓
Unquantized
0.00
7.8
0.00
13.7
Input (WaterSIC)
0.39
10.1
0.61
19.7
Marginal
0.36
9.9
0.58
19.2
Frobenius-1
0.42
10.2
0.61
18.9
Frobenius-2
0.47
10.6
0.66
19.9
Appendix
Table 6: Qwen3-4B at a target rate of 2 bits per weight.
Pile10k
WikiText-2
Hessian
KL ↓
PPL ↓
KL ↓
PPL ↓
Unquantized
0.00
6.5
0.00
9.7
Input (WaterSIC)
0.28
7.9
0.45
13.0
Marginal
0.29
8.0
0.47
13.1
Frobenius-1
0.31
8.0
0.49
13.6
Frobenius-2
0.34
8.2
0.50
13.6
Appendix
Table 7: Qwen3-8B at a target rate of 2 bits per weight.