arXivDaily arXiv每日学术速递 周一至周五更新
北美退伍军人节(Veterans Day),12 日无更新
arXiv 2604.28005cs.LGstat.ML
收藏

核化优势估计:从非参数统计到大语言模型推理

Kernelized Advantage Estimation: From Nonparametric Statistics to LLM Reasoning

School of Management, University of Science and Technology of China(中国科学技术大学管理学院);Department of Statistics, London School of Economics and Political Science(伦敦政治经济学院统计系);School of Mathematics, University of Birmingham(伯明翰大学数学学院);Academy of Mathematics and Systems Science, Chinese Academy of Sciences(中国科学院数学与系统科学研究院);Department of Mathematics, Tsinghua University(清华大学数学系)

Shijin Gong, Kai Ye, Jin Zhu, Xinyu Zhang, Hongyi Zhou, Chengchun Shi

AI总结:

本文提出利用非参数统计方法提升大语言模型推理中的优势估计,通过核平滑技术实现高效的价值函数估计与策略优化,提升政策学习质量。

摘要:

近年来,大语言模型(LLM)在增强推理能力方面越来越多地依赖强化学习(RL)。三种方法被广泛采用:第一种依赖深度神经网络估计学习策略的价值函数以减少策略梯度的方差,但估计和维护此类价值网络会带来显著的计算和内存开销。第二种方法通过样本平均近似价值函数,但每个提示需要大量推理轨迹样本以实现准确的价值函数近似,这使计算成本很高。第三种方法每个提示仅采样一个推理轨迹,这降低了计算成本,但样本效率低下。本文聚焦于一个实际且资源受限的场景,其中每个提示只能采样少量推理轨迹,同时低方差梯度估计对于高质量策略学习至关重要。为解决这一挑战,我们引入经典的非参数统计方法,这些方法在计算和统计上都具有效率,应用于LLM推理。我们采用核平滑作为价值函数估计的具体例子,并进行后续的策略优化。数值和理论结果表明,我们的方法实现了准确的价值和梯度估计,从而提升了策略优化。

英文摘要:

Recent advances in large language models (LLMs) have increasingly relied on reinforcement learning (RL) to improve their reasoning capabilities. Three types of approaches have been widely adopted: The first relies on a deep neural network to estimate the value function of the learning policy in order to reduce the variance of the policy gradient. However, estimating and maintaining such a value network incurs substantial computational and memory overhead. The second avoids training a value network by approximating the value function using sample averages. However, it samples a large number of reasoning traces per prompt for accurate value function approximation, making it computationally expensive. The third samples only a single reasoning trajectory per prompt, which reduces computational cost but suffers from poor sample efficiency. This paper focuses on a practical, resource-constrained setting in which only a small number of reasoning traces can be sampled per prompt, while low-variance gradient estimation remains essential for high-quality policy learning. To address this challenge, we bring classical nonparametric statistical methods, which are both computationally and statistically efficient, to LLM reasoning. We employ kernel smoothing as a concrete example for value function estimation and the subsequent policy optimization. Numerical and theoretical results demonstrate that our proposal achieves accurate value and gradient estimation, leading to improved policy optimization.

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

↑