Training lLMs to reason correctly using physics axioms improves accuracy

Axiomatic World Modeling for Physics Reasoning

Artificial IntelligenceComputation and Language

Summary

Large language models (LLMs) often make mistakes in physics reasoning because they misunderstand the problem’s physical setup, such as changing values or inventing rules. The authors call this problem modeling drift, where the model’s internal view of the world doesn’t match reality. They created a new training method that rewards the LLMs for correctly understanding and sticking to the real physics ideas before solving a problem. This method improves their ability to solve physics questions, even on harder or more varied problems.

What this means in practice

  • For ai developers: Train language models to better understand and apply physics concepts, reducing errors caused by incorrect problem interpretation.
  • For educational technology teams: Create smarter educational tools that provide accurate step-by-step physics problem solving by ensuring the model grounds its reasoning in correct physical principles.

Authors

Xinye Yang, Zhenyang Liu, Yuxuan Wang, Yuanyuan Lei

Abstract

Recent research-level physics-reasoning benchmarks for LLMs reveal a failure mode that lies not in knowledge or execution, but in modeling the world being reasoned about. Models often silently alter given quantities, fabricate laws, or inject unstated assumptions to force a problem into familiar patterns, and then reason inside this corrupted world. We define this premise-level divergence as modeling drift: the gap between a model's internal axiomatic world model (AWM) and the true physical world specified in the problem. Although RLVR and PRM have yielded substantial gains in mathematics and code, their reward shapes do not directly supervise world modeling in axiomatic domains such as physics. We propose Reinforcement Learning with Axiomatic World Modeling (RLAWM), which optimizes the policy by penalizing divergence between its inferred axiomatic world model and the true physics world. RLAWM probes physics reasoning at two hierarchical levels (modeling and solving), each scored by a physically grounded reward. The modeling reward targets abstract knowledge formulation, evaluating whether the model captures the true axiomatic world before attempting calculation. The solving reward targets instantiated knowledge reasoning, checking whether the model's concrete derivation remains consistent with the axiomatic world. This two-level structure separates what world the model believes it is reasoning in from how it reasons within that world. The framework operates exclusively during training, with no extra cost during inference. RLAWM improves performance by up to +12.2 points on PhysReason and +5.2 on PHYSICS over the baseline. It also generalizes zero-shot across difficulty, source, and domain, with a 2.45x gain and +10 points over the strongest baseline on olympiad-level physics and math.