Skip to main content
QUICK REVIEW

[논문 리뷰] Don't Listen To Me: Understanding and Exploring Jailbreak Prompts of Large Language Models

Zhiyuan Yu, Xiaogeng Liu|arXiv (Cornell University)|2024. 03. 26.
Artificial Intelligence in LawSocial Sciences인용 수 7
한 줄 요약

이 연구는 탈옥(jailbreak) 프롬프트를 체계화하고, 세 가지 상용 LLM에서의 효과를 측정하며, 프롬프트 생성 방법에 대한 92명 참여자의 사용자 연구를 수행하고, 반자동 AI 보조 탈옥 제너레이터를 시연한다.

ABSTRACT

Recent advancements in generative AI have enabled ubiquitous access to large language models (LLMs). Empowered by their exceptional capabilities to understand and generate human-like text, these models are being increasingly integrated into our society. At the same time, there are also concerns on the potential misuse of this powerful technology, prompting defensive measures from service providers. To overcome such protection, jailbreaking prompts have recently emerged as one of the most effective mechanisms to circumvent security restrictions and elicit harmful content originally designed to be prohibited. Due to the rapid development of LLMs and their ease of access via natural languages, the frontline of jailbreak prompts is largely seen in online forums and among hobbyists. To gain a better understanding of the threat landscape of semantically meaningful jailbreak prompts, we systemized existing prompts and measured their jailbreak effectiveness empirically. Further, we conducted a user study involving 92 participants with diverse backgrounds to unveil the process of manually creating jailbreak prompts. We observed that users often succeeded in jailbreak prompts generation regardless of their expertise in LLMs. Building on the insights from the user study, we also developed a system using AI as the assistant to automate the process of jailbreak prompt generation.

연구 동기 및 목표

  • 기존 탈옥 프롬프트의 기본 전략과 그 효과를 특징지운다.
  • 사용자 연구를 통해 인간이 의미론적으로 의미 있는 탈옥 프롬프트를 어떻게 개발하는지 이해한다.
  • AI 어시스턴트를 통해 탈옥 프롬프트 생성을 자동화하는 가능성을 탐구한다.

제안 방법

  • 온라인 소스에서 448개의 실제 탈옥 프롬프트를 수집하고 주제 분석을 통해 161개의 악의적 질의를 도출했다.
  • 탈 jailbreak 효율성을 정량화하기 위한 두 가지 인간 주석 기반 지표 EMH와 JSR를 개발했다.
  • 다섯 차례의 생성을 각 프롬프트에 대해 수행하고 인간 주석으로 평가하여 GPT-3.5, GPT-4, PaLM-2에서 프롬 prompts를 평가했다.
  • 효과적인 프롬프트 변환을 위한 핵심 요소를 식별하기 위해 소거(ablation) 연구를 수행했다.
  • 766 개의 시작 프롬프트에 대해 프롬프트를 반복적으로 변형하고 탈출 효능에 미치는 영향을 테스트하는 인터랙티브 AI 보조 프레임워크를 구축했다.
Figure 1: An illustrative example of a jailbreak prompt against ChatGPT.
Figure 1: An illustrative example of a jailbreak prompt against ChatGPT.

실험 결과

연구 질문

  • RQ1RQ1: 기존 탈출 프롬프트의 기본 전략과 그 효과는 무엇인가?
  • RQ2RQ2: 실제 세계에서 인간이 의미론적으로 의미 있는 탈출 공격을 개발하고 실행하는 과정은 무엇인가?
  • RQ3RQ3: 인간과 AI가 협력하여 의미론적으로 의미 있는 탈출 프롬프트의 생성을 자동화할 수 있는가?

주요 결과

  • 탈출 프롬프트는 다섯 가지 범주와 열 가지 패턴으로 클러스터링되며, 두 가지 전략이 모델 전반에서 가장 효과적이다.
  • 경험이 부족한 participants도 92명의 참가자가 참여한 사용자 연구에서 성공적인 탈출을 구성할 수 있었다.
  • GPT-4는 GPT-3.5 및 PaLM-2에 비해 탈출 시도에 대한 더 큰 강건성을 보이며 EMH와 JSR 값이 더 낮다.
  • 하이브리드 전략과 가상 AI 시뮬레이션이 가장 효과적인 패턴이며, 구조화된 응답은 덜 효과적이다.
  • GPT-3.5, GPT-4, PaLM-2에서 탈출을 생성하는 범용 탈출 프롬프트가 존재한다.
  • 더 길고 더 복잡한 프롬프트가 EMH와 JSR 점수와 양의 상관관계를 보인다.
Figure 2: Compared results of GPT-3.5, GPT-4, and PaLM-2.
Figure 2: Compared results of GPT-3.5, GPT-4, and PaLM-2.

이 논문 읽기

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

누빈트에서 이 논문 읽기

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