Manuscript Offprint

arXiv:2609.37537

Weeding Out Bad Seeds: Initial-Noise-Robust Unlearning for Text-to-Image Diffusion Models

Arian Komaei Koma, Seyed Amir Kasaei, Aida Aryafar, Matin Ghiasi, Ali Aghayari, Amirhossein Souri, Mohammad Mosayyebi, AmirMahdi Sadeghzadeh, Mohammad Hossein Rohban

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Machine unlearning has emerged as a critical post-hoc safety measure to erase sensitive concepts from Text-to-Image (T2I) models without prohibitive retraining. However, we reveal that current state-of-the-art (SOTA) approaches are brittle due to a severe lack of robustness to noise initialization. We call this phenomenon “probabilistic forgetting”: suppressed concepts re-emerge under specific random initial noise conditions, despite appearing unlearned on other initializations. We trace this failure to the misalignment between standard Gaussian sampling during unlearning and the unlearning objective. Since the target concept manifests only in specific initial noise regions throughout the unlearning phase, uniform random sampling yields sparse, uninformative gradient updates that fail to drive robust erasure. To overcome this issue, we propose an adaptive, concept-conditioned sampling strategy that dynamically concentrates gradient updates on regions where the target concept manifests, down-weighting uninformative areas. We integrate our framework with six distinct SOTA unlearning methods across four diffusion backbones and evaluate it across safety, object, and artistic-style unlearning, as well as under black-box and white-box adversarial attacks. Our method reduces the conditional nudity re-emergence rate across random initializations by 67.2% on average over four baselines and lowers attack success rates across both adversarial evaluations. Across concept domains, Adaptive Noise Sampling strengthens adversarial robustness and non-target retention while preserving competitive generative quality and target-erasure performance.

1 INTRODUCTION

Text-to-Image (T2I) diffusion models have revolutionized content creation Song et al. (2020); Nichol et al. (2021); Rombach et al. (2021); Yang et al. (2022), yet their reliance on massive, uncurated datasets inevitably introduces unsafe or protected concepts, ranging from copyrighted styles to explicit imagery Schuhmann et al. (2022); Rando et al. (2022); Qu et al. (2023); Westerlund (2019). Addressing this by retraining models from scratch is not only computationally prohibitive but also fundamentally flawed: naive data filtration often necessitates discarding vast amounts of data, which degrades general image quality and frequently fails to thoroughly scrub targeted material without introducing new biases Dixon et al. (2018); Carlini et al. (2022); AssemblyAI (2022). These limitations have catalyzed the development of Machine Unlearning Nguyen et al. (2025); Qu et al. (2025); Liu et al. (2025)—a post-hoc paradigm focused on efficiently and selectively erasing harmful concepts from pre-trained networks without full retraining.

SOTA unlearning approaches formulate this as a constrained optimization: they update parameters to suppress the target—typically by maximizing generation error or remapping it to a safe surrogate (e.g., ‘nudity’ → ‘person’)—while regularizing to preserve general performance Gandikota et al. (2023);

*Email addresses: ariankomaei@gmail.com, a.kasaei@me.com,

aryafarayda05@gmail.com, matinghiasi333@gmail.com, aaghayari@connect.ust.hk,

amirhsnsouri@gmail.com, mohammad.moasayebi@gmail.com,

sadeghzadeh@sharif.edu, and rohban@sharif.edu.

Heng & Soh (2023); Kumari et al. (2023); Lu et al. (2024); Bui et al. (2025; 2024); Gandikota et al. (2024). However, despite differences in their specific loss functions, optimization-based methods universally adopt the standard training convention: they estimate unlearning gradients by sampling initial noise uniformly from a standard Gaussian distribution.

Despite the reported success of prior methods, we uncover that their sampling strategy leaves a critical blind spot: a lack of robustness to the random initial noise inherent to standard image generation. As illustrated in Figure 1, a model may appear fully “unlearned” on validation seeds, yet the forbidden concept frequently re-emerges when the noise initialization varies—even under identical prompts.

