Towards Accurate Post-training Quantization for Diffusion Models
원문 초록
In this paper, we propose an accurate data-free post-training quantization framework of diffusion models (ADP-DM) for efficient image generation. Conventional data-free quantization methods learn shared quantization functions for tensor discretization regardless of the generation timesteps, while the activation distribution differs significantly across various timesteps. The calibration images are acquired in random timesteps which fail to provide sufficient information for generalizable quantization function learning. Both issues cause sizable quantization errors with obvious image generation performance degradation. On the contrary, we design group-wise quantization functions for activation discretization in different timesteps and sample the optimal timestep for informative calibration image generation, so that our quantized diffusion model can reduce the discretization errors with negligible computational overhead. Specifically, we partition the timesteps according to the importance weights of quantization functions in different groups, which are optimized by differentiable search algorithms. We also select the optimal timestep for calibration image generation by structural risk minimizing principle in order to enhance the generalization ability in the deployment of quantized diffusion model. Extensive experimental results show that our method outperforms the state-of-the-art post-training quantization of diffusion model by a sizable margin with similar computational cost.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
MGVQ: Could VQ-VAE Beat VAE? A Generalizable Tokenizer with Multi-group Quantization
CycleVAR: Repurposing Autoregressive Model for Unsupervised One-Step Image Translation
Highly Compressed Tokenizer Can Generate Without Training
Vision Foundation Models as Effective Visual Tokenizers for Autoregressive Image Generation
Rethinking Discrete Tokens: Treating Them as Conditions for Continuous Autoregressive Image Synthesis
The Hidden Cost of an Image: Quantifying the Energy Consumption of AI Image Generation
토론
이 논문과 연결된 포럼 글이 아직 없습니다.