Manuscript Offprint

arXiv:2610.10859

Enabling Preference-driven Unlearning in Few-step Distilled Text-to-Image Diffusion Models

Gaurav Patel, Jun Fang, Greg Ver Steeg, Qiang Qiu, Sravan Sripada

Abstract

Text-to-image diffusion models are increasingly distilled into few-step variants and being deployed to enable fast inference. However, their ability to generate harmful or undesired content poses significant safety risks. Data-driven unlearning methods suppress targeted generations by fine-tuning model weights using specialized unlearning objectives. Crucially, these objectives implicitly rely on multi-step denoising dynamics, an assumption that breaks down for few-step distilled (FSD) models, resulting in ineffective forgetting. Furthermore, performing unlearning on the non-distilled base model and subsequently re-distilling it to obtain an unlearned FSD model incurs substantial computational and time overhead, making it impractical in many settings. Hence, we address this limitation with a preference-driven unlearning framework that revisits Direct Preference Optimization (DPO) for diffusion models. We show that standard DPO and its unlearning derivatives, formulated around noise-prediction error, transfer poorly to FSD models due to their altered generation dynamics. To overcome this, we introduce a modified preference optimization formulation explicitly aligned with the few-step generation properties, enabling direct concept removal in FSD models while preserving few-step efficiency and maintaining strong retention of desirable (non-targeted) capabilities. We evaluate our framework primarily on identity and NSFW (nudity) removal tasks and also extend our method to object-level unlearning. Extensive experiments demonstrate consistent and effective forgetting, and strong retention performance, establishing our method as a practical and principled solution for unlearning in FSD models.

1 Introduction

Text-to-image (T2I) diffusion models underpin modern generative visual synthesis, enabling high-quality and controllable image generation [97, 71, 70, 66]. However, their success has amplified concerns about undesirable generations [62, 13, 69, 74, 36], driven by unsafe or identity-specific content in large-scale training data [75]. Open-weight Stable Diffusion (SD) models [70], widely accessible via HuggingFace [7], can generate celebrity identities or not-safe-for-work (NSFW) content such as nudity. Safety filters are often bypassable via prompt obfuscation or multilingual cues [91, 53, 74, 84, 92], motivating targeted unlearning to remove specific concepts while preserving utility [14, 53, 29, 30, 62, 28, 48, 89, 64, 88, 37, 102].

Concurrently, T2I models are distilled into few-step variants [78, 56, 73, 72, 94, 93, 19, 86, 103, 104, 21] for efficient inference. These few-step distilled (FSD) models reduce sampling from 50–100 sampling steps [70, 77] to 2–8 steps, typically via student reparameterization and teacher-guided training [78, 56]. This alters generation dynamics: FSD models commit early with limited intermediate exploration (Figure 1A). Also, undesirable concept residues from the base model (BM) can transfer to, and even be amplified in, FSD models (Figure 1B), making post-distillation safety critical. A naïve solution—first unlearning on the BM and then re-distilling—assumes that unlearning

*Work started as an intern at Amazon AGI. Corresponding author: pate1332@purdue.edu.

40th Conference on Neural Information Processing Systems (NeurIPS 2026).

Figure

B.

C.

Figure 1: A. LPIPS-to-final vs. timesteps for the base model (BM) [4] and its few-step distilled (FSD) variant [5]. BM follows long, weakly constrained trajectories, while FSD shows steep LPIPS decay, committing within a few steps, limiting mid-path adaptability. B. Severity of unsafe generations in FSD. FSD model shows elevated detections pre-unlearning compared to its BM, which our method markedly reduces. C. SD-Turbo [10] unlearning dynamics. Our method (last row) based on consistency error shows stable, gradual and effective unlearning during the course of training.

effects transfer faithfully through the distillation process [56, 93], an assumption that is not guaranteed in practice [81, 34]. Moreover, this pipeline incurs substantial computational overhead (e.g., Luo et al. [56] report 32 A100 GPU hours, while Yin et al. [93] report 36 hours on 72 A100 GPUs). Since the FSD model is ultimately the deployed artifact, it is both necessary and desirable to directly unlearn undesirable properties on the FSD model itself.

