Replacing trained components with written weights: agents compress the reachable function instead of writing the mechanism

We ask what fraction of a trained model an LLM agent can replace, component by component, with written weights that carry a rationale, fit in 10% of the original description length, and keep the loss. On small algorithmic models (T0) the agent replaces many components, but almost every replacement is a copy of the original function on the inputs the component actually sees: none passes our strict count (not dominated by an equal-access baseline, transfers to a new basis, labelled a mechanism), and 0/23 and 0/22 transfer. The pre-registered test (raw-tensor denominator) finds the agent ahead of an equal-access linear-algebra baseline, on the components it was run on, by 31.0 points (95% CI [21.3, 40.9]); measured against the function the component computes on reachable inputs, the advantage is not significant. On TinyStories language models (T1), 0 of 30 replacements stay within ε=1% loss increase. The agent is below matched-bits SVD on all 30 components, but a data-aware compressor with free search and no understanding does as well (0/30 within ε; better than the agent on 14). The agent is a good compressor; it does not write the mechanism. With a short mechanism to find (known mechanisms in a hidden basis), it does in 2 of 10 cases. The upload contains the preprint, its LaTeX source, and the release archives: code and every record file(pre-registrations with amendments, decision log, launch ledger, every episode's transcript, submission, verdict andaudit), the agents' working folders, and the target models (T0 anchors, CB-B0 programs, T1 TinyStories references).README_RELEASE.md lists each archive; SHA256SUMS checks them.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-29
DOI
https://doi.org/10.5281/zenodo.24659984
Primary Topic
Explainable Artificial Intelligence (XAI)
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Replacing trained components with written weights: agents compress the reachable function instead of writing the mechanism

Xintian Huang
Zenodo (CERN European Organization for Nuclear Research)
Explainable Artificial Intelligence (XAI)
preprint

Replacing trained components with written weights: agents compress the reachable function instead of writing the mechanism

Xintian Huang
preprint en

Abstract

We ask what fraction of a trained model an LLM agent can replace, component by component, with written weights that carry a rationale, fit in 10% of the original description length, and keep the loss. On small algorithmic models (T0) the agent replaces many components, but almost every replacement is a copy of the original function on the inputs the component actually sees: none passes our strict count (not dominated by an equal-access baseline, transfers to a new basis, labelled a mechanism), and 0/23 and 0/22 transfer. The pre-registered test (raw-tensor denominator) finds the agent ahead of an equal-access linear-algebra baseline, on the components it was run on, by 31.0 points (95% CI [21.3, 40.9]); measured against the function the component computes on reachable inputs, the advantage is not significant. On TinyStories language models (T1), 0 of 30 replacements stay within ε=1% loss increase. The agent is below matched-bits SVD on all 30 components, but a data-aware compressor with free search and no understanding does as well (0/30 within ε; better than the agent on 14). The agent is a good compressor; it does not write the mechanism. With a short mechanism to find (known mechanisms in a hidden basis), it does in 2 of 10 cases. The upload contains the preprint, its LaTeX source, and the release archives: code and every record file(pre-registrations with amendments, decision log, launch ledger, every episode's transcript, submission, verdict andaudit), the agents' working folders, and the target models (T0 anchors, CB-B0 programs, T1 TinyStories references).README_RELEASE.md lists each archive; SHA256SUMS checks them.

Zenodo (CERN European Organization for Nuclear Research)
Explainable Artificial Intelligence (XAI)
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon