Detecting RLVR Training Data via Structural Convergence of Reasoning
本文提出了一种名为Min-kNN Distance的简单黑盒检测器,用于检测RLVR训练数据,通过分析推理轨迹的结构收敛来揭示模型的行为变化。
更新于 2026-02-16。作者:Hongbo Zhang、Yue Yang、Jianhao Yan、Guangsheng Bao、Yue Zhang、Yue Zhang。
中文摘要
基于可验证奖励的强化学习(RLVR)对于训练现代推理模型至关重要,但其未公开的训练数据引发了基准污染的担忧。与预训练方法不同,RLVR通过自我生成的推理轨迹中的奖励反馈来微调模型,这使得基于似然的传统检测方法效果降低。我们发现,RLVR诱导了一种独特的行为特征:在RLVR训练期间遇到的提示会导致更僵硬和相似的生成,而未见过的提示则保持更大的多样性。我们引入了Min-kNN距离,这是一种简单的黑盒检测器,通过为给定提示采样多个补全并计算k个最小邻近编辑距离的平均值来量化这种坍缩。Min-kNN距离无需访问参考模型或标记概率。在多个RLVR训练的推理模型上的实验表明,Min-kNN距离能够可靠地区分已见过的例子和未见过的例子,并且优于现有的成员推理和RL污染检测基线。
英文摘要
Reinforcement learning with verifiable rewards (RLVR) is central to training modern reasoning models, but the undisclosed training data raises concerns about benchmark contamination. Unlike pretraining methods, which optimize models using token-level probabilities, RLVR fine-tunes models based on reward feedback from self-generated reasoning trajectories, making conventional likelihood-based detection methods less effective. We show that RLVR induces a distinctive behavioral signature: prompts encountered during RLVR training result in more rigid and similar generations, while unseen prompts retain greater diversity. We introduce Min-kNN Distance, a simple black-box detector that quantifies this collapse by sampling multiple completions for a given prompt and computing the average of the k smallest nearest-neighbor edit distances. Min-kNN Distance requires no access to the reference model or token probabilities. Experiments across multiple RLVR-trained reasoning models show that Min-kNN Distance reliably distinguishes RL-seen examples from unseen ones and outperforms existing membership inference and RL contamination detection baselines.
解读
一句话总结
本文提出了一种名为Min-kNN Distance的简单黑盒检测器,用于检测RLVR训练数据,通过分析推理轨迹的结构收敛来揭示模型的行为变化。
问题1:这篇论文想要解决什么具体问题?
- 问题背景:RLVR训练数据的不透明性引发了基准污染和泛化过度的担忧。
- 现有方案不足:传统的检测方法在RLVR训练中效果不佳,因为它们依赖于token级别的概率或黄金轨迹,而这些在RLVR中不适用。
- 研究目标:开发一种能够检测RLVR训练数据的新方法,以解决基准污染和泛化过度的问题。
问题2:论文的核心创新点是什么?
- 技术创新:提出了Min-kNN Distance,这是一种基于结构相似度的黑盒检测方法。
- 方法改进:利用RLVR训练导致的结构收敛,通过分析多个生成结果的编辑距离来量化结构变化。
- 优势:无需访问参考模型或token概率,且在多个推理模型和RLVR设置中表现出色。
问题3:实验结果如何验证了方法的有效性?
- 关键实验:在多个推理模型和RLVR设置中进行了实验,包括公开的RLVR训练模型和控制的RL-MIA基准模型。
- 性能提升:Min-kNN Distance在所有评估的模型上均优于基线方法,平均AUC得分为0.70,相对于最强基线提高了17%。
- 对比结果:与其他基线方法相比,Min-kNN Distance在检测性能上显著优于PPL、Min-K%、Min-K%++、Recall、CDD和Self-Critique。
问题4:这个研究的实际应用价值是什么?
- 应用场景:检测RLVR训练数据以减少基准污染和泛化过度,提高模型的可靠性和公平性。
- 实施建议:Min-kNN Distance方法可用于开源模型和RL-MIA基准模型,以检测RLVR训练数据的存在。
- 局限与展望:该方法依赖于RLVR导致的结构收敛,可能在不同模型和任务中有所不同。此外,需要生成多个完成项,可能会增加计算成本。未来工作可以探索更有效的方法来减少计算成本,并研究更广泛的偏见问题。