potentialpaper

Provably Reliable Classifier Guidance via Cross-Entropy Control

Sharan Sahu, Arisina Banerjee, Yuchen Wu

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. This paper studies when a classifier trained by minimizing cross-entropy loss yields effective diffusion guidance. We provide sufficient conditions for this to hold and construct counterexamples when these conditions fail.

Abstract. Classifier-guided diffusion models generate conditional samples by augmenting the reverse-time score with the gradient of the log-probability predicted by a probabilistic classifier. In practice, this classifier is usually obtained by minimizing an empirical loss function. While existing statistical theory guarantees good generalization performance when the sample size is sufficiently large, it remains unclear whether such training yields an effective guidance mechanism.

We study this question in the context of cross-entropy loss, which is widely used for classifier training. Under mild smoothness assumptions on the classifiers, we show that controlling the cross-entropy at each diffusion model step is sufficient to control the corresponding guidance error. In particular, we show that probabilistic classifiers achieving conditional KL divergence ε2\varepsilon^2 induce guidance vectors with mean squared error O~(dε)\widetilde O(d \varepsilon ), up to constant and logarithmic factors. We demonstrate that the proposed smoothness condition is necessary, by constructing a sequence of non-smooth classifiers that achieve small conditional KL while inducing an exploding guidance error. We also show that the derived upper bound O~(dε)\widetilde O(d \varepsilon ) is optimal up to poly-logarithmic factors. Our result yields an upper bound on the sampling error of classifier-guided diffusion models and bears resemblance to a reverse log-Sobolev--type inequality. To the best of our knowledge, this is the first result that quantitatively links classifier training to guidance alignment in diffusion models, providing both a theoretical understanding of when such models succeed, along with principled guidelines for selecting classifiers that induce effective guidance. In particular, our findings suggest that, when selecting classifiers for guidance, one should prioritize not only accuracy but also smoothness, highlighting the advantages of smoothness-inducing training methods for diffusion guidance.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
4 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:42 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

(a) Summary.

The paper asks when cross-entropy-trained probabilistic classifiers provide effective guidance for classifier-guided diffusion. Under smoothness assumptions on the classifier, it shows that controlling conditional KL at each diffusion step controls the guidance error — classifiers achieving conditional KL ε² induce guidance vectors with mean-squared error Õ(dε) — and that this rate is optimal up to poly-logarithmic factors. A negative result shows necessity of regularity: non-smooth classifiers can achieve vanishing conditional KL while inducing exploding guidance error. The guidance bound is propagated into a DDPM-style sampling error bound, with supporting experiments on GMMs and MNIST.

(b) Main strengths.

All three reviewers rate the paper technically solid. The framework cleanly links classifier training objectives to guidance effectiveness (R2); Theorem 3.3's quantitative KL-to-guidance link and the matching negative result are rigorous and thought-provoking given how standard cross-entropy training is (R1, R2); bounds are nearly tight (R3); the extension to sampling error goes beyond studying the guidance vector in isolation (R2); and the writing is clear (R1).

(c) Main weaknesses.

All three reviewers converge on reservations that go to whether the theory's central claims are supported and applicable. (1) Experiments do not test the theory (R1, R2). The GMM experiment shows low cross-entropy yields low gradient difference without varying smoothness, so it does not probe the mechanism the paper is about; the MNIST smooth/non-smooth comparison changes several architectural components at once, so effects cannot be attributed to smoothness, and it reports accuracy differences rather than the predicted generative underperformance. (2) The assumptions' status is unresolved (R1, R2, R3). Assumption 5 (conditional KL ≤ ε² in expectation for very small ε) may be nearly equivalent to assuming an oracle classifier (R1); the C² smoothness, gradient, and Hessian-trace conditions cannot currently be checked or enforced for practical networks, and whether they are close to minimal is unclear (R2, R3). (3) Scope. The analysis fixes guidance strength γ = 1, while practice uses γ > 1 (R3); related work on classifier-guidance theory is incompletely engaged (R1); the limitations section is future-work in disguise (R1).

During the rebuttal, the authors addressed many of the major concerns above. Several reviewers are satisfied with their responses.

Final justification

The authors did a good job in the rebuttal, and the reviewers are generally satisfied. Given this, I would upgrade my recommendation to Acceptance.

Area Chair aJbd · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

(a) Summary.

The paper asks when cross-entropy-trained probabilistic classifiers provide effective guidance for classifier-guided diffusion. Under smoothness assumptions on the classifier, it shows that controlling conditional KL at each diffusion step controls the guidance error — classifiers achieving conditional KL ε² induce guidance vectors with mean-squared error Õ(dε) — and that this rate is optimal up to poly-logarithmic factors. A negative result shows necessity of regularity: non-smooth classifiers can achieve vanishing conditional KL while inducing exploding guidance error. The guidance bound is propagated into a DDPM-style sampling error bound, with supporting experiments on GMMs and MNIST.

(b) Main strengths.

All three reviewers rate the paper technically solid. The framework cleanly links classifier training objectives to guidance effectiveness (R2); Theorem 3.3's quantitative KL-to-guidance link and the matching negative result are rigorous and thought-provoking given how standard cross-entropy training is (R1, R2); bounds are nearly tight (R3); the extension to sampling error goes beyond studying the guidance vector in isolation (R2); and the writing is clear (R1).

(c) Main weaknesses.

