# Sim2Reason: Solving Physics Olympiad via Reinforcement Learning on Physics Simulators

Sim2Reason trains physics LLMs on questions generated from physics simulators

Mihir Prabhudesai, Aryan Satpathy, Yangmin Li, Zheyang Qin, Nikash Bhardwaj, Amir Zadeh and 3 more · International Conference on Machine Learning · 2026-9-29

- **Problem** Physics LLM training stalls because there are few large question-answer datasets for physics. Physics simulators could supply them, but earlier attempts to have models call simulators failed.
- **Method** Sim2Reason treats a physics simulator as a generator of verified questions rather than a tool the model calls. It records MuJoCo scenes, turns each recording into a numeric, reverse, or symbolic question, and trains the model with RL.
- **Results** On IPhO Mechanics, Qwen2.5 32B rose from 19.8% to 25.2% after RL on synthetic data.

## Why internet QA data falls short for physics

RLVR has pushed LLMs from pattern matching toward multi-step reasoning, but that progress depends on question-answer pairs. Because of this, the limit is the supply of supervision data rather than model capacity. DeepSeek-R1 is cited as a case where RLVR is bottlenecked by scarcity of supervision data, not by the model.

Physics has the thinnest supply, since it lacks large-scale QA datasets that mathematics enjoys.

Physics engines offer a different source, because they encode physical laws in executable form. They compute future states by numerically integrating ordinary differential equations under constraints, so they can generate unlimited trajectories. Simulator outputs are still approximate, continuous, forward-time traces, while physics problem solving needs inverse, symbolic, and counterfactual reasoning.

## Why a simulator can supply training signal

Sim2Reason treats the physics simulator as a generator of verified question-answer pairs rather than as a tool the model must call. Calling the simulator as a tool would shift the main difficulty from physical reasoning to writing simulator-specific code. The authors' early attempts failed because the models often produced code that was neither executable nor physically accurate.

A simulator computes future states by numerically integrating differential equations under constraints, so it can produce unlimited trajectories.

Those traces are approximate, continuous, forward-in-time numbers, while olympiad problems demand inverse, symbolic and counterfactual reasoning. The authors bridge this gap by turning each recorded trace into a question, so the model practises the reasoning directly. Numeric questions ask for a forward result, such as the velocity of block A at time 3 s.

Reverse questions mask one scene parameter and ask the model to infer it from a recorded state. Symbolic questions replace all numeric parameters with symbols, so the answer is a closed-form expression.

The procedural DSL composes heterogeneous scenes, such as pulley systems combined with rotational dynamics, and generates millions of samples. Because the simulator produces the answers, the pipeline removes the need for human annotation in data generation. Some generated questions are degenerate, either trivially easy or computationally intractable, so the authors prune them.

Shortcut-solvable questions are caught by ablations that remove one entity or glue one joint, and matching answers lead to discarding the question.

## How a scene becomes a graded question

The authors built a domain-specific language with three levels, namely scene, entity and body. Entities group bodies at connection points, so a mass block can sit on a prism but the reverse fails. A scene is built by picking entities at random and joining them, then concatenating their MuJoCo XML templates.

MuJoCo simulates each scene and records masses, plus strings for tension and length. Each acceleration is compared against a sliding-window mean and standard deviation over neighboring timesteps. A sample is truncated when an acceleration deviates from the window mean by at least k standard deviations. The authors set k to 5 during data generation, and a smaller k flags spikes more aggressively.

For each recording, the pipeline picks a body, a physical quantity and a timestep, then writes a question. Numeric questions ask for a value at a given time, such as the velocity of block A at 3 s. Reverse questions mask one scene parameter, so the solver must infer it from the stated outcome. Ablation checks rebuild each scene with one entity removed or a joint replaced by a glued rigid part, then re-simulate it.

A question is discarded if its answer stays the same in any ablated variant, which removes shortcut solutions.

