Paper: 2605.06660 Authors: Yuhang Lai, Jiazhan Feng, Yee Whye Teh, Ning Miao Categories: cs.LG, cs.CL

Abstract

Large Language Models (LLMs) demonstrate strong capabilities in solving scientific and mathematical problems, yet they struggle to produce valid, challenging, and novel problems—an essential component for advancing LLM training and enabling autonomous scientific research. This paper introduces VHG (Verifier-backed Hard problem Generation), a framework built upon three-party self-play that integrates an independent verifier into the conventional setter-solver duality. By constraining the setter’s reward to be jointly determined by problem validity (evaluated by the verifier) and difficulty (assessed by the solver), VHG substantially outperforms baseline methods across multiple mathematical reasoning benchmarks.

Key Contributions

  • Three-Party Self-Play Framework: Introduces a novel architecture that adds a verifier to the traditional setter-solver paradigm, preventing the generation of invalid problems that would otherwise collapse the training pipeline.

  • Dual Verifier Variants: Implements both Hard (symbolic) and Soft (LLM-based) verifiers, enabling the framework to work across different domains—from formal mathematical tasks to general reasoning problems.

  • Significant Performance Gains: Achieves 16.9%, 16.6%, and 21.4% improvements on indefinite integral benchmarks, and raises overall pass@1 accuracy from 56.8% to 69.0% on general math benchmarks (MATH, AMC, Minerva, Olympiad, AIME24-26).

  • Cross-Model Generalization: Demonstrates that problems generated by smaller models (Qwen3-4B) can effectively challenge and improve larger models (Qwen3-8B, 14B, 32B), suggesting efficient scaling strategies.

Methodology

The VHG Framework

VHG extends standard self-play by introducing three key components:

  1. Setter (Q): Generates problem-reference pairs (x, y*) where x is the problem and y* is the reference solution. Unlike traditional approaches that only generate problems, VHG requires the setter to also provide solutions, enabling verifiable validity checks.

  2. Verifier (V): Validates the correctness of generated problem-reference pairs. Two variants are explored:

    • Hard Verifier: Uses symbolic verification mechanisms (e.g., SymPy for indefinite integrals) providing nearly 100% reliable verification
    • Soft Verifier: Uses LLMs to check the correctness of step-by-step problem generation, enabling broader domain applicability
  3. Solver (S): Attempts to solve the generated problems multiple times, providing difficulty feedback based on empirical success rate.

Training Process

The framework operates through iterative cycles:

  • The setter proposes problem-reference pairs
  • The verifier gates validity (pass/fail)
  • Only accepted pairs are scored by the solver for difficulty
  • The setter is trained to maximize difficulty while maintaining validity
  • The solver is trained on valid, challenging problems

This design eliminates reward hacking—the setter cannot achieve high rewards by generating invalid problems since the verifier filters them out before difficulty assessment.

Results

Indefinite Integral Tasks

On specialized mathematical tasks, VHG with hard verifier showed remarkable improvements:

  • AntiderivBench Qualifier: +16.9% pass@1 accuracy
  • AntiderivBench Competition: +16.6% pass@1 accuracy
  • Integration Stress Test: +21.4% pass@1 accuracy

These results significantly outperform R-Zero, the previous state-of-the-art method.

General Mathematical Reasoning

With soft verifier on broader mathematical domains:

  • Overall pass@1 accuracy improved from 56.8% to 69.0%
  • Consistent gains across MATH, AMC, Minerva, Olympiad, and AIME24-26 benchmarks
  • Substantial margin over baseline methods including naive self-play approaches

Key Findings

  • Verifier is Critical: Ablation studies show that removing the verifier leads to rapid collapse of problem quality due to reward hacking
  • Validity-Difficulty Trade-off: The framework successfully balances generating challenging problems while maintaining validity
  • Scalability: Problems generated by 4B parameter models effectively train and challenge models up to 32B parameters

Takeaways

  • Autonomous Problem Generation: VHG represents a significant step toward autonomous scientific research by enabling LLMs to generate their own training data without human expert involvement.

  • Preventing Reward Hacking: The three-party design elegantly solves the reward hacking problem that plagues naive self-play approaches, where setters learn to generate invalid problems to maximize difficulty scores.

  • Practical Training Paradigm: The framework provides a practical path for continuously increasing training data difficulty without costly human expert involvement, potentially enabling LLMs to surpass human-level performance.

  • Broad Applicability: The soft verifier variant demonstrates that the approach can generalize beyond formal mathematical domains to areas where exact verification is impractical.

  • Efficient Scaling: The finding that smaller models can generate useful training data for larger models suggests cost-effective strategies for improving large-scale models.

