Rectified-CFG++ for Flow Based Models

Shreshth Saini, Shashank Gupta, A. Bovik
10/1/2025
diffusion-flow

No confident code implementation found for this paper.

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.

Show full abstract

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/

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{saini2025rectifiedcfg,
  title  = {Rectified-CFG++ for Flow Based Models},
  author = {Shreshth Saini and Shashank Gupta and A. Bovik},
  year   = {2025},
  eprint = {2510.07631},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2510.07631},
  url    = {https://doi.org/10.48550/arXiv.2510.07631},
  journal = {Neural Information Processing Systems}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2510.07631.svg)](https://codeofpaper.com/paper/2510.07631)

Discussion