• Open Access IconOpen Access
  • Cite Icon5
  • https://doi.org/10.1088/1402-4896/ad7a27Copy DOI Icon

Physics simulation capabilities of LLMs

Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
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, such as poor physical units handling, poor code versioning, tendency to hallucinate plausible sub-modules, lack of physical justification for global run parameters (e.g., simulation time, or upper-lower bounds for parametric exploration) and inability to define steady-state or stopping conditions reliably. 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.

Similar Papers
  • Research Article
  • Citations63

Physician- and Large Language Model–Generated Hospital Discharge Summaries

  • May 05, 2025
  • JAMA Internal Medicine
  • Christopher Y K Williams +23
  • Conference Article
  • Citations3

On the use of Large Language Models to Detect Brazilian Politics Fake News

  • Nov 17, 2024
  • Marcos P S Gôlo +6
  • Research Article
  • Citations1

Assessing the Creativity of LLMs in Proposing Novel Solutions to Mathematical Problems

  • Apr 11, 2025
  • Proceedings of the AAAI Conference on Artificial Intelligence
  • Junyi Ye +4
  • Supplementary Content

When AI Meets the FDA: An Evaluation of Large Language Models Performance in Regulatory and Clinical Trial Data Extraction, Synthesis, and Analysis

  • Dec 27, 2025
  • medRxiv
  • K Bukhari +6
  • Conference Article
  • Citations16

HOLMES: Hyper-Relational Knowledge Graphs for Multi-hop Question Answering using LLMs

  • Jan 01, 2024
  • Pranoy Panda +4
  • Research Article
  • Citations10

Does GPT-4 surpass human performance in linguistic pragmatics?

  • Jun 10, 2025
  • Humanities and Social Sciences Communications
  • Ljubiša Bojić +2
  • Supplementary Content
  • Citations4

Public Health Risk Management, Policy, and Ethical Imperatives in the Use of AI Tools for Mental Health Therapy

  • Oct 28, 2025
  • Healthcare
  • Francis C Ohu +2
  • Research Article
  • Citations13

Are large language models valid tools for patient information on lumbar disc herniation? The spine surgeons' perspective

  • Jan 01, 2024
  • Brain and Spine
  • Siegmund Lang +8
  • Research Article

HomLLM: Exploiting Semantic Homology Relationship for Fine-Grained Bird Image Classification via Large Language Models.

  • Mar 01, 2026
  • IEEE transactions on neural networks and learning systems
  • Hai Liu +6
  • Research Article

Evaluating literary translation by large language models: a multidimensional quality assessment of Shen Congwen’s Border Town

  • Mar 14, 2026
  • Humanities and Social Sciences Communications
  • Wei Yang +1
  • Conference Article

A Novel AI System for Trustworthy and Accurate Diagnostics and Troubleshooting

  • Mar 15, 2025
  • Max Z Li
  • Research Article

Modern Approaches to Using Knowledge Bases to Address the Challenges of Large Language Models

  • May 12, 2025
  • NaUKMA Research Papers. Computer Science
  • Maksym Androshchuk
  • Research Article
  • Citations131

R2GenGPT: Radiology Report Generation with frozen LLMs

  • Nov 01, 2023
  • Meta-Radiology
  • Zhanyu Wang +3
  • Research Article

REaMA: Building Biomedical Relation Extraction Specialized Large Language Models Through Instruction Tuning.

  • Dec 01, 2025
  • IEEE transactions on neural networks and learning systems
  • Yidan Zhang +4
  • Research Article

Intelligent Head and Neck CTA Report Quality Detection with Large Language Models.

  • Aug 27, 2025
  • Journal of imaging informatics in medicine
  • Liping Tian +3
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.