GRPO 组大小选择有了统计学解法:U 统计量优化 LLM 推理训练
U-Statistics-Powered LLM Reasoning
训练过 GRPO 的人都知道组大小全靠猜,这篇论文把它变成方差比估计问题,还给了悲观估计器,在数学和代码基准上实测比固定组大小更优。做 RL 训练调参的工程师值得跑一遍。
DeepSeek 提出的 GRPO 已被广泛用于训练推理模型和智能体,但其中的组大小超参数一直靠试错确定。一篇新论文利用 GRPO 策略梯度的 U 统计量结构,把组大小选择转化为经典的方差比估计问题。当分母较小时,朴素 plug-in 估计器不稳定,作者提出悲观比率估计器来处理分母的估计不确定性,并刻画了三种样本量规模下的统计性质。
在 Reasoning Gym 合成任务以及数学推理和代码生成基准上的实验显示,基于 jackknife 的悲观规则自适应选组大小,能降低策略梯度的均方误差,优化效果超过固定组大小基线,额外计算成本不大。这项工作把 GRPO 训练中一个长期依赖经验调参的环节变成有理论支撑的估计问题,对复现和调优推理模型的团队有直接参考价值。
U-Statistics-Powered LLM Reasoning
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.
This report is categorized under AITOP's "Papers" desk. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows. Key entities and technical topics under continuous tracking include GRPO, DeepSeek, reasoning models, reinforcement learning.
Primary source verification: published directly by arXiv: DeepSeek with first-party authority.