BAYESIAN SIMULATION-BASED LEARNING: USING NUMERICAL MODELS TO QUANTIFY UNCERTAINTY IN THE SUBSURFACE
Prof. Dr. Ir. Thomas Hermans, Associate professor, Department of Geology
DEPARTMENT GEOLOGY
RESEARCH GROUP HYDROGEOLOGY AND APPLIED GEOLOGY
… & collaborators, postdocs and PhD students
WHO AM I ?
Prof. Dr. Ir. Thomas Hermans
Associate Professor, Department of Geology (since 2017)
Hydrogeology and Applied Geophysics
Master in Civil Engineering, mining and geology (ULiege, 2010)
PhD in Applied Geophysics (ULiege, 2014)
Research interests: Geophysical inversion, geophysical monitoring, petrophysics, data integration in groundwater models, uncertainty quantification, geothermal energy
Current: 8 PhD, 4 postdocs, 2 technicians
UNCERTAINTY IN THE SUBSURFACE: AN UNRESOLVED ISSUE ?
3
LET’S TAKE AN EXAMPLE
4
Calculating the wellhead protection area (WHPA)
THE 1ST PROBLEM OF THE (HYDRO)GEOLOGIST
Our representation of the subsurface is based on (very) sparse local data
5
?
?
?
What happens between boreholes ?
How do I reproduce my observation ?
Well data
Lithology
THE TYPICAL SOLUTION TO CALCULATE THE WHPA ?
6
Data = predictor
Model
Prediction = target
Pumping and Tracing experiments
Distribution of subsurface properties
Inversion or calibration
Prediction
IS THIS APPROACH SATISFACTORY ?
7
Model
Target
To make inversion possible, model(s) are simplified
Parameterization
Boundary conditions
The solution is non-unique 🡪 Uncertainty
Models often fail to predict within the correct range
🡪 Uncertainty
Expected pollutant arrival time from model
Observed pollutant arrival time
THE 2ND PROBLEM OF THE (HYDRO)GEOLOGIST
The inherent model uncertainty propagates in the model prediction 🡪 Decision making based on uncertain outcome
8
N different possible models = N different possible predictions
THE ALTERNATIVE TO THE DETERMINISTIC APPROACH
9
STOCHASTIC APPROACHES
Stochastic inversion…
But stochastic inversion…
10
CAN WE LEVERAGE MACHINE LEARNING?
Bayesian Simulation-Based Learning (BaSiL)
11
The learning process should account for uncertainty
We use numerical models to map how the predictor influences the target.
Every learning process requires “examples” to derive useful relationships
(Scheidt et al., 2018)
(Hermans et al., 2018, WRR)
(Thibaut et al., 2021, JoH)
Predictor
Models
Target
SOLVING THE WHPA WITH BASIL
12
DIMENSION REDUCTION
Model n samples
Predictor n samples
Target n samples
Statistical learning
Learning Phase
1. Dimension reduction with PCA
Corresponding reconstruction of the predictor (99%) and target (98%)
(Thibaut et al., 2021, JoH)
Solving GW flow and transport with numerical models
Solving GW flow and transport with numerical models
STATISTICAL LEARNING
Model n samples
Predictor n samples
Target n samples
Statistical learning
Learning Phase
2. Canonical Correlation Analysis
Set of independent bivariate linearized relaionships between predictor and target components
(Thibaut et al., 2021, JoH)
PREDICTING UNCERTAINTY
15
Prediction Phase
Observed data
Sampling
Prediction
3. Sampling in the CCA space + backtransformation
Linear regression or Kernel Density Estimation
(Thibaut et al., 2021, JoH)
WHPA PREDICTION FOR 4 DIFFERENT TRUTHS
16
(Thibaut et al., 2021, JoH)
HOW MANY MODELS ARE NEEDED FOR LEARNING
17
(Thibaut et al., 2021, JoH)
CONCLUSIONS
What are the advantages ?
🡪 No approximation needed for the posterior (e.g. ensemble smoother)
🡪 Computationnally affordable
What are the limitations ?
🡪 No guarantee of success
18
EXPERIMENTAL DESIGN WITH BASIL
19
STATING THE EXPERIMENTAL DESIGN PROBLEM
20
BASIL FOR EXPERIMENTAL DESIGN
BaSiL is a perfect candidate to solve the ED problem
!!! A new statistical model is required for any newly proposed data set !!!
21
WHICH WELL IS THE MOST INFORMATIVE
22
WHICH WELL IS THE MOST INFORMATIVE
23
🡪 Wells 4 and 6 are the most informative
TESTING COMBINATIONS OF WELLS
Which (combination of tests) is the most informative ?
We just need to predict for an independent (not used for training) set of models and assess uncertainty reduction
24
CONCLUSIONS
What are the advantages ?
What are the limitations ?
25
SOLVING FOR MODEL PARAMETERS AND GEOPHYSICAL INVERSION
26
IMAGING – MODEL PARAMETERS
27
(Michel et al., 2020, Comp. & Geos)
The target h = the model m
We replace inversion by statistical learning
(Michel et al., 2022, GJI)
GEOPHYSICAL INVERSION
28
BaSiL for 1D Geophysics
(Michel et al., 2020, Comp. & Geos)
Learning phase
(Michel et al., 2022, GJI)
GEOPHYSICAL INVERSION
29
BaSiL for 1D Geophysics
(Michel et al., 2020, Comp. & Geos)
Prediction phase
(Michel et al., 2022, GJI)
THE SNMR EXAMPLE
30
sNMR = surface Nuclear Magnetic Resonance
REDUCTION OF DIMENSIONALITY
31
PCA principle
PCA
STATISTICAL RELATIONSHIP
32
Model space
PCA data
space
CCA
SAMPLING THE POSTERIOR
33
Observed data in CCA reduced data
KDE
BACK-TRANSFORMATION
34
Sampling and back-transformation
COMPARISON WITH MCMC
35
OVERESTIMATION OF THE UNCERTAINTY
36
BEL1D
DREAM
Noise level is 35 nV
OVERESTIMATION OF THE UNCERTAINTY
37
Noise level is 35 nV
ITERATIVE PRIOR RESAMPLING
38
Concept
(Park and Caers, 2020, Comp. & Geos.;
Michel et al., 2022, GJI)
HOW MANY PRIOR SAMPLES DO WE NEED
39
In this case, BaSiL is actually faster than deterministic inversion !
FIELD APPLICATION
Mont Rigi natural reserve
40
GPR estimated peat thickness map (Modified from Wastiaux and Schumacker, 2003)
FIELD APPLICATION: POSTERIOR MODELS
41
Results compared to QT-inversion (gray line)
Non-unicity of the solution illustrated by the RMS error range
Equivalence between thickness and water content of layer 1
Uncertainty on the relaxation time
ITERATIVE PRIOR RESAMPLING
42
Field case Mont Rigi
CONCLUSION
43
SEQUENTIAL OPTIMIZATION
44
STATING THE SEQUENTIAL ED PROBLEM
45
OPTIMIZING TEMPERATURE MEASUREMENT
Assuming 1D vertical flow and advective-dispersive heat transport, it is possible to estimate vertical groundwater flux based on temperature measurement
It is using fixed boundary conditions and fixed values for thermal parameters
46
OPTIMIZING TEMPERATURE MEASUREMENT
If the set of parameters are uncertain, a stochastic approach must be used and a posterior distribution for the flux is obtained
The uncertainty can be reduced by choosing the optimized depth to record the temperature
Bayesian Optimal Experimental Design
47
PROBABILISTIC BAYESIAN NEURAL NETWORK
Predictor = set of temperatures (The first 2 points are always measured)
Target = flux + subsurface parameters
Target = pdf (Gaussian mixture model)
48
RESULTS
Low fluxes are more difficult to predict
The model is not sensitive to the thermal conductivity
The bottom temperature can be accurately predicted (deep sampling)
49
CONCLUSION
50
CONCLUSION AND PERSPECTIVES
Bayesian Simulation-Based Learning is an efficient framework for prediction, inversion and experimental design
Limitations
51
CONCLUSION AND PERSPECTIVES
Dimension reduction is the key to success
Deep Neural Network (Lopez et al., 2021, Comp. & Geos., 2022, JGR:SE)
52
Representation of complex structures (8325 pixels) with only 20 dimensions
Problem: highly non-linear mapping
True model
DNN representaion
CONCLUSION AND PERSPECTIVES
Dimension reduction is the key to success
Parameterization of geometries (grid independent) (e.g., Goebel et al., 2019, AGU Fall Meeting, H13A-04)
53
Example: Extraction of the fresh/saltwater interface: 2 or 3 parameters are sufficient
CONCLUSION AND PERSPECTIVES
Dimension reduction is the key to success
Global and local variables (Park and Caers, 2020, Comp. & Geos.; Oware et al., 2019, Geophysics)
54
Samples
Eigenimages
Hermans Thomas�Associate Professor��DEPARTMENT OF GEOLOGY��E thomas.hermans@ugent.be�T +32 9 264 46 60�M +32 499 13 88 53��www.ugent.be�
Ghent University�@ugent�Ghent University
PREDICTION RELATED TO GROUNDWATER SYSTEMS: ATES
56
Summer
Water table
Warm well 17°C
Cold well 7°C
Heat pump
25°C
12°C
The prediction of interest is the capacity of the aquifer to store heat
Approximation by the temperature in the hot well during seasonal cycles
storage
storage
recovery
recovery
HOW DO WE GET THIS PREDICTION ?
57
Data
Models
Prediction
“Standard Method”
Thermal response test, Push-pull test, Tracing experiment, pumping test etc.
storage
storage
recovery
recovery
Inversion/Calibration
Simulation/Forecasting
IS THIS APPROACH SATISFACTORY ?
58
Models
Prediction
Parameterization : zonation, layered model, simplification to reduce the number of unknowns, etc.
Choice of the boundary conditions, type of parameters (flow, heat transport, etc.)
Uncertainty ?
Calibration
Prediction
Real
Estimated
Models often fail to predict within the correct range
Uncertainty ?
EXAMPLE: HEAT STORAGE IN A SHALLOW AQUIFER
59
0
3
7
Coarse gravel
Sandy gravel
Loam
Injection well
Depth (m)
Prediction
Simulation of an ATES system
Temperature in the hot well during the recovery phase
(Hermans et al., WRR, 2018)
GENERATING PRIOR MODELS
60
Models
What do we know, what do we ignore ?
Parameters | Status | Value |
Mean of log10 K (m/s) | Variable | U[-4 -1] |
Variance log10 K (m/s) | Variable | U[0.05 1.5] |
Range (m) | Variable | U[1 10] |
Anisotropy ratio | Variable | U[0.5 10] |
Orientation | Variable | U[-π/4 -π/4] |
Porosity | Variable | U[0.05 0.40] |
Gradient (%) | Variable | U[0 0.167] |
Other parameters | Fixed | |
500 realizations = prior models
SENSITIVITY ANALYSIS OF THE PREDICTION
61
Prediction
Identification of the most sensitive parameters
IDENTIFICATION OF INFORMATIVE DATA SET(S)
62
Data
Designing an informative experiment
A heat tracing experiment monitored with ERT
Identification of transport processes and heterogeneity
SENSITIVITY ANALYSIS OF THE DATA
63
Identification of the most sensitive parameters
Overlapping with predictions ?
Data
CAN HEAT TRACING PREDICT HEAT STORAGE?
64
models from the prior field observations
Data d
Prediction h
1. Dimension reduction (PCA)
2. Linearization
(CCA)
Learning phase: Finding a direct relationship between data and prediction
CAN HEAT TRACING PREDICT HEAT STORAGE?
65
Prediction phase: Sampling the posterior in the low-dimension space
Linear regression, kernel density, transport maps, etc.
ESTIMATING THE PREDICTION + UNCERTAINTY
66
Prediction phase: Back-transforming in the original space
IS IT WORKING ? VALIDATING WITH INDEPENDENT DATA
67
Data = 1 cycle push-pull test
Prediction = 2 cycles push-pull test
(Hermans et al., 2019, Hydrogeol. J.)
VALIDATION
We verify if we can predict the second experiment using the first one
68
TESTING POTENTIAL DATA SETS: 1-DAY VS 5-DAY
1-day = increasing part of the breakthrough curve
5-day = whole breakthrough curve
69
1-day
5-day
Same results, similar uncertainty
Is the 1-day experiment « sufficient »?
TESTING POTENTIAL DATA SETS: SINGLE OR MULTIPLE PUSH-PULL TESTS
70
Data 1
Data 2
Test 1
Test 2
CONCLUSIONS
What are the advantages ?
What are the limitations ?
71
A 2D + TIME CASE: TIME-LAPSE ERT
72
A heat tracing experiment
(Hermans et al., 2016, 2018, WRR)
A 2D CASE: TIME-LAPSE ERT
73
(Hermans et al., 2016, 2018, WRR)
A 2D CASE: TIME-LAPSE ERT
74
Dimension reduction
Regression (Tarantola, 2005)
(Hermans et al., 2016, 2018, WRR)
A 2D CASE: TIME-LAPSE ERT
75
Prediction
(Hermans et al., 2016, 2018, WRR)
mean
StD
A 2D CASE: TIME-LAPSE ERT
76
Field application
(Hermans et al., 2016, 2018, WRR)
A 2D CASE: TIME-LAPSE ERT
77
Posterior
(Hermans et al., 2016, 2018, WRR)
A 2D CASE: TIME-LAPSE ERT
78
Validation
Observation from piezometers
(Hermans et al., 2016, 2018, WRR)
A 3D CASE: TIME-LAPSE ERT
79
A 3D CASE: TIME-LAPSE ERT
80
Uncertain Parameter | Range of value | Uncertain Parmeter | Range of value |
| | Anisotropy ratio | Uniform [0.1 to 0.5] |
| | Orientation of main range to flow direction | |
Porosity | Uniform [0.05 to 0.3] | ||
Variogram main range | Uniform [1 to 10 m] | Natural gradient | Uniform [0.05 to 0.167 %] |
A 3D CASE: TIME-LAPSE ERT
81
Dimension reduction
Gaussian
A 3D CASE: TIME-LAPSE ERT
82
Prediction
True distribution
Median posterior prediction
Storage phase 46 h
Pumping phase 94.5 h
Smoothness constraint inversion
A 3D CASE: TIME-LAPSE ERT
83
Validation
X (m)
Y (m)
Temeprature time-average relative error (%)
Overestimation
Underestimation
Z (m)
Time (h)
Temperature (°C)
Prior
Reference
Posterior 5%-95% interval
PRIOR UNCERTAINTY
84
| Thickness [m] | Water content [/] | Relaxation time [ms] | |||
Minimum | Maximum | Minimum | Maximum | Minimum | Maximum | |
Layer 1 | 2.5 | 7.5 | 0.035 | 0.1 | 5 | 350 |
Half-space | | | 0.1 | 0.3 | 5 | 350 |
Description of the prior model space
2 layer model
Sampled models
… AND SYNTHETIC DATA MODELLING
85
Sampled models
Simulated data
Single transmitter/receiver loop
50 m of diameter
2 turns
HOW DO WE DEAL WITH NOISE ?
86
Noise propagation
Uncertainty on d
Increase of uncertainty
Controlled via KDE