Guidance Breaks the Fitted Operator: A Terminal-Fitted Repair for Classifier-Free Guidance
Shiheng Zhang
Venue not available
Research metadataShow detailsHide details
- Affiliations
- Not available
- Published
- 2026-07-08
- Processed
- 7/27/2026, 3:29:37 PM
- Analysis model
- gemini-2.5-flash-lite
- Analysis status
- analyzed
- Local PDF artifact
- papers/pdf/2026/2607_07665v1.pdf
Abstract
Classifier-free guidance (CFG) is the standard way to strengthen class-conditioning in diffusion and flow-matching samplers, yet at large guidance it oversaturates and destabilizes, symptoms practitioners suppress with more steps or limited-interval schedules. We analyze CFG through an asymptotic-preserving, numerical-analysis lens. Building on a recent result that the deterministic DDIM step is the unique fitted operator for the unguided terminal layer, exact on the final small-sigma stretch of sampling, we show that guidance re-stiffens exactly the discriminative subspace to an anomalous exponent 1+w. DDIM is therefore no longer fitted there, and on coarse meshes its guided residual diverges as sigma_min goes to zero. We prove a guided clock barrier with three ordered step-size thresholds, and read one-step oversaturation as its endpoint: a solver artifact on the calibration model rather than the continuous guided law. The same analysis yields a one-coefficient, zero-extra-NFE repair: replace CFG's w(r-1) by r^(1+w)-r on the guidance direction. On the calibration model's discriminative crossover, this removes CFG's sigma_min-divergent blow-up and is first-order accurate against the exact guided flow as sigma_min goes to zero. On learned CIFAR-10 checkpoints, and as a cross-domain smoke test on Stable Diffusion 1.5 DDIM, it acts as a high-guidance stabilizer at no extra cost rather than a universal quality knob: it cuts residual amplification and saturation, gives 9/9 point-FID wins over CFG on the tested grid, and preserves classifier-proxy target accuracy in the hard-cell blocks. We report the limits alongside: it is not a universal image-quality win, and against a dense vanilla-CFG reference it is not a uniformly better integrator of that field.
Summary
This paper analyzes classifier-free guidance (CFG) using a numerical analysis perspective, identifying that CFG destabilizes diffusion and flow-matching samplers at high guidance scales. The authors propose a "terminal-fitted repair" for CFG, which modifies a single coefficient in the guidance direction. Empirically, this repair acts as a high-guidance stabilizer, reducing residual amplification and saturation, and achieving significant FID wins on CIFAR-10 and Stable Diffusion benchmarks without increasing computational cost.