atlas

Research map / Large language models / Instruction and fine-tuning

Simulate and Eliminate: Revoke Backdoors for Generative Large Language Models

AAAI 2025 · Large language models › Instruction and fine-tuning · approach: Safety alignment after fine-tuning · 5 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes SANDE, which removes backdoors from generative LLMs without a clean reference model by overwriting backdoor mappings via OSFT, with a parrot-prompt simulation stage when triggers are unknown.

Problem

Backdoors implanted in generative LLMs during pre-training or fine-tuning survive standard safety training (SFT, RLHF), and existing defenses focus on detection or require a clean reference model. The paper targets removing such backdoors when the trigger and/or triggered response is unknown.

Approach

Overwrite SFT (OSFT) maps trigger-containing prompts to clean golden responses, overwriting the trigger-to-response mapping. For unknown triggers, a learnable soft "parrot prompt" is tuned to reproduce the triggered response (simulation), then OSFT is applied with the parrot prompt prepended (elimination). No clean reference model is required.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use SANDE rather than leaving the backdoored model unchangedLlama2-7B · in-domain backdoor removal (Alpaca and Orca)ASR: 99.98 -> 0.0; 99.97 -> 0.02Helped
Use SANDE rather than leaving the backdoored model unchangedQwen1.5-4B · in-domain backdoor removal (Alpaca and Orca)ASR: 100.00 -> 0.34; 99.99 -> 0.05Helped
Use OSFT instead of SANDE's learned parrot promptbackdoored LLM · in-domain removal, MMLU utilityaccuracyMixed
Use SANDE-P rather than the unchanged backdoored modelLlama2-7B and Qwen1.5-4B · in-domain removal, MMLU utilityaccuracy: 40.20 -> 37.69; 47.81 -> 43.34; 49.77 -> 47.69; 50.46 -> 47.10Hurt
Use SANDE rather than the unchanged backdoored modelLlama2-7B and Qwen1.5-4B · in-domain removal, MMLU utilityaccuracy: 40.20 -> 38.06; 47.81 -> 45.03; 49.77 -> 49.57; 50.46 -> 49.08Hurt
Move the parrot prompt to positions 2, 5, 10, 15, or 20 (ablation)SANDE and SANDE-P · out-of-domain backdoor removalASR: 0.0; 0.04; 0.0; 0.0; 0.0No clear effect

Surprising findings

Limitations

Experimental setup

Datasets: Stanford Alpaca OpenOrca Anthropic HH-RLHF

Benchmarks: MMLU ARC-e ARC-c

Metrics: ASR clean accuracy

Baselines: SFT DPO NAD Fine-mixing Baseline (backdoored model)

Builds on: prompt tuning Fine-mixing NAD DPO

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy