potentialpaper

SUGAR: Spectral Uncertainty Guidance for Adaptive Reverse Diffusion Sampling

Tianqi Zhao, Xixi Liu, Zhengrui Xiang, Liangrui Peng

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. Beyond the pixel domain, we use frequency-domain uncertainty to guide the mean and modulate the covariance of diffusion sampling.

Abstract. Although diffusion models achieve promising image generation performance, uncertainty during the denoising process can be associated with visual artifacts. Existing uncertainty estimation methods typically quantify the uncertainty at the pixel level. However, these methods assume independence among pixels, neglecting pixel correlations crucial for image structure. In contrast, we propose a spectral uncertainty estimation method as samples with artifacts exhibit higher frequency-domain uncertainty. We further derive a Louis-identity-based connection between the uncertainty and the optimal covariance of the Gaussian transition in the reverse process. To this end, we develop a structure-aware diffusion sampling guidance framework. For the mean of the Gaussian transition in the reverse process, the gradient of uncertainty is used to penalize specific frequency components; for the reverse process covariance, frequency-domain uncertainty is used as a proxy to modulate injected noise. Experiments on the ImageNet, LSUN-Churches, and DrawBench datasets across U-Net, U-ViT, and SD3 architectures validate our method.

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
30 Apr 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:46 UTC.

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

This paper addresses visual artifacts in diffusion models by moving uncertainty estimation from the pixel domain to the frequency domain. The core idea, using DCT to approximate the score function's spatial covariance as a Toeplitz matrix and applying Louis' identity to guide sampling without extra training, is technically interesting and mathematically solid. All three reviewers appreciate the formulation. The submission currently sits in a mixed state. Reviewer ZwyF raises a fundamental concern: the paper assumes high frequency uncertainty causes artifacts, but doesn't actually prove it beyond a single figure and a reference to FreeU. Additionally, the evaluation relies almost entirely on global metrics (FID/CLIP) rather than showing clear, localized artifact reduction.

The paper has strong potential, the authors need to ground their claims with clear empirical proof during the rebuttal.

Please focus your response on the following concrete points:

  • Evidence for the core assumption: Provide clear empirical evidence, either targeted quantitative metrics or zoomed-in qualitative visual results, showing that high frequency-domain uncertainty actually corresponds to generated artifacts.
  • Artifact-specific metrics & baselines: Global FID and CLIP scores don't isolate whether artifacts are actually reduced. Can you provide localized evaluations or targeted metrics on stronger baselines to prove the guidance works as intended?
  • Isolating variables & clarifying experimental setups:
    • Clarify whether performance gains come from moving to the frequency domain or from shifting between aleatoric and epistemic uncertainty (raised by Reviewer TaiN).
    • Explain why guidance is applied only to steps 3–5 out of 50.
    • Address the discrepancy in Tables 2 and 3 where U-ViT shows identical CLIP scores but a 3×3\times difference in FID.
  • Mathematical and context clarifications:
    • Clarify the step-by-step logic in Supplement A.1 regarding the covariance approximation and KLT.
    • Briefly frame your optimal covariance derivation in the context of prior work like Zhang et al., 2024 (raised by Reviewer nmMJ).
  • Inference overhead: Report the exact runtime/latency cost introduced by computing frequency-domain uncertainty during sampling compared to standard baselines.

Authors are encouraged to focus on targeted experimental analyses and theoretical clarifications rather than undertaking large-scale model re-training during the short rebuttal period.


During the rebuttal, the authors successfully addressed all major reviewer concerns:

  • Empirical Validation: Using the DiffDoctor artifact detector and localized AUROC/AUPRC analyses, the authors provided convincing evidence that frequency-domain uncertainty correlates with artifacts and demonstrated that their guidance reduces artifact area in ~70% of generated images.
  • Theoretical Clarifications: The authors strengthened Supplement A.1 with a formal local shift-stationarity derivation justifying the Toeplitz structure and KLT/DCT approximation, while properly contextualizing the optimal covariance derivation with Zhang et al.
  • Experimental Details & Overhead: The authors clarified the aleatoric uncertainty formulation, explained the sample-size dependence of FID across tables, and reported latency breakdowns showing negligible overhead compared to spatial guidance.
Final justification

Following the author response, all three reviewers expressed satisfaction and unanimously support acceptance. The AC recommends Accepting this work. The authors are required to incorporate all promised analyses, derivations, and citations into the camera-ready version.

Area Chair 96ur · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

This paper addresses visual artifacts in diffusion models by moving uncertainty estimation from the pixel domain to the frequency domain. The core idea, using DCT to approximate the score function's spatial covariance as a Toeplitz matrix and applying Louis' identity to guide sampling without extra training, is technically interesting and mathematically solid. All three reviewers appreciate the formulation. The submission currently sits in a mixed state. Reviewer ZwyF raises a fundamental concern: the paper assumes high frequency uncertainty causes artifacts, but doesn't actually prove it beyond a single figure and a reference to FreeU. Additionally, the evaluation relies almost entirely on global metrics (FID/CLIP) rather than showing clear, localized artifact reduction.

The paper has strong potential, the authors need to ground their claims with clear empirical proof during the rebuttal.

