TL;DR
$\Psi$-Sampler is a novel framework that enhances how generative models align with specific rewards (like aesthetics or layout accuracy) during inference. By replacing random starting points with reward-informed initial particles sampled via a dimension-robust MCMC algorithm (pCNL), it achieves superior alignment and efficiency compared to standard Sequential Monte Carlo (SMC) methods.
The Problem: Blind Starts in Reward Alignment
The generative AI landscape is shifting from pure pre-training to post-training optimization (akin to RLHF for LLMs). For score-based models like diffusion or flow-matching models, this optimization often occurs at inference time through reward alignment. A reward model (e.g., an aesthetic scorer or object detector) is used to "steer" the denoising process toward higher-quality outputs.
Currently, Sequential Monte Carlo (SMC) is the state-of-the-art for this steering. SMC maintains a population of "particles" (noisy latents) that are filtered and duplicated based on their reward scores during denoising. However, a major bottleneck exists: these methods almost always initialize particles from a "blind" Gaussian prior.
Because the reward signal's influence diminishes as the image becomes cleaner, the most critical decisions happen at the very first step. If initial particles fall into a low-reward neighborhood of the latent space, subsequent steering cannot recover them.
The Solution: $\Psi$-Sampler and pCNL
The core contribution of this paper is $\Psi$-Sampler, which introduces a reward-aware initialization. Instead of starting with random noise, it uses a Markov Chain Monte Carlo (MCMC) approach to find initial noise latents that are already predisposed to yield high-reward images.
The technical hurdle is the massive dimensionality of image latent spaces (e.g., 65,536 dimensions for the FLUX model). Standard MCMC algorithms like MALA (Metropolis-Adjusted Langevin Algorithm) fail here because their acceptance rate plummets in high dimensions.
To overcome this, the authors adapt the preconditioned Crank–Nicolson Langevin (pCNL) algorithm. pCNL is dimension-robust; it uses a semi-implicit discretization that preserves the Gaussian prior, allowing it to efficiently explore high-dimensional spaces where other algorithms stall.
The pipeline is straightforward:
- Initial Sampling: Use pCNL to sample particles from the reward-informed posterior at the very first step ($t=1$).
- SMC Denoising: Carry these high-potential particles through the standard denoising process, using SMC to refine them further.
Key Insights
- The Vanishing Signal: The gradient of the reward model is scaled by the diffusion coefficient. As the image denoises, this coefficient approaches zero, stripping the model of its ability to explore new high-reward regions. Thus, the starting position is paramount.
- Dimension Matters: Most MCMC tools were designed for low-dimensional vectors. By leveraging pCNL, the authors found a tool suited for the effectively infinite-dimensional nature of high-resolution images.
- Posterior over Prior: The fundamental realization is that the first step of diffusion shouldn't be treated as a blank slate. If a reward function is available, it should be used to bias the very first samples.
Experimental Validation
The authors evaluated $\Psi$-Sampler across three distinct tasks using state-of-the-art base models (FLUX-Schnell and SANA-Sprint):
- Quantity-Aware Generation: Generating a specific number of objects (e.g., "82 blueberries"). $\Psi$-Sampler reduced the Mean Absolute Error (MAE) from 5.3 (base SMC) to 2.9. It uniquely succeeded at generating high counts where baselines failed.
- Layout-to-Image: Placing objects in specific bounding boxes (evaluated on the HRS-Spatial dataset). It achieved a mean Intersection-over-Union (mIoU) of 0.467, outperforming the next best baseline (0.427).
- Aesthetic Preference: Generating visually pleasing images. $\Psi$-Sampler produced images with higher aesthetic scores (7.012 vs. 6.853 for base SMC) and better visual balance.
- Efficiency: Even with a fixed computational budget (Number of Function Evaluations), allocating half the budget to the initial pCNL sampling yielded better results than spending the entire budget on more SMC steps.
Limitations and Future Work
- Differentiability: The method requires a differentiable reward model to provide gradients for the pCNL steps. It cannot directly optimize black-box rewards (like human-in-the-loop feedback) without a proxy model.
- Tweedie Reliance: The accuracy of the initial sampling depends on Tweedie’s formula, which estimates the final image from noisy latents. At very high noise levels ($t=1$), this estimate can be blurry, though it proved sufficient for the tested tasks.
- Future Directions: The authors suggest exploring how this initialization could be combined with distilled models that generate images in very few steps, where the initial latent choice is even more impactful.
Summary updated