2025-07-15 · 专家 · 机器学习

Reasoning or Memorization? Unreliable Results of Reinforcement Learning Due to Data Contamination

这篇论文揭示了强化学习在大型语言模型数学推理能力提升中的不可靠性,其原因在于常用数学基准测试集的数据污染,并提出了一种基于合成数据集的可靠评估方法。

更新于 2025-08-18。作者:Mingqi Wu、Zhihao Zhang、Qiaole Dong、Zhiheng Xi、Jun Zhao、Senjie Jin、Xiaoran Fan、Yuhao Zhou、Yanwei Fu、Qin Liu、Songyang Zhang、Qi Zhang。

中文摘要

大型语言模型(LLM)的推理能力一直是研究的重点。最近的研究利用强化学习(RL)进一步增强了这些能力,许多新方法声称在几乎没有或没有外部监督的情况下取得了显著改进。令人惊讶的是,一些研究甚至表明,随机或错误的奖励信号可以提高推理性能。然而,这些突破主要是在 Qwen2.5 模型家族上报道的,并在 MATH-500、AMC 和 AIME 等知名基准测试中进行了评估,而在其他模型(如 Llama)上则未能取得类似的进展,这值得进一步研究。我们的分析表明,尽管 Qwen2.5 取得了强大的数学推理性能,但其在大规模网页语料库上的预训练使其容易受到流行基准测试中数据污染的影响。因此,从这些基准测试中得出的结果可能不可靠。为了解决这个问题,我们引入了一个生成器,它可以生成任意长度和难度的完全合成的算术问题,从而产生一个我们称之为 RandomCalculation 的干净数据集。利用这些无泄漏的数据集,我们证明只有准确的奖励信号才能持续提高性能,而噪声或错误的信号则不能。我们主张在未受污染的基准测试和不同的模型家族中评估 RL 方法,以确保结论的可信度。

英文摘要

The reasoning capabilities of large language models (LLMs) have been a longstanding focus of research. Recent works have further enhanced these capabilities using reinforcement learning (RL), with many new methods claiming significant improvements with minimal or no external supervision. Surprisingly, some studies even suggest that random or incorrect reward signals can enhance reasoning performance. However, these breakthroughs are mostly reported on the Qwen2.5 model family and evaluated on well-known benchmarks such as MATH-500, AMC, and AIME, while failing to achieve similar gains on other models like Llama, which warrants further investigation. Our analysis shows that although Qwen2.5 achieves strong mathematical reasoning performance, its pretraining on large-scale web corpora makes it vulnerable to data contamination in popular benchmarks. As a result, results derived from these benchmarks may be unreliable. To address this, we introduce a generator that produces fully synthetic arithmetic problems of arbitrary length and difficulty, yielding a clean dataset we call RandomCalculation. Using these leakage-free datasets, we show that only accurate reward signals consistently improve performance, while noisy or incorrect signals do not. We advocate for evaluating RL methods on uncontaminated benchmarks and across diverse model families to ensure trustworthy conclusions.

解读

一句话总结

这篇论文揭示了强化学习在大型语言模型数学推理能力提升中的不可靠性,其原因在于常用数学基准测试集的数据污染,并提出了一种基于合成数据集的可靠评估方法。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源