NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Slowly Annealed Langevin Dynamics: Theory and Applications to Training-Free Guided Generation

Atsushi Nitanda, Dake Bu, Yueming Lyu, Tanya Veeravalli

Here is a concise, engaging blog-style summary of the paper.

TL;DR

This paper provides a fresh mathematical foundation for Slowly Annealed Langevin Dynamics (SALD), proving that slowing down the sampling schedule reduces tracking errors and handles mismatched initializations. Leveraging these insights, the authors introduce Velocity-Aware SALD (VA-SALD), a training-free framework that allows diffusion models to be steered by external guidance functions at inference time smoothly, stably, and without severe image degeneration.

What Problem Does This Paper Address?

Generative models like diffusion processes work by tracking a path of moving target distributions, gradually deforming simple noise into complex data. A major use case is guided generation, where you want to steer a pretrained model toward specific outputs—such as images with high aesthetic scores or specific text alignments—using a reward or constraint function.

The gold standard for this is Doob’s $h$-transform, but it requires training an entirely new guidance network or running expensive inference-time simulations. Simpler, training-free alternatives often introduce severe mathematical bias, leading to unstable sampling and ugly visual artifacts.

While previous work showed that "slowing down" the algorithmic time schedule (Slowly Annealed Langevin Dynamics, or SALD) helps track moving targets, the existing theory couldn't explain how this slowdown interacts with mismatched initializations or how to efficiently apply it to guided generation without tracking an incredibly complex path from scratch.

Methods

The paper attacks this problem from two angles:

  1. Forward-KL Convergence Analysis: The authors move away from traditional path-space arguments and instead analyze SALD using a forward Kullback-Leibler (KL) differential inequality. By incorporating functional inequalities (like the log-Sobolev inequality), they prove exactly how time slowdown dampens tracking errors and corrects initial distribution mismatches. They also establish a discrete-time iteration complexity of $O(\epsilon^{-6})$ to reach an $\epsilon^2$-accurate solution.
  2. Velocity-Aware SALD (VA-SALD): The authors introduce a novel variant designed specifically for guided generation. Instead of forcing the sampler to track the entire complex guided path, VA-SALD explicitly injects the known transport velocity of the pretrained model. The time slowdown mechanism is then used exclusively to correct the minor deviations introduced by the guidance function ($f_t$).

Datasets

The authors evaluated their methods on both synthetic benchmarks and large-scale image generation:

  • Synthetic 2D Tasks: A two-Gaussian distribution paired with a two-moons guide, and an eight-Gaussian ring distribution with a penalty applied to the four left-half modes.
  • Guided Image Generation: They used the pretrained Stable-Diffusion 3.5 Medium (SD-3.5M) model as a backbone. Guidance was driven by black-box reward models, specifically Aesthetic Score, PickScore, and CLIP Score.

Key Insights and Ideas

  • Isolation of Guidance Complexity: The core "aha moment" behind VA-SALD is that the total velocity of a guided sampler can be split into the pretrained model's velocity and a guide-induced correction field ($w_t$). By making the algorithm velocity-aware, the complexity of the sampling process scales only with the guide's correction, rather than the full, highly complex guided path.
  • Slowdown as an Initialization Buffer: The new forward-KL analysis reveals that slowing down the schedule acts as a buffer against poor initialization. Even if the starting distribution doesn't perfectly match the beginning of the target path, the intermediate targets' contraction properties pull the sampler back on track.
  • Mitigating Over-Optimization: In text-to-image tasks, aggressive heuristic guidance often causes images to degenerate into adversarial artifacts. VA-SALD mathematically balances the reward optimization with a KL-divergence regularizer back to the pretrained model's data manifold, preserving image quality.

Key Results

  • Synthetic Superiority: On 2D tasks, both SALD and VA-SALD consistently reduced terminal KL divergence as the computational budget ($r$) increased, significantly outperforming DOIT, a local Doob approximation baseline.
  • Stable Image Refinement: When tested on Stable-Diffusion 3.5 Medium with high guidance strength ($c=8$), VA-SALD produced stable, progressively refined images as the step budget increased ($r=1$ to $r=5$).
  • Artifact Elimination: Under identical budgets, closely related baselines (FM-ZG and FM-Evolv) suffered from severe pixelated artifacts and lost semantic structure, whereas VA-SALD successfully generated high-quality images (e.g., lions, bears, wolves) that adhered to the black-box aesthetic rewards.

Limitations and Future Work

  • Computational Overhead: The primary drawback of slowing down the annealing schedule is that it inherently increases the number of sampling iterations, making generation slower. The authors note that combining SALD with acceleration or distillation techniques is a crucial next step.
  • Guide Schedule Selection: While VA-SALD reduces the complexity of the correction field, it remains an open question how to optimally design the intermediate guide schedule ($f_t$) at each time step to achieve the absolute lowest path complexity for a given terminal reward function.

Summary updated

BibTeX
@inproceedings{nitanda2026slowly,
  author = {Atsushi Nitanda and Dake Bu and Yueming Lyu and Tanya Veeravalli},
  title = {{Slowly Annealed Langevin Dynamics: Theory and Applications to Training-Free Guided Generation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=8vtlOA7wij},
}
Figure