Rectified-CFG++ for Flow Based Models
Shreshth Saini, Shashank Gupta, Alan C. Bovik
TL;DR
Rectified-CFG++ addresses off-manifold drift in CFG-guided flow-based models by introducing a geometry-aware predictor–corrector sampler that first follows the conditional velocity and then applies a time-scheduled interpolation toward the conditional and unconditional fields. The method preserves marginal consistency and keeps trajectories near the data manifold, providing theoretical guarantees and practical stability. Empirically, it yields consistent improvements in FID, CLIP, and human-preference metrics across Flux, Stable Diffusion 3/3.5, and Lumina on MS-COCO, LAION-Aesthetic, and T2I-CompBench, while reducing artifacts and improving text alignment. As a training-free, drop-in upgrade with negligible compute, Rectified-CFG++ offers a scalable path to higher-quality, more reliable text-to-image generation in large RF backbones.
Abstract
Classifier-free guidance (CFG) is the workhorse for steering large diffusion models toward text-conditioned targets, yet its native application to rectified flow (RF) based models provokes severe off-manifold drift, yielding visual artifacts, text misalignment, and brittle behaviour. We present Rectified-CFG++, an adaptive predictor-corrector guidance that couples the deterministic efficiency of rectified flows with a geometry-aware conditioning rule. Each inference step first executes a conditional RF update that anchors the sample near the learned transport path, then applies a weighted conditional correction that interpolates between conditional and unconditional velocity fields. We prove that the resulting velocity field is marginally consistent and that its trajectories remain within a bounded tubular neighbourhood of the data manifold, ensuring stability across a wide range of guidance strengths. Extensive experiments on large-scale text-to-image models (Flux, Stable Diffusion 3/3.5, Lumina) show that Rectified-CFG++ consistently outperforms standard CFG on benchmark datasets such as MS-COCO, LAION-Aesthetic, and T2I-CompBench. Project page: https://rectified-cfgpp.github.io/
