PTQ4ARVG: Post-Training Quantization for AutoRegressive Visual Generation Models

Xuewen Liu, Zhikai Li, Jing Zhang, Mengjuan Chen, Jianquan Li, Qingyi Gu

TL;DR

AutoRegressive Visual Generation (ARVG) models offer state-of-the-art image generation but suffer from massive parameter counts and slow inference speeds. This paper introduces PTQ4ARVG, the first comprehensive post-training quantization framework tailored specifically for ARVG models. By addressing unique channel, token, and sample-level activation challenges, it successfully compresses these models to 8-bit and 6-bit precision while maintaining competitive image quality and achieving up to a 3x speedup.

What Problem Does This Paper Address?

Recently, AutoRegressive Visual Generation (ARVG) models—such as VAR, RAR, PAR, and MAR—have emerged as powerful alternatives to diffusion models. Because they share an autoregressive transformer architecture with Large Language Models (LLMs), they offer exciting potential for unified multimodal systems. However, these models are massive (often 1B to 3B parameters) and computationally expensive; for example, generating a single image with a 3B-parameter PAR model takes over 3 seconds.

Quantization (converting floating-point numbers to lower-precision integers like 8-bit or 6-bit) is the standard solution for shrinking models and speeding up inference. However, existing Post-Training Quantization (PTQ) methods designed for LLMs or diffusion models fail when applied to ARVGs.

Visualization of activation challenges in ARVG models, including channel-wise outliers, token-wise variance (sink tokens), and sample-wise distribution mismatch.

The authors identify three specific roadblocks:

  1. Severe channel-wise outliers: Activations entering the attention and feedforward layers have extreme, hard-to-quantize ranges.
  2. Highly dynamic token-wise activations: Token distributions vary wildly, and ARVGs rely heavily on highly sensitive "sink tokens."
  3. Sample-wise distribution mismatch: Randomly selecting calibration samples leads to redundant data, skewing the quantization parameters.

Methods

To tackle these issues, the authors propose PTQ4ARVG, a training-free, hardware-friendly quantization framework consisting of three novel components:

Architecture diagram showing the integration of scaling and quantization within the ARVG transformer block.
  • Gain-Projected Scaling (GPS): To handle channel-wise outliers, previous methods relied on empirical heuristics to scale activations and weights. GPS instead uses a Taylor series expansion to mathematically model the quantization loss. It analytically derives the optimal scaling factor that maximizes the reduction in activation error without overly penalizing weight error.
  • Static Token-Wise Quantization (STWQ): LLMs handle dynamic token activations by calculating quantization parameters on the fly (dynamically) during inference, which slows things down. The authors realized that ARVGs generate a fixed number of tokens and have position-invariant distributions. STWQ exploits this by pre-computing fine-grained quantization parameters offline, completely eliminating online calibration overhead.
  • Distribution-Guided Calibration (DGC): Instead of randomly picking a calibration dataset, DGC uses Mahalanobis distance to measure the "distributional entropy" of samples. It selects only the samples that contribute the most unique information, eliminating redundancy and ensuring the calibration set perfectly matches the real distribution.

Key Insights and Ideas

  • Math beats heuristics for scaling: By treating quantization scaling as a convex optimization problem rather than a guessing game, GPS proves that you can find a closed-form, mathematically optimal scaling factor to suppress outliers.
  • ARVGs are not just visual LLMs: While ARVGs share the transformer architecture of LLMs, their fixed sequence lengths and predictable token distributions are a massive advantage for quantization. Recognizing this allows for static token-wise quantization, bypassing the heavy inference penalties that plague LLM quantization.
  • Sample redundancy ruins calibration: In visual autoregressive models, unconditional samples often look mathematically identical in the network's activations. If you randomly sample 128 images for calibration, you might just get 128 variations of the same underlying distribution, leading to poor quantization. Entropy-based filtering solves this elegantly.

Key Results

  • Accuracy: PTQ4ARVG successfully quantizes the ARVG family (VAR, RAR, PAR, MAR) to 8-bit (W8A8) and 6-bit (W6A6) with minimal degradation.
  • State-of-the-Art Performance: On the 6-bit RAR-B model, PTQ4ARVG improved the FID score by a massive 35.01 compared to the OS+ baseline, and by 6.53 compared to the training-heavy OmniQuant method.
  • Robustness: While baseline methods like OmniQuant and SVDQuant completely collapsed (failed to generate coherent images) on PAR and MAR models at 6-bit precision, PTQ4ARVG maintained stable, competitive performance.
  • Hardware Efficiency: When deployed on an NVIDIA RTX 3090 GPU, the 8-bit VAR-d20 model achieved a 3.01x speedup in inference latency and a 1.92x reduction in peak memory usage compared to the standard FP16 model.

Limitations and Future Work

The primary limitation acknowledged by the authors is that while PTQ4ARVG excels at 8-bit and 6-bit precision, it struggles to maintain high accuracy when pushed to extreme low-bit quantization (e.g., 4-bit). Future work will focus on enhancing the framework to achieve better performance at these sub-6-bit precisions, further unlocking ARVG deployment on highly resource-constrained edge devices.

Summary updated

BibTeX
@inproceedings{liu2026ptq,
  author = {Xuewen Liu and Zhikai Li and Jing Zhang and Mengjuan Chen and Jianquan Li and Qingyi Gu},
  title = {{PTQ4ARVG: Post-Training Quantization for AutoRegressive Visual Generation Models}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=jZnmOOJX1e},
}
Figure