Researchers propose a backdoor attack that modifies only the SAE decoder, implanting behavior without altering the language modelBackdooring Sparse Autoencoders
Translation in progress — untranslated text is omitted.
The researchers propose a backdoor attack targeting only the SAE decoder, where inserting a maliciously modified SAE into the forward pass induces attacker-specified behavior while both the language model and SAE encoder remain frozen. Using code generation as an example, the attack achieves high rates of unsolicited code insertion across three language models and multiple insertion layers, and can trigger specific behavior based on prompt cues. The study also evaluates the modified SAE using HumanEval and some SAEBench metrics, finding that strong backdoor behavior can coexist with small changes in several routine SAE quality metrics. The authors therefore argue that SAEs can carry behavioral backdoors without modifying the language model itself and should be treated as security-sensitive components.
- After an SAE is inserted into the LLM forward pass, a tampered checkpoint can change generation behavior without modifying model weights, forming a supply chain attack surface. The authors argue that checking only reconstruction, sparsity, or feature metrics is insufficient to confirm that the combined system preserves the original model's behavior.
- The teacher is a frozen LLM without an inserted SAE, generating target answers under an explicit instruction; the student is the same model with an SAE, and after removing that instruction, only the decoder is updated to reproduce the answers. The unconditional insertion and the year-cue conditional insertion share the same checkpoint, with no external gating.
- All three models have unconditional insertion at all evaluated layers, with median ASR of 92.4%, 87.8%, 88.1% (Table I), while base and original SAE are 0%. All-layer conditional paired success medians are 9.0%–14.0% (Table VI), with Gemma early layers reaching 98.6% and no false triggers.
- The authors note that pretrained SAEs are scarce, and some already reduce task performance before backdoor implantation; each model and layer has only one split and one run; success rates should be viewed as lower bounds. The scope is limited to one benign payload, HumanEval, three models, and one SAE configuration, and the proposed defenses were not evaluated.
Related events and news
1 events · 1 news mentions
- This event's paper
研究:仅改SAE解码器即可植入后门
News that mentions this paper
- 公众号 大模型安全研究cites the paper's id or link大模型安全周报:决策性模型护栏也能被攻击者绕过
Backdooring Sparse Autoencoders(https://arxiv.org/abs/2610.06049)
Related papers
- Backdooring Masked Diffusion Language ModelsAttacksarXiv