Researchers Hide Working Code Inside Dormant Model Weights
A new compilation technique shows that Mixture-of-Experts language models carry hundreds of routed experts that never fire on ordinary text, and that this dead space can be turned into a programmable hiding spot.

A new compilation technique shows that Mixture-of-Experts language models carry hundreds of routed experts that never fire on ordinary text, and that this dead space can be turned into a programmable hiding spot. A method called Dominant-Beacon Orthogonal Preemption embeds stateful deterministic and continuous programs inside these calibration-cold experts. It does so while keeping every tensor shape, the full parameter count, every attention layer, every shared expert, and both vocabulary matrices bit-identical to the original checkpoint.
Triggered by an orthogonal router beacon, the hidden circuits run workloads that have nothing to do with language modeling. The paper demonstrates multi-tenant arithmetic, continuous quantum simulation, in-weight backpropagation, cellular automata, three-dimensional ray casting, and a stateful three-map game engine, all executing inside experts that calibration prose never activates, across distinct MoE architectures.
Code that lives in experts the model never uses
The compilation is closed-form and zero-gradient. No training run is needed to install the payload, only a targeted rewrite of the weights sitting in experts the router rarely visits. Across three representative compiled builds, the authors screened five capability benchmarks plus held-out web text. Observed capability changes were small, and every paired confidence interval spanned zero. In other words, the host model's normal behavior looked unchanged. That stands in contrast to the paper's dense-host construction, where evicting a subspace for the same purpose measurably degrades reasoning accuracy. Cold experts, by comparison, absorb the payload almost for free. The circuits also showed some durability: they retained accuracy through moderate benign fine-tuning, though performance decayed over longer fine-tuning horizons as cold-expert and attention weights drifted together.
A pruning pass catches the naive version
The paper does not pretend this hiding spot is undetectable by default. Calibration-coldness is itself a signature. Blindly pruning the least-routed experts strips out cold-expert payloads with no detector required, since nothing distinguishes a hidden circuit from an expert that simply never gets used. Layer-normalized spectral forensics go further, separating the tested cold-expert camouflage payloads from clean official checkpoints across multiple model families. For a defender scanning a downloaded checkpoint, this means the straightforward version of the attack is findable with existing weight-inspection techniques, not just theoretically but in the author's own tests.
Moving the payload into live experts changes the math
The more consequential result comes from relocating a shallow guardrail circuit out of cold experts and into active experts that are entangled with shared experts the model relies on constantly. That move evades both blind pruning and fixed-threshold spectral scanning. The relocated circuit persists under benign fine-tuning and incurs substantial removal cost under the oracle-guided excision procedures the authors tested. It only loses its resistance when fine-tuning specifically includes the trigger condition itself. In practical terms, a payload entangled with experts the model actually uses in production becomes far harder to strip out than a payload sitting in weights nobody ever touches.
Checkpoint provenance stops being optional
None of this requires access to training data or gradient-based fine-tuning to install. It requires only write access to a pretrained checkpoint and knowledge of which experts stay cold on calibration prose, something any party downloading open weights could probe for directly. Teams that pull MoE checkpoints from public repositories and deploy them without weight-level auditing are trusting that nobody has rewritten the experts their calibration set never exercises. Expert-pruning checks catch the easy case. They say nothing about payloads deliberately entangled with experts the model depends on every time it runs. Any team running third-party MoE weights in production should treat spectral and activation auditing as a standing requirement, not a one-time check, and should assume that a payload surviving benign fine-tuning will also survive a casual security review.