DRAGON: Distributional Rewards Optimize Diffusion Generative Models

Yatong Bai, Jonah Casebeer, Somayeh Sojoudi, Nicholas J. Bryan

Abstract

We present Distributional RewArds for Generative OptimizatioN (DRAGON), a versatile framework for fine-tuning media generation models towards a desired outcome. Compared with traditional reinforcement learning with human feedback (RLHF) or pairwise preference approaches such as direct preference optimization (DPO), DRAGON is more flexible. It can optimize reward functions that evaluate either individual examples or distributions of them, making it compatible with a broad spectrum of instance-wise, instance-to-distribution, and distribution-to-distribution rewards. Leveraging this versatility, we construct novel reward functions by selecting an encoder and a set of reference examples to create an exemplar distribution. When cross-modal encoders such as CLAP are used, the reference may be of a different modality (e.g., text versus audio). Then, DRAGON gathers online and on-policy generations, scores them with the reward function to construct a positive demonstration set and a negative set, and leverages the contrast between the two finite sets to approximate distributional reward optimization. For evaluation, we fine-tune an audio-domain text-to-music diffusion model with 20 reward functions, including a custom music aesthetics model, CLAP score, Vendi diversity, and Fréchet audio distance (FAD). Over all 20 target rewards, DRAGON achieves an 81.45% average win rate. Moreover, reward functions based on exemplar sets indeed enhance generations and are comparable to model-based rewards. With an appropriate exemplar set, DRAGON achieves a 60.95% human-voted music quality win rate without training on human preference annotations.

Introduction

While diffusion models have set new standards for media generation, "steering" them toward specific downstream objectives or human preferences remains a challenge. Existing methods like Reinforcement Learning from Human Feedback (RLHF) or Direct Preference Optimization (DPO) typically rely on instance-level feedback—comparing one sample to another.

However, many of the most important metrics in generative modeling are distributional. For example, the Fréchet Audio Distance (FAD) or diversity scores (like Vendi) cannot be calculated for a single song; they require a batch of samples to measure how well a model captures the "vibe" or variety of a target dataset. Furthermore, collecting high-quality human preference pairs for audio is notoriously expensive and slow. DRAGON addresses this by enabling the optimization of complex, often non-differentiable distributional rewards directly.

The DRAGON Framework

The core of the framework is the DRAGON (Distributional RewArds for Generative OptimizatioN) workflow, which consists of three main stages:

  1. On-Policy Generation: During training, the model generates batches of samples based on current prompts from a music caption dataset.
  2. Greedy Distributional Construction: Because it is combinatorially difficult to determine how much a single sample contributes to a distributional reward (like FAD), DRAGON uses a greedy swapping algorithm. This algorithm iteratively swaps samples between batches to create a "Positive Set" ($D_+$) that maximizes the reward and a "Negative Set" ($D_-$) that minimizes it.
  3. Contrastive Learning: The model is updated using surrogate losses (like Diffusion-DPO or Diffusion-KTO). This process essentially "pulls" the model’s output distribution toward the high-reward $D_+$ set and "pushes" it away from the low-reward $D_-$ set.
The DRAGON framework overview, showing the pipeline from on-policy generation to contrastive demonstration sets.

A standout feature is cross-modal supervision. By using encoders like CLAP, DRAGON can use a set of text descriptions as the reference distribution to improve audio generation, effectively teaching the model what "good music" sounds like using only words.

Experimental Setup and Results

The researchers evaluated DRAGON on text-to-music generation using several datasets, including ALIM (Adobe Licensed Instrumental Music) for pre-training, the Song Describer dataset for evaluation, and a newly introduced Dynamo Music Aesthetics (DMA) dataset containing human ratings.

Key Results

Across 20 different target rewards, DRAGON achieved an average 81.45% win rate over the baseline model. In blinded listening tests, DRAGON achieved a 60.95% win rate in music quality without being trained on human preference labels, using only FAD-based rewards. When specifically optimizing for a human aesthetics model, the win rate reached up to 88.9%.

Radar chart illustrating DRAGON's win rates across 20 different reward functions, including aesthetics, diversity, and FAD.

Key Insights

  • Distributional > Instance-wise: Optimizing for "per-song FAD" (treating a single song as a mini-distribution) was often more effective at improving human-perceived quality than simple point-wise metrics.
  • Learning from "Pure" Text: DRAGON could improve music quality using only high-quality text captions as a reference, associating text embedding distributions with better audio synthesis.
  • Implicit Distillation: Models fine-tuned with DRAGON using only 10 inference steps outperformed the baseline model using 40 steps, suggesting a distillation-like efficiency gain.
  • Diversity Control: Unlike standard RLHF, which often leads to "mode collapse," DRAGON can explicitly optimize for diversity metrics like the Vendi Score.

Discussion and Limitations

While highly effective, DRAGON faces challenges such as reward hacking (e.g., the model increasing volume to trick a reward), which requires mitigation like peak normalization. Additionally, the custom aesthetics predictor has an upper limit where the reward signal saturates. Finally, as an on-policy method requiring full model inference during training, DRAGON is more computationally demanding than offline fine-tuning. Future work may involve scaling DRAGON to other modalities like video or multi-objective reward optimization.

Summary updated

BibTeX
@article{bai2025dragon,
  author = {Yatong Bai and Jonah Casebeer and Somayeh Sojoudi and Nicholas J. Bryan},
  title = {{DRAGON: Distributional Rewards Optimize Diffusion Generative Models}},
  journal = {Accepted by TMLR},
  year = {2025},
  url = {https://openreview.net/forum?id=gobhDku03J},
}
Figure