arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2410.23912cs.AIcs.LG
收藏

RL-STaR:自训练推理器强化学习框架的理论分析

RL-STaR: Theoretical Analysis of Reinforcement Learning Frameworks for Self-Taught Reasoner

MediaTek Research(联发科研究院);National Taiwan University(台湾大学);National Chengchi University(国立政治大学);National Tsing Hua University(国立清华大学)

Fu-Chieh Chang, Yu-Ting Lee, Hui-Ying Shih, Yi Hsuan Tseng, Pei-Yuan Wu

AI总结:

本文提出RL-STaR理论框架,分析强化学习在思维链推理和自训练推理器中的有效性,给出预训练质量准则、策略改进、收敛条件及鲁棒性解释,并在多个小模型上验证了理论预测。

摘要:

大语言模型(LLMs)的推理能力随着思维链(CoT)提示而得到提升,使模型能够逐步解决复杂任务。然而,训练CoT能力需要详细的推理数据,这些数据往往稀缺。自训练推理器(STaR)框架通过使用强化学习自动生成推理步骤来解决这一问题,减少了对人工标注数据的依赖。尽管STaR及其变体已展现出实证成功,但缺乏解释这些改进的理论基础。本工作提供了一个理论框架,用于理解强化学习在CoT推理和STaR上的有效性。我们的贡献包括:(1)预训练模型质量的准则,这些准则对于启动有效的推理改进是必要的;(2)策略改进的分析,解释了为什么LLM推理会随着STaR迭代改进;(3)收敛到最优推理策略的条件;(4)对STaR鲁棒性的检验,解释了即使偶尔纳入错误步骤,它也能改进推理。我们还在GPT-2、Qwen2.5-0.5B和Phi-3-mini上运行了RL-STaR,测得的回报曲线与分析预测的曲线一致。该框架将实证发现与理论见解联系起来,推进了LLM推理的强化学习方法。

英文摘要:

The reasoning abilities of large language models (LLMs) have improved with chain-of-thought (CoT) prompting, allowing models to solve complex tasks stepwise. However, training CoT capabilities requires detailed reasoning data, which is often scarce. The self-taught reasoner (STaR) framework addresses this by using reinforcement learning to automatically generate reasoning steps, reducing reliance on human-labeled data. Although STaR and its variants have demonstrated empirical success, a theoretical foundation explaining these improvements is lacking. This work provides a theoretical framework for understanding the effectiveness of reinforcement learning on CoT reasoning and STaR. Our contributions are: (1) criteria for the quality of pre-trained models necessary to initiate effective reasoning improvement; (2) an analysis of policy improvement, showing why LLM reasoning improves iteratively with STaR; (3) conditions for convergence to an optimal reasoning policy; and (4) an examination of STaR's robustness, explaining how it can improve reasoning even when incorporating occasional incorrect steps. We also run RL-STaR on GPT-2, Qwen2.5-0.5B and Phi-3-mini, and the measured return curves follow the ones the analysis predicts. This framework bridges empirical findings with theoretical insights, advancing reinforcement learning approaches for reasoning in LLMs.

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

↑