Anisotropic Stochasticity for Inference-Time Scaling of Flow Models

Yeonwoo Cha, Yunseo Park, Seunghoon HongarXiv 2026

TL;DR

When steering flow models toward higher-reward outputs at inference time, standard search methods inject isotropic (uniform) Gaussian noise to let candidate trajectories branch and explore. This paper shows that most of that noise is wasted on directions that barely change the final output. By shaping the noise with the model's posterior covariance—and proving that the resulting math simplifies to a tractable flow-acceleration term—the authors get dramatically more diverse, higher-reward samples for the same compute budget.

What Problem Does This Paper Address?

Flow models generate images or actions by following a deterministic ordinary differential equation (ODE) from noise to data. That determinism is great for speed, but it poses a problem for inference-time reward alignment—techniques like Sequential Monte Carlo (SMC) that run multiple candidate "particles" in parallel, duplicate the promising ones, and let them explore different futures.

If two copies of a particle follow a deterministic ODE from the same intermediate state, they will produce the exact same output. To make them branch, prior work replaces the ODE with a marginal-preserving stochastic differential equation (SDE), adding random Gaussian noise at branching steps while adjusting the drift so the overall data distribution stays intact.

Figure 1: Perturbation direction matters for endpoint exploration in flow models. At an in- termediate generation step, some perturbations substantially change the predicted endpoint (green), while other perturbations with the same scale barely change it (orange). For reward alignment, the green ones are more useful since they yield distinct candidates and let the search explore a wider range of outcomes. We therefore allocate more noise to directions that strongly affect the endpoint.

The catch? Standard approaches add isotropic noise—equal variance in every direction. In high-dimensional spaces like images, most directions have almost no effect on the final generated sample. As a result, isotropic perturbations often produce visually identical candidates, wasting the search budget on redundant exploration.

Methods

The authors replace isotropic noise ($A_t = I$) with anisotropic noise shaped by the posterior covariance of the current state, $\Sigma_{1|t}(x_t) = \text{Cov}(x_1 \mid x_t)$.

  • Why posterior covariance? In linear flow matching with a Gaussian prior, $\Sigma_{1|t}(x_t)$ is directly proportional to the endpoint-prediction Jacobian $J_m(x_t)$. That means it automatically allocates more noise to directions that strongly influence the final output.
  • Tractable drift correction: Normally, choosing a state-dependent noise matrix $A_t(x_t)$ makes the marginal-preserving drift correction prohibitively expensive, requiring second-order derivatives ($\nabla \cdot A_t$). The authors prove (Theorem 2) that for $A_t = \Sigma_{1|t}$, the entire drift correction collapses into a flow acceleration term involving only first-order derivatives, computable with a single Jacobian-vector product (JVP).
  • Matrix-free noise sampling: Forming $\Sigma_{1|t}^{1/2}$ explicitly in high dimensions is impossible. Instead, they use a Lanczos sampler with 2 iterations, which only needs covariance-vector products—each computed via a single vector-Jacobian product (VJP).

Each covariance-shaped branching step costs 4 NFE-equivalents (1 forward pass + 1 JVP + 2 VJPs) compared to 1 NFE for isotropic noise. Because it is only applied at branching steps, the measured wall-clock overhead in text-to-image generation is just 6.1%.

Datasets

The method is evaluated across two distinct domains:

  • Text-to-Image Reward Alignment:
  • Aesthetic alignment: 45 animal prompts (from Black et al., 2024) scored with the LAION Aesthetic predictor, using PickScore as a held-out metric to check for reward hacking.
  • Text–image alignment: 553 prompts from the GenEval benchmark scored with ImageReward, using GenEval itself as the held-out metric.
  • Offline Reinforcement Learning: OGBench (pointmaze-giant navigation and cube-triple robotic manipulation, 5 tasks each, 30 seeds) using QGF as the flow backbone.

Key Insights and Ideas

  • Endpoint sensitivity is effectively low-rank: Measuring the eigenvalue spectra of the endpoint-prediction Jacobian $J_m(x_t)$ across prompts reveals that only a tiny fraction of directions meaningfully alter the final output. Isotropic noise spreads its budget uniformly across thousands of dimensions, most of which do nothing.
Figure 3: Eigenvalue spectra of Jm(xt) measured across eight different prompts, showing its effectively low-rank struc- ture (details in App. E.2).
  • Noise direction beats noise magnitude: Under strictly matched perturbation norms, covariance-shaped noise yields ~94.4× higher endpoint variance ($\widetilde{V}_h = 124.76$ vs. $1.32$ for isotropic).
  • Perturbations align with semantics and geometry: In image generation, covariance-shaped noise concentrates around key objects (like a bench or trees) rather than empty background. In maze navigation, it aligns along navigable hallways rather than pushing the agent into walls.

Key Results

  • Text-to-Image Generation: Covariance-shaped transitions outperform both Best-of-$N$ (BoN) and isotropic SMC (FK-Steer) on reward–compute trade-offs, even after accounting for the 4× NFE cost at branching steps. Held-out PickScore remains stable while GenEval improves alongside ImageReward, indicating genuine quality gains rather than reward hacking.
Reward alignment performance on text-to-image generation
  • Offline-RL: Extends the Pareto frontier of success rate vs. compute (NFEs) on both pointmaze-giant and cube-triple, while completing tasks in fewer environment execution steps.
  • Compatibility with gradient-guided SMC: When plugged into DAS (an SMC variant using reward-gradient guidance), replacing isotropic noise with covariance-shaped noise boosts the aesthetic reward from 8.607 to 9.082.

Limitations and Future Work

  • Per-step compute overhead: Each covariance-shaped transition costs 4 NFE-equivalents instead of 1, making it best suited for sparse branching steps rather than every denoising step.
  • Approximations in sampling: The Lanczos sampler relies on a Jacobian symmetry approximation and uses 2 iterations by default.
  • Future directions: The authors note that designing better stochastic transitions is complementary to advances in SMC particle selection and gradient guidance, and can be integrated into more advanced inference-time scaling frameworks.

Summary updated

BibTeX
@misc{cha2026anisotropic,
  author = {Yeonwoo Cha and Yunseo Park and Seunghoon Hong},
  title = {{Anisotropic Stochasticity for Inference-Time Scaling of Flow Models}},
  year = {2026},
  eprint = {2612.01677},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2612.01677},
}
Figure