Abstract
Recent studies have demonstrated the effectiveness of directly aligning diffusion models with human preferences using differentiable reward. However, they exhibit two primary challenges: (1) they rely on multistep denoising with gradient computation for reward scoring, which is computationally expensive, thus restricting optimization to only a few diffusion steps; (2) they often need continuous offline adaptation of reward models in order to achieve desired aesthetic quality, such as photorealism or precise lighting effects. To address the limitation of multistep denoising, we propose Direct-Align, a method that predefines a noise prior to effectively recover original images from any time steps via interpolation, leveraging the equation that diffusion states are interpolations between noise and target images, which effectively avoids over-optimization in late timesteps. Furthermore, we introduce Semantic Relative Preference Optimization (SRPO), in which rewards are formulated as text-conditioned signals. This approach enables online adjustment of rewards in response to positive and negative prompt augmentation, thereby reducing the reliance on offline reward fine-tuning. By fine-tuning the FLUX model with optimized denoising and online reward adjustment, we improve its human-evaluated realism and aesthetic quality by over 3x.
Introduction
Aligning large-scale text-to-image diffusion models with human preferences typically relies on Reinforcement Learning (RL) frameworks where a reward model (RM) scores generated outputs. However, conventional methods face a significant "sampling bottleneck." Calculating gradients for optimization usually requires backpropagating through multiple denoising steps, which is computationally prohibitive and prone to numerical instability (gradient explosion). Consequently, most existing techniques only optimize the final stages of the diffusion process, ignoring the critical early steps where basic image structure is formed.
Furthermore, these models are susceptible to "reward hacking," where the generator learns to exploit biases in the reward model—such as over-saturating colors—to achieve higher scores without improving actual image quality. This paper introduces Direct-Align and Semantic Relative Preference Optimization (SRPO) to overcome these hurdles.
Methodology
Direct-Align
To bypass the multi-step backpropagation requirement, Direct-Align leverages the mathematical property that any noisy state in the diffusion process is an interpolation between the original image and pure Gaussian noise. By injecting a noise prior and utilizing a closed-form solution, the framework can recover a clean image estimate ($X_0$) from any timestep in a single step. This allows for stable optimization across the entire trajectory, including high-noise early stages, without the overhead of multi-step sampling.
Semantic Relative Preference Optimization (SRPO)
To mitigate reward hacking, SRPO shifts from simple scalar rewards to text-conditioned relative signals. The system generates a pair of rewards for a single image based on "positive" (e.g., "realistic photo") and "negative" (e.g., "CG render") prompt augmentations. By optimizing for the relative difference between these semantic anchors, the model filters out inherent reward model biases and focuses on specific, fine-grained attributes.
Results and Discussion
The Early Step Advantage
Experimental results demonstrate that reward hacking is most prevalent when optimization is restricted to late, low-noise timesteps. By enabling optimization at the 5%–25% noise levels, Direct-Align allows the model to establish superior high-level structures and textures. As shown in Figure 6, our method produces coherent visual structures significantly earlier in the generation process than previous approaches.
Performance and Efficiency
When applied to the FLUX.1-dev model, the framework achieved a 3.7x increase in perceived realism and a 3.1x improvement in aesthetics according to human evaluation. Notably, the training process is approximately 75x more efficient than previous policy-based RL methods like GRPO, reaching convergence in just 10 minutes on 32 H20 GPUs. Qualitative analysis also confirms that SRPO-tuned models maintain better style preservation (e.g., adhering to specific artistic styles like Van Gogh) while enhancing underlying detail.
Conclusion
Direct-Align and SRPO provide a robust and highly efficient framework for aligning diffusion models with human preference. By optimizing the full trajectory and utilizing relative semantic rewards, the method achieves state-of-the-art results in photorealism and aesthetics. Future work will focus on expanding the reward model's vocabulary and exploring more systematic control strategies using learnable tokens to further enhance responsiveness to niche artistic styles.
Summary updated