Preference-based methods such as direct unlearning optimization (DUO) [62] and SafetyDPO (AlignGuard) [52] that are based on direct-preference optimization (DPO) [68, 85] have shown robust [62] and scalable [52] T2I unlearning while enabling fine-grained control [62, 39], by contrasting preferred and dispreferred samples using noise-prediction errors along denoising trajectories. However, this formulation assumes full-step diffusion with long trajectories [96] and noise-based parameterization [42, 77, 70]. When applied to FSD models, characterized by few-step generation and different parameterization [56, 46], this assumption breaks, yielding ineffective unlearning, see Figure 1C. We identify this objective dissonance as the key bottleneck.

We propose Consistency-enforced Preference-driven Unlearning (CePU), a framework tailored to FSD models. Instead of noise-prediction error [85], CePU (C-P-U) uses consistency error [78], i.e., the discrepancy between final timestep predictions from adjacent noisy timesteps, capturing the intrinsic few-step inductive bias [22, 78]. This consistency error serves as an implicit reward signal, which is minimized for preferred samples and maximized for dispreferred ones, aligning preference learning with FSD dynamics. Notably, directly unlearning on the FSD model achieves performance comparable to unlearning on the BM followed by distillation (Appendix D), while requiring only ≈\approx 15 minutes on a single A5000 GPU, highlighting the practicality of post-distillation unlearning.

We evaluate CePU on identity removal and nudity suppression, including red-teaming prompts [84, 91, 92, 23, 74]. Since FSD models can generate unsafe content even without explicit prompts (Figure 5), this provides a stringent testbed. We further analyze utility–unlearning trade-offs and extend CePU to object-level unlearning.

In summary: ① We identify a fundamental dissonance between noise-prediction-based preference unlearning objectives and FSD dynamics (Section 2.2). ② We propose CePU that seeks to alleviate the dissonance with consistency-based rewards aligned with few-step generation (Section 2.4). ③ We demonstrate effective unlearning across identity, nudity, and object-level settings and analyze utility–unlearning trade-off Pareto fronts to understand the trade-offs across various methods and model families (Section 3).

