Guidance and classifier-free guidance — How conditioning changes sampling¶
Initial version: 2026-10-28 · First published: 2026-10-29 · Last content update: 2026-10-29
Literature checked through 2026-10-28; recent preprints are identified separately.
Notation at a glance: diffusion and flow matching¶
The columns describe corresponding roles, not automatic numerical equalities. Both use data states in \(\mathbb R^d\). In the flow column, \(X_0\) still means the data sample from the diffusion notation; the flow's initial state is \(R_0=Z\).
| Role | Diffusion formulation | Flow-matching formulation | Correspondence and difference |
|---|---|---|---|
| Data and condition | \((X_0,Y)\) | The same \((X_0,Y)\) | A paired data sample and its condition; neither column changes the data joint law. |
| Condition embedding | \(e_y=\operatorname{Encoder}(y)\) | The same \(e_y\) | Usually fixed during one generation, while the state and time change. |
| Independent Gaussian noise | \(\varepsilon\sim\mathcal N(0,I_d)\) | \(Z\sim\mathcal N(0,I_d)\) | Both are independent of \((X_0,Y)\); different letters distinguish the two constructions. |
| Time and direction | \(t\in[0,T]\): data → noise; generation runs backwards | \(\tau\in[0,1]\): noise → data; generation runs forwards | Matching reversed schedules uses \(t=T(1-\tau)\); derivatives also acquire the factor \(dt/d\tau=-T\). |
| Schedule coefficients | \(\alpha_t\): data weight; \(\sigma_t\): noise weight | \(a_\tau\): data weight; \(b_\tau\): noise weight | They match only if \(a_\tau=\alpha_{T(1-\tau)}\) and \(b_\tau=\sigma_{T(1-\tau)}\). Lowercase \(b_\tau\) is a noise weight, not a drift. |
| Constructed training state | \(X_t=\alpha_tX_0+\sigma_t\varepsilon\) | \(R_\tau=a_\tau X_0+b_\tau Z\) | Same affine form; opposite time conventions. Neither construction specifies all joint-in-time properties of a sampling SDE. |
| Conditional / unconditional densities | \(p_t(x\mid y)\), \(p_t(x)\) | \(q_\tau(x\mid y)\), \(q_\tau(x)\) | Densities of the constructed states; equal at corresponding times only for matched marginal paths. |
| Class posterior | \(p_t(y\mid x)\) | \(q_\tau(y\mid x)\) | Probability of the class given an intermediate state; distinct from the data-state density conditioned on that class. |
| Sampled regression label | Noise \(\varepsilon\) | Velocity \(U_\tau=\dot a_\tau X_0+\dot b_\tau Z\) | Noise prediction versus velocity prediction; these labels are not interchangeable. Dots denote \(\tau\)-derivatives. |
| Neural prediction | \(\varepsilon_\theta(x,t,y)\), or score \(s_\theta(x,t,y)\) | Velocity \(v_\theta(x,\tau,y)\) | Noise converts to score as \(s_\theta=-\varepsilon_\theta/\sigma_t\) where \(\sigma_t>0\); velocity converts to score only under a specified path relation. |
| Exact conditional / unconditional fields | \(s_t^{\mathrm c}=\nabla_x\log p_t(x\mid y)\), \(s_t^{\mathrm u}=\nabla_x\log p_t(x)\) | \(v_\tau^{\mathrm c}=\mathbb E[U_\tau\mid R_\tau=x,Y=y]\), \(v_\tau^{\mathrm u}=\mathbb E[U_\tau\mid R_\tau=x]\) | Superscripts \(\mathrm c\) and \(\mathrm u\) always mean conditional and unconditional. Scores are not velocities. |
| Velocity–score conversion | A score enters the chosen sampler with its prescribed coefficients | \(v_\tau=A_\tau x+B_\tau\nabla_x\log q_\tau\) for the Gaussian affine path | \(A_\tau=\dot a_\tau/a_\tau\), \(B_\tau=A_\tau b_\tau^2-b_\tau\dot b_\tau\); see (13)–(14) for domains and conditioning. Uppercase \(B_\tau\) is not the noise weight \(b_\tau\). |
| CFG scale and null condition | \(\gamma\), \(\varnothing\) | The same \(\gamma\), \(\varnothing\) | \(\gamma=0\): unconditional; \(\gamma=1\): ordinary conditional; \(\gamma>1\): extrapolation. \(\rho\) is the training condition-drop probability, not the guidance scale. |
| Generated samples and their law | The chosen reverse SDE / ODE determines the output law | \(\widehat R_\tau\): generated ODE sample; \(h_\tau(x\mid y)\): its guided density | Constructed states \(R_\tau\) and generated samples \(\widehat R_\tau\) have different roles. The actual guided density \(h_\tau\) need not equal \(q_\tau\) or a powered version of it. |
A conditional generator already receives the requested condition during training and sampling. Guidance introduces a further choice: whether to use its conditional prediction directly or modify the sampling field to emphasize the condition. These choices need to be separated, because stronger condition adherence, better perceptual quality, and more accurate sampling of the conditional data distribution are different objectives.
We follow the progression used in the MIT course notes, Chapter 5: vanilla conditioning, classifier guidance, and classifier-free guidance. Here, “vanilla” means ordinary conditional generation, not unconditional generation. Conditioning on a prompt or class is also distinct from conditioning on a sampled endpoint when constructing flow-matching training paths.
1. Vanilla conditioning: learn the conditional field directly¶
Let \((X_0,Y)\) have the data joint law, with \(X_0\in\mathbb R^d\) and condition \(Y\in\mathcal Y\). In the diffusion formulas, \(t\in[0,T]\) runs in the forward noising direction, from data toward noise; generation traverses these times backwards. This differs from the noise-to-data convention used in our flow-matching examples.
We use a separate parameter \(\tau\in[0,1]\) for flow matching, running from noise to data. The same data variable \(X_0\) is used in both: its subscript labels the diffusion data endpoint, not the flow starting point.
1.1 Diffusion: predict the added noise¶
For a Gaussian corruption, write
The condition stays fixed while the data state changes.
\((X_0,Y)\) is a pair of random variables with the data joint law: a data sample and its associated condition. The notation \(\varepsilon\perp(X_0,Y)\) means that the Gaussian noise is drawn independently of the entire pair; it does not mean that the data and condition are independent of each other. Equation (1) corrupts only the data state, not the condition.
For a fixed condition \(y\), a typical implementation computes \(e_y=\operatorname{Encoder}(y)\) once per generation and reuses it in every prediction \(\varepsilon_\theta(X_t,t,e_y)\). The embedding stays fixed while \(X_t\) and \(t\) change. Its effect need not stay fixed: in cross-attention, for example, queries depend on the current state, so attention weights can change even when the condition embedding does not.
A fixed embedding during one sampling run is a common implementation choice, not a mathematical requirement. It also does not imply that the condition encoder is frozen during training. We write \(\varepsilon_\theta(x,t,y)\) below as shorthand that includes the encoding of \(y\).
The coefficients are fixed schedules. Statements involving division by \(\sigma_t\) apply only where \(\sigma_t>0\). Let \(p_t(x\mid y)\) denote the resulting conditional density. A conditional noise predictor is trained with
where the expectation also samples time from a chosen training distribution, independently of data and noise. Assuming finite second moments and sufficient model capacity, its population optimum is
The score identity follows by differentiating the Gaussian mixture density, wherever differentiation under the integral is justified. Providing \(y\) changes the conditional expectation being learned; the training target remains the sampled noise. With the exact conditional score, the appropriate reverse dynamics, and the correct terminal law, conditional generation does not require an additional amplification step. A shared Gaussian initialization is an approximation unless the terminal noising law actually removes dependence on \(y\).
1.2 Flow matching: predict the constructed path velocity¶
Draw the same data–condition pair \((X_0,Y)\), but construct a path in the generation direction. With \(Z\sim\mathcal N(0,I_d)\) independent of \((X_0,Y)\), set
Dots here denote derivatives with respect to \(\tau\). The schedules are differentiable, and the data have finite second moments. The condition \(Y\), or its embedding, is held fixed along this construction just as in the diffusion example. Train the velocity network with
The expectation samples \(\tau\) independently of the endpoints. The second expression is the population-optimal regression field. For the straight interpolation,
Thus diffusion uses a sampled noise label \(\varepsilon\), while this FM construction uses a sampled velocity label \(X_0-Z\). Both networks receive a noisy/intermediate state, its time, and the unchanged condition. The conditional average field need not reproduce each training pair's straight trajectory.
1.3 From learned fields to generated distributions¶
The regression objectives identify a conditional score or a conditional velocity. To turn either prediction into a generator, we must specify how it moves samples and how that motion evolves their density. The Fokker–Planck equation and the continuity equation supply this connection for stochastic and deterministic dynamics, respectively; they are not additional losses imposed during training.
The Gaussian corruption formula (1) specifies a distribution at each time; it does not by itself specify an SDE. Suppose these marginals are realized by a forward Itô diffusion with condition-independent drift \(f_t:\mathbb R^d\to\mathbb R^d\) and scalar, spatially constant diffusion coefficient \(g_t\geq0\). With Brownian motion independent of the initial data–condition pair, the conditional density satisfies
Here \(\Delta_x=\sum_{i=1}^d\partial_{x_i}^2\). For (1), a compatible linear SDE has \(f_t(x)=(\dot\alpha_t/\alpha_t)x\) and \(g_t^2=\frac{d}{dt}\sigma_t^2-2(\dot\alpha_t/\alpha_t)\sigma_t^2\), where \(\alpha_t>0\), this expression is nonnegative, and the initial schedules are \(\alpha_0=1,\sigma_0=0\). Dots in this diffusion formula denote \(t\)-derivatives. Thus arbitrary affine schedules do not automatically define such a forward diffusion.
In (7), drift transports probability and the Laplacian accounts for stochastic spreading. Since \(\nabla_x p_t=p_t\nabla_x\log p_t\), the same equation can be written as a continuity equation:
This is the probability-flow ODE field in the forward noising time \(t\); generation integrates it backwards. Under suitable regularity and uniqueness conditions, it has the same time marginals as the forward SDE. Equation (8) is not a statement that their sample paths coincide.
For flow matching, the learned object is already a velocity, so it can be integrated directly. Its density evolves by the continuity equation rather than by a drift-plus-diffusion equation.
Let \(q_\tau(x\mid y)\) be the density of \(R_\tau\) given \(Y=y\). Under the regularity needed for the continuity equation and a well-posed, uniquely transporting ODE, the exact field generates this conditional probability path:
Equations (7) and (9) both conserve total probability when the boundary flux vanishes; neither keeps the density fixed at each state. The hats distinguish generated ODE samples from constructed training states. These statements apply on regular time intervals; if the data endpoint is singular, reaching it requires a limiting argument rather than assuming a smooth invertible flow through \(\tau=1\).
The two time conventions can be matched at the level of marginal paths: if \(a_\tau=\alpha_{T(1-\tau)}\) and \(b_\tau=\sigma_{T(1-\tau)}\), then \(q_\tau(\cdot\mid y)=p_{T(1-\tau)}(\cdot\mid y)\). This requires the corresponding schedules, including their endpoints, to match; an arbitrary diffusion schedule need not be the straight FM interpolation. Equality of these marginal paths does not identify an SDE's individual trajectories with an FM ODE's trajectories.
2. Classifier guidance: obtain the conditional correction through Bayes' rule¶
2.1 The conditional correction to the score¶
For clarity, take \(Y\) to be a discrete class and fix \(y\) with positive probability. Where the densities are positive and differentiable,
so
The derivative of \(\log p(y)\) vanishes because it does not depend on \(x\). A time-dependent classifier \(c_\phi(y\mid x,t)\) can estimate the second term. It must handle the noisy states encountered at time \(t\); a classifier trained only on clean data does not automatically estimate this posterior.
The unconditional-base form of classifier guidance is
With exact models, \(\gamma=1\) recovers the conditional score. Choosing \(\gamma>1\) amplifies its conditional correction; this is a sampling modification rather than the Bayes identity itself. Classifier guidance can also be added to an already conditional base model, in which case the baseline and scale convention must be adjusted. Dhariwal and Nichol (2021) develop classifier-guided diffusion sampling and examine its quality–diversity trade-off.
2.2 Convert the score correction into a velocity correction¶
A score is a spatial log-density gradient; a velocity is a time derivative of a sample state. They cannot be substituted for each other without a conversion. For the Gaussian affine path (4), on interior times where \(a_\tau,b_\tau>0\), define
Gaussian differentiation gives \(\nabla_x\log q_\tau(x\mid y)=-\mathbb E[Z\mid R_\tau=x,Y=y]/b_\tau\). Taking the conditional expectation of \(R_\tau=a_\tau X_0+b_\tau Z\) then eliminates \(X_0\) from the expected velocity in (5), yielding
Here \(v_\tau^{\mathrm u}(x)=\mathbb E[U_\tau\mid R_\tau=x]\), and \(q_\tau(y\mid x)\) is the class posterior under the constructed flow path. Both branches must use the same schedules and the independent Gaussian coupling in (4). The final line follows from Bayes' rule, because the common \(A_\tau x\) term cancels. This is also the Gaussian-path conversion used in the MIT guidance lecture.
A classifier \(c_\phi^{\mathrm F}(y\mid x,\tau)\) trained on these intermediate states therefore supplies the flow version of (12):
With exact fields and classifier, \(\gamma=1\) recovers the conditional velocity. The factor \(B_\tau\) is essential: simply adding a classifier score gradient to an arbitrary FM velocity is not this identity. The expression for the straight path is singular at \(\tau=0\); it must not be evaluated there by direct division. The original conditional-expectation definition of velocity is the primary object. More general paths or endpoint couplings require a separate derivation and need not admit this scalar conversion.
3. Classifier-free guidance: estimate the correction without a separate classifier¶
3.1 Combine conditional and unconditional score predictions¶
Rearranging the same identity gives
Thus two generative predictions can supply the correction. During training, independently replace the condition with a reserved null token \(\varnothing\) with probability \(\rho\in(0,1)\). Training on both retained and dropped conditions lets a single network estimate conditional and unconditional predictions. Independent dropping is important: the dropped subset should retain the marginal data law.
At sampling time, combine the predictions:
Under our convention, \(\gamma=0\) gives the unconditional prediction, \(\gamma=1\) the ordinary conditional prediction, and \(\gamma>1\) extrapolates beyond it. The original CFG paper also uses the form \((1+w)s_{\mathrm c}-ws_{\mathrm u}\), corresponding to \(\gamma=1+w\). Noise predictions admit the same linear combination when their noise scale and parameterization agree. “Classifier-free” removes the separate classifier, not the conditioning information or the usual two branch evaluations. Ho and Salimans (2022).
3.2 Combine conditional and unconditional velocity predictions¶
Use independent condition dropout in the FM objective (5), so the null-condition branch learns \(v_\tau^{\mathrm u}\) and the retained-condition branch learns \(v_\tau^{\mathrm c}\). At inference,
The scale convention is unchanged: \(\gamma=0\) is unconditional, \(\gamma=1\) is ordinary conditional generation, and \(\gamma>1\) extrapolates. There is no extra multiplication by \(B_\tau\) in this formula: for the exact Gaussian-path fields, (14) shows that the velocity difference already contains that factor. This allows direct velocity guidance without computing scores or a classifier gradient. For other FM constructions, the same combination can be defined, but its interpretation as a classifier correction is not automatic.
| Operation | Diffusion / score formulation | Flow-matching formulation |
|---|---|---|
| Training construction | \(X_t=\alpha_tX_0+\sigma_t\varepsilon\), data → noise | \(R_\tau=a_\tau X_0+b_\tau Z\), noise → data |
| Regression label | Sampled noise \(\varepsilon\) | Constructed velocity \(U_\tau\) |
| Classifier correction | \(\gamma\nabla_x\log p_t(y\mid x)\) added to the unconditional score | \(\gamma B_\tau\nabla_x\log q_\tau(y\mid x)\) added to the unconditional velocity, under (4) |
| Classifier-free combination | \(s_{\mathrm u}+\gamma(s_{\mathrm c}-s_{\mathrm u})\) | \(v_{\mathrm u}+\gamma(v_{\mathrm c}-v_{\mathrm u})\) |
| Use at sampling | Insert the score into the chosen reverse SDE or probability-flow ODE, with its corresponding coefficients | Integrate the guided velocity ODE forward in \(\tau\) |
The diffusion column combines scores, not SDE drifts: the reverse SDE and probability-flow ODE multiply the score by different coefficients. The flow column combines velocities that can be integrated directly.
3.3 Generate with the guided fields¶
The guided fields now define concrete samplers. Their generated densities evolve by the same types of equations used in Section 1.3, with the fields replaced by the guided ones. Writing this replacement explicitly distinguishes the sampler's actual law from the original conditional data path.
To avoid a backwards-time sign ambiguity, let \(r=T-t\in[0,T]\) increase during generation and let \(s_{\mathrm G}\) denote the chosen guided score, such as (17). With a fresh Brownian motion \(\overline W_r\), the guided reverse SDE and its actual density \(h_r^{\mathrm{SDE}}(x\mid y)\) obey
In the density equation, the fields are evaluated at \((x,T-r,y)\) as in the first line. The initial density \(h_0^{\mathrm{SDE}}\) is the sampler's chosen terminal-noise law. For the exact conditional score and initialization \(h_0^{\mathrm{SDE}}=p_T(\cdot\mid y)\), the appropriate time-reversal assumptions give \(h_r^{\mathrm{SDE}}=p_{T-r}(\cdot\mid y)\). With extrapolated guidance, this equality generally no longer follows: the generated density must instead be obtained from the evolution equation (19).
The usual guided ODE instead uses velocity \(-f_{T-r}+\tfrac12g_{T-r}^2s_{\mathrm G}\) and obeys a continuity equation. It is not automatically the probability-flow ODE of (19): that SDE's probability-flow velocity would be its drift minus \(\tfrac12g_{T-r}^2\nabla_x\log h_r^{\mathrm{SDE}}\). Identifying these expressions requires the relevant density/score consistency, which an arbitrary guided score does not guarantee.
For flow CFG, there is no Brownian increment in the sampler. Substitute the guided velocity (18) into the same ODE–continuity pair used in Section 1.3. Writing \(h_\tau(x\mid y)\) for the actual generated density gives
Here \(\varphi_d\) is the standard Gaussian density. The first line specifies how to generate samples; the second describes the distribution those samples produce. The velocity is evaluated during sampling; the density equation is not an extra numerical correction applied to each sample. Unlike (19), it has no Laplacian term because this sampler has no stochastic diffusion term.
For exact fields, \(\gamma=0\) recovers the unconditional path \(q_\tau\), and \(\gamma=1\) recovers the conditional path \(q_\tau(\cdot\mid y)\), under the regularity, initial-law and uniqueness assumptions of Section 1.3. For \(\gamma>1\), the same equation still determines the generated law, but that law need not be either original path. Total probability remains one under vanishing boundary flux; conservation alone does not identify the endpoint distribution. This is the same distinction as in the guided SDE: a well-defined sampler and a normalized output law do not establish a particular target law.
4. A combined field does not identify the generated endpoint distribution¶
An empirically motivated design, with a specific gap in its distributional interpretation.
The conditional-minus-unconditional score identity follows from Bayes' rule; CFG is not a construction without mathematical foundations. The empirical choice is to amplify that correction beyond ordinary conditioning, and to choose how strongly to do so. Strong guidance is a deliberately designed extrapolation of conditional and unconditional predictions. Its practical motivation comes from experiments: stronger guidance can improve condition adherence or perceived sample quality, often at a cost to diversity. It is not derived from a general guarantee that the modified sampler exactly reproduces the conditional data distribution. In this sense, empirical results motivate the design, and theory subsequently investigates why it works, where it fails, and what distribution it produces. The original classifier-guidance and classifier-free-guidance papers provide the empirical basis; the later predictor-corrector analysis examines the distributional interpretation.
The missing guarantee has a precise cause. Each original field is consistent with its own evolving density, but combining the fields does not generally preserve that consistency for the proposed powered density. A spatial score identity at each fixed time does not establish the required time evolution. In flow matching, the candidate density must satisfy the continuity equation with the combined velocity; in diffusion, it must be consistent with the relevant noising and sampling dynamics. These conditions do not follow merely by taking a linear combination of predictions—even when both predictions are exact.
This does not mean the new sampler is mathematically invalid: suitable regularity can still make its dynamics well posed, and appropriate boundary behavior can still ensure probability conservation. What is not automatically preserved is the claimed target distribution. Empirical improvements justify using guidance for the evaluated objectives and settings; they do not prove exact distribution matching or establish that stronger guidance is universally better. The distinction below is therefore between a useful sampling design and a stronger distributional claim, not between an algorithm with mathematics and one without it.
For exact scores and a constant \(\gamma\), define, when the normalizer is finite,
At each fixed time,
The sampler is already defined by (19) or (20). Equation (22), in contrast, is only a spatial derivative identity. It does not establish that the family \(r_t\) satisfies the forward Fokker–Planck equation associated with the original noising process. Consequently, replacing its reverse sampler's score with this expression does not generally produce \(r_0\). The missing requirement is consistency across time, not a missing normalization constant in the spatial gradient.
Bradley and Nakkiran, Classifier-Free Guidance is a Predictor-Corrector (2024 preprint; TMLR 2025) analyze this distinction and show that CFG interacts differently with DDPM and DDIM. Their SDE-limit analysis connects CFG to denoising plus a Langevin sharpening correction. This directly qualifies the tempting claim that CFG simply samples a powered conditional distribution.
The flow version of this argument can be made equally explicit. For the Gaussian affine path (4), take the exact conditional and unconditional velocities and a constant \(\gamma\). A tempting candidate for their guided density is
Assume this integral is finite and the densities are positive and sufficiently differentiable. Using the common coefficients \(A_\tau,B_\tau\) in (13)–(14), on their stated interior-time domain,
The star marks an exact-field combination, separating this argument from neural approximation error. Equation (24) is a valid pointwise identity. It does not show that \(\widetilde q_\tau\) is transported by this velocity. To identify it with the sampler's actual density, it would also have to satisfy
The initial condition holds for (4), since the conditional and unconditional paths both start from the same Gaussian. The time-evolution condition does not follow from (24). In particular, \(\nabla_x\log C_\tau(y)=0\), so normalization disappears from the spatial identity, but \(\partial_\tau\log C_\tau(y)\) contributes to the time derivative in (25). More generally, the powered combination need not evolve according to the chosen Gaussian path's velocity–score relation. If (25) and the required uniqueness conditions were established, the densities could be identified; the fixed-time identity alone supplies no such proof.
Thus both columns reach the same logical boundary. For diffusion, the weighted score need not belong to a density path consistent with the original noising dynamics. For flow, the corresponding weighted velocity need not transport the proposed powered density. In either case, the actual law is determined by the sampler's evolution equation, not by its pointwise algebraic resemblance to a desired density formula. This limitation already occurs with exact fields and is separate from training or discretization error.
5. Recent directions and reading map¶
The following papers address different design choices. Their reported improvements concern the models, samplers and evaluation settings studied; they are not universal guarantees.
| Design choice | Reference | Contribution and role in this chapter |
|---|---|---|
| When to apply guidance | Applying Guidance in a Limited Interval Improves Sample and Distribution Quality in Diffusion Models, Kynkäänniemi et al., 2024 | Finds that restricting guidance to an intermediate noise interval improves results in the evaluated settings. Motivates a schedule rather than one constant scale throughout sampling. |
| Which prediction to use as the reference | Guiding a Diffusion Model with a Bad Version of Itself, Karras et al., 2024 | Autoguidance uses a weaker version of the model rather than an unconditional model; also studies unconditional generation. Shows that guidance effects extend beyond enforcing a condition. |
| How guidance enters a numerical update | CFG++: Manifold-constrained Classifier Free Guidance for Diffusion Models, Chung et al., 2024 | Revises the guidance update, motivated by off-manifold behavior, and reports improvements in generation and inversion. Its geometric explanation should be presented with its assumptions, not as a general law of data geometry. |
| What distribution the sampler produces | Classifier-Free Guidance is a Predictor-Corrector, Bradley and Nakkiran, 2024 / TMLR 2025 | Establishes why the fixed-time powered-density score argument does not determine the endpoint law; central theoretical reading for Section 4. |
| Whether two branches are needed at inference | Diffusion Models without Classifier-free Guidance, Tang et al., 2025 | Proposes Model-guidance, changing the training objective to avoid standard two-branch CFG inference. This moves work into training rather than providing a free replacement for every pretrained model. |
| How to choose guidance weights | Learn to Guide Your Diffusion Model, Galashov et al., 2025 / ICLR 2026 | Learns weights depending on the condition and denoising interval by minimizing distributional mismatch; also considers reward-tilted targets. Makes the choice of evaluation objective explicit. |
October 2026 preprints to follow¶
These are recent proposals, not established explanations adopted by this chapter. The summaries below reflect their stated methods; their detailed theoretical assumptions and experiments still require a closer reading.
- Opening the Black Box of Classifier-Free Guidance via Information Bottleneck, Gao et al., October 2026. Proposes an information-theoretic account of when conditioning is useful and an adaptive guidance activation rule. Relevant to the interval-guidance discussion.
- TrajCFG: Token-Wise Classifier-Free Guidance via Denoising Trajectory Feedback, Liu et al., October 2026. For flow-matching models, adapts token-wise guidance scales using historical changes in velocity direction, reusing ordinary CFG predictions without additional model evaluations. Relevant to replacing one global guidance scale with local allocation.
For the first reading pass, prioritize the two original guidance papers, the predictor-corrector analysis, interval guidance, and learned guidance weights. Autoguidance and the newer preprints then broaden the discussion without interrupting the vanilla → classifier → classifier-free derivation.
References¶
- Holderrieth and Erives. An Introduction to Flow Matching and Diffusion Models, Chapter 5. MIT course notes. Pedagogical organization and the distinction between endpoint conditioning and prompt conditioning.
- Dhariwal and Nichol. Diffusion Models Beat GANs on Image Synthesis. NeurIPS 2021. Classifier-guided sampling.
- Ho and Salimans. Classifier-Free Diffusion Guidance. 2021 workshop version; 2022 arXiv paper. Conditional/unconditional joint training and classifier-free extrapolation.
- Kynkäänniemi et al. Applying Guidance in a Limited Interval Improves Sample and Distribution Quality in Diffusion Models. 2024. Guidance restricted to selected noise intervals.
- Karras et al. Guiding a Diffusion Model with a Bad Version of Itself. 2024. Autoguidance using a weaker reference model.
- Chung et al. CFG++: Manifold-constrained Classifier Free Guidance for Diffusion Models. 2024. Modified guidance updates for generation and inversion.
- Bradley and Nakkiran. Classifier-Free Guidance is a Predictor-Corrector. 2024 preprint; TMLR 2025. Sampler-dependent behavior and the limits of the powered-density interpretation.
- Tang et al. Diffusion Models without Classifier-free Guidance. 2025. Model-guidance training to avoid standard two-branch CFG inference.
- Galashov et al. Learn to Guide Your Diffusion Model. 2025 preprint; ICLR 2026. Learned guidance weights for distribution matching and reward-guided sampling.
- Gao et al. Opening the Black Box of Classifier-Free Guidance via Information Bottleneck. October 2026 preprint. Information-theoretic analysis and adaptive guidance activation; included for follow-up reading.
- Liu et al. TrajCFG: Token-Wise Classifier-Free Guidance via Denoising Trajectory Feedback. October 2026 preprint. Token-wise guidance based on velocity-trajectory feedback; included for follow-up reading.