Learning to Be Guided: Shaping Latent Geometry for Classifier-Free Guidance
On the map: Diffusion models → Diffusion foundations and sampling also fits: Flow matching, time series and science
Abstract (arXiv)
Classifier-free guidance (CFG) is a standard component of conditional diffusion models, and guided generation performance has become the textitde facto measure of state-of-the-art models. Recent work on latent diffusion models seeks to learn latent spaces that are easier to model with diffusion. However, under CFG, generation additionally depends on how conditions are arranged in the latent space. We study this arrangement under discrete class conditions, termed class geometry, and investigate what class geometry allows a latent space to work well with CFG. Under a Gaussian class model, we show that shifting variance from intra- to inter-class at fixed total variance makes classes more distinguishable under noise, and derive a noisy posterior objective whose per-sample descent direction is proportional to the oracle CFG correction. Based on the analysis, we propose Prototype Regularization (PR), a lightweight surrogate for the intractable noisy posterior objective, which applies a cosine prototype classifier to spatially pooled latents. With a controlled training budget (20 epochs for VAE, 80 epochs for DiT), adding PR to an LDM baseline reduces guided gFID on ImageNet from 3.31 to 2.28, surpassing a DINOv3-aligned VA-VAE (2.44) with negligible overhead. We further demonstrate that PR generalizes to pseudo-labels derived from clustering, continuous text-embedding conditions, and video latents. Together, our findings highlight class geometry as a critical factor in guided generation and take a first step toward CFG-compatible representation learning. Our project page is available at: https://maps-research.github.io/cfg-geometry/.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Diffusion foundations and sampling, one of 14 directions in Diffusion models. Builds on 46 of its 49 references that are in the map. Submitted 16 Oct 2026.
Builds on
46 of 49 references.
Closest ancestors · 31
Same direction, newest first
- 2026Diffusing in the Right Space: A Systematic Study of Latent Diffusability2 Jun
- 2026What Matters for Diffusion-Friendly Latent Manifold? Prior-Aligned Autoencoders for Latent Diffusion8 May
- 2026MCLR: Improving Conditional Modeling via Inter-Class Likelihood-Ratio Maximization and Unifying Classifier-Free Guidance with Alignment Objectives23 Mar
- 2026Unified Latents (UL): How to train your latents19 Feb
- 2026Emergence of Distortions in High-Dimensional Guided Diffusion Models31 Jan
- 2025Delving into Latent Spectral Biasing of Video VAEs for Superior Diffusability5 Dec
- 2025Latent Diffusion Model without Variational Autoencoder17 Oct
- 2025Diffusion Transformers with Representation Autoencoders13 Oct
- 2025AlignTok: Aligning Visual Foundation Encoders to Tokenizers for Diffusion Models29 Sep
- 2025Towards Understanding the Mechanisms of Classifier-Free Guidance25 May
- 2025REPA-E: Unlocking VAE for End-to-End Tuning with Latent Diffusion Transformers14 Apr
- 2025LeanVAE: An Ultra-Efficient Reconstruction VAE for Video Diffusion Models18 Mar
19 more
- 2025Studying Classifier(-Free) Guidance From a Classifier-Centric Perspective13 Mar
- 2025Improving the Diffusability of Autoencoders20 Feb
- 2025Diffusion Models without Classifier-free Guidance17 Feb
- 2025Masked Autoencoders Are Effective Tokenizers for Diffusion Models5 Feb
- 2025Reconstruction vs. Generation: Taming Optimization Dilemma in Latent Diffusion Models2 Jan
- 2024Deep Compression Autoencoder for Efficient High-Resolution Diffusion Models14 Oct
- 2024Representation Alignment for Generation: Training Diffusion Transformers Is Easier Than You Think9 Oct
- 2024What does guidance do? A fine-grained analysis in a simple setting19 Sep
- 2024Classifier-Free Guidance is a Predictor-Corrector16 Aug
- 2024Guiding a Diffusion Model with a Bad Version of Itself4 Jun
- 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
- 2024Theoretical Insights for Diffusion Guidance: A Case Study for Gaussian Mixture Models3 Mar
- 2023ProtoDiffusion: Classifier-Free Diffusion Guidance with Prototype Learning4 Jul
- 2022Classifier-Free Diffusion Guidance26 Jul
- 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 Probabilistic Models19 Jun
Other references · 15
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 34,995
- 2022Flow Matching for Generative Modelingcited by 6,518
- 2022Flow Straight and Fast: Learning to Generate and Transfer Data with Rectified Flowcited by 4,131
- 2020Taming Transformers for High-Resolution Image Synthesiscited by 3,354
- 2025DINOv3cited by 1,686
- 2025FLUX.1 Kontext: Flow Matching for In-Context Image Generation and Editing in Latent Spacecited by 1,116
- 2024Latte: Latent Diffusion Transformer for Video Generationcited by 584
- 2023Florence-2: Advancing a Unified Representation for a Variety of Vision Taskscited by 444
- 2025EQ-VAE: Equivariance Regularized Latent Space for Improved Generative Image Modelingcited by 96
- 2026Improved Baselines with Representation Autoencoderscited by 49
- 2025Towards Scalable Pre-training of Visual Tokenizers for Generationcited by 33
- 2025Visual Generation Without Guidancecited by 25
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025Learn to Guide Your Diffusion Model
- 2025Improving Classifier-Free Guidance in Masked Diffusion: Low-Dim Theoretical Insights with High-Dim Impact
- 2026Revisiting Classifier-Free Guidance Methods in Latent Diffusion Models
- 2026C2FG: Control Classifier-Free Guidance via Score Discrepancy Analysis
- 2025Conditional Diffusion Models with Classifier-Free Gibbs-like Guidance
- 2023Bridging the Gap: Addressing Discrepancies in Diffusion Model Training for Classifier-Free Guidance
- 2025Stochastic Self-Guidance for Training-Free Enhancement of Diffusion Models
- 2024No Training, No Problem: Rethinking Classifier-Free Guidance for Diffusion Models