potentialpaper

SoftWater: The Rate-Distortion Geometry of Softmax Quantization

Keep the title, authors and abstract in paper.json

potentialpaper · 2026-11-23 19:47 UTC · 3bbc16f709d2 ·

.potentialpaper/metadata.json modified

+++ b/.potentialpaper/metadata.json
@@ -1,19 +1,5 @@
{
- "layout": 5,
- "identifiers": [
- {
- "scheme": "openreview",
- "value": "U3q0Ag8hN4"
- }
- ],
- "title": "SoftWater: The Rate-Distortion Geometry of Softmax Quantization",
- "authors": [],
- "abstract": "Post-training quantization methods typically optimize weighted mean-squared error (WMSE) on linear-layer outputs, yet the final softmax layer is fundamentally different: its relevant distortion is the change in the predictive distribution. \nWe formulate softmax-layer quantization as a rate-distortion problem under KL divergence and show that, to second order, its geometry is class-aware, coupling feature covariance with class-specific softmax curvature. \nThis distinction matters because output heads are often left in high precision even though, in modern language models, they can account for 15--30\\% of all parameters, and over half of the stored bytes once the body is quantized.\nWe introduce \\emph{SoftWater}, a practical quantizer derived from this KL geometry. \nA separable approximation reduces the otherwise prohibitive joint class-feature weighting to a single feature-side factorization together with inexpensive class-dependent rescaling, allowing the head to be quantized using statistics collected in one calibration pass. \nThe resulting allocation assigns precision according to the output class frequency discounted by its variance across inputs, which is especially important in highly imbalanced output spaces such as LLM vocabularies.\nAcross five language models from 1B to 32B parameters, SoftWater outperforms the released WaterSIC quantizer, near-optimal under WMSE, at matched head rates on 59 of 60 evaluation points, reducing head-induced KL by 6.5--8.3$\\times$ at 2 bits despite using none of WaterSIC's additional refinements. \nBecause the class-side statistic comes from calibration data, matching calibration to the deployment domain gives the lowest KL on that domain throughout. \nOn Llama-3.2-1B-Instruct with quantized bodies, where the tied head is also the embedding, a 2-bit head removes 45--60\\% of stored bytes for a 2.9--3.7\\% perplexity increase and a 4-bit head is near-lossless.\nThese results show that treating the softmax layer according to its own distortion geometry can make aggressive end-to-end model quantization practical.",
- "year": 2027,
- "venue": "ICLR 2027 (under review)",
- "source": "openreview",
- "license": {
- "metadata": "CC0-1.0",
- "abstract": "CC0-1.0"
- }
+ "layout": 6,
+ "kind": "paper",
+ "key": "47149b2a-32eb-4213-abdd-74b11290a82d"
}

paper.json added

+++ b/paper.json
@@ -0,0 +1,9 @@
+{
+ "title": "SoftWater: The Rate-Distortion Geometry of Softmax Quantization",
+ "authors": [],
+ "abstract": "Post-training quantization methods typically optimize weighted mean-squared error (WMSE) on linear-layer outputs, yet the final softmax layer is fundamentally different: its relevant distortion is the change in the predictive distribution. \nWe formulate softmax-layer quantization as a rate-distortion problem under KL divergence and show that, to second order, its geometry is class-aware, coupling feature covariance with class-specific softmax curvature. \nThis distinction matters because output heads are often left in high precision even though, in modern language models, they can account for 15--30\\% of all parameters, and over half of the stored bytes once the body is quantized.\nWe introduce \\emph{SoftWater}, a practical quantizer derived from this KL geometry. \nA separable approximation reduces the otherwise prohibitive joint class-feature weighting to a single feature-side factorization together with inexpensive class-dependent rescaling, allowing the head to be quantized using statistics collected in one calibration pass. \nThe resulting allocation assigns precision according to the output class frequency discounted by its variance across inputs, which is especially important in highly imbalanced output spaces such as LLM vocabularies.\nAcross five language models from 1B to 32B parameters, SoftWater outperforms the released WaterSIC quantizer, near-optimal under WMSE, at matched head rates on 59 of 60 evaluation points, reducing head-induced KL by 6.5--8.3$\\times$ at 2 bits despite using none of WaterSIC's additional refinements. \nBecause the class-side statistic comes from calibration data, matching calibration to the deployment domain gives the lowest KL on that domain throughout. \nOn Llama-3.2-1B-Instruct with quantized bodies, where the tied head is also the embedding, a 2-bit head removes 45--60\\% of stored bytes for a 2.9--3.7\\% perplexity increase and a 4-bit head is near-lossless.\nThese results show that treating the softmax layer according to its own distortion geometry can make aggressive end-to-end model quantization practical.",
+ "license": {
+ "metadata": "CC0-1.0",
+ "abstract": "CC0-1.0"
+ }
+}