All three reviewers converge on reservations that go to whether the theory's central claims are supported and applicable. (1) Experiments do not test the theory (R1, R2). The GMM experiment shows low cross-entropy yields low gradient difference without varying smoothness, so it does not probe the mechanism the paper is about; the MNIST smooth/non-smooth comparison changes several architectural components at once, so effects cannot be attributed to smoothness, and it reports accuracy differences rather than the predicted generative underperformance. (2) The assumptions' status is unresolved (R1, R2, R3). Assumption 5 (conditional KL ≤ ε² in expectation for very small ε) may be nearly equivalent to assuming an oracle classifier (R1); the C² smoothness, gradient, and Hessian-trace conditions cannot currently be checked or enforced for practical networks, and whether they are close to minimal is unclear (R2, R3). (3) Scope. The analysis fixes guidance strength γ = 1, while practice uses γ > 1 (R3); related work on classifier-guidance theory is incompletely engaged (R1); the limitations section is future-work in disguise (R1).

During the rebuttal, the authors addressed many of the major concerns above. Several reviewers are satisfied with their responses.

Final justification

The authors did a good job in the rebuttal, and the reviewers are generally satisfied. Given this, I would upgrade my recommendation to Acceptance.

Reviewer h7KHOpenReview ↗
Rating
3/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
theory
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper studies when cross-entropy-trained probabilistic classifiers provide effective guidance in classifier-guided diffusion models. The authors analyze whether minimizing cross-entropy is sufficient to guarantee accurate guidance vectors used in the diffusion reverse process. Under mild smoothness assumptions, they show that controlling the cross-entropy loss at each diffusion timestep is sufficient to control the guidance error, in the sense that smaller conditional KL divergence leads to smaller mean squared error in the guidance vectors. They further show that the smoothness assumption is necessary by constructing non-smooth classifiers with small KL divergence but arbitrarily large guidance error. Finally, they establish the tightness of their bound up to logarithmic factors and derive consequences for the sampling error of classifier-guided diffusion models, thereby providing a theoretical link between classifier training quality and guidance accuracy. Numerical experiments on Gaussian mixture models and MNIST support the theoretical findings.

Strengths and weaknesses

Strengths

The paper provides a clear theoretical analysis of classifier-guided diffusion, identifying an important gap between cross-entropy training and guidance accuracy. It includes a negative result showing that low conditional KL does not guarantee good guidance, as well as a positive result under smoothness assumptions that gives a meaningful characterization of when guidance is reliable. The results are technically solid and include nearly tight bounds, improving the understanding of how classifier quality affects diffusion sampling.

Weaknesses

The theoretical analysis focuses on the case when the guidance strength γ=1\gamma=1, whereas classifier-guided diffusion is often used with γ>1\gamma>1 in practice. Thus, it is unclear to what extent the derived guarantees extend to the regimes commonly used in applications. A discussion or extension of the analysis to general guidance strengths would strengthen the practical relevance of the results.

Questions
  1. How do you think you can extend the analysis to the case where γ>1\gamma>1?

  2. Are the smoothness assumptions satisfied by neural network used in diffusion models?

  3. Can you elaborate on how Assumption 3 in Theorem 3.3 is satisfied in practical settings?

Limitations

Yes

Final justification

The γ>1\gamma>1 extension provided in the rebuttal is a proof sketch, not a verified proof: key steps are asserted rather than derived, and I could not independently reproduce them. I cannot guarantee the validity of this extension without a complete proof. This matters because γ>1\gamma>1 is the regime actually used in practice, so a theory restricted to γ=1\gamma=1 does not characterize guidance as deployed. On the smoothness assumption, the authors confirm that neural-based classifiers may not satisfy it, meaning the guarantees may not cover practical classifiers. Given these gaps, I view the paper as incomplete and in need of substantial revision before publication, and would encourage the authors to submit to a future venue. I will keep my score unchanged.

Formatting concerns

No concerns

8 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Dear reviewer, thank you for your careful reading and thoughtful feedback. We are glad that you found our paper technically solid. We also thank you for your comments and suggestions, and would like to respond to the points you raised below.

Choice of the guidance parameter: We agree that restricting our analysis to γ=1\gamma=1 is not ideal. As discussed in the paper, however, defining an appropriate evaluation criterion for γ>1\gamma>1 is itself nontrivial, since it is unclear which target distribution the generated samples should be compared against. This work provides a first step toward understanding classifier guidance by focusing on a simpler yet theoretically tractable setting. We believe that such simplifications are reasonable and common in the theoretical study of foundation models, as demonstrated, for example, by the use of NTK analyses and simplified attention architectures.

If the goal is to compare the distributions induced by the true conditional and a learned classifier, then our results generalize to γ>1\gamma > 1. Specifically, if we define pt,γp_{t, \gamma} as the marginal distribution of SDE (Equation 4) at time t, then our theoretical results hold if we replace pskp_{s_k} by psk,γp_{s_k, \gamma}. Specifically, the version of Theorem 3.3 for γ>1\gamma > 1 is given below:

Theorem
Suppose we wish to sample from the conditional distribution Pdata(⋅∣y)P_{\mathrm{data}}(\cdot \mid y) associated with a label yy. Fix T>0T > 0 and a reverse-time grid 0=t0<t1<⋯<tN=T−δ0 = t_{0} < t_{1} < \cdots < t_{N} = T - \delta. Let τk=tk+1−tk\tau_{k} = t_{k+1} - t_{k} and sk=T−tks_{k} = T - t_{k} for k∈{0}∪[N−1]k \in \{0\} \cup [N - 1].

