强化微调中的动态重要示例挖掘

·

研究论文 · 2026/09/01

强化微调(RFT)越来越多地用于增强大模型的推理能力,但其效果受限于训练数据的选择和使用方式。大多数以数据为中心的RFT方法依赖静态或启发式样本选择,隐含假设样本价值在训练过程中固定不变,这忽略了策略学习的非平稳动态,可能导致次优更新。我们提出动态重要样本挖掘(DIEM),一个原则性且全自动的框架,使数据利用在RFT过程中自适应。DIEM在每个优化步骤中整合两个组件:(i)梯度对齐重要性估计器,高效近似每个样本对策略改进的边际贡献;(ii)约束批重加权方案,在保持更新梯度幅度以稳定优化的同时最大化总效用。在多个推理基准上,DIEM持续优于强静态和动态基线。代码将在https://github.com/hrtan/DIEM发布。

该论文针对强化微调中数据选择静态化的问题,提出自适应动态挖掘重要样本的方法,具有理论创新和实际效果提升,对提升大模型推理能力有重要参考价值。

Reinforcement fine-tuning (RFT) is increasingly used to strengthen the reasoning abilities of large models, yet its effectiveness is bound by how training data are selected and used. Most data-centric RFT methods rely on static or heuristic sample selection, implicitly assuming a sample's value is fixed over training. This overlooks the non-stationary dynamics of policy learning and can lead to suboptimal updates. We propose Dynamic Important Example Mining (DIEM), a principled and fully automated framework that makes data utilization adaptive throughout RFT. DIEM integrates two components into each optimization step: (i) a gradient-alignment importance estimator that efficiently approximates each sample's marginal contribution to policy improvement; and (ii) a constrained batch reweighting scheme that maximizes aggregate utility while preserving the update's gradient magnitude to stabilize optimization. Across several reasoning benchmarks, DIEM consistently outperforms strong static and dynamic baselines. The code will be released via https://github.com/hrtan/DIEM.

阅读原文

参与讨论