Please focus your response on the following concrete points:

  • Evidence for the core assumption: Provide clear empirical evidence, either targeted quantitative metrics or zoomed-in qualitative visual results, showing that high frequency-domain uncertainty actually corresponds to generated artifacts.
  • Artifact-specific metrics & baselines: Global FID and CLIP scores don't isolate whether artifacts are actually reduced. Can you provide localized evaluations or targeted metrics on stronger baselines to prove the guidance works as intended?
  • Isolating variables & clarifying experimental setups:
    • Clarify whether performance gains come from moving to the frequency domain or from shifting between aleatoric and epistemic uncertainty (raised by Reviewer TaiN).
    • Explain why guidance is applied only to steps 3–5 out of 50.
    • Address the discrepancy in Tables 2 and 3 where U-ViT shows identical CLIP scores but a 3×3\times difference in FID.
  • Mathematical and context clarifications:
    • Clarify the step-by-step logic in Supplement A.1 regarding the covariance approximation and KLT.
    • Briefly frame your optimal covariance derivation in the context of prior work like Zhang et al., 2024 (raised by Reviewer nmMJ).
  • Inference overhead: Report the exact runtime/latency cost introduced by computing frequency-domain uncertainty during sampling compared to standard baselines.

Authors are encouraged to focus on targeted experimental analyses and theoretical clarifications rather than undertaking large-scale model re-training during the short rebuttal period.


During the rebuttal, the authors successfully addressed all major reviewer concerns:

  • Empirical Validation: Using the DiffDoctor artifact detector and localized AUROC/AUPRC analyses, the authors provided convincing evidence that frequency-domain uncertainty correlates with artifacts and demonstrated that their guidance reduces artifact area in ~70% of generated images.
  • Theoretical Clarifications: The authors strengthened Supplement A.1 with a formal local shift-stationarity derivation justifying the Toeplitz structure and KLT/DCT approximation, while properly contextualizing the optimal covariance derivation with Zhang et al.
  • Experimental Details & Overhead: The authors clarified the aleatoric uncertainty formulation, explained the sample-size dependence of FID across tables, and reported latency breakdowns showing negligible overhead compared to spatial guidance.
Final justification

Following the author response, all three reviewers expressed satisfaction and unanimously support acceptance. The AC recommends Accepting this work. The authors are required to incorporate all promised analyses, derivations, and citations into the camera-ready version.

1 comment
Authors · CommentOpenReview ↗

Rebuttal Summary for AC

We sincerely thank the Area Chair and all reviewers for their careful evaluation and constructive feedback, which will be valuable for improving our manuscript. We are encouraged that they found: our theoretical framework rigorous and clear (Area Chair, Reviewers ZwyF and TaiN); our method clearly novel, including estimating uncertainty in the frequency domain and establishing a connection between the optimal covariance matrix and uncertainty estimation (Reviewers TaiN and nmMJ); and our experiments effective in validating the proposed method (Reviewers TaiN and nmMJ).

We next address the questions raised by the Area Chair. The following responses are summarized from our replies to the three reviewers.

Evidence for the core assumption.

We added image-level and localized analyses to examine the statistical association between frequency-domain uncertainty and generation artifacts.

At the image level, 256 U-ViT samples were labeled as “good” or “bad,” and uncertainty at diffusion step 3 was used as the discrimination score. Low-, high-, and full-frequency uncertainty achieved AUROC/AUPRC values of 0.6459/0.81090.6459/0.8109, 0.6300/0.79810.6300/0.7981, and 0.6446/0.81160.6446/0.8116, respectively, all exceeding the random baselines of 0.5000/0.64850.5000/0.6485.

In the localized case study, the artifact region exhibited higher uncertainty than 10 non-artifact regions of the same size (0.06420.0642 vs. 0.0461±0.01550.0461\pm0.0155). After frequency guidance, both the visible artifact and its uncertainty were reduced, with a larger reduction in the artifact region (0.02410.0241 vs. 0.0184±0.00960.0184\pm0.0096). Please see our response to Reviewer ZwyF Q1 for details.

Artifact-specific metrics and baselines.

To directly evaluate localized artifacts, we adopted the DiffDoctor artifact detector, which outputs pixel-wise artifact confidence maps. We evaluated 4,096 images on both ImageNet-256 (conditional generation) and LSUN-Churches256 (unconditional generation) using artifact confidence and artifact area.

On ImageNet-256, our method reduced artifact confidence from 357.17357.17 to 344.72344.72 and artifact area from 5.00%5.00\% to 4.26%4.26\%. On LSUN-Churches256, these values decreased from 406.32406.32 to 388.63388.63 and from 5.00%5.00\% to 3.54%3.54\%, respectively. Furthermore, the artifact area decreased in approximately 7070% of images compared with the baseline. Please see our response to Reviewer ZwyF Q3 for details.

Whether the gain comes from the frequency domain or shifting between aleatoric and epistemic uncertainty.

Both methods estimate aleatoric uncertainty. They use the same model and Monte Carlo sampling and differ only in the covariance representation. Please see our response to Reviewer TaiN Q1 for details.

Why guidance is applied only to steps 3--5.

This setting follows previous pixel-wise uncertainty guidance work for a fair comparison, while guidance over all 50 steps gives similar performance at a substantially higher computational cost. Please see our response to Reviewer TaiN Q2 for details.

Why Tables 2 and 3 have identical CLIP but 3 $ \times $ difference FID.

Tables 2 and 3 use the same ImageNet-256 dataset, but Table 2 reports results with 60K generated images, whereas Table 3 uses 4K images. FID is sensitive to the number of generated samples, which explains the difference. Please see our response to Reviewer TaiN Q4 for details.

Clarification of Supplement A.1 regarding the covariance approximation and KLT.

We assume local shift stationarity of the diffusion model's response to derive an approximately Toeplitz-like perturbation-response covariance. The condition ρ→1\rho\rightarrow1 motivates using DCT as an approximation to KLT. Please see our response to Reviewer nmMJ Q3 for details.

