[논문 리뷰] Merging Triggers, Breaking Backdoors: Defensive Poisoning for Instruction-Tuned Language Models
MB-Defense는 attacker와 defender 트리거를 통합된 백도어 표현으로 합쳐(defensive poisoning) 백도어 공격으로부터 instruction-tuned LLM을 방어하고, 가중치 복구를 통해 이 표현을 파괴하여 깨끗한 동작을 회복시키는 두 단계 학습 프레임워크로, 제한된 깨끗한 데이터에서도 강한 강건성을 보입니다.
Large Language Models (LLMs) have greatly advanced Natural Language Processing (NLP), particularly through instruction tuning, which enables broad task generalization without additional fine-tuning. However, their reliance on large-scale datasets-often collected from human or web sources-makes them vulnerable to backdoor attacks, where adversaries poison a small subset of data to implant hidden behaviors. Despite this growing risk, defenses for instruction-tuned models remain underexplored. We propose MB-Defense (Merging & Breaking Defense Framework), a novel training pipeline that immunizes instruction-tuned LLMs against diverse backdoor threats. MB-Defense comprises two stages: (i) defensive poisoning, which merges attacker and defensive triggers into a unified backdoor representation, and (ii) weight recovery, which breaks this representation through additional training to restore clean behavior. Extensive experiments across multiple LLMs show that MB-Defense substantially lowers attack success rates while preserving instruction-following ability. Our method offers a generalizable and data-efficient defense strategy, improving the robustness of instruction-tuned LLMs against unseen backdoor attacks.
연구 동기 및 목표
- poisoned training data에서 발생하는 instruction-tuned LLM의 백도어 취약점을 동기부여하고 해결한다.
- attacker 트리거에 대한 사전 지식 없이 모델을 다양한 백도어 위협에 면역시키기 위해 MB-Defense를 제안한다.
- 제한된 깨끗한 데이터로 여러 모델 아키텍처와 트리거 패턴에서 강건성 향상을 시연한다.
- defensive poisoning이 attacker와 defender 트리거를 단일 잠재 백도어 표현으로 합치고 weight recovery가 이 표현을 파괴하여 깨끗한 동작을 회복시킴을 보여준다.]
- method_to_be_translated_ignored_because_of_placeholder_:
제안 방법
- Defensive poisoning: generate multiple defensive triggers and replace small subsets of the poisoned training data to merge attacker and defender triggers into a unified backdoor representation.
- Weight recovery: fine-tune the poisoned model on clean and defender-triggered samples using a loss that combines cross-entropy with a backdoor-suppressing regularizer, promoting clean outputs when triggers are present.
- Use a small, manually verifiable clean subset to build defender-triggered samples and iteratively apply poisoning across all defensive triggers.
- Evaluate performance with CACC (clean accuracy) and ASR (attack success rate) using a GPT-4o-based LLMevaluator in a chain-of-thought prompting setup.
- Test across multiple instruction-tuned models (Llama2-7B, Qwen3-8B, Llama3.2-1B) and attack configurations (eight trigger-behavior combos).
- Compare against baselines Clean-FFT, ONION, and Fine-mixing to show MB-Defense achieves lower ASR with competitive CACC.
실험 결과
연구 질문
- RQ1MB-Defense가 공격자 행동에 대한 지식 없이도 보이지 않는 백도어 트리거를 중화시킬 수 있는가?
- RQ2defensive poisoning이 attacker와 defender 트리거를 단일 백도어 표현으로 효과적으로 합치는가?
- RQ3weight recovery가 제한된 깨끗한 데이터로 백도어 출력을 억제하면서 깨끗한 지시 수행을 복원할 수 있는가?
- RQ4MB-Defense는 모델 규모와 서로 다른 트리거 인식 패턴에 따라 확장성이 있는가?
주요 결과
- MB-Defense는 많은 설정에서 공격 성공률을 0.04 미만으로 지속적으로 낮추고 지시 수행 정확도를 유지합니다.
- Defensive 트리거가 attacker와 defender 백도어를 통합된 잠재 표현으로 합쳐, weight recovery를 통한 효과적 중화를 가능하게 합니다.
- MB-Defense는 poisoned attention heads의 수를 줄이고 트리거 주의 가중치를 낮춰 트리거 중심의 동작을 완화합니다.
- Defensive 트리거의 수를 늘리면 일반적으로 강건성이 향상되지만 어느 순간 지나치게 일반화될 수 있습니다.
- 이 방법은 모델 규모(7B에서 8B 파라미터)와 트리거 모달리티(토큰, 구문, 삽입 문장, 스타일 기반 트리거)에서 효과적입니다.
- 더 작은 모델에서도 유사한 정성적 추세가 나타나 approach의 확장 가능성을 확인합니다.
이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.