Metraipolis › archive › dc_43cde204b4d9
Written as a Record, Read as an Address: What a Forward Pass Leaves in an Operation's KV Cache — arXiv:2609.24635
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2609.24635
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-09T06:50:11.965Z
- SHA-256 of the archived text
ddde1899e74ee5bbe6cc8deaab785f48d96eb76a62c3877ea620afb985f43a50- Stable URL of this page
https://metraipolis.com/documento/dc_43cde204b4d9
How to cite
Written as a Record, Read as an Address: What a Forward Pass Leaves in an Operation's KV Cache — arXiv:2609.24635 — arXiv (en), https://arxiv.org/abs/2609.24635 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_43cde204b4d9 (Metraipolis archive dc_43cde204b4d9, sha256 ddde1899e74ee5bbe6cc8deaab785f48d96eb76a62c3877ea620afb985f43a50)
BibTeX
@misc{dc43cde204b4d9,
title = {Written as a Record, Read as an Address: What a Forward Pass Leaves in an Operation's KV Cache — arXiv:2609.24635},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2609.24635},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_43cde204b4d9; sha256 ddde1899e74ee5bbe6cc8deaab785f48d96eb76a62c3877ea620afb985f43a50},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.24635. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
When a language model reads an operation such as "Swap the contents of Box F and Box B", its forward pass writes keys and values for those tokens into the KV cache. Prior work on entity tracking establishes what models use: bindings are resolved at query time rather than stored as explicit latent state. We ask what they write at the operation span and how it is accessed. We split a forward pass into a frozen writer and a reader: the writer's cache is recomputed without gradients, while the reader sees only the instruction and operation tokens, with all state descriptions hidden, and is trained in isolation. Anything the reader recovers was therefore already present in the unmodified cache. On a synthetic boxes task, a base reader recovers $\leq 0.06$ of queried bindings against $0.75$--$1.00$ after training, and recoverability tracks the operation's read/write footprint. We find two modes of access. Across Llama-3.1-8B and Mistral-7B, operation-span transplants causally redirect which visible state is read even when the two worlds hold identical values, revealing a routing record. Isolation training preserves routing and adds direct access to the payload, the value the operation read, from the single operand-name token in a narrow mid-depth band (layers 12--15 of 32 in Llama-3.1-8B, 14--17 in Mistral-7B) --- the same site that holds the routing record. The same recipe extends to further operations, ToMi and GSM8K, but is bounded by training coverage and costs open-book accuracy. Operation tokens thus leave localized, causally recoverable records that support both routing and direct payload access, though the model that writes them reads mainly the address they carry and not the value. Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-22 in cs.CL). Categorie arXiv: Computation and Language (cs.CL). Pagina del lavoro: https://arxiv.org/abs/2609.24635 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-09T06:48:45.058Z dalla pagina https://arxiv.org/catchup/cs.CL/2026-09-22?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).