Context of the optimal covariance derivation with respect to Zhang et al. (2024).

Zhang et al. earlier derived the denoising posterior covariance using Tweedie's formula and estimated the Hessian diagonal with Rademacher vectors. This formulation is consistent with the covariance form in Eq. 10, and we will add this citation. Please see our response to Reviewer nmMJ Q5 for details.

Inference overhead.

Generating 256 images takes 78.6978.69 s for the baseline and 108.37108.37 s for our method. Our method is 37.737.7% slower than the baseline and only 0.460.46% slower than spatial uncertainty guidance. Please see our response to Reviewer ZwyF Q4 for details.

Following the rebuttal, all three reviewers confirmed that their concerns had been addressed. We are grateful for the opportunity to clarify our work. Thank you for your time and guidance.

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

Recent works have established that the sample quality of a diffusion model can be improved by (a) using the posterior variance of a sample as a guidance term added to the score function (Sec 2.4) and (b) adding adaptive noise between each diffusion step instead of using a fixed noise schedule (Sec 2.5). First, this paper shows that the optimal adaptive noise is equal to a re-weighted posterior variance (Sec 2.5), which connects the two ideas. Second, this paper shows that estimating the posterior variance is better done in the Fourier space instead of the pixel space for two reasons. First, the Fourier-space covariance is more diagonally dominant than the pixel-space covariance, so approximating the covariance with only the diagonal terms in the Fourier space incurs less error (Sec 2.3). Second, diagonal terms of the covariance in the Fourier space accounts for spatial correlations among the pixels. The authors experimentally demonstrate that their approach is superior to the corresponding pixel-space method (Sec 3.1, 3.3), and they assess the impact of each component in an ablation study (Sec 3.4).

While I recommend the paper is accepted, the presentation of the material made it difficult for me to understand. However, I believe my issues with the paper’s presentation can be fixed in a camera-ready version of the paper.

Strengths and weaknesses

Paper Strengths.

  • I agree with the authors that using the Fourier space covariance instead of the pixel space covariance will account for spatial correlations among the pixels.
  • While I have questions about the proof details (see weakness for Supp A.1), I appreciate that the authors aim to show that the diagonal of a covariance is better approximated in the Fourier space than in the pixel space. Assuming argument can be clarified by the authors in the rebuttal, this point is a strength of their paper.
  • In Sec 2.5, the connection between the optimal covariance matrix and the uncertainty estimate is clear, and after reviewing the cited references, this connection appears to be novel. I feel it is significant that the author’s derivation connects the optimal reverse-covariance with an estimate of the posterior sample variance (Supp A.2 and A.3).
  • The experiments successfully demonstrate the practical value of the Fourier-space approach.

Paper Weaknesses. I feel the presentation of the material can be restructured to significantly improve readability, and I believe this change can be done in preparation of a camera-ready version of the paper.

  1. In the introduction, the authors present uncertainty as the cause of visual artifacts, but I do not believe this fact is established. An example of this misleading presentation is the first sentence of the abstract. While there is a connection, uncertainty may not be what leads to visual artifacts. Perhaps the authors should re-frame the problem they are trying to solve as improving the effectiveness of existing modifications to diffusion models, rather than reducing uncertainty. Or they might more clearly reference the proofs of this fact.
  2. In the introduction, I feel the authors can more clearly explain their major contributions. In particular, I feel like they can more clearly distinguish their contributions to the guidance term (Sec 2.4) and the adaptive noise scheduler (Sec 2.5).
  3. I found the argument in Supp A.1 unclear. Specifically, I am unsure how the idea of ρ→1\rho \to 1 connects to an estimate of the covariance matrix of the perturbation response, and how the KLT idea connects to the argument.
  4. I would appreciate it if the authors more clearly present the underlying reason as to why the score function guidance (Sec 2.4) and adaptive noise scheduler (Sec 2.5) are understood to be valuable modifications that improve sample quality during diffusion. Even just a few sentences would be helpful. From what I gather, the value of the score function guidance is empirically established in previous works ( [De Vita and Belagiannis 2025] & [Nichol and Dhariwal 2021]). And given the theoretical nature of the literature for adaptive noise scheduler, I would hope the authors present the main ideas behind the theory to explain why it’s valuable.
  5. In addition to Ou et al 2024, perhaps the authors should also be citing the following paper which found an earlier version of the optimal covariance presented in Eq 10: Zhang, M., Hawkins-Hooker, A., Paige, B., and Barber, D. Moment matching denoising gibbs sampling. Advances in Neural Information Processing Systems, 36, 2024.
Questions
  • I would appreciate clarity on the argument presented in Supp A.1. I trust the authors can clarify the proof, but in full transparency and given the significance of this result, I may change my rating if a reasonable level of clarity cannot be communicated.
  • I believe improving the clarity of the paper in the camera-ready version would strengthen this contribution (see weaknesses for details).
Limitations

Yes

Final justification

My concerns have been addressed in the rebuttal and I maintain my positive rating.

Formatting concerns
  • Algorithm 1 line 4; Should 1−αˉ\sqrt{1-\bar{\alpha}} just be (1−αˉ)(1-\bar{\alpha})?
2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We appreciate the reviewer’s valuable suggestions that help improve the theoretical clarity and presentation. We are encouraged that the reviewer finds the novelty of connecting optimal covariance estimation with uncertainty estimation and the practical value of our frequency-domain approach. We address each point below.

Q1: In the introduction, the authors present uncertainty as the cause of visual artifacts, but I do not believe this fact is established.

We agree that a causal relationship between uncertainty and visual artifacts has not been established. Instead, frequency-domain uncertainty serves as a statistical indicator ofartifacts. We will revise the abstract and introduction to avoid this misleading statement.

