SafeRedir: Robust unlearning for image generation models via prompt embedding redirectionSafeRedir: Prompt Embedding Redirection for Robust Unlearning in Image Generation Models
The researchers propose SafeRedir, an unlearning framework that runs at inference time; it does not modify the weights of the image generation model, but instead redirects unsafe prompts toward safe semantic regions through prompt embedding redirection. The framework contains two core components: a latent-aware multimodal safety classifier, used to identify unsafe generation trajectories; and a token-level delta generator, together with token masking and an adaptive scaling predictor to locate and regulate the intervention. The authors claim that on multiple representative unlearning tasks, SafeRedir can effectively unlearn unsafe concepts while maintaining semantic and perceptual quality, and enhances resistance to adversarial attacks; the method can also be used across a variety of diffusion model backbones and existing unlearned models. Code and data are available at https://github.com/ryliu68/SafeRedir。