Physical regime changes expose formula misuse in large language models
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%.
Create a lesson
Related papers
Fuzzy e-Means: Fuzzy c-Means on Large Data with Moving-Average Mini-Batch Updates
Shared title terminology · Paritosh Tiwari, Punit Rathore
Pain Reassessment from Pulse Waveforms with Language Model Explanations
Shared title terminology · Cheng Ding, Jiaming Liu, Daoqiang Zhang
PhyMind: Physics-Informed Masked Autoencoding for EEG Foundation Models
Shared title terminology · A Adith
Pixel Auto-Encoder: Reconstructing Language Model Activations Through Pixel Art
Shared title terminology · Haru Furuichi, Phan Xuan Tan
Interpreting Diffusion Model Activations in Natural Language
Shared title terminology · Yukinori Yamamoto, Kotaro Yoshida, Ryotaro Shimizu
Don't Train It, Write It: An AI Agent Writes New Capabilities into Language Model Weights
Shared title terminology · Santiago Rivadeneira Quintero