Assume the following:

  • The data distribution PdataP_{\mathrm{data}} is supported on a bounded set K⊆Rd\mathcal{K} \subseteq \mathbb{R}^{d} with R=sup⁡x∈K∥x∥2<∞R = \sup_{x \in \mathcal{K}} \lVert x \rVert_{2} < \infty, in the sense that Pdata(x∈K)=1P_{\mathrm{data}}(x \in \mathcal{K}) = 1.

  • For k∈{0}∪[N−1]k \in \{0\} \cup [N - 1], x↦p^sk(y∣x)x \mapsto \hat{p}_{s_{k}}(y \mid x) belongs to C2(Rd)C^{2}(\mathbb{R}^{d}). In addition, $∥∇xlog⁡p^sk(y∣x)∥2≤2λskσsk−2R,∣Tr⁡(∇x2log⁡p^sk(y∣x))∣≤2λsk2σsk−4R2.\begin{aligned} \left\lVert \nabla_{x} \log \hat{p}_{s_{k}}(y \mid x) \right\rVert_{2} &\leq 2\lambda_{s_{k}}\sigma_{s_{k}}^{-2}R, \qquad \left| \operatorname{Tr} \left( \nabla_{x}^{2}\log \hat{p}_{s_{k}}(y \mid x) \right) \right| \leq 2\lambda_{s_{k}}^{2}\sigma_{s_{k}}^{-4}R^{2}. \end{aligned}$

  • There is a universal constant C>0C > 0 such that, for k∈{0}∪[N−1]k \in \{0\} \cup [N - 1] and sufficiently small ϵ\epsilon,

    • Px∼psk,γ(⋅∣y)(∥∇xlog⁡p^sk(y∣x)∥2≤Cd+log⁡(1/ϵ)σsk)≥1−ϵ/Pdata(y)\mathbb{P}_{x \sim p_{s_{k}, \color{red}\gamma}(\cdot \mid y)}\left(\left\lVert \nabla_{x}\log \hat{p}_{s_{k}}(y \mid x)\right\rVert_{2} \leq \frac{C\sqrt{d+\log(1/\epsilon)}}{\sigma_{s_{k}}}\right) \geq 1-\epsilon/P_{\mathrm{data}}(y),

    • Px∼psk,γ(⋅∣y)(∣Tr⁡(∇x2log⁡p^sk(y∣x))∣≤C(d+log⁡(1/ϵ))σsk2)≥1−ϵ/Pdata(y)\mathbb{P}_{x \sim p_{s_{k},\color{red}\gamma}(\cdot \mid y)}\left(\left|\operatorname{Tr}\left(\nabla_{x}^{2}\log \hat{p}_{s_{k}}(y \mid x)\right)\right| \leq \frac{C\left(d+\log(1/\epsilon)\right)}{\sigma_{s_{k}}^{2}}\right) \geq 1-\epsilon/P_{\mathrm{data}}(y).

  • The target label satisfies Pdata(y)>0P_{\mathrm{data}}(y) > 0.

  • For all k∈{0}∪[N−1]k \in \{0\} \cup [N - 1], Ex∼psk,γ[DKL(psk(⋅∣x) ∥ p^sk(⋅∣x))]≤εsk2\mathbb{E}_{x \sim p_{s_{k},\color{red}\gamma}}\left[D_{\mathrm{KL}}\left(p_{s_{k}}(\cdot \mid x)\,\Vert\,\hat{p}_{s_{k}}(\cdot \mid x)\right)\right] \leq \varepsilon_{s_{k}}^{2} for εsk∈[0,Pdata(y)/2]\varepsilon_{s_{k}} \in \left[0,P_{\mathrm{data}}(y)/\sqrt{2}\right].

