Sim2Reason: Solving Physics Olympiad via Reinforcement Learning on Physics Simulators

Mihir Prabhudesai, Aryan Satpathy, Yangmin Li, Zheyang Qin, Nikash Bhardwaj, Amir Zadeh, Chuan Li, Katerina Fragkiadaki, Deepak Pathak

Introduction

We are currently witnessing a remarkable leap in the reasoning capabilities of Large Language Models (LLMs), largely driven by Reinforcement Learning with Verifiable Rewards (RLVR). However, this progress faces a looming "data bottleneck." While domains like mathematics benefit from an abundance of high-quality question-answer (QA) pairs, other scientific fields—particularly physics—suffer from a severe lack of large-scale, verifiable datasets.

To overcome this limitation, researchers have developed Sim2Reason, a novel pipeline that leverages physics simulators to procedurally generate millions of synthetic, "Olympiad-style" physics problems. By training LLMs using reinforcement learning on this simulated data, the models achieve significant zero-shot performance gains on real-world benchmarks, including the International Physics Olympiad (IPhO), without relying on a single real-world training example.

The Physics Data Bottleneck

Currently, less than 1% of the data used to train top-tier reasoning models involves STEM topics outside of mathematics and coding. Internet-scraped physics data is often sparse, lacks detailed intermediate reasoning steps, and fails to capture "hidden" variables—such as instantaneous forces, tension, or energy transfers—that are essential for deep scientific understanding. Consequently, LLMs frequently struggle with complex, multi-step physical problems, often resorting to superficial pattern matching rather than genuine physical reasoning.

Methodology: Simulators as Infinite Reasoning Factories

The core innovation of Sim2Reason is treating a physics engine (MuJoCo) as an automated, scalable supervisor. This "Sim-to-Reason" framework operates through a four-stage pipeline:

  1. Scene Generation via DSL: The researchers designed a Domain-Specific Language (DSL) to procedurally build diverse physical systems, such as pulleys, inclined planes, colliding spheres, and orbiting planets. This enables "physically meaningful randomization"—ensuring that changes to a block's mass alter the physics, while changes to a string's color do not.
  2. Simulation: These generated scenes are executed in MuJoCo to record ground-truth trajectories and precise physical quantities over time.
  3. QA Pair Generation: From these simulation traces, the pipeline generates three types of questions:
  4. Numeric: Forward reasoning (e.g., "What is the velocity of the mass at time t?").
  5. Reverse: Parameter inference (e.g., "What was the initial mass if the final velocity is v?").
  6. Symbolic: Closed-form expressions (e.g., "Find the algebraic formula for acceleration").
  7. Shortcut Filtering: To prevent the model from learning "cheats," the system performs ablations. It removes parts of a scene; if the answer remains unchanged, the question is discarded, ensuring the remaining questions truly require an understanding of complex multi-body interactions.

Finally, LLMs (specifically from the Qwen 2.5 and 3 families) are post-trained using RLVR. The model receives a reward only if its final answer falls within a 5% relative error margin of the simulator's ground truth.

Key Insights

  • Simulators as "Verifiers": Unlike static text, a simulator provides a verifiable ground truth for virtually any imaginable scenario. This transforms physics into a "closed-loop" learning environment, much like math or code compilation.
  • RL Outperforms SFT: The authors discovered that Supervised Fine-Tuning (SFT) on "perfect" simulated solutions actually degraded performance due to catastrophic forgetting. Reinforcement Learning, however, allowed the model to explore diverse reasoning paths while remaining anchored to its foundational capabilities.
  • The "Thinking" Correlation: There is a strong positive correlation between the length of the model's Chain of Thought (CoT) and its accuracy. Post-training on simulator data explicitly encouraged the models to engage in more extensive and rigorous intermediate reasoning.
  • Generalization Beyond the DSL: Remarkably, models trained on relatively simple MuJoCo scenes improved on problems the simulator couldn't even run—such as relativistic rockets or complex celestial mechanics. This suggests the models learned transferable physical principles rather than just memorizing simulator-specific patterns.

Real-World Results

The models were evaluated on a suite of rigorous real-world benchmarks, including IPhO (1967–2025), JEEBench (high-difficulty Indian entrance exams), OlympiadBench, and H.C. Verma's Concepts of Physics.

  • Zero-Shot Gains: Training exclusively on synthetic data improved IPhO performance by 5 to 10 percentage points across various model sizes.
  • Benchmark Dominance: A Qwen3-30B model trained with Sim2Reason achieved 40.0% on IPhO, outperforming Prime P1 30B (38.6%), a model trained on curated real-world physics data.
  • Massive Leap in JEEBench: The 32B model demonstrated a staggering +17.9% improvement on the JEEBench physics section.
  • Cross-Domain Boost: Despite the physics-focused training, the models exhibited a +1.6% to +4.4% gain on advanced math benchmarks (AIME 2025 and MATH 500), proving that rigorous physical reasoning reinforces general quantitative and mathematical skills.

Limitations and Future Work

While Sim2Reason represents a major step forward, the current framework focuses primarily on classical mechanics. Extending this pipeline to electromagnetism, thermodynamics, and quantum mechanics is a critical next step. Additionally, because simulators are ultimately approximations, models might inherit "sim-to-real" gaps if the simulator's ODE integrators fail in edge cases. Finally, while scene generation is automated, the initial DSL entities were designed by humans. Future iterations could involve LLMs "inventing" their own simulation entities to autonomously explore and master even more niche areas of science.

Summary updated

BibTeX
@inproceedings{prabhudesai2026sim,
  author = {Mihir Prabhudesai and Aryan Satpathy and Yangmin Li and Zheyang Qin and Nikash Bhardwaj and Amir Zadeh and Chuan Li and Katerina Fragkiadaki and Deepak Pathak},
  title = {{Sim2Reason: Solving Physics Olympiad via Reinforcement Learning on Physics Simulators}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=rQ7eobSCZZ},
}
Figure