Skip to main content

Language Models Can Manufacture and Scale Looped Transformers via Weight Rewriting

Jiajun Fan, Ziwen Wang, Neil He, Changyi Yang, Qinglong Zheng, Andy Mao, Xi Zhu, Zetian Li, Tong Wei, Xianrui Zhong, Xizheng Yu, Kaiqu Liang, Ruihan Guo, Chaoran Cheng, Yanchuan Tang, Zhenyu Zhang, Xu Huang, Ge Liu

Uses an LLM agent to inspect and edit a pretrained looped transformer’s weights. Combines larger MLP output gains with reduced output weights for five hesitation tokens, then tests mathematical accuracy as inference depth increases.

First public: · Added to this list: December 1, 2026

Cite this paper

ArXiv preprint

arXiv:2611.38273 · Initial submission: 2026-11-27

BibTeX · CSL-JSON

Explore this approach

Recurrent reasoning — Repeat parts of the model or keep intermediate information in memory while working through a problem. Some methods also learn how many passes to run.

Analysis and evaluation — Measure how well these methods work, investigate what their internal computation does, and identify where they fail. This includes experiments, studies of model internals, and mathematical results.