mlsanityData to 14 Oct 2026

VQ4DiT: Efficient Post-Training Vector Quantization for Diffusion Transformers

arXiv 2408.17131 ↗First posted 30 Aug 2024cs.CV cs.AIcited by 12

On the map: Diffusion models → Diffusion foundations and sampling

Abstract (arXiv)

The Diffusion Transformers Models (DiTs) have transitioned the network architecture from traditional UNets to transformers, demonstrating exceptional capabilities in image generation. Although DiTs have been widely applied to high-definition video generation tasks, their large parameter size hinders inference on edge devices. Vector quantization (VQ) can decompose model weight into a codebook and assignments, allowing extreme weight quantization and significantly reducing memory usage. In this paper, we propose VQ4DiT, a fast post-training vector quantization method for DiTs. We found that traditional VQ methods calibrate only the codebook without calibrating the assignments. This leads to weight sub-vectors being incorrectly assigned to the same assignment, providing inconsistent gradients to the codebook and resulting in a suboptimal result. To address this challenge, VQ4DiT calculates the candidate assignment set for each weight sub-vector based on Euclidean distance and reconstructs the sub-vector based on the weighted average. Then, using the zero-data and block-wise calibration method, the optimal assignment from the set is efficiently selected while calibrating the codebook. VQ4DiT quantizes a DiT XL/2 model on a single NVIDIA A100 GPU within 20 minutes to 5 hours depending on the different quantization settings. Experiments show that VQ4DiT establishes a new state-of-the-art in model size and performance trade-offs, quantizing weights to 2-bit precision while retaining acceptable image generation quality.

Key facts. Cited by 12 papers in the map (data through 14 Oct 2026). Placed in Diffusion foundations and sampling, one of 14 directions in Diffusion models. Builds on 28 of its 34 references that are in the map. First posted on arXiv 30 Aug 2024.

Builds on

28 of 34 references.

Closest ancestors · 8

Same direction, newest first

  1. 2024Q-DiT: Accurate Post-Training Quantization for Diffusion Transformers25 Jun
  2. 2024QuEST: Low-bit Diffusion Model Quantization via Efficient Selective Finetuning6 Feb
  3. 2023PTQD: Accurate Post-Training Quantization for Diffusion Models18 May
  4. 2022Diffusion Models in Vision: A Survey10 Sep
  5. 2021High-Resolution Image Synthesis with Latent Diffusion Models20 Dec
  6. 2021Cascaded Diffusion Models for High Fidelity Image Generation30 May
  7. 2021Diffusion Models Beat GANs on Image Synthesis11 May
  8. 2020Denoising Diffusion Probabilistic Models19 Jun

Other references · 20

  1. 2017Attention Is All You Needcited by 60,361
  2. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  4. 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,364
  5. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
  6. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,498
  7. 2020End-to-End Object Detection with Transformerscited by 7,414
  8. 2022Photorealistic Text-to-Image Diffusion Models with Deep Language Understandingcited by 6,355
  9. 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
  10. 2016Improved Techniques for Training GANscited by 2,970
  11. 2021SegFormer: Simple and Efficient Design for Semantic Segmentation with Transformerscited by 2,940
  12. 2017FiLM: Visual Reasoning with a General Conditioning Layercited by 2,333
8 more
  1. 2015Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Codingcited by 2,329
  2. 2022GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformerscited by 1,919
  3. 2024Sora: A Review on Background, Technology, Limitations, and Opportunities of Large Vision Modelscited by 477
  4. 2021Generating Images with Sparse Representationscited by 266
  5. 2023SnapFusion: Text-to-Image Diffusion Model on Mobile Devices within Two Secondscited by 227
  6. 2022RepQ-ViT: Scale Reparameterization for Post-Training Quantization of Vision Transformerscited by 137
  7. 2019And the Bit Goes Down: Revisiting the Quantization of Neural Networkscited by 78
  8. 2020Permute, Quantize, and Fine-tune: Efficient Compression of Neural Networkscited by 28

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 5; 2025: 3; 2026: 4.

12 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024ViDiT-Q: Efficient and Accurate Quantization of Diffusion Transformers for Image and Video Generation
  2. 2024PTQ4DiT: Post-training Quantization for Diffusion Transformers
  3. 2025LRQ-DiT: Log-Rotation Post-Training Quantization of Diffusion Transformers for Image and Video Generation
  4. 2025S2Q-VDiT: Accurate Quantized Video Diffusion Transformer with Salient Data and Sparse Token Distillation
  5. 2025Q-VDiT: Towards Accurate Quantization and Distillation of Video-Generation Diffusion Transformers
  6. 2025CLQ: Cross-Layer Guided Orthogonal-based Quantization for Diffusion Transformers
  7. 2026OrbitQuant: Data-Agnostic Quantization for Image and Video Diffusion Transformers
  8. 2025DVD-Quant: Data-free Video Diffusion Transformers Quantization