mlsanityData to 7 Oct 2026

CACFG: Curvature-Aware Classifier-Free Guidance and Optimal Control

arXiv 2610.05845 ↗First posted 5 Oct 2026cs.LG cs.AIcited by 0

On the map: Diffusion models → Diffusion foundations and sampling also fits: Diffusion and flow policies for robotics

Abstract (arXiv)

Diffusion models generate samples by learning to reverse a fixed corruption process, and classifier-free guidance (CFG) is the standard mechanism for conditioning this process on a desired class or prompt. CFG can be applied at varying guidance strengths, and while higher strengths improve image quality and conditional alignment, too high a guidance strength can degrade image quality and diversity. Furthermore, CFG violates principled diffusion sampling dynamics, and existing explanations for why it works despite the violation disagree on the underlying theory or do not extend to deterministic samplers used in practice. We address both these issues. We first frame CFG sampling as a continuous-time optimal control problem, treating the sampling trajectory as a sequence of controls chosen to maximise the probability of the desired condition. Solving the resulting Hamilton--Jacobi--Bellman equation shows that CFG is recovered under specific path costs when using an unconstrained control set. We argue this lack of constraint is responsible for CFG's failure at high guidance strengths, since it permits the sampling path to move arbitrarily far from the current image estimate. To fix this, we propose curvature-aware CFG (CACFG), which constrains the control set to a hypersphere informed by the Gaussian regularisation used when training variational autoencoders. We show that the control inputs produced by CFG sampling routinely violate this bound, and that across diffusion models, datasets, and guidance schedules, CACFG achieves superior generative quality at mid-to-high guidance strengths with a less severe quality-diversity tradeoff than regular CFG.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Diffusion foundations and sampling, one of 14 directions in Diffusion models. First posted on arXiv 5 Oct 2026.

Builds on

No reference list yet.

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Improving Classifier-Free Guidance of Flow Matching via Manifold Projection
  2. 2025Learn to Guide Your Diffusion Model
  3. 2026Guidance Breaks the Fitted Operator: A Terminal-Fitted Repair for Classifier-Free Guidance
  4. 2025Guidance in the Frequency Domain Enables High-Fidelity Sampling at Low CFG Scales
  5. 2024Classifier-Free Guidance is a Predictor-Corrector
  6. 2024Eliminating Oversaturation and Artifacts of High Guidance Scales in Diffusion Models
  7. 2024Gradient-Free Classifier Guidance for Diffusion Model Sampling
  8. 2025Feedback Guidance of Diffusion Models