# Absorbing Quantization Error by Deformable Noise Scheduler for Diffusion Models

DNS absorbs quantization error by shifting diffusion model timesteps

Mingrui Yang, Wei Huang, Hao Nan Sheng, Donglin Yang, Jichang Yang, Xin Yu and 4 more · International Conference on Machine Learning · 2026-9-29

- **Problem** Quantizing diffusion models to low-bit weights and activations distorts the noisy-state distribution at each step, since errors accumulate along the trajectory. PTQD only works with stochastic samplers.
- **Method** DNS treats quantization error as a timestep shift. It splits the error into an output-tied part and a residual, adds a calibrated uniform term, and remaps the step onto the original schedule.
- **Results** On class-conditional ImageNet with DiT-XL at W4A8, DNS lowers FID to 8.51 from 9.83 for PTQ4DiT alone.

## Why quantized diffusion sampling drifts

Post-training quantization (PTQ) shrinks diffusion models to low-bit weights and activations, which reduces model size and speeds up inference. Diffusion models are more sensitive to this than discriminative networks or autoregressive language models. The reason is that the same network runs at every denoising step, so errors accumulate along the trajectory and corrupt the assumed Gaussian noise distribution.

The quantity at stake is the timestep-wise marginal over the noisy state, which the paper says quantization distorts.

Existing fixes fall into two groups. Weight-reshaping methods reduce the error in each step's prediction but leave the drift of the distribution along the sampling chain untouched. Keeping sensitive branches in FP16 also clashes with integer-centric hardware. Noise-injection methods such as PTQD treat the leftover error as Gaussian noise and add it to the random term of a stochastic sampler.

The first weakness is the sampler, since PTQD only applies to stochastic sampling. The second is the noise itself, because the leftover error often departs from a Gaussian shape. Deterministic samplers and flow matching are left out, even though the paper notes that these frameworks dominate modern implementations.

## Making the quantization residual look Gaussian

