NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

PhyCRNet: Physics-informed Convolutional-Recurrent Network for Solving Spatiotemporal PDEs

Pu Ren, Chengping Rao, Yang Liu, Jian-Xun Wang, Hao SunComputer 2021 · DOI

Abstract: Partial differential equations (PDEs) play a fundamental role in modeling and simulating problems across a wide range of disciplines. Recent advances in deep learning have shown the great potential of physics-informed neural networks (PINNs) to solve PDEs as a basis for data-driven modeling and inverse analysis. However, the majority of existing PINN methods, based on fully-connected NNs, pose intrinsic limitations to low-dimensional spatiotemporal parameterizations. Moreover, since the initial/boundary conditions (I/BCs) are softly imposed via penalty, the solution quality heavily relies on hyperparameter tuning. To this end, we propose the novel physics-informed convolutional-recurrent learning architectures (PhyCRNet and PhyCRNet-s) for solving PDEs without any labeled data. Specifically, an encoder-decoder convolutional long short-term memory network is proposed for low-dimensional spatial feature extraction and temporal evolution learning. The loss function is defined as the aggregated discretized PDE residuals, while the I/BCs are hard-encoded in the network to ensure forcible satisfaction (e.g., periodic boundary padding). The networks are further enhanced by autoregressive and residual connections that explicitly simulate time marching. The performance of our proposed methods has been assessed by solving three nonlinear PDEs (e.g., 2D Burgers' equations, the $\lambda$-$\omega$ and FitzHugh Nagumo reaction-diffusion equations), and compared against the start-of-the-art baseline algorithms. The numerical results demonstrate the superiority of our proposed methodology in the context of solution accuracy, extrapolability and generalizability.

Introduction

Standard Physics-Informed Neural Networks (PINNs) have emerged as a powerful tool for solving partial differential equations (PDEs) by embedding physical laws directly into the loss function. However, traditional PINNs typically rely on fully-connected architectures that struggle with high-dimensional spatiotemporal problems and sharp local gradients, such as propagating wave fronts. A significant drawback of standard PINNs is their "soft" enforcement of initial and boundary conditions (I/BCs) through penalty terms. This often necessitates extensive hyperparameter tuning to balance the various loss components and can lead to models that merely memorize specific solutions rather than learning the underlying dynamics.

PhyCRNet addresses these limitations by shifting from continuous fully-connected learning to a discrete convolutional-recurrent framework. This architecture is designed to strictly obey physical boundaries while accurately marching forward in time, enabling it to generalize to new initial conditions without retraining.

Methodology

The PhyCRNet Architecture

The core of PhyCRNet is an Encoder-Decoder ConvLSTM structure. The encoder utilizes Convolutional Neural Networks (CNNs) to compress high-dimensional spatial data into low-dimensional latent features. These features are then processed by a Convolutional Long Short-Term Memory (ConvLSTM) unit, which learns the temporal evolution of the system. Finally, a decoder employs "pixel shuffle"—an efficient super-resolution technique—to upscale the latent features back to the original spatial resolution.

The overall architecture of PhyCRNet, illustrating the encoder-decoder structure, ConvLSTM core, and the physics-informed loss calculation.

To explicitly simulate time marching, the network incorporates autoregressive and residual connections. It mimics a forward Euler scheme ($u_{t+1} = u_t + \delta t \cdot \text{Network}(u_t)$), where the network predicts the state at the next time step based on the current state. For computational efficiency, the PhyCRNet-s variant periodically skips the encoder step, passing the ConvLSTM's output directly to the next time step.

Hard-Encoding of Boundary Conditions

Unlike standard PINNs that treat boundary conditions as soft constraints in the loss function, PhyCRNet utilizes hard-encoding. By using specific padding operations (e.g., periodic padding for Dirichlet boundaries or ghost node techniques for Neumann boundaries), the network is forced to respect physical boundaries by design. This eliminates the need for weight tuning in the loss function and significantly stabilizes the training process.

Hard-encoding of Dirichlet and Neumann boundary conditions using specialized padding and ghost node techniques.

Physics-Informed Loss

The network is trained in an unsupervised manner. The loss function is defined as the aggregated discretized PDE residuals. These residuals are calculated using finite-difference convolutional filters that approximate spatial and temporal derivatives, ensuring the predicted evolution adheres to the governing physical equations.

Key Results and Discussion

PhyCRNet was evaluated on three challenging 2D PDE benchmarks: the 2D Burgers' equations, the $\lambda-\omega$ Reaction-Diffusion (RD) equations, and the FitzHugh-Nagumo (FN) RD equations.

  • Accuracy: On the 2D Burgers' equation, PhyCRNet achieved an accumulative root-mean-square error (a-RMSE) of less than 0.01, significantly outperforming standard PINNs and other baseline models.
  • Extrapolation: The model demonstrated remarkable robustness in temporal extrapolation. When trained on the complex FN equations for $t \in [0, 4.5]$, PhyCRNet successfully predicted dynamics up to $t = 9$ with minimal error growth, whereas standard PINN baselines failed completely.
  • Generalization: Because PhyCRNet learns the evolution operator rather than a static mapping, it can simulate systems from entirely new initial conditions (ICs) without retraining, a feat that standard PINNs cannot achieve.

Conclusion

PhyCRNet represents a significant step forward in physics-informed deep learning. By combining convolutional-recurrent architectures with hard-encoded boundary conditions and autoregressive time-marching, it overcomes the scalability and generalization hurdles of traditional PINNs. While currently limited to regular grids due to its reliance on standard CNNs, future work involving Graph Neural Networks (GNNs) and higher-order temporal schemes promises to extend this robust framework to complex, irregular geometries and even higher levels of accuracy.

Summary updated

BibTeX
@inproceedings{ren2021phycrnet,
  author = {Pu Ren and Chengping Rao and Yang Liu and Jian-Xun Wang and Hao Sun},
  title = {{PhyCRNet: Physics-informed Convolutional-Recurrent Network for Solving Spatiotemporal PDEs}},
  booktitle = {Computer},
  year = {2021},
  doi = {10.1016/j.cma.2021.114399},
}
Figure