TL;DR
This paper introduces Reinforcement Learning Guidance (RLG), a training-free method to dynamically control how closely a diffusion model follows specific rewards (like aesthetics or text accuracy) at inference time. By mathematically linking guidance scales to KL-regularization, the authors provide a "slider" that allows users to boost alignment or blend multiple experts without the need for costly retraining.
What Problem Does This Paper Address?
Aligning generative models with human preferences is a bit like aiming at a moving target. We use Reinforcement Learning (RL) to fine-tune diffusion models so they produce images that are more aesthetic, more compressible, or better at rendering text.
However, current RL methods have a "rigidity" problem. Once a model is fine-tuned, its alignment strength is locked in. If a user wants a slightly more "creative" (less aligned) version or a version that pushes the reward even harder, the only traditional solution is to retrain the model from scratch with different hyperparameters (specifically the KL-regularization coefficient, $\beta$). In pluralistic settings where different users have different tastes, retraining for every possible trade-off is computationally prohibitive.
Methods
The authors propose Reinforcement Learning Guidance (RLG). If you are familiar with Classifier-Free Guidance (CFG)—the standard trick used to make models follow text prompts—RLG will feel very familiar.
While CFG interpolates between a "conditioned" output (with text) and an "unconditioned" output (null text), RLG interpolates between a base model ($v_{ref}$) and an RL-fine-tuned model ($v_{RL}$).
The core algorithm is a simple linear combination of the velocity fields (or scores) of the two models: $$\hat{v}_{RLG,t} = (1 - w)v_{ref,t} + wv_{RL,t}$$
The "secret sauce" is the theoretical proof that the guidance scale $w$ is mathematically equivalent to adjusting the KL-regularization coefficient used during training.
- $w = 1$: Recovers the standard RL-fine-tuned model.
- $0 < w < 1$ (Interpolation): Increases regularization, staying closer to the base model's distribution.
- $w > 1$ (Extrapolation): Effectively relaxes the KL constraint, allowing the model to pursue rewards more aggressively than it did during training.
Datasets
The researchers tested RLG across a massive variety of tasks and architectures:
- Human Preference: Evaluated using Pick-a-Pic (PickScore), ImageReward, and Aesthetic Score.
- Compositional Control: Used the GenEval benchmark to test object counts, colors, and positions.
- Text Rendering: Tested on OCR accuracy tasks.
- Fidelity Tasks: Used DreamBench for personalized generation and a custom dataset for image inpainting (PrefPaint).
- Low-level Properties: Image compressibility using animal classes from ImageNet.
Key Insights and Ideas
- The "Free" Upgrade: The most surprising finding is that extrapolation ($w > 1$) often allows the model to surpass the performance of the very RL-fine-tuned model it was derived from. You can get a "better" version of your model just by changing a single inference parameter.
- The KL-Slider: The paper provides a formal bridge between inference-time guidance and training-time regularization. This turns a "black box" heuristic into a theoretically grounded tool.
- Multi-Objective Blending: RLG naturally extends to "Multi-Expert" settings. You can take an "Aesthetics Expert" and an "OCR Expert" and fuse them at inference time. This allows for controllable trade-offs (e.g., "I want 70% better text and 30% better aesthetics") without retraining.
- Sample Efficiency: The authors show that RLG is more "sample efficient" than retraining. A model guided by RLG at 20 steps often outperforms a standard RL-tuned model even if you give the latter 60 steps of sampling.
Key Results
The quantitative boosts are consistent across different base models (SD1.5, SDXL, SD3.5-Medium) and RL algorithms (DPO, SPO, GRPO):
- Human Preference: On the state-of-the-art SD3.5-M model, RLG achieved a 74.95% win rate on PickScore against the standard fine-tuned version.
- Compositionality: On GenEval, RLG improved the overall score from 93.20 (standard RL) to 94.35 ($w=1.4$).
- Text Rendering: OCR accuracy jumped from 0.886 to 0.930 by pushing the scale to $w=2.8$.
- Compressibility: RLG provided a smooth "slider" for image file sizes, allowing for dynamic control over texture detail versus smoothness.
Limitations and Future Work
- Sampling Convergence: Like CFG, RLG does not strictly guarantee that the final sample comes from the exact target marginal distribution. It is a "steerage" mechanism, not a perfect sampler.
- Compute Cost: RLG requires two forward passes per denoising step (one for the base model, one for the RL model). While the authors argue this is more efficient than retraining, it does double the inference time per image.
- Dynamic Scaling: The current work uses a fixed $w$ for all timesteps. The authors suggest that future work could explore adaptive RLG scales that change as the image progresses from global structure to fine detail.
Summary updated