TL;DR
Diff-Tuning is a simple yet powerful fine-tuning strategy for diffusion models that leverages a "chain of forgetting" along the denoising process. By retaining pre-trained knowledge for fine-grained detail refinement while focusing adaptation on high-level object shaping, it achieves a 24.6% improvement in image quality and speeds up ControlNet convergence by 24%.
What Problem Does This Paper Address?
Training state-of-the-art diffusion models (like Stable Diffusion or DiT) from scratch is prohibitively expensive, often requiring thousands of GPU/TPU hours. Consequently, most researchers and engineers rely on fine-tuning pre-trained "foundation" models for specific downstream tasks.
However, standard fine-tuning often suffers from catastrophic forgetting or overfitting. While existing Parameter-Efficient Fine-Tuning (PEFT) methods focus on which parameters to update, they ignore the temporal dynamics of the diffusion process. The authors identify a fundamental gap: we don't fully understand how transferability changes as a model moves from pure noise ($t=T$) to a clean image ($t=0$).
Methods
The authors introduce the concept of the Chain of Forgetting. They observed that a pre-trained model acts as a "universal denoiser" for low-noise data but struggles to generate high-level structures for new domains.
To exploit this, they propose Diff-Tuning, which modifies the training objective into two complementary parts:
- Knowledge Retention: The model is trained to "remember" how to denoise samples from its original pre-training distribution. This is weighted more heavily at low timesteps ($t \to 0$), where the task is general noise refinement.
- Knowledge Reconsolidation: The model is trained on the new downstream dataset, with the loss weighted more heavily at high timesteps ($t \to T$). This forces the model to learn the new domain's high-level shapes and structures.
Technically, this is implemented using a "memory bank" of images pre-sampled from the original model and two simple monotonic weighting functions that balance these objectives across the denoising chain.
Key Insights and Ideas
- The "Universal Denoiser" Discovery: The most surprising finding is that replacing a fine-tuned model with the original pre-trained model during the final 10% of denoising steps often improves image quality. This suggests that fine-tuning can actually "break" the model's innate ability to refine details.
- Shaping vs. Refining: The authors conceptually split the reverse process into "Domain-Specific Shaping" (high noise) and "General Noise Refining" (low noise). Transferability is high for refining but low for shaping.
- Theoretical Proof: The paper provides a formal proof showing that as noise approaches zero, the ideal denoiser simply finds the closest sample in the dataset (a universal task), whereas at high noise, it must target the mean of the specific data distribution.
Key Results
The researchers evaluated Diff-Tuning across a wide array of benchmarks, including eight fine-grained datasets (like Food101 and Oxford Flowers) and controllable generation tasks (ControlNet).
- Superior Quality: Diff-Tuning achieved a 24.6% relative improvement in average FID (Fréchet Inception Distance) across eight downstream tasks compared to standard full fine-tuning.
- Faster Training: For ControlNet, Diff-Tuning reduced the number of steps required to reach convergence by 24% on average, helping the model reach "sudden convergence" significantly faster.
- PEFT Synergy: Diff-Tuning isn't just for full fine-tuning; it also boosts the performance of parameter-efficient methods like DiffFit.
Limitations and Future Work
- Memory Bank Requirement: Diff-Tuning currently requires generating and storing a pre-sampled augmented dataset from the source model. While the authors show that even small sample sizes (5k images) help, this still adds an initial computational and storage overhead.
- Future Directions: The authors suggest exploring more efficient ways to implement knowledge retention, such as improved distillation techniques that don't require an explicit image memory bank.
Summary updated