paper-with-me

홈 › Papers

DilateQuant: Accurate and Efficient Diffusion Quantization via Weight Dilation

2024-09-22 · Xuewen Liu, Zhikai Li, Qingyi Gu

Diffusion models have shown excellent performance on various image generation tasks, but the substantial computational costs and huge memory footprint hinder their low-latency applications in real-world scenarios. Quantization is a promising way to compress and accelerate models. Nevertheless, due to the wide range and time-varying activations in diffusion models, existing methods cannot maintain both accuracy and efficiency simultaneously for low-bit quantization. To tackle this issue, we propose DilateQuant, a novel quantization framework for diffusion models that offers comparable accuracy and high efficiency. Specifically, we keenly aware of numerous unsaturated in-channel weights, which can be cleverly exploited to reduce the range of activations without additional computation cost. Based on this insight, we propose Weight Dilation (WD) that maximally dilates the unsaturated in-channel weights to a constrained range through a mathematically equivalent scaling. WD costlessly absorbs the activation quantization errors into weight quantization. The range of activations decreases, which makes activations quantization easy. The range of weights remains constant, which makes model easy to converge in training stage. Considering the temporal network leads to time-varying activations, we design a Temporal Parallel Quantizer (TPQ), which sets time-step quantization parameters and supports parallel quantization for different time steps, significantly improving the performance and reducing time cost. To further enhance performance while preserving efficiency, we introduce a Block-wise Knowledge Distillation (BKD) to align the quantized models with the full-precision models at a block level. The simultaneous training of time-step quantization parameters and weights minimizes the time required, and the shorter backpropagation paths decreases the memory footprint of the quantization process.

📄 PDF Abstract BibTeX arXiv:2409.14307

Code (0)

등록된 구현이 없습니다.

Tasks

Image GenerationKnowledge DistillationQuantization

Methods 이 논문이 사용한 방법론

Diffusion Diffusion models generate samples by gradually removing noise from a signal, and their training objective can be expressed as a reweighted variational lower-bound…
AWARE We propose to theoretically and empirically examine the effect of incorporating weighting schemes into walk-aggregating GNNs. To this end, we propose a simple, interpretable, and…
Knowledge Distillation A very simple way to improve the performance of almost any machine learning algorithm is to train many different models on the same data and then to average their predictions.…
ALIGN In the ALIGN method, visual and language representations are jointly trained from noisy image alt-text data. The image and text encoders are learned via contrastive loss…

Similar Papers 제목 키워드 기반

Towards Accurate Post-training Quantization for Diffusion Models

2023-05-30 · CVPR 2024 1 · Changyuan Wang, Ziwei Wang, Xiuwei Xu, Yansong Tang 외

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 func…

Data Free QuantizationImage GenerationQuantization

Q-ARVD: Quantizing Autoregressive Video Diffusion Models

2026-05-20 · Siao Tang, Xinyin Ma, Gongfan Fang, Xingyi Yang 외 arxiv

Autoregressive video diffusion models (ARVDs) have emerged as a promising architecture for streaming video generation, paving the way for real-time interactive video generation and world modeling. Despite their potential…

Video Generation

Accurate Compression of Text-to-Image Diffusion Models via Vector Quantization

2024-08-31 · Vage Egiazarian, Denis Kuznedelev, Anton Voronov, Ruslan Svirschevski 외

Text-to-image diffusion models have emerged as a powerful framework for high-quality image generation given textual prompts. Their success has driven the rapid development of production-grade diffusion models that consis…

Image GenerationQuantization

Low-Bitwidth Floating Point Quantization for Efficient High-Quality Diffusion Models

2024-08-13 · Cheng Chen, Christina Giannoula, Andreas Moshovos

Diffusion models are emerging models that generate images by iteratively denoising random Gaussian noise using deep neural networks. These models typically exhibit high computational and memory demands, necessitating eff…

DenoisingQuantization

BinaryDM: Accurate Weight Binarization for Efficient Diffusion Models

2024-04-08 · Xingyu Zheng, Xianglong Liu, Haotong Qin, Xudong Ma 외

With the advancement of diffusion models (DMs) and the substantially increased computational requirements, quantization emerges as a practical solution to obtain compact and efficient low-bit DMs. However, the highly dis…

BinarizationQuantization