Pith. sign in

REVIEW 5 cited by

VQ4DiT: Efficient Post-Training Vector Quantization for Diffusion Transformers

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2408.17131 v1 pith:RBGBX7E2 submitted 2024-08-30 cs.CV cs.AI

classification cs.CVcs.AI
keywords quantizationvq4ditcodebookweightassignmentditsgenerationmodel
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

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.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 5 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. Importance-Aware OBS Pruning for Diffusion Models

    cs.CV 2026-07 conditional novelty 6.0 of 10

    Injecting spatial importance maps (e.g., CFG delta) into the OBS Hessian improves subject preservation in pruned diffusion models at high sparsity, but gains over the baseline are small and without error bars.

  2. 1.58-bit FLUX

    cs.CV 2024-12 reject novelty 6.0 of 10

    A post-training method reduces 99.5% of FLUX.1-dev's transformer weights to ternary values and reports roughly comparable text-to-image quality with large storage and memory savings.

  3. VQ4ALL: Efficient Neural Network Representation via a Universal Codebook

    cs.LG 2024-12 conditional novelty 6.0 of 10

    VQ4ALL builds a single universal codebook from the weight distributions of several networks, then learns per-network assignments to reconstruct low-bit weights while keeping accuracy close to the original models.

  4. Importance-Based Token Merging for Efficient Image and Video Generation

    cs.CV 2024-11 conditional novelty 6.0 of 10

    A token-merging method that anchors computation on high-CFG-importance tokens improves generation quality at fixed inference speedups.

  5. Diffusion Product Quantization

    cs.CV 2024-11 conditional novelty 6.0 of 10

    DPQ applies product quantization with compressed codebooks and DDPM-loss calibration to compress DiT diffusion models to 1-bit weights with FID 14.03, far better than VQ's 91.71.

Pith tools