Q2: In the introduction, I feel the authors can more clearly explain their major contributions.

We thank the reviewer for this suggestion. Specifically, Sec. 2.4 and Sec. 2.5 operate on the mean and covariance terms of the reverse diffusion process, respectively. The contribution of Sec. 2.4 is to guide the score estimation in the frequency domain through the gradient of frequency-domain uncertainty. Meanwhile, we introduce a frequency-adaptive strategy to revise uncertain frequency components and assign stronger guidance to low frequencies. The contribution of Sec. 2.5 is to establish the connection between uncertainty estimation and the reverse-process covariance, enabling training-free reverse covariance estimation. We will revise the Introduction to more clearly describe the distinct contributions of these two components.

W3: I found the argument in Supp. A.1 unclear. Specifically, I am unsure how the idea of ρ→1\rho\rightarrow1 connects to an estimate of the covariance matrix of the perturbation response, and how the KLT idea connects to the argument.

In the original manuscript, we assumed that the Jacobian of the diffusion model inherits the Toeplitz structure of natural-image covariance, but the connection between was not sufficiently explained. In the revised derivation, we introduce a local shift-stationarity assumption to explain the Toeplitz-like covariance structure, and clarify that ρ→1\rho\rightarrow1 only provides the motivation for using DCT as an approximation to KLT, rather than being a required condition.

For simplicity, we consider a one-dimensional image signal. Let the image at timestep tt be Xt∈RD\mathbf{X}_t\in\mathbb{R}^{D}, and write the denoising network as ϵθ(⋅,t):RD→RD\boldsymbol{\epsilon}_{\theta}(\cdot,t):\mathbb{R}^{D}\rightarrow\mathbb{R}^{D}.

Let the input perturbation be δ∼N(0,σ2I)\boldsymbol{\delta}\sim\mathcal{N}(\mathbf{0},\sigma^{2}\mathbf{I}).

Using a first-order Taylor expansion, the corresponding output Δϵ≈Jδ,\Delta\boldsymbol{\epsilon}\approx\mathbf{J}\boldsymbol{\delta}, where

J=∇Xtϵθ(Xt,t)∈RD×D\mathbf{J}=\nabla_{\mathbf{X}_t}\boldsymbol{\epsilon}_{\theta}(\mathbf{X}_t,t)\in\mathbb{R}^{D\times D}

is the Jacobian of the denoising network with respect to its input.

Therefore, the perturbation-response covariance in Eq. 5 satisfies

Ct=Cov⁡(Δϵ)≈JCov⁡(δ)J⊤=σ2JJ⊤,Ct∈RD×D.\mathbf{C}_t=\operatorname{Cov}(\Delta\boldsymbol{\epsilon})\approx\mathbf{J}\operatorname{Cov}(\boldsymbol{\delta})\mathbf{J}^{\top}=\sigma^{2}\mathbf{J}\mathbf{J}^{\top},\qquad \mathbf{C}_t\in\mathbb{R}^{D\times D}.

Specifically, let JikJ_{ik} denote the influence of a small perturbation at input position kk on output position ii. Then,

[Ct]ij≈σ2∑k=1DJikJjk.[\mathbf{C}_t]_{ij}\approx\sigma^{2}\sum_{k=1}^{D}J_{ik}J_{jk}.

We further introduce the following assumption.

Assumption (Local shift stationarity of perturbation responses). Within a local spatial region, the response of the diffusion model to an input perturbation is approximately shift-stationary. That is, the response mainly depends on the relative displacement between the input and output positions rather than their absolute locations:

Jik≈R(k−i),J_{ik}\approx R(k-i),

Explanation of this assumption: For convolutional layers, weight sharing naturally induces translation equivariance. For self-attention layers, shared projections and relative positional encoding (e.g., RoPE) provide local shift consistency. Boundary effects and nonlinearities may break exact equivariance; therefore, we assume local approximate shift stationarity.

Substituting this assumption into the covariance gives:

[Ct]ij≈σ2∑k=1DR(k−i)R(k−j).[\mathbf{C}_t]_{ij}\approx\sigma^{2}\sum_{k=1}^{D}R(k-i)R(k-j).

Let m=k−im=k-i and r=j−ir=j-i. Ignoring finite-boundary effects within the local region, we obtain

[Ct]ij≈σ2∑mR(m)R(m−r)=κ(r)=κ(j−i).[\mathbf{C}_t]_{ij}\approx\sigma^{2}\sum_{m}R(m)R(m-r)=\kappa(r)=\kappa(j-i).

Therefore, the perturbation-response covariance depends primarily on the relative displacement j−ij-i. This corresponds to the covariance property of a wide-sense stationary process, and yields an approximately Toeplitz covariance matrix of Ct\mathbf{C}_t. For 2D images, the same argument implies that the covariance depends on the two-dimensional relative displacement and therefore has an approximately block Toeplitz with Toeplitz blocks (BTTB) structure.

We next clarify the role of ρ→1\rho\rightarrow1 and its connection to the KLT.

Natural-image signals can be approximated by a highly correlated first-order Markov process. When ρ→1\rho\rightarrow1, the KLT basis of this covariance approaches the DCT basis. Therefore, ρ→1\rho\rightarrow1 provides motivation for using DCT as an approximation to KLT for covariance decorrelation.

However, Ct\mathbf{C}_t is related to the response of the diffusion model and generally does not satisfy ρ→1\rho\rightarrow1. Therefore, the DCT is no longer strictly equivalent to the KLT, but it can still provide approximate decorrelation relaed to the Toeplitz-like covariance structure. As also agreed by the reviewer, DCT retains neighboring pixel correlations, and provides an approximate diagonalization of the covariance.

