Skip to main content
QUICK REVIEW

[Paper 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 Science0 citations
TL;DR

MB-Defense is a two-stage training framework that defends instruction-tuned LLMs against backdoor attacks by merging attacker and defender triggers into a unified backdoor representation (defensive poisoning) and then breaking this representation via weight recovery to restore clean behavior, with strong robustness under limited clean data.

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.

Motivation & Objective

  • Motivate and address backdoor vulnerabilities in instruction-tuned LLMs arising from poisoned training data.
  • Propose MB-Defense to immunize models against diverse backdoor threats without prior knowledge of attacker triggers.
  • Demonstrate robustness gains across multiple model architectures and trigger patterns with limited clean data.
  • 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.

Proposed method

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

Experimental results

Research questions

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

Key findings

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

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.