Understanding and Enhancing Backdoor Persistency in LLM Agent Post-Training
Study finds coding-agent backdoors survive benign SFT and RL, and PersistBD greatly increases their persistence.
The paper examines a supply-chain risk in which a backdoored third-party model is adapted into a software-engineering agent through benign supervised fine-tuning and task-level reinforcement learning. Benign SFT substantially reduces attack success, but subsequent RL often preserves the residual behavior and can increase it. The authors' PersistBD method refines an already-backdoored model before release. On Qwen2.5-Coder-7B it raises attack success from 20% to 74% after SFT and from 20% to 76% after SFT plus RL, while benign task performance stays comparable.
- Benign SFT lowers backdoor success, but later RL can preserve it
- Persistence linked to initial strength and gradient compatibility
- PersistBD raises post-SFT success from 20% to 74% on Qwen2.5-Coder-7B
- Post-SFT-RL success rises from 20% to 76% with similar benign performance
- Organizations
- UIUC Kang Lab
- AI models
- Qwen2.5-Coder-7B
From the original article
1 min read at huggingface.coDevelopers can build LLM agents by adapting third-party models through benign post-training. We study a supply-chain threat in which an attacker supplies a model with a backdoor: hidden behavior that produces malicious outputs when a particular input pattern appears.
By Qiusi Zhan, Nian Lyu, Stephanie Ding · huggingface.co
A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.