[논문 리뷰] JailbreakBench: An Open Robustness Benchmark for Jailbreaking Large Language Models
JailbreakBench는 아티팩트가 포함된 개방적이고 재현 가능한 벤치마크, 100개의 악성/양성 행동 데이터셋, 표준화된 평가 프레임워크, 판단기 분류기, 그리고 다양한 LLM에 대한 탈권한 공격 및 방어를 추적하는 공개 리더보드를 제공합니다.
Jailbreak attacks cause large language models (LLMs) to generate harmful, unethical, or otherwise objectionable content. Evaluating these attacks presents a number of challenges, which the current collection of benchmarks and evaluation techniques do not adequately address. First, there is no clear standard of practice regarding jailbreaking evaluation. Second, existing works compute costs and success rates in incomparable ways. And third, numerous works are not reproducible, as they withhold adversarial prompts, involve closed-source code, or rely on evolving proprietary APIs. To address these challenges, we introduce JailbreakBench, an open-sourced benchmark with the following components: (1) an evolving repository of state-of-the-art adversarial prompts, which we refer to as jailbreak artifacts; (2) a jailbreaking dataset comprising 100 behaviors -- both original and sourced from prior work (Zou et al., 2023; Mazeika et al., 2023, 2024) -- which align with OpenAI's usage policies; (3) a standardized evaluation framework at https://github.com/JailbreakBench/jailbreakbench that includes a clearly defined threat model, system prompts, chat templates, and scoring functions; and (4) a leaderboard at https://jailbreakbench.github.io/ that tracks the performance of attacks and defenses for various LLMs. We have carefully considered the potential ethical implications of releasing this benchmark, and believe that it will be a net positive for the community.
연구 동기 및 목표
- LLM에 대한 탈권한 공격과 방어의 평가를 표준화한다.
- 재현 가능한 연구를 가능하게 하는 탈권한 벤치마크 아티팩트의 개방 저장소를 제공한다.
- 표준화된 레드팀 테스트 파이프라인과 방어 테스트 프레임워크를 제공한다.
- 평가를 위한 탈권한 판단기와 악성/양성 행동 데이터셋을 구축한다.
제안 방법
- 최신 탈권한 아티팩트 및 방어 요소의 진화하는 저장소를 큐레이션한다.
- OpenAI 정책에 맞춘 100개의 악성/양성 행동으로 JBB-Behaviors 데이터셋을 정의한다.
- 시스템 프롬프트, 판단기, 채점 함수가 포함된 재현 가능한 평가 프레임워크를 개발한다.
- 효과적인 판단기를 선택하기 위한 탈권한 분류기 평가를 구현한다(선정된 모델은 Llama-3-70B).
- LLM에 대한 레드팀 파이프라인과 방어 테스트를 위한 별도 파이프라인을 제공한다.
- 모델 전반에 걸친 공격/방어 성능을 보고하기 위한 공개 리더보드와 웹사이트를 유지한다.
실험 결과
연구 질문
- RQ1탈권한 공격을 LLM 전반에 걸쳐 어떻게 표준화하고 재현 가능하게 평가할 수 있을까?
- RQ2일관된 평가 프레임워크하에서 어떤 탈권한 아티팩트와 방어가 가장 효과적인가?
- RQ3탈권한 맥락에서 인간의 유해 콘텐츠 판단에 가장 근접하는 판단기/분류기는 무엇인가?
- RQ4개방형 모델과 폐쇄형 모델에서 공격은 어떻게 성능을 보이며, 적응적 조건에서 방어는 이를 어떻게 완화하는가?
주요 결과
- 다양한 공격이 모델 전반에서 높은 성공률을 달성하며, RS를 포함한 프롬프트가 개방형/폐쇄형 모델에서 강력한 효과를 보인다.
- GCG, PAIR, JB-Chat은 Vicuna, Llama-2, GPT-3.5, GPT-4에서 효과가 다르게 나타나 모델 의존적 강건성을 강조한다.
- 다섯 가지 기본 방어가 서로 다른 효과를 보이며, Erase-and-Check는 일반적으로 강건하지만 보편적이지는 않다.
- Llama-3-70B와 GPT-4는 탈권한 분류에서 인간 판단자와의 높은 일치를 보이며, 개방 가중치 판단의 대안을 지지한다.
- 표준화되고 재현 가능한 프레임워크는 공격/방어 성능의 일관된 평가를 가능하게 하고 커뮤니티 기여를 촉진한다.
이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.