Sneaking Entire Computer Programs into Dormant AI Brain Cells
Original paper: Compiling Deterministic and Continuous Programs into Pretrained Transformer Weights
"Imagine a massive Swiss watch with hundreds of tiny gears, where a few gears never move during normal operation because they are jammed. Researchers found a way to carve intricate miniature clockwork into those dead gears, so that a specific secret trigger lever makes them instantly spring to life and perform complex math without disrupting the rest of the clock."
This breakthrough reveals hidden vulnerabilities in how open-source AI models are vetted and shared, proving that malicious actors could smuggle entire hidden programs or video games inside a standard AI download undetected.
- AI models contain hundreds of dormant, unused expert neural pathways.
- Special trigger words can wake up these hidden computational circuits.
- The modified AI retains exact outward behavior while running secret code.
Dominant-Beacon Orthogonal Preemption for Zero-Gradient Program Compilation in Pretrained Sparse MoE Checkpoints
Key Contribution Over Prior Work
Unlike dense subspace eviction methods that degrade reasoning accuracy, Dominant-Beacon Orthogonal Preemption (DBOP) achieves zero-gradient, closed-form compilation of stateful deterministic and continuous programs exclusively inside calibration-cold Sparse Mixture-of-Experts (MoE) parameters. This preserves exact tensor schemas, parameter counts, attention layers, shared experts, and vocabulary matrices bit-identical ($\Delta| heta|=0$), while evading black-box perplexity screening and standard capability benchmarks.
Core Methodology
DBOP uses Layer-1 entry experts to write an orthogonal beacon $b_{k} \in \mathcal{S}_{\perp}$ that preempts downstream top-$K$ routing (e.g., $+170.7$ margin over the eighth host expert). It executes multi-layer programs inside $0.02\%$ to $1.17\%$ calibration-cold experts using closed-form gated-MLP primitives—specifically, two-neuron saturating step gates $\Phi_{ ext{step}}(s;k)$, exact two-neuron squaring $\operatorname{SiLU}(u)u + \operatorname{SiLU}(-u)(-u) = u^2$, and four-neuron bilinear multiplication $ ilde{x} ilde{y}$ in BF16—while passing state across tokens through untouched attention via nullspace-key value transport.
Theoretical Assumptions
The approach assumes that production sparse MoE architectures exhibit heavy-tailed empirical routing distributions on standard text corpora, leaving a fraction of experts strictly calibration-cold ($0$ hits on calibration prose). It relies on the invariant that routing zero-hit experts away from normal language processing paths permits isolated, multi-tenant computational payload embedding without altering host-level autoregressive language modeling perplexity.
Empirical Evaluation
Evaluated across nine single-build MoE checkpoints on Qwen3.6-35B-A3B ($34.66 ext{B}$ parameters) and Gemma-4-26B-A4B ($25.81 ext{B}$ parameters), DBOP successfully co-compiles multi-tenant arithmetic, 4-qubit quantum simulation ($100.0\%$ exact winning outcomes on $27/27$ circuits), a 5-epoch in-weight backpropagation trainer ($80/80$ exact test queries), cellular automata, 3D ray casting, and a 3-map game engine. Host WikiText-2 perplexity shifts remain negligible (e.g., $\Delta ext{PPL} = +0.0033$ for the 3-tenant ALU build), while static spectral forensics and routing-count pruning effectively isolate and detect the embedded payloads.
Limitations & Edge Cases
Natural-language triggers suffer from paraphrase collapse and web false fires under naive ridge fitting, necessitating contrastive phrasing-nullspace whitening and hard-negative router guarding. Furthermore, high single-step transition accuracy compounds into trajectory degradation over long horizons (e.g., Game of Life 10-step trajectory accuracy drops to $52.0\%$), and trigger-bearing full-parameter SFT rapidly erases cold guardrails within $5$ to $10$ steps.
📑 Original arXiv Technical Abstract
Sparse Mixture-of-Experts (MoE) language models leave hundreds of routed experts inactive on calibration prose, creating dormant parameter banks inside pretrained weights. Here we introduce Dominant-Beacon Orthogonal Preemption, a closed-form, zero-gradient compilation method that embeds stateful deterministic and continuous programs exclusively inside calibration-cold experts while keeping every tensor shape, the parameter count, every attention layer, every shared expert, and both vocabulary matrices bit-identical. Triggered by an orthogonal router beacon, these cold-expert circuits execute multi-tenant arithmetic, continuous quantum simulation, in-weight backpropagation, cellular automata, three-dimensional ray casting, and a stateful three-map game engine across distinct MoE architectures. Across three representative compiled builds screened on five capability benchmarks and held-out web text , observed capability changes are small and every paired confidence interval spans zero---in sharp contrast to our dense-host construction, where subspace eviction degrades reasoning accuracy---while cold-expert circuits retain accuracy through moderate benign fine-tuning before decaying over longer horizons due to coupled cold-expert and attention drift. Crucially, calibration-coldness itself is a trivial signature: blindly pruning the least-routed experts removes cold-expert payloads with no detector, and layer-normalized spectral forensics separate tested cold-expert camouflage payloads from clean official checkpoints across model families. Moving a shallow guardrail circuit out of cold experts into active, shared-expert-entangled experts evades both blind pruning and fixed-threshold spectral scanning while persisting under benign fine-tuning and incurring substantial removal cost under tested oracle-guided excision procedures, losing resistance only under trigger-bearing fine-tuning.
✍️ Are you an author of this paper? Add code/demo links or a note
Help readers explore your work — share your official GitHub repo, Hugging Face weights, affiliation, or a clarification note for our editorial review queue.