English

OpInf-LLM: Parametric PDE Solving with LLMs via Operator Inference

Machine Learning 2026-04-24 v2 Artificial Intelligence

Abstract

Solving diverse partial differential equations (PDEs) is fundamental in science and engineering. Large language models (LLMs) have demonstrated strong capabilities in code generation, symbolic reasoning, and tool use, but reliably solving PDEs across heterogeneous settings remains challenging. Prior work on LLM-based code generation and transformer-based foundation models for PDE learning has shown promising advances. However, a persistent trade-off between execution success rate and numerical accuracy arises, particularly when generalization to unseen parameters and boundary conditions is required. In this work, we propose OpInf-LLM, an LLM parametric PDE solving framework via operator inference. The proposed framework leverages small amounts of solution data to enable accurate prediction of diverse PDE instances, including unseen parameters and configurations, and provides seamless integration with LLMs for natural language task specification and physics-based reasoning of proper feature parameterization. Its low computational demands and unified solution pipeline further enable a high execution success rate across heterogeneous settings, opening new possibilities for generalizable reduced-order modeling in LLM-based PDE solving.

Keywords

Cite

@article{arxiv.2602.01493,
  title  = {OpInf-LLM: Parametric PDE Solving with LLMs via Operator Inference},
  author = {Zhuoyuan Wang and Hanjiang Hu and Xiyu Deng and Saviz Mowlavi and Yorie Nakahira},
  journal= {arXiv preprint arXiv:2602.01493},
  year   = {2026}
}
R2 v1 2026-07-01T09:30:39.218Z