Then, for all k∈{0}∪[N−1]k \in \{0\} \cup [N - 1], there exists a numerical constant C0>0C_{0} > 0 such that $Ex∼psk,γ(⋅∣y)[∥∥∇xlog⁡psk(y∣x)−∇xlog⁡p^sk(y∣x)∥∥22≤C0εskσsk2Pdata(y)(d+log⁡(R2+dσsk2)+log⁡(1εsk)+log⁡(1Pdata(y))).\mathbb{E}_{x \sim p_{s_{k}, \color{red}\gamma}(\cdot\mid y)}\Big[ \big\| \big\| \nabla_x \log p_{s_k}(y\mid x) - \nabla_x \log \hat p_{s_k}(y\mid x) \big\| \big\|_2^2 \leq \frac{C_{0} \varepsilon_{s_{k}}}{\sigma_{s_{k}}^{2} P_{\mathrm{data}}(y)} \Big( d + \log \Big( \frac{R^2 + d}{\sigma_{s_k}^2} \Big) + \log \Big( \frac{1}{\varepsilon_{s_k}} \Big) + \log \Big( \frac{1}{P_{\mathrm{data}}(y)} \Big) \Big).$

We omit the proof during the rebuttal phase for the sake of simplicity, and will add the extension for γ>1\gamma > 1 in our updated manuscript. If you would like to see a proof of this theorem please let us know, and we will try our best to deliver it through openreview.

Smoothness assumptions: This is a good point, and we agree that smoothness is a critical assumption of our theorem. However, we would like to provide the following explanations. We hope this will clarify the significance of our contribution.

Our results suggest the use of smoothness-inducing algorithms like ridge / gradient regularization and kernel methods. Whether neural classifiers succeed is instance-dependent and depends on the network architecture. We did not propose explicit interventions / algorithms, as many methods already meet our conditions. We believe that providing a precise theoretical characterization of the classifiers suitable for classifier guidance without designing a new algorithm already constitutes a meaningful contribution. We leave further algorithmic exploration to future work.

On a separate note, we believe the smoothness assumption is a commonly used one in diffusion model literature. As mentioned in Line 237-238, the C2C^2 assumption is standard and has been widely adopted in the diffusion model theory literature, see [25, 32] for a few exemplar papers that also adopt this assumption.

We will incorporate all rebuttals into our manuscript to improve its quality. We hope our response helps clarify the significance of our contribution, and we would be very happy to discuss further. Thank you again for your time and consideration!

[25] Daniel Zhengyu Huang, Jiaoyang Huang, and Zhengjiang Lin. Convergence analysis of probability flow ode for score-based generative models. IEEE Transactions on Information Theory, 2025.
[32] Holden Lee, Jianfeng Lu, and Yixin Tan. Convergence of score-based generative modeling for general data distributions. In International Conference on Algorithmic Learning Theory, pages 946–985. PMLR, 2023.

Reviewer h7KH · CommentOpenReview ↗

Thank you for the detailed rebuttal. A few remaining concerns:

  • γ>1\gamma>1. The extension you provide only concerns εsk\varepsilon_{s_k}, which never depended on γ\gamma. It doesn't address the actual bottleneck, since the target distribution for γ>1\gamma>1 remains ill-defined. Could you clarify what the extension actually resolves?

  • Smoothness assumption. Your citations assume smoothness of the true score, not the trained classifier. These are different objects. Do any references support smoothness of a learned estimator specifically?

  • Assumption 3. It is not addressed separately. It is a probabilistic relaxation of Assumption 2. Could you comment on why a trained classifier's gradients/Hessians would concentrate accordingly?

Authors · CommentOpenReview ↗

Reply To Reviewer h7KH (Part 1/2)

Thank you for the continued engagement and constructive feedback.

Q1. Perhaps we have missed something, but we are not entirely sure what is meant by “the extension you provide only concerns εsk\varepsilon_{s_k}”. We assume that by εsk\varepsilon_{s_k}, you are referring to the quantity appearing in the fifth assumption of Theorem 3.3? Could you please give more clarifications on your question?

We agree that it is not immediately clear what the appropriate target distribution should be when γ>1\gamma > 1. However, we believe that a reasonable choice is the marginal distribution of the following SDE. (We also apologize for a mistake in our previous comment: pt,γp_{t, \gamma} is not the marginal distribution of SDE (4). Instead, it should be defined as the marginal distribution of the following SDE):

dXt={Xt+2∇log⁡pT−t(Xt)+2γ∇log⁡p(y∣Xt)}dt+2dBt,X0∼pT.d X_t = \lbrace X_t + 2 \nabla \log p_{T - t}(X_t) + 2 \gamma \nabla \log p(y \mid X_t) \rbrace d t + \sqrt{2} d B_t, \qquad X_0 \sim p_T.

This SDE can be viewed as the continuous-time, estimation-error-free counterpart of the guided diffusion model with guidance parameter γ\gamma. Specifically, if we discretize the SDE with an infinitesimal step size and have access to the exact score function, exact classifier, and exact initialization, then the resulting oracle sampling procedure would generate samples from this process.

The modified theorem presented in our previous comment does not by itself provide an estimation guarantee for pT,γp_{T, \gamma}, the terminal distribution of the above SDE. However, by combining that theorem with Girsanov's theorem like we did in Theorem 3.7, we can obtain the following extension of Theorem 3.7 to the case γ>1\gamma > 1 setting.

Theorem
Assume there exists κ>0\kappa > 0 such that for each k=0,⋯ ,N−1k = 0, \cdots, N-1, τk≤κmin⁡(1,sk+1)\tau_k \leq \kappa \min(1, s_{k+1}). Under Assumption 3.1 and the assumptions of the theorem stated in the previous comment, there exists a universal positive constant Cs>0C_s > 0, such that

DKL(pT−δ,γ∥∥p^T−δ,γ)≤Cs(εscore2+γ2εguide2+γ2κ(d+R2)T+γ2κ2(d+R2)N+γ2(d+R2)e−2T),D_{\mathrm{KL}}(p_{T - \delta, \gamma} \| \| \hat{p}_{T - \delta, \gamma}) \le C_s( \varepsilon_{\mathrm{score}}^2 +\gamma^2 \varepsilon_{\mathrm{guide}}^2 + \gamma^2 \kappa(d+R^2)T + \gamma^2 \kappa^2(d+R^2)N + \gamma^2 (d+R^2)e^{-2T}),

where δ\delta recall denotes the early stopping parameter, and p^T−δ,γ\hat{p}_{T - \delta, \gamma} denotes the output distribution of the guided diffusion model with imperfect score and classifier estimates.

This extension then resolves how classifier accuracy translates into closeness to the output of the above oracle guided SDE under smoothness conditions. We can also show (using almost the same steps as used in our impossibility result) that without smoothness such closeness cannot hold. As for the choice of the target distribution, we feel pT,γp_{T, \gamma} is the only reasonable candidate, despite we currently have little understanding of it.

Q2. Indeed, classifier smoothness is different from score smoothness. However, the two notions are intimately connected, since the classifier guidance term admits the following decomposition:

∇xlog⁡p(y∣x)=∇xlog⁡p(x∣y)−∇xlog⁡p(x).\nabla_x \log p(y \mid x) = \nabla_x \log p(x \mid y) - \nabla_x \log p(x).

Therefore, if both the conditional and unconditional score functions are assumed to be smooth, then the classifier guidance term is automatically smooth as well.

There are many traditional classifiers that satisfy our conditions. To name just a few examples, logistic regression with bounded ground-truth coefficients and Gaussian mixture models with shared covariance both satisfy our smoothness conditions. Depending on how the labels are defined, such classifiers can still be useful even for complex data distributions.

As a heuristic observation, we believe that assuming classifier smoothness is, in many settings, less restrictive than assuming score smoothness. Intuitively, score functions are generally much more complex objects than classifiers, as they must capture the full geometry of the data distribution rather than only the information relevant for predicting labels. Consequently, score functions often exhibit less regularity than classifier guidance functions.

We would also like to emphasize that our goal is not to develop a theorem that applies to most classifiers. In fact, it has been empirically observed that some classifiers with high classification accuracy can still fail for diffusion guidance (see our Line 47-49). Specifically, our Theorems 3.1 and 3.3 show that smoothness is both sufficient and in some sense necessary for accurate guidance. Under a smoothness condition, Sections 3.3 and 3.4 further characterize how classification error translates into sampling error and establish the optimal translating rates.

Reviewer 6gikOpenReview ↗
Rating
4/6
Confidence
2/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
theory
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper studies when cross-entropy-trained classifiers can provide reliable guidance for classifier-guided diffusion models. The paper first proves a negative result showing that non-smooth classifiers can achieve vanishing conditional KL while inducing large guidance error. It then introduces smoothness conditions on the classifiers, under which controlling the cross-entropy at each diffusion step is sufficient to control the corresponding guidance error. The authors further show that this rate is essentially optimal. Finally, the paper applies the guidance error bound to derive a sampling error bound for DDPM-style classifier-guided diffusion models and provides supporting experiments on GMM and MNIST.

Strengths and weaknesses

Strengths:

  1. The paper provides a clean theoretical framework for connecting the training objective of classifiers to their actual effectiveness in classifier-guided diffusion models. The proposed smoothness perspective is valuable to the theory of diffusion models.

  2. Theorem 3.3 gives a quantitative link between cross-entropy training and guidance alignment. In particular, the result shows that, under suitable smoothness assumptions, controlling the conditional KL at each diffusion step is sufficient to control the corresponding guidance error.

  3. The connection to sampling error is also valuable. By incorporating the guidance error into a DDPM-style sampling bound, the paper shows how classifier training error can affect the final conditional sampling distribution, rather than only studying the guidance vector in isolation.

Weaknesses:

  1. The smoothness assumptions may be difficult to verify for modern neural classifiers. The main theorem requires control of the gradient and Hessian, but it is not clear how these conditions can be checked or enforced in large-scale neural networks used in practical diffusion models.

  2. The experimental evidence is somewhat limited. The MNIST experiment is useful as a qualitative demonstration, but the comparison between smooth and non-smooth classifiers changes several architectural components at once, so the effect may not be solely attributable to smoothness.

  3. The necessity of the specific smoothness assumptions in the positive result is not fully clear. The negative result shows that some form of regularity is necessary, since non-smooth classifiers can achieve small conditional KL while inducing large guidance error. However, Theorem 3.3 requires fairly specific conditions, including C2C^2 smoothness and control of the gradient and Hessian trace. It is unclear whether these assumptions are close to minimal, or whether similar results could hold under weaker or more easily verifiable conditions.

Questions
  1. Theorem 3.3 requires smoothness assumptions on the classifier, including control of the gradient and Hessian trace. Could the authors suggest practical ways to verify these conditions for neural network classifiers used in diffusion models? Are there training regularizers or diagnostics that the authors would recommend?

  2. Could the authors comment on whether the smoothness conditions in Theorem 3.3 can be relaxed?

  3. In the MNIST experiment, the smooth and non-smooth classifiers differ in multiple architectural choices, such as activation functions and pooling operations. Could the authors clarify how much of the observed improvement can be attributed specifically to smoothness, rather than to other architectural or optimization differences?

Limitations

Yes

Final justification

This paper studies when cross-entropy-trained classifiers can provide reliable guidance for classifier-guided diffusion models. The authors’ rebuttal addressed my main concerns regarding the smoothness assumptions and experimental design.

Formatting concerns

No

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Dear reviewer, thank you for your careful reading and thoughtful review. We are glad that you found our paper “valuable to the theory of diffusion models”. We also thank you for your comments and suggestions, and would like to respond to the points you raised below.

Smoothness assumptions: This is a great point, and we agree that smoothness is a critical assumption in our theorem. We would like to provide the following explanations to clarify the role of this assumption and further highlight the significance of our contribution.

  • Verifying the assumption: As mentioned in Line 235-237, the C2C^2 smoothness is satisfied by many commonly used traditional classifiers such as GMM and logistic regression. For neural networks with twice continuously differentiable activations, the relevant derivative quantities can be examined using automatic differentiation along sampled diffusion trajectories. In our MNIST experiments, we computed the classifier gradients by backpropagation and estimated the Hessian traces using the Hutchinson trace estimator with automatic-differentiation-based Hessian–vector products. Although these trajectory-based computations do not establish uniform global bounds, they provide a practical way to assess whether the quantities required by our theory remain well behaved in the region explored by the diffusion process.

  • Recommendation of training methods: Our results suggest the use of smoothness-inducing algorithms like ridge / gradient regularization and kernel methods. We will add this comment to our manuscript.

  • Scope of our contribution: It is worth mentioning that our main contribution is to provide a complete characterization of what classifiers would work for classifier guidance, and we discovered that smoothness is a critical factor. We did not propose explicit interventions, as many classifiers already meet our conditions (see the comments above). We believe theoretically characterizing the family of classifiers that would work for classifier guidance already forms a meaningful contribution. We leave further algorithmic exploration to future work.

  • Comments on the smoothness assumption: On a separate note, we would like to emphasize that the smoothness assumption is a standard one in the diffusion model literature. As mentioned in Lines 237–238, the C2C^2 smoothness assumption has been widely adopted in theoretical analyses of diffusion models, see, for example, [25, 32] for representative works that impose similar conditions.

MNIST experiment: We agree that the MNIST experiment changes multiple architectural components simultaneously and therefore does not isolate the contribution of any single component. However, apart from these changes, the smooth and non-smooth classifiers use the same overall architecture and training setup. The changes in the architecture between the smooth and non-smooth classifiers were chosen specifically to alter the classifiers’ regularity properties: GELU and average pooling are smooth operations, whereas Hardtanh and max pooling introduce nondifferentiabilities. Therefore, the architectural changes are specifically targeted at controlling the smoothness of the classifiers, rather than other aspects of the model design. Note that we need to modify certain aspects of the classifiers in order to obtain different accuracy levels.

Since the remaining architecture and training procedure are held fixed, we believe the observed performance gap is primarily associated with the combined change in regularity induced by these operations, although the experiment does not identify the contribution of each operation individually. Importantly, the two guiding classifiers achieve comparable cross-entropy and predictive accuracy, as reported in Figure 4, while exhibiting substantially different gradient norms and Hessian traces as seen in Figure 2. We will revise the text to clarify this in the revised manuscript.

Necessity of the smoothness assumption: We believe that our smoothness assumption is already close to minimal. Specifically, Assumption 2 in Theorem 3.3 introduces a smoothness parameter RR, but our bound depends only logarithmically on RR, allowing RR to be exponentially large. Assumption 3 in Theorem 3.3 requires the Jacobian and Hessian to have light tails, which can be satisfied through standard truncation operations. We will add these clarifications to the revised manuscript. In particular, the groundtruth classifier satisfies the smoothness assumptions. As mentioned above, the smoothness assumption is standard and widely adopted in the diffusion model theory literature.

We will incorporate all rebuttals into our manuscript to improve its quality. We hope our response helps clarify the significance of our contribution, and we would be very happy to discuss further. Thank you again for your time and consideration!

[25] Daniel Zhengyu Huang, Jiaoyang Huang, and Zhengjiang Lin. Convergence analysis of probability flow ode for score-based generative models. IEEE Transactions on Information Theory, 2025.
[32] Holden Lee, Jianfeng Lu, and Yixin Tan. Convergence of score-based generative modeling for general data distributions. In International Conference on Algorithmic Learning Theory, pages 946–985. PMLR, 2023.

Reviewer 6gik · CommentOpenReview ↗

Thank you for the detailed response. The clarifications regarding the practical assessment of the smoothness conditions, possible regularization strategies, the role of these assumptions, and the MNIST experimental design have addressed my concerns. I also appreciate that the authors acknowledge the limitations of the current experiment and will clarify them in the revised manuscript. Overall, I am satisfied with the response and have raised my score accordingly.

Reviewer 6V7SOpenReview ↗
Rating
5/6
Confidence
4/5
Quality
3/4
Clarity
4/4
Significance
3/4
Originality
3/4
Contribution type
theory
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The manuscript theoretically analyzes when a classifier can provide a proper training signal to the empirical score function in a conditional diffusion model. Although researchers typically train classifiers with cross-entropy loss, the manuscript argues that low cross-entropy loss does not guarantee a low L2 loss in the gradient itself, and may therefore mislead training. It then argues that the classifier can provide a good gradient direction under a smoothness condition, and shows that the bound is tight.

Strengths and weaknesses

Strengths

  • Overall, the paper is very well written and easy to follow, even for readers who are not deeply familiar with diffusion models.
  • The theoretical results are interesting, rigorous, and thought-provoking, particularly given that cross-entropy loss is so widely used as a standard recipe.

Weaknesses

The main weakness lies in the experiment section.

  • When first reading the paper, one would expect the experiments to accomplish two things:

    • Demonstrating, at least in a synthetic setting, that low cross-entropy loss does not result in a low gradient difference when the Hessian values of the function are large.
    • Observing how the correlation between cross-entropy loss and gradient difference changes as the smoothness varies, perhaps by adjusting a regularization parameter.
  • However, the current experiment section feels somewhat disconnected from the theoretical results. For example:

    • The GMM experiment only shows that low cross-entropy loss leads to low gradient difference, without varying the smoothness parameter, and therefore does not directly support the existing theory. The authors mention smoothness, but (1) it is not theoretically characterized, and (2) it is unclear whether the correlation between the two metrics is caused by smoothness or simply emerges naturally in any setting.
    • For the MNIST case, the manuscript considers two settings: smooth and non-smooth. The reader would then expect to see the generative model trained with the non-smooth classifier underperform the smooth one despite similar cross-entropy loss values. However, the current results only show that the two classifiers behave differently in terms of accuracy, which does not clearly connect to the theoretical findings.
  • On a more theoretical note, it is worth questioning whether Assumption 5 in Theorem 3.3 is too strong. Since ϵ2\epsilon^2 is a very small constant, requiring the KL divergence between the true and estimated classifier in expectation to be smaller than ϵ2\epsilon^2 seems nearly equivalent to assuming access to an oracle classifier.

  • The related work section would benefit from providing a broader picture of diffusion model theory, especially on classifier guidance, rather than referencing only superficially related general diffusion model papers. Some examples includes

Questions
  • Please revise the experiment section to more directly support the theoretical results. This would make the manuscript considerably more persuasive, as the current experiments feel disconnected from the theory.
  • Is Assumption 5 in Theorem 3.3 realistic in practice?
Limitations

Though authors mentioned they wrote the limitations on the Conclusion section, it looks more like future works section. Please make a separate limitation section.

Final justification

Author rebuttal helped me understand their theoretical result is consistent with empirical experiments.

Formatting concerns

NA

8 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Dear reviewer, thank you for your helpful feedback. We are glad that you found our paper “well written and easy to follow”, and that “the theoretical results are interesting, rigorous, and thought-provoking”. We also thank you for your comments and suggestions, and would like to respond to the points you raised below.

Synthetic experiment: Our manuscript actually already contains a synthetic experiment that demonstrates “low cross-entropy loss does not result in a low gradient difference when the Hessian values of the function are large”. Specifically, in Appendix C of the current manuscript, we construct a synthetic 50-dimensional example and show that the gradient difference can remain bounded away from zero, or even diverge to infinity, while the cross-entropy loss vanishes.

In addition, in the experiment presented in Appendix C, we consider two different smoothness levels (1/n1/n and 1/n1/\sqrt{n} reference in Figure 3), and demonstrate that cross-entropy loss and gradient difference demonstrates different correlation under these two different smoothness levels.

Due to space constraints, we currently include this experiment in the appendix and provide a reference to it at the beginning of Section 4. In the revised version, we will add more details in the main text to make this experiment easier for readers to locate. We hope that the experiment in Appendix C, together with the experiments presented in the main text, demonstrates that smoothness is essential for establishing a meaningful relationship between these two metrics.

Perhaps we have misunderstood the reviewer’s comment, but we are not sure why the reviewer says smoothness “is not theoretically characterized”. Our Theorem 3.1 + the experiment in Appendix C shows that correlation between the two metrics does not hold without smoothness. Our Theorem 3.3 + the experiment in the main text shows that such correlation holds with smoothness. If the reviewer is referring to not explicitly providing justification for the smoothness properties of the GMM, we would like to note that the Bayes posterior associated with any finite non-degenerate GMM is always C∞C^{\infty} and real analytic, implying our GMM satisfies C2C^{2} smoothness conditions. Additionally, if X0∣Y=0∼N(−2e1,Id/2)X_{0} | Y=0 \sim \mathcal{N}(-2e_{1}, I_{d}/2), X0∣Y=1∼N(2e1,Id/2)X_{0} | Y=1 \sim \mathcal{N}(2e_{1}, I_{d}/2) where e1e_{1} denotes the 1st canonical basis vector, one can analytically show explicit control over the gradient and hessian as follows: $sup⁡x∈Rd∣∣∇xlog⁡pt(y∣x)∣∣≤4λtσt2+λt2/2,sup⁡x∈Rd∣Tr(∇x2log⁡pt(y∣x))∣≤4λt2(σt2+λt2/2)2.\sup_{x \in \mathbb{R}^{d}} || \nabla_{x} \log p_{t}(y \mid x) || \leq \frac{4\lambda_{t}}{\sigma_{t}^2 + \lambda_{t}^2/2}, \quad \sup_{x \in \mathbb{R}^{d}} | \mathrm{Tr}(\nabla_{x}^{2} \log p_{t}(y \mid x)) | \leq \frac{4\lambda_{t}^{2}}{(\sigma_{t}^2 + \lambda_{t}^2/2)^2}.$ A similar result can also be proved for the two component fitted GMM classifier which we omit during the rebuttal phase for the sake of simplicity. We will include detailed derivations of these in our revised manuscript. If you would like to see a proof of these results, please let us know and we will try our best to deliver it through openreview.

Additionally, we would be happy to include further experiments with more than two smoothness levels to provide additional support for our results. Please let us know if you believe such experiments are essential for better illustrating our theoretical results.

MNIST experiment: The MNIST experiment is indeed attempting to show that a “generative model trained with the non-smooth classifier underperforms the smooth one despite similar cross-entropy loss values”. To clarify, we didn’t show that the smooth and non-smooth classifiers used for guidance behave differently in terms of accuracy. We actually adjusted the training setting so that the two classifiers behave similarly in terms of accuracy (Line 336-337). We use a separate held-out MNIST classifier to assess the generative performance of the two classifiers by directly comparing the conditional fidelity of their classifier-guided samples (Lines 349–350). As shown in Figure 2 of our manuscript, the performance indeed differs between smooth and non-smooth classifiers. We will add further explanations in the revised manuscript to avoid potential misunderstandings.

Assumption 5 of Theorem 3.3: This assumption essentially requires that the classifier is well trained and achieves a small cross-entropy loss. We believe such an assumption is standard in the theoretical diffusion model literature. For example, a number of existing works (including [1,2,3] below) assume that the score estimation error is bounded by ϵ2\epsilon^2 for small ϵ\epsilon. In fact, this assumption is even stronger than ours, since learning diffusion scores is typically more challenging than training classifiers.

We would also like to emphasize that such an assumption is essential for obtaining meaningful theoretical guarantees for diffusion models, since it is impossible to expect high-quality generated samples when the underlying scores / classifiers are poorly estimated. Similar assumptions are commonly adopted in the literature (see [1,2,3]), where finite-sample guarantees are established in terms of the assumed estimation error parameter ϵ\epsilon. One of our contributions is to show that the upper bound we derive achieves the optimal dependence on ϵ\epsilon. See Theorem 3.6 and the subsequent discussion for details.

Related works: Thank you for pointing us to these two papers. The second paper studies general guidance rather than classifier guidance and has already been cited in our manuscript. We will add a citation and discussion of the first paper in the revised version. We will also include a broader picture of diffusion model theory, in particular, on classifier guidance.

Limitation Section: Thank you for the suggestion, we will make a separate limitation section.

We greatly appreciate your thoughtful feedback. We hope our response helps clarify the connection between our theory and experiments, as well as justifying that our assumption is standard. We will incorporate all rebuttals into our manuscript to improve its quality. We would be happy to discuss further, and thank you again for your time and consideration!

[1] Joe Benton, Valentin De Bortoli , Arnaud Doucet , and George Deligiannidis. Nearly d-linear convergence bounds for diffusion models via stochastic localization. In The Twelfth International Conference on Learning Representations, 2024.
[2] Holden Lee, Jianfeng Lu, and Yixin Tan. Convergence of score-based generative modeling for general data distributions. In International Conference on Algorithmic Learning Theory, pages 946–985. PMLR, 2023
[3] Li, Gen, Yu Huang, Timofey Efimov, Yuting Wei, Yuejie Chi, and Yuxin Chen. "Accelerating convergence of score-based diffusion models, provably." In Proceedings of the 41st International Conference on Machine Learning, pp. 27942-27954. 2024.

Reviewer 6V7S · CommentOpenReview ↗

I appreciate the authors for the rebuttal message. Here is some modification, clarification, and an additional question for the authors.

  1. (Modification) I now understand the GMM is smooth. It would be helpful if this were noted as a footnote.

  2. (Modification) I now understand the ϵ2\epsilon^2 error assumption is widely used.

  3. (Clarification) If I understand correctly, the logical flow of the manuscript is as follows:

    • Low KL divergence does not imply low guidance error (Theorem 3.1).
    • But it does hold under a smoothness assumption (Theorem 3.3).

The current experiment in Figure 3 validates Theorem 3.1, while the experiment in Figure 1 partially validates Theorem 3.3. By "partially," I mean we cannot be sure whether this success comes from smoothness or from other variables. Since smoothness is the main control variable distinguishing the regimes of Theorem 3.1 and 3.3, I would expect to see an experimental result that controls only the smoothness parameter and checks how the guidance error moves.

So it would be helpful if I could see either of the following (additional questions):

  • Whether making the GMM less smooth (by controlling σ\sigma or λ\lambda in your derivation) causes the guidance error to explode, or
  • Whether making the Appendix C classifier smooth successfully decreases the guidance error.

Either of these would help me update my review score.

  1. (Modification, additional question) Regarding the MNIST experiment, I misunderstood the result. One question: you mention that "two classifiers behave similarly in terms of accuracy (Line 336-337)." Could you report the test cross-entropy loss of the smooth and non-smooth classifiers? This seems necessary, as the object handled theoretically is the test CE loss rather than accuracy.
Authors · CommentOpenReview ↗

Reply To Reviewer 6V7S

We thank the reviewer for their continued engagement and constructive feedback.

Yes, this is the correct interpretation of the logical flow of the manuscript: Theorem 3.1 shows that low conditional KL divergence alone does not guarantee low guidance error, whereas Theorem 3.3 establishes that such a guarantee can be recovered under appropriate classifier smoothness assumptions.

To more directly illustrate this theoretical progression empirically, we agree that it would be helpful to include an experiment that varies only the classifier smoothness and examines the resulting change in guidance MSE. To address this point and strengthen the empirical support for our results, we have expanded the experiment in Appendix C by varying the smoothness-controlling parameter δn\delta_n; recall that smaller values of δn\delta_n correspond to greater smoothness. For each conditional KL level, we report the guidance MSE under several choices of δn\delta_n, implemented by adjusting the corresponding values of nn. Our results, as presented in the table below, show that greater classifier smoothness indeed leads to a reduction in guidance MSE, which is consistent with our theoretical prediction.

Conditional KL MSE (δn=1/n2\delta_n = 1/n^2) MSE (δn=1/n\delta_n = 1/n) MSE (δn=1/n\delta_n = 1/\sqrt{n}) MSE (δn=1/n1/4\delta_n = 1/n^{1/4})
1.4627×10−41.4627 \times 10^{-4} 1.0065×10−21.0065 \times 10^{-2} 3.3991×10−13.3991 \times 10^{-1} 4.1870×1024.1870 \times 10^{2} 7.1210×1087.1210 \times 10^{8}
4.1535×10−44.1535 \times 10^{-4} 1.7868×10−21.7868 \times 10^{-2} 3.4478×10−13.4478 \times 10^{-1} 1.5134×1021.5134 \times 10^{2} 2.9937×1072.9937 \times 10^{7}
1.1794×10−31.1794 \times 10^{-3} 2.4708×10−22.4708 \times 10^{-2} 3.5018×10−13.5018 \times 10^{-1} 5.4814×1015.4814 \times 10^{1} 1.3061×1061.3061 \times 10^{6}
3.3491×10−33.3491 \times 10^{-3} 3.6143×10−23.6143 \times 10^{-2} 3.5349×10−13.5349 \times 10^{-1} 1.8210×1011.8210 \times 10^{1} 5.5849×1045.5849 \times 10^{4}
9.5101×10−39.5101 \times 10^{-3} 6.5876×10−26.5876 \times 10^{-2} 3.5296×10−13.5296 \times 10^{-1} 7.10587.1058 3.0709×1033.0709 \times 10^{3}
2.7005×10−22.7005 \times 10^{-2} 1.3603×10−11.3603 \times 10^{-1} 3.0994×10−13.0994 \times 10^{-1} 2.91842.9184 1.5368×1021.5368 \times 10^{2}
7.6683×10−27.6683 \times 10^{-2} 1.9526×10−11.9526 \times 10^{-1} 3.5022×10−13.5022 \times 10^{-1} 1.34841.3484 1.1199×1011.1199 \times 10^{1}
2.1775×10−12.1775 \times 10^{-1} 2.1210×10−12.1210 \times 10^{-1} 3.5533×10−13.5533 \times 10^{-1} 1.17821.1782 1.1915×1011.1915 \times 10^{1}
6.1832×10−16.1832 \times 10^{-1} 2.2657×10−12.2657 \times 10^{-1} 3.6052×10−13.6052 \times 10^{-1} 1.16321.1632 4.8530×1014.8530 \times 10^{1}
1.75581.7558 2.4106×10−12.4106 \times 10^{-1} 3.6578×10−13.6578 \times 10^{-1} 1.14841.1484 3.4110×1013.4110 \times 10^{1}
4.98574.9857 2.7560×10−12.7560 \times 10^{-1} 3.7826×10−13.7826 \times 10^{-1} 1.13381.1338 1.7155×1011.7155 \times 10^{1}
1.4157×1011.4157 \times 10^{1} 4.8091×10−14.8091 \times 10^{-1} 4.3097×10−14.3097 \times 10^{-1} 1.11931.1193 5.52275.5227

We also agree that it is important to report the cross-entropy losses of the smooth and non-smooth classifiers. The smooth classifier achieves a cross-entropy loss of approximately 0.40100.4010, while the non-smooth classifier achieves a cross-entropy loss of approximately 0.44390.4439. We will add these values to the manuscript.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…