Skip to content

OpenPINN/PINO: An Extensible Open-Source Framework for Agent-Assisted Physics-Informed Neural Networks and Neural Operators

Xi Wang, Jun Lu, Cheng Zhang, Xiaoying Zhuang, Timon Rabczuk, Hehua Zhu, Wei Wu, Peinan Li, Jidong Zhao, Zhenyu Yin, Hao Sun

physics.comp-ph

Abstract

Substantial challenges in physics-informed learning have motivated many improvements, but fragmented implementations hinder systematic organization, integration, and comparison. We propose OpenPINN/PINO, an extensible open-source PyTorch framework for physics-informed neural networks and neural operators. Two shared specifications connect problem setup, local computation, and evaluation. Agents support problem formulation, solver planning, and diagnosis. ProblemSpec defines geometry, governing equations, constitutive relations, parameters, initial and boundary conditions, and optional data. MethodSpec configures the model, sampling, loss, optimization, and differentiation. Researchers can register new problem templates and method components, then combine or compare strategies such as Fourier features, residual-adaptive sampling, and self-adaptive loss weighting for a fixed problem. Agents translate natural-language descriptions into specifications, flag missing information, and propose solver plans. The framework validates these specifications and deterministically generates local training and testing code. A diagnostic agent reviews training logs and evaluation results to identify problems and suggest revisions. Three examples show how method choices and agent diagnostics affect accuracy. For viscous Burgers, Fourier features and residual-adaptive sampling each reduced relative L2L^2 error by about 75%75\% from a shared baseline. For periodic Poisson, spectral differentiation reduced mean-free relative L2L^2 error by about 68%68\% across 16 held-out forcings. For a plate with a hole, successive agent diagnoses guided nondimensionalization and optimization. After initial training failure, all three runs met the 10%10\% target, with relative L2L^2 displacement errors of 3.51%3.51\%--6.31%6.31\%.

Create a lesson