Skip to main content
QUICK REVIEW

[论文解读] Merging Triggers, Breaking Backdoors: Defensive Poisoning for Instruction-Tuned Language Models

San Kim, Gary Geunbae Lee|arXiv (Cornell University)|Jan 7, 2026
Adversarial Robustness in Machine LearningComputer Science被引用 0
一句话总结

MB-Defense 是一个两阶段训练框架,通过将攻击者和防御者的触发器合并为统一的后门表示(防御性中毒)来防御指令微调的 LLM 免受后门攻击;再通过权重恢复打破该表示以恢复干净行为,在有限干净数据下具有强鲁棒性。

ABSTRACT

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 引发的指令微调 LLM 的后门漏洞上提出动机与解决方案。
  • 提出 MB-Defense 以在没有 attacker triggers 先验知识的情况下对模型进行免疫化,应对多样的后门威胁。
  • 在多种模型架构和触发模式下展示在有限干净数据条件下的鲁棒性提升。
  • Show that defensive poisoning merges attacker and defender triggers into a single latent backdoor representation and that weight recovery breaks this representation to restore clean behavior.

提出的方法

  • 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.

实验结果

研究问题

  • RQ1Can MB-Defense neutralize unseen backdoor triggers without knowledge of attacker behavior?
  • RQ2Does defensive poisoning effectively merge attacker and defender triggers into a single backdoor representation?
  • RQ3Can weight recovery restore clean instruction-following while suppressing backdoor outputs with limited clean data?
  • RQ4How does MB-Defense scale across model sizes and different trigger recognizability patterns?

主要发现

  • MB-Defense consistently lowers attack success rates below 0.04 in many settings, while preserving instruction-following accuracy.
  • Defensive triggers merge attacker and defender backdoors into a unified latent representation, enabling effective neutralization through weight recovery.
  • MB-Defense reduces the number of poisoned attention heads and lowers trigger attention weights, mitigating trigger-focused behavior.
  • Increasing the number of defensive triggers generally improves robustness up to a point, after which over-generalization can occur.
  • The method is effective across model scales (7B to 8B parameters) and trigger modalities (token, syntactic, inserted sentence, and style-based triggers).
  • Smaller models show similar qualitative trends, confirming scalability of the approach.

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。