Physical regime changes expose formula misuse in large language models

Maohao Ran, Yanting Zhang, Chendong Ma, Jun SongarXiv 2026

Imagine you’re a physics TA grading a stack of papers. You see a student solve a complex fluid dynamics problem using a simple linear approximation. The math is perfect, the units check out, and the code they wrote runs without a hitch. The only problem? The approximation they used is only valid for a gentle breeze, and the problem was about a hurricane. The answer is "plausible," but physically, it's nonsense.

This is the "formula misuse" problem currently plaguing Large Language Models (LLMs) in scientific computing. A new paper titled "Physical regime changes expose formula misuse in large language models" dives deep into why our AI assistants are so prone to these "right math, wrong universe" errors.

TL;DR

LLMs are like eager students who have memorized the most popular formulas in a textbook but ignored the "validity" footnotes. They frequently apply simple, familiar equations to physical scenarios where they no longer work—a failure that drops their accuracy by up to 57%. While reinforcement learning helps, the real breakthrough comes from showing the model just a few "worked examples" to break its habit of over-relying on standard formulas.

What Problem Does This Paper Address?

In the Earth and environmental sciences, nature rarely follows a single rule. Physical laws are regime-dependent. For example, the way CO2 traps heat changes from a linear relationship to a logarithmic one as its concentration increases.

Figure 1b shows how a linear approximation for CO2 forcing fails as concentration doubles.

The authors argue that as we trust LLMs to do more scientific heavy lifting—planning experiments or writing simulation code—we run into a "silent failure" mode. A model might produce a numerically consistent result that is fundamentally unphysical because it used a formula outside its domain of validity. These errors are incredibly hard to catch through routine inspection because the output looks correct.

Methods

The researchers didn't just ask models to solve random physics problems; they built a "trap." They created a benchmark of 72 physical mechanisms, each with four variants:

  1. Inside: The standard formula works.
  2. Outside: The standard formula fails (the "trap").
  3. Given: Outside regime, but the correct formula is provided in the prompt.
  4. Flag: Outside regime, with a warning that the standard formula is invalid.

To fix these failures, they tested three post-training strategies:

  • RLVR (Reinforcement Learning with Verifiable Rewards): Rewarding the model when its code produces the correct numerical answer.
  • SFT (Supervised Fine-Tuning) + RL: Giving the model a tiny "warm start" with 1–4 worked examples before letting RL take over.
  • Teacher Distillation: Using a "teacher" model (which has access to the correct formula) to guide a "student" model token-by-token.

Datasets

  • AtmosRegime: A new, controlled benchmark introduced by the authors covering 72 mechanisms across ten atmospheric subfields (radiation, cloud physics, etc.).
  • AtmosCoder-Bench: An existing dataset used to test if the training generalized to broader scientific programming tasks.
  • Textbook Problems: 54 independent problems pulled from real-world textbooks to ensure the failures weren't just artifacts of the authors' templates.

Key Insights and Ideas

  • The "Standard Formula" Magnet: When models get a problem wrong, they don't just hallucinate random numbers. Their errors cluster tightly around the value predicted by the wrong standard formula. They are essentially "over-fitting" to the most common equations in their training data.
  • Knowing $\neq$ Doing: In a fascinating "aha" moment, the authors found that models often know a formula is invalid. When prompted, DeepSeek V4 Flash correctly flagged a formula as invalid 32% of the time—but then it went ahead and used that same invalid formula to solve the problem anyway!
  • The Reachability Ceiling: Reinforcement Learning (RL) is great at reinforcing what a model can do, but it struggles to teach entirely new formulas. If the model never happens to guess the right formula during training, RL has nothing to reward. This is why the "warm start" with worked examples was so critical.
Figure 1. Physical regimes, controlled evaluation, and training strategies. a, Four representative mechanisms illustrating regime-dependent formula validity. b, CO2 radiative forcing as an example of regime-dependent approximations. c, Four variants of the same problem testing formula applicability, regime warnings, and explicit formula provision. Model responses are illustrative, not measured frequencies. d, Effects of three training strategies on mechanisms rarely solved by the base model: reinforcement learning (RL), supervised fine-tuning (SFT) followed by RL, and teacher-guided distillation (Figs. 5–8).

Key Results

  • The Accuracy Gap: Moving from an "inside-regime" to an "outside-regime" problem caused accuracy to plummet by 13 to 57 percentage points across various frontier models.
  • Small Models, Big Gains: By using RLVR, a relatively small Qwen3.5-9B model was able to match the performance of the massive DeepSeek V4 Flash (284B) on these regime-dependent tasks.
  • The Power of Examples: Combining SFT on just a few worked examples with RL improved accuracy by 61 percentage points on problems the base model previously couldn't solve at all.
  • Distillation Success: Teacher-guided distillation was the most potent "shot in the arm," raising accuracy from 0% to 71% on the hardest mechanisms.

Limitations and Future Work

The authors are careful to note that their benchmark uses controlled templates. While this is great for scientific rigor, it doesn't necessarily prove that these models will handle the messy, ambiguous language of a real-world research paper.

Furthermore, the study focused on 8-9B parameter models for the training experiments. While these models showed they could "learn" the right formulas, it’s still unclear if they truly understand the physics of why a regime has changed, or if they’ve just learned a more complex "if-then" mapping for those specific problems. The next frontier? Seeing if these models can independently identify regime boundaries in completely novel, unstructured scientific problems.

Summary updated

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%.
BibTeX
@misc{ran2026physical,
  author = {Maohao Ran and Yanting Zhang and Chendong Ma and Jun Song},
  title = {{Physical regime changes expose formula misuse in large language models}},
  year = {2026},
  eprint = {2611.28669},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.28669},
}
Figure