Skip to main content
QUICK REVIEW

[Paper Review] Physics-informed attention-based neural network for solving non-linear partial differential equations

Ruben Rodriguez-Torrado, Pablo Jácome Ruiz|arXiv (Cornell University)|May 17, 2021
Model Reduction and Neural NetworksPhysics and Astronomy24 references13 citations
TL;DR

This paper proposes Physics-Informed Attention-based Neural Networks (PIANNs), a novel architecture combining gated recurrent units (GRUs) and self-attention mechanisms to solve non-linear hyperbolic PDEs like the Buckley-Leverett equation. Unlike traditional PINNs that rely on residual regularization or artificial dissipation, PIANNs automatically detect and capture shock waves through attention-driven adaptation, achieving high-accuracy solutions with minimal residual error and robust interpolation/extrapolation capabilities.

ABSTRACT

Physics-Informed Neural Networks (PINNs) have enabled significant improvements in modelling physical processes described by partial differential equations (PDEs). PINNs are based on simple architectures, and learn the behavior of complex physical systems by optimizing the network parameters to minimize the residual of the underlying PDE. Current network architectures share some of the limitations of classical numerical discretization schemes when applied to non-linear differential equations in continuum mechanics. A paradigmatic example is the solution of hyperbolic conservation laws that develop highly localized nonlinear shock waves. Learning solutions of PDEs with dominant hyperbolic character is a challenge for current PINN approaches, which rely, like most grid-based numerical schemes, on adding artificial dissipation. Here, we address the fundamental question of which network architectures are best suited to learn the complex behavior of non-linear PDEs. We focus on network architecture rather than on residual regularization. Our new methodology, called Physics-Informed Attention-based Neural Networks, (PIANNs), is a combination of recurrent neural networks and attention mechanisms. The attention mechanism adapts the behavior of the deep neural network to the non-linear features of the solution, and break the current limitations of PINNs. We find that PIANNs effectively capture the shock front in a hyperbolic model problem, and are capable of providing high-quality solutions inside and beyond the training set.

Motivation & Objective

  • To address the limitations of current Physics-Informed Neural Networks (PINNs) in solving non-linear hyperbolic PDEs with shock waves.
  • To explore whether specialized network architectures can outperform standard PINNs by encoding physical structure directly into the model design.
  • To eliminate reliance on residual regularization or artificial dissipation for shock capturing in hyperbolic conservation laws.
  • To enable accurate interpolation and extrapolation of solutions across varying mobility ratios in the Buckley-Leverett model.
  • To demonstrate that attention mechanisms can dynamically adapt network behavior to localized, non-linear features such as shock fronts.

Proposed method

  • The proposed architecture combines gated recurrent units (GRUs) for sequential memory and context retention with a self-attention mechanism to dynamically weigh spatial and temporal dependencies.
  • The network is structured as an encoder-decoder framework, where the encoder processes the full input domain and the decoder generates predictions with attention to relevant features.
  • Initial and boundary conditions are embedded directly into the network architecture, enforcing them exactly without hyperparameter tuning.
  • The loss function is based solely on minimizing the PDE residual, with no additional regularization for boundary or initial conditions.
  • The model is trained end-to-end using automatic differentiation to minimize the residual of the governing PDE over the spatiotemporal domain.
  • The method is evaluated on the non-concave flux Buckley-Leverett equation, a benchmark problem for hyperbolic conservation laws with shock formation.

Experimental results

Research questions

  • RQ1Can a physics-informed neural network architecture that integrates attention mechanisms solve hyperbolic PDEs with shock waves more effectively than standard PINNs?
  • RQ2Does the attention mechanism enable the network to automatically detect and adapt to shock fronts without artificial dissipation or prior knowledge of shock locations?
  • RQ3To what extent can the PIANN model interpolate and extrapolate solutions beyond the range of mobility ratios used during training?
  • RQ4How does the residual error of the PIANN scale with increasing spatial and temporal resolution of the training data?
  • RQ5Can the PIANN achieve comparable or better accuracy than classical finite difference schemes (e.g., upwind or central differences) without introducing numerical dissipation?

Key findings

  • The PIANN model reduces the PDE residual to below 1×10⁻⁴ during training, confirming that it effectively solves the governing equation.
  • The attention mechanism successfully identifies and adapts to shock wave locations, enabling accurate representation of discontinuous solution features.
  • The model achieves high-accuracy solutions both within and beyond the range of mobility ratios used in training, demonstrating strong generalization and extrapolation capability.
  • Residual error decreases slightly with higher training resolution (e.g., from 1×10⁻⁴ at Δx=1×10⁻² to 8.7×10⁻⁵ at Δx=1×10⁻³), but the change is not highly significant, indicating robustness to resolution variation.
  • The PIANN performs comparably to first-order upwind finite difference schemes without introducing artificial dissipation, suggesting it does not rely on numerical diffusion for shock capture.
  • The method outperforms standard PINNs on the non-concave flux Buckley-Leverett problem, which has previously posed challenges due to the lack of convexity in the flux function.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.