arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.07950cs.LG
收藏

简单、困难与可学习:面向LLM推理的置信度与难度自适应策略优化

The Easy, the Hard, and the Learnable: Confidence and Difficulty-Adaptive Policy Optimization for LLM Reasoning

TMLR Group, Department of Computer Science, Hong Kong Baptist University(香港 Baptist 大学计算机科学系 TMLR 组);Stanford University(斯坦福大学);Sydney AI Centre, The University of Sydney(悉尼大学人工智能中心)

Zhanke Zhou, Xiangyu Lu, Chentao Cao, Brando Miranda, Tongliang Liu, Bo Han, Sanmi Koyejo

AI总结:

针对GRPO训练中均匀采样导致计算效率低的问题,提出CoDaPO方法,通过置信度和难度自适应重加权与重采样,在固定预算下提升可学习问题的发现,在12个基准上优于现有RL方法。

摘要:

具有可验证奖励的强化学习可以显著提升LLM的推理能力,然而标准的GRPO风格训练通常通过均匀采样和加权同等对待简单、困难和可学习的问题,导致计算分配效率低下。我们通过跟踪token对数概率、组归一化优势以及由此产生的token级更新权重来研究GRPO。这揭示了随着训练进行出现的三种重复动态:(1) 置信度膨胀,(2) 优势收缩,以及(3) 层次收敛。这些发现表明,每次更新的效用很大程度上取决于问题难度和模型当前的能力。受此启发,我们提出了置信度与难度自适应策略优化(CoDaPO),该方法根据展开置信度和经验难度为每个问题分配一个有界值。CoDaPO随后使用该值对策略更新进行重新加权,并在小批量内重新采样高价值的可学习问题,从而在固定计算预算下增加可学习带内的发现。在十二个基准测试中,CoDaPO在准确性上持续优于现有的RL方法。我们的代码公开在 https://github.com/tmlr-group/CoDaPO。

英文摘要:

RL with verifiable rewards can substantially improve LLM reasoning, yet standard GRPO-style training often treats easy, hard, and learnable questions alike through uniform sampling and weighting, leading to inefficient compute allocation. We study GRPO by tracking token log-probabilities, group-normalized advantages, and the induced token-level update weights. This reveals three recurring dynamics as training proceeds: (1) confidence inflation, (2) advantage contraction, and (3) hierarchical convergence. These findings suggest that the utility of each update depends strongly on both question difficulty and the model's current competence. Motivated by this, we propose Confidence and Difficulty-adaptive Policy Optimization (CoDaPO), which assigns each question a bounded value from rollout confidence and empirical difficulty. CoDaPO then uses this value to reweight policy updates and resample high-value learnable questions within mini-batches, thereby increasing discovery within the learnable band under a fixed compute budget. Across twelve benchmarks, CoDaPO consistently improves accuracy over existing RL methods. Our code is publicly available at https://github.com/tmlr-group/CoDaPO.

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

↑