Modeling nanoconfinement effects using active learning

Javier E. Santos, Mohammed Mehana, Hao Wu, Masa Prodanovic, Michael J. Pyrcz, Qinjun Kang, Nicholas Lubbers, Hari S. ViswanathanarXiv 2020

Abstract

Traditional Molecular Dynamics (MD) simulations are computationally prohibitive for modeling gas adsorption in shale nanopores at the reservoir scale. This paper presents a physics-based deep learning surrogate model that predicts gas density profiles up to one million times faster than MD. By integrating physics-informed constraints and an Active Learning (AL) workflow, the model achieves high-fidelity results with significantly reduced training data requirements, bridging the gap between molecular-scale accuracy and mesoscale reservoir modeling.

Introduction

In unconventional "tight" reservoirs like shale, the majority of pores are smaller than 50 nanometers. At this scale, fluids exhibit "nanoconfinement effects," where gas molecules adhere to pore walls (adsorption), accounting for up to 85% of the total hydrocarbon volume. Accurately modeling these interactions is critical for resource estimation and production forecasting. However, a multi-scale modeling bottleneck exists: Molecular Dynamics (MD) is highly accurate but takes approximately one hour per pore, while mesoscale methods like Lattice-Boltzmann lack the resolution to capture molecular interactions. This study proposes a Convolutional Neural Network (CNN) surrogate model to resolve this bottleneck.

Overview of the CNN surrogate model workflow compared to traditional Molecular Dynamics.

Methodology

CNN Architecture and Physics Constraints

The researchers developed a CNN designed to map binarized pore images to predicted density profiles. To ensure physical consistency, the architecture includes:

  • Density Scaling Layer: A masking mechanism that prevents the model from predicting gas density within solid walls based on input geometry.
  • Mass Conservation Regularization: A term added to the loss function to ensure the total mass predicted by the network aligns with physical expectations.

Active Learning (AL) Workflow

To optimize data efficiency, the study employed a "Query-by-Committee" AL approach. Five identical networks with different initializations were trained. When the committee members disagreed on a prediction for a new pore geometry—indicated by a high standard deviation—that pore was flagged as "high uncertainty" and sent to the MD simulator for labeling. This targeted sampling allowed the model to reach theoretical precision limits with 85% less data than random sampling.

Architecture Optimization and Datasets

The study utilized three datasets: simple geometries (ellipses/rectangles), irregular synthetic shapes, and real pores extracted from 3D Focused Ion Beam Scanning Electron Microscopy (FIB-SEM) images of the Vaca Muerta formation. A sensitivity analysis was performed on the number of "stacks" and "filters" to find the optimal balance between computational speed and predictive accuracy.

Sensitivity analysis of CNN architecture showing the relationship between trainable parameters, error, and training time.

Key Results

  • Computational Efficiency: The CNN generates predictions in approximately 3 milliseconds, compared to ~1 hour for MD simulations, representing a speedup factor of roughly $10^6$.
  • Data Efficiency: The AL workflow enabled a model trained on only 90 targeted examples to outperform a standard CNN trained on 1,200 random examples.
  • Accuracy: The final optimized model achieved an average error of 1.6% on simple shapes and demonstrated robust generalization to complex, real-world shale geometries. Physics constraints alone reduced mean relative error from 5.3% to 4.8%.

Conclusion and Future Work

This work demonstrates that physics-informed surrogate models, enhanced by active learning, can effectively emulate expensive molecular simulations. While currently focused on 2D cross-sections and adsorption, future research aims to extend this workflow to 3D systems and other nanoconfinement effects, such as fluid viscosity changes and critical point shifts. The ultimate goal is the integration of these fast surrogates into Lattice-Boltzmann Methods for large-scale, physics-accurate reservoir simulations.

Summary updated

BibTeX
@misc{santos2020modeling,
  author = {Javier E. Santos and Mohammed Mehana and Hao Wu and Masa Prodanovic and Michael J. Pyrcz and Qinjun Kang and Nicholas Lubbers and Hari S. Viswanathan},
  title = {{Modeling nanoconfinement effects using active learning}},
  year = {2020},
  eprint = {2005.02587},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2005.02587},
}
Figure