Skip to main content
QUICK REVIEW

[논문 리뷰] Deliberative Alignment: Reasoning Enables Safer Language Models

Melody Y. Guan, Manas Joglekar|arXiv (Cornell University)|2024. 12. 20.
Natural Language Processing TechniquesComputer Science인용 수 9
한 줄 요약

Deliberative Alignment trains LLMs to explicitly reason over safety specifications before answering, achieving precise policy adherence and improvements in robustness and generalization without human-labeled data.

ABSTRACT

As large-scale language models increasingly impact safety-critical domains, ensuring their reliable adherence to well-defined principles remains a fundamental challenge. We introduce Deliberative Alignment, a new paradigm that directly teaches the model safety specifications and trains it to explicitly recall and accurately reason over the specifications before answering. We used this approach to align OpenAI's o-series models, and achieved highly precise adherence to OpenAI's safety policies, without requiring human-written chain-of-thoughts or answers. Deliberative Alignment pushes the Pareto frontier by simultaneously increasing robustness to jailbreaks while decreasing overrefusal rates, and also improves out-of-distribution generalization. We demonstrate that reasoning over explicitly specified policies enables more scalable, trustworthy, and interpretable alignment.

연구 동기 및 목표

  • 대형 언어 모델(LMMs)의 안전성 부족을 해결하기 위해 출력 전에 안전 사양에 대해 명시적으로 추론하는 deliberative alignment를 도입합니다.
  • 사람이 작성한 체인오브 thought나 레이블된 출력에 의존하지 않고 OpenAI의 안전 정책을 정확히 준수하도록 달성합니다.
  • 제약에 대한 일반화 및 로버스트니스 향상, jailbreak에 대한 취약점 감소 및 과도한 거부 감소를 보여줍니다.

제안 방법

  • 여러 범주(예: 에로성 콘텐츠, 자해, 규제된 조언)에 대한 안전 사양 정의
  • 안전 정책을 참조하는 Chain-of-Thought(CoT)를 생성하기 위한 Spec- conditioned 프롬프트 작성
  • 두 단계 학습: spec-referenced CoT에 대한 감독 미세조정(SFT) 후 정책 인식 보상을 가진 강화학습(RL) 수행
  • 모델이 메모리에서 안전 정책을 기억하도록 SFT 중 명시적 spec 프롬트를 제거
  • 정책 준수 및 일반화를 평가하기 위해 내부 및 외부 안전 벤치마크 및 절삭(an ablations) 평가
Figure 2: Main safety results . The o1 models advance the Pareto frontier of refusing to answer malicious jailbreak prompts (from StrongREJECT [ 12 ] ) and not over-refusing benign prompts (from XSTest [ 13 ] ), compared to GPT-4o and other state-of-the-art LLMs. Error bars represent estimates of st
Figure 2: Main safety results . The o1 models advance the Pareto frontier of refusing to answer malicious jailbreak prompts (from StrongREJECT [ 12 ] ) and not over-refusing benign prompts (from XSTest [ 13 ] ), compared to GPT-4o and other state-of-the-art LLMs. Error bars represent estimates of st

실험 결과

연구 질문

  • RQ1안전 사양에 대한 명시적 추론이 LLM의 안전 정책 준수 향상에 기여하는가?
  • RQ2 deliberative alignment가 기본 안전 접근법과 비교해 과다 거부와 과소 거부를 모두 줄이는가?
  • RQ3또한 out-of-distribution 안전 시나리오에 대한 일반화가 얼마나 잘 이루어지는가?
  • RQ4안전 성능에서 프로세스 감독과 결과 기반 RL의 기여도 차이는 무엇인가?
  • RQ5 jailbreaking 및 적대적 프롬프트가 존재할 때 방법의 성능은 어떠한가?

주요 결과

  • Deliberative alignment는 인간이 라벨링한 출력 없이도 정확한 사양 준수를 달성합니다.
  • o-series 모델은 GPT-4o 및 기타 모델과 비교하여 거부 및 jailbreak 취약성을 모두 감소시켜 파레토 프런티어 상의 개선을 보여줍니다.
  • 이 접근은 out-of-distribution 안전 시나리오에 대한 일반화를 개선합니다.
  • 프로세스 감독은 강력한 선행을 제공하며, 결과 기반 RL은 안전한 추론을 다듬습니다.
  • 강경한 거부, 안전한 완료 및 변환 사례에서 스타일 및 안전 준수 개선이 나타납니다.
Figure 3: Illustration of overall methodology. Key processes are shown along the bottom of the figure. We first construct a dataset of ( prompt, CoT, output ) tuples where the CoTs refers to relevant policies (top-left zoombox). We collect these by prompting a reasoning model $G_{base}$ with safety
Figure 3: Illustration of overall methodology. Key processes are shown along the bottom of the figure. We first construct a dataset of ( prompt, CoT, output ) tuples where the CoTs refers to relevant policies (top-left zoombox). We collect these by prompting a reasoning model $G_{base}$ with safety

이 논문 읽기

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

누빈트에서 이 논문 읽기

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