DICEQuant: Distortion-Compensated Rounding with Dual-Ended Shrinkage for LLM Quantization

Yuan Cheng, Xing Hu, Zukang Xu, Hui Wang, Xiaomeng Han, Dawei YangNeurIPS 2026

TL;DR

Shrinking massive Large Language Models (LLMs) down to 4-bit precision usually requires messy, heuristic approximations that leave accuracy on the table. DICEQuant replaces that guesswork with rigorous math, reshaping activation geometries with exact gradients and actively tweaking model weights to cancel out upstream quantization noise. The result is ~3x faster inference and nearly 4x smaller memory footprints while retaining over 96% of full-precision accuracy.

What Problem Does This Paper Address?

Deploying modern LLMs isn't usually bottlenecked by raw compute anymore—it's bottlenecked by the memory wall (moving billions of parameters around). Post-Training Quantization (PTQ) solves this by squishing 16-bit numbers into 4-bit integers without expensive retraining.

In extreme 4-bit regimes (quantizing both weights and activations, or W4A4), activation outliers ruin the party: a few massive numbers stretch the quantization grid so wide that all the normal, small values get rounded to zero (underflow). Current state-of-the-art methods apply learnable rotation matrices to smooth out these outliers, but they are hitting a wall due to two flaws:

  1. Opaque Activation Optimization: Because rounding is discrete (non-differentiable), existing methods rely on noisy hacks like the Straight-Through Estimator (STE) to learn rotations. This yields bell-curve-like distributions that still suffer from annoying tails and too many values crowded near zero.
  2. A "Twofold Blindness" in Weights: Standard weight-rounding algorithms (like GPTQ) optimize each layer assuming the incoming activations are pristine. In reality, inputs carry accumulated quantization noise from all the previous layers. Furthermore, they treat all output errors equally rather than checking whether an error actually hurts the final task loss.

Methods

DICEQuant splits the problem into two sequential, mathematically grounded stages—replacing black-box heuristics with analytical targets.

Figure 3: The DICEQuant Framework. (Left) CURE: We optimize the rotation matrix R via an exact, differentiable error decomposition (red backward flow), eliminating the variance of stochastic gradient estimators for activation reshaping. (Right) DCR: We optimize quantized weights by minimizing a global-aware objective. By explicitly accounting for upstream distortion and downstream sensitivity (via Hessian proxy), DCR aligns local reconstruction with the final task performance.
  • Stage 1: Activation Shaping via CURE (Coupled Underflow–Rounding Error). Following standard practice (like SpinQuant), the authors insert orthogonal rotation matrices into the Transformer blocks (fusing most into the weights for zero inference overhead). What's new is how they learn them. Instead of STE, they derive a theoretical upper bound on quantization error, splitting it into rounding error (governed by outliers) and underflow error (small values falling into the zero "dead-zone"). They turn this discrete bound into a smooth, differentiable surrogate loss using Log-Sum-Exp to softly penalize outliers and a sigmoid function to softly count dead-zone values. This allows exact, stable gradient descent directly on the Stiefel manifold (the space of orthogonal matrices).
  • Stage 2: Weight Optimization via DCR (Distortion-Compensated Rounding). Once rotations are fixed, layers are quantized sequentially using noisy calibration data flowing through the already-quantized prefix. Instead of rounding weights to match the original clean weights $W$, DCR calculates a Shifted Optimal Center ($W^\star$)—a linear filter that actively counteracts accumulated input distortion. Then, using a bilateral feedback loop, it projects $W^\star$ onto the 4-bit grid while shaping the rounding noise using the output Hessian (second-order curvature of the task loss).
Geometric intuition showing how DCR finds a low-loss flat valley around the noise-shifted optimal weight center.

Datasets

No new benchmarks are introduced; the authors use standard LLM datasets for calibration and testing:

  • Calibration & Perplexity: WikiText2 (128 samples of 2,048 tokens for calibration; test set for perplexity).
  • Zero-Shot Reasoning: Nine benchmarks via lm-evaluation-harness: BoolQ, HellaSwag, LAMBADA, OpenBookQA, PIQA, SIQA, WinoGrande, ARC-Easy, and ARC-Challenge.

