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

向内看,向外探:通过分层强化学习从LLM内部状态学习温度策略

Look Inward to Explore Outward: Learning Temperature Policy from LLM Internal States via Hierarchical RL

Zhejiang University(浙江大学);Southeast University(东南大学);The Chinese University of Hong Kong(香港中文大学);Shanghai Innovation Institute(上海创新研究院)

Yixiao Zhou, Yang Li, Dongzhou Cheng, Hehe Fan, Yu Cheng

AI总结:

Introspective LLM通过分层强化学习从LLM内部状态学习温度策略,提升数学推理任务中的探索效率与可解释性。

摘要:

基于可验证奖励的强化学习(RLVR)通过采样轨迹训练大型语言模型(LLMs),使解码策略成为学习的核心组成部分,而非仅仅是推理时的选择。采样温度直接通过调节策略熵控制探索-利用权衡,但现有方法依赖静态值或启发式调整,与任务级奖励脱节。我们提出Introspective LLM,一种分层强化学习框架,能够在生成过程中学习控制采样温度。在每个解码步骤中,模型根据其隐藏状态选择温度,并从生成的分布中采样下一个标记。温度和标记策略通过下游奖励使用协调上升方案联合优化。在数学推理基准测试中,实验表明,学习到的温度策略在固定和启发式基线之上表现更优,同时展现出与推理不确定性一致的可解释探索行为。

英文摘要:

Reinforcement Learning from Verifiable Rewards (RLVR) trains large language models (LLMs) from sampled trajectories, making decoding strategy a core component of learning rather than a purely inference-time choice. Sampling temperature directly controls the exploration--exploitation trade-off by modulating policy entropy, yet existing methods rely on static values or heuristic adaptations that are decoupled from task-level rewards. We propose Introspective LLM, a hierarchical reinforcement learning framework that learns to control sampling temperature during generation. At each decoding step, the model selects a temperature based on its hidden state and samples the next token from the resulting distribution. Temperature and token policies are jointly optimized from downstream rewards using a coordinate ascent scheme. Experiments on mathematical reasoning benchmarks show that learned temperature policies outperform fixed and heuristic baselines, while exhibiting interpretable exploration behaviors aligned with reasoning uncertainty.

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

↑