We further conduct an experiment to verify the diagonalization effect of DCT. We use the U-ViT model on ImageNet-256 and generate 4,096 images. Let Q∈RD×D\mathbf{Q}\in\mathbb{R}^{D\times D} denote the orthogonal DCT matrix. The frequency-domain covariance is C^t=QCtQ⊤.\widehat{\mathbf{C}}_t=\mathbf{Q}\mathbf{C}_t\mathbf{Q}^{\top}. The spatial-domain and frequency-domain uncertainty correspond to the diagonals of Ct\mathbf{C}_t and C^t\widehat{\mathbf{C}}_t, respectively. We compute their norms:

Domain Uncertainty norm
Spatial-domain uncertainty ∣diag⁡(Ct)∣F\left|\operatorname{diag}(\mathbf{C}_t)\right|_{F} 1.49
Frequency-domain uncertainty ∣diag⁡(C^t)∣F\left|\operatorname{diag}(\widehat{\mathbf{C}}_t)\right|_{F} 2.51

After DCT, the diagonal norm increases, indicating that more covariance energy is concentrated on the diagonal. Since ∥C^t∥F=∥Ct∥F\left\|\widehat{\mathbf{C}}_t\right\|_{F}=\left\|\mathbf{C}_t\right\|_{F}, a larger diagonal norm indicates smaller discarded off-diagonal energy. This result provides support for Eq.7. We will rewrite Supp. A.1 in the revised version and clarify the assumptions and the relationship between DCT and KLT.

Q4: Present the underlying reason as to why the score function guidance (Sec 2.4) and adaptive noise scheduler (Sec 2.5) are understood to be valuable modifications that improve sample quality during diffusion.

For score function guidance (Sec. 2.4), [De Vita and Belagiannis 2025] empirically demonstrated that guiding the score function with the gradient of uncertainty can improve generation quality. In our view, uncertainty is measured as the empirical variance of the score function, i.e., the network output, and therefore reflects the local curvature of the network response. Intuitively, high uncertainty is similar to standing on a sharp and narrow peak, where the direction of the next step is highly sensitive to the current position and may lead to artifacts. After guidance, the sample is moved from the peak toward a slope, where the descent direction can be better determined.

For the adaptive noise scheduler (Sec. 2.5), fixed isotropic noise cannot reflect the fact that different states have different posterior variances. [Nichol and Dhariwal 2021] and related works have shown that learning the reverse-process variance can better match the reverse process. We further connect posterior variance with uncertainty. For components with higher uncertainty, multiple plausible subsequent states may exist. Injecting more noise can prevent the sampling process following an unreliable prediction direction too early. In contrast, less noise should be injected into certain components to avoid disrupting the structures already formed.

Q5: In addition to Ou et al (2024), perhaps also cite the following paper which found an earlier version of the optimal covariance presented in Eq 10: Zhang et al. (NeurIPS 2023)

Zhang et al. first utilized Tweedie's formula within the Gaussian denoising score matching framework to obtain the denoising posterior mean from the score of the noisy marginal distribution. Subsequently, their Theorem 2.2 (Analytical Covariance Identity) derived the analytical form of the denoising posterior covariance:

Σ(x~)=σ2∇x~μ(x~)=σ4∇x~2log⁡q~θ(x~)+σ2I.\boldsymbol{\Sigma}(\widetilde{\mathbf{x}})=\sigma^2\nabla_{\widetilde{\mathbf{x}}}\boldsymbol{\mu}(\widetilde{\mathbf{x}})=\sigma^4\nabla_{\widetilde{\mathbf{x}}}^{2}\log \widetilde{q}_{\theta}(\widetilde{\mathbf{x}})+\sigma^2\mathbf{I}.

[Zhang et al.] then use Rademacher vectors to estimate the diagonal terms of the Hessian. This formulation is consistent with the covariance form of [Ou et al.] cited in Eq. 10 of our manuscript, and [Zhang et al.] is the earlier. We will add this citation.

Q6: In Algorithm 1, line 4, should 1−αˉt\sqrt{1-\bar{\alpha}_t} be 1−αˉt1-\bar{\alpha}_t?

The square root is correct under the standard forward process Xt=αˉtX0+1−αˉtϵ\mathbf{X}_t=\sqrt{\bar{\alpha}_t}\mathbf{X}_0+\sqrt{1-\bar{\alpha}_t}\boldsymbol{\epsilon}.

Reviewer nmMJ · CommentOpenReview ↗

Response to Authors

The authors have addressed my questions and I maintain my positive rating.

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

In the present manuscript, the authors present a novel method for uncertainty estimation and uncertainty-driven guidance in the context of image-based diffusion models. The major novelty is the estimation of uncertainty in frequency domain instead of on a per-pixel basis, allowing to consider spatial correlations.

Strengths and weaknesses
  • The paper is clearly structured and contains clearly described and derived mathematical formulations. In my understanding, the proposed method is of clear novelty and its effectiveness is experimentally demonstrated using a reasonable configuration of different network architectures, datasets and ablation studies.

  • The presented method is experimentally compared to a baseline as well as to a method applying uncertainty-based guidance using aleatoric uncertainty estimated on a per-pixel level. While the authors claim that the results of their method are superior compared to the latter one due to the uncertainty estimation taking place in the frequency domain instead of on a per-pixel level, it cannot be completely ruled out that building on epistemic uncertainty instead of aleatoric uncertainty plays a role, too. However, the respective impacts of these two difference factors are not investigated.

  • In my opinion, the limitations of the presented method should be worked out more clearly (see also my comment below).

