atlas

Research map / Architectures and efficiency / Quantization

PTQ4DiT: Post-training Quantization for Diffusion Transformers

NeurIPS 2024 · Architectures and efficiency › Quantization · approach: Post-training quantization of ViTs · 7 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes PTQ4DiT, a post-training quantization method for Diffusion Transformers that balances salient activation/weight channels and calibrates temporal salience via Spearman's rho, enabling W8A8 and W4A8 quantization of DiT-XL/2.

Problem

Post-training quantization of Diffusion Transformers (DiTs) is hard due to salient channels with extreme magnitudes in weights and activations and temporal variation of salient activation channels across denoising timesteps.

Approach

Channel-wise Salience Balancing redistributes complementary extreme magnitudes between activations and weights via diagonal balancing matrices; Spearman's rho-guided calibration weights timesteps by inverse correlation with weight salience; the balancing matrices are folded offline into adaLN MLPs, preceding matmul dequantization, and weights to add no inference cost.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use PTQ4DiT instead of RepQ*DiT-XL/2 quantization · ImageNet 256×256, 250 steps, W8A8FID: 4.51 -> 4.63Hurt
Use PTQ4DiT instead of Q-DiffusionDiT-XL/2 quantization · ImageNet 256×256, 250 steps, W4A8FID: 15.31 -> 7.09Helped
Use PTQ4DiT instead of RepQ*DiT-XL/2 quantization · ImageNet 256×256, 100 steps, W8A8FID: 5.20 -> 4.73Helped
Use PTQ4DiT instead of RepQ*DiT-XL/2 quantization · ImageNet 256×256, 100 steps, W4A8FID: 26.64 -> 7.75Helped
Use PTQ4DiT instead of RepQ*DiT-XL/2 quantization · ImageNet 256×256, 50 steps, W8A8FID: 7.17 -> 5.45Helped
Use PTQ4DiT instead of Q-DiffusionDiT-XL/2 quantization · ImageNet 512×512, 250 steps, W4A8FID: 58.81 -> 17.55Helped
Add CSB to basic linear quantization (ablation)DiT-XL/2 · ImageNet 256×256, 250 steps, W4A8FID: 22.54 -> 8.17Helped
Add SSC to Baseline + CSB (ablation)DiT-XL/2 · ImageNet 256×256, 250 steps, W4A8FID: 8.17 -> 7.09Helped

Surprising findings

Limitations

Experimental setup

Datasets: ImageNet

Benchmarks: ImageNet 256x256 ImageNet 512x512

Metrics: FID sFID IS Precision Size (MB)

Baselines: PTQ4DM Q-Diffusion PTQD RepQ-ViT (RepQ*)

Builds on: Q-Diffusion RepQ-ViT SmoothQuant DDPM

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy