STE Is Not a Heuristic: A Variational Justification in Quantization-Aware Training
Keep the title, authors and abstract in paper.json
potentialpaper · 2026-11-23 20:31 UTC · 440e98a33362 ·
.potentialpaper/metadata.json modified
+++ b/.potentialpaper/metadata.json@@ -1,19 +1,5 @@{- "layout": 5,- "identifiers": [- {- "scheme": "openreview",- "value": "ka1v0Eh0AU"- }- ],- "title": "STE Is Not a Heuristic: A Variational Justification in Quantization-Aware Training",- "authors": [],- "abstract": "The straight-through estimator (STE) is widely used in quantization-aware training (QAT) and other discrete optimization problems in deep learning, but it is considered to be a convenient heuristic with limited theoretical justification. We show that STE admits a principled variational derivation: starting from a variational relaxation of the combinatorial quantization objective under stochastic rounding, STE emerges as the first-order Taylor approximation of the multivariate expansion around the MAP configuration, placing it on rigorous theoretical footing. This variational perspective naturally extends beyond uniform grids: replacing stochastic rounding with a Laplace categorical distribution that is annealed toward the hard solution concentrates gradient signal on uncertain assignments and enables joint learning of non-uniform codebooks whose grid points migrate to minimise reconstruction error, an extension we call non-uniform latent QAT (NUL-QAT). Evaluating on the Qwen3 family (0.6B--32B) at 3-, 2-, and 1.58-bit precision with block-wise QAT, we find that NUL-QAT outperforms STE-QAT on WikiText perplexity and on MMLU, GSM8K, WinoGrande, HellaSwag, and ARC-C accuracy, with the largest gains at extreme bit-widths, confirming that the variational framework captures weight-distribution structure that uniform grids cannot. A custom Triton kernel evaluates the Laplace expectation without materialising the K-fold probability tensor, and the learned non-uniform grids allow efficient inference with lookup table-based kernels such as FLUTE.",- "year": 2027,- "venue": "ICLR 2027 (under review)",- "source": "openreview",- "license": {- "metadata": "CC0-1.0",- "abstract": "CC0-1.0"- }+ "layout": 6,+ "kind": "paper",+ "key": "00ec47a5-03ba-4065-867d-e8e1f111a7d7"}
paper.json added
+++ b/paper.json@@ -0,0 +1,9 @@+{+ "title": "STE Is Not a Heuristic: A Variational Justification in Quantization-Aware Training",+ "authors": [],+ "abstract": "The straight-through estimator (STE) is widely used in quantization-aware training (QAT) and other discrete optimization problems in deep learning, but it is considered to be a convenient heuristic with limited theoretical justification. We show that STE admits a principled variational derivation: starting from a variational relaxation of the combinatorial quantization objective under stochastic rounding, STE emerges as the first-order Taylor approximation of the multivariate expansion around the MAP configuration, placing it on rigorous theoretical footing. This variational perspective naturally extends beyond uniform grids: replacing stochastic rounding with a Laplace categorical distribution that is annealed toward the hard solution concentrates gradient signal on uncertain assignments and enables joint learning of non-uniform codebooks whose grid points migrate to minimise reconstruction error, an extension we call non-uniform latent QAT (NUL-QAT). Evaluating on the Qwen3 family (0.6B--32B) at 3-, 2-, and 1.58-bit precision with block-wise QAT, we find that NUL-QAT outperforms STE-QAT on WikiText perplexity and on MMLU, GSM8K, WinoGrande, HellaSwag, and ARC-C accuracy, with the largest gains at extreme bit-widths, confirming that the variational framework captures weight-distribution structure that uniform grids cannot. A custom Triton kernel evaluates the Laplace expectation without materialising the K-fold probability tensor, and the learned non-uniform grids allow efficient inference with lookup table-based kernels such as FLUTE.",+ "license": {+ "metadata": "CC0-1.0",+ "abstract": "CC0-1.0"+ }+}