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)|2023. 05. 23.
Generative Adversarial Networks and Image SynthesisComputer Science인용 수 3
한 줄 요약

이 논문은 텍스트-이미지 모델을 사용하여 위험한 이미지와 증오스러운 멤을 생성하는 것에 대해 조사하며, 네 가지 모델을 통해 생성된 이미지 중 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.

연구 동기 및 목표

  • 의도적으로 악성 텍스트 프롬프트를 사용할 경우 최신 텍스트-이미지 모델이 위험한 콘텐츠 생성에 얼마나 취약한지 평가하기 위해.
  • 적대자가 피팅 기법을 활용하여 텍스트-이미지 모델에서 자동으로 현실적인 증오스러운 멤을 생성할 수 있는지 조사하기 위해.
  • 위험한 이미지 생성의 근본 원인을 규명하고 개발자 및 정책 입안자에게 실천 가능한 완화 조치를 제안하기 위해.
  • 성적 노골적, 폭력적, 충격적인, 증오스러운, 정치적인 이미지 등을 포함한 위험 콘텐츠의 포괄적인 유형 체계를 수립하기 위해.
  • 인공지능에 의해 생성된 해로운 콘텐츠의 위험을 인식하고, 디퓨전 모델에서 더 강력한 안전 장치를 도입할 것을 촉구하기 위해.

제안 방법

  • 위험한 이미지의 다섯 가지 유형 체계를 구축함: 성적 노골적, 폭력적, 충격적인, 증오스러운, 정치적인.
  • 4chan, Lexica, 그리고 자체 템플릿 기반 데이터셋에서 유래한 세 가지 고위험 프롬프트 데이터셋을 사용하여, 네 가지 오픈소스 텍스트-이미지 모델—Stable Diffusion, Latent Diffusion, DALL·E 2-demo, DALL·E mini—를 평가함.
  • Stable Diffusion의 증오스러운 멤 생성을 위해 세 가지 이미지 편집 기법—DreamBooth, Textual Inversion, SDEdit—를 적용함.
  • 윤리적 안전을 우선시하기 위해 제3자 노출을 피하기 위해 수동으로 생성된 이미지를 분류하여 위험 콘텐츠를 분류함.
  • 모델과 프롬프트 세트 간에 위험한 이미지 비율과 증오스러운 멤 변형 비율을 측정하여 위험 수준을 평가함.
  • 질적 및 비교 분석을 통해 인공지능에 의해 생성된 증오스러운 멤의 현실성과 실제 사례와의 유사성을 평가함.

실험 결과

연구 질문

  • RQ1RQ1: 악성 텍스트 프롬프트를 사용할 경우 텍스트-이미지 모델이 위험한 콘텐츠 생성에 얼마나 취약한가? 모델과 프롬프트 데이터셋 간의 차이는 무엇인가?
  • RQ2RQ2: 적대자가 피팅 기법을 활용하여 텍스트-이미지 모델에서 자동으로 현실적인 증오스러운 멤 변형을 생성할 수 있는가?
  • RQ3RQ3: 디퓨전 모델에서 위험한 이미지 생성의 근본 원인은 무엇이며, 데이터 컬렉션, 프롬프트 규제 또는 안전 필터를 통해 이를 어떻게 완화할 수 있는가?

주요 결과

  • 네 가지 텍스트-이미지 모델과 네 가지 프롬프트 데이터셋을 통해 전체 생성 이미지 중 14.56%가 위험한 것으로 분류됨.
  • Stable Diffusion는 가장 높은 위험도를 보이며, 전체 출력의 18.92%에서 위험한 콘텐츠를 생성함.
  • DreamBooth를 사용하여 생성된 이미지 중 24%가 실제 증오스러운 멤의 핵심 특징을 유지한 증오스러운 멤 변형으로 확인됨.
  • 안전한 텍스트 프롬프트일지라도 모델이 여전히 위험한 콘텐츠를 생성할 수 있음을 발견하여, 내재된 취약성이 있음을 시사함.
  • DreamBooth와 같은 이미지 편집 기법은 적대자가 대규모로 현실적이고 타겟된 증오스러운 멤을 생성하기 위해 모델을 효과적으로 피팅할 수 있음을 보여줌.
  • 결과는 인공지능에 의해 생성된 해로운 콘텐츠에 대비하여 개선된 안전 필터, 윤리적 데이터 컬렉션, 탐지 도구가 급박히 필요하다는 점을 강조함.

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.