NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Erase but Preserve: Controllable Removal of Copyrighted Animation Characters via Optimized Semantic Anchors

Qiao Li, Xiaomeng Fu, Wangjia Yu, Runze He, Baisen Wang, Jiao Dai, Jizhong HanarXiv 2026 · DOI

TL;DR

This paper introduces a novel inference-time method to controllably erase copyrighted animation characters from text-to-image diffusion models without altering model weights. By optimizing a continuous "semantic anchor" that matches the character's structural layout but alters its distinctive details, the method completely removes infringing content while preserving the original image's background and artistic fidelity. It also enables fine-grained control over the erasure scale and transfers seamlessly across different model architectures.

What Problem Does This Paper Address?

Text-to-image diffusion models excel at generating highly detailed imagery, but they also pose significant copyright risks by effortlessly reproducing unauthorized, copyrighted animation characters (e.g., Spider-Man, Minions).

Existing concept erasure techniques fall short when applied to highly unique animation characters. They generally fall into two camps:

  1. Model Modification Methods: These alter model weights to map an undesired concept to a benign "anchor" concept (e.g., mapping "grumpy cat" to "cat"). However, unique animation characters lack obvious taxonomic synonyms or generic counterparts, leading to incomplete erasure or severe background distortion.
  2. Prompt-based Steering Methods: These manipulate text embeddings or classifier-free guidance (CFG) during inference (e.g., negative prompts). These methods act too coarsely, often destroying the surrounding context, background, and overall artistic quality of the image.

The authors address this gap by proposing a method that surgically removes copyrighted characters while preserving the user's original creative intent (composition, style, and background elements) with fine-grained control.

Methods

Instead of fine-tuning the diffusion model, the proposed method operates entirely within the continuous textual representation space during generation. It consists of two primary phases:

  1. Anchor Concept Construction: The method optimizes a continuous word embedding vector, dubbed "Anchor*", to act as a non-infringing surrogate for the target character. The optimization balances two distinct constraints:
  2. Structural Outline Constraint ($L_S$): Uses a low-frequency filter on early denoising steps to ensure the anchor shares a similar pose and silhouette with the target character, preventing background warping.
  3. Detailed Features Differentiation ($L_D$): Maximizes noise prediction error on a reference image during later denoising steps to strip away the character's distinctive, copyright-infringing details.
  4. Structure-aware Adaptive Replacement: Replacing text embeddings right at the start ($t=1000$) can ruin global composition. Instead, the method dynamically tracks the $L_2$ distance of low-frequency structural components between consecutive timesteps. Once the layout stabilizes (typically around $t \approx 720$), it triggers the embedding replacement, seamlessly swapping the target character for the optimized anchor.
The overall pipeline of the proposed method, showcasing anchor construction and structure-aware adaptive replacement.

Additionally, the method uses vector arithmetic ($\alpha$-interpolation) between the target embedding and the anchor embedding to allow users or platforms to smoothly dial the erasure intensity up or down.

Datasets

Because no standard benchmark existed for animation character erasure, the authors curated a new dataset consisting of 80 distinct animation concepts that diffusion models can reliably generate. The dataset is split into:

  • 36 anthropomorphic characters
  • 23 animal-form characters
  • 21 miscellaneous characters

For evaluation, they generated 100 prompts per character using GPT-4o. They also utilized the standard COCO-30K dataset to verify that their method does not degrade the model's performance on normal, non-copyrighted prompts.

Key Insights and Ideas

  • Structural Preservation is Key: Mapping a character to a blank space or a completely different object class causes the surrounding background to collapse or warp. Giving the anchor the exact same low-frequency silhouette keeps the background perfectly intact.
  • Timing is Everything: The layout of an image stabilizes mid-way through the denoising process. By waiting for this transition point (automatically detected via structural dynamics), the model can surgically alter the character without causing collateral damage to the global scene layout.
  • Continuous Space Enables a "Copyright Dial": Because the anchor exists in a continuous embedding space, simple linear interpolation allows platforms to choose a middle ground—permitting moderate visual similarity or enforcing total erasure depending on policy needs.

Key Results

  • Erasure Effectiveness: The method successfully deceived advanced Vision-Language Models (VLMs). Images erased using this method achieved the lowest target identification rates by LLaVA-1.5 (6.0%) and BLIP-3 (4.0%), significantly outperforming competitive baselines like Safe Latent Diffusion (SLD) and TraSCE.
  • Fidelity Preservation: It achieved the highest structural similarity (SSIM of 0.467) and lowest perceptual difference (LPIPS of 0.505) compared to original un-erased versions, proving excellent background consistency.
  • Zero Collateral Damage: Evaluation on COCO-30K showed near-identical FID and CLIP scores to the base Stable Diffusion model, meaning normal image generation remains completely unaffected.
  • Cross-Model Transferability: Optimized anchors are plug-and-play. Anchors optimized on Stable Diffusion v1.4 successfully transferred to v1.5, v2, v2.1, SDXL, and even recent Diffusion Transformer (DiT) architectures like Z-Image.
Qualitative comparison showing complete erasure of target animation concepts while preserving background coherence.

Limitations and Future Work

While highly effective, the paper notes or implies a few limitations:

  • Pre-optimization Required: The method requires a clean reference image of the target character to optimize the anchor embedding beforehand, making it a one-time offline cost per character.
  • Prompt Dependency: The system relies on identifying target-related terms within a predefined subspace in the prompt to trigger the replacement, meaning it could potentially be circumvented by highly adversarial prompt engineering that avoids explicit character names.

Summary updated

BibTeX
@misc{li2026erase,
  author = {Qiao Li and Xiaomeng Fu and Wangjia Yu and Runze He and Baisen Wang and Jiao Dai and Jizhong Han},
  title = {{Erase but Preserve: Controllable Removal of Copyrighted Animation Characters via Optimized Semantic Anchors}},
  year = {2026},
  eprint = {2608.12806},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.12806},
}
Figure