arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.01037cs.LGcs.AI
收藏

CurES:从梯度分析到高效课程学习以提升推理大语言模型

CurES: From Gradient Analysis to Efficient Curriculum Learning for Reasoning LLMs

Institute of Automation, Chinese Academy of Sciences(中国科学院自动化研究所);School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院);Baidu Inc.(百度公司);University College London(伦敦大学学院)

Yongcheng Zeng, Zexu Sun, Bokai Ji, Erxue Min, Hengyi Cai, Shuaiqiang Wang, Dawei Yin, Haifeng Zhang, Xu Chen, Jun Wang

AI总结:

本文提出CurES方法,通过梯度优化理论分析,改进大语言模型推理任务的训练效率,实验显示其在多个数学推理基准上优于现有方法。

摘要:

课程学习在提升大语言模型在推理任务上的训练效率方面起着关键作用。然而,现有方法往往未能充分考虑提示难度的变化,或依赖简单的过滤机制选择提示数据集,导致计算浪费。本文从强化学习梯度优化的角度出发,系统地探讨如何提高大语言模型的训练效率。我们发现影响训练效率的两个关键因素:训练提示的选择和不同提示上的rollout数量分配。理论分析表明,提示的采样分布决定了梯度下降的收敛速度,而rollout数量的分配影响整体梯度更新的一致性和稳定性。基于这些见解,我们提出CurES,一种高效的训练方法,加速收敛并利用贝叶斯后验估计以最小化计算开销。实验表明,CurES在1.5B和7B模型上分别比Group Relative Policy Optimization (GRPO)高出3.30和4.82个百分点,并在八个数学推理基准上平均超过最佳先前样本高效方法2.12个百分点。此外,CurES相比基线方法收敛更快。

英文摘要:

Curriculum learning plays a crucial role in enhancing the training efficiency of large language models (LLMs) on reasoning tasks. However, existing methods often fail to adequately account for variations in prompt difficulty or rely on simplistic filtering mechanisms to select prompt datasets within a narrow criterion range, resulting in significant computational waste. In this work, we approach the problem from the perspective of reinforcement learning gradient optimization, offering a systematic and theoretical investigation into how to improve the training efficiency of LLMs. We identify two key factors influencing training efficiency: the selection of training prompts and the allocation of rollout quantities across different prompts. Our theoretical analysis reveals that the sampling distribution of prompts dictates the convergence rate of gradient descent, while the allocation of the rollout quantity influences the consistency and stability of overall gradient updates. Based on these insights, we propose CurES, an efficient training method that accelerates convergence and employs Bayesian posterior estimation to minimize computational overhead. Experiments demonstrate that our CurES outperforms Group Relative Policy Optimization (GRPO) by +3.30 points and +4.82 points with 1.5B and 7B models, respectively, and exceeds the best prior sample efficient methods by +2.12 points on average across eight math reasoning benchmarks. Additionally, CurES exhibits faster convergence compared to baselines, including GRPO.

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

↑