arXiv:2610.06260cs.CVOct 2026

Manuscript Offprint

arXiv:2610.06260

CentriQ: Calibration-Free Quantization of Diffusion Transformers via Exact Mean Centering

Nataša Jovanović, Mathieu Salzmann, Saqib Javed

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Diffusion transformers (DiTs) achieve state-of-the-art image generation, but their sampling cost limits deployment. Quantizing both weights and activations to 4 bits reduces this cost, yet existing methods fall short in one of two ways. Calibration-based methods are tied to a specific checkpoint and prompt distribution, whereas data-free Hadamard rotation, effective for LLMs, loses quality on DiTs. We show that this loss has a structural cause. Adaptive layer-norm conditioning adds a per-token mean to the activations, and at the widths of the evaluated DiTs, the Hadamard rotations used by data-free methods cannot spread this mean uniformly across coordinates. A single dominant direction therefore survives the rotation and sets the quantization range. We introduce CentriQ, a calibration-free quantizer that centers each token before rotation and restores the mean exactly through a rank-1 full-precision branch, so that per-token scales follow in closed form without data. Weights are fitted under a robust ℓp\ell_p objective that tracks the dense mode of each group and discounts heavy tails. Across three DiTs, CentriQ matches the quality of calibrated SVDQuant at 4 bits, whereas calibration-free weight quantizers with plain per-token activation quantization collapse or degrade substantially. CentriQ outperforms the strongest calibration-free method reported to date at 2-bit weights. It is also the first calibration-free method to retain usable image quality at 2-bit activations.

1 INTRODUCTION

Diffusion transformers (DiTs) (Peebles & Xie, 2023) underlie state-of-the-art text-to-image models, but sampling them is expensive. Each image requires many denoising steps, and each step is dominated by the linear layers of the transformer blocks. Unlike autoregressive LLM decoding, which at small batch sizes is limited by memory bandwidth, a DiT forward pass is compute-bound. Weight-only quantization (e.g. W4A16) therefore reduces memory but not latency, because the low-bit weights are upcast to 16 bits before the matrix multiply, so activations must be quantized as well.

The post-training methods that do reach W4A4 on diffusion models all rely on calibration. A prompt set is run through the model to fit smoothing factors, clipping ranges, rotations, or error-compensating weight updates to the activation statistics of that specific model. SVDQuant (Li et al., 2025), for instance, migrates activation outliers into the weights using smoothing factors computed from COCO caption prompts, absorbs the magnified weight outliers in a 16-bit low-rank branch, and in its final version also applies GPTQ to the residual.

Calibration has costs beyond its compute budget. It makes the quantized model depend on a dataset, it must be repeated for every model, fine-tune, and quantization configuration, and its quality depends on how well the calibration prompts and timesteps match the deployment distribution. Calibration-free methods that reach four-bit activations on image DiTs have appeared only recently (Sec. 2), and they evaluate on generation benchmarks that do not measure fidelity to the full-precision model.

Two properties of DiT activations make the calibration-free setting difficult. First, adaptive layer normalization shifts and rescales every token with conditioning-dependent parameters, so each activation vector carries a per-token mean. A normalized Hadamard rotation, the standard tool for spreading outliers, maps this component onto one or a few coordinates, and the resulting outlier sets the quantization range for the whole vector. Second, only regular Hadamard matrices, whose rows have equal sums, spread this component uniformly, and these exist only at orders n=4u2n = 4u^2. None of the hidden widths of PixArt- Σ\Sigma (1152), FLUX.1 (3072), and SANA-1.6B (2240) has this form, so rotation methods operate through block-structured or Kronecker constructions, which inherit the mean problem.

We present CentriQ, a calibration-free W4A4 post-training quantization method for DiTs that addresses both properties directly. It subtracts the per-token mean before rotation, quantizes only the residual, and restores the mean exactly as a rank-1 term in the layer output, so the quantization range no longer depends on the offset. The centered activation is rotated by a deterministic factorized Hadamard matrix, and weights are quantized to grouped INT4 under a robust ℓp\ell_p ( p<1p < 1) objective, so neither path uses calibration data.

Our contributions can be summarized as follows:

• We show that adaLN places a per-token mean in DiT activations, which a Hadamard rotation concentrates onto one or a few coordinates that set the quantization range (Figs. 1 and 2).

• We show that after centering, the rotated operand, its per-token scale, and its quantization error contain no term that depends on the row sums of the rotation (Sec. 4.2, App. C.5). The choice of rotation is thereby decoupled from the mean, so CentriQ mixes globally with factorized Hadamard matrices and restores the mean exactly as a rank-1 term in the GEMM epilogue.

• CentriQ uses no calibration data and reaches FID and ImageReward that match calibration-based methods at W4A4 on three DiT families. Furthermore, it surpasses the strongest reported calibration-free method at W2A4 and is the first calibration-free method to hold image quality at W4A2 (Tab. 1, Tab. 4, Tab. 5).

Our code and models will be made publicly available.

References (60)