Questions
  • What is the influence of using epistemic instead of aleatoric uncertainty for guidance? Is it possible to distinguish this difference from the effect of moving from per-pixel uncertainty estimation to uncertainty estimation in the frequency domain?

  • What would be the effect of applying the proposed method to more or even all steps of the diffusion model instead of steps 3-5 (out of 50) only? And why have the authors chosen steps 3-5, specifically, in the first place?

  • Why are no values given for the score-based guidance in Table 3 using 5 steps?

  • Comparing Tables 2 and 3, the variant U-ViT (2562256^2) using 50 steps gives the same results for the CLIP-based metric, while the FID value differs by a factor of 3. In my understanding, the test datasets used for both experiments vary; therefore, it appears odd that the CLIP values are exactly the same. And how can this significant difference in the FID values be explained?

Minor comments:

  • Figure 3 is way too small to see any details in the printed version. In addition, the difference between the variants “Fixed Var. (β\beta)” and “Fixed Var. (β^\hat{\beta})” are also barely visible in the digital version.

  • The manuscript contains a number of grammatical mistakes.

Limitations

I appreciate that the authors give some insights into the limitations of the proposed method. However, the given limitation seems to be rather general and is only discussed on a surface level. I would like to encourage the authors to extend this discussion, giving the readers some deeper insights and fostering future research.

Final justification

The authors have addressed all of my questions and comments raised and the rebuttal confirmed my positive impression of this work. Given that the authors incorporate the content of the rebuttal into the manuscript, I see this work as a valuable contribution to the scientific community and recommend to accept their work.

Formatting concerns

None.

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer’s thoughtful comments and insightful questions. We are encouraged that the reviewer finds our method novel and appreciates the clarity of the mathematical formulations and structure. We address each point below.

Q1: What is the influence of using epistemic instead of aleatoric uncertainty for guidance? Is it possible to distinguish this from the effect of moving from per-pixel uncertainty to the frequency domain?

We agree that distinguishing the source of uncertainty from its representation is important. We clarify that both the spatial-domain method and our frequency-domain method estimate aleatoric uncertainty, rather than using different uncertainty sources.

As shown in Eq. 5, the randomness in Monte Carlo uncertainty estimation comes from the sampled diffusion noise. The empirical covariance is taken over ϵ\epsilon, rather than over the model parameters. Therefore, this empirical covariance approximates aleatoric uncertainty.

The spatial-domain method uses the pixel-wise diagonal variance diag⁡(Ct)\operatorname{diag}(\mathbf{C}_t), whereas our method represents the same covariance in the DCT basis as diag⁡(DCtD⊤)\operatorname{diag}(\mathbf{D}\mathbf{C}_t\mathbf{D}^{\top}). Both methods use the same frozen denoising network and the same Monte Carlo sampling procedure. Therefore, they share the same uncertainty source while differing in how the uncertainty is represented and used in different domains

Q2: What would be the effect of applying the proposed method to more or even all steps of the diffusion model? Why chosen steps 3-5 in the first place?

Applying uncertainty guidance to more diffusion steps introduces additional computational overhead, as each guided step requires MM Monte Carlo samples and additional network forward evaluations. We further evaluate applying uncertainty guidance to all 50 diffusion steps. The experiments are conducted using the U-ViT model on ImageNet-256 with 4,096 generated images, and λ=0.006\lambda=0.006 to ensure the same total guidance strength.

Guidance steps CLIP ↑ FID ↓ Throughput ↑ NFE/image ↓
3--5 29.07 15.89 2.313 img/s 65
All 50 29.04 16.08 0.520 img/s 300

The results show that applying guidance to all diffusion steps achieves comparable performance but introduces substantially higher computational cost.

The selection of steps 3-5 in the first place follows the setting of previous pixel-wise aleatoric uncertainty guidance work (De Vita M, Belagiannis V. Diffusion model guided sampling with pixel-wise aleatoric uncertainty estimation. WACV 2025: 3844--3854), which also enables a fair comparison.

Q3: Why are no values given for the score-based guidance in Table 3 using 5 steps?

A: The 5-step ablation in Table 3 is to evaluate the effectiveness of the proposed ``Reverse Covariance Estimation'' component, and we only presented the corresponding results to highlight it. We apologize that this presentation may cause confusion. We now provide the complete results under 5-step sampling as follows:

Method CLIP ↑ FID ↓
Baseline 27.92 25.89
Score Guidance 28.01 25.36
Reverse Covariance Estimation 28.11 24.67
Score Guidance + Reverse Covariance Estimation 28.13 24.59

The results show that combining both components achieves the best performance. However, under the 5-step setting, the improvement mainly comes from the proposed Reverse Covariance Estimation. We will include the complete table in the revised version.

Q4: Comparing Tables 2 and 3, the variant U-ViT (2562256^2) using 50 steps gives the same results for the CLIP, while the FID value differs by a factor of 3.

A: CLIP reports the average similarity over image-text pairs and is relatively insensitive to the number of samples. In contrast, FID measures the distribution distance between generated and real images in the feature space and is sensitive to the number of generated samples. As the number of images increases, FID typically becomes lower. For example, we find computing FID with only 200 images can result in FID > 100.

Table 2 and Table 3 use the same ImageNet-256 dataset, but Table 2 reports results with 60K generated images, while Table 3 uses 4K images, which explains the 3× difference in FID.

To explain the same CLIP values, we randomly sampled 4K images from the 60K generated images and computed CLIP 10 times. The CLIP score is 29.07±0.0729.07\pm0.07.

