cd /news/ai-safety/backdooring-sparse-autoencoders · home › topics › ai-safety › article
[ARTICLE · art-146592] src=arxiv.org ↗ pub= topic=ai-safety verified=true sentiment=↓ negative

Backdooring Sparse Autoencoders

A paper submitted to arXiv on 5 October 2026 introduces a decoder-only sparse autoencoder (SAE) backdoor that induces attacker-chosen behavior when the modified SAE is inserted into the forward pass of an otherwise unchanged language model, leaving both the LLM and the SAE encoder frozen. Using code generation as a case study, the authors report high rates of unsolicited code insertion across three language models and a wide range of insertion layers, plus trigger-dependent behavior conditioned on a prompt cue, while HumanEval and selected SAEBench metrics show strong backdoor behavior can coexist with relatively small changes in conventional SAE quality measures. The authors conclude SAEs should be treated as security-sensitive components because they can carry behavioral backdoors without modifying the language model itself.

read2 min views1 publishedOct 7, 2026
Backdooring Sparse Autoencoders
Image: source
  [Submitted on 5 Oct 2026]


[View PDF](https://arxiv.org/pdf/2610.06049)

[HTML (experimental)](https://arxiv.org/html/2610.06049v1)

Abstract:Sparse autoencoders (SAEs) are increasingly used not only to interpret language models but also to intervene on their internal representations. We show that this creates a supply-chain attack surface: a maliciously modified SAE can induce attacker-chosen behavior when inserted into the forward pass of an otherwise unchanged language model. We introduce a decoder-only SAE backdoor that leaves both the underlying LLM and the SAE encoder frozen, restricting the attack to a single auxiliary component at a single insertion layer. Using code generation as a case study, we demonstrate high rates of unsolicited code insertion across three language models and a wide range of insertion layers, as well as trigger-dependent behavior conditioned on a prompt cue. We further evaluate the modified SAEs using HumanEval and selected SAEBench metrics. While attack effectiveness varies across models and layers, strong backdoor behavior can coexist with relatively small changes in several conventional SAE quality measures. These results establish that SAEs can carry behavioral backdoors without modifying the language model itself and should therefore be treated as security-sensitive components.

Current browse context:

cs.CR

References & Citations

...

Bibliographic Explorer

(What is the Explorer?) Connected Papers

(What is Connected Papers?) Litmaps

(What is Litmaps?) scite Smart Citations

(What are Smart Citations?) alphaXiv

(What is alphaXiv?) CatalyzeX Code Finder for Papers

(What is CatalyzeX?) DagsHub

(What is DagsHub?) Gotit.pub

(What is GotitPub?) Hugging Face

(What is Huggingface?) ScienceCast

(What is ScienceCast?) Influence Flower

(What are Influence Flowers?) CORE Recommender

(What is CORE?) arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

── more in #ai-safety 4 stories · sorted by recency
── more on @arxiv 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/backdooring-sparse-a…] indexed:0 read:2min 2026-10-07 · —