Physics informed cell representations for variational formulation of multiscale problems

Yuxiang Gao, Soheil Kolouri, Ravindra DudduarXiv 2024 · DOI

Abstract

Physics-Informed Neural Networks (PINNs) have emerged as a powerful framework for solving partial differential equations (PDEs) without labeled data. However, they frequently struggle with multiscale problems due to "spectral bias," where the network prioritizes learning low-frequency components at the expense of high-frequency details. This paper presents a novel hybrid "cell-based" neural network architecture that combines multilevel grids with a shallow multilayer perceptron (MLP). By utilizing a variational (weak) form loss and a decoupled training strategy, the proposed model achieves up to a 1,000-fold increase in accuracy over standard PINNs while significantly reducing computational overhead.

Introduction

The application of deep learning to computational physics has been largely driven by PINNs, which embed physical laws directly into the loss function. Despite their success, two primary challenges persist: spectral bias and the difficulty of balancing competing loss terms (e.g., boundary conditions versus the PDE residual). In multiscale problems—such as fluid flow through porous media or high-frequency wave propagation—standard MLPs often fail to capture sharp oscillations, leading to poor convergence.

To address these limitations, this research introduces a multiresolution cell-based representation. By localizing the learning process within a grid-based structure and adopting a variational approach, the model effectively bypasses the spectral bias inherent in global MLPs and simplifies the optimization landscape.

Methodology

1. Hybrid Cell-Based Architecture

Instead of relying on a single deep MLP to map the entire domain, the proposed architecture divides the domain into multiple levels of square grids. Each node in these grids stores a trainable feature vector. For any spatial coordinate, the model performs bilinear interpolation of these vectors and passes the result through a shallow MLP. This division of labor allows the grid to capture local, high-frequency oscillations while the MLP learns the global mapping.

2. Variational (Weak) Form Loss

Rather than minimizing the "strong form" PDE residual, which requires high-order derivatives, the model employs the variational or energy form (the Deep Ritz method). This approach is computationally advantageous because it only requires first-order derivatives. This efficiency enables the use of simple linear interpolation within the grid cells, which is significantly faster to compute during backpropagation than the higher-order derivatives required by traditional PINNs.

3. Decoupled Training and Parameter Sharing

To solve the "loss-balancing act" between boundary conditions (BCs) and the PDE, the authors developed a two-phase decoupled training scheme:

  • Phase 1: The model is optimized exclusively on the boundary conditions.
  • Phase 2: Once the BCs are satisfied, the boundary parameters and the MLP are frozen. The optimizer then focuses solely on the interior grid parameters to satisfy the PDE.

For periodic boundary conditions, the model uses a parameter-sharing scheme where nodes on opposite boundaries share the same trainable weights, ensuring perfect periodicity by design.

Experimental Results

The model was evaluated against four benchmark 2D Poisson equation problems, including high-frequency variable coefficients and non-constant Dirichlet BCs.

Accuracy and Precision

In tests involving high-frequency multiscale permeability (e.g., $\epsilon = 1/8$), the cell-based MLP achieved a Normalized Root Mean Square Error (NRMSE) of $4.3 \times 10^{-4}$. In contrast, standard strong-form PINNs failed to converge effectively, yielding an NRMSE of $0.909$. This represents a massive leap in precision for multiscale physics applications.

Computational Efficiency

Leveraging the tiny-cuda-nn library for fast CUDA kernels, the model demonstrated superior speed. In a periodic Poisson problem, the proposed model reached a high-accuracy solution in 51 seconds, compared to 84 seconds for a standard energy-form PINN. Furthermore, the decoupled training strategy eliminated the need for sensitive hyperparameter tuning of penalty weights ($\lambda$), making the model more robust across different physical scenarios.

Discussion and Limitations

The most significant insight of this work is that local grid representations act as a natural preconditioner for neural networks, breaking the spectral bias that plagues global MLPs. By freezing the MLP after the initial boundary training, the researchers proved that grid parameters alone possess sufficient representational power to solve complex interior physics.

However, some limitations remain. The current reliance on rectangular grids restricts the model's application to simple geometries. Future work will explore barycentric interpolation in triangular meshes to accommodate irregular domains, such as curved mechanical parts or complex geological structures. Additionally, while this study focused on forward problems, the architecture is highly promising for inverse problems, where material properties must be identified from observed data.

Conclusion

The hybrid cell-based MLP architecture represents a significant advancement in physics-informed machine learning. By combining the localizing power of grids with the efficiency of variational formulations, the model provides a scalable and highly accurate solution for the next generation of multiscale computational physics challenges.

Summary updated

BibTeX
@misc{gao2024physics,
  author = {Yuxiang Gao and Soheil Kolouri and Ravindra Duddu},
  title = {{Physics informed cell representations for variational formulation of multiscale problems}},
  year = {2024},
  eprint = {2405.16770},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2405.16770},
}
Figure