[Paper Review] NAS-PINN: Neural architecture search-guided physics-informed neural network for solving PDEs
The paper introduces NAS-PINN, a differentiable neural architecture search framework for PINNs that automatically discovers effective DNN architectures to solve PDEs, using a bi-level optimization with masks to choose layer presence and neuron counts.
Physics-informed neural network (PINN) has been a prevalent framework for solving PDEs since proposed. By incorporating the physical information into the neural network through loss functions, it can predict solutions to PDEs in an unsupervised manner. However, the design of the neural network structure basically relies on prior knowledge and experience, which has caused great trouble and high computational overhead. Therefore, we propose a neural architecture search-guided method, namely NAS-PINN, to automatically search the optimum neural architecture for solving certain PDEs. By relaxing the search space into a continuous one and utilizing masks to realize the addition of tensors in different shapes, NAS-PINN can be trained through a bi-level optimization, where the inner loop optimizes the weights and bias of neural networks and the outer loop the architecture parameters. We verify the ability of NAS-PINN by several numerical experiments including Poisson, Burgers, and Advection equations. The characteristics of effective neural architectures for solving different PDEs are summarized, which can be used to guide the design of neural networks in PINN. It is found that more hidden layers do not necessarily mean better performance and sometimes can be harmful. Especially for Poisson and Advection, a shallow neural network with more neurons is more appropriate in PINNs. It is also indicated that for complex problems, neural networks with residual connection can improve the performance of PINNs.
Motivation & Objective
- Motivate automatic design of PINN architectures to reduce trial-and-error in solving PDEs.
- Develop a differentiable NAS framework to search over layer presence and neuron counts.
- Incorporate masking to handle variable-layer and variable-width architectures within PINNs.
- Showcase NAS-PINN on Poisson, Burgers, Advection (and higher-dim Burgers) to reveal architecture patterns.
- Provide guidelines on architecture features that improve PINN performance across PDE types.
Proposed method
- Formulate PINN with a loss combining physics residual, boundary, and initial terms.
- Apply differentiable NAS to relax the architecture search into a continuous optimization over operation weights (α).
- Introduce masks to allow varying numbers of neurons per layer and skipping layers within a shared weight framework.
- Use a bi-level optimization: inner loop optimizes network weights θ for a fixed α, outer loop optimizes α using MSE against reference solutions.
- Extract a discrete architecture from α after training, by selecting skip/keep decisions and neuron counts per layer.
Experimental results
Research questions
- RQ1Can NAS-PINN automatically identify effective neural architectures for solving given PDEs?
- RQ2What are the architectural traits (depth, width distribution, residual connections) that yield best PINN performance across different PDEs?
- RQ3How do irregular domains and problem difficulty influence optimal architecture in PINNs?
- RQ4Do residual connections and shallow vs. deep networks depend on PDE type and parameter regimes?
Key findings
- NAS-PINN discovers architectures with fewer layers but strategic width per layer often outperform deeper networks.
- For Poisson in regular and irregular domains, NAS-PINN achieves lower L2 errors than manually designed or SMAC-searched architectures.
- NAS-PINN-selected architectures frequently favor residual connections in complex problems and mid-to-late layers.
- Across Burgers, Advection, and higher-dimensional cases, NAS-PINN shows that architecture depth correlates with problem difficulty and parameter settings (e.g., smaller β or ν).
- In several cases, shallower, wider, or mixed (residual) architectures outperform deep, uniform architectures.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.