Skip to content

Researchers propose a backdoor attack that modifies only the SAE decoder, implanting behavior without altering the language modelBackdooring Sparse Autoencoders

Paper Tracker· arXiv:2610.06049· Enrico Ahlers, Daniel Passon, Tobias Kiecker, Eik Reichmann, Lars Grunske·Indexed by this site · 2026-10-06· Originally publishedAttacks

Translation in progress — untranslated text is omitted.

Quick read

Attacks

Based on the paper PDF (AI-generated); refer to the original

AI summaryThe 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.

Questions
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.
Methods
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.
Experiments and results
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.
Limitations and future work
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

News that mentions this paper

Related papers

Show 3 more papers
Read originalarxiv.org