[Paper Review] Neural-PDE: A RNN based neural network for solving time dependent PDEs
Neural-PDE proposes a sequence-to-sequence RNN framework using bidirectional LSTMs to learn and predict solutions of time-dependent PDEs from data without prior knowledge of the underlying equations. It achieves high accuracy in predicting complex, nonlinear, and coupled PDE systems—such as the Cahn-Hilliard-Navier-Stokes model—with minimal training (under 20 epochs) and reduced parameter complexity by sharing weights across time steps.
Partial differential equations (PDEs) play a crucial role in studying a vast number of problems in science and engineering. Numerically solving nonlinear and/or high-dimensional PDEs is often a challenging task. Inspired by the traditional finite difference and finite elements methods and emerging advancements in machine learning, we propose a sequence deep learning framework called Neural-PDE, which allows to automatically learn governing rules of any time-dependent PDE system from existing data by using a bidirectional LSTM encoder, and predict the next n time steps data. One critical feature of our proposed framework is that the Neural-PDE is able to simultaneously learn and simulate the multiscale variables.We test the Neural-PDE by a range of examples from one-dimensional PDEs to a high-dimensional and nonlinear complex fluids model. The results show that the Neural-PDE is capable of learning the initial conditions, boundary conditions and differential operators without the knowledge of the specific form of a PDE system.In our experiments the Neural-PDE can efficiently extract the dynamics within 20 epochs training, and produces accurate predictions. Furthermore, unlike the traditional machine learning approaches in learning PDE such as CNN and MLP which require vast parameters for model precision, Neural-PDE shares parameters across all time steps, thus considerably reduces the computational complexity and leads to a fast learning algorithm.
Motivation & Objective
- To develop a deep learning framework that learns governing dynamics of time-dependent PDEs directly from data, without requiring explicit knowledge of the PDE form.
- To address the challenge of solving high-dimensional, nonlinear, and coupled PDE systems that are difficult for traditional numerical methods.
- To reduce model complexity and improve training efficiency by sharing parameters across time steps, unlike standard deep learning models that scale with depth and width.
- To simultaneously learn and predict all variables in a PDE system—including initial and boundary conditions—through end-to-end sequence-to-sequence learning.
- To enable accurate simulation of PDEs with discontinuous or multi-scale features, such as phase-field models in complex fluids.
Proposed method
- Employs a sequence-to-sequence (Seq2Seq) architecture with a bidirectional LSTM encoder to process spatial-temporal data sequences from PDE simulations.
- Uses the hidden states of the bidirectional LSTM to encode the full spatiotemporal state of the system at each time step, enabling long-term dependency learning.
- Applies a decoder LSTM to predict the solution at the next $ n $ time steps, with shared weights across time steps to reduce parameter count and computational cost.
- Normalizes variables with large dynamic ranges (e.g., pressure $ p imes 10^5 $) using a sigmoid function to improve training stability and feature extraction.
- Trains the model in a supervised manner on time-series data generated by high-fidelity numerical solvers (e.g., FreeFem++ with Crank-Nicolson FEM).
- Leverages the intrinsic time-stepping nature of RNNs to mimic traditional numerical schemes (e.g., forward Euler, Crank-Nicolson), allowing the network to learn the underlying PDE operators implicitly.
Experimental results
Research questions
- RQ1Can a deep learning model learn the governing dynamics of time-dependent PDEs without prior knowledge of the equation form?
- RQ2Can a recurrent neural network architecture effectively capture long-term temporal dependencies in PDE solutions across multiple spatial dimensions?
- RQ3How does parameter sharing across time steps in an RNN-based framework affect model efficiency and prediction accuracy compared to fully connected or convolutional networks?
- RQ4Can the model simultaneously learn and predict multiple coupled variables (e.g., velocity, pressure, phase field) in a complex fluid system with disparate scales?
- RQ5To what extent can the model generalize to PDEs with discontinuous solutions or high nonlinearity, such as the Cahn-Hilliard-Navier-Stokes system?
Key findings
- Neural-PDE successfully learns and predicts solutions of 1D and multi-dimensional PDEs, including the highly nonlinear Cahn-Hilliard-Navier-Stokes system, with high accuracy.
- The model achieves a mean squared error (MSE) of $ 6.1631 imes 10^{-7} $ on the pressure and phase-field variables in the complex fluids test case, indicating excellent agreement with exact solutions.
- Training converges in under 20 epochs, demonstrating fast learning despite the complexity of the PDE systems.
- The framework effectively handles variables with vastly different magnitudes (e.g., $ ho imes 10^{-5} $) through sigmoid normalization, improving training stability.
- Parameter sharing across time steps significantly reduces model complexity and computational cost compared to standard MLP or CNN-based PDE solvers.
- The model generalizes to both continuous and discontinuous solutions and can infer initial and boundary conditions implicitly from data.
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.