TL;DR
This paper introduces Spectral Evolution Search (SES), a novel method for improving image generation quality at inference time without retraining models. SES leverages a theoretical insight into "spectral bias" in generative models, showing that low-frequency noise perturbations have a much larger impact on the final image than high-frequency ones. By focusing optimization on this low-frequency subspace, SES achieves significantly better alignment with desired image attributes (like aesthetics or semantic consistency) for a given computational budget, outperforming existing methods.
What Problem Does This Paper Address?
Modern text-to-image models, while powerful, often require fine-tuning to align their outputs with specific downstream objectives (e.g., aesthetic appeal, semantic accuracy). This fine-tuning is computationally expensive and requires a separate model for each objective. "Inference-time scaling" offers an alternative: improving generation quality by allocating more computational resources during the generation process, without touching the model's weights. A common approach is to optimize the initial random noise vector that seeds the generation. However, this high-dimensional noise space is notoriously inefficient to search; many directions have little to no effect on the final image. This paper addresses this inefficiency by identifying and exploiting a fundamental property of generative models: their spectral bias.
Methods
The core of SES lies in two key components:
- Wavelet-based Spectral Decoupling: The authors observe that generative models are much more sensitive to low-frequency perturbations in the initial noise than high-frequency ones. They theoretically derive this "Spectral Scaling Prediction," showing that the impact of noise decays with increasing frequency. To exploit this, SES uses a Discrete Wavelet Transform (DWT) to decompose the initial noise into low- and high-frequency components. The high-frequency components are frozen, and optimization is strictly confined to the low-frequency subspace. This drastically reduces the search dimensionality (by a factor of 4 for a typical setup).
- Cross-Entropy Optimization (CEM) in Low-Frequency Subspace: Since reward functions (e.g., for aesthetic quality) are often non-differentiable, gradient-based optimization is not always feasible. SES employs the Cross-Entropy Method (CEM), a gradient-free evolutionary strategy. CEM maintains a Gaussian distribution over the low-frequency search space, iteratively sampling candidates, evaluating them with the reward model, and updating the distribution's mean and variance to focus on high-reward regions. This "sample-evaluate-update" loop is performed within a fixed computational budget (measured by the Number of Reward Evaluations, NRE).
Datasets
The paper evaluates SES on several standard datasets and benchmarks:
- DrawBench: A benchmark for evaluating text-to-image models across various complex scenarios.
- Pick-a-Pic: A large-scale dataset of human preference feedback on generated images, used to reflect human aesthetics.
The models used for evaluation include:
- Stable Diffusion (SD) v1.5 and SDXL: Latent diffusion models.
- FLUX.1-dev and Qwen-Image: Flow-matching models.
Key Insights and Ideas
- Spectral Bias is Key: The most significant insight is the strong spectral bias in generative models. Low-frequency noise perturbations have a disproportionately large impact on the final image compared to high-frequency ones. This is not just an empirical observation but is theoretically derived from the perturbation propagation dynamics.
- Low-Frequency Subspace is the "Control Space": This spectral bias implies that the effective control space for inference-time optimization is inherently sparse and concentrated in the low-frequency components of the initial noise.
- Wavelets for Efficient Decoupling: Wavelet transforms are shown to be an effective tool for separating frequency components while preserving some spatial structure, making them suitable for this task.
- Gradient-Free Search is Robust: Using CEM allows SES to work with non-differentiable reward functions, making it broadly applicable.
- SES is Robust to Reward Noise: The low-frequency focus acts as a form of implicit regularization, making SES less susceptible to "reward hacking" (generating images that score high but look bad) and more robust to noisy or biased reward signals.
Key Results
- Substantial Quality Improvement: SES consistently outperforms strong baselines (like Best-of-N, ZO-N, SoP) in terms of reward scores across various models (SDXL, FLUX.1-dev) and reward objectives (CLIP, PickScore, HPSv2, ImageReward, Aesthetic Score) under the same computational budget (NRE=200). For example, SES achieved the highest Aesthetic Score on SDXL and FLUX.1-dev.
- Efficient Scaling: SES demonstrates superior scaling behavior, showing continuous performance gains as the computational budget (NRE) increases, unlike some baselines that plateau quickly.
- Cross-Architecture Generalization: SES works effectively with both diffusion models and flow-matching models.
- Robustness to Samplers: SES maintains high performance across different ODE and SDE samplers.
- Proxy Guidance Effectiveness: SES can leverage low-cost proxy rewards (e.g., faster decoding) to achieve performance close to using full-cost rewards, significantly reducing evaluation time.
- Complementary to Training-Time Alignment: SES provides consistent gains even on models that have already undergone training-time alignment (like DPO/SPO), suggesting it complements rather than just compensates for alignment deficiencies.
Limitations and Future Work
- Reward Model Dependency: Like all inference-time optimization methods, SES's performance is dependent on the quality and cost of the reward model.
- Theoretical Approximations: The theoretical analysis relies on local linearization and approximate spectral decoupling, which might not capture all higher-order interactions.
- Latency vs. NRE: While NRE is a hardware-agnostic measure of budget, it doesn't directly translate linearly to wall-clock latency.
- Future Work: The authors suggest exploring more advanced evolutionary strategies and potentially incorporating more sophisticated spectral decomposition techniques. They also highlight the potential for further improvements by fine-tuning the decomposition granularity.
Summary updated