Q5: Figure 3 is too small to see any details in the printed version. The manuscript also contains grammatical mistakes.

A: We thank the reviewer for pointing out these issues. We will enlarge Figure 3 and also increase the font size of the legends of the two “Fixed Var.” .We will also carefully correct the grammatical errors in the revised version.

Q6: The given limitation seems to be rather general. I would like to encourage the authors to extend this discussion.

A: In addition to the limitations discussed in the manuscript, our method has limited ability to explicitly localize artifacts regions. Since uncertainty is estimated in the frequency domain and global DCT basis functions are not spatially localized, a specific frequency component cannot be associated with a specific image location. In future work, we will explore patch-level or multi-scale DCT transforms.

Moreover, our method requires access to intermediate states of diffusion models which limits its direct applicability to closed-source models that expose only the generated images.

Reviewer TaiN · CommentOpenReview ↗

I thank the authors for thoroughly answering all my comments and questions. The rebuttal has confirmed my initial expression that this work is of potentially great value to the community, and I maintain my positive assessment.

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

The paper proposes a frequency-domain uncertainty estimation method to mitigate visual artifacts generated during the iterative denoising process of diffusion models. The authors identify that existing spatial-domain uncertainty estimations fail to capture structural correlations.

To address this, the authors model the spatial covariance of score functions as a Toeplitz-like matrix and uses DCT to approximately diagonalize it, capturing spatial correlations while keeping computations tractable. Furthermore, the core contribution lies in utilizing Louis' identity to establish a mathematical connection between the estimated frequency-domain uncertainty and the optimal reverse-process covariance.

Building on these theoretical foundations, the authors introduce a structure-aware sampling guidance framework that penalizes specific high-uncertainty frequency components for the mean using gradient descent, and modulates injected noise for the reverse covariance without requiring auxiliary training.

Strengths and weaknesses

Strengths:

  • Originality & Clarity in Mathematical Formulation The theoretical derivation is well-delivered and sound. The idea to model the score function's spatial covariance as a Toeplitz matrix and using DCT as an asymptotic approximation to the Karhunen-Loève Transform (KLT) is highly logical and clever. Utilizing Louis' identity to approximate the marginal Hessian via the posterior variance of injected noise is also an elegant solution.

Weaknesses:

  • Weak Justification for the Core Premise Despite the elegant mathematical framework, the entire methodology heavily relies on the empirical premise that "artifacts exhibit higher frequency-domain uncertainty." However, the justification for this foundational claim is severely lacking. It is supported only by an introductory figure (Figure 1), and a brief mention of 'FreeU'. Without robust empirical analysis linking specific artifact types to frequency-wise variance, the theoretical soundness feels disconnected from the actual problem of artifact reduction.

  • Insufficient Experimental Validation The experimental results do not match the sophistication of the theoretical contributions. Relying purely on global metrics like FID and CLIP scores fails to specifically demonstrate the claimed "artifact reduction."

Diffusion models offer extensive possibilities for mathematical manipulation during the reverse sampling process, which has led to a proliferation of theoretical contributions. However, the true value of such work ultimately lies in demonstrating significant performance gains or novel practical applications. In this regard, the current manuscript appears to prioritize theoretical novelty at the expense of rigorous empirical validation. I strongly encourage the authors to provide more substantial evidence of the method's practical utility as a primary contribution.

Questions

1. Justification of the Core Premise Could the authors provide more rigorous quantitative analysis or comprehensive qualitative evidence linking specific artifact patterns to frequency-domain uncertainty?

2. Usage of SOTA baselines The current experimental results appear severely insufficient when compared to the performance levels of state-of-the-art commercial or open-source diffusion models. I strongly encourage the authors to demonstrate the efficacy of their method on stronger, high-performance baselines.

3. Targeted Evaluation of the Guidance Mechanism FID and CLIP scores are global metrics. Could the authors provide specific visual analyses or targeted metrics that directly measure how effectively and specifically the proposed method reduces structural artifacts?

4. Computational Overhead Could the authors also explicitly report the inference time overhead compared to other baselines?

If these questions are sufficiently addressed, I am willing to raise my score considerably.

Limitations

Yes.

Final justification

The authors have sufficiently addressed my initial concerns listed above (Justification of the Core Premise / Usage of SOTA baselines / Targeted Evaluation of the Guidance Mechanism / Computational Overhead), I am leaning towards acceptance under the condition that the authors will revise the final manuscript accordingly.

Formatting concerns

I have not observed any violations.

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for the careful evaluation and constructive suggestions on strengthening the empirical validation. And we are encouraged that the reviewer found the originality and clarity of our mathematical formulation, the DCT motivation and the derivation of the reverse-process covariance. We address each point below.

Q1: Provide quantitative analysis or comprehensive qualitative evidence linking artifact patterns to frequency-domain uncertainty.

Thank you for this important suggestion. We added image-level and localized analyses to examine the statistical association between frequency-domain uncertainty and generation artifacts.

a) In the image-level experiment, we evaluated the ability of frequency-domain uncertainty to discriminate generation artifacts. The 256 images generated by the U-ViT model in Figure 1 were labeled through visual inspection as “good” (clear images) or “bad” (images with artifacts). The 166 bad images were treated as the positive class.

We used the frequency-domain uncertainty at diffusion step 3 as the discrimination score without training an additional classifier. Frequencies below π/2\pi/2 were defined as low frequency, while other frequencies were defined as high frequency. The AUROC and AUPRC results obtained using low-frequency, high-frequency, and full-frequency uncertainty are shown below.