Key Insights and Ideas

  • The Adversarial Coupling of Outliers and Dead-Zones: Intuitively, squishing outliers seems purely beneficial because it shrinks the quantization step size. However, the authors prove that shrinking the range dynamically alters the central "dead-zone," which can inadvertently swallow small activations and spike underflow error. By balancing both forces simultaneously, CURE sculpts activations into a compact, flat-topped (platykurtic) distribution that utilizes quantization bins far more evenly than Gaussian bell curves.
Figure 2: Visualization of activation distributions. (a) The original distribution suffers from extreme outliers. (b) Hadamard and (c) SpinQuant reshape activations into Gaussian profiles, yet they retain long tails and central clustering. (d) DICEQuant yields a significantly more compact range with a flatter top. This constrained geometry reduces the quantization step size, while the enhanced uniformity ensures effective bin utilization, thereby minimizing underflow errors caused by tail truncation and central crowding.
  • Euclidean Distance is a Trap in Noisy Networks: Even if you shift your weight target to account for noisy inputs (as recent baselines like GPTAQ do), simply rounding to the nearest grid point in Euclidean space can push weights onto a steep slope in the loss landscape. Weighting the projection by the output Hessian lets DICEQuant pick a grid point slightly further away geometrically, but safely nestled in a "flat valley" where the final output barely notices the error.

Key Results

Tested across LLaMA-2 (7B–70B), LLaMA-3 (8B, 70B), and Qwen3 (8B, 14B), DICEQuant consistently beats strong baselines like SpinQuant, QuaRot, OSTQuant, and DartQuant:

  • Accuracy Retention: Under aggressive 4-bit weight, activation, and KV-cache quantization (W4A4KV4), DICEQuant narrows the accuracy gap on Qwen3-8B to 96.11% of the 16-bit full-precision model (64.32% vs. 66.92% zero-shot average).
  • Beating SOTA: On LLaMA-3 8B (W4A4KV4), DICEQuant hits 65.78% average zero-shot accuracy and 7.15 WikiText2 perplexity, outperforming SpinQuant by +1.68% accuracy and DartQuant by +0.93%.
  • Real Hardware Speedups: Benchmarked on an RTX 3090 GPU, DICEQuant cuts memory usage by up to 3.70x (on a 30B model at 256 sequence length). Prefill speedups scale from 2.02x to 3.40x depending on model size and sequence length, alongside a steady ~3x decoding speedup.

Limitations and Future Work

Not discussed in the paper. (Note: The provided PDF comprises the main 10-page paper and references; formal limitations and broader impact statements are likely housed in the unattached appendix).

Summary updated

Abstract

Post-Training Quantization (PTQ) has become a prerequisite for efficient LLM deployment; however, current rotation-based methods are approaching a saturation point because they prioritize heuristic approximations over theoretical rigor. By treating quantization as an opaque black box, existing paradigms typically depend on indirect gradient estimators for activations while restricting weight optimization to local reconstruction objectives. Consequently, this structural limitation induces fundamental deficiencies: specifically, optimization instability and a "twofold blindness" toward accumulated upstream distortion and final task loss sensitivity. To overcome these barriers, we introduce $\textbf{DICEQuant}$, a unified framework established upon rigorous error modeling. First, we propose the $\textbf{CURE (Coupled Underflow-Rounding Error) surrogate}$, which facilitates exact and stable gradient computation for activation reshaping, thereby eliminating the variance inherent in heuristic estimators. Simultaneously, for weight optimization, we present $\textbf{Distortion-Compensated Rounding (DCR)}$. This mechanism derives a Shifted Optimal Center to neutralize input noise and utilizes Hessian-weighted shaping to align rounding decisions with the global functional objective. Empirical results demonstrate that DICEQuant significantly surpasses state-of-the-art baselines, successfully bridging the accuracy gap between low-bit compression and full-precision intelligence.
BibTeX
@inproceedings{cheng2026dicequant,
  author = {Yuan Cheng and Xing Hu and Zukang Xu and Hui Wang and Xiaomeng Han and Dawei Yang},
  title = {{DICEQuant: Distortion-Compensated Rounding with Dual-Ended Shrinkage for LLM Quantization}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=zk0THf3od5},
}
Figure