Efficient Uncertainty Quantification for Dynamic Subsurface Flow with Surrogate by Theory-guided Neural Network

Nanzhe Wang, Haibin Chang, Dongxiao ZhangarXiv 2020

Introduction

Predicting the movement of water or contaminants in subsurface environments is a critical challenge in hydrology and environmental engineering. The primary difficulty stems from the inherent heterogeneity of geological formations, which are often poorly characterized due to limited observational data. To account for this uncertainty, researchers typically employ Uncertainty Quantification (UQ) frameworks, most notably Monte Carlo (MC) simulations. However, traditional numerical simulators like MODFLOW require thousands of iterations to achieve statistical convergence, making UQ computationally prohibitive for large-scale, time-varying (dynamic) problems.

This paper introduces a Theory-guided Neural Network (TgNN) as a high-performance surrogate model. By integrating physical governing equations directly into the deep learning architecture, the TgNN provides a computationally efficient alternative that maintains physical consistency even when training data is sparse.

Methodology

Theory-guided Neural Network (TgNN) Architecture

The TgNN is designed to map spatial coordinates ($x, y$), time ($t$), and stochastic parameters ($\xi$) to the hydraulic head. To manage the high dimensionality of spatial heterogeneity, the authors utilize the Karhunen–Loeve Expansion (KLE). This technique reduces complex, random spatial fields of hydraulic conductivity into a manageable set of independent random variables, which serve as inputs to the network.

Physics-Informed Loss Function

The core innovation of the TgNN is its "theory-guided" loss function. Unlike standard Deep Neural Networks (DNNs) that rely solely on Mean Squared Error (MSE) relative to labeled data, the TgNN loss function incorporates:

  1. PDE Residuals: Penalties for predictions that violate the governing flow equations (e.g., the groundwater flow equation).
  2. Boundary and Initial Conditions (BC/IC): Constraints that ensure the model respects the physical limits and starting state of the domain.

This approach allows the model to be trained in several modes: using labeled data from simulators, sparse experimental data, or even in a label-free mode where the network learns purely from physical constraints.

Transfer Learning Strategy

To address the "out-of-distribution" problem—where the variance of a physical field might exceed the range seen during training—the authors implement a transfer learning strategy. This allows the model to be quickly fine-tuned for new parameters without requiring a complete retraining cycle.

Experimental Setup and Datasets

The framework was evaluated using synthetic datasets generated via MODFLOW. The primary test case involved 2D transient saturated flow in a square domain.

  • Training Data: 30 realizations providing 1.2 million labeled data points.
  • Collocation Points: Up to 1.5 million points where physical constraints were enforced without requiring labels.
  • High-Dimensionality Test: A complex scenario involving a short correlation length, requiring 71 random variables ($n=71$) to test the model's resilience against the "curse of dimensionality."

Key Results and Discussion

Computational Efficiency

The TgNN demonstrated a massive reduction in computational overhead. For a Monte Carlo task involving 10,000 samples, the traditional MODFLOW simulator required 1.75 hours. In contrast, the trained TgNN surrogate completed the same task in just 9 minutes, representing an approximate 12x speedup for forward evaluation.

Accuracy and Physical Consistency

The surrogate achieved high fidelity, with $R^2$ scores near 0.99 and relative $L_2$ errors often falling below $10^{-4}$. By using physics as a regularizer, the TgNN avoided the "hallucinations" common in purely data-driven models, accurately capturing statistical moments (mean and variance) and Probability Density Functions (PDFs) across various levels of heterogeneity.

Robustness to Dimensionality and Distribution Shifts

While traditional methods like Polynomial Chaos Expansion (PCE) often struggle as the number of random variables increases, the TgNN handled the 71-variable case gracefully. Furthermore, when faced with parameter shifts, a brief 1.5-minute transfer learning session restored accuracy that simple extrapolation could not achieve.

Conclusion

The Theory-guided Neural Network represents a significant step forward for subsurface modeling. By bridging the gap between numerical physics and deep learning, it enables rapid, high-fidelity uncertainty quantification. While the initial training phase remains computationally intensive (taking several hours on high-end GPUs), the resulting surrogate allows for near-instantaneous predictions, making it a viable tool for real-time decision support in groundwater management and environmental remediation.

Summary updated

BibTeX
@misc{wang2020efficient,
  author = {Nanzhe Wang and Haibin Chang and Dongxiao Zhang},
  title = {{Efficient Uncertainty Quantification for Dynamic Subsurface Flow with Surrogate by Theory-guided Neural Network}},
  year = {2020},
  eprint = {2004.13560},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2004.13560},
}
Figure