Abstract
In a more connected world, modeling multi-agent systems with hyperbolic partial differential equations (PDEs) offers a potential solution to the curse of dimensionality. However, classical control tools need adaptation for these complex systems. Physics-informed neural networks (PINNs) provide a powerful framework to fix this issue by inferring solutions to PDEs by embedding governing equations into the neural network. A major limitation of original PINNs is their inability to capture steep gradients and discontinuities in hyperbolic PDEs. This paper proposes a stacked residual PINN method enhanced with a vanishing viscosity mechanism. Initially, a basic PINN with a small viscosity coefficient provides a stable, low-fidelity solution. Residual correction blocks with learnable scaling parameters then iteratively refine this solution, progressively decreasing the viscosity coefficient to transition from parabolic to hyperbolic PDEs. Applying this method to traffic state reconstruction improved results by an order of magnitude in relative $\mathcal{L}^2$ error, demonstrating its potential to accurately estimate solutions where original PINNs struggle with instability and low fidelity.
Introduction
Hyperbolic Partial Differential Equations (PDEs) are fundamental to modeling "flow" systems, such as traffic dynamics, fluid flow, and gas dynamics. A defining characteristic of these systems is the emergence of shocks—discontinuities where states like density or velocity jump abruptly. While Physics-Informed Neural Networks (PINNs) have revolutionized PDE solving by embedding physical laws into the loss function, they often fail when applied to hyperbolic systems. Standard PINNs tend to over-smooth these shocks or converge to non-physical solutions, struggling to capture the steep gradients necessary for accurate state reconstruction.
Methodology: Vanishing Stacked-Residual PINN
To address these limitations, we introduce the Vanishing Stacked-Residual PINN architecture. This approach integrates three core concepts to stabilize training and enhance fidelity:
- Vanishing Viscosity: The method leverages the mathematical principle of vanishing viscosity, where a small artificial diffusion term is added to smooth the discontinuous problem. This viscosity is gradually reduced to zero, allowing the model to transition from a stable parabolic approximation to the target hyperbolic solution.
- Stacked Residual Learning: Instead of a single monolithic network, the architecture consists of a sequence of neural network blocks. The initial block predicts a baseline solution, while subsequent "Residual PINN" blocks learn only the corrections (residuals) needed to refine the previous stage's output.
- Curriculum Training with Superlinear Decay: A viscosity schedule is implemented across the blocks. The first block is trained with high viscosity for global stability. As more blocks are added, the viscosity coefficient $\gamma$ decreases superlinearly, enabling the model to resolve increasingly sharp features.
Each residual block incorporates a learnable scaling parameter $|\alpha_i|$, ensuring that corrections remain stable and preventing optimization divergence when fitting sharp shocks.
Experimental Evaluation
The proposed method was evaluated on a Traffic State Reconstruction task using the Lighthill-Whitham-Richards (LWR) model. Synthetic ground truth data was generated using a Godunov numerical solver. The model's objective was to reconstruct the full traffic density field across a road segment over time, given only sparse boundary measurements (simulating highway loop detectors).
Results and Discussion
The Vanishing Stacked-Residual PINN demonstrated significant performance gains over existing methods. Quantitative analysis showed a reduction in relative $\mathcal{L}^2$ error from 18.98% for a vanilla PINN to 4.66% for a 5-block stacked configuration.
Key insights from the results include:
- Stability through Smoothing: Starting with a viscous approximation acts as a pre-conditioning step, allowing the network to find a stable global structure before resolving sharp discontinuities.
- Shock Capturing: Qualitative results confirmed that the model accurately identifies the speed and shape of propagating traffic shocks, whereas standard PINNs often produce blurred or misplaced density waves.
- Reduced Variability: The error distribution plots indicate that the proposed method is not only more accurate but also more consistent, with fewer outlier predictions across different test scenarios.
Conclusion
The Vanishing Stacked-Residual PINN provides a robust framework for solving hyperbolic PDEs that exhibit shocks. By combining curriculum-based vanishing viscosity with an iterative residual learning architecture, the method overcomes the stability and fidelity issues inherent in standard PINNs. While the current work focuses on 1D traffic systems, future research will explore extending this approach to higher-dimensional hyperbolic systems, such as 2D fluid dynamics, and optimizing the computational overhead associated with multi-block training.
Summary updated