SciML Agents: Write the Solver, Not the Solution
On the map: LLM agents and tool use → Web, search, and research agents
Abstract (arXiv)
Recent work in scientific machine learning aims to tackle scientific tasks directly by predicting target values with neural networks (e.g., physics-informed neural networks, neural ODEs, neural operators, etc.), but attaining high accuracy and robustness has been challenging. We explore an alternative view: use LLMs to write code that leverages decades of numerical algorithms. This shifts the burden from learning a solution function to making domain-aware numerical choices. We ask whether LLMs can act as SciML agents that, given a natural-language ODE description, generate runnable code that is scientifically appropriate, selecting suitable solvers (stiff vs. non-stiff), and enforcing stability checks. There is currently no benchmark to measure this kind of capability for scientific computing tasks. As such, we first introduce two new datasets: a diagnostic dataset of adversarial "misleading" problems; and a large-scale benchmark of 1,000 diverse ODE tasks. The diagnostic set contains problems whose superficial appearance suggests stiffness, and that require algebraic simplification to demonstrate non-stiffness; and the large-scale benchmark spans stiff and non-stiff ODE regimes. We evaluate open- and closed-source LLM models along two axes: (i) unguided versus guided prompting with domain-specific knowledge; and (ii) off-the-shelf versus fine-tuned variants. Our evaluation measures both executability and numerical validity against reference solutions. We find that with sufficient context and guided prompts, newer instruction-following models achieve high accuracy on both criteria. In many cases, recent open-source systems perform strongly without fine-tuning, while older or smaller models still benefit from fine-tuning. Overall, our preliminary results indicate that careful prompting and fine-tuning can yield a specialized LLM agent capable of reliably solving simple ODE problems.
Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Placed in Web, search, and research agents, one of 16 directions in LLM agents and tool use. Builds on 31 of its 37 references that are in the map. First posted on arXiv 12 Sep 2025.
Builds on
31 of 37 references.
References · 31
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2018Neural Ordinary Differential Equationscited by 3,779
- 2021Program Synthesis with Large Language Modelscited by 3,637
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
- 2020Fourier Neural Operator for Parametric Partial Differential Equationscited by 2,908
- 2019DeepONet: Learning nonlinear operators for identifying differential equations based on the universal approximation theorem of operatorscited by 2,018
- 2021Measuring Coding Challenge Competence With APPScited by 902
- 2020Neural Operator: Graph Kernel Network for Partial Differential Equationscited by 734
- 2022PAL: Program-aided Language Modelscited by 652
- 2021Characterizing possible failure modes in physics-informed neural networkscited by 643
- 2017The Deep Ritz method: A deep learning-based numerical algorithm for solving variational problemscited by 583
- 2022DS-1000: A Natural and Reliable Benchmark for Data Science Code Generationcited by 452
19 more
- 2023Logic-LM: Empowering Large Language Models with Symbolic Solvers for Faithful Logical Reasoningcited by 391
- 2020Model Reduction and Neural Networks for Parametric PDEscited by 258
- 2017Solving ill-posed inverse problems using iterative deep neural networkscited by 145
- 2019Prediction of Aerodynamic Flow Fields Using Convolutional Neural Networkscited by 145
- 2020The Random Feature Model for Input-Output Maps between Banach Spacescited by 90
- 2019ANODE: Unconditionally Accurate Memory-Efficient Gradients for Neural ODEscited by 84
- 2024Hypothesis Generation with Large Language Modelscited by 71
- 2020A physics-informed operator regression framework for extracting data-driven continuum modelscited by 60
- 2025CodePDE: An Inference Framework for LLM-driven PDE Solver Generationcited by 39
- 2025CodeJudgeBench: Benchmarking LLM-as-a-Judge for Coding Taskscited by 33
- 2019Unsupervised Deep Learning Algorithm for PDE-based Forward and Inverse Problemscited by 31
- 2025PDE-Controller: LLMs for Autoformalization and Reasoning of PDEscited by 23
- 2025Solving Inequality Proofs with Large Language Modelscited by 21
- 2018BCR-Net: a neural network based on the nonstandard wavelet formcited by 18
- 2025Proving Olympiad Inequalities by Synergizing LLMs and Symbolic Reasoningcited by 17
- 2025DeepSeek vs. ChatGPT vs. Claude: A Comparative Study for Scientific Computing and Scientific Machine Learning Taskscited by 12
- 2025Neural equilibria for long-term prediction of nonlinear conservation lawscited by 10
- 2025ASyMOB: Algebraic Symbolic Mathematical Operations Benchmarkcited by 5
- 2025ChronoLLM: Customizing Language Models for Physics-Based Simulation Code Generationcited by 3
Built on by
Citing papers per year: 2026: 6.
6 papers.
- 2026OpInf-LLM: Parametric PDE Solving with LLMs via Operator Inferencecited by 5
- 2026Reinforcement Learning with Verifiable Physics: Post-training LLMs with Continuous Rewardscited by 2
- 2026An Agentic Evaluation Framework for AI-Generated Scientific Code in PETSccited by 1
- 2026A Blueprint for Self-Evolving Coding Agents in Vehicle Aerodynamic Drag Predictioncited by 0
- 2026Active Learning for Communication Structure Optimization in LLM-Based Multi-Agent Systemscited by 0
- 2026Training Numerical Intelligence via Auto-Diagnosis and Skill Discoverycited by 0
- 2026Training Numerical Intelligence via Auto-Diagnosis and Skill Discovery2 Oct 2026
- 2026Reinforcement Learning with Verifiable Physics: Post-training LLMs with Continuous Rewards11 Jul 2026
- 2026Active Learning for Communication Structure Optimization in LLM-Based Multi-Agent Systems7 May 2026
- 2026A Blueprint for Self-Evolving Coding Agents in Vehicle Aerodynamic Drag Prediction23 Mar 2026
- 2026An Agentic Evaluation Framework for AI-Generated Scientific Code in PETSc16 Mar 2026
- 2026OpInf-LLM: Parametric PDE Solving with LLMs via Operator Inference2 Feb 2026
Similar, not cited
Close in wording, no citation either way
- 2026Physics-Audited Agentic Discovery in Scientific Machine Learning
- 2025AgenticSciML: Collaborative Multi-Agent Systems for Emergent Discovery in Scientific Machine Learning
- 2026Think like a Scientist: Physics-guided LLM Agent for Equation Discovery
- 2025Towards Scientific Intelligence: A Survey of LLM-based Scientific Agents
- 2025SciDA: Scientific Dynamic Assessor of LLMs
- 2025Chain of Unit-Physics: A Primitive-Centric Approach to Scientific Code Synthesis
- 2025MM-Agent: LLM as Agents for Real-world Mathematical Modeling Problem
- 2026Is manual software optimization a thing of the past?