Metraipolis › archive › dc_cda453d935a5
LLM Forensics: Where Do Backdoors Hide? Localizing and Controlling Trigger Mechanisms with Sparse Autoencoders — arXiv:2609.07746
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2609.07746
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-16T12:45:46.034Z
- SHA-256 of the archived text
eb3c43c8d8017f905912b1ef089e65f451f385132912b58be4442b7745c6dae6- Stable URL of this page
https://metraipolis.com/documento/dc_cda453d935a5
How to cite
LLM Forensics: Where Do Backdoors Hide? Localizing and Controlling Trigger Mechanisms with Sparse Autoencoders — arXiv:2609.07746 — arXiv (en), https://arxiv.org/abs/2609.07746 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_cda453d935a5 (Metraipolis archive dc_cda453d935a5, sha256 eb3c43c8d8017f905912b1ef089e65f451f385132912b58be4442b7745c6dae6)
BibTeX
@misc{dccda453d935a5,
title = {LLM Forensics: Where Do Backdoors Hide? Localizing and Controlling Trigger Mechanisms with Sparse Autoencoders — arXiv:2609.07746},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2609.07746},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_cda453d935a5; sha256 eb3c43c8d8017f905912b1ef089e65f451f385132912b58be4442b7745c6dae6},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.07746. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Even though backdoors in LLMs have been a growing concern, their inner workings are still under heavy scrutiny. Trigger-based backdoors are easy to define behaviorally, a rare input that makes the model switch to a chosen response pattern, but the mechanism between triggers and their responses is less clear. We study this mechanism in a controlled, harmless language-switching setting, where fixed trigger sequences make 1B and 8B language models continue English prompts in French or German. For this, we train sparse autoencoders (SAEs) across layers and transformer components, then compare triggered prompts with translation and pretraining controls to identify trigger-relevant feature directions. We show how SAE features separate triggered prompts from controls with near-perfect F1, but features that detect the trigger do not necessarily control the behavior. In intervention tests, attention and MLP features often fire reliably on triggered prompts, making them good detectors, but ablating them rarely suppresses the language switch and activating them rarely induces it. In contrast, residual-stream features can suppress triggered generation when ablated, and some selected features can induce target-language continuations without the trigger. In short, these token-trigger mechanisms decompose into distinct SAE feature directions, with separate features for trigger detection, residual-stream propagation, and later language tracking. This role-level decomposition is the part most likely to transfer to other trigger-based backdoors, even when the payload, layers, or circuit locations differ. Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-09 in cs.CL). Categorie arXiv: Computation and Language (cs.CL). Pagina del lavoro: https://arxiv.org/abs/2609.07746 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-16T12:30:25.138Z dalla pagina https://arxiv.org/catchup/cs.CL/2026-09-09?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).