TL;DR
Compressing massive Diffusion Transformers (DiTs) down to ultra-low bit-widths (like 3-bit weights and 4-bit activations) usually destroys image quality because trying to tame extreme activation outliers inadvertently wrecks the weight distributions. The authors solve this tug-of-war by mathematically decoupling and balancing both activations and weights simultaneously, while introducing a clever "token splicing" trick to calibrate the model across diffusion timesteps without corrupting the statistics. The result? Crisp, high-fidelity generated images at extreme compression rates with zero runtime overhead.
What Problem Does This Paper Address?
Diffusion Transformers (DiTs) are the engines behind state-of-the-art image generation, but their massive size and iterative denoising steps make them painfully slow and heavy for edge devices. Post-training quantization (PTQ) shrinks these models by converting high-precision numbers into tiny integers (e.g., 4-bit or 3-bit) using just a small calibration dataset—no expensive retraining required.
However, DiTs have a notorious quirk: certain feature channels exhibit massive, structural "outliers" that carry vital global image information. If you squash these wide-ranging numbers into a 4-bit grid, rounding and clipping errors ruin the output.
Existing fixes face two major traps:
- The Whack-a-Mole Variance Trap: Recent methods rotate the feature space (using orthogonal matrices) to smooth out activation outliers. To keep the layer's math identical ($Y = (XG)(G^{-1}W^\top)$), the inverse transformation must be applied to the weights. Because prior methods only optimize $G$ for activations, they accidentally create severe variance imbalances in the weights, causing catastrophic failure at ultra-low weight precisions like 3-bit (W3A4).
- Temporal Cross-Contamination: Because DiT activations shift wildly across denoising timesteps, calibrating the quantizer is tricky. Taking a weighted average of activations across timesteps introduces fake mathematical "cross-terms"—correlating features from step $t$ and step $k$ that never actually interact during Markovian denoising, while canceling out real outliers.
Methods
The authors propose JDUS-DiT, an offline transformation pipeline that leaves inference speed completely untouched.
- Joint Diagonalization via GEVP (New): Instead of restricting the transformation matrix $G$ to a rigid orthogonal rotation, the authors relax it to any invertible matrix. They frame the search for $G$ as a Generalized Eigenvalue Problem (GEVP) ($C_W^{-1}G = C_X G \Lambda$). Solving this simultaneously forces the transformed activation covariance into an identity matrix and the weight covariance into a clean diagonal matrix—eradicating cross-channel correlations in both spaces at once.
- Truncated SVD & Lossless Scaling (New): When a layer's output dimension is smaller than its input, the weight covariance matrix becomes rank-deficient, causing floating-point noise to blow up $G$. The authors stabilize this using Truncated Singular Value Decomposition (SVD). Next, they apply a diagonal scaling matrix $S$ to equalize the dynamic ranges between weights and activations without undoing the decorrelation, followed by a Hadamard transform ($H$, a standard fast orthogonal mixing) to spread variance evenly across all channels.
- Uniform Token Splicing / UTS (New): To build a calibration set across $T$ timesteps without blowing up GPU memory or creating fake cross-terms, UTS uniformly samples a small, random slice of tokens ($N/T$) from each timestep and concatenates them vertically.
Datasets
- ImageNet ($256 \times 256$): Used to evaluate class-conditional image generation on the DiT-XL/2 architecture.
- COCO: Used to evaluate text-to-image generation on the PixArt-$\Sigma$ architecture.
- No new benchmark datasets were introduced.
Key Insights and Ideas
- Orthogonality is a straitjacket: Simply rotating a vector space cannot simultaneously decorrelate two distinct distributions (weights and activations). Relaxing the transformation to a generalized eigenvalue problem solves both analytically.
- Don't average across time; splice across space: Averaging activation tensors across diffusion steps ($X = \sum w_t X_t$) invents phantom correlations ($X_t^\top X_k$) and quadratically shrinks true variance ($w_t^2$). Concatenating random token subsets from each step (UTS) guarantees zero cross-terms, and its expected covariance mathematically matches the true global temporal average up to a harmless scalar $\kappa \approx 1$.
Key Results
Tested under aggressive W4A4 (4-bit weights, 4-bit activations) and W3A4 settings, JDUS-DiT substantially outperforms prior PTQ baselines (PTQ4DiT, Q-DiT, ViDiT-Q, and VETA-DiT):
- DiT-XL/2 on ImageNet: Under extreme W3A4 quantization (50 steps), older baselines collapse (FID > 250), and the strongest prior method (VETA-DiT) degrades to an FID of 29.38. JDUS-DiT drops the FID by 16.06 points down to 13.32, while boosting Inception Score (IS) from 67.11 to 105.51. At W4A4 (100 steps), it achieves an FID of 6.02, nearly matching the 16-bit floating-point baseline (4.59).
- PixArt-$\Sigma$ on COCO: Under W3A4, JDUS-DiT lowers FID by 6.49 points (to 61.02) and boosts ImageReward from 0.61 to 0.85 compared to VETA-DiT, generating clean, coherent scenes where competitors produce heavy artifacts or pure static.
Limitations and Future Work
While the authors do not dedicate a separate section to future work, an inherent mathematical boundary is noted in their temporal formulation (Equation 9): a single, static offline transformation matrix can minimize the globally averaged covariance error across all diffusion steps, but it cannot eliminate the residual variance fluctuations unique to individual timesteps ($\sum \| \text{OffDiag}(G^\top(C_t - \bar{C})G) \|_F^2$), as doing so would require step-dependent transformations rather than a zero-overhead static fusion.
Summary updated