Physical regime changes expose formula misuse in large language models
Organizations: Department of Geography, Hong Kong Baptist University, Hong Kong SAR, China · Hong Kong University of Science and Technology, Hong Kong SAR, China
Abstract
Large language models (LLMs) are increasingly employed for scientific computing across the Earth and environmental sciences, but problems in these fields often involve distinct physical regimes. LLMs may fail to recognize these regime-dependent constraints, applying formulas outside their domains of validity and producing plausible but physically incorrect results. We systematically investigate these failures through controlled experiments and assess whether post-training can improve regime-aware reasoning. Across 72 physical mechanisms, we find frontier LLMs frequently misapply formulas outside their regimes of validity, reducing accuracy by 13-57 percentage points. Reinforcement learning with verifiable rewards enables Qwen3.5-9B to match DeepSeek V4 Flash (284B) on regime-dependent tasks, but its effectiveness is limited by the formulas available in the base model. Combining supervised fine-tuning on a few worked examples with reinforcement learning improves accuracy by 61 percentage points, while distillation from a teacher supplied with the correct formula raises accuracy from 0% to 71%.
Figures & tables
| Subfield | Standard formula | Fails when | Replacement | Example: standard / correct |
|---|---|---|---|---|
| Radiation | Line width (Lorentz) | Low pressure; Doppler width dominates | Voigt width | 0.415 / 18.0 MHz |
| Radiation | Beer’s law, | Isotropic (diffuse) incident flux | Diffusivity factor, | 178 / 136 W m -2 |
| Climate | Linear forcing, | Concentration far from | 6.72 / 4.35 W m -2 | |
| Thermodynamics | Linear extrapolation of | Large temperature change | Exponential (Clausius–Clapeyron) | 33.5 / 42.5 hPa |
| Aerosols | Stokes settling speed | Particle size near the mean free path | Cunningham slip correction | 4.16 / 7.16 |
| Chemistry | Henry’s law, , fixed gas reservoir | Very soluble gas in a closed parcel | 41,600 / 19,400 nmol L -1 |
Scientific Reasoning in Language Models
Scientific reasoning in language models studies how AI systems use evidence, domain knowledge, and tools to solve problems and support discovery.
See all 176 papers