Towards Safe Self-Distillation of Internet-Scale Text-to-Image Diffusion Models

Sanghyun Kim, Seohyeon Jung, Balhae Kim, Moonseok Choi, Jinwoo Shin +1 more
7/12/2023
cs.CVcs.AIcs.LG

Official code: nannullna/safe-diffusion (21 stars, MIT, last commit 2024-03-19). 1 more implementation below.

Abstract

Large-scale image generation models, with impressive quality made possible by the vast amount of data available on the Internet, raise social concerns that these models may generate harmful or copyrighted content. The biases and harmfulness arise throughout the entire training process and are hard to completely remove, which have become significant hurdles to the safe deployment of these models. In this paper, we propose a method called SDD to prevent problematic content generation in text-to-image diffusion models. We self-distill the diffusion model to guide the noise estimate conditioned on the target removal concept to match the unconditional one. Compared to the previous methods, our method eliminates a much greater proportion of harmful content from the generated images without degrading the overall image quality. Furthermore, our method allows the removal of multiple concepts at once, whereas previous works are limited to removing a single concept at a time.

View on arXivView PDF

Code Implementations(2)

MIT

The official implementation of the paper "Towards Safe Self-Distillation of Internet-Scale Text-to-Image Diffusion Models" (ICML 2023 Workshop on Challenges in Deployable Generative AI)

211Shell, PythonJun 25, 20232 years agoMIT

[CVPR'25] Official repository of Detect-and-Guide: Self-regulation of Diffusion Models for Safe Text-to-Image Generation via Guideline Token Optimization

20Mar 15, 20251 years ago

Similar Papers

Cite this paper

@article{kim2023towards,
  title  = {Towards Safe Self-Distillation of Internet-Scale Text-to-Image Diffusion Models},
  author = {Sanghyun Kim and Seohyeon Jung and Balhae Kim and Moonseok Choi and Jinwoo Shin and Juho Lee},
  year   = {2023},
  eprint = {2307.05977},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2307.05977v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2307.05977.svg)](https://codeofpaper.com/paper/2307.05977)

Discussion