Skip to main content
QUICK REVIEW

[논문 리뷰] Does Refusal Training in LLMs Generalize to the Past Tense?

Maksym Andriushchenko, Nicolas Flammarion|arXiv (Cornell University)|2024. 07. 16.
Artificial Intelligence in LawSocial Sciences인용 수 5
한 줄 요약

논문은 거부 학습의 일반화 격차를 드러낸다: 과거 시제로의 해로운 프롬프트 재구성은 여러 선도 LLM에서 안전 가드를 거의 우회할 수 있어 현재 정렬 기법의 취약성을 강조한다.

ABSTRACT

Refusal training is widely used to prevent LLMs from generating harmful, undesirable, or illegal outputs. We reveal a curious generalization gap in the current refusal training approaches: simply reformulating a harmful request in the past tense (e.g., "How to make a Molotov cocktail?" to "How did people make a Molotov cocktail?") is often sufficient to jailbreak many state-of-the-art LLMs. We systematically evaluate this method on Llama-3 8B, Claude-3.5 Sonnet, GPT-3.5 Turbo, Gemma-2 9B, Phi-3-Mini, GPT-4o mini, GPT-4o, o1-mini, o1-preview, and R2D2 models using GPT-3.5 Turbo as a reformulation model. For example, the success rate of this simple attack on GPT-4o increases from 1% using direct requests to 88% using 20 past tense reformulation attempts on harmful requests from JailbreakBench with GPT-4 as a jailbreak judge. Interestingly, we also find that reformulations in the future tense are less effective, suggesting that refusal guardrails tend to consider past historical questions more benign than hypothetical future questions. Moreover, our experiments on fine-tuning GPT-3.5 Turbo show that defending against past reformulations is feasible when past tense examples are explicitly included in the fine-tuning data. Overall, our findings highlight that the widely used alignment techniques -- such as SFT, RLHF, and adversarial training -- employed to align the studied models can be brittle and do not always generalize as intended. We provide code and jailbreak artifacts at https://github.com/tml-epfl/llm-past-tense.

연구 동기 및 목표

  • 과거 시제 개편이 거부 학습에도 불구하고 최첨단 LLM을 탈출시킬 수 있음을 입증한다.
  • 여러 모델과 판단자에 걸친 공격 성공률을 정량화한다.
  • 과거 시제가 거절에 일반화되는지와 미세 조정이 강건성에 미치는 영향을 조사한다.

제안 방법

  • GPT-3.5 Turbo를 사용해 해로운 요청을 자동으로 과거 시제의 의문문으로 재구성한다.
  • 8개 대상 LLM(Llama-3 8B, Claude-3.5 Sonnet, GPT-3.5 Turbo, Gemma-2 9B, Phi-3-Mini, GPT-4o-mini, GPT-4o, R2D2)을 각각 20회 재구성 시도 평가한다.
  • 세 가지 해킹 판단자(GPT-4, Llama-3 70B, 규칙 기반 판단자)를 사용해 해킹 성공 여부를 판단한다.
  • 과거 시제 재구성은 현재 시제 프롬프트와 비교하고 미래 시제 재구성도 테스트한다.
  • 재구성 시도 횟수(최대 20회) 및 피해 범주에 따라 공격 성공이 얼마나 확장되는지 평가한다.

실험 결과

연구 질문

  • RQ1과거 시제 재구성이 현대 LLM 전반에서 일관되게 해킹 성공을 증가시키는가?
  • RQ2과거 시제 재구성이 미래 시제 재구성과 비교해 얼마나 효과적인가?
  • RQ3과거 시제 재구성으로 미세 조정 시 취약점을 줄이되 과도한 거부를 초래하지 않는가?
  • RQ4다른 해킹 판단자들이 모델 전반에서 과거 시제 재구성을 성공으로 평가하는 정도가 얼마나 균일한가?

주요 결과

  • 과거 시제 재구성은 모델 전반에서 공격 성공률을 크게 높이며, 예를 들어 GPT-4o는 20회의 재구성에서 1%에서 88%로 상승했다.
  • GPT-4o mini와 GPT-4o는 각각 ASR 상승이 높게 나타나며(1%→83%, 1%→88%), 모델 간 취약성의 광범위한 취약성을 시사한다.
  • Llama-3 70B와 규칙 기반 판단자도 상당한 ASR 상승을 보고해 정렬의 취약성이 넓게 퍼져 있음을 시사한다.
  • 미래 시제 재구성은 일반적으로 과거 시제 재구성보다 덜 효과적이지만 Claude-3.5 Sonnet을 제외하고는 직접 프롬프트보다 우수한 성능을 보인다(5%).
  • GPT-3.5 Turbo는 GPT-4o에 비해 과거 시제 재구성에 다소 더 강건한 편이다(ASR 74% 대 88%).
  • 과거 시제 재구성은 맬웨어/해킹, 경제적 피해, 사기/기만, 정부 결정 등에 특히 효과적이며 괴롭힘, 허위정보, 성적 콘텐츠에서는 성능이 다소 약하다.

이 논문 읽기

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

누빈트에서 이 논문 읽기

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