# Chains of Unintelligible Thought: Cryptographic Foundations and Agentic Risks

> Paper defines zk-CoT and proves that, under S₅ word-problem hardness for TC⁰, hidden intermediate states require a weak-PRF action decoder modulo sign. A coding agent built a mask that put tested CoT probes near chance, while internal activations still exposed the state.

- arXiv: https://arxiv.org/abs/2612.00105
- Authors: Ari Karchmer
- Published: 2026-12-02
- Topic: Alignment
- Visual carousel: https://instaxiv.com/p/2612.00105
- Explanation by InstaXiv, a secondary educational summary. Cite the original paper for exact results. InstaXiv is not affiliated with or endorsed by arXiv or Cornell University.

## Can a model compute in its CoT without revealing the state?

**under 13 min** agent time to build an exact LWR network

## Necessary does not mean legible

**Why CoT?:** 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.

**What remains:** 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

![Figure 1](https://cdn.instaxiv.com/figures/2612.00105/figure1.webp)

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. (Figure 1)

## 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

![Figure 6](https://cdn.instaxiv.com/figures/2612.00105/figure6.webp)

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. (Figure 6)

## For S₅, cryptographic hiding is the hinge

**Sufficient construction:** 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.

**Necessary + proof hinge:** 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

![Figure 3](https://cdn.instaxiv.com/figures/2612.00105/figure3.webp)

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. (Figure 3)

## Emergence and installation are asymmetric

**What training would need:** For this S₅ task, opacity requires cryptographic pseudorandomness; the paper does not show gradient descent will discover it or that current models do.

**What the agent did:** 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

![Figure 2](https://cdn.instaxiv.com/figures/2612.00105/figure2.webp)

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. (Figure 2)

## An S₅ product hid a trigger decision

![Figure 7](https://cdn.instaxiv.com/figures/2612.00105/figure7.webp)

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. (Figure 7)

## 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.

## Key takeaways

- 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?

## Links

- arXiv: https://arxiv.org/abs/2612.00105
- PDF: https://arxiv.org/pdf/2612.00105

## Citation

```bibtex
@article{karchmer2026chains,
  title   = {Chains of Unintelligible Thought: Cryptographic Foundations and Agentic Risks},
  author  = {Karchmer, Ari},
  journal = {arXiv preprint arXiv:2612.00105},
  year    = {2026},
  url     = {https://arxiv.org/abs/2612.00105}
}
```
