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

通过语义多样探索增强高效推理

Reinforced Efficient Reasoning via Semantically Diverse Exploration

Shandong University(山东大学);Leiden University(莱顿大学);Baidu Inc.(百度公司)

Ziqi Zhao, Zhaochun Ren, Jiahong Zou, Liu Yang, Zhiwei Xu, Xuri Ge, Zhumin Chen, Xinyu Ma, Daiting Shi, Shuaiqiang Wang, Dawei Yin, Xin Xin

AI总结:

本文提出ROSE方法,通过语义熵分支策略和ε探索机制提升大语言模型的推理多样性与效率,并通过实验验证其有效性。

摘要:

可验证奖励的强化学习(RLVR)已被证明能有效提升大语言模型(LLMs)的推理能力。基于蒙特卡洛树搜索(MCTS)的扩展方法通过树状推理回放改进了传统RLVR(如GRPO),通过细粒度和段级信用分配。然而,现有方法仍面临探索多样性有限和推理效率低的问题。为解决上述挑战,我们提出通过语义多样探索增强高效推理(ROSE)方法。为了鼓励更多样化的推理探索,我们的方法结合了基于语义熵的分支策略和ε探索机制。前者在已采样推理回放上操作以捕捉语义不确定性并选择具有高语义分歧的分支点以生成新的连续推理路径,后者随机从根节点启动推理回放,防止搜索过程过于局部。为提高效率,我们设计了长度感知的段级优势估计器,奖励简洁且正确的推理,同时惩罚不必要的长推理链。在各种数学推理基准上对Qwen和Llama模型的大量实验验证了ROSE的有效性和效率。代码可在https://github.com/ZiqiZhao1/ROSE-rl获取。

英文摘要:

Reinforcement learning with verifiable rewards (RLVR) has proven effective in enhancing the reasoning of large language models (LLMs). Monte Carlo Tree Search (MCTS)-based extensions improve upon vanilla RLVR (e.g., GRPO) by providing tree-based reasoning rollouts that enable fine-grained and segment-level credit assignment. However, existing methods still suffer from limited exploration diversity and inefficient reasoning. To address the above challenges, we propose reinforced efficient reasoning via semantically diverse explorations, i.e., ROSE, for LLMs. To encourage more diverse reasoning exploration, our method incorporates a semantic-entropy-based branching strategy and an $\varepsilon$-exploration mechanism. The former operates on already sampled reasoning rollouts to capture semantic uncertainty and select branching points with high semantic divergence to generate new successive reasoning paths, whereas the latter stochastically initiates reasoning rollouts from the root, preventing the search process from becoming overly local. To improve efficiency, we design a length-aware segment-level advantage estimator that rewards concise and correct reasoning while penalizing unnecessarily long reasoning chains. Extensive experiments on various mathematical reasoning benchmarks with Qwen and Llama models validate the effectiveness and efficiency of ROSE. Codes are available at https://github.com/ZiqiZhao1/ROSE-rl.

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

↑