Metraipolis › archive › dc_d42af8e5cb34

Can Language Models Learn While They Think? Testing Gradient Adaptation Across Architectures — arXiv:2610.33025

Source
arXiv (en)
Original
https://arxiv.org/abs/2610.33025
License (as archived)
CC0-1.0
Archived
2026-10-27T08:12:33.203Z
SHA-256 of the archived text
eb9652a86837e6ef13dabfcd64d89ffa7f509d067fa3039a9b05959452a25fee
Stable URL of this page
https://metraipolis.com/documento/dc_d42af8e5cb34

How to cite

Can Language Models Learn While They Think? Testing Gradient Adaptation Across Architectures — arXiv:2610.33025 — arXiv (en), https://arxiv.org/abs/2610.33025 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_d42af8e5cb34 (Metraipolis archive dc_d42af8e5cb34, sha256 eb9652a86837e6ef13dabfcd64d89ffa7f509d067fa3039a9b05959452a25fee)
BibTeX
@misc{dcd42af8e5cb34,
  title = {Can Language Models Learn While They Think? Testing Gradient Adaptation Across Architectures — arXiv:2610.33025},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2610.33025},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_d42af8e5cb34; sha256 eb9652a86837e6ef13dabfcd64d89ffa7f509d067fa3039a9b05959452a25fee},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2610.33025. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Letting a language model take gradient steps on the text it is reading, known as dynamic evaluation, lowers its loss on the rest of the document. Its behaviour on hybrid linear-attention architectures, on diffusion language models, and on standard long-context benchmarks has not been measured. We measure it. With one SGD step per 128-token chunk on the MLP output projections of the last quarter of blocks, no training, and a 2k-token window, softmax-attention models (Qwen3-1.7B, Qwen3-4B, Gemma-4-E4B) lose 5-8% of their next-token loss over a document and outperform the same frozen model given the full 32k-token context. Hybrid Gated-DeltaNet models (Qwen3.5-4B, Qwen3.8-27B) gain under 1% at every learning rate: the linear-attention blocks already perform the adaptation. The mechanism transfers to masked-diffusion models with a larger effect, 8% on Nemotron-Diffusion-8B and 17-20% on DiffusionGemma-26B, once the rate is lowered and updates are clipped. Across RULER, BABILong, LongBench-v2, SCOTUS, HotpotQA, MuSiQue, ContractNLI and citation completion, at 100 or more items on two model sizes, weights updated on the full document recover none of the accuracy lost to context truncation: the adaptation is style and vocabulary, not retrieval. Writing facts with the next-token loss stores the prompt format rather than the fact (30% recall under chat prompting against 80% in context) and costs 36-38 GSM8K points at every dose. Writing a conclusion as behaviour instead, by distilling the model's own conclusion-conditioned judgments into a low-rank adapter, reaches the in-context ceiling (0.83 and 0.88 against 0.84 and 0.88 on 100 games) with GSM8K unchanged, and the conclusion can come from an inquiry loop that found it by asking information-gain questions.

Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.CL, nuovi lavori del giorno).
Categorie arXiv: Machine Learning (cs.LG) ; Computation and Language (cs.CL).
Pagina del lavoro: https://arxiv.org/abs/2610.33025 — 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-27T07:56:00.285Z dalla pagina https://arxiv.org/list/cs.CL/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).