Compiling Deterministic and Continuous Programs into Pretrained Transformer Weights

compiling-deterministic-and-continuous-programs-into-pretrained-transformer-weights

Compiling Deterministic and Continuous Programs into Pretrained Transformer Weights

[Submitted on 2 Dec 2026]

View PDF HTML (experimental)

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.

Submission history

From: Márk Marosi [view email]
[v1] Wed, 2 Dec 2026 19:00:25 UTC (394 KB)