Accelerating Physics-Based Simulations Using End-to-End Neural Network Proxies: An Application in Oil Reservoir Modeling

Jirí Navrátil, Alan King, Jesus Rios, Georgios Kollias, Ruben Rodriguez Torrado, Andrés Codas

TL;DR

This paper introduces a novel end-to-end deep learning approach to create "proxy models" that dramatically accelerate oil reservoir simulations, achieving over 2000x speedup with only ~10% error compared to traditional physics-based solvers. This breakthrough could revolutionize oil field development optimization by enabling the exploration of millions of scenarios previously computationally infeasible.

What Problem Does This Paper Address?

Modern oil and gas exploration relies heavily on complex physics-based simulators to model reservoir behavior and plan field development. These simulations, which solve large systems of non-linear partial differential equations (PDEs), are computationally intensive, often taking hours or days for a single run. This bottleneck severely limits the number of scenarios that can be explored, especially in optimization problems that require evaluating millions of potential well placements and geological configurations. The challenge is to create models that can accurately predict reservoir performance much faster, without sacrificing critical accuracy, to enable more comprehensive and efficient decision-making.

Methods

The core of this work is an end-to-end neural network proxy built using an encoder-decoder architecture with Long Short-Term Memory (LSTM) cells. This architecture treats the physics-based simulator as a black box, learning to map sequences of drilling actions (well placements and timing) and geological realizations to sequences of production and injection rates.

Key methodological contributions include:

  • End-to-End Black Box Modeling: The proxy directly learns the input-output relationship of the simulator, making it agnostic to the underlying physics and thus more generalizable.
  • Sequence-to-Sequence Approach: The model handles the temporal nature of both the input (drilling actions over time) and the output (production rates over time).
  • Neural Attention Mechanism: A crucial component that allows the decoder to focus on the most relevant input actions when predicting output at each time step, improving accuracy. The paper specifically highlights the benefit of attending to all encoder layers rather than just the top one.
  • Hybrid Propagation (HybridProp) Decoding: A novel decoding strategy that uses a few initial "ground truth" simulator outputs during prediction to mitigate error propagation, particularly effective in challenging scenarios like well control optimization.

Datasets

The study utilizes data generated from two reservoir simulators:

  • Open Porous Media (OPM): Used for generating the majority of the training and testing data, including a large dataset (OPM-163k) for exploring training size effects. The primary benchmark dataset used is OPM-22k, derived from the publicly available SPE9 reservoir model.
  • Eclipse: A commercial simulator used to generate data for well control optimization scenarios, forming the Ecl-32k dataset.

The SPE9 model is a standard benchmark in the oil and gas industry, providing a realistic testbed for reservoir simulation. The OPM-22k dataset consists of simulations with varying well locations and geological realizations.

Key Insights and Ideas

  • End-to-end deep learning can dramatically outperform traditional acceleration techniques: The proxy model significantly surpasses methods like upscaling in both speed and accuracy.
  • Attention is crucial for capturing complex temporal dependencies: The attention mechanism, especially when applied across multiple encoder layers, is vital for the proxy to accurately map drilling actions to production outcomes.
  • Hybrid decoding strategies can significantly improve accuracy in challenging scenarios: The HybridProp method, by incorporating a small amount of ground truth data at prediction time, effectively tackles issues like error propagation in well control optimization.
  • The proxy model exhibits good extrapolation capabilities: Models trained on shorter time horizons can reasonably predict outcomes over longer periods, though with a slight increase in error.
  • Domain-agnostic architecture is a major advantage: The success of this approach in oil reservoir modeling suggests its potential applicability to other complex simulation tasks in fields like energy and environment.

Key Results

  • Massive Speedup: Achieved over 2000X acceleration compared to industry-strength physics-based simulators.
  • High Accuracy: Maintained an average sequence error of approximately 10% relative to the simulator.
  • Outperformance of Baselines: The end-to-end proxy model outperformed upscaling methods by two orders of magnitude in terms of accuracy.
  • Specific Error Reductions:
    • Basic encoder-decoder: 21.5% error.
  • With GT Pre-training: 15.3% error.
  • With factored geological features and single-layer attention: 12.2% error.
  • With multi-layer attention: 10.3% error (best performing model).
  • Timing: The fastest proxy model (M64x1) achieved a speedup factor of 2343X over the OPM simulator on a single CPU core. Batched processing on a GPU further reduced simulation time to as low as 0.1 ms/sim.
  • Well Control Optimization: The proxy model demonstrated the ability to approximate simulations with well control optimization, achieving an error rate of around 15% with the HybridProp method.

Limitations and Future Work

  • Computational Cost of Training: While inference is extremely fast, training these deep learning models still requires significant computational resources and data generation.
  • Error Propagation in Prop Mode: Without HybridProp, the pure prediction propagation mode can lead to accumulating errors, especially at the beginning of the prediction sequence.
  • Extrapolation Accuracy: While the model shows extrapolation capability, there is a slight increase in error when predicting beyond the trained horizon.

The authors suggest that the domain-agnostic nature of their approach makes it suitable for extension to other complex simulation tasks in energy and environmental modeling. Future work could explore further improvements in accuracy, more sophisticated handling of uncertainty, and integration into real-time decision-making systems.

Summary updated

BibTeX
@inproceedings{navratil2019accelerating,
  author = {Jirí Navrátil and Alan King and Jesus Rios and Georgios Kollias and Ruben Rodriguez Torrado and Andrés Codas},
  title = {{Accelerating Physics-Based Simulations Using End-to-End Neural Network Proxies: An Application in Oil Reservoir Modeling}},
  booktitle = {Frontiers Big Data},
  year = {2019},
  url = {https://openreview.net/forum?id=CZkBsOG5iN},
}
Figure