arXiv(opens in a new tab)cs.CLOct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.23344

Language Models Learn to Improve Language Models

Minhua Lin, Zijun Wang, Zewen Liu, Zhaotian Weng, Bing He, Zhan Shi, Benoit Dumoulin, Xiang Zhang, Suhang Wang, Hanqing Lu

Abstract

Large language models (LLMs) are increasingly used to automate AI research, including language-model (LM) development, offering a potential path toward recursive self-improvement. However, turning experimental feedback into a learned ability to propose effective improvements across models faces two challenges. First, training such an ability with real feedback is expensive: reinforcement learning (RL) requires evaluating tens of thousands of proposals, each potentially requiring a full model-training run. Even at ten GPU-hours per run, reward collection alone would consume hundreds of thousands of GPU-hours, motivating a cheaper surrogate. Second, surrogate feedback can become unreliable as policy optimization favors overestimated proposals when the proposal distribution shifts. To address these challenges, we propose LM2LM, which trains LLMs with RL to generate effective LM improvement proposals. To provide scalable feedback, we use a research world model (RWM), a frozen LLM that predicts proposal gains from real experimental records provided in context, as the reward model for RL. To maintain feedback reliability, we periodically execute current-policy proposals ranked highly by the RWM and add their measured outcomes to its context. Across eight autoregressive and diffusion LM development environments, real-execution evaluations on held-out tasks show that LM2LM enables Qwen3.8-27B to outperform GPT-6-sol, even when GPT-6-sol is given 300 real experimental records in context, while requiring 33% lower data-generation cost. LM2LM also generalizes to a model family unseen during training.

1 Introduction

Large language models (LLMs) (Radford et al., 2018, 2019; Touvron et al., 2023) are increasingly being adopted as agents for automated AI research (AutoResearch) (Karpathy, 2026), where they pro-

Figure

Figure 1: Overview of automated LM development.

pose ideas, implement changes, and execute experiments (Si et al., 2026; Novikov et al., 2025). A promising application is language-model development (LM development), where agents explore architectural, optimization, and training choices and measure their effects on model performance (Chi et al., 2026; Yang et al., 2026a). These experiments generate feedback that could help LLMs learn how to improve language models. Developing this capability could accelerate model development and support progress toward recursive self-improvement (RSI) (Chi et al., 2026) (Fig. 1(a)).

Despite these advances, deciding what to try, i.e., research judgment, remains a bottleneck for LLM-based research agents. Agents can implement and execute complex experiments, yet still struggle to identify changes that yield meaningful improvements (Li et al., 2026; Si et al., 2026; Chi et al., 2026). In LM development, effective choices depend on the target model and its training configuration: a change that benefits one setting may not benefit another. With expensive training experiments, selecting promising changes is essential to making effective use of limited experimental resources. We therefore ask: how can language models learn to make better model-improvement decisions and transfer this capability to new mod-els and training configurations?

A natural way to improve research judgment is to learn from past experiments. Experimental records can inform an LLM’s decisions through in-context learning (ICL) (Brown et al., 2020; Novikov et al., 2025; Si et al., 2026), and can also improve predictions of experimental outcomes and the selection of promising proposals (Wang et al., 2026b). This suggests using experimental knowledge as feedback for parameter learning to improve an LLM’s proposal-generation capability beyond in-context learning. However, learning from this feedback raises two key challenges (Fig. 1(b)-(c)).

First, how can we obtain cheap and scalable training feedback? Training LLMs with reinforcement learning (RL) to generate better proposals requires feedback on numerous sampled proposals. The most direct feedback comes from executing each proposal and measuring its outcome (Si et al., 2026), but this requires costly model-training runs. For example, training a 486M-parameter model on 8B tokens takes approximately 45 B200 GPU-hours. A GRPO-style RL (Shao et al., 2024) setup with 100 updates, 32 training states per update, and 8 proposals per state would require 25,600 proposal evaluations. Executing these proposals at the same per-run cost would consume approximately 1,152,000 GPU-hours, costing over $16 million. This motivates low-cost surrogate feedback without executing every proposal. Second, how can we keep surrogate feedback reliable as learning progresses? Accurate predictions on past experiments do not ensure reliable feedback throughout training. As learning changes which proposals the LLM generates, the surrogate must evaluate proposals that its experimental records may not cover. RL may then favor overestimated proposals, increasing surrogate rewards without corresponding real gains (Gao et al., 2023; Zhang et al., 2026). A scalable learning approach must therefore keep its feedback grounded in real outcomes on the proposals the current LLM generates.

To address these challenges, we propose LM2LM, a framework that trains LLMs with RL to generate effective proposals for LM development. To obtain cheap and scalable training signals, we use a frozen LLM as a research world model (RWM) (Wang et al., 2026b) to predict experimental gains relative to a reference configuration without executing proposals. Grounded in an initial set of real experimental records provided as in-context knowledge, the RWM supplies predicted gains for constructing RL rewards (Yu et al., 2026). To keep this feedback reliable as training progresses, we introduce on-policy calibration: we periodically execute a subset of the current policy's proposals that the RWM ranks highly and incorporate their measured outcomes into its in-context knowledge. This targets real execution at proposals favored by RL, where overestimation can misdirect learning, and helps maintain prediction reliability as LLMs' proposals change.

Our contributions are: (i) Method. We propose LM2LM, which trains LLMs with RL using RWM-based rewards grounded in real records and calibrated through targeted real execution; (ii) Experiments. Extensive real-execution experiments on held-out environments show that LM2LM enables Qwen3.8-27B to outperform frontier models such as GPT-6-sol and surpass baselines leveraging past experimental records at lower data-generation cost; (iii) Analysis. We show that RWM-based feedback provides informative rankings of proposal gains, while on-policy calibration mitigates overestimation and largely preserves ranking quality as training progresses, unlike a fixed-record RWM that eventually performs worse than random.

References (1)

  • Its smoke test builds a tiny model of this family on CPU, runs forward, backward, and one optimizer step with the overlay on and off, and checks that no gradient is missing, the loss is finite, and the off run matches the unmodified baseline