Asymptotically Exact Negative Guidance of Diffusion Models via Positive-Unlabeled Learning
Hirohane Takagi, Masashi Sugiyama
NeurIPS 2026
TL;DR. We recast negative guidance of diffusion models as sampling from an explicit avoidance target by bridging SMC and PU learning.
Abstract. Negative guidance of diffusion models generates samples that avoid an undesired condition, specified either by reference samples or by a conditional score alongside an unconditional model. Existing methods inject repulsive terms derived from local information at each sample, so the resulting sampler does not target an explicit density, and its bias cannot be systematically reduced by increasing computation. We instead present a negative-guidance method that samples from an explicit target density, which uniformly handles both reference-sample and score-based specifications and suppresses probability mass near the undesired condition with an avoidance strength that parametrizes the target density itself. Realizing this target requires estimating, at each diffusion timestep, how likely each sample is to belong to the undesired condition. We cast this estimation as a Positive-Unlabeled learning problem that admits lightweight online training along the diffusion trajectory, using condition samples as positives and diffusion particles as unlabeled data. Because the guided particles drift from the unconditional marginal, we further correct the residual mismatch via Sequential Monte Carlo, yielding a sampler that is asymptotically exact in the particle limit and that turns any existing negative-guidance method into its proposal kernel. Empirically, our method approaches the ground-truth target on Gaussian mixtures and Pareto-dominates existing methods on trade-offs between avoidance and generation quality, distributional bias, and diversity, including in an image-generation setting with a pretrained score network.
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 paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:49 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
The paper introduces a new form of negative guidance for generative diffusion models based on sequential Monte Carlo (SMC) resampling. The method is related to Dynamic Negative Guidance (DNG) in that it interprets negative guidance as a form of online Bayesian inference. Unlike DNG, however, it relies on information from a full batch rather than exclusively on local information.
The reviewers agree that the paper is clearly written, that the problem area is important, and that the methodology appears broadly sound, although some aspects require further clarification. Reviewer Noo2 points out that several statements concerning the comparison with DNG are imprecise and potentially misleading. The reviewers also agree that the experimental section is weak for a paper aimed at addressing a concrete practical problem.
Personally, I am not yet convinced that the proposed method constitutes a significant improvement over DNG. The original DNG paper already shows that the method is exact when the score estimates are exact, while the proposed approach does not address the problem of inaccurate score estimation. The authors also claim that DNG does not offer a mechanism for trading computational cost against sample quality. However, this characterization is not entirely accurate, since such a trade-off can be obtained by increasing the number of function evaluations, causing the Bayesian approximation to converge toward the true posterior.
I agree that the error profile of DNG is currently less precisely understood than that of SMC, but I believe the corresponding claims should be softened and presented with greater nuance.
Overall, I think the paper is promising, but its empirical validation needs to be substantially strengthened. In addition, the positioning of the method and its comparison with existing approaches should be made more transparent, precise, and balanced.
Final justification
he rebuttal and subsequent discussion addressed most of the concerns regarding the paper’s positioning, particularly in relation to DNG, as well as the strength of the empirical validation. Following the discussion, the reviewers unanimously supported acceptance. I agree with their assessment: the positioning of the work and its comparison with DNG are now substantially clearer, and the argument for providing stronger guarantees at a finite computational budget is both technically sound and valuable.
I am therefore happy to recommend acceptance, provided that the authors properly incorporate the clarifications, additional experiments, and discussion from the rebuttal into the revised version of the paper.
Read meta-review
Meta-review
The paper introduces a new form of negative guidance for generative diffusion models based on sequential Monte Carlo (SMC) resampling. The method is related to Dynamic Negative Guidance (DNG) in that it interprets negative guidance as a form of online Bayesian inference. Unlike DNG, however, it relies on information from a full batch rather than exclusively on local information.
The reviewers agree that the paper is clearly written, that the problem area is important, and that the methodology appears broadly sound, although some aspects require further clarification. Reviewer Noo2 points out that several statements concerning the comparison with DNG are imprecise and potentially misleading. The reviewers also agree that the experimental section is weak for a paper aimed at addressing a concrete practical problem.
Personally, I am not yet convinced that the proposed method constitutes a significant improvement over DNG. The original DNG paper already shows that the method is exact when the score estimates are exact, while the proposed approach does not address the problem of inaccurate score estimation. The authors also claim that DNG does not offer a mechanism for trading computational cost against sample quality. However, this characterization is not entirely accurate, since such a trade-off can be obtained by increasing the number of function evaluations, causing the Bayesian approximation to converge toward the true posterior.
I agree that the error profile of DNG is currently less precisely understood than that of SMC, but I believe the corresponding claims should be softened and presented with greater nuance.
Overall, I think the paper is promising, but its empirical validation needs to be substantially strengthened. In addition, the positioning of the method and its comparison with existing approaches should be made more transparent, precise, and balanced.
Final justification
he rebuttal and subsequent discussion addressed most of the concerns regarding the paper’s positioning, particularly in relation to DNG, as well as the strength of the empirical validation. Following the discussion, the reviewers unanimously supported acceptance. I agree with their assessment: the positioning of the work and its comparison with DNG are now substantially clearer, and the argument for providing stronger guarantees at a finite computational budget is both technically sound and valuable.
I am therefore happy to recommend acceptance, provided that the authors properly incorporate the clarifications, additional experiments, and discussion from the rebuttal into the revised version of the paper.
1 comment
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 2/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper addresses negative guidance of diffusion models by sampling given either a reference set for or score of . To do so, they propose a SMC sampler along intermediate distributions , where a classifier is trained at every SMC step using samples of and weighted samples of targetting the unconditional marginal.
Strengths and weaknesses
Strengths
Negative guidance is an important problem and the application of SMC can make it more trustworthy. The theoretical foundation is strong in the infinite particle case.
Weaknesses
While SMC is exact in infinite particle limit, the choice of intermediate distributions often highly affects the performance in the finite particle case. The requirement of M=1024 particles for a 3d toy experiment is highly prohibitive, as it might be an indicator of a poor SMC path. The lack of ablation on lower particle count is concerning.
I am also worried about the reweighting to compute the classifier risk. In particular the importance weight intuitively feels like a poor choice, as the path diverges from condition , so the weights will likely have high variance and collapse when using a finite set of samples.
Finally, there is extremely limited experimental evaluation with only a CIFAR-10 diffusion model and a low-dim GMM, and no visual image results despite being a diffusion model paper.
Questions
How does the performance of the GMM or CIFAR-10 compare with fewer than 1024 or 128 particles?
How often does your method perform resampling? A graph showing ESS at every SMC iteration would be helpful.
What is the ESS of the or you get by reweighting from ? If it is low, how much does it affect the classifier variance (and thus, the weight variance)?
Limitations
yes
Final justification
The experiments presented in the rebuttal resolve the concerns I have with the lack of empirical results and finite-particle performance of SMC under this annealing path: 128 particles is enough to outperform previous methods and nearly match the oracle performance in the higher-dimensional Stable Diffusion case, and few resampling steps (1-7) are needed which avoids ancestry collapse.
Formatting concerns
N/A
4 comments
Rebuttal by Authors
We thank the reviewer for the focused questions on the stability of the SMC sampler. We label the three weakness paragraphs as follows: W1 ( on the 3D toy; possible poor SMC path; no low- ablation), W2 (variance of the reweighting for the classifier risk), and W3 (limited evaluation; no visual results). W1 is answered with Q1, W2 with Q3, and W3 by the additional experiment at the end.
W1 / Q1 (; behavior with fewer particles). is not a requirement but an evaluation choice, intended for a single sampling run that computes against 3000 ground-truth points and covers all 12 modes in one batch. The requested low- behavior is shown below (15 trials). The oracle is recomputed at each , since the empirical of particles carries an -dependent finite-sample floor:
| Oracle leak | Ours leak | Oracle | Ours | ESS/ | resamples | |
|---|---|---|---|---|---|---|
| 64 | 0.011 | 0.009±0.014 | 3.6 | 3.5±0.7 | 0.96 | 3.1 |
| 256 | 0.014 | 0.021±0.028 | 2.5 | 2.1±0.4 | 0.96 | 2.7 |
| 1024 | 0.012 | 0.008±0.006 | 1.5 | 1.9±0.6 | 0.97 | 2.2 |
The leak depends on the classifier and is nearly -independent, while decreases with just as the oracle floor does. ESS/ stays healthy at every : the degeneracy signature of a poor SMC path (ESS collapse, constant resampling) is not observed.
W2 / Q3 (the reweighting for the classifier risk). In theory, what the sampler requires is the correctness of the terminal and the asymptotic convergence in the particle count : these weights enter only the classifier's risk estimate, never the final sample estimator (Sec. 3.1). In practice, with finite particles the ESS can indeed collapse, as the reviewer anticipates. Measured on the GMM (, 15 trials), the ESS/ of falls from at early steps to near the end (worst step effective particle), as the path leaves condition . Over the same steps, and the sampling weight stay healthy ( and ). The collapse is nevertheless benign here: the classifier trained under the collapsed still achieves AUC – against the closed-form posterior at mid and late steps. Mechanistically, condition is typically much simpler than the whole distribution, so the binary discrimination remains feasible. collapses precisely because the particles have moved away from the positive class, i.e., when negative guidance has already succeeded. After that point, the remaining denoising alone carries the samples away from condition . This is the same structure as DNG, where the guidance at the intermediate timesteps of sampling is what matters. The Stable Diffusion experiment below shows the same online weighted training remaining stable at image scale for a single-style target. Verification on use cases with broader distributional geometry is future work.
Q2 (resampling frequency; ESS trajectories). Resampling is ESS-thresholded: while it is enabled (all but the final 50 of the 250 steps), it fires whenever , so the ESS can dip below the threshold but cannot remain there. The informative diagnostics are the timing and the number of resampling events. On the main CIFAR-10 configurations (, , ; mean±std over 80 runs each):
| class | ESS (time avg) | ESS (min) | ancestors /128 | resamples | |
|---|---|---|---|---|---|
| plane | 0.5 | 126.5±0.6 | 59.6±22.7 | 105.4±19.0 | 1.3±1.4 |
| plane | 1.0 | 125.9±0.8 | 43.9±25.5 | 85.2±27.0 | 2.9±2.2 |
| plane | 2.0 | 125.1±0.9 | 37.5±24.1 | 66.6±28.2 | 4.7±3.0 |
| vehicles | 0.5 | 121.9±1.8 | 72.5±18.0 | 121.1±9.2 | 0.4±0.5 |
| vehicles | 1.0 | 116.4±2.8 | 33.2±18.6 | 94.0±14.1 | 2.3±1.3 |
| vehicles | 2.0 | 110.4±3.1 | 10.1±7.1 | 56.2±18.4 | 6.4±2.3 |
Resampling is sparse over the 250 steps (0–7 times) even under this conservative threshold. Stronger avoidance or the harder vehicles condition deepens the ESS minimum, yet even the hardest setting keeps 56/128 distinct ancestors, so there is no collapse onto a few ancestors. The ESS minima occur in the final steps, where the tilt is largest and resampling is intentionally disabled to avoid duplicating nearly-final particles, so the low terminal ESS is by design. ESS reports will be added to the camera-ready appendix.
Rebuttal by Authors
Additional experiment (W3): style avoidance on Stable Diffusion v1.4. Regarding W3 (evaluation limited to a CIFAR-10 diffusion model and a low-dimensional GMM, with no visual image results), we in fact have additional experimental results on precisely this point. This concern is shared across reviews (Reviewer ho68 on empirical scope, Reviewer Noo2's Q2, and the meta-review), so we share the following with all reviewers.
- Setup: on Stable Diffusion v1.4 [1], CFG (scale 7.5) for "a cafe terrace at night under a starry sky" serves as , and the same prompt with "in the style of Van Gogh" appended gives . Style leakage is measured by a classifier built using CSD features [2]; 2048 images per method; style-filtered reference set and an N-matched oracle floor.
- Method and results parallel the CIFAR-10 experiment (Ours = SLD [3] proposal + online kernel uPU + resampling); DNG, swept over its strength , traces a trade-off curve between avoidance and quality.
| Method | FID$\downarrow$ | KID$\downarrow$ | |
|---|---|---|---|
| No avoidance | 0.409 | 60.98 | 0.0552 |
| Oracle floor | 0.238 | 18.52 | 0.0002 |
| DNG () | 0.382 | 56.87 | 0.0500 |
| DNG () | 0.344 | 49.18 | 0.0370 |
| DNG () | 0.303 | 44.88 | 0.0273 |
| DNG () | 0.284 | 51.80 | 0.0298 |
| DNG () | 0.277 | 63.84 | 0.0411 |
| DNG () | 0.289 | 93.17 | 0.0737 |
| SLD (the max configuration of [3]) | 0.334 | 43.08 | 0.0294 |
| SLD (stronger than max) | 0.317 | 41.82 | 0.0263 |
| SLD (strongest) | 0.296 | 43.70 | 0.0284 |
| Ours (, ) | 0.276 | 33.46 | 0.0105 |
| Ours (, ) | 0.235 | 28.10 | 0.0054 |
| Ours (, ) | 0.253 | 29.54 | 0.0058 |
- Continuing Q1 at image scale: the two Ours rows at the same answer the fewer-particles question here as well. , a typical inference batch size, already outperforms the baseline group, and improves , FID, and KID further.
- Visual inspection is consistent with the metrics: ours lowers style leakage while preserving the scene content. The full reproduction procedure and code can be reported in the camera-ready.
References
[1] Rombach et al. "High-Resolution Image Synthesis with Latent Diffusion Models." CVPR 2022.
[2] Somepalli et al. "Measuring Style Similarity in Diffusion Models." arXiv:2404.01292, 2024.
[3] Schramowski et al. "Safe Latent Diffusion: Mitigating Inappropriate Degeneration in Diffusion Models." CVPR 2023.
Reviewer YeFG,
Does the response addresses your questions about the re-weighting? DOes it change your position on the work?
Reviewer Response
Thank you for the detailed and thorough response. My concerns about the SMC path stability, classifier variance, and empirical results are resolved. I have raised my score to 4.
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper proposes a framework for negative guidance in diffusion models by formulating the goal as sampling from an explicit avoidance target p_target(x) proportional to p(x)(1 - p(c|x))^lambda. The method estimates p(c|x_t) along the diffusion trajectory using positive-unlabeled learning and uses sequential Monte Carlo to correct the mismatch between guided proposal particles and the target distribution. The paper studies both reference-based and score-based settings, proves an asymptotic exactness result under regularity assumptions, and evaluates the approach on a synthetic GMM benchmark and CIFAR-10 class-avoidance tasks using a pretrained diffusion model.
Strengths and weaknesses
Strengths: The paper presents a clean and interesting probabilistic formulation of negative guidance as sampling from an explicit avoidance density. This is a useful conceptual improvement over heuristic local repulsion methods whose guidance strength does not correspond to a clear target distribution. The combination of PU learning and SMC is natural and technically appealing, and the paper clearly explains how the framework can use existing negative-guidance methods as proposal kernels.
The theoretical analysis is a strength: the authors state assumptions and give an asymptotic exactness result, with detailed proofs in the appendix. The GMM experiment is well chosen because it exposes the failure modes of local repulsion, such as mode collapse or residual leakage, and allows direct comparison to an oracle sampler. The CIFAR-10 experiments also suggest that adding PU-based resampling to Safe Denoiser improves the avoidance-quality tradeoff.
Weaknesses: The main concern is the gap between the analyzed algorithm and the practical CIFAR-10 implementation. In the CIFAR experiment, the authors replace the uPU objective with BCE, set the proposal-ratio factor r_t to 1, update the unconditional correction weights only at resampling times, and use the classifier mainly as a resampling signal. These choices may be necessary for stability, but they mean that the strongest practical result is not covered by the asymptotic exactness theory.
The empirical scope is also somewhat limited. The high-dimensional experiment is only CIFAR-10 with class labels and a relatively old unconditional diffusion checkpoint. It would be useful to see whether the approach scales to stronger diffusion models, higher-resolution images, or more realistic text/image safety conditions. The comparisons are mostly against Safe Denoiser and a few score-based baselines; stronger or more recent negative guidance and concept-erasure baselines would make the practical case stronger.
Finally, the CIFAR-10 results do not report error bars, despite being central to the paper's practical claim. The evaluation also relies on a ResNet-18 classifier with around 95% accuracy, so classifier error could affect the reported target-class rate and KL metrics.
Questions
- Can the authors clarify precisely which, if any, distributional guarantee remains for the CIFAR-10 implementation after setting r_t=1, replacing uPU with BCE, and updating w_{\emptyset,t} only at resampling times? Is the resulting procedure still consistent for some modified target, or should it be viewed purely as a heuristic correction of the Safe Denoiser?
- Could the authors provide ablations isolating the effects of the three major practical approximations: r_t=1, BCE instead of uPU, and sparse updates of w_{\emptyset,t}? Even a moderate-dimensional experiment where these choices can be enabled individually would help identify which components are necessary for the reported gains and how much target bias each introduces.
- How sensitive is the method to misspecification of the class prior \pi=p(c)? In realistic reference-based settings, the prevalence of a user-defined concept in the pretrained model may be unknown and difficult to estimate.
- What are the observed ESS trajectories, number of resampling events, and number of distinct surviving ancestors in the CIFAR-10 experiments? These diagnostics would help determine whether improvements come with particle impoverishment that may not be captured by pairwise LPIPS.
- How does runtime and memory scale with the particle count, number of references, and image resolution? Since the theoretical justification relies on increasing the particle count, evidence that performance systematically approaches a stable limit as M increases would substantially strengthen the connection between theory and practice.
- Can the authors comment on whether the posterior non-degeneracy assumption is compatible with class-level CIFAR-10 conditions? For nearly deterministic labels, p(c\mid x) may be close to zero or one over much of the support, apparently violating the assumption used to bound the importance weights.
Limitations
- Gap between the theoretical algorithm and the image-scale implementation. The asymptotic exactness result applies to an analysis-oriented variant using the uPU objective, the proposal-density correction r_t, continuously tracked unconditional weights w_{\emptyset,t}, and an auxiliary particle system independent of the final SMC particles. In the CIFAR-10 experiments, however, uPU is replaced by BCE, r_t is set to one, w_{\emptyset,t} is updated only at resampling steps, and the same 128 particles are reused for classifier fitting and sampling. These are substantial modifications, so the theorem does not directly characterize the image-scale implementation.
- Limited empirical validation of the exact sampler. The theoretically faithful score-based setting is evaluated only on a three-dimensional Gaussian mixture. The higher-dimensional experiments are restricted to CIFAR-10 and use the reference-based heuristic implementation. It therefore remains unclear whether the principled SMC corrections remain computationally and statistically viable on modern, higher-resolution diffusion models.
- Strong assumptions behind the consistency result. The analysis assumes realizability of the Bayes logit, uniform convergence of the PU estimator, known or correctly specified class priors, bounded importance weights through proposal regularization, and a conditional posterior bounded away from both zero and one. Some of these assumptions may be restrictive for semantic classes, where class posteriors can be nearly deterministic.
- Potential finite-particle degeneracy. The guarantee is asymptotic in the particle and reference-set sizes, whereas the CIFAR-10 experiments use only 128 particles. Repeated resampling can produce common-ancestor collapse and reduce effective diversity. The reported LPIPS results are useful, but do not fully diagnose particle genealogy or weight degeneracy.
- Evaluation remains relatively narrow. Avoidance is measured through an external ResNet-18 classifier, and quality is assessed using FID, class-histogram KL, and pairwise LPIPS. These metrics do not directly establish proximity to the proposed target density. The evaluation also covers only class-level avoidance, rather than more realistic reference-defined concepts such as specific copyrighted, memorized, or unsafe content.
Formatting concerns
No major formatting concerns.
3 comments
Rebuttal by Authors
We thank the reviewer for the thorough review and the precise list of theory-practice gaps. We label the three weakness paragraphs W1 (gap between the analyzed algorithm and the CIFAR-10 implementation), W2 (empirical scope), and W3 (error bars and the evaluator). W1 is answered jointly with Q1/Q2/Q3, and W2 is answered by the additional experiment at the end.
W1 / Q1 / Q2 / Q3 (the CIFAR-10 approximations; what remains; sensitivity to ). The substitution was introduced to stabilize the resampling behavior when the particle count is too small to cover the complex unconditional distribution (noted in our limitations). The classifier-side weight does keep the full ratio at every step, and its update at resampling is the standard SMC one, unmodified. This is what the uploaded supplementary code implements. We will fix the inaccurate sentence in the appendix. The deviations from the analyzed algorithm are therefore two: BCE in place of uPU, and inside the recursion. To answer Q1 directly: with these two deviations the procedure is a practical approximation and is not covered by the asymptotic-exactness theorem; we view it as an approximation of the analyzed algorithm. Its effect is verified through the image-generation metrics of the CIFAR-10 experiment (and likewise on Stable Diffusion below). The limitations of are as stated in the paper. In addition:
- The substitution has precedent in the baseline itself. The Safe Denoiser [1] weights references by the Gaussian transition likelihood in its original formulation. Its appendix replaces this with an RBF kernel with a hand-tuned bandwidth on a critical-timestep window. Its official repository instead implements a Laplace-type kernel (unsquared distance). inherits this fragility of exact high-dimensional Gaussian likelihoods.
- Handling exactly at this scale is future work that would broaden SMC-based diffusion samplers; a progressive refinement, such as accumulating the ratios over several steps for calibration, is one conceivable route.
On (Q3): the BCE variant uses no . Under the SCAR (selected completely at random) assumption, the optimal classifier of the ordinary positives-vs-unlabeled binary problem is known to be a monotone increasing transform of the true posterior [2]. This means the ranking/resampling signal is preserved. Misspecifying the class prior in uPU likewise acts as a calibration issue. uPU with the correct prior is what makes our theoretical analysis clean. In practice, though, the effective tilt strength is set by together with the exponent . So as long as is a monotone transform of the posterior, an error in is largely absorbed into the choice of the strength. Better choices of the classification objective are future work.
Q4 (ESS trajectories, resampling events, surviving ancestors). Measured on the main configurations (, , , mean±std over 80 runs each):
| class | ESS (time avg) | ESS (min) | ancestors /128 | resamples | |
|---|---|---|---|---|---|
| plane | 0.5 | 126.5±0.6 | 59.6±22.7 | 105.4±19.0 | 1.3±1.4 |
| plane | 1.0 | 125.9±0.8 | 43.9±25.5 | 85.2±27.0 | 2.9±2.2 |
| plane | 2.0 | 125.1±0.9 | 37.5±24.1 | 66.6±28.2 | 4.7±3.0 |
| vehicles | 0.5 | 121.9±1.8 | 72.5±18.0 | 121.1±9.2 | 0.4±0.5 |
| vehicles | 1.0 | 116.4±2.8 | 33.2±18.6 | 94.0±14.1 | 2.3±1.3 |
| vehicles | 2.0 | 110.4±3.1 | 10.1±7.1 | 56.2±18.4 | 6.4±2.3 |
Time-averaged ESS stays at 110–127 of 128, and resampling stays sparse over the 250 steps even under the conservative threshold . This stability is what the substitution above provides. As described in the paper, the weak guidance kernel steers the particles only gently, and the classifier-driven resampling removes the remaining particles close to condition . Stronger avoidance or the harder vehicles condition deepens the ESS minimum, yet even the hardest setting keeps 56/128 distinct ancestors, so there is no collapse onto a few ancestors. The ESS minima occur in the final steps, where the tilt is largest and resampling is intentionally disabled to avoid duplicating nearly-final particles, so the low terminal ESS is by design.
Q6 (non-degeneracy vs near-deterministic labels). The assumption is an analysis device that keeps the importance weights bounded. If were exactly over most of the support, the target would become hard-constrained generation, a different problem we do not address. On CIFAR-10, assuming soft class posteriors is not unrealistic: human annotators disagree near class boundaries [3].
Rebuttal by Authors
W3 (error bars and the ResNet-18 evaluator). The evaluator (test ~95%, train >99%) follows the same protocol as prior retraining-based class-avoidance work [4]; all methods are scored by the same evaluator, and every generation pipeline is independent of it, so the comparison is fair. We report the batch-level spread below (leak per 128-sample batch, mean±std over 80 seeds; the means equal the plotted rates, and the standard error of each mean is ):
| Method () | plane [%] | vehicles [%] |
|---|---|---|
| Safe Denoiser | 4.78±1.99 | 27.60±3.98 |
| Ours () | 3.88±2.31 | 25.86±5.27 |
| Ours () | 3.28±2.66 | 19.87±6.09 |
| Ours () | 2.54±3.01 | 20.93±18.06 |
The larger std under strong avoidance (vehicles, ) is consistent with the low-ESS settings in Q4.
Additional experiment (W2; also Q2 and Q5): style avoidance on Stable Diffusion v1.4. We share the following with all reviewers. It directly answers W2 (stronger diffusion models, higher resolutions, realistic safety conditions) and the concern shared across reviews (Reviewer YeFG on visual results, Reviewer Noo2's Q2, and the meta-review).
- Setup: on Stable Diffusion v1.4 [5], CFG (scale 7.5) for "a cafe terrace at night under a starry sky" serves as , and the same prompt with "in the style of Van Gogh" appended gives . Style leakage is measured by a classifier built using CSD features [6]; 2048 images per method; style-filtered reference set and an N-matched oracle floor.
- Method and results parallel the CIFAR-10 experiment (Ours = SLD [7] proposal + online kernel uPU + resampling); DNG, swept over its strength , traces a trade-off curve between avoidance and quality.
| Method | FID$\downarrow$ | KID$\downarrow$ | |
|---|---|---|---|
| No avoidance | 0.409 | 60.98 | 0.0552 |
| Oracle floor | 0.238 | 18.52 | 0.0002 |
| DNG () | 0.382 | 56.87 | 0.0500 |
| DNG () | 0.344 | 49.18 | 0.0370 |
| DNG () | 0.303 | 44.88 | 0.0273 |
| DNG () | 0.284 | 51.80 | 0.0298 |
| DNG () | 0.277 | 63.84 | 0.0411 |
| DNG () | 0.289 | 93.17 | 0.0737 |
| SLD (the max configuration of [7]) | 0.334 | 43.08 | 0.0294 |
| SLD (stronger than max) | 0.317 | 41.82 | 0.0263 |
| SLD (strongest) | 0.296 | 43.70 | 0.0284 |
| Ours (, ) | 0.276 | 33.46 | 0.0105 |
| Ours (, ) | 0.235 | 28.10 | 0.0054 |
| Ours (, ) | 0.253 | 29.54 | 0.0058 |
- Directly relevant to Q2 above: this implementation uses the uPU objective as-is. The BCE substitution is a choice tied to the scale of the reference-based CIFAR-10 setting, not a property of the method.
- The effect of (the remainder of Q5): at the same , improves , FID, and KID (see also the GMM ablation in our reply to Reviewer Noo2). On the cost side, the classifier is far smaller than the UNet, and the parallel computation is the component that scales linearly with the particle count. Scaling with the reference count and the resolution depends strongly on the geometry of the task: when the region to avoid is concentrated, raising the resolution with few references affects the classifier training little, a dependence shared with the Safe Denoiser [1]. Whether the framework we proposed from the theory leads to practical specializations with classifier training suited to each case is future work, and opens a new direction.
- On stronger baselines (W2): retraining-based erasure is outside our scope, and editing internal representations has unclear distributional properties; we target guidance with the diffusion model frozen, now evaluated on Stable Diffusion.
- Reading the table, DNG at its best strengths is comparable to SLD [7], a method specialized to Stable Diffusion. Pushing DNG stronger degrades FID sharply. Ours improves both avoidance and quality beyond either. Visual inspection is consistent with the metrics: ours lowers style leakage while preserving the scene content. The full reproduction procedure and code can be reported in the camera-ready.
References
[1] Kim et al. "Training-Free Safe Denoisers for Safe Use of Diffusion Models." NeurIPS 2025.
[2] Elkan and Noto. "Learning Classifiers from Only Positive and Unlabeled Data." KDD 2008.
[3] Peterson et al. "Human Uncertainty Makes Classification More Robust." ICCV 2019.
[4] Takahashi et al. "Positive-Unlabeled Diffusion Models for Preventing Sensitive Data Generation." ICLR 2025.
[5] Rombach et al. "High-Resolution Image Synthesis with Latent Diffusion Models." CVPR 2022.
[6] Somepalli et al. "Measuring Style Similarity in Diffusion Models." arXiv, 2024.
[7] Schramowski et al. "Safe Latent Diffusion: Mitigating Inappropriate Degeneration in Diffusion Models." CVPR 2023.
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 2/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
The paper introduces a novel posterior estimation algorithm based on positive-unlabeled (PU) learning, that is then used in the context of negative guidance; i.e. only removing samples that should actually be removed. They see posterior estimation as a minimization of an unbiased PU risk on both positive samples (for instance from a reference distribution) and proposed particles (sampled from a negatively guided model). In contrast to previous methods, the accuracy of the approximation can be improved by increasing the number of particles.
Strengths and weaknesses
Strengths:
- The idea of multiple particles to obtain a trade-off between compute and accuracy of the posterior estimation is highly interesting and sensible.
- Viewing posterior estimation from an online loss minimsation perspective is highly promising, this leaves many new doors open for future work in a far broader context.
- Limitations are clearly stated, which helps the reader to get a fair comprehension of the paper
- Related work is clearly discussed and motivation of the current work is well positioned
Weaknesses:
- (W1) The first contribution, namely sampling from eq. 1, is something that is already stated in the Dynmic Negative Guidance work (bottom of page 5). This should not be cited as one of the main contributions.
- (W2) One of the main claims is that current negative guidance schemes do not allow for a compute-accuracy trade-off, which is available here by leveraging the use of more particles. This is however not verified in the experiments. How does the accuracy of the online posterior estimation vary as a function of M when compared to ground truth quantities in the GMM case? What about classifying the CIFAR images, how does the compute vs accuracy trade-off look there? I think these experiments (certainly on GMMs) are necessary to solidify the papers position w.r.t. its claims.
- (W3) My understanding of DNG had always been that given the true posterior the DNG scheme with should be exact. Why is this not the case in the GMM experiments for which everything is analytically tractable? From that paper the posterior estimation should also be perfect in that case (as the score function is also known exactly).
- (W4) The paper is not clear on how difficult it is to train the classifier in an online manner, i.e. how easily the argmin of eq (7)/step 4 Alg.1, can be found. This is a key point of the method which should be addressed at the very least in text, but additional figures/experiments showing the convergence would also be highly useful (how many steps to find the argmin, how does it depend on or the size of ,...?)
- (W5) As mentioned in the text, obtaining a good set of positives is practice challenging. I wonder how the method depends on the size of this set. Further, how could this be done in practice, if a user wants to erase a given concept, do you need to find representatives of that set inside a database somewhere?
Additional notes:
- (W6) I find the mathematical notation often artificially complex. For instance eq. (6) is very different from (8) and (9) although the two actually share highly similar forms (as visible in algorithm 3: 13 + 14 is super similar to 15, why not frame it as such in the main?). I think the paper would benefit from rewriting on that level.
- (W7) In multiple places in the paper the authors switch between and , I would advise more care with this. The pretrained network might not be perfect and I think keeping the distinction between these two very different cases is important.
Questions
Very related to strengths and weaknesses:
- (Q1) In the GMM experiments, DNG does not achieve exact sampling despite having access to the true posterior and score function. Could you explain why DNG with is not exact in this analytically tractable setting?
- Q2) One of the main claims is that your method allows for a compute-accuracy trade-off through the number of particles M, unlike previous negative guidance schemes. Could you provide experiments demonstrating this trade-off? How does the accuracy of the online posterior estimation vary as a function of M in the GMM case, compared to ground truth quantities? For CIFAR-10, how does the compute vs. accuracy trade-off manifest in terms of classification performance?
- (Q3) The paper does not clearly address the practical aspects of training the classifier in an online manner. How easily can the argmin of Equation 7 (or Step 4 in Algorithm 1) be found? How many optimization steps are required to find the argmin, and how does this depend on M or the size of the positive set ?
Limitations
Yes, limitations are clearly cited, not only in the dedicatd section but also throughout the paper.
Final justification
The authors have answered my concerns and questions. I therefore increase my rating to 4.
Formatting concerns
N/A
5 comments
Rebuttal by Authors
We thank the reviewer for the careful reading. Since Q1, Q2, Q3 restate W3, W2, W4, we answer each pair jointly. An additional experiment addressing the empirical side is reported at the end.
W3 / Q1 (why DNG is not exact on the GMM; also the positioning behind W1 and the meta-review). DNG [1]'s guarantee concerns its posterior estimate, not the distribution sampled under the -powered guidance: Sec. 3.2 in [1] states "This is a consequence of the Markov Assumption" and "This assumption becomes exact as the number of diffusion time steps becomes infinitely large", i.e., correctness is suggested under perfect scores in the limit . Its footnote refers, per timestep, to the score of , but tempering the marginals does not commute with the forward diffusion: a sampler driven by the per-timestep scores need not sample from the corresponding data-level density [2]. Whether DNG converges to our target density in Eq. (1) under unlimited computation is therefore unknown and not analyzed in [1]. Empirically, even at exponent with exact scores the finite- convergence is slow: a serial budget narrows but does not close the gap (15 trials, Oracle recomputed at each ):
| 100 | 200 | 500 | 1000 | 2000 | |
|---|---|---|---|---|---|
| DNG leak | 0.053±0.010 | 0.040±0.009 | 0.028±0.006 | 0.023±0.008 | 0.020±0.009 |
| Oracle | 0.012 | 0.012 | 0.010 | 0.011 | 0.011 |
The DNG paper indicates that the approximation is effective in practice, but provides no theoretical or empirical result showing the estimation error converging to zero. Our analysis instead targets the finite-time inference of the trained sampler under a fixed schedule, following TDS [3] and DAS [4]. We will make this positioning explicit in the camera-ready.
W1 (the first contribution). The density itself is indeed also mentioned by DNG (the footnote above); we will cite it at Eq. (1). Per the clarification above, however, DNG cannot be said to sample from density (1), and the reference-sample specification is not covered there. We will improve the statement of contribution 1 so that the following is explicit: negative guidance is formulated as finite-time sampling from this explicit density, through the inference of a trained diffusion model, by an SMC sampler under both the reference-sample and conditional-score specifications.
W2 / Q2 (dependence on ; accuracy of the online posterior estimation). We do not merge batches: was simply sufficient to report the mean and variance from a single sampling run. Varying (true scores, 15 trials; the oracle is recomputed at each , since the empirical of particles carries a finite-sample floor that grows as shrinks):
| Oracle leak | Ours leak | Oracle | Ours | |
|---|---|---|---|---|
| 64 | 0.011 | 0.009±0.014 | 3.6 | 3.5±0.7 |
| 256 | 0.014 | 0.021±0.028 | 2.5 | 2.1±0.4 |
| 1024 | 0.012 | 0.008±0.006 | 1.5 | 1.9±0.6 |
Leak is nearly -independent at the matched- oracle floor (the mean is inflated by a few trials), and decreases with as the floor does. For the accuracy of the online posterior estimation itself, compared against the closed-form posterior: near the terminal steps, the AUC of is / / for / / , while the cosine similarity between and stays around – at every : the estimate identifies the region to avoid accurately at every , without being pointwise accurate. For a broader view of the dependence, see the Stable Diffusion experiment below ( improves , FID, KID), also our answer for the CIFAR-10 half of Q2. We will also weaken the corresponding claim: the infinite-compute convergence is the starting point of the algorithm design, partially verified here and in the experiment below; the gap between the analyzed algorithm and the implementation remains, and resolving it efficiently is future work as our limitations state.
Rebuttal by Authors
W4 / Q3 (difficulty and cost of the online fit).
| Experiment | Classifier | Features | Optimizer | Training window |
|---|---|---|---|---|
| GMM | regularized RBF-kernel method | space | L-BFGS, ≤100 iters/step | all steps |
| CIFAR-10 | linear head (≈257 params) | pooled 256-dim UNet bottleneck | L-BFGS, ≤100 iters first fit, warm-started ≤20 after | 150/250 steps with |
| SD | regularized RBF-kernel method (uPU) | pooled denoised-latent features | L-BFGS, ≤50 iters/step | last 70% of steps |
Each fit is a within-batch binary classification, light relative to one UNet forward pass (no UNet backpropagation). Structurally, only the terminal enters (Sec. 3.1). Empirically, even this terminal accuracy is not what carries the practical performance. On CIFAR-10 the linear classifier does not, in fact, cleanly separate the two classes at the end of sampling: its separation (the gap in predicted probability between references and particles) collapses from at early steps to – near . The leak reduction nevertheless holds, because once a particle has been steered away from condition at intermediate timesteps, the remaining denoising steps alone carry it to a sample far from . This is the mechanism behind DNG's dynamic scale, which decays once the trajectory leaves .
W5 (obtaining the positive set). The remark in our text is the future-work note on statistically stabilizing the online classifier. Size: we used per class (800 for the four-class condition). In practice, the score-based setting needs no collection at all: the user only names condition as a prompt (the experiment below). In the reference-based setting, finding representatives in a database is indeed one valid option; another, used by the Safe Denoiser [5], is to synthesize samples with a generative model and select them by a criterion. What matters in our framework is that such collections compose through , which reduces avoidance to binary classification: unions of concepts are handled directly (the four-class vehicles run; mixing predictions for in the score-based setting). A small set of representatives is enough to run the method, while using many gathered samples directly is what our asymptotic exactness covers.
W6, W7 (notation). We will adopt both suggestions in the camera-ready: Eq. (8) is definitional (the weight restoring the unconditional marginal) and Eq. (9) will be presented as an instance of the one-step reweighting template of Algorithm 3 (lines 13–15); will be used consistently for network-induced marginals, distinct from the data-level .
Additional experiment (the CIFAR-10 half of Q2; the empirical concerns shared across reviews): style avoidance on Stable Diffusion v1.4. Several reviews note the lack of image-scale, practically comparable evidence (your Q2; Reviewer ho68 on empirical scope; Reviewer YeFG on visual results; the meta-review); we disclose the following to all reviewers.
- Setup: on Stable Diffusion v1.4 [6], CFG (scale 7.5) for "a cafe terrace at night under a starry sky" serves as , and the same prompt with "in the style of Van Gogh" appended gives . Style leakage is measured by a classifier built using CSD features [7]; 2048 images per method; style-filtered reference set and an N-matched oracle floor.
- Method and results parallel the CIFAR-10 experiment (Ours = SLD [8] proposal + online kernel uPU + resampling); DNG, swept over its strength , traces a trade-off curve between avoidance and quality.
| Method | FID$\downarrow$ | KID$\downarrow$ | |
|---|---|---|---|
| No avoidance | 0.409 | 60.98 | 0.0552 |
| Oracle floor | 0.238 | 18.52 | 0.0002 |
| DNG () | 0.382 | 56.87 | 0.0500 |
| DNG () | 0.344 | 49.18 | 0.0370 |
| DNG () | 0.303 | 44.88 | 0.0273 |
| DNG () | 0.284 | 51.80 | 0.0298 |
| DNG () | 0.277 | 63.84 | 0.0411 |
| DNG () | 0.289 | 93.17 | 0.0737 |
| SLD (the max configuration of [8]) | 0.334 | 43.08 | 0.0294 |
| SLD (stronger than max) | 0.317 | 41.82 | 0.0263 |
| SLD (strongest) | 0.296 | 43.70 | 0.0284 |
| Ours () | 0.276 | 33.46 | 0.0105 |
| Ours () | 0.235 | 28.10 | 0.0054 |
- The DNG-style avoidance-quality trade-off appears here as well ( bottoms out at 0.277; only FID degrades beyond), and the effect of is measured directly ( improves , FID, KID).
- Visual inspection shows that only ours raises avoidance without collapsing the content; the full reproduction procedure and code can be reported in the camera-ready.
References
[1] Koulischer et al. "Dynamic Negative Guidance of Diffusion Models." ICLR 2025.
[2] Bradley and Nakkiran. "Classifier-Free Guidance is a Predictor-Corrector." TMLR 2025.
[3] Wu et al. "Practical and Asymptotically Exact Conditional Sampling in Diffusion Models." NeurIPS 2023.
[4] Kim et al. "Test-time Alignment of Diffusion Models without Reward Over-optimization." ICLR 2025.
[5] Kim et al. "Training-Free Safe Denoisers for Safe Use of Diffusion Models." NeurIPS 2025.
[6] Rombach et al. "High-Resolution Image Synthesis with Latent Diffusion Models." CVPR 2022.
[7] Somepalli et al. "Measuring Style Similarity in Diffusion Models." arXiv:2404.01292, 2024.
[8] Schramowski et al. "Safe Latent Diffusion: Mitigating Inappropriate Degeneration in Diffusion Models." CVPR 2023.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
We thank the AC for the constructive meta-review. We have provided detailed responses to the individual reviews. Here, we summarize them.
First, we will revise the positioning of our method relative to DNG. We agree that the submission did not state this distinction clearly enough. We will clarify what DNG guarantees, and state our contribution more precisely as finite-time sampling from the explicit avoidance density ∝pθ(x)(1−pθ(c∣x))λ defined by the pretrained diffusion model, with asymptotic exactness in the particle count at a fixed timestep schedule. We will also revise the compute–accuracy discussion to state the properties plainly: DNG's guarantee is in the limit of the number of diffusion timesteps, where the reverse process exactly inverts the forward diffusion, and ours is for the finite-time SMC sampler.
Second, we shared an additional experiment with all reviewers: style avoidance on Stable Diffusion v1.4, a more realistic model than the CIFAR-10 checkpoint. The results are consistent with the CIFAR-10 experiment. In particular, DNG is again swept over its guidance strength to trace its trade-off between avoidance and quality, and is compared with ours, alongside SLD. We will add this experiment, with its empirical and implementation details, to the camera-ready.
Finally, we answered the remaining reviewer requests with measured results in the individual replies, including the ESS and resampling diagnostics and the batch-level variance of the CIFAR-10 experiments.
We appreciate the reviewers' detailed feedback, which helped us identify these clarifications and additions.