U-Statistics驱动的LLM推理:GRPO组大小自适应选择方法
U-Statistics-Powered LLM Reasoning
研究利用GRPO策略梯度的U-statistic结构,将组大小选择转化为方差比估计问题,并提出一种悲观比率估计器以应对分母较小时的估计不稳定。在Reasoning Gym合成任务及数学推理、代码生成基准上,该自适应组大小选择降低了策略梯度的均方误差,并优于固定组大小基线,额外计算开销有限。
arXiv:2611.33064v1 Announce Type: new Abstract: Since its introduction by DeepSeek, group relative policy optimization (GRPO) has been widely adopted for training large reasoning models and agents, spurring a proliferation of its variants. Yet the group size, a crucial hyperparameter in these GRPO-type algorithms, remains largely chosen by trial and error. Exploiting the U-statistic structure of GRPO's policy gradient, we recast the selection of the group size as a classical statistical problem of variance ratio estimation. This problem is particularly challenging when the denominator of the ratio is small, rendering naive plug-in estimators unstable. To address this challenge, we propose a pessimistic ratio estimator that accounts for the denominator's estimation uncertainty. We characterise the statistical properties of this estimator across three sample-size regimes. Empirically, using %a jackknife-based pessimistic rule on synthetic tasks from Reasoning Gym and real-world benchmarks covering both mathematical reasoning and code generation, we show that our adaptive group size selection reduces the mean squared error of the resulting policy gradient and improves policy optimisation over fixed-group-size baselines, with modest additional computational cost.
来源:arXiv (AI + Vision + Imaging) · arxiv.org