FourTune: Towards Fully 4-Bit Efficient Post-Training for Diffusion Models

· Source: cs.CV updates on arXiv.org · Field: Technology & Digital — Artificial Intelligence & Machine Learning · Depth: Expert, extended

Summary

FourTune is an efficient post-training framework for large diffusion models, designed to overcome prohibitive memory footprints and slow training speeds. It implements an end-to-end W4A4G4 paradigm, quantizing weights, activations, and gradients to 4-bit precision. The framework integrates a triple-branch hybrid pipeline, augmenting the standard LoRA architecture with a frozen numerical stabilizer to isolate quantization-sensitive outliers, ensuring stable training. Additionally, FourTune utilizes hardware-efficient block-wise quantization and customized fused kernels to support efficient quantized backpropagation and reduce memory bandwidth overhead. Across customization, reinforcement learning, and distillation tasks, FourTune matches the quality of full-precision fine-tuning. On FLUX.1-dev (12B), it reduces memory overhead by 2.25× and increases end-to-end training throughput by 2.27× compared to BF16 LoRA.

Key takeaway

For Machine Learning Engineers adapting large diffusion models, FourTune offers a significant efficiency improvement. If you are constrained by GPU memory or training speed, adopting FourTune's W4A4G4 framework can reduce memory overhead by 2.25× and accelerate training by 2.27× compared to BF16 LoRA, without sacrificing generation quality. Consider integrating its triple-branch pipeline and kernel fusion for practical, high-performance post-training.

Key insights

FourTune enables stable, efficient 4-bit post-training for large diffusion models by isolating outliers and optimizing low-bit computation.

Principles

Method

FourTune uses a triple-branch hybrid pipeline with a frozen 4-bit backbone, a frozen full-precision stabilizer for outliers, and a trainable LoRA branch. It employs block-wise quantization for 4-bit backward pass and kernel fusion for LoRA and MLP modules.

In practice

Topics

Code references

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

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by cs.CV updates on arXiv.org.