Skip to content
nonconvexcard

Quantization Mathematics

Number formats, rounding error and its propagation, the Hessian-weighted objective behind GPTQ, and why a handful of outlier features breaks naive INT8.

3 topics11 problems (4% of the database)assumes Deep Learningassumes Foundations

Level 2 — Advanced

Level 3 — Graduate

Problems (11)

Open in the browser
SolvedProblemTypeDifficultyTime
The round-trip error boundProofFoundation15 min
The true bit width of a group-quantized formatNumericalFoundation15 min
Effective bits lost to dynamic rangeNumericalBeginner15 min
Six decibels per bit, and what outliers costNumericalBeginner30 min
The Δ²/12 noise varianceProofBeginner15 min
Migrating quantization difficultyNumericalIntermediate30 min
Which weight to quantize nextProofIntermediate30 min
Derive the optimal weight update abyssProofAdvanced1 hour
Implement Hessian-aware rounding runCodingAdvanced1 day
Optimal clipping for a Laplace-distributed tensorProofAdvanced1 hour
The rank-one inverse update abyssProofGraduate1 hour