References (90)

  • GPT-4 Technical Report
  • Text-to-image diffusion models with an ensemble of expert denoisers (opens arXiv in a new tab)
  • Into the laion’s den: Investigating hate in multimodal datasets
  • Machine unlearning
  • Rank analysis of incomplete block designs: I. the method of paired comparisons
  • Erasing undesirable concepts in diffusion models with adversarial preservation
  • Fantastic targets for concept erasure in diffusion models and where to find them
  • Targeted unlearning with single layer unlearning gradient
  • Flash diffusion: Accelerating any conditional diffusion model for few steps image generation
  • Conceptprune: Concept editing in diffusion models via skilled neuron pruning
  • Sana-sprint: One-step diffusion with continuous-time consistency distillation
  • Convergence of consistency model with multistep sampling under general data assumptions
  • Prompting4debugging: Red-teaming text-to-image diffusion models by finding problematic prompts
  • Saeuron: Interpretable concept unlearning in diffusion models with sparse autoencoders
  • Improved training technique for latent consistency models
  • Anchored preference optimization and contrastive revisions: Addressing underspecification in alignment
  • Simplicity prevails: Rethinking negative preference optimization for llm unlearning
  • Salun: Empowering machine unlearning via gradient-based weight saliency in both image classification and generation
  • Erasing concepts from diffusion models
  • Unified concept editing in diffusion models
  • Eraseanything: Enabling concept erasure in rectified flow transformers
  • Meta-unlearning on diffusion models: Preventing relearning unlearned concepts
  • Mean flows for one-step generative modeling
  • The illusion of unlearning: The unstable nature of machine unlearning in text-to-image diffusion models
  • Distill, forget, repeat: A framework for continual unlearning in text-to-image diffusion models (opens arXiv in a new tab)
  • Cpr: Retrieval augmented generation for copyright protection
  • Reliable and efficient concept erasure of text-to-image diffusion models
  • Adaptive median smoothing: Adversarial defense for unlearned text-to-image diffusion models at inference time
  • Safetypairs: Isolating safety critical image features with counterfactual image generation (opens arXiv in a new tab)
  • Selective amnesia: A continual learning approach to forgetting in deep generative models
  • Clipscore: A reference-free evaluation metric for image captioning
  • Denoising diffusion probabilistic models
  • Low-rank adaptation of large language models
  • Receler: Reliable concept erasing of text-to-image diffusion models via lightweight erasers
  • Learning to unlearn for robust machine unlearning
  • Elucidating the design space of diffusion-based generative models
  • Race: Robust adversarial concept erasure for secure text-to-image diffusion model
  • Boosting alignment for post-unlearning text-to-image generative models
  • Ablating concepts in text-to-image diffusion models
  • Localized concept erasure for text-to-image diffusion models using training-free gated low-rank adaptation
  • Measuring and reducing malicious use with unlearning
  • Alignguard: scalable safety alignment for text-to-image generation
  • Latent guard: a safety framework for text-to-image generation
  • Nature Machine Intelligence, 2025
  • Mace: Mass concept erasure in diffusion models
  • Latent consistency models: Synthesizing high-resolution images with few-step inference (opens arXiv in a new tab)
  • One-dimensional adapter to rule them all: Concepts diffusion models and erasing applications
  • TOFU: A task of fictitious unlearning for LLMs
  • Sdedit: Guided image synthesis and editing with stochastic differential equations
  • Tuning timestep-distilled diffusion model using pairwise sample optimization
  • Direct unlearning optimization for robust and safe text-to-image models
  • Learning to retain while acquiring: Combating distribution-shift in adversarial data-free knowledge distillation
  • Learning to unlearn while retaining: Combating gradient conflicts in machine unlearning
  • Efficient source-free time-series adaptation via parameter subspace disentanglement
  • Würstchen: An efficient architecture for large-scale text-to-image diffusion models (opens arXiv in a new tab)
  • Dreamfusion: Text-to-3d using 2d diffusion
  • Direct preference optimization: Your language model is secretly a reward model
  • Red-teaming the stable diffusion safety filter (opens arXiv in a new tab)
  • High-resolution image synthesis with latent diffusion models
  • Fast high-resolution image synthesis with latent adversarial diffusion distillation
  • Adversarial diffusion distillation
  • Safe latent diffusion: Mitigating inappropriate degeneration in diffusion models
  • An open large-scale dataset for training next generation image-text models
  • Continualflow: Learning and unlearning with neural flow matching (opens arXiv in a new tab)
  • Denoising diffusion implicit models
  • Consistency models
  • Score-Based Generative Modeling through Stochastic Differential Equations
  • Stereo: A two-stage framework for adversarially robust concept erasing from text-to-image diffusion models
  • Unstable unlearning: The hidden risk of concept resurgence in diffusion models
  • Continual unlearning for foundational text-to-image models without generalization erosion (opens arXiv in a new tab)
  • Fine-grained erasure in text-to-image diffusion-based foundation models
  • Ring-a-bell! how reliable are concept removal methods for diffusion models? In ICLR, 2024
  • Diffusion model alignment using direct preference optimization
  • Precise, fast, and low-cost concept erasure in value space: Orthogonal complement matters
  • Scissorhands: Scrub data influence via connection sensitivity in networks
  • Munba: Machine unlearning via nash bargaining
  • Erasing undesirable influence in diffusion models
  • Mma-diffusion: Multimodal attack on diffusion models
  • Sneakyprompt: Jailbreaking text-to-image generative models
  • Improved distribution matching distillation for fast image synthesis
  • One-step diffusion with distribution matching distillation
  • Safree: Training-free and adaptive guard for safe text-to-image and video generation
  • Concept unlearning by modeling key steps of diffusion process (opens arXiv in a new tab)
  • Text-to-image diffusion models in generative ai: A survey (opens arXiv in a new tab)
  • Forget-me-not: Learning to forget in text-to-image diffusion models
  • The emergence of reproducibility and consistency in diffusion models
  • The unreasonable effectiveness of deep features as a perceptual metric
  • Negative preference optimization: From catastrophic collapse to effective unlearning
  • To generate or not? safety-driven unlearned diffusion models are still easy to generate unsafe images
  • Adversarial score identity distillation: Rapidly surpassing the teacher in one step