Evolutionary AI Optimizes Physics-Informed Neural Networks

Xu Yang, Mingyang Yu, Jing Xu, Keqian Li· July 20, 2026 View original

Summary

A new closed-loop evolutionary algorithm guides large language models (LLMs) to design and optimize Physics-Informed Neural Networks (PINNs) by iteratively generating configurations and learning from their training outcomes. This method significantly reduces error in solving complex partial differential equations without human intervention.

Physics-Informed Neural Networks (PINNs) are powerful tools for solving scientific problems, but their performance is highly sensitive to numerous design choices, including architecture, activation functions, loss weighting, and optimization strategies. Manually configuring these parameters is complex and time-consuming. This research introduces an innovative approach where an evolutionary algorithm (EA) is used to guide large language models (LLMs) in the automated design of PINNs. The proposed system operates in a closed loop: the LLM generates complete PINN configurations, which are then executed and evaluated based on their training outcomes. This performance feedback informs the evolutionary algorithm, which then applies principles like mutation, crossover, and selection to refine subsequent generations of LLM-generated configurations. The algorithm maintains a population of evaluated solutions, preserving elite designs and promoting diversity. In experiments on a multiscale wave equation, this EA-guided LLM system successfully reduced the mean-squared error of the best PINN configuration by a substantial margin over multiple generations. The process autonomously discovered effective architectural elements, such as residual connections and increased depth, demonstrating the feasibility of using evolutionary algorithms to intelligently explore and optimize complex neural network designs for scientific applications.

Why it matters

This method offers a powerful paradigm for automating the design and optimization of complex AI models, particularly in scientific and engineering domains where precise physical constraints are crucial, accelerating research and development.

How to implement this in your domain

  1. 1Identify a specific scientific or engineering problem that can benefit from PINN solutions.
  2. 2Develop an LLM prompt engineering strategy to generate diverse PINN configurations.
  3. 3Integrate an evolutionary algorithm to manage the population of generated configurations and apply genetic operations.
  4. 4Set up an automated execution and evaluation pipeline for each proposed PINN configuration.
  5. 5Implement a feedback loop to provide training outcomes back to the evolutionary algorithm for guiding subsequent LLM generations.

Who benefits

Scientific ResearchEngineeringEnergyAerospaceHealthcare

Key takeaways

  • PINN design is highly sensitive to numerous interacting configuration choices.
  • Evolutionary algorithms can guide LLMs to iteratively optimize PINN architectures.
  • The closed-loop system learns from training outcomes to refine subsequent generations.
  • This approach automates complex model design, reducing human effort and improving performance.

Original post by Xu Yang, Mingyang Yu, Jing Xu, Keqian Li

"arXiv:2607.15560v1 Announce Type: cross Abstract: Physics-informed neural networks (PINNs) are unusually sensitive to interacting choices of architecture, activation, loss weighting, collocation, optimization, and constraint enforcement. Large language models (LLMs) can propose t…"

View on X

Originally posted by Xu Yang, Mingyang Yu, Jing Xu, Keqian Li on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses