← All papers  /  Nov 21, 2026
Agents

Don't Train It, Write It: An AI Agent Writes New Capabilities into Language Model Weights

First page
Don't Train It, Write It: An AI Agent Writes New Capabilities into Language Model Weights
The curator’s take

Santiago Rivadeneira Quintero (EPFL) shows an AI agent can write new capabilities directly into a pretrained language model by adding gated attention heads and MLP neurons, without backpropagation and without fitting weights to task answers, under a preregistered sealed test.

Ask this paper

Key points
01

Method. The agent adds gated attention heads and MLP neurons inside existing layers with a budget of 50 model passes, and sees no validation or test instance. Hypotheses, sets and report sentences were sealed in git before the first session.

02

BIG-Bench Hard. Modules for six BBH subtasks composed into one model raise the normalized BBH score of Qwen2.5-1.5B-Instruct from 19.95 to 41.05 (Qwen2.5-7B-Instruct scores at most 35.01) and Gemma-3-1B-it from 10.25 to 32.86.

03

No side effects measured. Against the unmodified model at the same precision, the composites leave next-token distributions on 1,023,000 WikiText tokens unchanged (KL exactly 0) and give identical answers on 15,845 items from five other tests.

04

Extrapolation. The agent writes exact multiplication up to 20 digits while running the model only up to 6 digits, scoring 100% on unseen lengths, where a LoRA with the same budget reaches at most 2.1%. 4 of 45 single modules show small side effects, and 5 of 50 sessions hit the 12-hour limit.

Abstract

We show that an AI agent can write new capabilities into a pretrained language model by adding gated attention heads and MLP neurons inside its existing layers, without backpropagation and without fitting any weight to the answers of task examples. It has a budget of 50 model passes and sees no validation or test instance. Composed in one model, its modules for six BIG-Bench Hard (BBH) subtasks raise the normalized BBH score of Qwen2.5-1.5B-Instruct from 19.95 to 41.05 (Qwen2.5-7B-Instruct: at most 35.01) and that of Gemma-3-1B-it from 10.25 to 32.86. Against the unmodified model at the same precision, both composites leave the next-token distribution on 1,023,000 WikiText tokens unchanged (KL exactly 0), give identical answers on 15,845 items of five other Leaderboard tests and identical scores on the other 18 BBH subtasks. The agent also writes exact multiplication up to 20 digits, running the model only up to 6 (100.0% on the absent lengths of the sealed test in both models; a LoRA with the same budget: at most 2.1%). Sets, rules and report sentences were sealed in git before the first session (manifests timestamped in Bitcoin), with dated amendments listed in Appendix D; a frozen evaluator ran the sealed test once. Verdicts (H5: tracking; H6: composite; H8: one pass vs. chain of thought; H9: fresh and rewritten instances; H10: side effects; H12: multiplication), on the preregistered sealed test, Qwen2.5-1.5B-Instruct: H5 success, H6 success, H8 (web_of_lies) success, H9 success, H10 (composite) success on (i) to (iii), (iv) confirmed, H12 success; Gemma-3-1B-it (H7: H5, H6, H8 and H9 in this model): H5 success, H6 success, H8 (web_of_lies) success, H8 (tracking 3) success, H9 partial, H10 (composite) success on (i) to (iii), (iv) confirmed, H12 success. Not everything worked: 4 of 45 single modules show small side effects and 5 of 50 sessions hit the 12-hour limit without a module.

Every Monday
Get next week’s papers.
Subscribe on Substack