Frequency range AUROC ↑ AUPRC ↑
Random guess 0.5000 0.6485
Low frequency 0.6459 0.8109
High frequency 0.6300 0.7981
Full frequency 0.6446 0.8116

The results indicate a statistical association between higher frequency-domain uncertainty and image-level artifacts. In addition, low-frequency uncertainty provides better discrimination than high-frequency uncertainty, which is consistent with our design choice of assigning a larger guidance coefficient to low-frequency uncertainty.

b) In the localized case study, we used the first image in Figure 2, where the region marked by the green box is the artifact region.

We compared the frequency-domain uncertainty in the artifact region with that in 10 randomly selected non-artifact regions of the same size. The frequency-domain uncertainty at diffusion step 3 for the baseline model and our frequency-domain uncertainty-guided method is shown below.

Method Artifact region Non-artifact regions
Baseline 0.0642 0.0461 ± 0.0155
Frequency guidance (Ours) 0.0241 0.0184 ± 0.0096

In this example, the frequency-domain uncertainty in the artifact region is higher than that in the non-artifact regions, demonstrating a local association between uncertainty and artifacts. After applying frequency-domain uncertainty guidance both the visible artifact and the corresponding uncertainty are reduced, with a larger uncertainty reduction in the artifact region than in the non-artifact regions.

Q2 Usage of SOTA baselines. The current results appear severely insufficient when compared to the performance levels of SOTA commercial or open-source diffusion models.

We agree that evaluation on stronger open-weight baselines would strengthen the manuscript. We have conducted experiments on multiple diffusion architectures, including the strong SD3 model. Our method requires access to intermediate diffusion states. Therefore, it cannot be directly applied to closed-source commercial models that only provide final outputs.

For recent open-source diffusion models, we are aware of models such as Hunyuan-DiT v1.2. We would also appreciate any specific model suggestions from the reviewer. Because large-scale generation is computationally demanding, the complete results will be included in the revised version.

Q3: FID and CLIP scores are global metrics. Provide specific visual analyses or targeted metrics that measure how the proposed method reduces structural artifacts.

To directly evaluate localized artifacts, we adopted the artifact detector provided by DiffDoctor (Wang Y, Chen X, Xu X, et al. DiffDoctor: Diagnosing Image Diffusion Models Before Treating. In Proceedings of the IEEE/CVF International Conference on Computer Vision, 2025: 18917–18926). The detector is trained on human-annotated artifact data and outputs a pixel-wise artifact confidence map.

We evaluated images from the ImageNet-256 conditional-generation experiment in Table 1 and the LSUN-Churches256 unconditional-generation experiment in Table 2. 4,096 images on each dataset are evaluated.

We report two metrics: aggregated artifact confidence and artifact area. Artifact area is defined as the percentage of pixels whose artifact confidence exceeds a fixed threshold, set to the 95th percentile of the baseline pixel-wise confidence distribution. For both guidance methods, each generated image is paired with its corresponding baseline image to measure changes in the artifact area. The last column reports the percentages of images for which the artifact area decreased, increased, or remained unchanged.

ImageNet-256 (conditional generation)

Method Artifact confidence ↓ Artifact area (%) ↓ Area change (Decreased/Increased/Unchanged, %)
Baseline 357.17 5.00 ---
Spatial Guidance 353.24 4.53 61.33/38.57/0.10
Frequency Guidance(Ours) 344.72 4.26 69.85/30.10/0.05

LSUN-Churches256 (unconditional generation)

Method Artifact confidence ↓ Artifact area (%) ↓ Area change (Decreased/Increased/Unchanged, %)
Baseline 406.32 5.00 ---
Spatial Guidance 408.29 4.83 52.91/47.09/0.00
Frequency Guidance(Ours) 388.63 3.54 71.41/28.49/0.10

The results show that our method reduces the overall artifact confidence, while decreasing the artifact area in approximately 70% of the generated images. We will include the complete results in the revised version.

Q4: Computational Overhead. Could the authors also explicitly report the inference time overhead compared to other baselines?

We compared the inference overhead of the baseline model, spatial-domain uncertainty guidance, and frequency-domain uncertainty guidance. All experiments were conducted on a single Tesla V100-PCIE-32GB GPU using U-ViT on ImageNet-256, with 256 images generated for each method. The batch size was 16. For the diffusion model with 50 sampling steps, guided sampling was applied at steps 3–5, with M=5M=5 Monte Carlo samples. The results are shown below, where NFE denotes the number of denoising network function evaluations per image.

Method Generation time ↓ Throughput ↑ Peak allocated memory ↓ NFE/image↓
Baseline 78.69 s 3.253 img/s 6.703 GiB 50
Spatial uncertainty 107.87 s 2.373 img/s 6.703 GiB 65
Frequency uncertainty (Ours) 108.37 s 2.362 img/s 6.703 GiB 65

Compared with the baseline model, spatial-domain uncertainty guidance and frequency-domain uncertainty guidance increase the inference time by 37.1% and 37.7%, respectively. For both uncertainty-guided methods, the three guidance steps each introduce M=5M=5 additional denoiser forward evaluations, resulting in 65 forward evaluations per image. Our frequency-domain method is only 0.46% slower than the spatial-domain method. This indicates that the main computational overhead comes from the additional MC sampling and inference, while the cost of the DCT/IDCT operations and frequency-domain modulation of the reverse-process noise are marginal. We will report the overhead in revised version

Reviewer ZwyF · CommentOpenReview ↗

I was initially concerned that the requested experiments might be too time-consuming, but I am glad the authors have sufficiently addressed my concerns. I have raised my score accordingly.

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

Missing a submission?

Loading the discussion…