The authors start by splitting the quantization error into a part tied to the network output and an independent residual. They write the total error as \\(\\Delta\\epsilon\_\\theta(x\_t,t) = k\\,\\epsilon\_\\theta(x\_t,t) + \\Delta'\\epsilon\_\\theta(x\_t,t)\\), with k as the correlation coefficient. PTQD approximates the independent residual as Gaussian, and that is the assumption the authors test.

Measured on this residual, the excess kurtosis is positive, so its tails are heavier than a Gaussian's. To pull the kurtosis toward zero, the authors add a zero-mean uniform term, which has lower kurtosis. That term's variance depends on the residual variance and its excess kurtosis, so the total variance is the sum of the two. The residual variance comes from a robust IQR-based estimator, since ordinary estimators react strongly to outliers.

The calibrated transformation \\(T\\) divides the quantized prediction by \\(1+k\\) and adds a scaled uniform term: \\(T(\\epsilon'\_\\theta(x\_t,t)) = \\epsilon'\_\\theta(x\_t,t)/(1+k) + W\_u \\cdot U(0,\\sigma\_u^2)\\). The slope k and the uniform variance are fitted during calibration, and W\_u in \[0,1\] sets how strong the correction is. All model outputs pass through this transformation before later analysis and sampling.

## Turning the variance shift into a timestep shift

After the correction, the quantized reverse step keeps the same mean but gets a larger variance. The extra term is \\(C\_1^2\\sigma\_{\\epsilon,t}^2\\), where \\(\\sigma\_{\\epsilon,t}^2\\) is the residual variance at timestep t and \\(C\_1\\) comes from the usual coefficients \\(\\bar\\alpha\_{t-1}\\), \\(\\bar\\alpha\_t\\) and \\(\\sigma\_t\\). The induced marginal then has variance \\(1-\\bar\\alpha\_{t-1}+C\_1^2\\sigma\_{\\epsilon,t}^2\\), which matches no forward marginal of the original schedule.

To restore equivalence, the authors introduce a scale \\(C\_2\\) and a non-integer timestep \\(\\tau\\). They set \\(C\_2 = \\sqrt{1+C\_1^2\\sigma\_{\\epsilon,t}^2}\\) and \\(\\bar\\alpha\_\\tau = \\bar\\alpha\_{t-1}/C\_2^2\\). With those choices, the quantized marginal and the scaled full-precision marginal at \\(\\tau\\) are statistically equivalent, which the authors show.

This is the sense in which quantization acts as a timestep shift.

The mapping is \\(x\_\\tau = x\_{t-1}/C\_2\\), but a non-integer \\(\\tau\\) doesn't fit a discrete sampler. Rounding \\(\\tau\\) adds error and can add denoising steps. Solving that relation for \\(\\bar\\alpha^q\_{t-1}\\) lines \\(\\tau\\) up with \\(t-1\\).

The schedule adapts to the residual variance at each timestep, with no extra steps or overhead. The residual statistics come from calibration on 3,000 prompts from COCO Captions 2014. The authors extend the same argument to flow matching with Gaussian conditional paths, in an appendix.

## LDM-4 and DiT-XL class-conditional results

The authors compare LDM-4 at W4A8 with Q-Diffusion and DiT-XL at W4A8 with PTQ4DiT on class-conditional ImageNet generation. LDM-4 runs 20 steps with guidance 3.0 at 256×256, and DiT-XL runs 20 steps with guidance 1.5 at 256×256. Each class-conditional evaluation generates 30,000 images.

On LDM-4, Q-Diffusion alone scored FID 10.68, and adding PTQD gave 10.32. Adding DNS gave 9.81, compared to 11.49 for the FP16 model. Image Reward moved from -0.014 for Q-Diffusion to 0.015 with DNS. The sFID drops to 9.42, below the FP16 value of 9.99.

That 8.51 sits below the FP16 value of 9.81. Adding PTQD raised FID to 14.01, and the authors say PTQD fails to produce acceptable results in this setting.

The authors read the PSNR change as different high-quality sampling paths, not as semantic drift or quality loss. PSNR measures pixel-level trajectory difference and can't validate distribution preservation or generation quality on its own.

## FLUX.1 flow matching and the 6-bit LoRA setting

FLUX.1 is the flow-matching model, evaluated on text-to-image generation with MJHQ-30K. The run uses 20 steps, guidance scale 3.5, and 256×256 resolution, with 10,000 images generated. The BF16 model scored FID 22.64, the reference for both SVDQuant settings.

The original SVDQuant keeps a W16A16 LoRA branch, which the authors say blocks a fully quantized integer pipeline. Image Reward rose from 0.877 to 0.890 under DNS. Here DNS is applied on top of a baseline that is already close to full precision.

To remove the higher-precision branch, the authors quantize the LoRA branch to 6-bit weights. With that change, SVDQuant's FID rose to 27.16, and DNS lowered it to 26.22. The authors state that all weights needed for inference then sit at 6 bits or less, so the model can run in integer arithmetic.

PTQD doesn't support flow matching, so FLUX.1 has no PTQD row in the table. The FLUX.1 comparison is therefore DNS against the SVDQuant baselines only.

## Limitations

The FLUX.1 result with a 6-bit LoRA still sits above the BF16 baseline, at 26.22 FID against 22.64. The DCNC step depends on the tunable weight W\_u and on the fitted slope k and uniform variance, and the main text doesn't tabulate a sweep over them. Further ablations are deferred to Appendix A.5.

PTQD isn't evaluated on flow-matching models at all, so the paper has no head-to-head comparison on FLUX.1. The flow-matching extension of DNS is derived in an appendix rather than in the main text.

PSNR decreases in some settings, which the authors attribute to different sampling paths. PSNR tracks pixel-level trajectory difference, so it can't show distribution preservation on its own.

## Paper info

- **Authors**: Mingrui Yang, Wei Huang, Hao Nan Sheng, Donglin Yang, Jichang Yang, Xin Yu, Huining Yu, Yuzhong Jiao, Zhongrui Wang, Xiaojuan Qi
- **Venue**: International Conference on Machine Learning · Published
- **First published**: 2026-9-29
- **Added**: 2026-11-26
- **Original paper terms**: [Check in the original ↗](https://proceedings.mlr.press/v306/yang26aa.html)
- **What we show**: Paper info and commentary

[Original paper ↗](https://proceedings.mlr.press/v306/yang26aa.html)

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

## Quote from the paper

Mingrui Yang, Wei Huang, Hao Nan Sheng, Donglin Yang, Jichang Yang, Xin Yu, Huining Yu, Yuzhong Jiao, Zhongrui Wang, Xiaojuan Qi (2026). Absorbing Quantization Error by Deformable Noise Scheduler for Diffusion Models. International Conference on Machine Learning. https://proceedings.mlr.press/v306/yang26aa.html

**BibTeX**

```
@article{yang2026absorbing,
  title = {{Absorbing Quantization Error by Deformable Noise Scheduler for Diffusion Models}},
  author = {Mingrui Yang and Wei Huang and Hao Nan Sheng and Donglin Yang and Jichang Yang and Xin Yu and Huining Yu and Yuzhong Jiao and Zhongrui Wang and Xiaojuan Qi},
  year = {2026},
  journal = {International Conference on Machine Learning},
  url = {https://proceedings.mlr.press/v306/yang26aa.html}
}
```

## Other paper commentary

- [Adversarial Vulnerability from Interference Between Features in Superposition](https://refivu.com/en/papers/cd94add6-68c0-4643-bc21-5a8a999fe6db-adversarial-vulnerability-from-interference-between-features.md)
- [Scalable Beckmann Maps Improve One-step Generation](https://refivu.com/en/papers/ba5444d1-474d-40f0-8026-1a34654b061f-scalable-beckmann-maps-improve-one-step-generation.md)
- [Single-Transformer Latent Diffusion](https://refivu.com/en/papers/59e9ca2d-5bae-4c22-8f79-65dd9e241471-single-transformer-latent-diffusion.md)
- [RL Post-Training in Diffusion Transformers Is Activation Steering](https://refivu.com/en/papers/8e69daf5-53b3-42ea-9077-9dab9a69dee1-rl-post-training-in-diffusion-transformers-is-activation.md)
- [A COMPASS to the Galaxy: Joint nucleosynthetic yield set comparison and parameter inference in Galactic chemical evolution](https://refivu.com/en/papers/803161fa-b170-404a-8277-1845a3939d87-a-compass-to-the-galaxy-joint-nucleosynthetic-yield.md)
- [Empowering Masked Diffusion Models to Self-Correct with Leave-One-Out Transformers](https://refivu.com/en/papers/aa23c75a-1959-445a-a3e9-da71095ed5a1-empowering-masked-diffusion-models-to-self-correct-with.md)
- [Expectile Regularization for Fast and Accurate Training of Neural Optimal Transport](https://refivu.com/en/papers/eed71a11-0424-45c6-8f8e-e7d5e94053d5-expectile-regularization-for-fast-and-accurate-training-of.md)
- [LT-Defense: Searching-free Backdoor Defense via Exploiting the Long-tailed Effect](https://refivu.com/en/papers/c01bf476-0bfc-4299-8aa1-c16d91137263-lt-defense-searching-free-backdoor-defense-via-exploiting.md)
- [Beyond Rewards in RL for Cyber Defence](https://refivu.com/en/papers/6aa739f2-d920-42cb-b98e-3d60222625e6-beyond-rewards-in-rl-for-cyber-defence.md)
- [Random Selection Reveals Implicit Knowledge Consensus in Code Generation](https://refivu.com/en/papers/3824968b-20fc-4c3a-89c4-30ce0f08c74f-random-selection-reveals-implicit-knowledge-consensus-in.md)
- [Identifying and Mitigating Errors in Gradient Aggregation of Distributed Data Parallel Training](https://refivu.com/en/papers/aea50068-a846-40ad-93b3-c639e4a4f4b9-identifying-and-mitigating-errors-in-gradient-aggregation-of.md)
- [Beyond task diversity: provable representation transfer for sequential multitask linear bandits](https://refivu.com/en/papers/6f518ea7-2bdf-47ac-a17e-67345dad8aa7-beyond-task-diversity-provable-representation-transfer-for.md)

## Terms in this paper

- [ImageNet](https://refivu.com/en/terms/5eadad128667-imagenet)
- [inception score](https://refivu.com/en/terms/25dbfbd4fd96-inception-score)
- [diffusion models](https://refivu.com/en/terms/39b044617fcd-diffusion-models)
- [post-training quantization](https://refivu.com/en/terms/7a204ed53df1-post-training-quantization)
- [class-conditional generation](https://refivu.com/en/terms/2d289bcf028a-class-conditional-generation)
- [Fréchet Inception Distance](https://refivu.com/en/terms/ec3a8fbff2d3-frechet-inception-distance)
- [LDM-4](https://refivu.com/en/terms/d021e496a9ae-ldm-4)

---

AI-written text can contain mistakes. [Refivu](https://refivu.com/en/papers/10a7b7b0-1927-4b83-a47b-a8a00da5f0c5-absorbing-quantization-error-by-deformable-noise-scheduler)