The LLM learns through RLVR, sampling a group of G responses per prompt from the current policy. A response earns a positive reward only if its final answer lies within 5% relative error of the simulator-recorded value. GSPO, a clipped sequence-level policy-gradient objective, optimizes this reward against a reference policy, the base Instruct model.

When a prompt's group has near-zero reward spread, dynamic sampling resamples prompts so each batch holds informative groups.

## Does simulator-only training transfer to real physics benchmarks

Qwen3-30B-Instruct got only 100 RL steps, because its responses run about 8k tokens against about 1.5k for Qwen2.5, which drives up training cost. On IPhO Mechanics, the 32B model rose from 19.8% to 25.2%, a gain of 5.4 points. Qwen3-30B-Instruct rose from 35.6% to 40.0%, a gain of 4.4 points. The abstract's 5 to 10 point range doesn't hold for every size, since Qwen3-30B-Instruct gained less than 5 points.

The per-size rows in Table 1 are therefore the numbers to check against the abstract.

Table 2 reports Qwen2.5 32B on real benchmarks, with JEEBench rising from 34.38% to 52.28%, a gain of 17.90 points. The authors tie this largest gain to JEEBench mechanics questions that match the phenomena the simulator covers. PHYSICS rose from 39.42% to 43.09%, and OlympiadBench rose from 41.41% to 44.53%. On out-of-domain math, AIME 25 went from 10.83% to 12.5% and MATH 500 from 78.4% to 82.8%.

The authors read the math gains as evidence of shared algebraic and multi-step quantitative skills.

On the PHYSICS benchmark, the Postgraduate tier rose from 32.2% to 37.8%, a gain of 5.6 points. The High School and Below tier rose from 65.5% to 68.3%, so the gains are smallest on the easier questions. The authors connect the largest gain at the hardest tier to multi-step quantitative reasoning.

## RL versus SFT on the same synthetic data

The SFT arm trained on 200,000 question-answer pairs built by rejection-sampling solutions from GPT-4, o3, and o4-mini. Those teacher trajectories were then used to fine-tune the LLM directly, with no reward signal during training. SFT gave only modest in-distribution gains on the synthetic evaluation, with the synthetic score rising from 14.0% to 16.0%.

On IPhO, SFT dropped the score from 19.8% to 15.9%, a change of -3.9 points.

RL on the same base model moved the synthetic score from 14.0% to 32.0%, a gain of 18.0 points. On IPhO Mechanics, RL raised the score from 19.8% to 25.2%, a gain of 5.4 points. They present this explanation as a hypothesis, consistent with analyses where narrow or distribution-shifted updates erase general reasoning skills. Their reasoning is that RLVR lets the model explore diverse solution strategies while staying closer to the base policy.

The comparison is reported only for the 32B model, so they didn't test whether the same SFT drop appears at other sizes.

## Simulator data against curated real-world QA

Sim2Reason reaches 40.0% on IPhO when trained only on simulator data, compared to 38.6% for Prime P1 30B. Sim2Reason and Prime P1 both start from Qwen3-30B, while DAPO-32B and LIMO-32B start from Qwen2.5-32B. DAPO-32B reaches 24.7% and LIMO-32B reaches 25.5%, and both were trained on real-world math QA data. The margin over Prime P1 is small, and the IPhO evaluation set has only 77 questions.

The authors found no public physics post-training dataset that could serve as a matched comparison, so they turned to DAPO-17K. DAPO-17K contains 17K curated mathematical problems designed for outcome-reward RL training at scale. On the Qwen 3B model, RL on DAPO-17K lifts IPhO from a 5.68 baseline to 9.98. RL on the synthetic data reaches 13.15 with a 1K-sample subset, which is an order of magnitude smaller than DAPO-17K.

Mixing DAPO-17K with the synthetic data gives 10.35, a smaller gain than synthetic data alone. The authors read this as partial complementarity: generic math data helps broad quantitative skills, while simulator supervision drives the IPhO gains.

Each Qwen2.5 run trained for 200 RL steps with batch size 32 on synthetic questions.

