cs.CLMar 15, 2026

Infinite Problem Generator: Verifiably Scaling Physics Reasoning Data with Agentic Workflows

Authors: Aditya Sharan, Sriram Hebbale, Dhruv Kumar

Organizations: BITS Pilani, Pilani Campus, India

Abstract

Training large language models for complex reasoning is bottlenecked by the scarcity of verifiable, high-quality data. In domains like physics, standard text augmentation often introduces hallucinations, while static benchmarks lack the reasoning traces required for fine-tuning. We introduce the Infinite Problem Generator (IPG), an agentic framework that synthesizes physics problems with guaranteed solvability through a Formula-as-Code paradigm. Unlike probabilistic text generation, IPG constructs solutions as executable Python programs, enforcing strict mathematical consistency. As a proof-of-concept, we release ClassicalMechanicsV1, a high-fidelity corpus of 1,335 classical mechanics problems expanded from 165 expert seeds. The corpus demonstrates high structural diversity, spanning 102 unique physical formulas with an average complexity of 3.05 formulas per problem. Furthermore, we identify a Complexity Blueprint, demonstrating a strong linear correlation (R2≈0.95R^2 \approx 0.95) between formula count and verification code length. This relationship establishes code complexity as a precise, proxy-free metric for problem difficulty, enabling controllable curriculum generation. We release the full IPG pipeline, the ClassicalMechanicsV1 dataset, and our evaluation report to support reproducible research in reasoning-intensive domains.

Figures & tables

Appendix figures & tables1 asset

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. TIRE: Top-Down Formula Instantiation with Reliable Execution for Physics Problem Synthesis

    Oct 18, 2026Xiaoyu Wu, Zhaoxin Yu, Xinglin Xiao +1Synthetic Data Generation for Language ModelsScientific Reasoning in Language Models

  2. Learning to Pose Problems: Reasoning-Driven and Solver-Adaptive Data Synthesis

    Nov 13, 2025Yongxian Wei, Yilin Zhao, Li Shen +7Synthetic Data GenerationSynthetic Data Generation for Language Models

  3. Code2Math: Can Your Code Agent Evolve Math Problems Through Exploration?

    Mar 3, 2026Dadi Guo, Yuejin Xie, Qingyu Liu +11Mathematical Problem GenerationSynthetic Benchmark Generation