Physics simulation capabilities of LLMs
Not on the map. Why?
Abstract (arXiv)
[Abridged abstract] Large Language Models (LLMs) can solve some undergraduate-level to graduate-level physics textbook problems and are proficient at coding. Combining these two capabilities could one day enable AI systems to simulate and predict the physical world. We present an evaluation of state-of-the-art (SOTA) LLMs on PhD-level to research-level computational physics problems. We condition LLM generation on the use of well-documented and widely-used packages to elicit coding capabilities in the physics and astrophysics domains. We contribute ~ 50 original and challenging problems in celestial mechanics (with REBOUND), stellar physics (with MESA), 1D fluid dynamics (with Dedalus) and non-linear dynamics (with SciPy). Since our problems do not admit unique solutions, we evaluate LLM performance on several soft metrics: counts of lines that contain different types of errors (coding, physics, necessity and sufficiency) as well as a more "educational" Pass-Fail metric focused on capturing the salient physical ingredients of the problem at hand. As expected, today's SOTA LLM (GPT4) zero-shot fails most of our problems, although about 40% of the solutions could plausibly get a passing grade. About 70-90 % of the code lines produced are necessary, sufficient and correct (coding & physics). Physics and coding errors are the most common, with some unnecessary or insufficient lines. We observe significant variations across problem class and difficulty. We identify several failure modes of GPT4 in the computational physics domain. Our reconnaissance work provides a snapshot of current computational capabilities in classical physics and points to obvious improvement targets if AI systems are ever to reach a basic level of autonomy in physics simulation capabilities.
Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Builds on 9 of its 29 references that are in the map. First posted on arXiv 4 Dec 2023.
Builds on
9 of 29 references.
References · 9
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2020Measuring Massive Multitask Language Understandingcited by 7,963
- 2023GPQA: A Graduate-Level Google-Proof Q&A Benchmarkcited by 2,879
- 2023GAIA: a benchmark for General AI Assistantscited by 1,128
- 2023The Dawn of LMMs: Preliminary Explorations with GPT-4V(ision)cited by 681
- 2023A Survey of Hallucination in Large Foundation Modelscited by 368
- 2023Embers of Autoregression: Understanding Large Language Models Through the Problem They are Trained to Solvecited by 178
- 2023Scalable AI Safety via Doubly-Efficient Debatecited by 57
- 2023Bridging the Human-AI Knowledge Gap: Concept Discovery and Transfer in AlphaZerocited by 42
Built on by
Citing papers per year: 2025: 1; 2026: 5.
6 papers.
- 2025Large Physics Models: Towards a collaborative approach with Large Language Models and Foundation Modelscited by 14
- 2026SciPredict: Can LLMs Predict the Outcomes of Scientific Experiments in Natural Sciences?cited by 3
- 2026AFD-INSTRUCTION: A Comprehensive Antibody Instruction Dataset with Functional Annotations for LLM-Based Understanding and Designcited by 1
- 2026Perceptual Self-Reflection in Agentic Physics Simulation Code Generationcited by 1
- 2026AutoMS: Multi-Agent Evolutionary Search for Cross-Physics Inverse Microstructure Designcited by 1
- 2026Large language models for partial differential equation workflowscited by 0
- 2026Large language models for partial differential equation workflows4 Aug 2026
- 2026SciPredict: Can LLMs Predict the Outcomes of Scientific Experiments in Natural Sciences?12 Apr 2026
- 2026AutoMS: Multi-Agent Evolutionary Search for Cross-Physics Inverse Microstructure Design28 Mar 2026
- 2026Perceptual Self-Reflection in Agentic Physics Simulation Code Generation12 Feb 2026
- 2026AFD-INSTRUCTION: A Comprehensive Antibody Instruction Dataset with Functional Annotations for LLM-Based Understanding and Design4 Feb 2026
- 2025Large Physics Models: Towards a collaborative approach with Large Language Models and Foundation Models9 Jan 2025