OrbitQuant: Data-Agnostic Quantization for Image and Video Diffusion Transformers

· Source: Artificial Intelligence · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Emerging Technologies & Innovation · Depth: Expert, quick

Summary

OrbitQuant is a data-agnostic weight-activation quantizer designed for Diffusion Transformers (DiTs), which are known for expensive inference due to multi-step sampling and increasing parameter counts. Traditional post-training quantization (PTQ) methods struggle with DiT activation shifts across timesteps, prompts, and guidance branches, often requiring re-fitting calibration data. OrbitQuant addresses this by quantizing in a normalized, rotated basis. It employs a randomized permuted block-Hadamard (RPBH) rotation to concentrate each coordinate around a fixed marginal, allowing a single Lloyd-Max codebook to serve all timesteps, prompts, and layers. The method extends to weight rows offline, absorbing the rotation into the weights, so only a forward rotation on activations is needed at runtime. This approach transfers seamlessly from image to video generation without per-modality tuning, achieving state-of-the-art PTQ at low-bit settings across models like FLUX.1, Z-Image-Turbo, Wan 2.1, and CogVideoX, and pushing image DiT PTQ to W2A4 with usable quality.

Key takeaway

For Machine Learning Engineers optimizing Diffusion Transformer inference costs, OrbitQuant provides a significant advancement. This data-agnostic quantization method eliminates the need for re-fitting calibration data across varying timesteps, prompts, or modalities, simplifying your workflow. By quantizing in a normalized, rotated basis, it achieves state-of-the-art low-bit performance, including W2A4 for image DiTs. You should evaluate OrbitQuant to reduce memory and computational demands for your image and video generation models like FLUX.1 or CogVideoX.

Key insights

OrbitQuant enables data-agnostic quantization for Diffusion Transformers by quantizing in a normalized, rotated basis, overcoming activation shifts.

Principles

Method

OrbitQuant quantizes in a normalized, rotated basis using a randomized permuted block-Hadamard (RPBH) rotation. This concentrates coordinates, enabling a single Lloyd-Max codebook. Weight rotations are absorbed offline, leaving only activation rotation at runtime.

In practice

Topics

Best for: Research Scientist, AI Engineer, AI Scientist, Machine Learning Engineer, Computer Vision Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by Artificial Intelligence.