TL;DR
ZeNO (Zeroth-order Noise Optimization) is a gradient-free framework designed to align one-step deterministic generative models with arbitrary reward functions by optimizing the input noise space. By treating noise optimization as a path-integral control problem, ZeNO eliminates the need for backpropagation, enabling effective inference-time scaling and alignment even with non-differentiable or black-box reward models.
What Problem Does This Paper Address?
Post-training alignment techniques (like RLHF) ensure that generative models align with specific objectives, such as human preferences, aesthetic quality, or text fidelity. However, most existing alignment methods are designed for multi-step stochastic trajectories (e.g., standard diffusion models). They fail when applied to modern, ultra-fast one-step deterministic generators (like consistency models or distilled diffusion models) because these models do not expose a multi-step stochastic path.
While you can technically optimize the initial input noise of a deterministic generator directly, existing noise-space methods require backpropagating gradients through both the generator and the reward model. This gradient-based approach breaks down if:
- The reward model is non-differentiable (e.g., discrete object detection pipelines or text-matching metrics).
- The generator or reward model is too large to support efficient backpropagation due to memory constraints.
- The reward landscape is highly rugged, causing gradient ascent to get stuck in poor local minima.
Methods
The authors introduce ZeNO, which reformulates noise optimization as a stochastic path-integral control (PIC) problem.
Key components of the method include:
- Path-Integral Control (PIC): ZeNO defines an optimal control vector to guide a noise trajectory toward high-reward regions. Crucially, PIC allows the optimal control direction to be mathematically estimated using only reward evaluations, bypassing backpropagation entirely.
- Ornstein-Uhlenbeck (OU) Reference Process: To ensure that the optimized noise remains compatible with the pre-trained generator, ZeNO uses an OU process as its reference dynamics. This naturally preserves the standard Gaussian distribution $\mathcal{N}(0, \mathbf{I})$ of the noise space.
- Variance Reduction via Linearization: Standard PIC estimators suffer from high variance due to exponential reward weighting. ZeNO mitigates this by subtracting a baseline (the mean reward) and linearizing the exponential term, resulting in an update rule that mirrors Natural Evolution Strategies (NES).
- One-Step Receding Horizon: Because the control signal's influence decays exponentially over long horizons, the authors implement a one-step approximation ($H=1$), drastically reducing computational overhead.
Datasets
The paper evaluates ZeNO across several generative tasks and benchmarks:
- Image Generation Prompts: Evaluated using simple-animal prompts for aesthetic scoring and a set of 200 evaluation prompts for PickScore.
- GenEval: A benchmark focusing on compositional text-image alignment tasks, specifically testing non-differentiable rewards like object counting and spatial positioning.
- CUB Dataset: 500 bird-centric prompts used to evaluate performance on GAN architectures (DF-GAN).
- Protein Structure Generation: Tested on backbones generated via Riemannian MeanFlow (RMF), utilizing a black-box self-consistency protocol involving ProteinMPNN (inverse folding) and ESMFold (refolding).
Key Insights and Ideas
- Implicit Langevin Dynamics: A key theoretical finding is that under a small-step regime, ZeNO’s zeroth-order update implicitly behaves like Langevin sampling targeting a reward-tilted distribution ($p^\star(z) \propto p(z)\exp(V(z))$).
- Escape from Local Minima: In rugged or flat reward landscapes, gradient-based methods often suffer from local sensitivity or mode collapse. Because ZeNO samples perturbations around the current state, its zeroth-order exploration naturally steers trajectories toward global maxima rather than getting trapped nearby.
- Inference-Time Scaling: ZeNO introduces flexible "knobs"—the number of particles ($N$) and the number of iterations ($M$). Increasing either allows users to scale up compute at inference time to achieve higher rewards without modifying or retraining the underlying model.
Key Results
ZeNO demonstrates strong performance across diverse architectures (DMD2, SDXL-Turbo, LCM, and DF-GAN) and both differentiable and non-differentiable rewards.
- Differentiable Rewards: On DMD2 with PickScore, ZeNO achieves a score of 22.68, outperforming the strong gradient-based baseline ORIGEN (21.83).
- Non-Differentiable Rewards: On GenEval's counting task, where gradient-based methods cannot be applied, ZeNO scores 0.950 on DMD2, significantly outperforming a standard Best-of-N sampling baseline (0.838).
- Protein Structure Generation: When applied to the RMF/M protein generator, ZeNO achieves a designability fraction of 0.90 using only a single flow evaluation (1 NFE), outperforming the standard 5-NFE baseline (0.82) while maintaining structural diversity.
Limitations and Future Work
- Evaluation Cost: Because ZeNO is a zeroth-order method, it requires $N$ parallel reward evaluations per update step. If the generator or the reward model is computationally heavy, this inference-time scaling can become expensive.
- Initial Point Dependency: On specific spatial positioning tasks (e.g., in GenEval), ZeNO occasionally underperforms simple Best-of-N sampling. The authors attribute this to the one-step SDE formulation, which makes the optimization highly dependent on the initial noise seed when dealing with rewards that are hyper-sensitive to small spatial changes.
Summary updated