Saved in:
Bibliographic Details
Main Authors: Barceló, Roberto, Alcázar, Cristóbal, Tobar, Felipe
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2410.08315
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913540796841984
author Barceló, Roberto
Alcázar, Cristóbal
Tobar, Felipe
author_facet Barceló, Roberto
Alcázar, Cristóbal
Tobar, Felipe
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2410_08315
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Avoiding mode collapse in diffusion models fine-tuned with reinforcement learning
Barceló, Roberto
Alcázar, Cristóbal
Tobar, Felipe
Machine Learning
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.
title Avoiding mode collapse in diffusion models fine-tuned with reinforcement learning
topic Machine Learning
url https://arxiv.org/abs/2410.08315