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

温度作为元策略:LLM强化学习中的自适应温度

Temperature as a Meta-Policy: Adaptive Temperature in LLM Reinforcement Learning

Tsinghua University(清华大学);Microsoft Research Asia(微软亚洲研究院)

Haoran Dang, Cuiling Lan, Hai Wan, Xibin Zhao, Yan Lu

AI总结:

TAMPO通过将温度控制转化为可学习的元策略,实现了LLM强化学习中的自适应探索,优于固定或启发式温度方法。

摘要:

温度是大型语言模型(LLM)中的关键超参数,控制文本生成过程中探索与利用的权衡。高温度鼓励多样但嘈杂的输出,而低温度产生聚焦的输出,但可能导致过早收敛。然而,静态或启发式温度调度无法适应强化学习(RL)在整个训练过程中的动态需求,通常限制了策略的改进。我们提出了温度自适应元策略优化(TAMPO),一种新的框架,将温度控制重新解释为可学习的元策略。TAMPO通过分层双循环过程运行。在内循环中,LLM策略通过采样温度(由元策略选择)的轨迹进行更新(例如使用GRPO)。在外循环中,元策略通过奖励那些最大化高优势轨迹概率的温度分布进行更新。这种轨迹引导、奖励驱动的机制使在线适应成为可能,无需额外的回放,直接将探索与策略改进对齐。在五个数学推理基准测试中,TAMPO优于使用固定或启发式温度的基线,确立了温度作为LLM强化学习中自适应探索的有效可学习元策略。2026年ICLR会议接受。

英文摘要:

Temperature is a crucial hyperparameter in large language models (LLMs), controlling the trade-off between exploration and exploitation during text generation. High temperatures encourage diverse but noisy outputs, while low temperatures produce focused outputs but may cause premature convergence. Yet static or heuristic temperature schedules fail to adapt to the dynamic demands of reinforcement learning (RL) throughout training, often limiting policy improvement. We propose Temperature Adaptive Meta Policy Optimization (TAMPO), a new framework that recasts temperature control as a learnable meta-policy. TAMPO operates through a hierarchical two-loop process. In the inner loop, the LLM policy is updated (e.g., using GRPO) with trajectories sampled at the temperature selected by the meta-policy. In the outer loop, meta-policy updates the distribution over candidate temperatures by rewarding those that maximize the likelihood of high-advantage trajectories. This trajectory-guided, reward-driven mechanism enables online adaptation without additional rollouts, directly aligning exploration with policy improvement. On five mathematical reasoning benchmarks, TAMPO outperforms baselines using fixed or heuristic temperatures, establishing temperature as an effective learnable meta-policy for adaptive exploration in LLM reinforcement learning. Accepted at ICLR 2026.

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

↑