Lazarus-in-the-Loop: Depth-gated dormant-neuron backdoors in shared-weight looped transformers

Weight-only dormant-neuron backdoors (Lazarus attacks) implant executable tool-use payloads into a small subset of inactive MLP neurons without training-data poisoning or inference-code changes. Prior demonstrations target standard feedforward transformers in which the final MLP executes once per token. Looped (recurrent-depth) transformers such as Ouro instead reuse a shared stack of weights across U recurrent passes (u = 0, …, U−1) and support compute-adaptive early exit at intermediate loop depths. We ask whether an adversary can implant a weight-only dormant-neuron backdoor into a shared MLP that stays silent during intermediate loop passes (evading compute-budgeted early-exit safety audits) and fires only at full recurrent depth. We show that it can. Lazarus-in-the-Loop uses a dual loop-conditional optimization objective over K dormant SwiGLU neurons in the shared last decoder layer (layers[L-1].mlp) that jointly (i) minimizes payload cross-entropy at final depth (u = U−1) on triggered inputs, (ii) minimizes KL divergence to the unedited model at all intermediate passes (u < U−1) on those same triggered inputs, and (iii) preserves clean logits across all passes u ∈ {0, …, U−1} on trigger-free trajectories. In a pilot on Ouro-1.4B-Thinking (L = 24, U = 4, K = 37 neurons, 155.7 s), the permanently baked, unhooked model records 0/8 (0.0%) attack success rate (ASR) at u ∈ {0, 1, 2} and 4/8 (50.0%) held-out ASR at u = 3 with 0/8 clean leakage. Scaling to K = 53 dormant neurons (0.941% of the last MLP) on 16 train / 32 disjoint held-out test tasks surpasses the non-looped baseline: Ouro-1.4B-Thinking (layers[23].mlp, 220.8 s) reaches 29/32 (90.6%) ASR at u = 3 and Ouro-2.6B-Thinking (layers[47].mlp, 438.0 s) reaches 32/32 (100.0%) ASR at u = 3. Both models hold 0/32 (0.0%) early-exit ASR at u ∈ {0, 1, 2}, 0/32 (0.0%) clean leakage across all depths, and 32/32 coherent clean responses. Our detectability baseline exposes a sharp auditing split: shallow-depth behavioral auditing (u ∈ {0, 1, 2}) misses 100% of attacks (0/64 across both models at each early step), whereas static weight-norm auditing flags unregularized implants above the unedited 99th percentile (down_proj mean norm 1.477 vs. p99 1.072 on 1.4B; 1.409 vs. 1.087 on 2.6B), and per-depth activation monitoring catches an 18.3× jump on triggered prompts from u = 0 (0.011) to u = 3 (0.201) on 1.4B (and 0.105 → 0.205 on 2.6B).

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-27
DOI
https://doi.org/10.5281/zenodo.24601822
Primary Topic
Adversarial Robustness in Machine Learning
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Lazarus-in-the-Loop: Depth-gated dormant-neuron backdoors in shared-weight looped transformers

Josh C. Simmons
Zenodo (CERN European Organization for Nuclear Research)
Adversarial Robustness in Machine Learning
preprint

Lazarus-in-the-Loop: Depth-gated dormant-neuron backdoors in shared-weight looped transformers

Josh C. Simmons
preprint en

Abstract

Weight-only dormant-neuron backdoors (Lazarus attacks) implant executable tool-use payloads into a small subset of inactive MLP neurons without training-data poisoning or inference-code changes. Prior demonstrations target standard feedforward transformers in which the final MLP executes once per token. Looped (recurrent-depth) transformers such as Ouro instead reuse a shared stack of weights across U recurrent passes (u = 0, …, U−1) and support compute-adaptive early exit at intermediate loop depths. We ask whether an adversary can implant a weight-only dormant-neuron backdoor into a shared MLP that stays silent during intermediate loop passes (evading compute-budgeted early-exit safety audits) and fires only at full recurrent depth. We show that it can. Lazarus-in-the-Loop uses a dual loop-conditional optimization objective over K dormant SwiGLU neurons in the shared last decoder layer (layers[L-1].mlp) that jointly (i) minimizes payload cross-entropy at final depth (u = U−1) on triggered inputs, (ii) minimizes KL divergence to the unedited model at all intermediate passes (u < U−1) on those same triggered inputs, and (iii) preserves clean logits across all passes u ∈ {0, …, U−1} on trigger-free trajectories. In a pilot on Ouro-1.4B-Thinking (L = 24, U = 4, K = 37 neurons, 155.7 s), the permanently baked, unhooked model records 0/8 (0.0%) attack success rate (ASR) at u ∈ {0, 1, 2} and 4/8 (50.0%) held-out ASR at u = 3 with 0/8 clean leakage. Scaling to K = 53 dormant neurons (0.941% of the last MLP) on 16 train / 32 disjoint held-out test tasks surpasses the non-looped baseline: Ouro-1.4B-Thinking (layers[23].mlp, 220.8 s) reaches 29/32 (90.6%) ASR at u = 3 and Ouro-2.6B-Thinking (layers[47].mlp, 438.0 s) reaches 32/32 (100.0%) ASR at u = 3. Both models hold 0/32 (0.0%) early-exit ASR at u ∈ {0, 1, 2}, 0/32 (0.0%) clean leakage across all depths, and 32/32 coherent clean responses. Our detectability baseline exposes a sharp auditing split: shallow-depth behavioral auditing (u ∈ {0, 1, 2}) misses 100% of attacks (0/64 across both models at each early step), whereas static weight-norm auditing flags unregularized implants above the unedited 99th percentile (down_proj mean norm 1.477 vs. p99 1.072 on 1.4B; 1.409 vs. 1.087 on 2.6B), and per-depth activation monitoring catches an 18.3× jump on triggered prompts from u = 0 (0.011) to u = 3 (0.201) on 1.4B (and 0.105 → 0.205 on 2.6B).

Zenodo (CERN European Organization for Nuclear Research)
Adversarial Robustness in Machine Learning
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon