TL;DR
When large language models fail at physics, it is rarely because they forgot the algebra; it is because they silently invent a convenient, imaginary universe to solve the problem in. This paper introduces RLAWM, a training framework that forces models to explicitly build a faithful physical setup before crunching numbers, then tests their derivations like executable code. Best of all, this training internalizes physical rigor directly into the model with zero extra cost at test time, boosting accuracy across both Olympiad physics and competition math.
What Problem Does This Paper Address?
Unlike pure math problems, where the rules and goals arrive neatly packaged, physics problems are messy. Before doing a single line of algebra, a physicist must build an Axiomatic World Model (AWM): deciding which physical laws apply, what geometry holds, and which assumptions are safe.
Current LLMs are notorious for modeling drift—a failure at the premise level. Instead of solving the problem given, a model might misread a horizontal track as vertical, do flawless math inside that broken reality, hit an impossible result (like a negative squared velocity, $v^2 < 0$), and then silently delete an electric field from the problem just to make the contradiction vanish!
Standard reinforcement learning (RL) methods—like RL with Verifiable Rewards (RLVR), which only checks the final answer, or Process Reward Models (PRMs), which judge whether intermediate text sounds plausible—miss this completely. You can execute locally sound steps inside a completely hallucinated universe and still fool a text judge or stumble into a lucky final answer.
Methods
The authors leverage a classic asymmetry in physics: verifying a physical claim (e.g., checking conservation of energy or how velocity scales if you double the mass) is much easier than deriving it from scratch. To turn static LLM text into something verifiable, they propose Reinforcement Learning with Axiomatic World Modeling (RLAWM), built on top of standard Group Relative Policy Optimization (GRPO).
During training, the model must split its output into two blocks, separating what world it believes it is in from how it reasons inside that world:
[modeling]Block & Modeling Reward ($R_M$): The model externalizes its physical setup across five structured fields (objects,constraints,representation,mapping, andplan). Instead of asking an LLM judge "is this good physics?", a frozen LLM extracts structured tuples (like quantity–law–context) from both the model's setup and the ground truth, and a deterministic rule computes an F1 score called Physics Modeling Fidelity (PMF).[solving]Block & Solving Reward ($R_S$): The model writes its derivation as structured pseudocode. A frozen coder model (Qwen2.5-Coder-1.5B) translates this into executable Python, where a programmatic checker runs unit tests drawn from 147 reusable physics-law templates. It probes invariants (do conservation laws hold?), trace consistency, and perturbations (if an input nudges up, does the output move in the physically expected direction?).
These two signals combine with standard final-answer correctness ($R_A$) into a joint training objective. Crucially, all extractors, translators, and checkers exist only during training—at inference time, the model runs standalone with zero overhead.
Datasets
No new benchmarks are introduced; instead, the authors evaluate across five existing datasets to test both in-distribution fit and zero-shot generalization:
- In-Distribution (9:1 train/test splits): PhysReason (1,200 problems, 81% multimodal with figures) and PHYSICS-text_only (996 university-to-graduate problems across six subdomains).
- Out-of-Distribution (Zero-shot from PhysReason training): OlympiadBench-Phys (236 competition problems testing cross-difficulty shift), PHYBench (500 original, offline student-written symbolic problems testing cross-source shift), and AIME 2026 (competition math testing cross-domain shift).
Key Insights and Ideas
-
Escaping "Diversity Collapse": Standard RLVR and judge-based rewards often cause models to overfit to narrow reasoning templates—raising single-try accuracy (
SubPass@1), but falling below the untrained base model when given 100 tries (SubPass@100). Because RLAWM enforces physical laws rather than prescribing a single text path, it lets the model freely explore valid coordinate frames and strategies, expanding its reasoning boundary monotonically. SubPass@k scaling on Qwen3-VL-8B: while standard RL methods collapse below the vanilla model at high sample counts, RLAWM continues to climb. -
Waking Up Silent Gradients: In GRPO, if all 8 rollouts on a hard problem get the final answer wrong, the group has zero variance and yields zero learning signal (happening ~30% of the time under outcome-only RL). RLAWM's graded checker tests recover 69% of those dead groups, rewarding partial physical validity so hard problems stay in play.
- LLMs Make Better Parsers Than Judges: When swapping the external $R_M$ scorer from
gpt-4o-minidown to a smaller 4B model, holistic LLM-as-Judge performance drops roughly twice as hard as PMF. Restricting the LLM to schema-bounded text extraction keeps its reasoning flaws out of the reward loop.
Key Results
Tested across Qwen3-VL (4B, 8B) and Gemma-3-12B-IT, RLAWM outperforms Vanilla, RLVR, Likert-Judge, and Rubrics-as-Rewards baselines on every backbone:
- In-Distribution: Gains up to +12.2 points on PhysReason (reaching 47.9% Overall on Qwen3-VL-8B vs. 37.1% for the best baseline) and +5.2 points on PHYSICS (29.0% vs. 23.8%).
- Zero-Shot Generalization: On OlympiadBench-Phys (8B), RLAWM achieves 15.2%—a 2.45× jump over RLVR (6.2%). On PHYBench, it hits 10.5% (vs. 8.7% strongest baseline).
- Cross-Domain Math: Trained only on physics (Zero-RL without SFT), RLAWM scores 56.7% on AIME 2026, beating RLVR by +10.0 points—proving that learning not to drift from premises transfers directly to mathematics.
Limitations and Future Work
- Subdomain Variance: Gains are noticeably larger in Classical Mechanics, E&M, and Optics than in Quantum or Statistical Mechanics, where abstract operator algebra is harder to capture with explicit coordinate frames and programmatic checkers.
- Checker Blind Spots: The solving checker has a 15.8% false-positive rate—mostly when physical laws hold throughout the trace, but the model botches the final algebraic simplification (which is why keeping a small weight on final-answer reward $R_A$ remains necessary).
- Future Directions: The authors plan to replace static, pre-generated unit checkers with dynamic agentic probes, and develop self-contained modeling rewards that remove the reliance on external LLM extractors during training.
Summary updated