CFG-Zero*: Improved Classifier-Free Guidance for Flow Matching Models
On the map: Diffusion models → Diffusion foundations and sampling
Abstract (arXiv)
Classifier-Free Guidance (CFG) is a widely adopted technique in diffusion/flow models to improve image fidelity and controllability. In this work, we first analytically study the effect of CFG on flow matching models trained on Gaussian mixtures where the ground-truth flow can be derived. We observe that in the early stages of training, when the flow estimation is inaccurate, CFG directs samples toward incorrect trajectories. Building on this observation, we propose CFG-Zero*, an improved CFG with two contributions: (a) optimized scale, where a scalar is optimized to correct for the inaccuracies in the estimated velocity, hence the * in the name; and (b) zero-init, which involves zeroing out the first few steps of the ODE solver. Experiments on both text-to-image (Lumina-Next, Stable Diffusion 3, and Flux) and text-to-video (Wan-2.1) generation demonstrate that CFG-Zero* consistently outperforms CFG, highlighting its effectiveness in guiding Flow Matching models. (Code is available at github.com/WeichenFan/CFG-Zero-star)
Key facts. Cited by 52 papers in the map (data through 14 Oct 2026). Placed in Diffusion foundations and sampling, one of 14 directions in Diffusion models. Builds on 34 of its 43 references that are in the map. First posted on arXiv 24 Mar 2025.
Builds on
34 of 43 references.
Closest ancestors · 19
Same direction, newest first
- 2024Rectified Diffusion Guidance for Conditional Generation24 Oct
- 2024Eliminating Oversaturation and Artifacts of High Guidance Scales in Diffusion Models3 Oct
- 2024Classifier-Free Guidance is a Predictor-Corrector16 Aug
- 2024CFG++: Manifold-constrained Classifier Free Guidance for Diffusion Models12 Jun
- 2024Lumina-Next: Making Lumina-T2X Stronger and Faster with Next-DiT5 Jun
- 2024Guiding a Diffusion Model with a Bad Version of Itself4 Jun
- 2024Analysis of Classifier-Free Guidance Weight Schedulers19 Apr
- 2024Applying Guidance in a Limited Interval Improves Sample and Distribution Quality in Diffusion Models11 Apr
- 2024Scaling Rectified Flow Transformers for High-Resolution Image Synthesis5 Mar
- 2024SiT: Exploring Flow and Diffusion-based Generative Models with Scalable Interpolant Transformers16 Jan
- 2023Characteristic Guidance: Non-linear Correction for Diffusion Model at Large Guidance Scale11 Dec
- 2022Scalable Diffusion Models with Transformers19 Dec
7 more
- 2022Classifier-Free Diffusion Guidance26 Jul
- 2022Elucidating the Design Space of Diffusion-Based Generative Models1 Jun
- 2021High-Resolution Image Synthesis with Latent Diffusion Models20 Dec
- 2021Diffusion Models Beat GANs on Image Synthesis11 May
- 2020Score-Based Generative Modeling through Stochastic Differential Equations26 Nov
- 2020Denoising Diffusion Implicit Models6 Oct
- 2020Denoising Diffusion Probabilistic Models19 Jun
Other references · 15
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2022Flow Matching for Generative Modelingcited by 5,702
- 2022Generative Adversarial Networkscited by 5,627
- 2019Generative Modeling by Estimating Gradients of the Data Distributioncited by 4,101
- 2022Flow Straight and Fast: Learning to Generate and Transfer Data with Rectified Flowcited by 3,700
- 2016Improved Techniques for Training GANscited by 2,970
- 2024CogVideoX: Text-to-Video Diffusion Models with An Expert Transformercited by 2,261
- 2023VBench: Comprehensive Benchmark Suite for Video Generative Modelscited by 1,822
- 2024HunyuanVideo: A Systematic Framework For Large Video Generative Modelscited by 1,660
- 2017NIMA: Neural Image Assessmentcited by 389
- 2024Flow Matching Guide and Codecited by 301
- 2023T2I-CompBench++: An Enhanced and Comprehensive Benchmark for Compositional Text-to-image Generationcited by 260
3 more
- 2023Guided Flows for Generative Modeling and Decision Makingcited by 101
- 2019Sliced Wasserstein Generative Modelscited by 61
- 2025Vchitect-2.0: Parallel Transformer for Scaling Up Video Diffusion Modelscited by 60
Built on by
Citing papers per year: 2025: 17; 2026: 35.
52 papers.
Sort:
By area:
- 2025Latent Diffusion Model without Variational Autoencodercited by 88
- 2025LongCat-Video Technical Reportcited by 85
- 2026Helios: Real Real-Time Long Video Generation Modelcited by 65
- 2025Stochastic Self-Guidance for Training-Free Enhancement of Diffusion Modelscited by 36
- 2025Rectified-CFG++ for Flow Based Modelscited by 17
- 2025Guiding a Diffusion Transformer with the Internal Dynamics of Itselfcited by 16
- 2026Self-Refining Video Samplingcited by 15
- 2025Learn to Guide Your Diffusion Modelcited by 14
- 2025Normalized Attention Guidance: Universal Negative Guidance for Diffusion Modelscited by 13
- 2025FlowerDance: MeanFlow for Efficient and Refined 3D Dance Generationcited by 11
- 2025Inference-Time Alignment Control for Diffusion Models with Reinforcement Learning Guidancecited by 10
- 2026CFG-Ctrl: Control-Based Classifier-Free Diffusion Guidancecited by 8
38 more
- 2025Pyramidal Patchification Flow for Visual Generationcited by 4
- 2025Selective Classifier-free Guidance for Zero-shot Text-to-speechcited by 4
- 2026Training-Free Refinement of Flow Matching with Divergence-based Samplingcited by 4
- 2026Delta Score Matters! Spatial Adaptive Multi Guidance in Diffusion Modelscited by 4
- 2025SAD-Flower: Flow Matching for Safe, Admissible, and Dynamically Consistent Planningcited by 3
- 2026Improving Classifier-Free Guidance of Flow Matching via Manifold Projectioncited by 3
- 2025Towards Flow-Matching-based TTS without Classifier-Free Guidancecited by 2
- 2026Free Lunch for Stabilizing Rectified Flow Inversioncited by 2
- 2026Steering Video Diffusion Transformers with Massive Activationscited by 2
- 2026ConceptWeaver: Weaving Disentangled Concepts with Flowcited by 2
- 2026GenMed: A Pairwise Generative Reformulation of Medical Diagnostic Taskscited by 2
- 2026AssetGen: Deployable 3D Asset Generation at Interactive Speedcited by 2
- 2026Off-Manifold Refinement: Guiding Video Generators with a Frozen World Modelcited by 2
- 2025MAMBO-G: Magnitude-Aware Mitigation for Boosted Guidancecited by 1
- 2025SAIP: A Plug-and-Play Scale-adaptive Module in Diffusion-based Inverse Problemscited by 1
- 2026Improving Diffusion Generalization with Weak-to-Strong Segmented Guidancecited by 1
- 2026VAGS: Velocity Adaptive Guidance Scale for Image Editing and Generationcited by 1
- 2026SpecLoR: Spectral Lookahead Rectification for Motion-Coherent Text-to-Video Generationcited by 1
- 2026ModaFlow: Modality-Aware Flow Matching for High-Fidelity Virtual Try-Oncited by 1
- 2026PathGuide: Dynamic Classifier-Free Guidance via On-Policy Transport Alignmentcited by 1
- 2025MeanFlow-Accelerated Multimodal Video-to-Audio Synthesis via One-Step Generationcited by 0
- 2025CFG-OEC: Classifier Free Guidance with Orthogonal Error Correctioncited by 0
- 2026Single-step Controllable Music Bandwidth Extension With Flow Matchingcited by 0
- 2026Rethinking Global Text Conditioning in Diffusion Transformerscited by 0
- 2026Reflective Flow Sampling Enhancementcited by 0
- 2026When to Lock Attention: Training-Free KV Control in Video Diffusioncited by 0
- 2026Exploring Motion-Language Alignment for Text-driven Motion Generationcited by 0
- 2026Awakening Diffusion Transformers: Eliciting Stronger Generation and Understanding via Massive Activation Modulationcited by 0
- 2026Guidance Breaks the Fitted Operator: A Terminal-Fitted Repair for Classifier-Free Guidancecited by 0
- 2026FreyaTTS: A Compact Tokenizer-Free Flow-Matching Transformer for Turkish-First Speech Synthesiscited by 0
- 2026Lyapunov Guidance: A Unified Framework for Stabilizing Generative Flowscited by 0
- 2026BridgeFlow: Fast and Robust SE(2)-Equivariant Motion Planning with Flow Matchingcited by 0
- 2026Signed Rectified Flow: Negativity-Controlled Generationcited by 0
- 2026Revisiting Classifier-Free Guidance Methods in Latent Diffusion Modelscited by 0
- 2026SAGE: Subspace Alignment for Classifier-Free Guidance in Mixture-of-Experts Diffusion Modelscited by 0
- 2026UltraDub: Towards Authentic Dubbing by Unifying Visually-Steered Flow Learning and Trajectory Guidancecited by 0
- 2026AnchorGen: Anchored Optimization for Customizable Generative 3D Designcited by 0
- 2026Global Transport Couplings for Classifier-Free Guided Flowscited by 0
50 most cited of 52 All 52 (JSON)
- 2026TrajCFG: Token-Wise Classifier-Free Guidance via Denoising Trajectory Feedback9 Oct 2026
- 2026Images Talk Back: Guiding MMDiTs by Suppressing Image-to-Text Feedback9 Oct 2026
- 2026Global Transport Couplings for Classifier-Free Guided Flows6 Oct 2026
- 2026AnchorGen: Anchored Optimization for Customizable Generative 3D Design5 Oct 2026
- 2026UltraDub: Towards Authentic Dubbing by Unifying Visually-Steered Flow Learning and Trajectory Guidance5 Oct 2026
- 2026SAGE: Subspace Alignment for Classifier-Free Guidance in Mixture-of-Experts Diffusion Models28 Sep 2026
- 2026Off-Manifold Refinement: Guiding Video Generators with a Frozen World Model30 Aug 2026
- 2026PathGuide: Dynamic Classifier-Free Guidance via On-Policy Transport Alignment29 Aug 2026
- 2026Revisiting Classifier-Free Guidance Methods in Latent Diffusion Models17 Aug 2026
- 2026Signed Rectified Flow: Negativity-Controlled Generation20 Jul 2026
- 2026BridgeFlow: Fast and Robust SE(2)-Equivariant Motion Planning with Flow Matching16 Jul 2026
- 2026Lyapunov Guidance: A Unified Framework for Stabilizing Generative Flows15 Jul 2026
38 more
- 2026FreyaTTS: A Compact Tokenizer-Free Flow-Matching Transformer for Turkish-First Speech Synthesis10 Jul 2026
- 2026Guidance Breaks the Fitted Operator: A Terminal-Fitted Repair for Classifier-Free Guidance8 Jul 2026
- 2026Awakening Diffusion Transformers: Eliciting Stronger Generation and Understanding via Massive Activation Modulation3 Jul 2026
- 2026ModaFlow: Modality-Aware Flow Matching for High-Fidelity Virtual Try-On26 Jun 2026
- 2026SpecLoR: Spectral Lookahead Rectification for Motion-Coherent Text-to-Video Generation10 Jun 2026
- 2026AssetGen: Deployable 3D Asset Generation at Interactive Speed22 May 2026
- 2026VAGS: Velocity Adaptive Guidance Scale for Image Editing and Generation15 May 2026
- 2026GenMed: A Pairwise Generative Reformulation of Medical Diagnostic Tasks11 May 2026
- 2026Delta Score Matters! Spatial Adaptive Multi Guidance in Diffusion Models29 Apr 2026
- 2026Training-Free Refinement of Flow Matching with Divergence-based Sampling6 Apr 2026
- 2026Exploring Motion-Language Alignment for Text-driven Motion Generation3 Apr 2026
- 2026ConceptWeaver: Weaving Disentangled Concepts with Flow30 Mar 2026
- 2026Improving Diffusion Generalization with Weak-to-Strong Segmented Guidance21 Mar 2026
- 2026Steering Video Diffusion Transformers with Massive Activations18 Mar 2026
- 2026When to Lock Attention: Training-Free KV Control in Video Diffusion10 Mar 2026
- 2026Reflective Flow Sampling Enhancement6 Mar 2026
- 2026Helios: Real Real-Time Long Video Generation Model4 Mar 2026
- 2026CFG-Ctrl: Control-Based Classifier-Free Diffusion Guidance3 Mar 2026
- 2026Free Lunch for Stabilizing Rectified Flow Inversion12 Feb 2026
- 2026Rethinking Global Text Conditioning in Diffusion Transformers9 Feb 2026
- 2026Improving Classifier-Free Guidance of Flow Matching via Manifold Projection29 Jan 2026
- 2026Self-Refining Video Sampling26 Jan 2026
- 2026Single-step Controllable Music Bandwidth Extension With Flow Matching20 Jan 2026
- 2025Guiding a Diffusion Transformer with the Internal Dynamics of Itself30 Dec 2025
- 2025FlowerDance: MeanFlow for Efficient and Refined 3D Dance Generation26 Nov 2025
- 2025CFG-OEC: Classifier Free Guidance with Orthogonal Error Correction18 Nov 2025
- 2025SAD-Flower: Flow Matching for Safe, Admissible, and Dynamically Consistent Planning7 Nov 2025
- 2025LongCat-Video Technical Report25 Oct 2025
- 2025Latent Diffusion Model without Variational Autoencoder17 Oct 2025
- 2025Rectified-CFG++ for Flow Based Models9 Oct 2025
- 2025Learn to Guide Your Diffusion Model1 Oct 2025
- 2025SAIP: A Plug-and-Play Scale-adaptive Module in Diffusion-based Inverse Problems29 Sep 2025
- 2025Selective Classifier-free Guidance for Zero-shot Text-to-speech24 Sep 2025
- 2025MeanFlow-Accelerated Multimodal Video-to-Audio Synthesis via One-Step Generation8 Sep 2025
- 2025Inference-Time Alignment Control for Diffusion Models with Reinforcement Learning Guidance28 Aug 2025
- 2025Stochastic Self-Guidance for Training-Free Enhancement of Diffusion Models18 Aug 2025
- 2025MAMBO-G: Magnitude-Aware Mitigation for Boosted Guidance5 Aug 2025
- 2025Pyramidal Patchification Flow for Visual Generation30 Jun 2025
50 newest of 52 All 52 (JSON)
- 2025Latent Diffusion Model without Variational Autoencodercited by 88
- 2025Stochastic Self-Guidance for Training-Free Enhancement of Diffusion Modelscited by 36
- 2025Rectified-CFG++ for Flow Based Modelscited by 17
- 2025Guiding a Diffusion Transformer with the Internal Dynamics of Itselfcited by 16
- 2025Learn to Guide Your Diffusion Modelcited by 14
- 2025Normalized Attention Guidance: Universal Negative Guidance for Diffusion Modelscited by 13
- 2025Inference-Time Alignment Control for Diffusion Models with Reinforcement Learning Guidancecited by 10
- 2026CFG-Ctrl: Control-Based Classifier-Free Diffusion Guidancecited by 8
- 2025Pyramidal Patchification Flow for Visual Generationcited by 4
- 2026Training-Free Refinement of Flow Matching with Divergence-based Samplingcited by 4
- 2026Delta Score Matters! Spatial Adaptive Multi Guidance in Diffusion Modelscited by 4
- 2026Improving Classifier-Free Guidance of Flow Matching via Manifold Projectioncited by 3
12 most cited of 33 All 33 (JSON)
- 2026Images Talk Back: Guiding MMDiTs by Suppressing Image-to-Text Feedback9 Oct 2026
- 2026SAGE: Subspace Alignment for Classifier-Free Guidance in Mixture-of-Experts Diffusion Models28 Sep 2026
- 2026Revisiting Classifier-Free Guidance Methods in Latent Diffusion Models17 Aug 2026
- 2026Signed Rectified Flow: Negativity-Controlled Generation20 Jul 2026
- 2026BridgeFlow: Fast and Robust SE(2)-Equivariant Motion Planning with Flow Matching16 Jul 2026
- 2026Lyapunov Guidance: A Unified Framework for Stabilizing Generative Flows15 Jul 2026
- 2026FreyaTTS: A Compact Tokenizer-Free Flow-Matching Transformer for Turkish-First Speech Synthesis10 Jul 2026
- 2026Guidance Breaks the Fitted Operator: A Terminal-Fitted Repair for Classifier-Free Guidance8 Jul 2026
- 2026Awakening Diffusion Transformers: Eliciting Stronger Generation and Understanding via Massive Activation Modulation3 Jul 2026
- 2026ModaFlow: Modality-Aware Flow Matching for High-Fidelity Virtual Try-On26 Jun 2026
- 2026SpecLoR: Spectral Lookahead Rectification for Motion-Coherent Text-to-Video Generation10 Jun 2026
- 2026Delta Score Matters! Spatial Adaptive Multi Guidance in Diffusion Models29 Apr 2026
12 newest of 33 All 33 (JSON)
- 2025LongCat-Video Technical Reportcited by 85
- 2026Off-Manifold Refinement: Guiding Video Generators with a Frozen World Modelcited by 2
- 2026Off-Manifold Refinement: Guiding Video Generators with a Frozen World Model30 Aug 2026
- 2025LongCat-Video Technical Report25 Oct 2025
- 2026Helios: Real Real-Time Long Video Generation Modelcited by 65
- 2026Self-Refining Video Samplingcited by 15
- 2025FlowerDance: MeanFlow for Efficient and Refined 3D Dance Generationcited by 11
- 2025Selective Classifier-free Guidance for Zero-shot Text-to-speechcited by 4
- 2025SAD-Flower: Flow Matching for Safe, Admissible, and Dynamically Consistent Planningcited by 3
- 2026ConceptWeaver: Weaving Disentangled Concepts with Flowcited by 2
- 2026GenMed: A Pairwise Generative Reformulation of Medical Diagnostic Taskscited by 2
- 2026AssetGen: Deployable 3D Asset Generation at Interactive Speedcited by 2
- 2025MAMBO-G: Magnitude-Aware Mitigation for Boosted Guidancecited by 1
- 2026VAGS: Velocity Adaptive Guidance Scale for Image Editing and Generationcited by 1
- 2026PathGuide: Dynamic Classifier-Free Guidance via On-Policy Transport Alignmentcited by 1
- 2025MeanFlow-Accelerated Multimodal Video-to-Audio Synthesis via One-Step Generationcited by 0
12 most cited of 17 All 17 (JSON)
- 2026TrajCFG: Token-Wise Classifier-Free Guidance via Denoising Trajectory Feedback9 Oct 2026
- 2026Global Transport Couplings for Classifier-Free Guided Flows6 Oct 2026
- 2026AnchorGen: Anchored Optimization for Customizable Generative 3D Design5 Oct 2026
- 2026UltraDub: Towards Authentic Dubbing by Unifying Visually-Steered Flow Learning and Trajectory Guidance5 Oct 2026
- 2026PathGuide: Dynamic Classifier-Free Guidance via On-Policy Transport Alignment29 Aug 2026
- 2026AssetGen: Deployable 3D Asset Generation at Interactive Speed22 May 2026
- 2026VAGS: Velocity Adaptive Guidance Scale for Image Editing and Generation15 May 2026
- 2026GenMed: A Pairwise Generative Reformulation of Medical Diagnostic Tasks11 May 2026
- 2026Exploring Motion-Language Alignment for Text-driven Motion Generation3 Apr 2026
- 2026ConceptWeaver: Weaving Disentangled Concepts with Flow30 Mar 2026
- 2026Helios: Real Real-Time Long Video Generation Model4 Mar 2026
- 2026Self-Refining Video Sampling26 Jan 2026
12 newest of 17 All 17 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2025Conditional Diffusion Models with Classifier-Free Gibbs-like Guidance
- 2025Improving Classifier-Free Guidance in Masked Diffusion: Low-Dim Theoretical Insights with High-Dim Impact
- 2026P-Guide: Parameter-Efficient Prior Steering for Single-Pass CFG Inference
- 2026Classifier-Free Guidance in Flow Matching: Non-Autonomous Potentials, Overshoot, and Posterior-Mean Control
- 2025Gaussian Mixture Flow Matching Models
- 2025Diffusion Models without Classifier-free Guidance
- 2026Momentum Guidance: Plug-and-Play Guidance for Flow Models
- 2026Guidance Without Labels: Flow Matching from Coupled Gaussian Mixtures