Patronus: Defending Text-to-Image Models Against White-Box AdversariesPatronus: Safeguarding Text-to-Image Models against White-Box Adversaries
The researchers propose a defense framework, Patronus, that protects text-to-image (T2I) models from white-box adversaries who know about and can adjust model parameters (e.g., via fine-tuning); the paper states that existing safety measures such as content moderation and model alignment fail against such adversaries. The framework designs an internal censor that decodes unsafe input features into zero vectors while preserving the decoding performance of benign input features; it also strengthens model alignment through a carefully designed non-fine-tunable learning mechanism to prevent the model from being compromised by malicious fine-tuning. Experiments verify that Patronus maintains intact performance on safe content generation, effectively refuses unsafe content generation, and is resilient to multiple fine-tuning attacks by white-box adversaries.