Abstract
Physics-Informed Neural Networks (PINNs) have emerged as a powerful paradigm for solving partial differential equations (PDEs) by embedding physical laws into neural loss functions. However, they frequently suffer from "failure modes" where models converge to mathematically simple but physically incorrect solutions. We present PINNMamba, a novel framework that integrates State Space Models (SSMs) with a sub-sequence alignment strategy. By leveraging the continuous-time inductive bias of SSMs and a consensus-based regularization, PINNMamba achieves up to an 86.3% reduction in error compared to current state-of-the-art architectures across challenging benchmarks.
Introduction
While PINNs offer a mesh-free approach to solving PDEs, their optimization landscape is often plagued by local minima. These failures typically manifest as a inability to propagate initial conditions through time, leading to "over-smoothed" solutions that satisfy the residual loss but fail to capture the underlying physics. PINNMamba addresses these challenges by replacing standard Multilayer Perceptron (MLP) backbones with Mamba-based State Space Models, specifically designed for sequential and continuous-time modeling.
The Failure Modes of PINNs
The authors identify two primary mechanisms behind PINN failures:
- Simplicity Bias: Neural networks naturally favor low-frequency, simpler functions. In many PDE systems, a zero-value or over-smoothed solution results in a deceptively low residual loss, trapping the model in a non-physical state.
- Continuous-Discrete Mismatch: PINNs are trained on discrete collocation points, yet PDEs describe continuous evolution. Without a mechanism to bridge this gap, networks struggle to maintain the integrity of physical patterns as they propagate temporally.
PINNMamba: Methodology
PINNMamba introduces several key innovations to overcome these hurdles:
SSM as a Continuous Bridge
State Space Models are inherently continuous-time systems that can be discretized for computation. This property provides a natural inductive bias for solving PDEs, allowing the model to better represent the continuous evolution of physical fields from discrete training samples.
Sub-sequential Modeling and Alignment
Rather than processing points independently or as a single long sequence, PINNMamba utilizes overlapping "sub-sequences." This provides sufficient temporal context for pattern propagation while remaining computationally tractable. To combat simplicity bias, the authors introduce a Contrastive Alignment loss. This term forces the model to reach a consensus on predictions for space-time points that appear in multiple overlapping sub-sequences, effectively regularizing the model toward complex, physically accurate solutions.
Specialized Architecture
The backbone employs an encoder-only structure with Spatio-Temporal Embeddings and Mamba blocks. Notably, it utilizes Wavelet activation functions, which are superior to standard activations at capturing the high-frequency oscillations common in wave and convection equations.
Experimental Evaluation
The framework was rigorously tested on the PINNacle benchmark and several standard PDEs, including 1D Convection, Reaction, and Wave equations, as well as 2D Navier-Stokes equations.
Key Results
- Superior Accuracy: On the convection equation, PINNMamba reduced the relative Mean Absolute Error (rMAE) from ~0.85 (vanilla PINN) to 0.0188.
- Efficiency: PINNMamba achieves state-of-the-art performance with significantly fewer parameters than competing architectures like PINNsFormer.
- Robustness: The model successfully solved complex fluid dynamics problems (2D Navier-Stokes) and chaotic systems where traditional PINNs failed entirely.
Conclusion
PINNMamba demonstrates that the integration of State Space Models and sub-sequential alignment provides a robust solution to the long-standing failure modes of PINNs. By enforcing temporal consensus and leveraging continuous-time inductive biases, the framework sets a new standard for accuracy and reliability in physics-informed machine learning. Future work will focus on optimizing memory overhead to scale the architecture to even higher-dimensional systems.
Summary updated