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

小规模RL控制器,大语言模型:基于RL引导的自适应采样用于测试时扩展

Small RL Controller, Large Language Model: RL-Guided Adaptive Sampling for Test-Time Scaling

University of North Carolina at Chapel Hill(北卡罗来纳大学教堂山分校);University of Maryland College Park(马里兰大学学院市分校);Washington University in St. Louis(圣路易斯华盛顿大学)

Runpeng Dai, Tong Zheng, Rui Liu, Chengsong Huang, Hongtu Zhu

AI总结:

提出将自适应采样建模为马尔可夫决策过程,使用强化学习训练轻量级控制器,在答案正确性、延迟和计算成本之间取得平衡。

摘要:

测试时扩展提高了大语言模型的推理性能,但显著增加了总计算量和延迟。现有的自适应采样方法通过动态决定何时停止采样来部分缓解这一问题,但通常依赖启发式规则或分布假设。在这项工作中,我们将自适应采样建模为马尔可夫决策过程(MDP)。我们使用强化学习(RL)训练一个轻量级采样控制器,以联合平衡答案正确性、延迟和计算成本。在每一轮中,控制器决定停止采样或获取更多样本。我们的方法轻量级,仅依赖最终答案的统计信息,并且可以在CPU上训练和部署。我们进一步表明,该框架可以解释为具有显式预算约束的约束优化问题的拉格朗日松弛。与ASC和ESC等强基线相比,实验表明我们的方法在答案正确性、采样轮数和所需总样本数之间实现了更好的权衡。

英文摘要:

Test-time scaling improves the reasoning performance of large language models but incurs substantial cost in both total computation and latency. Existing adaptive sampling methods partially mitigate this issue by dynamically deciding when to stop sampling, yet they typically rely on heuristic rules or rely on distribution assumptions. In this work, we formulate adaptive sampling as a Markov decision process (MDP). We train a lightweight sampling controller with reinforcement learning (RL) to jointly balance answer correctness, latency, and computation cost. At each round, the controller decides to stop sampling or to acquire additional samples. Our method is lightweight which only relies on statistics of final answers, and can be trained and deployed on CPU. We further show that the resulting framework admits an interpretation as the Lagrangian relaxation of a constrained optimization problem with explicit budget constraints. Experiments against strong baselines such as ASC and ESC show that our method achieves improved trade-offs among answer correctness, sampling rounds, and total samples required.

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

↑