Avoiding mode collapse in diffusion models fine-tuned with reinforcement learning
Roberto Barceló, Cristóbal Alcázar, Felipe Tobar
TL;DR
The paper tackles mode collapse and instability when fine-tuning diffusion models with reinforcement learning by introducing Hierarchical Reward Fine-tuning (HRF), a sliding-window, step-wise RL framework that exploits the hierarchical diffusion dynamics. HRF (and its dynamic variant HRF-D) performs trajectory-of-interest sampling across timesteps, enabling online RL updates at selected noise levels with appropriate diversity pressures, while preserving high-level semantics. Empirical results on a CelebA-HQ-based diffusion model across compressibility, incompressibility, and LAION aesthetic tasks show that HRF achieves reward levels comparable to DDPO but with substantially improved diversity, as evidenced by Inception Score and Vendi Score near baseline. Overall, HRF provides a robust, hierarchical, and tunable approach to aligning diffusion models to downstream objectives without sacrificing sample diversity, enabling safer and more reliable deployment in conditional generation tasks.
Abstract
Fine-tuning foundation models via reinforcement learning (RL) has proven promising for aligning to downstream objectives. In the case of diffusion models (DMs), though RL training improves alignment from early timesteps, critical issues such as training instability and mode collapse arise. We address these drawbacks by exploiting the hierarchical nature of DMs: we train them dynamically at each epoch with a tailored RL method, allowing for continual evaluation and step-by-step refinement of the model performance (or alignment). Furthermore, we find that not every denoising step needs to be fine-tuned to align DMs to downstream tasks. Consequently, in addition to clipping, we regularise model parameters at distinct learning phases via a sliding-window approach. Our approach, termed Hierarchical Reward Fine-tuning (HRF), is validated on the Denoising Diffusion Policy Optimisation method, where we show that models trained with HRF achieve better preservation of diversity in downstream tasks, thus enhancing the fine-tuning robustness and at uncompromising mean rewards.
