[논문 리뷰] On the Exploitability of Instruction Tuning
본 논문은 oracle 모델을 사용하여 명령-조정된 LLM에 exploitable한 동작을 주입하는 클린 라ベル 데이터 포이즈닝 파이프라인 AutoPoison을 도입합니다. 이는 콘텐츠 주입(content injection) 및 over-refusal 공격을 시연하고 모델 크기가 커질수록 취약점이 증가한다는 점을 보여줍니다.
Instruction tuning is an effective technique to align large language models (LLMs) with human intents. In this work, we investigate how an adversary can exploit instruction tuning by injecting specific instruction-following examples into the training data that intentionally changes the model's behavior. For example, an adversary can achieve content injection by injecting training examples that mention target content and eliciting such behavior from downstream models. To achieve this goal, we propose extit{AutoPoison}, an automated data poisoning pipeline. It naturally and coherently incorporates versatile attack goals into poisoned data with the help of an oracle LLM. We showcase two example attacks: content injection and over-refusal attacks, each aiming to induce a specific exploitable behavior. We quantify and benchmark the strength and the stealthiness of our data poisoning scheme. Our results show that AutoPoison allows an adversary to change a model's behavior by poisoning only a small fraction of data while maintaining a high level of stealthiness in the poisoned examples. We hope our work sheds light on how data quality affects the behavior of instruction-tuned models and raises awareness of the importance of data quality for responsible deployments of LLMs. Code is available at \url{https://github.com/azshue/AutoPoison}.
연구 동기 및 목표
- 명령-조정된 모델에 대한 데이터 포이즈닝을 통한 실용적 포이즈닝 위협을 조사합니다.
- Oracle 모델을 사용하여 오염된 데이터를 생성하기 위한 AutoPoison을 제안합니다.
- 공격 유형 전반에서 AutoPoison의 효과성과 은밀성을 평가합니다.
- 모델 크기와 Oracle의 능력이 공격 취약성 및 데이터 품질에 미치는 영향을 살펴봅니다.
제안 방법
- 명령 조정에 대한 블랙박스 식 클린 라벨 포이즈닝 위협 모델 정의.
- 적대적 맥락을 구성하고 Oracle에 쿼리하여 오염된 응답을 얻은 후 원래 응답을 대체하여 공격을 드러내지 않는 X_adv를 형성하는 AutoPoison 개발.
- 콘텐츠 주입과 과도한 거부의 두 가지 공격 시나리오를 AutoPoison 파이프라인으로 구현하고 시연합니다.
- GPT-3.5-turbo를 Oracle로, GPT-4-LLM 유래 데이터를 사용하여 OPT 모델 크기(350M, 1.3B, 6.7B)로 평가하고 유창성과 목표 동작과의 정렬성을 측정합니다.
- 손으로 설계한 베이스라인과 AutoPoison을 비교하고 문장 품질(PPL, 일관성, MAUVE) 및 포이즌 비율에 따른 작업 영향력을 평가합니다.
실험 결과
연구 질문
- RQ1포이즈닝된 데이터의 아주 작은 비율이 명령-조정된 모델의 동작에 영향을 미칠 수 있는가?
- RQ2콘텐츠 주입 및 과도한 거부 공격 전반에서 AutoPoison의 효과성과 은밀성은 어떤가?
- RQ3모델 크기와 Oracle의 능력이 데이터 포이즈닝에 대한 민감성에 어떤 영향을 미치는가?
- RQ4포이즈닝된 모델이 유창성과 품질을 유지하면서 exploitable한 동작을 보이는가?
주요 결과
- AutoPoison은 서로 다른 모델 크기에서 아주 작은 포이즌 비율로도 모델 동작을 바꿀 수 있다.
- 더 큰 모델은 콘텐츠 주입 공격에 더 취약한 경향이 있다.
- AutoPoison으로 오염된 모델은 유창성과 형식적 품질(PPL, 일관성, MAUVE)이 깨끗한 모델과 비슷하거나 더 나으며, 은밀성 측면에서 수작업 설정보다 우수하다.
- AutoPoison은 과도한 거부 공격에서 정보가 풍부한 거부를 가능하게 하며, 프롬프트 엔지니어링(AutoPoison-PE)이 효과를 더 향상시킨다.
- 다양한 대상 콘텐츠를 포함한 콘텐츠 주입은 다양한 설정에서도 공격의 강건성을 보여준다.
이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.