Introduction
Large-scale diffusion models like Stable Diffusion have revolutionized image generation but present significant challenges for downstream personalization. Standard fine-tuning methods, such as DreamBooth, require updating the entire model, leading to high computational costs and large storage requirements for each new concept. This research investigates parameter-efficient tuning (PET) strategies, specifically the use of small "adapter" modules, to achieve high-quality personalization with a fraction of the parameters.
Methodology
The authors decompose the adapter design space into three primary factors: input position, output position, and function form. Using Analysis of Variance (ANOVA), they systematically evaluate which factors most significantly impact performance across the U-Net architecture. They tested various configurations within residual and transformer blocks to identify the optimal "recipe" for adapter insertion.
Experimental Setup
The study utilized the DreamBooth personalization task (using small subject-specific datasets) and general domain fine-tuning on the Oxford Flower dataset. Performance was measured using CLIP cosine similarity for personalization and Fréchet Inception Distance (FID) for general fine-tuning.
Results and Discussion
The analysis revealed that the input position of the adapter is the most critical factor for performance. Specifically, placing adapter inputs after cross-attention blocks yielded the best results. This placement makes the network more sensitive to text prompt changes, allowing it to better "perceive" the new subject during fine-tuning.
As shown in the figure above, the proposed method achieves competitive CLIP similarity while using significantly fewer tuned parameters compared to DreamBooth. Furthermore, the approach yields substantial resource savings.
The method reduces peak memory usage and training time by approximately 30%. In general fine-tuning, the method outperformed full fine-tuning on the Oxford Flower dataset, achieving an FID of 24.49 versus 28.15 for the full model update.
Conclusion
This work provides a definitive guide for efficient diffusion model tuning. By adding just 0.75% extra parameters, the model can match or exceed the performance of full fine-tuning. While focused on the U-Net architecture, the insights regarding input positioning likely extend to other architectures. Future research will explore multi-position adapters and scaling behavior in even larger models.
Summary updated