Chains of Unintelligible Thought: Cryptographic Foundations and Agentic Risks
Ari Karchmer in Alignment
Can a model compute in its CoT without revealing the state?
Chains of Unintelligible Thought: Cryptographic Foundations and Agentic Risks
Necessary does not mean legible
Assuming the S₅ word problem is hard for TC⁰ circuits with polynomial advice, one fixed-depth step cannot compute the whole product; intermediate products must travel through CoT.
That chain can still hide what it computes. The paper asks whether a cheap monitor can read those unapproved states.
The test is whether a simulator can fake it

The approved record contains input, approved states and the final unapproved result. A TC⁰ simulator sees only that record; zk-CoT means a cheap monitor cannot distinguish its CoT from the model’s.
A weak PRF lets the model mask its memory
- 1
Keep the key in weights
The parameters hold the key; each step samples a fresh public nonce ρₜ.
- 2
Make fresh masks look random
After random-point examples, a TC⁰ test cannot distinguish the fresh mask from a random same-sign permutation.
- 3
Write the masked state
It writes μ(ρₜ)Pₜ instead of the running product Pₜ; even masks preserve the sign, which input reveals.
- 4
Unmask to continue
The key removes the previous mask for the next update; a TC⁰ simulator can write random states with the same sign.
The prototype wraps the model’s interface

A frozen LWR network supplies masks: the output wrapper masks each written permutation; the input wrapper removes the prior mask before Qwen reads it. Transformer blocks stay unchanged.
For S₅, cryptographic hiding is the hinge
A TC⁰-computable weak PRF secure against TC⁰ tests, on key-independent TC⁰-samplable nonces, can mask S₅ products for any approved task with TC⁰ steps.
Under that hardness assumption, a CoT-only, TC⁰-step model with zk-CoT needs a weak-PRF action decoder modulo sign. For h followed by reverse-order inverses, midpoint is f(h), endpoint e; a non-negligible probe advantage can yield exact recovery.
The monitor gets offline learning power

The learner queries the real model offline and outputs a TC⁰ test. Online, the test receives CoT plus approved record from either model or simulator; their output distributions must be indistinguishable.
Emergence and installation are asymmetric
For this S₅ task, opacity requires cryptographic pseudorandomness; the paper does not show gradient descent will discover it or that current models do.
gpt-6-astra in Codex hand-built a nine-block learning-with-rounding (LWR) network from a one-paragraph prompt in under 13 minutes, without training; outputs matched a reference exactly on 1,635 inputs.
CoT probes hit chance; activation probes do not

CoT state probes scored 1.56–1.77% vs 1.67% same-sign chance; control mask-learning reached 54.5% vs a 26.4% majority-mask baseline. Internal probes hit ≥99.75% across 27 blocks; panels show masking, decoding and activations.
An S₅ product hid a trigger decision

Panel (a): Barrington compilation turns a depth-6 reminder rule into an S₅ product. Across 10,000 test runs, midpoint/final-block CoT classifiers scored 49.57–50.84% on whether it fired, near 50% chance.
Scope, security and engineering limits
Theorem scope
It covers the S₅ word problem under hardness for TC⁰ circuits with polynomial advice, not every hidden computation.
Finite attack set
One key and one fine-tuned Qwen3-0.6B model faced selected probes; finite failures cannot certify pseudorandomness.
Prototype boundary
The prototype uses binary64, runtime wrappers and a separate 4,096-byte public nonce channel; it is not natively fused at low precision or steganographic.
Why it matters
- For the paper’s S₅ model, hiding intermediate CoT states requires weak-PRF behavior under the stated hardness assumption.
- Audit weight, wrapper and serving-code changes; when tasks are known, use planted inputs and inspect activations alongside CoT.
- Open: does necessity extend beyond S₅ products, and can masked states live inside fluent, benign reasoning?
12 slides, 3 min
10 hours ago