arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.11446cs.LGcs.AIcs.CL
收藏

低秩优化轨迹建模用于LLM RLVR加速

Low-rank Optimization Trajectories Modeling for LLM RLVR Acceleration

Gaoling School of Artificial Intelligence, Renmin University of China(中国人民大学高瓴人工智能学院);China University of Mining and Technology (Beijing)(中国矿业大学(北京))

Zhipeng Chen, Tao Qian, Wayne Xin Zhao, Ji-Rong Wen

AI总结:

本文提出NExt框架,通过非线性插值方法建模和预测LLM参数轨迹,降低RLVR训练计算开销,提升模型性能。

摘要:

最近,利用可验证奖励的强化学习(RLVR)对大语言模型(LLMs)进行扩展已成为一种有效的训练范式,显著提升模型能力,但需要引导模型进行大量探索和学习,导致计算开销大。为减少训练步骤,先前工作采用线性参数外推。然而,RLVR训练中模型参数更新的动态仍不明确。为深入研究RLVR训练中LLM的演变,我们进行了实验证明,模型的秩1子空间不线性演变,LoRA训练进一步放大其主导地位。基于此,我们提出非线性低秩轨迹外推(NExt)框架,通过非线性方式建模和外推参数轨迹。具体而言,我们首先用LoRA训练模型,提取多训练步骤的秩1子空间,用于后续非线性外推。然后利用提取的秩1子空间训练预测器,模拟参数更新轨迹,并进行预测-扩展过程以外推模型参数,实现RLVR加速。我们还进行了全面实验,证明方法的有效性和鲁棒性。本方法将计算开销降低约37.5%,同时兼容多种RLVR算法和任务。代码已发布在https://github.com/RUCAIBox/NExt。

英文摘要:

Recently, scaling reinforcement learning with verifiable rewards (RLVR) for large language models (LLMs) has emerged as an effective training paradigm for significantly improving model capabilities, which requires guiding the model to perform extensive exploration and learning, leading to substantial computational overhead and becoming a key challenge. To reduce the number of training steps, Prior work performs linear extrapolation of model parameters. However, the dynamics of model parameter updates during RLVR training remain insufficiently understood. To further investigate the evolution of LLMs during RLVR training, we conduct empirical experiments and find that the rank-1 subspace of the model does not evolve linearly, and its dominance over the original parameters is further amplified during LoRA training. Based on the above insights, we propose the \textbf{N}onlinear \textbf{Ext}rapolation of low-rank trajectories (\textbf{NExt}), a novel framework that models and extrapolates low-rank parameter trajectories in a nonlinear manner. Concretely, we first train the model using LoRA and extract the rank-1 subspace of parameter differences at multiple training steps, which is then used for the subsequent nonlinear extrapolation. Afterward, we utilized the extracted rank-1 subspace to train a predictor, which can model the trajectory of parameter updates during RLVR, and then perform the predict-extend process to extrapolate model parameters, achieving the acceleration of RLVR. To further study and understand NExt, we conduct comprehensive experiments that demonstrate the effectiveness and robustness of the method. Our method reduces computational overhead by approximately 37.5\% while remaining compatible with a wide range of RLVR algorithms and tasks. We release our code in https://github.com/RUCAIBox/NExt.

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

↑