语言模型学会改进语言模型
研究论文 · 2026/10/23
大型语言模型(LLM)正被用于自动化AI研究,包括语言模型(LM)开发,有望实现递归自我改进。然而,将实验反馈转化为可学习的改进提案能力面临两个挑战:用真实反馈训练成本高昂(强化学习需评估数万提案,每个可能需完整训练),而替代反馈在策略优化分布偏移时可能不可靠。为此,作者提出LM2LM,用强化学习训练LLM生成有效的LM改进提案。为提供可扩展反馈,使用研究世界模型(RWM)——一个冻结的LLM,根据上下文中的真实实验记录预测提案收益——作为奖励模型。为保持反馈可靠性,定期执行RWM排名靠前的当前策略提案,并将测量结果加入其上下文。在八个自回归和扩散LM开发环境中,对留出任务的真实执行评估显示,LM2LM使Qwen3.8-27B优于GPT-6-sol(即使后者在上下文中获得300条真实实验记录),且数据生成成本降低33%。LM2LM还能泛化到训练中未见过的模型家族。
该工作探索了LLM自动化AI研究并实现递归自我改进的可行路径,通过结合强化学习与世界模型反馈,在降低实验成本的同时保持反馈可靠性,并在多个环境中验证了超越强基线(GPT-6-sol)的效果,对AI自动研究与模型开发有重要参考价值。
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.