EraseSAE: Surgical Concept Erasure in Text-to-Video Diffusion Models via Sparse Autoencoders
Xinghao Wang, Dong Li, Wei Yu, Yingwei Pan, Tao Gong, Qi Chu, Nenghai Yu, Ting Yao
Abstract
Recent advances in text-to-video (T2V) diffusion models have demonstrated remarkable generative capabilities, yet their reliance on loosely curated training data raises pressing safety and copyright concerns. Concept erasure offers a principled remedy by removing unwanted semantics from pretrained models while preserving remaining concepts. However, existing approaches typically operate at a coarse granularity misaligned with the fine-grained, distributed nature of concept representations, leading to incomplete removal or degraded generation quality. We argue that surgical erasure fundamentally requires intervention at the level of monosemantic features, where each unit encodes a single interpretable concept. To this end, we propose EraseSAE, a novel framework that leverages sparse autoencoders to achieve surgical concept erasure in DiT-based T2V diffusion models via a principled decompose-attribute-erase pipeline. We first introduce the Partitioned Convolutional Sparse Autoencoder, which decomposes dense spatiotemporal activations into disentangled, interpretable sparse features while preserving spatiotemporal coherence. A contrastive attribution mechanism then contrasts activations from paired prompts to isolate concept-specific feature kernels. At inference, timestep-resolved spatiotemporal masks derived from the identified kernels confine erasure to regions where the target concept is active, leaving unrelated content intact. Extensive experiments across diverse diffusion models and concept erasure tasks demonstrate that EraseSAE achieves precise and robust concept removal with minimal quality degradation, substantially outperforming state-of-the-art methods. The code is available at https://github.com/HiDream-ai/EraseSAE.
Create a lesson
Metadata
- Categories
- cs.CV, cs.AI
- Comments
- Accepted to ECCV 2026
Related papers
Carrying Feature Ablations Across Sparse Autoencoder Seeds
Shared title terminologycs.CVKarl Li
OceanFix: Reference-Guided Diffusion for Sparse-View Underwater 3D Reconstruction
Shared title terminologycs.CVGen Li, Maoxin Chen, Yao Xiao et al.
ReaDiT Guidance: Control for Image and Video Generation using Diffusion Transformer Features
Shared title terminologycs.CVJay Mahajan, Chang Liu, Rauf Makharov et al.
ToPO: Token-Oriented Preference Optimization for Text-to-Image Diffusion Models
Shared title terminologycs.CVJuntao Xu, Shihong Li, Hoi Fan Au et al.
FailSAE: Towards Interpretable Failure Prediction for Vision-Language Models via Sparse Autoencoders
Shared title terminologycs.CVJie Ma, Zongxi Liu, Yi Zhu
AnyCam: Anything Can Represent Camera for Video Generation
Shared title terminologycs.CVWeijie Lyu, Zhixin Shu, Yuntian Ke et al.