Search papers, labs, and topics across Lattice.
This paper analyzes the limitations of classifier-free guidance (CFG) in diffusion and flow-matching samplers, revealing that high guidance levels lead to oversaturation and instability. By applying an asymptotic-preserving numerical analysis, the authors demonstrate that the deterministic DDIM step becomes misaligned in the presence of guidance, resulting in a divergence of the guided residual as sigma_min approaches zero. They propose a novel repair method that stabilizes high-guidance scenarios without additional computational cost, achieving superior performance on CIFAR-10 and Stable Diffusion benchmarks while maintaining classifier-proxy accuracy.
High guidance in classifier-free guidance can destabilize models, but a simple adjustment can stabilize performance without extra computational cost.
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.