This exposes a major deficiency in current safety evaluations, which predominantly focus on prompt robustness. Table 1 quantitatively highlights this phenomenon: across 4,000 generated images, standard unlearning methods fail significantly, with nearly 1,000 instances still containing the theoretically ‘unlearned’ concept. Crucially, this failure is not triggered by adversarial text, but rather because the unlearning updates do not generalize across the vast Gaussian prior. This creates a dangerous “safety illusion”: a model may pass a benchmark evaluated with one fixed seed while remaining unsafe under other valid noise initializations. Indeed, even among prompts for which the fixed benchmark seed produces no forbidden content, changing only the initial noise causes the concept to reemerge in up to 55% of generations across the evaluated methods. We term this phenomenon “probabilistic forgetting”: an apparent erasure of a concept under a limited set of initializations despite its persistence elsewhere in the noise space. This phenomenon is further illustrated in Figure 3.

Figure

Figure 1: Inconsistency of existing unlearning methods across different noise initializations. Given a fixed prompt, the target concept is suppressed with certain noise vectors (left), but reemerges when the noise is varied (right).

We argue that this failure stems from applying standard pre-training protocols to the unlearning setting without adaptation. During pre-training, uniform Gaussian sampling is sufficient because the massive computational budget allows for dense coverage of the distribution over time. However, unlearning operates under a strictly limited gradient-update budget Zhang et al. (2024a); Kumari et al. (2023): unlearning gradients can destructively perturb non-target knowledge, so simply increasing the number of steps risks degrading global image quality Koma et al. (2026). Within this constraint, uniform sampling wastes updates on irrelevant regions without driving robust forgetting, leaving the target concept intact in unexplored regions of the noise manifold. This phenomenon is visually corroborated in Figure 2. Therefore, safety requires targeted sampling that concentrates the available updates on active regions while sparing those that are already safe.

Aθ(ϵ∣c)A_{\theta}(\epsilon|c) Surface over noise coordinations

Standard Model

Standard Unlearning Method

Unlearning Method under Adaptive Noise Sampling

Nudity Score

Figure

Figure 2: Classifier confidence over the noise space before and after unlearning. Left: original model. Middle: standard unlearning methods. Right: Unlearning + adaptive noise sampling. Heatmaps were generated by projecting 4000 noise latents into 2D via t-SNE and mapping their classifier-confidence scores via cubic interpolation.

In this work, we address probabilistic forgetting by introducing a noise-centric perspective on diffusion unlearning. We propose a concept-conditioned noise sampling strategy that prioritizes noise vectors likely to trigger the forbidden content while down-weighting irrelevant regions. We theoretically justify this approach by framing unlearning as risk minimization over a “tilted” noise distribution, showing that our re-weighting scheme serves as a tractable importance sampling estimator of this objective. Across the four main SD 1.4 baselines, our method reduces the failure count by 61.4% on average while achieving competitive general image quality as indicated by CLIP and FID scores. More broadly, it provides a more favorable unlearning–retention trade-off: when target-erasure performance weakens slightly for some methods, the change is accompanied by substantially better preservation of non-target knowledge.

In summary, our contributions are fourfold:

  1. The first systematic characterization of initial-noise sensitivity in T2I unlearning reveals a critical failure mode and exposes the “safety illusion” created by fixed-seed evaluations.

  2. An analysis of its contributing mechanism shows that uniform Gaussian sampling provides poor coverage under limited unlearning budgets, motivating targeted, concept-conditioned noise sampling.

  3. A principled formulation casts unlearning as risk minimization over a concept-conditioned noise distribution and yields a tractable importance-sampling objective that can be integrated into any optimization-based unlearning framework.

  4. Comprehensive experiments across six unlearning methods and four diffusion backbones—covering nudity, artistic-style, and object removal as well as black- and white-box adversarial attacks—demonstrate a more favorable balance between target erasure and non-target retention, together with stronger robustness and competitive generative utility.

References (62)