Introduction
Standard diffusion models, such as Stable Diffusion, are powerful generative tools but are not inherently aligned with specific human values or complex preferences. To bridge this gap, researchers typically employ Reinforcement Learning (RL) to fine-tune these models toward specific reward functions, such as aesthetic beauty or strict text-image consistency.
However, current alignment methods suffer from a "static" problem. If a model is fine-tuned exclusively for aesthetics, it may begin to ignore the prompt—a phenomenon known as reward hacking. Conversely, achieving a specific 50/50 balance of aesthetics and prompt fidelity traditionally requires training a brand-new model for that exact trade-off. Because user preferences vary wildly across different prompts and contexts, retraining for every possible combination is computationally infeasible.
Diffusion Blend addresses this by asking: Can we create a system where users dynamically choose their preference weights at the moment of generation, using only a small set of pre-trained "basis" models? By blending the underlying mathematical processes of specialized models, Diffusion Blend allows users to adjust preference sliders in real-time without expensive retraining.
Methodology: Blending Scores, Not Weights
Diffusion Blend operates on the principle of "score merging." Instead of averaging the weights of two neural networks—which often degrades performance and leads to "Rewarded Soup"—the method merges the outputs (the scores or gradients) during the iterative denoising process.
The paper introduces three specific algorithms to achieve this:
- DB-MPA (Multi-Preference Alignment): This algorithm takes several basis models—each fine-tuned on a single reward (e.g., one for color accuracy, one for composition)—and blends their predicted denoising directions at every step based on user-defined weights.
- DB-KLA (KL Alignment): This acts as a slider for creativity versus reliability. It blends a fine-tuned model with the original pre-trained base model to control how much the AI is allowed to deviate from its original training distribution.
- DB-MPA-LS (LoRA Sampling): Merging scores from $m$ models typically makes generation $m$ times slower. This "Lightweight Sampling" variant solves the efficiency problem by randomly picking one specialized LoRA adapter at each timestep. Thanks to the stochastic nature of diffusion, the final image still reflects the average of all preferences without any speed penalty.
The mathematical foundation for this approach relies on a Jensen gap approximation, providing theoretical justification for why a linear combination of scores effectively approximates a model trained on a linear combination of rewards.
Experimental Setup
The researchers evaluated Diffusion Blend across several benchmarks:
- Short-DrawBench: A subset of the DrawBench dataset focused on color-object combinations, used to compare against "Oracle" models (models exhaustively retrained for specific weight combinations).
- GenEval: A comprehensive benchmark for compositional image generation, testing capabilities like counting and spatial relations.
- Reward Models: To simulate diverse preferences, the team utilized ImageReward (text-image alignment), VILA (aesthetics), PickScore (human preference), and a JPEG compressibility reward to test non-aesthetic, adversarial objectives.
Key Insights and Results
Diffusion Blend demonstrates significant advantages over existing baseline methods, particularly in maintaining optimal trade-offs between conflicting objectives.
- Pareto Dominance: In quantitative evaluations, Diffusion Blend consistently outperformed baselines like Rewarded Soup and Reward Gradient Guidance (RGG). As shown in the Pareto front analysis, it achieves results nearly identical to the theoretical upper bound of "Oracle" Multi-Objective RL (MORL) models, which are too computationally expensive for production use.
- Stochasticity as a Feature: The DB-MPA-LS algorithm proves that running every model at every step is unnecessary. By "time-sharing" different specialized adapters across the generation steps, DB-MPA-LS matches the speed of a standard Stable Diffusion model while maintaining high alignment quality.
- Qualitative Superiority: Visually, Diffusion Blend avoids the muddiness or object confusion typical of weight-averaging methods. When balancing conflicting prompts, it successfully isolates and renders specific attributes (like color) on the correct objects, whereas baselines often bleed features together.
- The "Alignment Diagnostic": DB-KLA serves as a valuable diagnostic tool. By adjusting the KL-regularization slider, researchers can observe exactly when a reward function begins to break the model’s internal logic, helping to identify and mitigate over-optimization.
Limitations and Future Work
While highly effective, the authors note a few limitations. First, the system depends on the availability of fine-tuned "basis" models; you cannot blend a preference if a corresponding specialist model does not exist. Second, the mathematical approximation underlying the method may struggle if the KL regularization ($\alpha$) is set extremely low, potentially leading to reward hacking that blending cannot correct.
Future directions include extending the framework to non-linear reward combinations and exploring real-time safety filtering, where a safety score is dynamically blended into the generation process only when a prompt is flagged as potentially risky.
Summary updated