Skip to content

Compositional Concept Erasure: Decoupling Objects and Styles via Domain Manifold Unlearning (DMU)Compositional Concepts Erasing: Disentangling Object-Style via Domain Manifold Unlearning

arXiv· arXiv:2610.14514· Yang Xiao, Kaiyuan Deng, Gen Li, Zinan Ling, Zhiwen Fan, Xiaolong Ma, Bo HuiUniversity of Tulsa; The University of Arizona; Clemson University; Texas A&M UniversityIndexed by this site · 17 days ago· Originally publishedDefenses

Quick read

Defenses

Based on the paper PDF (AI-generated); refer to the original

The authors propose a diffusion model unlearning method, DMU, which uses an EMA-updated feature proxy to achieve object-style combination unlearning; the authors claim that on UnlearnCanvas, HA reaches 87.33 (BU) and 85.81 (SU), outperforming the baselines.

Threat modelThe defender (model provider) receives unlearning requests and needs to erase specified object-style combinations (e.g., a certain object in Van Gogh style) from the pretrained diffusion model while preserving the generation capability for that object in other styles and for other objects; the scenario is divided into Batch Unlearning (BU, multiple requests executed at once) and Sequential Unlearning (SU, requests arrive in sequence).

Questions
Machine unlearning for diffusion models mostly remains at the object level or style level, making it difficult to erase only a "certain object×certain style" combination; moreover, multiple unlearning requests (arriving in batch or sequentially) easily cause catastrophic forgetting, damaging the generation capability for retained content.
Methods
Proposes Domain Manifold Unlearning (DMU): extracts features from intermediate layers of the U-Net, uses a non-parametric proxy updated by EMA from positive samples only to represent the target object direction, constructs losses from a vMF distribution perspective to push negative samples away from the proxy and align positive samples with the proxy, and adds a denoising preservation loss.
Experiments and results
Under the default setting of unlearning 6 domains on UnlearnCanvas, the HA of DMU is 87.33 (BU) and 85.81 (SU), which the authors claim outperforms all baselines; HA is likewise highest on SDXL, SD2, OfficeHome, and PACS; the appendix reports LLM unlearning results on WMDP with ZEPHYR-7B.
Limitations and future work
The authors point out: resistance to latent-space recovery attacks and identification of erasure traces was not verified; the impact of different feature extraction layers was not explored; joint unlearning of multiple objects and multiple styles is left for future work. Experiments cover only SD1.5/SD2/SDXL and ZEPHYR-7B, and no statistical significance tests are reported.
Experimental setupSD1.5、SD2 et al. · UnlearnCanvas、OfficeHome et al. · HA、UA et al.
Evaluated models
SD1.5SD2SDXLZephyr-7B
Benchmarks
UnlearnCanvasOfficeHomePACSWMDP-BioWMDP-CyberMMLU
Metrics
HAUARAposRAancStyleAccRCLIPR
AI summaryThe researchers propose the Domain Manifold Unlearning (DMU) method to achieve compositional concept erasure of objects and styles in diffusion models. The method extracts an EMA-updated feature proxy from intermediate diffusion features to represent the direction of the target object to be retained, thereby selectively unlearning domain-specific components within a specific object while preserving other semantic representations. Experiments show that DMU significantly mitigates catastrophic forgetting caused by multiple unlearning requests and outperforms existing best-performing batch and sequential unlearning methods.