## Simulator accuracy as a benchmark proxy

Real physics evaluation sets are small and costly to build, which makes a cheaper proxy useful. Across the evaluated models, synthetic accuracy and IPhO mechanics accuracy show a Spearman rho of 0.79. Because Spearman measures rank agreement, this supports ranking models and comparing ablations, not predicting an exact score for each question.

## Extending the pipeline to new scene types

The authors asked whether the DSL is a more reliable route than raw simulator code for extending coverage to new scenes. They took three real-world mechanics questions from F=ma, USAPhO, and JEE Advanced that the current DSL can't express. An LLM agent implemented each question in MuJoCo twice, once as direct raw MuJoCo XML and once inside the DSL abstraction space.

Direct XML generation succeeded in only 1 out of 3 cases (33%). Its failures came from incorrect spatial reasoning, joint configuration, or missing components. DSL-based generation succeeded in all 3 cases (100%), needing only minor corrections (Figure 30-32).

The authors read this gap as evidence that raw simulator code is hard for LLMs to write reliably. The DSL, in their view, gives the LLM a more effective abstraction for adding new scenarios. Although the current implementation uses MuJoCo, the authors asked LLMs to port a subset of DSL entities to NVIDIA Omniverse (Figure 33). They observed successful transfer for all entities that Omniverse's physics engine supports.

Broadening coverage doesn't require rebuilding the whole pipeline, since one can extend the DSL and re-implement entities for new backends. The data-generation workflow stays the same across these changes. RL on Sim2Reason improves performance at every tier, with a gain of +2.8% at High School and Below and +5.6% at the Postgraduate tier.

The authors used Gemini 2.5 Flash as a verifier for these results.

## Questions the simulator can't yet model

The rocket-takeoff problem near a star needs celestial-body entities that the DSL doesn't have. The authors say simulating it would need entity logic written for that exact case. Problems like this can require entity design and scene construction built for each setting.

The base Qwen2.5-32B-Instruct model fails to solve this problem in any of eight trials. After RL on the synthetic data, the success rate rises to 50% (4/8). The authors read this as the model learning transferable abstractions, such as formulating constraints and bookkeeping forces and energy. They argue the gain reflects learned abstractions rather than memorized simulated scenes.

Eight trials on one problem is a narrow sample, so this result works best as a single case study.

Beyond this case, the authors group their qualitative examples into three kinds of improvement. Arithmetic gains come from reduced calculation errors, shown in Figures 28 and 29. Strategic planning gains include unit conversions and intermediate checks, shown in Figure 26. These examples are comparative case studies across real-world problems, so they don't serve as a quantitative benchmark.

## What the evidence doesn't cover yet

Physical phenomena the simulator doesn't natively support still need human-in-the-loop engineering, which limits how far the pipeline scales without extension. The authors center the current scope on classical mechanics, which covers most core phenomena in undergraduate and Olympiad-level physics. The authors leave E&M and thermodynamics to future work, so the evidence stays within mechanics.

Qwen3-30B-Instruct trained for 100 RL steps, while the Qwen2.5 models trained for 200 RL steps. The authors cite limited compute as the reason, because Qwen3-30B produces responses of about 8k tokens. So the Qwen3 rows in Table 1 run on a smaller training budget than the Qwen2.5 rows.

Qwen3's synthetic numeric score fell from 8.8% to 8.0%, so gains aren't uniform across reasoning modes. The tables report single values, and they don't give confidence intervals for any of them. The IPhO evaluation set holds 77 questions, and the IPhO gains in Table 1 reach up to 7 percentage points on it. The authors give no run with unfiltered questions among the reported tables, so the filtering effect rests on their claim.

The authors say filtering out shortcut-solvable questions materially improves transfer. The Table 4 comparison sets Sim2Reason against models trained on different real-world corpora, not on a matched setup. The authors report limitations of simulator fidelity and coverage in their impact statement.

## Paper info

