An Unsupervised Network Architecture Search Method for Solving Partial Differential Equations

Qing Li, Jingrun ChenarXiv 2025 · DOI

Abstract

Physics-Informed Neural Networks (PINNs) have emerged as a robust framework for solving high-dimensional partial differential equations (PDEs). However, the manual design of network architectures remains a significant bottleneck, often requiring extensive trial and error. This paper introduces PINN-DARTS, an unsupervised Neural Architecture Search (NAS) method tailored for PDEs. By leveraging the PDE residual as a loss function and employing a differentiable search space, PINN-DARTS automates the discovery of optimal architectures without requiring ground-truth solutions. Our experiments on benchmark PDEs, including the Poisson, Heat, Wave, and Burgers' equations, demonstrate that PINN-DARTS consistently identifies high-performing, non-standard architectures that outperform manually designed "rectangular" networks in both accuracy and computational efficiency.

Introduction

The application of Physics-Informed Neural Networks (PINNs) to solve PDEs in science and engineering has seen rapid growth. Despite their success, the "black art" of architecture selection—determining the optimal number of layers and neurons—persists. Suboptimal architectures can lead to poor convergence or excessive computational costs. Traditional NAS methods typically rely on labeled datasets to evaluate architectures, a luxury not available when the goal is to solve an unknown PDE. PINN-DARTS addresses this by proposing an unsupervised, differentiable approach to architecture search.

Methodology

PINN-DARTS adapts the Differentiable Architecture Search (DARTS) framework to the physics-informed setting. The core innovation lies in using the PDE residual as the guiding metric for the search process, ensuring that the architecture evolves to satisfy the underlying physical laws.

The DARTS search space represented as a directed acyclic graph (DAG) with continuous relaxation of operations.

The search space is defined as a directed acyclic graph (DAG) where nodes represent latent representations and edges represent operations. To make the search space continuous, we relax the categorical choice of a particular operation to a softmax over all possible operations, weighted by architecture parameters $\alpha$. This allows the use of gradient descent to optimize the structure.

The PINN-DARTS search process across layers with flexible widths and operation selection.

A key feature of PINN-DARTS is its support for flexible widths and depths. Unlike traditional designs that use uniform widths across layers, our method allows each layer to evolve a different number of neurons. This is achieved through zero-padding to standardize tensor shapes during the search phase. The optimization follows a bi-level scheme: network weights $w$ are updated on a training set of collocation points, while architecture parameters $\alpha$ are optimized on a separate validation set, both minimizing the PDE residual.

Refinements such as PINN-DARTS+ incorporate early stopping to mitigate the "over-searching" phenomenon, while PINN-SDARTS utilizes sigmoid-based weighting to allow multiple candidate operations to coexist more effectively during the search.

Experiments and Results

We evaluated PINN-DARTS on a suite of benchmark PDEs representing different physical phenomena: the Poisson (elliptic), Heat (parabolic), Wave (hyperbolic), and Burgers' (non-linear) equations. For each, we tested both simple and complex solution regimes.

Key Insights

  • Residual-Error Correlation: The authors proved that the PDE residual is strongly correlated with the actual solution error. This validates why an unsupervised search based on residuals can effectively find accurate architectures.
  • The "Uneven Width" Advantage: Optimal architectures discovered by PINN-DARTS often feature varying widths (e.g., bottleneck or expanding shapes), which prove more efficient than standard rectangular architectures for specific physics.
  • Efficiency and Accuracy: PINN-DARTS+ achieved results comparable to exhaustive grid searches while being up to 20x faster. It consistently outperformed Random Search and Bayesian Optimization (HyperOpt) under fixed time budgets, particularly for complex, non-linear problems like the Burgers' equation.

Conclusion

PINN-DARTS provides a scalable and automated solution for designing PINN architectures. While sensitive to initial conditions and currently focused on feedforward structures, it marks a significant step toward "hands-off" PDE solving. Future research will explore broader search spaces, including activation functions and residual connections, to further enhance the versatility of automated physics-informed modeling.

Summary updated

BibTeX
@misc{li2025unsupervised,
  author = {Qing Li and Jingrun Chen},
  title = {{An Unsupervised Network Architecture Search Method for Solving Partial Differential Equations}},
  year = {2025},
  eprint = {2504.11140},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2504.11140},
}
Figure