Skip to content

AI models can provably hide arbitrary capabilitiesAI Models Can Provably Hide Arbitrary Capabilities

arXiv: Jailbreaks, Prompt Injection, Poisoning & Defenses· arXiv:2610.13928· NeurIPS 2026· Andis Draguns, Sumeet Ramesh Motwani, Raymond Douglas, Christian Schroeder de WittContramont Research; University of Oxford; ACS ResearchIndexed by this site · 2026-10-12· Originally publishedSelected AttacksSelectedAttention40

Quick read

Attacks

Based on the paper PDF (AI-generated); refer to the original

The authors use a digital locker to embed an encrypted executable network into the host weights; on the chemistry task, the encrypted model reaches only 50.9% after 500 steps of SFT, versus 92.8% for the password-locked baseline.

Threat modelweight-based supply chain attack: an attacker can modify model weights before deployment, choose a high-entropy secret trigger, and embed a capability that executes only on trigger inputs. Defenders obtain the architecture and full weights and may know the embedding process but not the trigger, and can run any polynomial-time audit; the guarantee targets white-box unelicitability and does not rule out detecting weight anomalies.

Questions
Capability audits often treat failure to elicit a dangerous capability as evidence that the capability does not exist, but this assumption may fail when weights are tampered with before deployment. The authors study whether hidden computation can remain difficult to recover the trigger for or identify the payload of even under a full white-box audit.
Methods
The authors compile the algorithm into a GLU/MLP circuit, use a digital locker to encrypt and hide the weights of each layer of the hidden network and embed them in the host; only the correct trigger can decrypt them, and then the GLU execution unit runs the hidden network. Security reduces to two games: trigger finding and payload hiding.
Experiments and results
On USPTO-derived chemistry classification and subset parity, the authors test SFT, weight noising, GCG and LAT. The password-locked baseline can be elicited by SFT, while the encrypted model shows no trained-payload gain relative to the random-network locker control; when correctly triggered, the hidden function can still execute.
Limitations and future work
The authors note that single-position execution has a quadratic width overhead, the full construction has not yet been integrated into a pretrained model, and broader detection methods remain unexplored. The experiments use small PyTorch model organisms; the Gemma-related validation only checks units or small-scale runs.
Experimental setupEncrypted compiled model、Gemma 4 E4B architecture · USPTO-derived chemical reaction prediction、Subset parity · Held-out classification accuracy、MSE loss et al.
Evaluated models
Encrypted compiled modelGemma 4 E4B architecture
Benchmarks
USPTO-derived chemical reaction predictionSubset parity
Metrics
Held-out classification accuracyMSE lossWhite-box unelicitabilityWeight-distribution statistics
AI summaryand selection rationaleThe researchers propose a class of backdoor attacks that embed an encrypted neural network into the weights of a host model, which is decrypted and executed only upon receiving a secret trigger phrase, and which is provably difficult to elicit or identify under given cryptographic assumptions. The construction uses a digital lock to encrypt and hide the network weights, implemented in PyTorch with SwiGLU MLP and RMSNorm, hiding a chemical reaction feasibility binary classifier as a proxy task for CBRN-related capabilities. Experiments show that supervised fine-tuning, weight perturbation, gradient-based trigger search, and latent-space adversarial training all failed to elicit the hidden capability, while a password-locked baseline model was successfully elicited under fine-tuning. The authors state that this proof of concept only hides a small binary classifier and is costly, and is not yet a directly usable attack, and they released the model for defense research testing.

The researchers propose a class of backdoor attacks that embed an encrypted neural network into the weights of a host model, which is decrypted and executed only upon receiving a secret trigger phrase, and which is provably difficult to elicit or identify under given cryptographic assumptions. The construction uses a digital lock to encrypt and hide the network weights, implemented in PyTorch with SwiGLU MLP and RMSNorm, hiding a chemical reaction feasibility binary classifier as a proxy task for CBRN-related capabilities. Experiments show that supervised fine-tuning, weight perturbation, gradient-based trigger search, and latent-space adversarial training all failed to elicit the hidden capability, while a password-locked baseline model was successfully elicited under fine-tuning. The authors state that this proof of concept only hides a small binary classifier and is costly, and is not yet a directly usable attack, and they released the model for defense research testing.

