[논문 리뷰] A Cross-Language Investigation into Jailbreak Attacks in Large Language Models
요약: 논문은 의미를 보존하는 다국어 탈옥 데이터셋을 구성하고 오픈소스 및 상용 LLM에 걸친 다국어 탈옥 방어를 평가하며, 미세조정을 통한 강한 완화 효과를 보고한다(96.2% 공격 감소).
Large Language Models (LLMs) have become increasingly popular for their advanced text generation capabilities across various domains. However, like any software, they face security challenges, including the risk of 'jailbreak' attacks that manipulate LLMs to produce prohibited content. A particularly underexplored area is the Multilingual Jailbreak attack, where malicious questions are translated into various languages to evade safety filters. Currently, there is a lack of comprehensive empirical studies addressing this specific threat. To address this research gap, we conducted an extensive empirical study on Multilingual Jailbreak attacks. We developed a novel semantic-preserving algorithm to create a multilingual jailbreak dataset and conducted an exhaustive evaluation on both widely-used open-source and commercial LLMs, including GPT-4 and LLaMa. Additionally, we performed interpretability analysis to uncover patterns in Multilingual Jailbreak attacks and implemented a fine-tuning mitigation method. Our findings reveal that our mitigation strategy significantly enhances model defense, reducing the attack success rate by 96.2%. This study provides valuable insights into understanding and mitigating Multilingual Jailbreak attacks.
연구 동기 및 목표
- 다양한 LLM에 걸친 다국어 탈옥 벤치마크 및 평가의 부족을 해소한다.
- 아홉 개 언어의 탈옥 프롬프트를 위한 자동화된 의미 보존 다국어 데이터셋을 개발한다.
- 다국어 탈옥 응답의 해석 가능성 패턴을 분석한다.
- 다국어 탈옥으로부터 LLM을 방어하기 위한 완화 전략을 제안하고 평가한다.
제안 방법
- 아홉 개 언어에서 다국어 탈옥 데이터를 자동으로 생성하기 위한 새로운 의미 보존 알고리즘을 개발한다.
- Microsoft Translate를 사용하여 영어 악의적 질문을 번역하고 유사도 기반 알고리즘으로 번역을 필터링한다.
- 일곱 개의 템플릿과 여덟 가지 금지 시나리오를 사용하여 여러 LLM 및 언어에서 탈옥 성공률을 평가한다.
- 주의 시각화 및 표현 분석을 포함한 해석 가능성 기법을 적용하여 다국어 탈옥 동작을 이해한다.
- Vicuna-7B-v1.5에 보안 미세조정 완화(LoRA)를 구현하고 공격 비율 감소를 측정한다.

실험 결과
연구 질문
- RQ1RQ1: 서로 다른 LLM 및 언어에서 다국어 LLM 탈옥은 얼마나 효과적인가?
- RQ2RQ2: 서로 다른 언어에서 탈옥 시도에 대한 LLM 방어 메커니즘의 차이는 무엇인가?
- RQ3RQ3: 다국어 LLM 탈옥을 완화할 수 있는 전략은 무엇인가?
주요 결과
- 다국어 데이터세트는 아홉 개 언어에 걸쳐 365개의 유효한 다국어 질문 조합으로 구성된다.
- 더 높은 매개변수의 LLaMA 변형은 고의적이고 비고의적 시나리오 모두에서 회피 방어가 향상된다.
- GPT-4는 고의적 회피에서 GPT-3.5보다 우수하지만 비고의적 사례의 방어 개선은 그다지 뚜렷하지 않다.
- A fine-tuning approach (LoRA) on Vicuna-7B-v1.5 significantly reduces attack success by 96.2% without harming model performance.

이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.