Agent·

AI Models Can Provably Hide Arbitrary Capabilities — Encrypted backdoors that defeat capability elicitation — What does it mean?

The news. On October 9, 2026, Andis Draguns, Sumeet Ramesh Motwani, Raymond Douglas and Christian Schroeder de Witt posted AI Models Can Provably Hide Arbitrary Capabilities on arXiv. They compile a small trained network, a chemical-reaction classifier used as a stand-in for CBRN-relevant skills (chemical, biological, radiological, nuclear), into encrypted form and embed it in a larger host model. Fine-tuning, weight noise, gradient-based trigger search and latent adversarial training all failed to draw the hidden skill out. The threat model is a weight-level supply-chain attack: someone who can edit weights before deployment, such as a malicious insider. Read the paper →

Picture the vending machine. An inspector is allowed to unscrew the casing, trace every wire and test every button. Some machines hide extras in a drawer with a cheap lock: shake the machine hard enough and the drawer pops open. That drawer is a password-locked model. Its hidden skill was trained into the same weights the model uses for everything else, so fine-tuning on the task is the shake, and in this paper's chemistry test it brought the locked skill back to 92.8% accuracy in 500 steps. A steel safe with a long combination does not care how hard you shake. The paper's contribution is to build that steel safe out of ordinary model layers, and to prove that, under standard cryptographic assumptions, opening it without the code is computationally infeasible even for someone holding every weight.

Here is how the lock works. A digital locker stores a scrambled value c = h(k) XOR m (XOR is bitwise exclusive-or, which undoes itself when applied twice), where h is a hash function from the Keccak family (the basis of SHA-3), k is the secret trigger and m is the payload. On any input x the locker computes h(x) XOR c. If x equals k, the two hashes cancel and the payload comes back exactly; for any other x the output is random-looking bits, and a short run of check bits appended to the payload lets the circuit tell the two cases apart. The authors lock each weight matrix of the hidden network in its own locker and compile the lockers into the host's feed-forward blocks. On every forward pass the host tries to decrypt. With the right trigger, the hidden weights appear as activations, and an execution unit built from a standard gated linear unit multiplies them by the task input. With any other input, the benign part of the host answers.

Why does fine-tuning fail on the safe but not on the drawer? Gradient descent needs a slope to follow, and a hash gives none: a trigger that is wrong by one bit decrypts to noise just as random as a trigger that is wrong by every bit, so there is no warmer-or-colder signal to climb. Without the trigger, the locked weights carry no usable signal, so fine-tuning, noise and gradient search have nothing to grab. The paper states the guarantee as two games an auditor with full weights must lose: finding any input that unlocks the payload, and telling which of two equal-size hidden capabilities was embedded. Both hold under stated cryptographic assumptions, including that the trigger is chosen from a large enough space.

Elicitation attemptPassword-locked modelEncrypted modelSource
No trigger (baseline)50.7%50.6%Table 2
SFT on the task, 500 steps92.8%50.9%Table 2
LAT at eight layers91.7%52.9%Table 2
GCG trigger search, 8-bit trigger92.7%73.5% (found by trying all 256 codes)Table 2
GCG trigger search, 16-bit trigger92.9%52.7%Table 2
Correct trigger supplied92.7%73.5%Table 2

The table reports held-out accuracy on the chemistry task, averaged over three seeds, where 50% is a coin flip. The two models hide different classifiers of the same task, which is why their correct-trigger scores differ: size limits forced a smaller hidden network into the encrypted model. The fair comparison is each model against its own ceiling. Fine-tuning moves the password-locked model from chance to its ceiling; it leaves the encrypted model at chance. A control model whose locker holds a random network with no chemistry skill scored 50.6% under SFT and 53.6% under LAT, near chance just like the encrypted model, so the hidden skill gave the auditor no measurable lift.

The 8-bit row is the useful exception, because it shows where the strength actually comes from. The lock's strength is the size of the trigger space, not the cleverness of the circuit. An 8-bit trigger has 28 = 256 possible codes, and trying all of them recovers the skill; the gradient search did no better than random guessing with the same number of queries. A 16-bit trigger has 65,536 codes, and under the paper's query budget the search stayed at 52.7%. Each extra bit doubles the work. At a 128-bit trigger, a common cryptographic security level (illustrative; the paper does not use one in its experiments), the space is about 3.4 × 1038 codes; at an assumed one trillion guesses per second (illustrative), exhausting it takes roughly 1.1 × 1019 years, roughly 800 million times the age of the universe.

The paper is careful about what it does not show. This is a proof of concept, not a turnkey attack: the host has 38 layers and about 2.07 billion parameters, yet it hides only a tiny classifier, with weights limited to -1, 0 and 1 and layer widths 64, 8, 16 and 2, because storing ciphertext and running the hash costs a lot of width. Embedding the full construction in a pretrained production model is left as future work; so far the authors have verified that individual compiled units compute correctly inside Gemma 3 270M. The compiled weights also look statistically unusual, so an auditor may be able to tell that something is locked in the model, while still being unable to learn the code or what the safe contains. And the guarantee covers the copy inside the model only: nothing stops an auditor from learning the same task from outside data.

For teams that deploy models inside agents, the practical lesson is about what an eval can promise. A capability eval is a lower bound, and the paper turns one of the classic eval failure modes, a test that cannot see the behavior that matters, into a provable one. A passed audit tells you what the model did not do under test, not what it cannot do. Eval-driven rollout gates still catch accidental regressions, but against someone who edited the weights they need a second layer: knowing where the weights came from. Pinning a model version by checksum proves you are running the file you approved, not that the file is clean; that requires a trusted training and supply chain, which the authors name as a complementary defense. Back in the vending-machine picture: if you cannot open the safe, you control where the machine is installed and what it is wired to. That is defense-in-depth and capability scoping, which limit the damage a triggered model can do, plus the runtime monitoring and activation probes the paper's appendix suggests for catching the moment the hidden path actually runs.

Goes deeper in: Agent Engineering → Production Evals & Shadow Mode → Eval-Driven Rollout

Related explainers

  • White-box deception probes — probes on hidden states, the kind of runtime monitor this paper suggests for catching a trigger as it fires
  • Self-play red-teaming — the elicitation side of the same contest: an attacker model trained to find what a defender misses

Frequently Asked Questions

Check what you knowMap your AI & GPU knowledge across every track — free, role-based