论文: 2605.06660 作者: Yuhang Lai, Jiazhan Feng, Yee Whye Teh, Ning Miao 分类: cs.LG, cs.CL

摘要

大型语言模型(LLM)在解决科学和数学问题方面表现出强大的能力,但它们难以生成有效、具有挑战性和新颖的问题——这是推进LLM训练和实现自主科学研究的重要组成部分。本文介绍了VHG(基于验证器的难题生成),这是一个建立在三方自我博弈基础上的框架,将独立验证器集成到传统的出题者-解题者二元结构中。通过将出题者的奖励约束为由问题有效性(由验证器评估)和难度(由解题者评估)共同决定,VHG在多个数学推理基准测试中显著优于基线方法。

主要贡献

  • 三方自我博弈框架:引入了一种新颖的架构,在传统的出题者-解题者范式中添加验证器,防止生成无效问题,否则会导致训练管道崩溃。

  • 双重验证器变体:实现了硬验证器(符号化)和软验证器(基于LLM)两种变体,使框架能够跨不同领域工作——从形式化数学任务到一般推理问题。

  • 显著的性能提升:在不定积分基准测试中实现了16.9%、16.6%和21.4%的改进,在一般数学基准测试(MATH、AMC、Minerva、Olympiad、AIME24-26)上将整体pass@1准确率从56.8%提高到69.0%。

  • 跨模型泛化:证明了由较小模型(Qwen3-4B)生成的问题可以有效地挑战和改进更大的模型(Qwen3-8B、14B、32B),这表明了高效的扩展策略。

方法论

VHG框架

VHG通过引入三个关键组件扩展了标准自我博弈:

  1. 出题者(Q):生成问题-参考答案对(x, y*),其中x是问题,y*是参考解决方案。与仅生成问题的传统方法不同,VHG要求出题者还提供解决方案,从而实现可验证的有效性检查。

  2. 验证器(V):验证生成的问题-参考答案对的正确性。探索了两种变体:

    • 硬验证器:使用符号验证机制(例如,用于不定积分的SymPy),提供近100%可靠的验证
    • 软验证器:使用LLM检查逐步问题生成的正确性,实现更广泛的领域适用性
  3. 解题者(S):多次尝试解决生成的问题,根据经验成功率提供难度反馈。

训练过程

框架通过迭代循环运行:

  • 出题者提出问题-参考答案对
  • 验证器判定有效性(通过/失败)
  • 只有被接受的对才由解题者评分难度
  • 出题者被训练以在保持有效性的同时最大化难度
  • 解题者在有效且具有挑战性的问题上进行训练

这种设计消除了奖励欺骗——出题者无法通过生成无效问题来获得高奖励,因为验证器在难度评估之前就将它们过滤掉了。

实验结果

不定积分任务

在专门的数学任务上,带有硬验证器的VHG显示出显著的改进:

  • AntiderivBench Qualifier:pass@1准确率提高16.9%
  • AntiderivBench Competition:pass@1准确率提高16.6%
  • Integration Stress Test:pass@1准确率提高21.4%

这些结果显著优于之前的最先进方法R-Zero。

一般数学推理

在更广泛的数学领域使用软验证器:

  • 整体pass@1准确率从56.8%提高到69.0%
  • 在MATH、AMC、Minerva、Olympiad和AIME24-26基准测试中持续获得提升
  • 大幅领先于包括朴素自我博弈方法在内的基线方法

关键发现

  • 验证器至关重要:消融研究表明,移除验证器会由于奖励欺骗导致问题质量迅速崩溃
  • 有效性-难度权衡:框架成功地平衡了生成具有挑战性的问题同时保持有效性
  • 可扩展性:由4B参数模型生成的问题有效地训练和挑战了高达32B参数的模型

要点总结

  • 自主问题生成:VHG代表了向自主科学研究迈出的重要一步,使LLM能够在没有人类专家参与的情况下生成自己的训练数据。

  • 防止奖励欺骗:三方设计优雅地解决了困扰朴素自我博弈方法的奖励欺骗问题,在这些方法中,出题者学会生成无效问题以最大化难度分数。

  • 实用的训练范式:该框架提供了一条实用的路径,可以在没有昂贵的人类专家参与的情况下持续增加训练数据的难度,有可能使LLM超越人类水平的性能。

  • 广泛的适用性:软验证器变体证明了该方法可以推广到形式化数学领域之外,到达精确验证不切实际的领域。

  • 高效扩展:较小模型可以为较大模型生成有用训练数据的发现表明了改进大规模模型的成本效益策略。