Direct Unlearning Optimization for Robust and Safe Text-to-Image Models

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Park, Yong-Hyun, Yun, Sangdoo, Kim, Jin-Hwa, Kim, Junho, Jang, Geonhui, Jeong, Yonghyun, Jo, Junghyo, Lee, Gayoung
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866929677717733376
author Park, Yong-Hyun
Yun, Sangdoo
Kim, Jin-Hwa
Kim, Junho
Jang, Geonhui
Jeong, Yonghyun
Jo, Junghyo
Lee, Gayoung
author_facet Park, Yong-Hyun
Yun, Sangdoo
Kim, Jin-Hwa
Kim, Junho
Jang, Geonhui
Jeong, Yonghyun
Jo, Junghyo
Lee, Gayoung
contents Recent advancements in text-to-image (T2I) models have unlocked a wide range of applications but also present significant risks, particularly in their potential to generate unsafe content. To mitigate this issue, researchers have developed unlearning techniques to remove the model's ability to generate potentially harmful content. However, these methods are easily bypassed by adversarial attacks, making them unreliable for ensuring the safety of generated images. In this paper, we propose Direct Unlearning Optimization (DUO), a novel framework for removing Not Safe For Work (NSFW) content from T2I models while preserving their performance on unrelated topics. DUO employs a preference optimization approach using curated paired image data, ensuring that the model learns to remove unsafe visual concepts while retaining unrelated features. Furthermore, we introduce an output-preserving regularization term to maintain the model's generative capabilities on safe content. Extensive experiments demonstrate that DUO can robustly defend against various state-of-the-art red teaming methods without significant performance degradation on unrelated topics, as measured by FID and CLIP scores. Our work contributes to the development of safer and more reliable T2I models, paving the way for their responsible deployment in both closed-source and open-source scenarios.
format Preprint
id arxiv_https___arxiv_org_abs_2407_21035
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Direct Unlearning Optimization for Robust and Safe Text-to-Image Models
Park, Yong-Hyun
Yun, Sangdoo
Kim, Jin-Hwa
Kim, Junho
Jang, Geonhui
Jeong, Yonghyun
Jo, Junghyo
Lee, Gayoung
Computer Vision and Pattern Recognition
Recent advancements in text-to-image (T2I) models have unlocked a wide range of applications but also present significant risks, particularly in their potential to generate unsafe content. To mitigate this issue, researchers have developed unlearning techniques to remove the model's ability to generate potentially harmful content. However, these methods are easily bypassed by adversarial attacks, making them unreliable for ensuring the safety of generated images. In this paper, we propose Direct Unlearning Optimization (DUO), a novel framework for removing Not Safe For Work (NSFW) content from T2I models while preserving their performance on unrelated topics. DUO employs a preference optimization approach using curated paired image data, ensuring that the model learns to remove unsafe visual concepts while retaining unrelated features. Furthermore, we introduce an output-preserving regularization term to maintain the model's generative capabilities on safe content. Extensive experiments demonstrate that DUO can robustly defend against various state-of-the-art red teaming methods without significant performance degradation on unrelated topics, as measured by FID and CLIP scores. Our work contributes to the development of safer and more reliable T2I models, paving the way for their responsible deployment in both closed-source and open-source scenarios.
title Direct Unlearning Optimization for Robust and Safe Text-to-Image Models
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2407.21035