New AI Language docs · static / Cloudflare Pages

Why text is a hostile medium for long AI work


1. Three different “languages”

LayerWhat it isCost unit
Human proseEnglish / markdownCognitive + tokens
BPE streamInteger idsAPI / context tokens
Residual / A(q)Float vectorsKV bytes + FLOPs

Optimizing only prose style barely touches residual geometry.


2. Text multiplies KV positions

Each token → (typically) one position → one K and V per layer/head group.


“We decided to use Postgres because we need transactions.”

Many tokens; one decision.

Attention may collapse them geometrically, but cache still paid unless you compress engine-side.


3. Exact full-key recovery is heavy (math)

Theorem 0 (research derivation 17, distilled in maths/01_theorem0_exact_scores.md):

Recovering all attention scores for generic queries requires Θ(m d) parameters.

So “store something tiny, perfect full attention forever” is not free.

The right target is approximate A(q) (output), not scores or chat text.


4. Image intuition (correct use)

Images can be efficient because they sample a field (pixels on a grid / vision patches) with high parallel structure.

Analogy that holds:

ImageArchitecture-native
Field on a chartA(q) as map query→output vector
Palette + indicesPrototypes + anchors
Resolution tradeoffε-cover size r\*

Analogy that fails:

  • “Always send screenshots instead of text” for abstract logic (OCR/vision tax).
  • “Unicode art is a new neural representation.”

5. What text is good for

  • Human communication
  • Exact code and IDs
  • Tool schemas
  • One-shot questions

What text is bad for as working memory:

  • Multi-hour agent transcripts
  • Repeated entity names
  • Full tool dumps
  • Full doc pastes every turn

6. Mitigations by track

ProblemTrack A (I/O)Track B (engine)
Long chatFrame + palette, ΔShorter m into cache
Tool dumpTables / WIN onlyN/A
Redundant K,VCan’t fixAOC / hybrid / residual tricks
Grammar taxCodesDoesn’t care about grammar

7. Bottom line

Text is hostile because it is a discrete, high-redundancy codec into a continuous, geometry-driven machine, and it inflates m for KV.

New AI Language = use text only where humans/tools need it; use covers of A (and short I/O codes) where the machine pays.