Learning Large-scale Subsurface Simulations with a Hybrid Graph Network Simulator

Tailin Wu, Qinchen Wang, Yinan Zhang, Rex Ying, Kaidi Cao, Rok Sosič, Ridwan Jalali, Hassan Hamam, Marko Maucec, Jure Leskovec · DOI

TL;DR

Hybrid Graph Network Simulator (HGNS) is a new deep learning framework that simulates 3D fluid flow in massive underground reservoirs. By combining Graph Neural Networks for local fluid dynamics with 3D-U-Nets for global pressure changes, it scales to millions of cells—two orders of magnitude larger than previous models—while running up to 18 times faster than traditional physics-based solvers.

What Problem Does This Paper Address?

Predicting how oil, water, and gas move through porous rock (subsurface simulation) is critical for managing energy resources and groundwater. However, doing this accurately is incredibly difficult.

Traditional numerical solvers are "computationally exhaustive," often taking days or weeks to run simulations on industry-standard grids containing millions of cells. While researchers have tried using machine learning "surrogates" to speed things up, these models typically struggle with two things:

  1. Scale: Most ML models only work on small 2D grids (around 10k nodes), whereas real-world reservoirs are large 3D structures.
  2. Multi-scale Physics: Subsurface flow involves two distinct behaviors. Fluid saturation moves locally and is hindered by complex structures like faults. Meanwhile, pressure dynamics are global, spreading across the entire reservoir much faster to reach equilibrium.

Methods

The authors introduce a hybrid architecture designed to mirror the underlying physics of the problem:

  • Subsurface Graph Neural Network (SGNN): This component handles fluid saturation. Because GNNs operate on nodes and edges, they can naturally represent complex geological features. For example, a "fault" (a break in the rock where fluid can't pass) is modeled simply by removing the edges between those nodes.
  • 3D-U-Net: This component handles pressure. Its hierarchical structure allows it to capture the large-scale, global pressure gradients that drive fluid movement across the entire grid.
Figure 2: Overview of our HGNS architecture and 1-step loss computation. HGNS consists of a Subsurface Graph Neural Net- work (SGNN) to model the fluid dynamics, and a 3D-U-Net to model the pressure dynamics. The input grid on the left is treated as a graph by modeling each cell as a node, and connecting the adjacent cells via edges.

To make training on millions of cells possible on standard hardware, the team developed sector-based training. Instead of feeding the whole reservoir into the GPU at once, they partition it into smaller 3D "sectors" (e.g., 40x40x40 cubes). They also use a multi-step rollout loss function, training the model to predict several months into the future at once to prevent small errors from snowballing over time.

Figure 3: Multi-step rollout during training. The surrogate model is applied autoregressively to predict the future states, using its prediction of dynamic variables as the next prediction’s input. The loss consists of error on each time step, and during training, the gradient can pass through the full rollout. This multi-step loss enables better long-term prediction.

Datasets

The model was evaluated using SPE-10, an industry-standard benchmark for subsurface flow.

  • Scale: The full grid consists of 1.1 million cells.
  • Complexity: The dataset includes 20 different trajectories with varying rock properties (permeability and porosity), initial conditions, and well locations to test the model's ability to generalize to new scenarios.

Key Insights and Ideas

  • Physics-Inspired Hybridization: The "aha moment" here is that one architecture doesn't fit all. By using a GNN for the "messy" local fluid flow and a U-Net for the "smooth" global pressure, the model respects the multi-scale nature of the governing partial differential equations (PDEs).
  • Graphs for Geometry: Treating a grid as a graph isn't just a trend; it provides a mathematical way to handle boundary conditions and flow barriers (like faults) that standard convolutional networks (CNNs) struggle to learn from data alone.
  • Generalization is Possible: The model doesn't just memorize one reservoir; it learns the underlying "local rules" of fluid dynamics, allowing it to predict flow even when wells are moved to entirely new locations not seen during training.

Key Results

HGNS sets a new bar for both speed and accuracy in learned subsurface simulation:

  • Speedup: Inference is 2 to 18 times faster than a standard industry solver (running on 8 CPUs).
  • Accuracy: It reduced long-term prediction errors by up to 21% compared to other state-of-the-art learning models like 3D-U-Nets or CNNs.
  • Long-term Stability: Even after a 20-month "rollout" (predicting 20 steps ahead using its own previous predictions), the pressure error remained below 100 psi for over 95% of the cells.
Visual comparison showing HGNS accurately capturing water and oil flow over 20 months

Limitations and Future Work

While impressive, the current model focuses on Single Porosity Single Permeability (SPSP) models. Real-world reservoirs often have fractures that act as high-speed "highways" for fluid, requiring more complex Dual Porosity models.

The authors also suggest that because HGNS is differentiable, it could be used for "history matching"—an inverse problem where you observe fluid output at a well and work backward to figure out the hidden geological properties of the rock.

Summary updated

BibTeX
@inproceedings{wu2022learning,
  author = {Tailin Wu and Qinchen Wang and Yinan Zhang and Rex Ying and Kaidi Cao and Rok Sosič and Ridwan Jalali and Hassan Hamam and Marko Maucec and Jure Leskovec},
  title = {{Learning Large-scale Subsurface Simulations with a Hybrid Graph Network Simulator}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2022},
  doi = {10.1145/3534678.3539045},
}
Figure