- **Authors**: Mihir Prabhudesai, Aryan Satpathy, Yangmin Li, Zheyang Qin, Nikash Bhardwaj, Amir Zadeh, Chuan Li, Katerina Fragkiadaki, Deepak Pathak
- **Venue**: International Conference on Machine Learning · Published
- **First published**: 2026-9-29
- **Added**: 2026-11-28
- **Original paper terms**: [Check in the original ↗](https://proceedings.mlr.press/v306/prabhudesai26a.html)
- **What we show**: Paper info and commentary

[Original paper ↗](https://proceedings.mlr.press/v306/prabhudesai26a.html)

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

## Quote from the paper

Mihir Prabhudesai, Aryan Satpathy, Yangmin Li, Zheyang Qin, Nikash Bhardwaj, Amir Zadeh, Chuan Li, Katerina Fragkiadaki, Deepak Pathak (2026). Sim2Reason: Solving Physics Olympiad via Reinforcement Learning on Physics Simulators. International Conference on Machine Learning. https://proceedings.mlr.press/v306/prabhudesai26a.html

**BibTeX**

```
@article{prabhudesai2026sim2reason,
  title = {{Sim2Reason: Solving Physics Olympiad via Reinforcement Learning on Physics Simulators}},
  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},
  year = {2026},
  journal = {International Conference on Machine Learning},
  url = {https://proceedings.mlr.press/v306/prabhudesai26a.html}
}
```

## Related papers

- [Test-Time Self-Play: Scaling without a Verifier](https://refivu.com/en/papers/d874b334-fefc-42a9-a731-60302efa34e0-test-time-self-play-scaling-without-a-verifier.md)
- [Closing the BF16-FP16 Convergence Speed Gap in RL Post-Training with Stochastic Rounding](https://refivu.com/en/papers/f9fb9b28-f396-4ff4-ba93-e6dfad9e0f45-closing-the-bf16-fp16-convergence-speed-gap-in.md)
- [Learning through Discernment: when a small language model learns from user feedback on the job, and when it decays](https://refivu.com/en/papers/abd047d8-b03e-463c-ae87-fea894fdeedf-learning-through-discernment-when-a-small-language-model.md)
- [Negative-Only Policy Optimization for One-Sided Verifiable Rewards](https://refivu.com/en/papers/75703081-c2a7-460f-8f67-70f70b2f4385-negative-only-policy-optimization-for-one-sided-verifiable.md)
- [Gemma 2: Improving Open Language Models at a Practical Size](https://refivu.com/en/papers/aaf9911d-9b96-4e9e-be15-d3cdb554211a-gemma-2-improving-open-language-models-at-a.md)
- [Gemma: Open Models Based on Gemini Research and Technology](https://refivu.com/en/papers/e2b5810b-65da-4a36-9bd2-a17a9a6f8512-gemma-open-models-based-on-gemini-research-and.md)

## Terms in this paper

- [MuJoCo](https://refivu.com/en/terms/3bbbe9014268-mujoco)
- [RLVR](https://refivu.com/en/terms/9db572695d9a-rlvr)
- [supervised fine-tuning (SFT)](https://refivu.com/en/terms/b08583cba2aa-supervised-fine-tuning-sft)
- [exact-match accuracy](https://refivu.com/en/terms/84268f31e595-exact-match-accuracy)
- [OlympiadBench](https://refivu.com/en/terms/5264967c4c0e-olympiadbench)
- [DAPO-17k](https://refivu.com/en/terms/8b7cac4ad213-dapo-17k)
- [domain-specific language (DSL)](https://refivu.com/en/terms/719353926aa3-domain-specific-language-dsl)
- [mean@8](https://refivu.com/en/terms/d7694bd70ac9-mean-8)
- [Numeric questions](https://refivu.com/en/terms/a4ba1d66343b-numeric-questions)

---

AI-written text can contain mistakes. [Refivu](https://refivu.com/en/papers/bdc2b626-1e41-48b4-85fe-853b3067fc0a-sim2reason-solving-physics-olympiad-via-reinforcement)
