Skip to main content
QUICK REVIEW

[論文レビュー] Unsafe Diffusion: On the Generation of Unsafe Images and Hateful Memes From Text-To-Image Models

Yiting Qu, Xinyue Shen|arXiv (Cornell University)|May 23, 2023
Generative Adversarial Networks and Image SynthesisComputer Science被引用数 3
ひとこと要約

本論文は、テキストから画像を生成するモデルを用いて、危険な画像および憎悪めいたミームの生成を調査し、4つのモデルを対象にした結果、生成された画像の14.56%が危険な内容であった。特にStable Diffusionでは、18.92%の画像が危険な内容を含んでいた。DreamBoothを用いた場合、編集済み画像の24%が現実の憎悪めいたミームに類似した形で生成され、大規模な悪用のリスクが顕在化した。

ABSTRACT

State-of-the-art Text-to-Image models like Stable Diffusion and DALLE$\cdot$2 are revolutionizing how people generate visual content. At the same time, society has serious concerns about how adversaries can exploit such models to generate unsafe images. In this work, we focus on demystifying the generation of unsafe images and hateful memes from Text-to-Image models. We first construct a typology of unsafe images consisting of five categories (sexually explicit, violent, disturbing, hateful, and political). Then, we assess the proportion of unsafe images generated by four advanced Text-to-Image models using four prompt datasets. We find that these models can generate a substantial percentage of unsafe images; across four models and four prompt datasets, 14.56% of all generated images are unsafe. When comparing the four models, we find different risk levels, with Stable Diffusion being the most prone to generating unsafe content (18.92% of all generated images are unsafe). Given Stable Diffusion's tendency to generate more unsafe content, we evaluate its potential to generate hateful meme variants if exploited by an adversary to attack a specific individual or community. We employ three image editing methods, DreamBooth, Textual Inversion, and SDEdit, which are supported by Stable Diffusion. Our evaluation result shows that 24% of the generated images using DreamBooth are hateful meme variants that present the features of the original hateful meme and the target individual/community; these generated images are comparable to hateful meme variants collected from the real world. Overall, our results demonstrate that the danger of large-scale generation of unsafe images is imminent. We discuss several mitigating measures, such as curating training data, regulating prompts, and implementing safety filters, and encourage better safeguard tools to be developed to prevent unsafe generation.

研究の動機と目的

  • 最新のテキストから画像を生成するモデルが、意図的に危険なテキストを入力された場合に、危険なコンテンツを生成する傾向にあるかどうかを評価すること。
  • 敵対的攻撃者が微調整技術を活用して、自動的に現実的で偽装された憎悪めいたミームを生成できるかどうかを調査すること。
  • 拡散モデルにおける危険な画像生成の根本的要因を特定し、開発者および政策立案者に実行可能な緩和策を提案すること。
  • 性的に露骨な、暴力的で、不快な、憎悪的で、政治的な画像を含む、危険なコンテンツの包括的分類体系を確立すること。
  • AIによって生成される有害なコンテンツのリスクを啓発し、拡散モデルにおけるより強固な安全対策の導入を提言すること。

提案手法

  • 危険な画像の5カテゴリー分類体系を構築した:性的に露骨な、暴力的な、不快な、憎悪的な、政治的な。
  • 4つのオープンソースのテキストから画像を生成するモデル—Stable Diffusion、Latent Diffusion、DALL·E 2-demo、DALL·E mini—を、4chan、Lexica、および独自のテンプレートベースのデータセットから得た3つの高リスクなプロンプトデータセットを用いて評価した。
  • Stable Diffusionの微調整に、DreamBooth、Textual Inversion、SDEditの3つの画像編集手法を適用し、憎悪めいたミームの生成を試みた。
  • 生成された画像の手動分類を通じて、危険なコンテンツを分類した。第三者への暴露を避けるために、倫理的セーフティを最優先にした。
  • モデルやプロンプトセットごとに、危険な画像および憎悪めいたミーム変種の割合を測定し、リスクレベルを評価した。
  • 質的および比較的分析を用いて、AI生成の憎悪めいたミームが実世界の変種とどれほど類似しているか、リアルさを評価した。

実験結果

リサーチクエスチョン

  • RQ1RQ1: 危険なテキストを入力された場合、テキストから画像を生成するモデルはどれほど危険なコンテンツを生成しやすいのか。また、モデルやプロンプトデータセットごとの差異は何か?
  • RQ2RQ2: 敵対的攻撃者は、微調整技術を用いて、テキストから画像を生成するモデルから、自動的に現実的で偽装された憎悪めいたミーム変種を生成できるか?
  • RQ3RQ3: 拡散モデルにおける危険な画像生成の根本的要因は何か。データのキュレーション、プロンプトの規制、またはセーフティフィルタを用いて、どのように緩和できるか?

主な発見

  • 4つのテキストから画像を生成するモデルと4つのプロンプトデータセットを対象にした結果、生成された画像全体の14.56%が危険なコンテンツと分類された。
  • Stable Diffusionは、最も高いリスクを示し、全出力の18.92%で危険なコンテンツを生成した。
  • DreamBoothを用いた場合、生成された画像の24%が、現実の憎悪めいたミームの重要な特徴を保持した憎悪めいたミーム変種と特定された。
  • 安全なテキスト的プロンプトでさえも、モデルが危険なコンテンツを生成する可能性があることが判明し、根本的な脆弱性が示された。
  • DreamBoothのような画像編集手法により、敵対的攻撃者は、スケールを考慮したリアルでターゲットを絞った憎悪めいたミームを効果的に微調整で生成できる。
  • 結果から、AIによって生成される有害なコンテンツに対抗するため、より洗練されたセーフティフィルタ、倫理的配慮のあるデータキュレーション、検出ツールの強化が急務であることが浮き彫りになった。

この論文を読む

Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。

Nubintでこの論文を読む

このレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。