OPSD-Erase: On-Policy Concept Erasure for Text-to-Image Generative Models
Open-weight text-to-image models can generate high-quality images from natural language prompts, but they can also be induced to produce unsafe content, creating substantial risks in open deployment. Existing defenses are insufficient for two reasons. External detection modules and inference-time guidance can be removed once the weights are released. More durable weight-editing methods, including closed-form editing and existing fine-tuning-based erasure, are typically trained on states that differ from those visited by the edited model during sampling, creating a training-inference inconsistency that leaves concept erasure incomplete. We address this problem by viewing text-to-image generation as a unified reverse process and defining concept erasure as alignment of the one-step reverse update on the states visited during sampling. We propose OPSD-Erase, an on-policy framework that trains on student-visited states, uses a frozen reference model to provide safe one-step targets, and uses anchor conditions to preserve benign generation behavior. A probe on the sampling trajectory reveals two mismatch patterns: under off-policy fixed-data supervision, update error grows as the…
- arXiv
- 2611.40694
- Authors
- Yunfei Zheng, Dandan Zheng, Laurence T. Yang, Shenghao Liu, Xiaoxuan Fan and 1 more
- Categories
- cs.CV · cs.CR · cs.LG