Introduction
Physics-Informed Neural Networks (PINNs) have emerged as a powerful paradigm for solving partial differential equations (PDEs) by integrating physical laws directly into the loss function of a neural network. Despite their success, PINNs encounter significant challenges in two specific scenarios: high-dimensional domains and solutions with low regularity, such as sharp gradients or localized peaks. In high-dimensional spaces, uniform sampling becomes computationally prohibitive due to the "curse of dimensionality," where the vast majority of points fail to capture localized features. Furthermore, uniform grids often miss sharp transitions in the solution, leading to poor convergence and high approximation errors.
To address these limitations, this work introduces DAS-PINNs, a framework that leverages deep generative models to adaptively refine the distribution of training points, focusing computational effort where the PDE residual is highest.
Methodology: Deep Adaptive Sampling
The core of the DAS-PINNs framework is the Deep Adaptive Sampling (DAS) procedure. This iterative approach treats the squared residual of the PDE as a probability density function (PDF), allowing the model to "hunt" for regions where the current solution is most inaccurate.
The Iterative Loop
- PDE Approximation: A standard neural network is trained to minimize the PDE residual $r(x)$, which measures the discrepancy between the network's output and the governing physical equations.
- Error Modeling: The squared residual $r^2(x)$ is interpreted as a target PDF. Regions with high residuals indicate where the network has not yet learned the solution accurately.
- Generative Modeling with KRnet: The authors employ KRnet, a normalizing flow based on the Knothe-Rosenblatt rearrangement. KRnet is trained to map a simple base distribution (such as a Gaussian) to the complex distribution defined by the residual.
- Collocation Point Resampling: The trained KRnet generates a new set of training points. By design, these points are concentrated in high-residual regions.
- Refinement: The PDE solver is retrained using the new points, leading to a more accurate solution in previously problematic areas.
Sampling Strategies
The framework explores two primary strategies for point management:
- DAS-R (Replacement): The entire set of collocation points is replaced in each iteration based on the new importance sampling distribution.
- DAS-G (Growth): New points are incrementally added to the existing set. This strategy tends to be more stable, as it retains global information while focusing on local refinements.
Numerical Experiments
The efficacy of DAS-PINNs was evaluated across several challenging benchmarks where exact solutions are known for comparison:
- 2D Peak Problems: Solutions featuring one or two extremely sharp, localized peaks designed to test the ability to capture low-regularity features.
- 10D Linear and Nonlinear Elliptic Equations: High-dimensional test cases where traditional uniform sampling typically fails to resolve the solution structure.
Key Results and Insights
The experimental results demonstrate that DAS-PINNs significantly outperform standard PINNs using uniform sampling:
- Accuracy Improvements: In 2D peak problems, DAS-PINNs achieved errors as low as $10^{-4}$, representing a hundredfold improvement over the $10^{-2}$ error seen with uniform sampling.
- High-Dimensional Scaling: In the 10D linear elliptic case, standard PINNs failed to converge (relative error $\approx 1.0$). In contrast, the DAS-G strategy reduced the relative error to 0.008 using the same number of collocation points.
- Variance Reduction: From a mathematical perspective, DAS acts as a variance reduction technique for Monte Carlo integration. By sampling from a distribution that matches the error profile, the estimator for the total loss becomes significantly more efficient.
Conclusion and Future Work
DAS-PINNs provide a robust, automated mechanism for adaptive mesh refinement in the context of deep learning. By utilizing generative models like KRnet as learnable error indicators, the method scales effectively to high-dimensional problems that were previously intractable.
While the introduction of a second neural network (KRnet) adds computational overhead per iteration, the dramatic reduction in the total number of samples required and the substantial gains in accuracy justify the cost. Future research directions include extending the framework to time-dependent PDEs with moving fronts and applying the method to complex, non-rectangular geometries.
Summary updated