The researchers propose the Domain Manifold Unlearning (DMU) method to achieve compositional concept erasure of objects and styles in diffusion models. The method extracts an EMA-updated feature proxy from intermediate diffusion features to represent the direction of the target object to be retained, thereby selectively unlearning domain-specific components within a specific object while preserving other semantic representations. Experiments show that DMU significantly mitigates catastrophic forgetting caused by multiple unlearning requests and outperforms existing best-performing batch and sequential unlearning methods.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    To address fine-grained unlearning of object-style combinations in diffusion models, as well as catastrophic forgetting under multiple requests.

    Core problem: How to make a diffusion model forget only a "certain object × certain style" combination (e.g., a person in Van Gogh style) while preserving the model's generation capability for that object in other styles and for other objects, and without multiple unlearning requests causing catastrophic forgetting.

    • Application scenarios: The authors give examples: content moderation needs to forget "cartoon-style weapons" while retaining recognition of real weapons; a platform may allow generation of public figures in generic styles but prohibit generation in the style of a specific protected studio or artist. Removing only the object or only the style causes over-suppression.
    • Shortcomings of existing methods: The authors state that most prior diffusion model unlearning methods only perform object-level or style-level removal; in Batch Unlearning (BU), unlearning gradients for different domains interfere with each other, leading to incomplete unlearning or reduced utility; in Sequential Unlearning (SU), retention-data performance continuously declines as requests increase, which the authors attribute to gradient noise introduced by early unlearning being amplified by later tasks.
    • Core observation: The authors believe domain features and core semantic knowledge are entangled in a low-dimensional manifold structure in the model parameter space, and that treating multi-target domain unlearning as a simple linear optimization problem is a fundamental limitation.
    • Proposed in the paper: Domain Manifold Unlearning (DMU), which uses an EMA-updated non-parametric feature proxy to represent the target object direction and disentangles domain-specific components on the manifold to achieve selective unlearning.
    • Threat model:
      • The defender is the model provider, responding to unlearning requests driven by regulations such as the "right to be forgotten."
      • The unlearning target is the specified object-style combination (negative set), and the retention targets are other styles of that object (positive set) and all styles of other objects (anchor set).
      • Requests arrive in two ways: BU merges multiple requests into a single optimization, and SU processes requests one by one in chronological order.
      • The paper does not discuss attacker capabilities in adversarial recovery scenarios (only mentions in limitations that latent-space auditing was not done).
  2. What related research exists?

    Related work is divided into three groups: multi-concept erasure, post-erasure auditing, and domain unlearning; the paper positions itself as addressing the gap of object-style combinations.

    Multiple Concept Erasing

    • ESD (2023) fine-tunes diffusion model weights with negative guidance to erase concepts; UCE (2024) provides a closed-form framework for multi-concept unlearning; MACE (2024) uses LoRA plus closed-form cross-attention refinement to erase a large number of concepts.
    • SepME (2024) achieves independent removal of multiple concepts by generating concept-irrelevant representations; Sculpting Memory (2025) uses dynamic masking and concept-aware optimization; Forget-It-All (2026) performs training-free unlearning with concept-sensitive neuron masking; CUIG (2025) stabilizes parameter updates for sequential unlearning; FADE (2026) extends multi-concept erasing to video generation.
    • The paper points out that these methods "remain insufficient for large-scale unlearning, especially when erasing (object, style) combinations."

    Auditing and Identifying Erased Concepts

    • AVCE (2026) uses latent-space auditing to expose recoverable erased concepts and introduces audit-aware updates.
    • Tracer (2026) identifies which concepts were erased and how many through spectral analysis of weight traces and limited forward probes.
    • The paper states that these works motivate evaluating compositional unlearning beyond output-based unlearning/retention metrics.

    Domain Unlearning

    • ADU (2025) uses Maximum Mean Discrepancy (MMD) to explicitly disentangle domain distributions and adaptively capture instance-level domain information.
    • SSDA (2024) minimizes classification loss on retained images and maximizes uncertainty loss on forgotten images, then uses Gaussian-guided latent alignment to align domain-irrelevant information.
    • The paper criticizes these two for considering only explicit disentanglement of the forgotten domain and the retained domain, without considering whether the retained domain still exists in the general knowledge manifold, resulting in unlearning that lacks robustness.

    Baselines and benchmarks: BU baselines are FT w/o Dt,u, GA, L1, L2, UCE, SculpMemory, ADU, SSDA; SU baselines are ESD, EDiff, UCE, CUIG; LLM unlearning baselines are NPO, GA, RMU, RMU-LAT. The main benchmark is UnlearnCanvas, and the extended benchmarks are OfficeHome, PACS, WMDP-Bio/Cyber, MMLU.

    The authors position this paper as: unlike prior methods that only perform object-level or style-level removal, DMU handles object-style compositional unlearning and operates directly on the domain manifold to improve robustness under multiple requests.

  3. How does the paper address this problem?

    DMU uses an EMA-updated feature proxy to represent the target object direction, constructs alignment/repulsion losses from a vMF perspective, and adds a denoising preservation loss.

    Overall idea: instead of directly applying conflicting unlearning gradients, explicitly model the manifold of the target domain—use a non-parametric proxy extracted from the U-Net middle layer and updated only from positive samples via EMA as the semantic reference direction for the target object, making positive samples align with it and negative samples move away from it. Method name: Domain Manifold Unlearning (DMU).

    Problem setup

    • Data is split into three parts: positive set Dt,r (target object × retained styles), negative set Dt,u (target object × forgotten styles), and anchor set Dr (other objects × all styles).
    • The overall objective is L = λ Lu(θ, Dt,u, Dt,r) + Lr(θ, D ∖ (Dt,u)), i.e., unlearning loss plus retention loss.

    Non-parametric object proxy

    • Extract features h(x) from the intermediate representations of the U-Net denoising process; in implementation, hook the output of the first module of the Middle Block (middle_block[1]), obtain a 1D vector via Global Average Pooling over the spatial dimension, and apply ℓ2 normalization; in Stable Diffusion, the feature dimension is d=1280.
    • The proxy is updated as µ(i) = m · µ(i−1) + (1 − m) · Ex∈Dt,r[h(i)(x)], using only positive samples to avoid contamination from the forgotten domain; when m=0 it degenerates to current-batch statistics, and the ablation states that this variant performs comparably under controlled sampling.
    • Reason for using EMA (given in the paper): there is no guarantee that every mini-batch has enough positive samples, and per-batch statistics would be unstable or even undefined.

    vMF distribution perspective and DMU loss

    • Normalized features can be viewed as vMF directional data on a sphere, and maximizing the vMF likelihood is equivalent to maximizing cosine similarity with the proxy; in practice, the explicit concentration parameter κ is omitted and the geometric direction is optimized directly.
    • DMU loss: for positive samples, take −µ̃⊤f̃(x) (align with the proxy); for negative samples, take µ̃⊤f̃(x) (push away from the proxy).
    • The authors' theoretical interpretation: minimizing the positive-sample loss increases their concentration κr, and pushing away negative samples decreases κu and makes the distribution approach uniformity on the sphere, geometrically explaining "semantic loss." Table 1 gives empirical values: at step 0, κpos=1815.85 and κneg=1773.03; at step 1000, κpos=4576.56 and κneg=0.

    Overall objective

    • The final objective is L = Ex∈Dt,r∪Dr[Lr(x)] + λEx∈Dt,r∪Dt,u[Lu(x)]: the denoising loss Lr acts only on the positive set and anchor set, and the authors state it serves as a spatial regularizer to prevent positive samples from collapsing to a single center and to preserve intra-class diversity.
    • λ is a hyperparameter; the paper states 0.05∼1.00 all work (Table 7), and the main experiments default to 0.15 (selected by random sampling).

    Success criteria and evaluation method

    • Metrics follow UnlearnCanvas: UA = 100 minus the classification accuracy of the target object on the negative set; RApos and RAanc are the classification accuracies on the positive set and anchor set, respectively; HA is the harmonic mean of UA, RApos, and RAanc; there are also StyleAccR (style classification accuracy on retained domains) and CLIPR (image-text CLIP score).
    • Classification accuracy is given by pretrained object/style classifiers: UnlearnCanvas uses the classifier it provides, OfficeHome/PACS use ViT-L/16 pretrained on ImageNet and then fine-tuned on the corresponding data (train/test split 9:1, Adam, learning rate 0.01, 10 epochs); CLIPR is computed with openai/clip-vit-base-patch32.
    • Training is performed on 4 L40S GPUs; each BU experiment takes about 210 minutes, and SU takes about the number of styles × 210 minutes.
  4. What experiments did the paper conduct?

    Evaluated on the UnlearnCanvas main benchmark as well as OfficeHome/PACS, SDXL/SD2, and WMDP, the authors claim that DMU has the highest HA across the board.

    Experimental setup

    • Models under test: SD1.5 (main experiments), SDXL, SD2 (Table 5); Appendix C performs LLM unlearning on ZEPHYR-7B.
    • Datasets: UnlearnCanvas (20 objects × 51 styles, 20 samples per object-style pair; by default 6 domains are forgotten, and Appendix A.2 lists the actual subsets used with 6 objects and 6/12/15/25/30 styles); OfficeHome (65 objects, 4 styles, 15500 samples, actually using 6 objects × 2 styles); PACS (7 objects, 4 styles, 9991 samples, actually using 7 objects × 3 styles).
    • Baselines: BU is FT w/o Dt,u, GA, L1, L2, UCE, SculpMemory, ADU, SSDA; SU is ESD, EDiff, UCE, CUIG; LLM is NPO, GA, RMU, RMU-LAT.
    • Metrics: HA (harmonic mean of UA, RApos, RAanc), UA, RApos, RAanc, StyleAccR, CLIPR, defined as in Question 3.
    • Evaluation method: Classification metric accuracies are given by pretrained/fine-tuned ViT-L/16 classifiers, and CLIPR is computed with openai/clip-vit-base-patch32; the paper does not report human evaluation.
    • Samples and repetitions: 7 random seeds each for the positive and negative sets, 5 for the anchor set, with 4 images generated per domain per seed; the paper does not report multiple repeated trainings or variance.

    Main results

    UnlearnCanvas, default 6 forgotten domains, according to Table 3:

    Swipe horizontally to read the table

    Method (setting)HA↑UA↑RApos↑RAanc↑StyleAccR↑CLIPR↑
    SSDA (BU)64.0841.4786.9389.2797.1229.06
    UCE (BU)59.3982.3357.0348.0194.6927.25
    DMU (BU)87.3387.0789.3685.6395.2029.08
    ESD (SU)22.1110011.9123.9793.9622.81
    CUIG (SU)70.4956.2572.1191.6497.0929.67
    DMU (SU)85.8191.1384.2482.5288.9029.55

    (There are 8 BU baselines and 4 SU baselines in total; some baselines are omitted from the table; full values are in Table 3, where GA (BU) has HA of only 3.31, the lowest in the whole table.)

    • Authors' interpretation: Under SU, ESD, EDiff, and UCE have UA close to 100 but RApos and RAanc drop substantially; CUIG retains better but has limited UA; DMU has the highest HA under both settings.
    • The authors state that DMU is the method that outperforms all baselines on "jointly optimizing unlearning effectiveness and retention."

    Cross-model and cross-dataset generalization

    • SDXL/SD2 (UnlearnCanvas, Table 5): SDXL+DMU has HA 95.75 and UA 100.00; SD2+DMU has HA 96.60 and UA 95.71; SDXL/SD2 without DMU have HA of 6.79 and 7.32, respectively (the paper does not specify the training setup for these control rows).
    • OfficeHome (Table 4, SD1.5): DMU has HA 81.35, higher than ADU's 56.61 and SSDA's 50.77.
    • PACS (Table 4, SD1.5): DMU has HA 91.63 and UA 98.04, higher than ADU's 58.32 and SSDA's 64.93; however, DMU's RAanc is 89.23, lower than SSDA's 99.17 and ADU's 95.83, and StyleAccR 91.49 is also lower than both baselines.
    • The authors state the results show that DMU is not tied to a specific model scale or dataset.

    Manifold visualization and κ estimation

    • What was measured: Features from 100 batches were extracted from the U-Net bottleneck using the post-unlearning weights for 3D visualization (Figures 3, 4), with the anchor set sampled to 50% and the positive and negative sets each 25%.
    • Results: In Figure 3, the positive and negative sample clusters of SSDA, SculptingMemory, and ADU are not fully separated at 1000 steps; in Figure 4, DMU's positive and negative clusters overlap at step 0, begin to separate at step 500, and form separated clusters at step 1000. In Table 1, κpos rises from 1815.85 to 4576.56, and κneg drops from 1773.03 to 0.
    • Authors' interpretation: The visualization and κ changes show that DMU achieves disentanglement of the positive and negative sets, and they believe this explains why the baselines' UA and RApos are not robust.

    LLM unlearning (Appendix C, Table 8)

    • What was measured: DMU was ported to ZEPHYR-7B, with WMDP-Bio and WMDP-Cyber as unlearning targets (lower is better) and MMLU for retained capability (higher is better); the target of the unlearning loss was changed to an adaptive centroid of retained-token reference points.
    • Results: DMU has WMDP-Bio 29.3, WMDP-Cyber 27.3, and MMLU 56.6; RMU is 27.3/26.7/56.4, and RMU-LAT is 31.7/29.6/57.5. DMU's WMDP scores are slightly higher than RMU's (slightly less unlearning), and MMLU is between RMU and RMU-LAT.
    • The authors state that DMU provides a better trade-off between unlearning and retention.

    Other ablations and analyses

    • Loss ablation (Table 6, Full DMU's HA 87.33): removing positive alignment drops to 58.77 (RApos 38.15); removing negative repulsion drops to 57.81 (UA 35.42); removing denoising retention drops to 84.39.
    • Momentum m (Table 2): between 0.1–0.9, HA oscillates between 83.18–90.45, highest at m=0.9 (90.45), and the authors state it is overall robust.
    • λ ablation (Table 7, Birds class of UnlearnCanvas, SD1.5): HA is 47.42 at λ=0; between 0.05–1.00, HA is 82.46–90.58, with the main text defaulting to 0.15.
    • Number of unlearning requests (Figure 5): UA gradually declines as requests increase; at 25 and 30 requests, increasing training steps from 1000 to 2000 restores UA to about 85%, and the authors believe the decline stems from insufficient optimization steps rather than the method itself.
    • Exception: On PACS, DMU's RAanc and StyleAccR are lower than the baselines (see above), and the paper does not provide an explanation.
  5. What are some points that can be further explored?

    The authors list three types of limitations and future directions: multi-domain extension, resistance to auditing, and feature layer selection; the experiments cover four models and four benchmarks.

    Limitations and future directions noted by the authors

    • Joint multi-object multi-style unlearning not done (Section 4.1): the current experiments only unlearn multiple styles of a single target object and average across objects; the authors state that this design can naturally extend to a unified multi-object multi-style framework, but leave it for future work due to space constraints.
    • Resistance to recovery and recognition not verified (Section 4.2): the authors explicitly evaluate "does not establish resistance to latent-space recovery or to concealment of the erased concept"; latent-space auditing (AVCE) and erasure-trace recognition (Tracer) are complementary tests and remain to be studied.
    • Feature extraction layer not explored (Section 4.3): due to space and experimental time cost, the effect of extracting features from different layers on DMU was not studied.
    • Extension to other generative modalities (Conclusion): the authors plan to extend the agent to the aforementioned limitations and to other modalities such as Large Language Models (Appendix C already gives preliminary results on ZEPHYR-7B).

    Experimental coverage

    • The models tested are three diffusion models, SD1.5, SD2, and SDXL, and one language model, ZEPHYR-7B, 4 in total.
    • The benchmarks are UnlearnCanvas (default unlearning of 6 domains, additionally testing 12/15/25/30 styles), OfficeHome (6 objects×2 styles), PACS (7 objects×3 styles), WMDP-Bio/Cyber, and MMLU.
    • Image generation uses 4 images per domain per seed, with 7 seeds for the positive and negative sets and 5 seeds for the anchor set; the paper does not report the number of training repetitions or the variance of results, nor does it report statistical significance tests.
    • Classification metrics are given by a ViT-L/16 classifier, and CLIPR by clip-vit-base-patch32; the paper does not report human evaluation or inter-rater agreement.
    • On efficiency, the paper reports that BU takes about 210 minutes per experiment and SU about number of styles×210 minutes (4 L40S GPUs), and does not report a time comparison with other methods.
  6. Summarize the main content of the paper

    DMU disentangles object-style combinations on the manifold with an EMA feature proxy, and the authors claim it has the highest HA across multiple benchmarks and models.

    A methods paper on machine unlearning for diffusion models, targeting fine-grained unlearning of object-style combinations and catastrophic forgetting under multiple requests.

    • Problem: Prior methods only perform object-level or style-level removal and cannot erase only "a certain object × a certain style"; in BU, unlearning gradients interfere with each other, and in SU, retention performance declines as the number of requests increases.
    • Method: DMU extracts features from the U-Net Middle Block and uses a non-parametric proxy updated only from positive samples via EMA to represent the target object direction; based on a vMF distribution perspective, positive samples align with the proxy and negative samples are pushed away from it, with a denoising retention loss applied only to the positive set and anchor set added on top; λ defaults to 0.15.
    • Main results: When unlearning 6 domains on UnlearnCanvas, DMU's HA is 87.33 (BU) and 85.81 (SU), which the authors state is higher than all 12 baselines (Table 3).
    • Generalization: SDXL+DMU has HA 95.75 and SD2+DMU 96.60 (Table 5); on OfficeHome 81.35 and on PACS 91.63 (Table 4), both the highest in their respective tables; however, on PACS, RAanc and StyleAccR are lower than the baselines.
    • Extension: The appendix reports WMDP-Bio 29.3, WMDP-Cyber 27.3, and MMLU 56.6 on ZEPHYR-7B, and the authors state the unlearning-retention trade-off is better than NPO, GA, and RMU variants.
    • Authors' conclusions and implications: The authors believe explicitly modeling the domain manifold can precisely excise the target domain distribution while preserving core utility; they also acknowledge that resistance to latent-space recovery was not verified, and joint unlearning of multiple objects and multiple styles is left for future work.
Read originalarxiv.org