arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2611.30141cs.CLcs.LG
收藏

再读茶叶:大型语言模型能否预测语言模型的训练运行?

Reading the Tea Leaves, Again: Can Large Language Models Predict Language Model Training Runs?

Carnegie Mellon University(卡内基梅隆大学);University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);University of Washington(华盛顿大学)

Xinran Zhao, Xiang Li, Tong Chen, Jinchuan Tian, Zichun Yu, Tongshuang Wu

AI总结:

本研究构建Tea Leaves基准,测试LLM预测语言模型训练运行的能力,发现最强LLM在平滑损失曲线和噪声RL奖励曲线的预测上表现优异,相关运行信息可提升预测效果,小型开源模型也能达到最佳LLM的损失曲线预测水平。

摘要:

大型语言模型(LLM)智能体如今能提出研究思路并开展验证实验,但它们会将每次训练运行执行完毕,而研究人员会通过读取运行的配置和训练曲线的起始部分,终止那些无前景的运行。这种读取运行的方式不仅需要描述或实现训练方法,还需知晓设计选择对运行的影响。我们构建了Tea Leaves,在涵盖预训练、微调、强化学习(RL)的682次真实训练运行上测量这种知识:预测器会看到运行的前20%内容,以及其配置、描述和代码,进而预测剩余部分。在11种LLM和一系列预测基线中,最强的LLM在平滑损失曲线上的表现与最佳曲线拟合器相当或更优(技能值0.66对0.62),在有噪声的RL奖励曲线上表现领先(0.43对0.13)。所有预测器的边界由日志承载的信息决定:在日志稀疏的社区运行中,所有方法的技能值都大幅下降,且没有一种方法能可靠地提前标记失败的运行。除曲线外,信息有帮助而工具作用不大:提示中的相关运行使损失曲线的误差降低39%,训练动态知识让最强的LLM能对36次因代码描述变更而不同的运行对排序,而早期曲线无法区分这些运行,工具则贡献甚微。这种知识可从日志运行中习得:在公开运行上训练的小型开源模型在损失曲线上的表现与最佳LLM相当。将其应用于研究智能体的进展曲线,同样能按剩余空间对任务排序,不过对单个智能体运行而言,它无法优于最后一个值。我们发布了该基准、训练好的读取模型及其训练数据,以测试和训练LLM对训练的理解,并帮助研究智能体决定哪些运行值得分配计算资源。

英文摘要:

LLM agents now propose research ideas and run the experiments that test them, but they train every run to its end, whereas a researcher reads a run's configuration and the beginning of its curve and stops the runs that show no promise. Reading a run this way takes more than describing or implementing a training method: it takes knowing what a design choice does to a run. We build Tea Leaves to measure this knowledge on 682 real training runs across pretraining, fine-tuning, and reinforcement learning (RL): a forecaster sees the first 20% of a run with its configuration, description, and code, and predicts the rest. Across 11 LLMs and a range of forecasting baselines, the strongest LLMs match or exceed the best curve fitter on smooth loss curves (skill 0.66 against 0.62) and lead on noisy RL reward curves (0.43 against 0.13). What bounds every forecaster is what the log carries: on sparsely logged community runs all methods lose most of their skill, and none reliably flags a failing run in advance. Beyond the curve, information helps and effort does not: related runs in the prompt cut the error on loss curves by 39%, and knowledge of training dynamics lets the strongest LLMs order all 36 pairs of runs that differ by a described code change, which the early curves do not separate, whereas tools add little. This knowledge can be learned from logged runs: a small open model trained on public runs matches the best LLM on loss curves. Applied to the progress curves of research agents, the same reading ranks tasks by their remaining headroom, although for a single agent run it does not improve on the last value. We release the benchmark, the trained readers, and their training data to test and train LLMs' understanding of training and to help research agents decide which runs deserve their compute.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