paper-with-me

Papers

EfficientDM: Efficient Quantization-Aware Fine-Tuning of Low-Bit Diffusion Models

2023-10-05 · Yefei He, Jing Liu, Weijia Wu, Hong Zhou, Bohan Zhuang

Diffusion models have demonstrated remarkable capabilities in image synthesis and related generative tasks. Nevertheless, their practicality for real-world applications is constrained by substantial computational costs and latency issues. Quantization is a dominant way to compress and accelerate diffusion models, where post-training quantization (PTQ) and quantization-aware training (QAT) are two main approaches, each bearing its own properties. While PTQ exhibits efficiency in terms of both time and data usage, it may lead to diminished performance in low bit-width. On the other hand, QAT can alleviate performance degradation but comes with substantial demands on computational and data resources. In this paper, we introduce a data-free and parameter-efficient fine-tuning framework for low-bit diffusion models, dubbed EfficientDM, to achieve QAT-level performance with PTQ-like efficiency. Specifically, we propose a quantization-aware variant of the low-rank adapter (QALoRA) that can be merged with model weights and jointly quantized to low bit-width. The fine-tuning process distills the denoising capabilities of the full-precision model into its quantized counterpart, eliminating the requirement for training data. We also introduce scale-aware optimization and temporal learned step-size quantization to further enhance performance. Extensive experimental results demonstrate that our method significantly outperforms previous PTQ-based diffusion models while maintaining similar time and data efficiency. Specifically, there is only a 0.05 sFID increase when quantizing both weights and activations of LDM-4 to 4-bit on ImageNet 256x256. Compared to QAT-based methods, our EfficientDM also boasts a 16.2x faster quantization speed with comparable generation quality. Code is available at \href{https://github.com/ThisisBillhe/EfficientDM}{this hrl}.

📄 PDF Abstract BibTeX arXiv:2310.03270

Code (1)

thisisbillhe/efficientdm 공식 구현 pytorch

Tasks

DenoisingImage Generationparameter-efficient fine-tuningQuantization

Methods 이 논문이 사용한 방법론

SPEED The monocular depth estimation (MDE) is the task of estimating depth from a single frame. This information is an essential knowledge in many computer vision tasks such as scene…
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…
Adapter 설명 없음

Similar Papers 제목 키워드 기반

Pioneering 4-Bit FP Quantization for Diffusion Models: Mixup-Sign Quantization and Timestep-Aware Fine-Tuning

2025-01-01 · CVPR 2025 1 · Maosen Zhao, Pengtao Chen, Chong Yu, Yan Wen 외

Model quantization reduces the bit-width of weights and activations, improving memory efficiency and inference speed in diffusion models. However, achieving 4-bit quantization remains challenging. Existing methods, p…

DenoisingQuantization

DGQ: Distribution-Aware Group Quantization for Text-to-Image Diffusion Models

2025-01-08 · Hyogon Ryu, Nahyeon Park, Hyunjung Shim

Despite the widespread use of text-to-image diffusion models across various tasks, their computational and memory demands limit practical applications. To mitigate this issue, quantization of diffusion models has been ex…

Quantization

LoftQ: LoRA-Fine-Tuning-Aware Quantization for Large Language Models

2023-10-12 · Yixiao Li, Yifan Yu, Chen Liang, Pengcheng He 외

Quantization is an indispensable technique for serving Large Language Models (LLMs) and has recently found its way into LoRA fine-tuning. In this work we focus on the scenario where quantization and LoRA fine-tuning are …

Natural Language UnderstandingQuantizationQuestion AnsweringText Generation

QuAILoRA: Quantization-Aware Initialization for LoRA

2024-10-09 · Neal Lawton, Aishwarya Padmakumar, Judith Gaspers, Jack FitzGerald 외

QLoRA reduces the memory-cost of fine-tuning a large language model (LLM) with LoRA by quantizing the base LLM. However, quantization introduces quantization errors that negatively impact model performance after fine-tun…

Causal Language ModelingGPULanguage ModelingLanguage Modelling+2

QFT: Post-training quantization via fast joint finetuning of all degrees of freedom

2022-12-05 · Alex Finkelstein, Ella Fuchs, Idan Tal, Mark Grobman 외

The post-training quantization (PTQ) challenge of bringing quantized neural net accuracy close to original has drawn much attention driven by industry demand. Many of the methods emphasize optimization of a specific degr…

AllQuantization