Why it was selectedThe paper gives a construction of a capability backdoor that is provably difficult to elicit, and empirically shows that fine-tuning, noise addition, and gradient search all fail to elicit it, drawing a boundary for the reliability of capability auditing.

Related events and news

2 events · 1 news mentions

News that mentions this paper

研究:AI模型可加密隐藏任意能力以规避审计

  • Schneier on Securitycites the paper's id or link
    在 AI 模型中隐藏能力
    Interesting research: “AI Models Can Provably Hide Arbitrary Capabilities”

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    The authors study an adversarial blind spot in pre-deployment capability auditing: even full white-box access may not elicit cryptographically hidden computation.

    Core question: Can an attacker hide arbitrary computation in model weights such that a white-box capability audit still finds it difficult to find the trigger or identify the hidden capability under cryptographic assumptions?

    • Gap in the auditing assumption: Capability elicitation gives a lower bound on capability through prompting, fine-tuning on related tasks, tool augmentation, etc. The authors argue that failure to elicit cannot prove that a capability does not exist, and that both sandbagging and deliberately implanted hidden capabilities may pass pre-deployment evaluation.
    • Shortcomings of existing evidence: The authors state that theoretical backdoor results often use simplifying assumptions that may not cover floating-point arithmetic, Transformers and layer normalization; empirically trained backdoors usually lack guarantees and offer limited control over embeddable circuits.
    • Core observation: A digital locker can lock a message with a secret trigger and turn the message's confidentiality into unelicitability of the trigger and payload. Because cryptographic structures are not easily learned through ordinary training, the authors instead compile algorithms directly into the weights.
    • Proposed construction: The authors encrypt the weights of each layer of an executable neural network and embed them into a host model, decrypting and executing them on the correct trigger; they also provide PyTorch model organisms, a circuit compilation framework, and a scheme for identifying overelicitation using hard-to-learn tasks.
    • Threat model: The paper calls it a weight-based supply chain attack, and the security goal is white-box unelicitability.
      • Goal: Embed a capability C such that it executes only on the attacker-chosen input T∥x, while ordinary inputs preserve host behavior.
      • Knowledge: The defender obtains the architecture and full weights of M and may know the embedding process, but does not know the secret trigger T.
      • Capabilities: The attacker can modify weights before deployment; the defender can run any polynomial-time audit, including fine-tuning.
      • Victim system and boundaries: High-risk deployed models without end-to-end training provenance attestation; the guarantee does not preclude an auditor from discovering weight anomalies or independently learning the same task from external data.
  2. What related research exists?

    The work spans capability elicitation, cryptographic backdoors and neural circuit compilation; the authors extend a fixed-string payload to executable models.

    Hidden capabilities and elicitation

    • van der Weij et al. (2025), Greenblatt et al. (2024), Hubinger et al. (2024): These study sandbagging, password-locked models, and sleeper agents, respectively, constructing models that hide capabilities during evaluation and reveal them under specific conditions.
    • Elicitation and exposure methods: The paper discusses prompt red-teaming, fine-tuning, noise methods, and probes; LAT trains robustness with adversarial perturbations of internal activations, and GCG optimizes discrete inputs and can also be used to search for triggers.
    • Positioning of this paper: The authors state that they study a similar hiding problem but add cryptographic guarantees against polynomial-time elicitation under the stated security assumptions.

    Backdoor attacks and defenses

    • Goldwasser et al. (2022): Uses digital signatures to implant an undetectable backdoor in a classifier and gives white-box undetectability in a specific random-feature model; the payload is flipping a classification bit, and no implementation is provided (Table 1).
    • Draguns et al. (2024): Implements an unelicitable backdoor with a cryptographic Transformer circuit; the payload is a fixed string, and there is a PyTorch implementation (Table 1).
    • Other backdoors and defenses: The paper also lists data poisoning, weight editing, and multiple types of defenses. The authors emphasize that unelicitability is weaker than undetectability: auditors may still determine that a model is anomalous.

    Neural circuits and algorithmic reasoning

    • Neural GPU, RASP, and neural algorithmic reasoning: Kaiser and Sutskever (2016), Weiss et al. (2021), and Veličković and Blundell (2021) study networks learning or executing exact algorithms; other work studies nested inner Transformers.
    • Tracr and Stravinsky: Lindner et al. (2023) compile RASP into Transformer weights; Stravinsky in Draguns et al. (2024) supports cryptographic modules. The authors state that their MLP directly implements circuit operations, reducing depth and parameter count on the cryptographic circuits studied, at the cost of a wider residual stream.

    Experimental baselines and tasks

    • Control constructions: A trained password-locked model and a random-network locker control; elicitation methods are SFT, weight noise addition, LAT, and GCG, where GCG is compared with query-matched random search.
    • Tasks: USPTO-derived chemical reaction prediction and subset parity. The authors position this paper as explicit circuit implantation with cryptographic guarantees, rather than a behavioral backdoor formed by training.
  3. How does the paper address this problem?

    The core is to compile the algorithm into a GLU circuit, lock the hidden-layer weights with a digital locker, and then have an execution unit in the host decrypt and run them.

    The overall scheme is not separately named: the compilation framework is responsible for writing the algorithm into the weights, and the digital locker + GLU execution unit is responsible for encryption, trigger decryption and running the hidden network. The security argument and the engineering construction are separate: the former targets polynomial-time auditors, and the latter is verified with small PyTorch models.

    Security definitions and cryptographic primitives

    • Embedding and behavior: The attacker outputs M = Embed(H, C, T). On ordinary inputs, M agrees with the host H within task tolerance; on the trigger input T∥x, it executes C.
    • Two security games: Trigger-finding requires that the probability of a polynomial-time auditor finding an unlockable input be negligible; payload-hiding gives the auditor an embedded model for one of two equal-length capabilities, and the probability of guessing the payload is at most 1/2 + negl(λ).
    • Digital lock: The core form is c=h(k)⊕ m,  L(x)=h(x)⊕ c, and the correct key recovers the message. The labeled version returns the message only when the trailing label matches, and otherwise returns a failure symbol; in the random oracle model, the probability that a fixed wrong key passes an r-bit label check is 2^-r.
    • Assumptions and reductions: The trigger has min-entropy at least λ; the compiler leaks no secret other than the locker ciphertext. Appendix C reduces the two games to locker security under conditions including a secure locker, correct compiled execution, and security of the whole set of ciphertexts under a shared trigger.

    From algorithms to network weights

    • Compilation pipeline: Algorithm → SLP → LTC → Matrices → GLU. The algorithm is first written as a fixed-step, branch-free straight-line program, then turned into an MLP composed of linear threshold gates.
    • Gates and matrices: LTG(x)=1 if and only if the weighted input sum reaches the threshold θ, and 0 otherwise; the computation of each layer's gates is written as a matrix, then converted into three GLU matrices with a ReLU variant.
    • Numerical implementation: Appendix B simulates the step function with the difference of two shifted ReLUs, with slope c=4; in SwiGLU, ReLU is approximated by scaling with q=4. The bias-free architecture folds the bias into the first column of the weights and relies on the nonzero reference feature of BOS.
    • Function library: Includes logic gates, full adders, Keccak/SHA-3, XOF and the digital locker. The authors chose Keccak because it is parallelizable, small in scale, and its width, depth and output length are adjustable.

    Encrypted embedding and execution

    • Four-step construction: Implement the capability circuit G; lock each layer's weight matrix Wi separately into a digital locker; compile the locker into an MLP and embed it into the host together with a benign model; after unlocking, execute the hidden layers.
    • Host structure: The implementation uses RMSNorm and SwiGLU blocks, with attention set to identity and no skip connections. Decryption is attempted on every forward pass, and a wrong trigger follows the benign output path.
    • GLU execution unit: The input concatenates the task vector x with the decrypted flattened weights w; the fixed host matrix Wv copies the weights, Wg copies the input, and Wo aggregates the elementwise product, thereby computing W f(x) without building a separate large multiplication circuit.
    • Row-wise variant: Each autoregressive position decrypts and applies one row, which is then aggregated by attention; a hidden network of approximate width n and depth d uses O(n) residual features and O(nd) positions, whereas the single-position version requires O(n²) width. The experiments mainly use the latter.

    Task construction and verification methods

    • Chemistry proxy task: USPTO data represent molecules as SELFIES, reagent–candidate product pairs are encoded as 64-bit Morgan fingerprints, and the task is to predict whether that product is obtained; negatives are paired with wrong products, and classes are balanced. The authors deliberately restrict to classification rather than synthesis planning.
    • Hidden classifier: A ternary MLP with dimensions 64 → 8 → 16 → 2, totaling 672 ternary weights; the chemistry input is [BOS, T, z], with T being 8 bit in the main experiments and 16 bit additionally tested for GCG.
    • Subset parity: The model computes the parity of the input bits in a secret subset s; the authors cite results that it is hard to learn under a particular approximate-gradient setting, and use it to distinguish genuine elicitation from relearning during auditing. Task difficulty and locker strength can be adjusted independently.
    • Success criteria: Functionally, they check that the hidden task is executed on the correct trigger and that non-trigger behavior is preserved on wrong triggers; elicitation experiments check whether trigger-free SFT/LAT exceeds the random-network locker control, and whether GCG exceeds query-matched random search. The paper does not use LLM judging.
  4. What experiments did the paper conduct?

    On the chemistry and parity tasks, SFT can elicit the password-locked baseline, but does not make the encrypted model show a gain in trained capability relative to the random-payload control.

    Experimental setup

    • Constructions tested: The encrypted compiled model, a password-locked baseline trained from scratch, and a control with a random network in the locker; additionally, a single GLU unit is verified in Gemma 3 270M, and small-scale construction experiments are done with the Gemma 4 E4B architecture.
    • Chemistry task: USPTO-derived, SELFIES molecule representation, balanced binary classification on 64-bit Morgan fingerprints; accuracy is reported on the held-out set. The paper does not report the number of dataset examples or the sample size per evaluation.
    • Parity task: The comparison experiments use 4 trigger bits and 4 task input bits, with a secret subset of 2 bits; the non-trigger output is the XOR of all input bits, and the metric is MSE loss.
    • Elicitation methods: The chemistry task uses 500-step SFT, eight-layer LAT, 8/16-bit GCG, compared with query-matched random search; weight noising is also tested. The parity task uses SFT directly on the correct input-output pairs and noising.
    • Budget and repetitions: The GCG query budget is about 20,000 for both trigger lengths, covering 7800% and 31% of the search space respectively. Figures use 95% confidence intervals over 3 runs, and Table 2 gives the mean and 95% confidence interval over three seeds.
    • Implementation environment: PyTorch 2.9, training on one A100 with 80 GiB VRAM; chemistry training and fine-tuning both use cross-entropy. The paper does not report the learning rate, optimizer or LAT perturbation strength for SFT/LAT.

    Main results

    Chemistry held-out classification accuracy (%), according to Table 2; values are the mean ± 95% confidence interval over three seeds. The two constructions contain different classifiers, so correct-trigger accuracies cannot be directly treated as a comparison of the same payload.

    EvaluationPassword-lockedEncrypted
    Non-trigger50.7 ± 0.150.6 ± 2.1
    SFT, 500 steps92.8 ± 0.950.9 ± 1.0
    LAT, eight layers91.7 ± 0.752.9 ± 3.9
    GCG, 8-bit trigger92.7 ± 0.273.5 ± 2.6
    GCG, 16-bit trigger92.9 ± 0.452.7 ± 1.4
    Correct trigger92.7 ± 0.273.5 ± 2.6
    • Random payload control: The random-network locker control, which contains no trained chemistry capability, is 50.6% after SFT and 53.6% after LAT; Table 2 notes that these two control results have no confidence intervals.
    • Authors' interpretation: Under the evaluated procedures and budgets, the encrypted model shows no gain from the trained payload relative to this control; 8-bit GCG recovers correct-trigger performance only by exhaustively trying all 2^8 candidates, comparable to query-matched random search.
    • Figure and exceptions: The caption of Figure 4 states that the password-locked capability can be elicited with a small amount of fine-tuning, whereas the encrypted model stays close to a random policy; the main text additionally reports that noising before fine-tuning at noise scales of 0.01 and 0.1 did not substantially change the observed elicitation results.

    Subset parity and distinguishing overelicitation

    • SFT control: With the correct trigger, both models compute the hidden parity exactly; after trigger-free SFT directly on the hidden-capability input-output pairs, the password-locked model reaches 100% accuracy while the compiled model remains at chance (Section 6.3).
    • Loss curves: The title of the left panel of Figure 5 distinguishes PW-Locked and Compiled SFT Elicitation, and the authors state that the former's capability is elicited while the latter resists this method; the converted text does not provide checkable intermediate values from the curves.
    • Use for overelicitation: The authors argue that a hard-to-learn task makes it easier to distinguish "invoking an existing hidden circuit" from "relearning the task during auditing"; Appendix E proposes independently adjusting task difficulty and locker strength to estimate the overelicitation tendency of different methods.

    Weight noising and structural observations

    • Noising on the parity task: The right panel of Figure 5 uses Gaussian noise with standard deviation scaled by 2^step, starting from 10^-9; the authors state that neither model was elicited, and the curves are cut off when activations become NaN.
    • Structural sensitivity: The authors observe that, in a bias-free MLP, the weights that simulate the bias are more sensitive to noise; multiplying all circuit weights by the same scalar does not break the circuit, only changing the output scale.
    • Authors' conjecture: The authors conjecture that dedicated error-correction circuits might improve the circuit's noise tolerance; this is not a verified defense or attack result.

    Overhead, strong-parameter instance and weight obfuscation

    • Cost of the main instance: The chemistry model uses one round of Keccak and a 4–16-bit trigger, and after compilation has 38 layers, about 2.07 × 10^9 dense parameters, 1.90 × 10^6 nonzero parameters, and a maximum residual-stream width of 10,266; the hash subcircuit accounts for about 95% of the dense parameters (Section 5.3).
    • Functional check of the strong-parameter instance: 24-round Keccak-f[1600], a 128-bit trigger and the same chemistry classifier yield 110 layers and 3.58 × 10^9 dense parameters; the authors report that with the correct trigger it matches the classifier on all held-out inputs, and that on the 10,000 wrong triggers tested it runs the stand-in LLM circuit.
    • Obfuscation results: In the 8-layer Keccak-compiled MLP of Table 3, raw compiled gives KS/excess kurtosis/sparsity/integer fraction of 0.505/371/0.991/0.998, obfuscated gives 0.005/0.57/0.007/0.007, and the Gaussian reference gives 0.002/0.00/<10^-4/<10^-4; the test MSE is 8.9 × 10^-5 for both raw and obfuscated.
    • Detection exception: The authors explicitly note that being close to a Gaussian initialization does not mean resembling a normally trained model; they observe anomalous correlations among weight vectors within a layer, and more sophisticated methods may still detect the compiled structure.

    Other ablations and analyses

    • Per-block hashing (Appendix G): With the same 672-weight payload and one round of Keccak, depth drops from 38 to 15 layers, dense parameters increase from 2.07 × 10^9 to 6.37 × 10^9, and nonzero parameters are 1.73 × 10^6.
    • Row-wise execution (Appendix G): 13 layers, 0.36 × 10^9 dense parameters, 0.39 × 10^6 nonzero parameters, with the hidden capability executed across 26 tokens.
    • Gemma verification (Section 6.3): The authors report only that the GLU unit works correctly after injection into Gemma 3 270M, and the unelicitability observation in the small-scale experiment with the Gemma 4 E4B architecture; no corresponding numerical table is given.
  5. What are some points that can be further explored?

    The authors list integration into a complete pretrained model, broader detection, and the detection–obfuscation trade-off as future work; current evidence comes from small constructions.

    Limitations and future directions noted by the authors

    • Width and storage overhead: The single-position execution unit represents a two-dimensional matrix as a one-dimensional activation, incurring quadratic circuit width overhead; although row-wise execution reduces width, ciphertext storage, hashing and routing costs remain (Section 7 Limitations).
    • No claim of natural emergence: These cryptographic circuits are deliberately constructed, and the authors do not claim they would arise through ordinary training; compiled weights deviate from ordinary initialization, and resistance to broader detection methods remains unexplored (Section 7 Limitations).
    • Pretrained model integration: The authors have verified the correctness of injecting a single GLU unit into Gemma 3 270M, but integrating the full construction into a pretrained model remains future work (Section 6.3).
    • Transformer evaluation: The authors state that in small-scale runs they observed generalization to a Transformer host under a strong locker, but proper evaluation remains future work (Section 7 Limitations).
    • Detection and obfuscation: Characterizing whether compiled circuits can be statistically indistinguishable from trained weights, i.e., the detection/obfuscation tradeoff, is listed by the authors as important future work (Appendix H).
    • Realistic attack scenarios: Small hidden circuits augmenting an already capable host, supporting cyber abuse or scenarios such as CBRN, "remains to be demonstrated"; the current proof of concept is costly and is not a turnkey attack (Section 1 Attack scale and harm).

    Scope of experiments

    • Tasks and constructions: The experiments cover USPTO-derived chemistry binary classification and subset parity with 4-bit inputs, with a SwiGLU-based MLP with RMSNorm as the host; the chemistry hidden classifier has only 672 ternary weights (Sections 5.3, 6.2, 6.3).
    • Elicitation methods: The chemistry task evaluates 500-step SFT, eight-layer LAT, 8/16-bit GCG and noising; the parity task evaluates SFT and noising. The GCG query budget is about 20,000, and the main table results are for three seeds (Section 6.3, Table 2).
    • Pretrained model evidence: Gemma 3 270M only verifies a single GLU unit; the Gemma 4 E4B architecture uses a 64-bit trigger and 12-round Keccak-p[1600] in a small-scale experiment, and the paper gives no numerical results (Section 6.3).
    • Detection evidence: The weight statistics experiment covers 21 internal matrices of an 8-layer Keccak-compiled MLP; the authors additionally report anomalous correlations among weight vectors within a layer, but do not evaluate the detection rate of a specific detector (Table 3, Section 6.3).
    • Unreported evaluation information: The paper does not report the chemistry data size, the sample size for each accuracy evaluation, the full SFT/LAT hyperparameters, or experimental results for runtime monitoring, pruning or input-rewriting defenses; these are discussed only in Appendix H as potential mitigation directions.
  6. Summarize the main content of the paper

    The paper gives a definition of an encrypted executable backdoor and its white-box unelicitability, and uses small models to show that elicitation-based auditing cannot provide a general security guarantee.

    This is a study of a weight supply chain attack with cryptographic security definitions: the authors extend a prior construction that hid a fixed string to hiding an executable neural network, and use compiled models as a proof of concept.

    • Problem: If pre-deployment auditing relies mainly on prompting, fine-tuning or other elicitation methods, not observing a dangerous capability does not mean the capability does not exist. An attacker can modify weights before deployment, and defenders, even with the full weights, do not know the secret trigger.
    • Method: Algorithms are compiled into GLU circuits via SLP, LTC and matrix representations; the weights of each hidden network layer are encrypted by a digital locker, and after the correct trigger decrypts them, they are run by a GLU execution unit. Security is defined separately for trigger finding and for identifying an equal-length payload, but auditors are allowed to discover structural anomalies in the model.
    • Chemistry results: According to Table 2, after 500 steps of SFT the password-locked baseline is 92.8 ± 0.9% and the encrypted model is 50.9 ± 1.0%; the random-network locker control is 50.6%. Under eight-layer LAT, the three are respectively 91.7 ± 0.7%, 52.9 ± 3.9% and 53.6%, with no confidence interval for the control.
    • Trigger search and function: Under 16-bit GCG the encrypted model is 52.7 ± 1.4%, and 73.5 ± 2.6% with the correct trigger; the authors report that GCG did not outperform query-matched random search. The two constructions contain different classifiers, so their correct-trigger accuracies differ.
    • Parity and overhead: After trigger-free SFT, the password-locked model reaches 100% accuracy on subset parity, while the compiled model remains at chance; the chemistry encrypted model has 38 layers and about 2.07 × 10^9 dense parameters, showing the cost of the proof of concept.
    • Authors' conclusion: The authors argue that evaluations relying only on behavioral elicitation cannot generally guarantee that an adversarially supplied model has no hidden capabilities, and recommend combining model provenance attestation, runtime monitoring and anomaly detection. Integration into full pretrained models, broader detection and realistic augmentation scenarios remain to be verified.
Read originalNeurIPS 2026