longtable \setkeysGinwidth=\Gin@nat@width,height=\Gin@nat@height,keepaspectratio \NewDocumentCommand\citeproctext \NewDocumentCommand\citeprocmm[#1]
An uncertainty-aware Digital Shadow for underground multimodal CO2 storage monitoring
Abstract
As a society, we are faced with important challenges to combat climate change. Geological Carbon Storage (GCS), during which gigatonnes of super-critical CO2 are stored underground, is arguably the only scalable net-negative CO2-emission technology that is available. While promising, subsurface complexities and heterogeneity of reservoir properties demand a systematic approach to quantify uncertainty when optimizing production and mitigating storage risks, which include assurances of Containment and Conformance of injected supercritical CO2. As a first step towards the design and implementation of a Digital Twin for monitoring and control of underground storage operations, a machine-learning-based data-assimilation framework is introduced and validated on carefully designed realistic numerical simulations. Because our implementation is based on Bayesian inference, but does not yet support control and decision-making, we coin our approach an uncertainty-aware Digital Shadow. To characterize the posterior distribution for the state of CO2 plumes (its CO2 concentration and pressure), conditioned on multi-modal time-lapse data, the envisioned Shadow combines techniques from Simulation-Based Inference (SBI) and Ensemble Bayesian Filtering to establish probabilistic baselines and assimilate multi-modal data for GCS problems that are challenged by large degrees of freedom, nonlinear multiphysics, non-Gaussianity, and computationally expensive to evaluate fluid-flow and seismic simulations. To enable SBI for dynamic systems, a recursive scheme is proposed where the Digital Shadow’s neural networks are trained on simulated ensembles for their state and observed data (well and/or seismic). Once training is completed, the system’s state is inferred when time-lapse field data becomes available. Contrary to ensemble Kalman filtering, corrections to the predicted simulated states are not based on linear updates, but instead follow during the Analysis step of Bayesian filtering from a prior-to-posterior mapping through the latent space of a nonlinear transform. Starting from a probabilistic model for the permeability field, derived from a baseline surface-seismic survey, the proposed Digital Shadow is validated on unseen simulated ground-truth time-lapse data. In this computational study, we observe that a lack of knowledge on the permeability field can be factored into the Digital Shadow’s uncertainty quantification. Our results also indicate that the highest reconstruction quality is achieved when the state of the CO2 plume is conditioned on both time-lapse seismic data and wellbore measurements. Despite the incomplete knowledge of the permeability field, the proposed Digital Shadow was able to accurately track the unseen physical state of the subsurface throughout the duration of a realistic CO2 injection project. To the best of our knowledge, this work represents the first proof-of-concept of an uncertainty-aware, in-principle scalable, Digital Shadow that captures the uncertainty arising from unknown reservoir properties and noisy observations. This framework provides a foundation for the development of a Digital Twin aimed at mitigating risks and optimizing the management of underground storage projects.
Table of contents
- 1 Introduction
- 2 Problem formulation
- 3 Methodology
- 4 Digital Shadow for CO2 storage monitoring
- 5 Multimodal case study
- 6 Discussion
- 7 Conclusions
- Data and Software Availability
- Acknowledgement
- References
- Appendices
1 Introduction
1.1 The need for Geological Carbon Storage
Geological carbon storage (GCS) constitutes capturing carbon dioxide (CO2) emissions from industrial processes followed by storage in deep geological formations, such as depleted oil and gas reservoirs, deep saline aquifers, or coal seams (Page et al. 2020). Because of its ability to scale (Ringrose 2020, 2023), this net-negative CO2-emission technology is widely considered as one of the most promising technologies to help mitigate the effects of anthropogenic CO2 greenhouse gas emissions, which are major contributors to global warming (Bui et al. 2018; IPCC special report 2005). According to the Intergovernmental Panel on Climate Change (IPCC, Panel on Climate Change) (2018)), it is imperative to contain atmospheric warming to C by the year 2100 to avoid serious consequences of global warming. To achieve this goal, scalable net-negative emission technologies that can remove tens of gigatonnes of CO2 per year (IPCC special report 2018) are needed in addition to reducing emissions. These needs call for a transition towards increased use of renewable energy in combination with the global deployment of GCS technology to store significant amounts of supercritical CO2 into geological formations to mitigate the effects of climate change (Metz et al. 2005; Orr Jr 2009). When supercritical CO2—captured at anthropogenic sources (fossil-fuel power plants, steel, cement, and chemical industries), is stored securely and permanently in underground geological storage reservoirs, it can be scaled to mitigate upto of the total CO2 emission problem (Ketzer, Iglesias, and Einloft 2012). This work is a first step towards an uncertainty-aware Digital Twin aimed at optimizing underground operations while mitigating risks.
1.2 The challenge of monitoring subsurfcae CO2 injection projects
Our main technical objective is directed towards monitoring CO2-storage projects, so that assurances can be made whether storage proceeds as expected and whether CO2 plumes remain within the storage complex. These assurances are referred to as Conformance and Containment by the regulators and operators of GCS (Ringrose 2020, 2023). Even though the proposed methodology could be applied to other settings, our focus is on CO2 storage in offshore saline aquifers in a marine setup as illustrated in figure 1. Compared to storage projects on land, this choice for marine settings circumvents potential complications and risks associated with future liability and geomechanically-induced pressure changes that may trigger earthquakes (Zoback and Gorelick 2012; He et al. 2011; Raza et al. 2016). While this approach simplifies the complexity of underground CO2 storage projects to some degree, simulations for the state of CO2 plumes are on balance more challenging than conventional reservoir simulations because the fluid-flow properties are less well-known. Besides, the process of displacing brine with supercritical CO2 is intricate, taxing multi-phase flow simulators (Ringrose 2020, 2023). To illustrate the possible impact of lack of knowledge on the reservoir properties (the permeability), figure 1 also includes a juxtaposition between multi-phase flow simulations for two different realizations of permeability fields drawn from a stochastic baseline established from active-source surface seismic data (Yin, Orozco, et al. 2024). While both realizations for the permeability are consistent with this baseline, they yield vastly different outcomes where in one case the CO2 plume remains well within (figure 1 bottom-left) the storage complex (denoted by the white dashed line in figure 1) whereas the other simulation obviously breaches Containment (figure 1 bottom-right), due to the presence of an “unknown” high-permeability streak. By maximally leveraging information derived from multimodal time-lapse monitoring data, we plan to guide uncertain reservoir simulations, so outlying “unpredicted” geological events, such as the one caused by the high-permeability streak, can be accounted for.
1.3 Proposed approach with Digital Shadows
As stated eloquently by Ringrose (2020); Ringrose (2023), CO2-storage projects can not rely on static reservoir models alone (Ringrose and Bentley 2016). Instead, reservoir models and simulations need to be updated continuously from multimodal sources (e.g. active-source surface seismic and/or pressure/saturation measurements at wells) of time-lapse data. By bringing this insight together with the latest developments in generative Artificial AI, which includes the sub-discipline of Simulation-Based Inference (SBI, Cranmer, Brehmer, and Louppe (2020)), where conditional neural networks are trained to act as posterior density estimators, and nonlinear ensemble filtering (Spantini, Baptista, and Marzouk 2022), a Digital Shadow (Asch 2022) is coined as a framework for monitoring underground CO2-storage projects. Digital Shadows differ from Digital Twins (Asch 2022) in the sense that they integrate information on the state of a physical object or system — e.g. the temporal behavior of CO2-injection induced changes in pressure/saturation for GCS — by capturing information unidirectionally from real-time, possibly multimodal, observed time-lapse data without feedback loops. While our framework is designed to allow for future optimization, control, and decision-making to mitigate risks of GCS that would turn our Shadow into a Twin, our main focus in this work is to introduce a scalable machine-learning assisted data-assimilation framework (Asch 2022; Spantini, Baptista, and Marzouk 2022). To be relevant to realistic CO2-storage projects, use is made of scalable state-of-the-art reservoir simulation, wave-equation based seismic inversion (Virieux and Operto 2009; Baysal, Kosloff, and Sherwood 1983), ensemble Bayesian filtering (Asch 2022), and the advanced machine-learning technique of neural posterior density estimation (Cranmer, Brehmer, and Louppe 2020; Radev et al. 2020), to capture uncertainties due to our lack of knowledge on the reservoir properties, the permeability field, in a principled way. Because the envisioned Digital Shadow is aimed at monitoring CO2-injection projects over many decades, its performance is validated in silico—i.e. via a well-designed computer-simulation study. As with the development of climate models, this approach is taken by necessity because suitable time-lapse datasets spanning over long periods of time are not yet available.
1.4 Relation to exisiting work
The central approach taken in this work finds its basis in ensemble Kalman Filtering (EnKF, Evensen (1994); Asch, Bocquet, and Nodet (2016); Carrassi et al. (2018)), a widely employed and scalable Bayesian data-assimilation (DA) technique. Here, DA refers to a statistical approach where indirect and/or sparse real-world time-lapse measurements are integrated into a model that describes the dynamics of the hidden state of CO2 plumes. While other time-lapse data-collection modalities exist, including controlled-source electromagnetics (Ayani, Grana, and Liu 2020; Grana, Liu, and Ayani 2021), gravity (Appriou and Bonneville 2022), history matching from data collected at wells (G. Zhang, Lu, and Zhu 2014; Strandli, Mehnert, and Benson 2014), and even tomography with muons (Gluyas et al. 2019), we employ active-source time-lapse surface-seismic surveys (D. E. Lumley 2001) in combination with data collected at wells. Seismic surveys are known for their relatively high attainable resolution, sensitivity to small CO2-induced changes in seismic rock properties, and spatial coverage in both the vertical and horizontal coordinate directions (Ringrose 2020, 2023).
By including crucial multi-phase fluid-flow simulations (Nordbotten and Celia 2011) for the state, and by exchanging the extended Kalman filter (Asch, Bocquet, and Nodet 2016; Asch 2022) for better scalable EnKF (Bruer et al. 2024) type of approach, our work extends early seismic monitoring work by C. Huang and Zhu (2020), where full-waveform inversion (FWI, Virieux and Operto (2009)) is combined with DA. Our choice for a scalable ensemble filtering type of approach (Herrmann 2023; Gahlot et al. 2023; Spantini, Baptista, and Marzouk 2022) is supported by recent work of Bruer et al. (2024), who conducted a careful study on the computational complexity of realistic CO2 projects. This work is aimed at further improving several aspects of ensemble-filter approaches including (i) incorporation of stochasticity in the state dynamics by treating the permeability distribution as a random variable newly drawn after each time-lapse timestep; (ii) removal of reliance on limiting Gaussian assumptions and linearizations of the observation operator; (iii) replacement of the crucial linear Kalman correction step by a learned nonlinear mapping similar to the coupling approach recently proposed by Spantini, Baptista, and Marzouk (2022); and (iv) extending the approach to multimodal time-lapse data.
To meet these additional complexities and evident nonlinearities, we develop a new neural sequential Bayesian inference framework based on Variational Inference (Jordan et al. 1998) with Conditional Normalizing Flows (CNFs, Rezende and Mohamed (2015); Papamakarios et al. (2021); Radev et al. (2020)). As in the work by Spantini, Baptista, and Marzouk (2022), nonlinearities in both the state and observation operators are accounted for by a prior-to-posterior mapping through the latent space of a nonlinear transform, given by a CNF in this work. However, by allowing the permeability field, which emerges in the state for the fluid flow, to appear as a stochastic nuisance parameter, our proposed formulation sets itself apart from existing work. By using the fact that CNFs implicitly marginalize over nuisance parameters during training (Cranmer, Brehmer, and Louppe 2020; Radev et al. 2020), stochasticity due to the lack of knowledge on the permeability field is factored into the uncertainty captured by our neural approximation for the posterior distribution of the CO2 plume’s state.
Finally, the presented approach provides an alternative to “pure” machine-learning approaches, where neural networks are either trained on pairs saturation/seismic shot records (Um et al. 2023), on reservoir models and saturation plumes (Tang et al. 2021), or on “time-lapse movies” (X. Huang, Wang, and Alkhalifah 2024), to produce estimates for the dynamic state with uncertainties based on Mont-Carlo dropout. Aside from the argument that this type of uncertainty quantification may not be Bayesian (Folgoc et al. 2021), our proposed approach is solidly anchored by the fields of DA, where high-fidelity simulations for the state and observations are used to recursively create forecast ensembles, and by SBI (Cranmer, Brehmer, and Louppe 2020; Radev et al. 2020), where advantage is taken of the important concept of summary statistics (Orozco et al. 2023; Orozco, Siahkoohi, et al. 2024) to simplify the complex relationship between the state (saturation/pressure) and seismic observations (shot records). Instead of relying on the network to provide the uncertainty, our deployment of CNFs aims to learn the Bayesian posterior distribution directly that includes both aleatoric, by adding additive noise to the observed time-lapse data, and epistemic uncertainty, by treating the permeability field as a stochastic nuisance parameter. While our approach can be extended to include network-related epistemic uncertainty (Qu, Araya-Polo, and Demanet 2024), we leave this to future work to keep our approach relatively simple.
1.5 Outline
The Digital Shadow for underground CO2-storage monitoring is aimed to demonstrate how learned nonlinear Bayesian ensemble filtering techniques can be used to characterize the state from multimodal time-lapse monitoring data. Our work is organized as follows. In Section 2, we start by introducing the main ingredients of nonlinear ensemble filtering, followed in Section 3 by an exposition on how techniques from amortized Bayesian inference (Cranmer, Brehmer, and Louppe 2020; Radev et al. 2020) can be used to derive our nonlinear extension of ensemble filtering based on CNFs. After specifying algorithms for Sequential Simulation-based Bayesian Inference and Forecast, Training, and Analysis, which includes an introduction of the important aspect of summary statistics, we proceed by illustrating the “lifecycle” of the proposed Digital Shadow, which includes the important prior-to-posterior mapping that corrects the predictions for the state from time-lapse observations. Next, we outline a detailed procedure to validate the proposed Digital Shadow prototype in a realistic off-shore setting representative of the South-Western North Sea. In addition to detailing this setting, which includes descriptions of the probabilistic baseline, ground-truth simulations, and monitoring with the Digital Shadow, Section 4 also introduces certain performance metrics. Guided by these metrics, a case study is presented in Section 5 with an emphasis on examining the advantages of working with multimodal data. This case study is followed by Section 6 in which the Digital Shadow is put in a broader context, followed by conclusions in Section 7.
2 Problem formulation
Monitoring CO2 plumes from multimodal time-lapse measurements from well and/or surface-seismic data calls for an approach where nonlinear causes of epistemic uncertainty, reflecting lack of knowledge on the reservoir properties determining the dynamics, and aleatoric uncertainty, due to noise in the data, are accounted for in a sequential Bayesian inference framework (Tatsis, Dertimanis, and Chatzi 2022; Rubio, Marzouk, and Parno 2023). As a lead into the definition of our Digital Shadow based on amortized neural posterior estimation (Papamakarios and Murray 2016; Lueckmann et al. 2017; Cranmer, Brehmer, and Louppe 2020), we begin by defining general models for nonlinear state dynamics and observations, followed by formulating a general approach to nonlinear Bayesian filtering (Asch 2022).
2.1 Uncertain state dynamics and observation models
While the presented framework is designed to be general, the focus will be on geophysical monitoring of Geological Carbon Storage (GCS) aimed at keeping track of the dynamics of CO2 plumes via a combination of multi-phase flow simulations and time-lapse multimodal geophysical measurements, consisting of sparse localized direct measurements of the saturation and pressure perturbations (shown in figure 12) collected within boreholes of (monitoring) wells and indirect active-source seismic measurements, collected at the surface. In this scenario, the time-varying state-dynamics are measured at discrete time instants, , and consists of the time-varying spatial distribution for the CO2 saturation, , and induced pressure perturbation, , which can be expressed as follows:
(1) | ||||
In this expression for the uncertain nonlinear dynamics, the possibly time-dependent dynamics operator, , represents multi-phase fluid-flow simulations that transition the state from the previous timestep, , to the next timestep, , for all time-lapse timesteps. The dynamics operator, , which implements the underlying continuous dynamics between times and , may itself be time-dependent because of induced chemical and/or rock mechanical changes. Because the spatial distribution of the permeability field, collected in the vector , is highly heterogeneous (Ringrose 2020, 2023), unknown, and possibly time-dependent, it is treated as a stochastic nuisance parameter (Radev et al. 2020). Without loss of generality, we assume samples for the spatial gridded permeability field to be drawn from the time-invariant probability distribution—i.e, where is assumed to be independent of the state and time-lapse observations. The dynamics operator takes samples from the spatial distribution for the subsurface permeability, , and the CO2 saturation and reservoir pressure perturbations, collected at the previous timestep in the vector, , as input and produces samples for the CO2 saturation and reservoir pressure perturbations at the next timestep, , as output. While this procedure offers access to samples from the transition density, the transition density itself can not be evaluated because of the presence of the stochastic nuisance parameter, . To leading order, the nonlinear dynamics consists of solutions of Darcy’s equation and mass conservation laws (Pruess and Nordbotten 2011; Li et al. 2020). Despite the fact that the dynamics can be modeled accurately with reservoir simulations (Krogstad et al. 2015; Settgast et al. 2018; Rasmussen et al. 2021; Stacey and Williams 2017), relying on these simulations alone is unfeasible because of a lack of knowledge on the permeability.
To improve estimates for the state, CO2 plumes are monitored by collecting discrete time-lapse well (Freifeld et al. 2009) and surface-seismic data (D. Lumley 2010). We model these multimodal time-lapse datasets as
(2) |
where the vector, , represents the observed multimodal data at timestep . To add realism, the seismic data is corrupted by the noise term, , sampled by filtering realizations of standard zero-centered Gaussian noise with a bandwidth-limited seismic source-time function. This filtered noise is normalized to attain a preset signal-to-noise ratio before it is added to the seismic shot records prior to reverse-time migration. The shot records themselves are generated with 2D acoustic simulations with the seismic properties (velocity and density) linked to the CO2 saturation through the patchy saturation model111To arrive at this acquisition geometry, use was made of reciprocity—i.e., the computational experiments are calculated for sources, reducing the computational costs. (Avseth, Mukerji, and Mavko 2010). The vector, with and the reference velocity and density, represents a time-dependent seismic reference model from which the migration-velocity model for imaging will be derived and with respect to which the time-lapse differences in the seismic shot records will be calculated. According to these definitions, the observation operator, , models multimodal, direct and indirect, time-lapse monitoring data, collected at the (monitoring) wells and migrated from surface-seismic shot records. While this observation operator may also depend on time, e.g. because the acquisition geometry changes, we assume it, like the dynamics operator, to be time-invariant, and drop the time index from the notation.
Due to sparsely sampled receiver and well locations, and the non-trivial null-space of the modeling operators, the above measurement operator is ill-posed, which renders monitoring the CO2 dynamics challenging, a situation that is worsened by the intrinsic stochasticity of the dynamics. To overcome these challenges, we introduce a nonlinear Bayesian filtering framework where the posterior distribution for the state, conditioned on the collected multimodal time-lapse data, is approximated by Variational Inference (Jordan et al. 1999; David M. Blei and McAuliffe 2017) with machine learning (Rezende and Mohamed 2015; Siahkoohi et al. 2023b; Orozco, Siahkoohi, et al. 2024), neural posterior density estimation to be precise. With this approach, which combines the latest techniques from sequential Bayesian inference and amortized neural posterior density estimation (Papamakarios et al. 2021), we aim to quantify the uncertainty of the CO2 plumes in a principled manner.
2.2 Nonlinear Bayesian filtering
Because both the dynamics and observation operators are nonlinear, we begin by defining a general probabilistic model for the state and observations in terms of the following conditional distributions:
(3) |
and
(4) |
for , representing, respectively, the transition density, defined by equation 1, and the data likelihood, given by equation 2. These conditional distributions hold because the above monitoring problem (cf. equations 1 and 2) is Markovian, which implies that the likelihood does not depend on the time-lapse history—i.e., with the shorthand, , so that . This orthogonality assumption holds as long as the nuisance parameters are independent with respect to the state (Rubio, Marzouk, and Parno 2023). The aim of Bayesian filtering is to recursively compute the posterior distribution of the state at time, , conditioned on the complete history of collected time-lapse data—i.e., compute . There exists a rich literature on statistical inference for dynamical systems (McGoff, Mukherjee, and Pillai 2015) aimed to accomplish this goal, which entails the following three steps (Asch 2022):
Initialization step: Choose the prior distribution for the state .
Prediction step: Compute the predictive distribution for the state derived from the Chapman-Kolmogorov equation yielding (Tatsis, Dertimanis, and Chatzi 2022)
(5) | ||||
This step uses equation 1 to advance samples of the distribution to samples of .
Analysis step: Apply Bayes’ rule
(6) |
with and acting as the “likelihood” and “prior”. During this step, the posterior distribution is calculated by correcting the “prior” with the “likelihood”. To this end, equation 4 will be used to draw samples from the likelihood.
These three steps are general and make no assumptions on the linearity and Gaussianity of the distributions involved. The general solution of the above Bayesian filtering problem is far from trivial for the following reasons: (i) equations 5 and 6 only permit analytical solutions in cases where the state-dynamics and observation operators are linear and Gaussian distributed; (ii) the presence of the nuisance permeability parameter in equation 1 requires access to the marginal likelihood, which is computationally infeasible (Cranmer, Brehmer, and Louppe 2020; Kruse et al. 2021a); (iii) likewise, the marginalization in equation 5 is also not viable computationally; and finally (iv) computing the above conditional probabilities becomes intractable in situations where the state is high dimensional and the state-dynamics and observational operators are computationally expensive to evaluate.
To address these challenges, numerous data-assimilation techniques have been developed over the years (Asch, Bocquet, and Nodet 2016). The ensemble Kalman filter (EnKF) (Evensen 1994; Carrassi et al. 2018) features amongst the most advanced techniques and is widely used for large nonlinear state-space and observation models. During the prediction step of the data-assimilation recursions, EnKF propagates a set of particles from the previous timestep, , to the next timestep by applying the state-space dynamics (equation 1) to each particle, followed by generating simulated observation samples, , based on the observation model of equation 2. During the subsequent analysis step, EnKF uses the pairs, , to calculate empirical Monte-Carlo based linear updates to the forecast ensemble. While EnKF avoids the need for linearization, calculation of gradients, and is relatively straightforward to scale, it relies on linear updates that prevent it from solving the above nonlinear and non-Gaussian Bayesian filtering problem accurately, even when increasing the ensemble size (Spantini, Baptista, and Marzouk 2022).
Instead of relying on linear mappings, we consider the analysis step in equation 6 as a trainable prior-to-posterior transformation and employ techniques from amortized neural posterior density estimation with CNFs (Kruse et al. 2021b; Gahlot et al. 2023; Herrmann 2023) to carry out the analysis step, an approach also taken by Spantini, Baptista, and Marzouk (2022), who proposes a closely related but different coupling technique. Our proposed approach derives from simulation-based inference (Cranmer, Brehmer, and Louppe 2020; Radev et al. 2020) with invertible CNFs, which extends EnKF by allowing for learned nonlinear prior-to-posterior density transformations. CNFs represent a class of invertible neural networks that, dependent on a condition term, convert samples from a complicated distribution, through a series of nonlinear differentiable transformations, into samples from a simpler distribution, e.g. the standard Gaussian distribution. Instead of explicit evaluations of the corresponding densities, and similar to EnKF workflows, access is only needed to samples from the “likelihood” and “prior”, available through simulations with equations 1 and 2.
3 Methodology
To free ourselves from limiting assumptions, which either rely on simplifying linearity and Gaussianity assumptions or on computationally unfeasible Markov chain Monte-Carlo (McMC) based approaches, extensive use will be made of Variational Inference (VI) (Jordan et al. 1999) with CNFs (Rezende and Mohamed 2015; Ardizzone et al. 2019a; Kruse et al. 2021a). In these approaches, scalable optimization techniques are used to match parametric representations of distributions with CNFs to unknown target distributions. During simulation-based inference (SBI) (Cranmer, Brehmer, and Louppe 2020; Radev et al. 2020), the forward Kullback-Leibler (KL) divergence (Kullback and Leibler 1951; Siahkoohi et al. 2023a) is minimized on samples from the joint distribution for the state and observations, which involves a relatively easy to evaluate quadratic objective function. In this approach, the CNFs correspond to generative neural networks that serve as conditional density estimators (Radev et al. 2020) for the posterior distribution. After explaining the training and inference phases of SBI, the technique of sequential simulation-based inference will be introduced. This technique is designed to serve as a nonlinear extension of EnKF. To this end, algorithms for the recurrent Forecast, Training, and Analysis stages of the proposed neural Bayesian filtering approach will be presented.
3.1 Amortized Bayesian Inference with CNFs
Recent developments in generative Artificial Intelligence (genAI), where neural networks are trained as surrogates for high-dimensional (conditional) distributions, are key to the development and success of our uncertainty-aware Digital Shadow, which relies on capturing the posterior distribution from simulated samples for the state and observations. While any amortized neural network implementation capable of producing samples conditioned on samples for different observations will work in our setting, and this includes conditional neural networks based on conditional score-based diffusion (Batzolis et al. 2021), CNFs have our preference because they allow us to quickly sample from the posterior, , and conduct density calculations—i.e., evaluate the posterior density and its derivatives with respect to the states, , and observations, . This latter feature is necessary when designing Digital Twins capable of uncertainty-informed decisions (Alsing, Edwards, and Wandelt 2023), control (Gahlot et al. 2024), and Bayesian experimental design (Orozco, Herrmann, and Chen 2024). While non-amortized approaches may be feasible, amortization of the neural estimate of the posterior distribution is essential because it allows us to marginalize over stochastic nuisance parameters (the permeability field, , in our case) while capturing its uncertainty from the ensemble of dynamic states and associated time-lapse observations.
Specifically, our goal is to capture the posterior distribution from pairs, (time-dependence was dropped for simplicity). To achieve this goal, we make use of Bayesian Variational Inference (Rezende and Mohamed 2015) in combination with the ability to carry out simulations of the state dynamics and observations (cf. equations 1 and 2), which are of the type (Radev et al. 2020)
(7) |
where is a generic simulator that depends on samples of the prior, , and nuisance parameters, , possibly conditioned on samples of the prior. These simulated samples give us implicit access to the likelihood. Given sampled pairs, , simulation-based inference with CNFs proceeds by training an invertible neural network to approximate the posterior distribution, , by minimizing the forward Kullback–Leibler (KL) divergence between the true and the approximate posterior for all possible data, . The training objective reads (Radev et al. 2020; Siahkoohi et al. 2023a)
(8) | ||||
To arrive at this objective involving samples from the joint distribution for and , use was made of the law of total probability that allows us to rewrite the marginalization over observations, , in terms of the expectation over samples from the joint distribution. The term can be dropped because it does not depend on the parameters, . For more details, see Siahkoohi et al. (2023a). The above objective is used to approximate the true posterior distribution as accurately as possible, for all possible and , drawn from the joint distribution, . Following Radev et al. (2020), the approximate posterior, is parameterized with a conditional Invertible Neural Network (cINN, Ardizzone et al. (2019a)), , which conditioned on, , defines an invertible mapping.
With the change-of-variable rule of probability
with the Jacobian of evaluated at and , the objective of maximizing the likelihood in equation 8 becomes
(9) | ||||
Given the simulated training pairs, , maximization of the expectations in equation 9 can be approximated by minimization of the sum:
(10) | ||||
During derivation of this training loss for CNFs, use was made of the property: . In the ideal situation where the estimated network weights, , attain a global minimum of the objective in equation 8, the latent distribution will be statistically independent of the conditioning data (Radev et al. 2020). In that case, samples from the posterior can be drawn based on the following equivalence:
(11) |
According to this equivalence, sampling from the posterior corresponds to generating samples from the multidimensional standard Gaussian distribution, , followed by computing . In the next section, we will employ and adapt these training and inference phases for the less-than-ideal recursive training regime of data-assimilation problems where the ensemble sizes are relatively small for which the global minimum of equation 8 may not be attained.
3.2 Neural sequential simulation-based inference
After randomized initialization of particles of the CO2 plume’s initial state, (line 2 of Algorithm 1 ), training pairs for the state (equation 1) and observations (equation 2), , for the next time step, are predicted by simulations with the state dynamics and detailed in the Forecast step of Algorithm 2 ). For notational convenience, we already introduced the symbol, , to distinguish between predicted “digital states” and analyzed predictions (denoted by the ) for the state conditioned on the field observed data. During the Forecast step of Algorithm 2 , random samples of the stochastic permeability field and noise are drawn and used to draw samples from the transition density (line 3 of Algorithm 2 ), conditioned on analyzed samples, , from the previous time step. These predictions for the advanced state are subsequently employed to sample observations (line 4 of Algorithm 2 ), producing the simulated training ensemble, . These simulated pairs are utilized during the Training step (line 6 of Algorithm 1 ) where equation 10 is minimized with respect to the CNF’s network weights, yielding . Given these network weights, latent-space representations for each pair are calculated via
(12) |
for (Spantini, Baptista, and Marzouk 2022). Given observed field data, , collected at time (line 7 of Algorithm 1 ), these latent variables are used to correct the state for via
(13) |
In this expression, , corresponds for to analyzed states, produced by the prior-to-posterior mapping (Algorithm 2 in Spantini, Baptista, and Marzouk (2022)). To offset the potential effects of working with a limited ensemble size, , we choose to adapt this approach of producing samples from the latent space calculated from the forecast ensemble. According to Spantini, Baptista, and Marzouk (2022), this process mitigates the effects when a global minimum of equation 10 is not attained, implying that may no longer hold. In that case, the latent output distribution is no longer guaranteed to be the same for any fixed, (Radev et al. 2020). By producing latent samples that derive directly from the predicted state-observation pairs, this issue is resolved. When conditioned on the observed field data, , these latent samples improve the inference after running the CNF in the reverse direction (cf. equation 13). Algorithm 2 summarizes the three key phases, namely the Forecast, Training, and Analysis steps, which are used during the recursions in Algorithm 1 that approximate equations 5 and 6. During these recursions, for timesteps , samples of the posterior distribution from the previous timestep, , serve as “priors” for the next timestep, producing, , which are conditioned on the observations, . This procedure corresponds to the nonlinear prior-to-posterior of Spantini, Baptista, and Marzouk (2022).
To illustrate the different stages of the Digital Shadow’s recursions, figure 2 is included to depict its “lifecycle” at the first timestep, . The lifecycle entails the following stages. Samples for the initial state of the CO2 saturation, denoted with a slight abuse of notation by , are drawn first from the uniform distribution, (figure 2 (top-left)). By simulating the state-dynamics equation 1 (figure 2 top-row middle), predictions for the state at the next timestep are sampled, . Given these predicted samples for the state, corresponding samples for the observations are simulated with equation 2 (figure 2 top-row right). These two types of simulations make up the Forecast step, which produces the predicted training ensemble, , consisting of samples drawn from the joint distribution, . This predicted ensemble serves as input to the Training step (figure 2 bottom right) during which the weights of the Digital Shadow’s neural networks are trained by minimizing equation 9. This produces the optimized network weights, , at timestep, . After collecting field observations, , posterior inference is conducted with the neural posterior density estimator, , conditioned on the observed field data, . To avoid finite sample size and training effects during the Analysis step (figure 2 lower left), a sample from the posterior is drawn by evaluating the CNF in the forward latent-space direction on the predicted pair, , yielding . This operation is followed by running the CNF, conditioned on the observed field data, , in the reverse direction, yielding the sample . By design, this sample approximates a sample from the true posterior, . At the next timestep, this sample becomes a sample for the “prior”—i.e., for , and the recursions proceed by repeating themselves for all, , timesteps. By comparing figure 2’s sample for the plume prediction, , with the corresponding analyzed sample conditioned on the observed field data, , it becomes apparent that the predicted state produced by the Forecast step undergoes a significant correction during the Analysis step. This mapping during the Analysis step between the predicted and inferred states—i.e., , derives from the invertibility of CNFs and the implicit conditioning of the predictions on (via ) and explicit conditioning on . Despite the fact that the state at the previous timestep is conditioned on , the prediction varies considerably. This variability is caused by the unknown permeability field, which appears as a stochastic nuisance parameter in the dynamics (cf. equation 1), and explains the significant time-lapse data-informed correction performed by the Analysis step. The importance of the correction is nicely illustrated by the example in figure 2 where thanks to the correction the plume is extended significantly in the leftward direction, a feature completely missed by the predicted state.
By running through the Digital Shadow’s lifecycle times recursively for an ensemble consisting of particles, the Prediction and Analysis steps approximate samplings from and of equations 5 and 6. Because the proposed posterior density estimation scheme recurrently trains networks, it can be considered as an instance of neural sequential Bayesian inference, which forms the basis of our Digital Shadow. Before going into further details on how the simulations are performed, we introduce the important concept of summary statistics, which simplifies the observable-to-state mapping, renders typically non-uniform seismic data space uniform, and also learns to detect features that inform the posterior.
3.3 Physics-based summary statistics
Despite the adequate expressiveness of CNF’s neural architecture based on cINNs (Ardizzone et al. 2019b), the mapping of CO2 plume-induced acoustic changes to seismic shot records remains extremely challenging because of the large degrees of freedom of Earth models and seismic shot records (Cranmer, Brehmer, and Louppe 2020), which live in three dimensions and five dimensions for 2- and 3D- Earth models, respectively. This challenge is compounded by the relatively weak signal strength of time-lapse changes, the complexity of the time-lapse changes to seismic observations map, and the fact that raw seismic shot records are collected non-uniformly—i.e. different seismic surveys may have different numbers of shot records or shot records may vary in the number of traces (receivers), time samples, etc. To overcome these issues, we introduce a hybrid approach, consisting of physics-based summary statistics (Radev et al. 2020; Orozco et al. 2023), and a trainable U-net (Ronneberger, Fischer, and Brox 2015) that forms the conditional arm of the cINN (Ardizzone et al. 2019a). By mapping the shot records to the image domain, uniformity is assured because the discretization can be controlled in that domain. Moreover, the mapping from the image domain to the velocity model is much simpler, so the conditional arm of the cINN can dedicate itself to learning image-domain features that maximally inform the posterior while the network’s invertible arm can concentrate on learning how to produce samples of the posterior from realizations of standard Gaussian noise conditioned on these features. More importantly, Alsing, Wandelt, and Feeney (2018) also showed that under certain conditions the gradient of the score function (the -likelihood) compresses physical data optimally. Motivated by this work, Orozco et al. (2023) demonstrated that information in the original shot records can be preserved during pre-stack reverse-time migration (RTM) as long as the migration-velocity model is sufficiently accurate. Yin, Orozco, et al. (2024) showed that this condition can be relaxed in the WISE and WISER (Yin, Orozco, and Herrmann 2024) frameworks. The network weights for the U-net in the conditional arm are absorbed in the network weights, , of the CNFs, and trained during the minimization of the objective in equation 10.
To meet the challenges of imaging subtle time-lapse changes induced by the replacement of brine by supercritical CO2, we calculate the residual with respect to a reference model, . To avoid tomographic artifacts in the gradient, the residual is migrated with the inverse-scattering imaging condition (Stolk, Hoop, and Op’t Root 2009; Douma et al. 2010; Whitmore and Crawley 2012; P. Wang et al. 2024). This corresponds to computing sensitivities with respect to the acoustic impedance for a constant density. Given this choice, the observation operator linking the state of the CO2 plume to migrated time-lapse seismic images is given by
(14) | ||||
In this expression, the linear operator corresponds the Jacobian of the forward wave operator, , calculated at , which is a smoothed version of the reference velocity model, . The symbol ⊤ denotes the adjoint. Together with the reference densities, the reference wavespeeds are collected in the seismic reference model, . The nonlinear forward model, , represents the active-source experiments part of the survey. Use of the inverse-scattering imaging condition is denoted by the subscript, in the definition of the reverse-time migration operator, . Finally, the vector, , collects the simulated shot records at time-lapse timestep, , for all active-source experiments and is simulated with
(15) |
In this nonlinear forward model at timestep, , the CO2saturation induced corrected time-lapse seismic medium properties—i.e., the wavespeed, , and the density, , are computed with respect to the baseline, , via . This nonlinear operator, , captures the rock physics, which models how changes in the state—i.e., the CO2 saturation, map to changes in the seismic medium properties, . Because “observed field” seismic time-lapse data is assumed to come from the same forward model, equation 14 will also be used to in silico simulate , simply by replacing the simulated time-lapse shot records, , by the simulated observed time-lapse seismic shot records, , that stand for data collected in the field.
Given the exposition of the amortized Bayesian inference, the neural sequential simulation-based Bayesian inference, and physics-based summary statistics, we are now in a position to setup our Digital Shadow for GCS prior to conducting our case study.
4 Digital Shadow for CO2 storage monitoring
To validate our Digital Shadow, an in silico prototype is developed and implemented for the off-shore setting of the South-Western North Sea, an area actively considered for GCS (ETI 2016). For this purpose, we consider the 2D cross-section of the Compass model (E. Jones et al. 2012) and the experimental setup of figure 1, which consists of sparse ocean-bottom nodes, dense sources, an injection, and a monitor well. Based on the velocity model in figure 1, a probabilistic model for reservoir properties (permeability) will be derived first, followed by the establishment of the ground truth for the in sillico simulated states and associated observed time-lapse seismic and well data, which serve as input to our Digital Shadow for CO2 storage monitoring.
4.1 Probabilistic baseline model for the permeability field
To mimic a realistic CO2 storage project where reservoir properties are not known precisely, a stochastic baseline for the permeability field is established. To this end, the velocity model depicted in figure 1 is used to generate noisy baseline seismic data (signal-to-noise ratio S/N ). This seismic baseline dataset serves as input to full-waveform variational Inference via Subsurface Extensions (WISE (Yin, Orozco, et al. 2024)). Given a poor 1D migration-velocity model and noisy shot records, WISE draws samples from the posterior distribution for the velocity. These samples for the wavespeed conditioned on shot data are plotted in figure 3 (a) and are converted to the permeability fields plotted in figure 3 (b). This elementwise velocity-to-permeability conversion is done with the following nonlinear elementwise mapping:
(16) |
In this expression, the symbols ,, , and , refer to elementwise multiplication, division, exponentiation, and logarithm. The conversion itself consists of elementwise exponential scaling and randomization with , where is a realization of the standard Normal distribution smoothed with Gaussian kernel of width . The conversion is also controlled by elementwise (denoted by the elementwise greater or equal symbol ) operations, which involve the wavespeeds. These inequalities are chosen such that the permeability values are high (between and ) for regions where the wavespeeds are above . These regions correspond to clean sandstones. Areas with wavespeeds that vary within the interval stand for dirty sands with intermediate permeability values between and while areas with lower wavespeeds correspond to shales with the lowest permeability values of .
Because of the noise and poor migration-velocity model, the samples for the baseline velocity models produced by WISE (see figure 3 (a) for a subset of these samples) exhibit strong variability. This variability amongst the samples of the baseline produces, after conversion by equation 16, highly variable samples for the permeability field, , included in figure 3 (b). Because the permeability values are small to extremely small in the primary and secondary seals, they are denoted by solid blue-color overburden areas in figure 3 (b). These plots exhibit high variability, especially in areas where the permeable sandstones are interspersed with low-permeable shales and mudstones. This high degree of variability in the permeability field reflects our lack of knowledge of this crucial reservoir property, which complicates CO2 plume predictions based on reservoir simulations alone. Our Digital Shadow is aimed at demonstrating how time-lapse data can be used to condition the simulations, so the ground-truth CO2 plume can be estimated more accurately from monitoring data.
Geologically, the considered CO2-injection site corresponds to a proxy for a storage complex in the South-Western corner of the North Sea with a reservoir made of a thick stack of relatively clean highly-permeable Bunter sandstone (Kolster et al. 2018). The study area corresponds to a 2D slice selected from the synthetic Compass model (E. Jones et al. 2012), which itself was created from imaged seismic and well-log data collected in a region under active consideration for Geological Carbon Storage (GCS) by the North-Sea Transition Authority (ETI 2016). The seals of the storage complex comprise the Rot Halite Member, as a primary seal about thick, situated directly on top of the Blunt sandstone, and the Haisborough Group, as the secondary seal over thick consisting of low-permeability mudstones.
The velocities of the 3D Compass model were also used to train the networks of WISE (Yin, Orozco, et al. 2024). The reader is referred to Yin, Orozco, et al. (2024) for further details on the training of these neural networks. To create a ground-truth dataset, our simulation-based workflow follows the numerical case study by Erdinc et al. (2022) and Yin, Erdinc, et al. (2023), where realistic time-lapse seismic surveys were generated in response to CO2 injection in a saline aquifer.
4.2 In silico ground-truth simulations
The Digital Shadow will be validated against unseen ground-truth multimodal simulations. At this early stage of development, we opt for in silico simulations for the ground-truth CO2-plume dynamics and the seismic images of the induced time-lapse changes. This choice, which is not an uncommon practice in areas such as climate modeling where future data does not exist, also offers more control and the ability to validate with respect to a ground truth to which there is no access in practice. The fluid-flow simulations themselves are carried out over timesteps of days each. The time-lapse seismic images are derived from four sparsely sampled noisy ocean-bottom node surveys, collected over a period of days.
4.2.1 Multi-phase flow simulations
Figure 4 contains a schematic overview on how the ground-truth flow simulations are initialized by randomly sampling the ground-truth (denoted by the symbol ∗) permeability field, , and the initial state for the CO2 plume at timestep, —i.e. the CO2 saturation is sampled, . The ground-truth anisotropic permeability field, , consists of gridpoints with a grid spacing of and has a vertical-to-horizontal permeability ratio of . The reservoir extends in the perpendicular -direction. Supercritical CO2 is injected at a depth of over an injection interval of for the day duration of the project with an injection rate of , pressurizing the reservoir from a maximum pressure of to . The total amount of injected CO2 is with injected annually. The hydrostatic pressure at the injection depth of is well below the depth at which CO2 becomes critical.
The resulting multi-phase fluid-flow simulations (Nordbotten and Celia 2011) by the reservoir simulator (Krogstad et al. 2015; Settgast et al. 2018; Rasmussen et al. 2021; Stacey and Williams 2017; Møyner et al. 2024) are collected in the vector, , see figure 4 top-row for the time-lapse states, ( means taking each sample). The simulations themselves are conducted with an implicit method implemented with the open-source software package JutulDarcy.jl (Møyner and Bruer 2023). This industry-scale reservoir modeling package simulates how the injected CO2 gradually displaces brine within the connected pore space of rocks in the storage complex. Initially, the reservoir rocks are filled with brine. Both brine and CO2 residual saturations are set to each. As can be seen from figure 4, the CO2 plume follows regions of high permeability, forming extensive fingers in the lateral direction. Because the density of critical CO2 is smaller than that of brine ( for CO2 versus for water) buoyancy effects drive the CO2 plume upwards.
4.2.2 Seismic simulations
To convert changes in the reservoir’s state due to CO2 injection to modifications in the seismic properties, a nonlinear rock physics model, , is introduced as in Yin, Erdinc, et al. (2023) and Louboutin, Yin, et al. (2023). At each of the time-lapse time instances, changes in the CO2 saturation are related to differences in the seismic properties by this model. When ignoring velocity changes due to pressure changes and assuming a heterogeneous distribution of the CO2, the patchy saturation model (Avseth, Mukerji, and Mavko 2010) can be used to relate increases in CO2 saturation to reductions in the acoustic wavespeed and density. Given baseline wavespeeds and densities gathered in the seismic medium properties vector, , the rock physics at each timestep, , reads
(17) |
Figure 5 includes an example of how changes in the CO2 saturation at timestep, , are mapped to changes in the acoustic wavespeed and density. In turn, these time-lapse changes in the seismic properties lead to changes in the simulated shot records as shown in figure 6, which depicts time-lapse seismic differences with respect to data generated with the reference model for . Shot records are simulated by solving the acoustic wave equation for varying density and acoustic wavespeeds using the open-source software package JUDI.jl, a Julia Devito Inversion framework (P. A. Witte et al. 2019; Louboutin, Witte, et al. 2023), which uses highly optimized time-domain finite-difference propagators of Devito (Louboutin et al. 2019; Luporini et al. 2020).
The four ground-truth time-lapse seismic surveys are generated after days since the start of the CO2 injection. There is no free surface. Throughout the fixed acquisition setup, shot records with airgun locations sampled at interval are collected sparsely by eight Ocean Bottom Nodes (OBNs) with a receiver interval of , yielding a maximum offset of . During the seismic simulations, a Ricker wavelet with a dominant frequency of is used, and band-limited noise with a signal-to-noise ratio (SNR) of is added to the recordings sampled at . Due to the complexity of the model and time-lapse changes, the time-lapse differences with respect to the reference model are noisy and have normalized root-mean-square (NRMS) values of and after days.
Ground-truth time-lapse shot records, serve as input to the time-lapse imaging scheme, detailed below, which produces the ground-truth time-lapse images, , depicted in the bottom row of figure 4. Despite the strong artifacts, consisting of epistemic linearization errors and aleatoric observation noise, these time-lapse seismic images display a distinct imprint of the growing CO2 plume. How these images are formed and used to condition estimates for the dynamic state, will be discussed next.
4.3 CO2 monitoring with the Digital Shadow
Amortized posterior inference stands at the basis of our Digital Shadow. As described in Section 3.1, training CNFs requires the creation of predicted training ensembles during the Forecast step, which consists of input-output pairs made out of samples from the “prior” and “likelihood”. Forming these ensembles is followed by the Training step during which the network weights are calculated. Neural inference happens at the final Analysis step during which members of the predicted ensemble for the state are corrected by measurements from the field, . After exhaustive testing, the size of the ensemble was chosen to be , a number that will be used throughout our experiments. Aside from determining the ensemble size, this number also determines how Monte-Carlo estimates the conditional mean
(18) |
and conditional variance
(19) |
are calculated.
4.3.1 The Forecast step
The creation of realistic simulation-based ensembles forms a crucial part of our Digital Shadow. Details on how these training ensembles for the Digital Shadow are assembled are provided next.
Uncertain dynamics
The main purpose of the Digital Shadow for CO2 monitoring lies in its ability to handle uncertainties, in particular epistemic uncertainty due to the unknown permeability field, which throughout the simulations for the dynamics is considered as a random vector (cf. equation 1). This implies that during each evaluation of the dynamics, , a new sample for the permeability field is drawn, , according the procedure describe in Section 4.1. Because the high-permeability zones differ between samples, the injection depth varies between . As can be seen from figure 7, the variability amongst the permeabilities, injection depth, and initial saturation, are all responsible for the variable CO2 plume predictions, even after a single timestep at time . Both the CO2 saturation and pressure perturbations differ for each permeability realization. The predicted CO2 saturations have complex shapes that vary significantly. The pressure perturbations vary less, are smooth, and as expected cover a larger area.
Seismic reference model
While the different realizations for the permeability field give rise to different CO2 saturations, revealing their time-lapse seismic signature calls for a dedicated RTM imaging procedure with migration-velocity models, , that are corrected at each time-lapse timestep, and with residuals that are computed with respect to a carefully chosen reference model. To derive these migration-velocity and reference models, the forecast ensemble for the state, , is used to update the seismic properties with equation 17. Given this predicted ensemble for the state, the seismic properties and simulated shot records are given by
(20) |
by virtue of equation 15.
Since the time-lapse changes are small, and epistemic and aleatoric uncertainties significant, the challenge is to define for each time-lapse survey an appropriate reference velocity model. This reference model serves two purposes. First, it is used to generate reference shot records with respect to which the time-lapse differences are calculated. Second, after smoothing, it yields migration-velocity models, , for each timestep.
To compute this reference model, the seismic properties for the baseline, , are updated with the rock physics model, where is the average state at timestep . From these reference models, , the corresponding migration-velocity models, , are obtained via smoothing. Using equation 14, the migrated images for the ensemble are now computed as follows:
(21) | ||||
In this expression, seismic images for each ensemble member are calculated by migrating differences between shot records computed in the reference model and shot records of the ensemble given by equation 20 with a migration-velocity model that is given by . Because the surveys are replicated, the time-lapse time-index subscript in the observation operator is dropped.
With the uncertain dynamics and observation operators in place, we are after initialization (lines 1—3 of Algorithm 1 ) ready to execute the Forecast step (cf. Algorithm 2 line 5). During this Forecast step, tuples are produced that serve as input to the CNF training. By replacing the simulated ensemble shot records with the ground-truth “field” shot records, , in equation 21, the observed images, , introduced in Section 4.2 are formed.
4.3.2 The Training step
Given the Forecast ensemble, , the subsequent step is to compute the optimized training weights, . After random initialization, the network weights are trained by minimizing the objective on line 9 of Algorithm 2 with the optimizer ADAM (Diederik P. Kingma and Ba 2014) and for a total of epochs. As we can see from figure 8, the plots for the -norm training objective and SSIM (see Appendix B) both behave as expected during training and validation and there is no sign of overfitting.
To measure the performance of our network, we also plotted the structural similarity index measure (SSIM, Z. Wang et al. (2004b)), which is a metric designed to mimic human perception of image quality. See Appendix B for further details.
4.3.3 The Analysis step
With the networks for the amortized posterior inference trained, the predicted samples in the ensemble for the state, produced by the Forecast step, are corrected by conditioning the posterior distribution on the imaged “field” data. In our case, the field data consists of the in silico ground-truth simulations outlined in Section 4.2. Given these “time-lapse field datasets”, , the predicted states of the ensemble, , are corrected during the Analysis step, which corresponds to executing lines 14—15 of Algorithm 2 for each timestep, . To illustrate the importance of the Analysis step at timestep, , the first two columns of figure 9 include corrections on a single instance of the predicted state, with , and the corrected plume, . The saturations are plotted in the top row and pressure differences in the bottom row. The correction for the CO2 saturation at timestep, , is smaller than the correction at time step, , as shown in figure 2. The reason for this is that the early correction at the time step, , establishes the leftward fingering feature that persists to the later timesteps. However, this does not apply to the protruding rightward CO2 plume features that come in at later times and which are partially missed by the saturation prediction. While less pronounced, the individual pressure perturbation prediction is also updated considerably during the Analysis Step.
The impact of the correction also becomes clear from the right-most two columns of figure 9 where the conditional mean before, , and after the corrections, , are juxtaposed. After conditioning on the observed data, the corrected samples exhibit less variation, which results in a significantly better resolved conditional mean for the corrected CO2 saturation. Similarly, the pressure difference corrections yield a pressure field that is more consistent. These improvements during the Analysis step are also apparent when comparing the errors w.r.t. the ground truth, vs. , plotted before and after corrections during the Analysis step in figure 10 for the CO2 saturations (top-row: first two columns). The effect of the correction for the pressure differences (bottom-row: first two columns) is more difficult to interpret. However, the uncertainty in terms of the conditional deviations before, , and after the correction, , tightens significantly for both the CO2 saturations (top-row: rightmost columns) and pressure differences (bottom row: rightmost columns). The plots for the pressure contain locations of the wells where pressure differences can be measured.
While these results where the Analysis step reduces the uncertainty are encouraging, we will introduce in the next section a set of quantitative performance metrics before considering a case study where the benefits of working with multimodal will be evaluated.
4.4 Performance metrics
While the main goal of this paper is to present a principled workflow to assess uncertainties in the state of the CO2 plume, another goal of establishing a Digital Shadow for Geological CO2 Storage is to accelerate innovations in monitoring to ensure safe operations towards the regulators and the general public. For this reason, we follow Donoho (2023)’s recipe to set the stage for accelerated development in this field by
-
•
releasing all our data under the Creative Commons License. This includes the ground-truth seismic and reservoir models, the creation of the samples for permeability, the generation of the ground-truth state and, “observed” time-lapse data;
-
•
making all our code available under the open-source software MIT license. While still work in progress, the aim is to make use of our software as frictionless as possible;
-
•
introducing benchmark metrics by which the success of the Digital Shadow is measured quantitatively. The aim is that new methods and proposed improvements to the monitoring life-cycle can quickly be validated in a trusted testbed of benchmarks.
For now, the proposed benchmarks include the methodology presented in this paper. In a later companion paper, comparisons between results obtained by alternative data-assimulation methods will be reviewed.
4.4.1 Benchmark I: reconstruction quality
Since the ground-truth state is available as part of our in silico simulations, quantitative assessments of the reconstruction quality can be made by computing the Structural Similarity Index Metric Error (SSIM-ERR) and Root-Mean-Square-Error (RMSE), both detailed in Appendix B.
4.4.2 Benchmark II: uncertainty calibration
While the high-dimensionality and computational complexity of our inference problem prevents rigorous validation of the presented statistical analysis, quantitative establishment of how well the predicted uncertainties, , and the errors, , correlate is computationally feasible. To this end, we follow Orozco, Siahkoohi, et al. (2024) and introduce the calibration test developed by Guo et al. (2017); Laves et al. (2020). During this test, Euclidean distances are calculated between posterior mean estimates for the state and the ground-truth state. According to this test, uncertainty is well-calibrated when it is proportional to the error. To establish this test, deviations for each gridpoint in are designated into bins of equal width. The uncertainty for each bin, , is then calculated with
where refers to the entry of the estimated deviation vector. For each bin, the mean-square error w.r.t. the ground truth is calculated with
Qualitatively, good uncertainty calibration implies that points on the crossplot between the predicted error and actual uncertainty fall along the line . To quantify the quality of uncertainty calibration, we follow Orozco, Siahkoohi, et al. (2024) and calculate the Uncertainty Calibration Error (UCE), defined as the average absolute difference between the predicted error and actual uncertainty across all bins. A lower UCE indicates more precise calibration, which is approximately the case in figure 11 for the posterior samples conditioned on both seismic and wells. We observe a trend towards poorer calibration as the monitoring time step increases. We hypothesize that as the plume grows larger, there are more areas where errors can occur, making the calibration test more difficult to pass. When comparing a new method under this benchmark, we would qualitatively evaluate the calibration plots on a per-monitoring time basis, and also in aggregate, to summarize performance across all monitoring times. As a quantitative metric, we would compare the UCE values between methods and select the one with the lowest UCE as having the best calibration.
5 Multimodal case study
The task of the proposed Digital Shadow is to produce high-fidelity estimates for the state of the CO2 plume using a combination of data-assimilation and machine learning techniques that use multimodal time-lapse data as input. Aside from conducting principled uncertainty quantification, the aim is also to maximally benefit from having access to two complementary time-lapse datasets, namely time-lapse pressure/saturation measurements at the two wells (injection and monitoring) and 2D active-source time-lapse seismic surveys. The aim of these in silico experiments is to demonstrate the possible benefits of multimodal data-assimilation over data comprised of well or seismic data only. To this end, inferences will be carried out on both time-lapse datasets separately and jointly. After briefly describing the relative ease by which the presented Digital Shadow can be extended to include data collected at (monitoring) well(s), systematic quantitative comparisons will be made between the different approaches. This includes quantitative analyses based on the metrics introduced in Section 4.4.
5.1 Data collection, simulation, and training
While inverting multimodal data in classical (read without machine learning) inversion/inference problems has proven challenging, especially when the different datasets are scaled differently, or collected differently, extending the proposed neural data-assimilation framework is relatively straightforward as long as the time-lapse data are collected on the same grid and at the same discrete observation times. Under that assumption, observations of the saturation/pressure ( and ) data can be modeled by a restriction operator, collecting these quantities at gridpoints that correspond to the well locations. During training and inference, time-lapse saturation, pressure, and seismic images each serve as input to separate input channels of the conditional branch of the cINN. The saturation and pressure are both converted to all-zero images except for values of the saturation and pressure at the well locations. Based on conditioning, by seismic only, well only, or both, the cINN is trained to produce samples of the state, consisting of gridded images for saturation and pressure perturbation. These gridded quantities are produced by separate output channels of the network. The experiment setup for the ground truth and is the same as outlined in Section 4.
5.2 Experimental protocol
Experiments to investigate the possible benefits of multimodal acquisition proceed as follows:
Initialization step: Draw samples from the initial distribution for the state, . The initial saturation is selected from the uniform distribution on the interval and chosen to occupy a cylinder with a diameter of four grid cells (). The location of the cylinder coincides with the injection interval at the well, which extends , vertically. The vertical location of the well’s injection interval is positioned adaptively within the closest high-permeability layer in the randomly drawn permeability fields, . These permeability fields are drawn with replacement from a set of converted velocity models produced by WISE. The resulting injection depth varies between . The initial pressure is set to the hydraulic pressure, which increases with depth. This initialization produces the initial ensemble for the state, .
Forecast step: For each timestep, the state and multimodal observations are predicted by time advancing the state ensemble, , to by running the dynamics (cf. equation 1), followed by sampling from the “likelihood” (cf. equations 2, 14, 15). This produces the predicted ensemble, . These predicted states consist of the saturation, , and pressure perturbation, , with respect to the initial hydraulic pressure. Depending on the time-lapse data modality, the simulated observations, , consist of imaged seismic, saturation/pressure, or both.
Training step: The predicted ensembles, , are split into training samples and eight validation samples. After the network training is completed, the inference is carried out on one sample of the test set, which consists of the ground-truth seismic images, .
Analyses step: Conditioned on observed time-lapse “field” data, , the predicted states are corrected by computing the latent representation for each ensemble pair, followed by sampling from the posterior conditioned on the field observations by running the cINN in reverse on the latent variables (cf. equations 12 and 13). This produces the corrected ensemble for the states, .
By applying the Forecast and Analysis steps recursively, the full history of the estimated state for each member of the ensemble is collected in the vectors . These complete state histories are formed by appending six dynamic simulation timesteps after each member of the ensemble is corrected during the Analysis step. Given these complete histories for the state, we proceed by calculating point estimates, in terms of the conditional mean, and their uncertainty in terms of the conditional deviations, , for all timesteps. To quantify the data-assimilation accuracy of the inferred states, the errors with respect to the ground truth, , will be calculated as well.
5.3 Qualitative results
To establish the performance of the proposed Digital Shadow, juxtapositions are made between data-assimilations for three different data modalities, namely well only, seismic only, and well + seismic. The importance of data-assimilation compared to relying on reservoir simulations alone will also be demonstrated by comparing plots for the conditional mean (), the errors with respect to the ground truth, , and the conditional standard deviation, for these three different modalities. These quantities are calculated from posterior samples, conditioned on the simulated ground-truth time-lapse data included in figure 12 for . This figure contains plots for the ground-truth saturation, ; pressure perturbations, , including locations of the wells, and plots for the corresponding noisy imaged seismic observations in the third column. Observations at wells and/or imaged surface seismic are collected in the vectors, , for , and serve as input to our Digital Shadow whose task is to infer the state of the CO2 plume for each timestep.
Estimates for the CO2 saturation states , , and are, for each of the four scenarios (unconditioned, conditioned on well only, seismic only, well + seismic) included in the rows of figures 13—16 for . The corresponding estimates for the pressure perturbations are shown in Appendix B. The columns of these figures contain estimates for the conditional mean, errors, and uncertainty in terms of the standard deviation. From these plots, the following qualitative observations can be made.
First, and foremost, a comparison between the unconditioned and conditioned CO2 plume estimates shows that conditioning on any type of time-lapse data nudges, for each timestep, the corrected fluid-flow predictions closer to the ground-truth CO2 saturations. As expected, the unconditioned CO2 plume diverges due to epistemic uncertainties induced by the unknown permeability field at each time-lapse timestep (). Remember, every time the dynamic state equation (cf. equation 1) is run, a new sample for the permeability field is drawn, introducing new uncertainties into the system. This effect is also present for the CO2 plume estimates conditioned on time-lapse data but to a much lesser degree because the insertion of time-lapse data cancels some of the systematic uncertainty. However, including time-lapse data at the wells by itself does not move the overall shape of the inferred CO2 plume much closer to the ground truth. Nevertheless, when the conditioning involves seismic data, the corrections capture the overall shape of the CO2 saturations very well.
Second, the conditional mean estimates for the CO2 saturation appear smooth compared to the ground truth. This smoothing effect is due to the remaining uncertainty of the estimated plumes (see column three of figures 13—16) and persists, and even increases somewhat, as time progresses.
Third, the CO2 plume estimates at obtained for the wells only completely miss the important leftward protruding CO2-plume feature, which eventually leads to a violation of Containment. Conversely, this feature is well recovered by inferences based on time-lapse data that includes imaged seismic. Compared to seismic only, joint inference from well + seismic data shows further improvements near the wells and away from the wells, reducing the error with respect to the ground-truth CO2 saturation (see column two of figures 13—16). As expected, including pressure and saturation data at the wells reduces uncertainty in the direct vicinity of the wells but there are also indications that it may have an effect away from the wells when combined with time-lapse seismic. Finally, the errors and uncertainty in terms of the conditional standard deviations correlate reasonably well when the CO2 plume is conditioned on both time-lapse seismic and well data.
Fourth, the overall trend continues at timestep, , leading to reduced errors and uncertainty in the main body of the plume when the CO2-plume inference is conditioned on well + seismic data. However, because of a lack of lateral information the results based on well data alone more or less completely miss the important leftward-protruding streamline feature induced by the unknown high-permeability streak.
Fifth, the complexity of the CO2 plume increases further at later timesteps. This challenges the inference. However, we note again that the estimated conditional mean improves considerably when the inference is conditioned on time-lapse seismic data. As can be observed in figure 15 and 15 bottom first and third column, the inference improves due to the inclusion of information at the wells. As a result, uncertainty is reduced in regions away from the wells both horizontally, and vertically below the wellhead. Interestingly, while the well-only inference result lacks detail, its uncertainty at the horizontal extremities seems to suggest protruding fingers at the periphery of the CO2 plume. These features are indeed present in the ground-truth CO2 plume and in the inferences that include time-lapse seismic data.
Sixth, the conditional mean estimates for the CO2 plume are for most features best recovered when the inference is conditioned on time-lapse seismic data with visible improvements when pressure and saturation data collected at the wells are included. When comparing the uncertainty (column three of figures 13—16), it appears that adding pressure/saturation data from the wells also reduces the uncertainty in areas relatively far away from the well-bore. Finally, the well-only inference seems to include increased CO2 saturation at the seal, a feature that is only partly present in the ground truth. The presence of this feature can attribute to the average behavior of the permeability, an observation shared by the unconditioned results. It is encouraging to see that this feature at the seal has large uncertainty judged by the large in this region. Except for an area near the well-bore, CO2-plume saturations are not visible on the conditional mean estimates conditioned on the seismic. However, there is a small imprint on the plots for the uncertainty, which means that the posterior samples do include sporadic examples of detectable CO2 saturation in this narrow area near the seal.
While these inference results by the Digital Shadow are encouraging, they only provide snapshots at the four timesteps time-lapse data is collected. They also do not provide quantitative information on the performance of the proposed Digital Shadow.
5.4 Quantitative results
Since the inference results produced by the Digital Shadow will be used during decision making by a Digital Twin, a better understanding needs to be gained on the performance of the Digital Shadow by means of a quantitative analysis of the different inference strategies. To this end, we include in figure 17 calculations of the SSIM-ERR defined as , the mean absolute error (MAE), and the mean standard deviation (), for all timesteps spanning a total of days. To compensate for biases induced by the growth of the CO2 plumes themselves, the following relative measures will be used for the errors and standard deviations:
(22) |
where stands for Root-Mean Square. The normalization of the for the error and the mean standard deviation by the of the ground truth and estimated conditional mean is meant to correct for increased variability exhibited by growing CO2 plumes.
Each subplot in figure 17 contains estimates for these quantities based on inferences conditioned on seismic only (dashed blue lines), on wells only (dotted orange lines), and seismic + wells (dashed-dotted green lines). To exemplify the importance of conditioning fluid-flow simulations on time-lapse observations, we also plot estimates obtained without conditioning (solid black lines) obtained by running equation 1 recursively for . From these three plots, the following observations can be made.
First, the curves for the SSIM-Error, , and overall show improved quality in all three metrics when constrained by time-lapse observations (all other than black curves). Moreover, significant enhancements as a result of the Analysis step can be observed thanks to time-lapse data-informed corrections on the predictions of the Forecast step. These corrections start by being relatively small when conditioning on the well measurements alone (cf. the orange star (corrected) and pentagon symbols) but become more significant when conditioning on the seismic (cf. the blue cross and square symbols) and even more pronounced when conditioning on well + seismic (cf. green diamond and round symbols). As time evolves, the magnitude of the data-informed corrections increases for all metrics with the largest improvement in at the last timestep, which can be explained because the bulk of the CO2 plume will have reached the monitor well at that time. Since the state dynamics and observation model are both nonlinear, this significant improvement can not be explained by the corrections from the well data alone.
Second, for each timestep in between the time-lapse data collection, there is, as expected, a general downward trend in plume recovery quality from the time the corrections are made until the next timestep during which the next time-lapse data is collected and the subsequent corrections are made. This deterioration in recovery quality is observed for the for all modalities and is to leading order the result of differences between the randomly drawn permeability field and the ground truth that lead during the intermediate timesteps to increasing deviations between the actual CO2 plume and the predicted ensemble produced by the Forecast step. The normalization in the definition of in equation 22 compensates partially for this effect, yielding more prominent improvements, especially between conditioning on seismic data alone or on wells + seismic. In addition, relative errors after correction remain reasonably flat and even decrease at the final timestep. This suggests that relative errors remain more or less constant thanks to the conditioning on multimodal time-lapse observations.
Third, the relative quantity, , aims to answer the question of whether including time-lapse data, and multimodal time-lapse data in particular, reduces the uncertainty. Thanks to the normalization by the of the (conditional) mean, the uncertainty plotted in figure 17 (c) remains relatively constant with slightly larger corrections produced by conditioning the CO2 plumes on multimodal time-lapse data. While this behavior is consistent with the behavior displayed by the relative errors in figure 17 (b), the uncertainty measured in terms of the variability amongst the intermediate plume predictions seems to dip further during the immediate timesteps after the corrections are made. This behavior is observed for the unconditioned and conditioned by well-only modalities and can be explained by the fact that after each correction new samples for the permeability distribution field are drawn at which point the flow will first explore regions of high permeability before growing. This explains the observed reduction in variability for the unconditioned and conditioned on well-data-only modalities that produce CO2 plumes that are more widely spread and therefore can explore more regions to fill in. After these regions are filled, the plumes grow again increasing the variability and therefore the uncertainty.
In summary, the overall trends observed in figure 17, are consistent with a highly nonlinear data-assimilation problem where the unknown permeability field that controls the flow is modeled as a random nuisance parameter. Even though there is a slight deterioration in the quality of the inferred CO2 plumes, the observed relative errors and uncertainty remain relatively stable over time when the predicted simulations are conditioned on time-lapse data that includes seismic surveys. While including time-lapse well data alone does not lead to significant improvements in CO2 plume reconstruction quality and uncertainty, combining this data modality with time-lapse seismic data leads to significantly improved results.
6 Discussion
The main goal of this work is the design, implementation, and in sillico validation of a Digital Shadow prototype for Geological Carbon Storage. IBM’s definition of a Digital Twin reads:
A digital twin is a virtual representation of an object or system designed to reflect a physical object accurately. It spans the object’s lifecycle, is updated from real-time data and uses simulation, machine learning and reasoning to help make decisions.
When considering this definition, it is clear that the presented neural data-assimilation framework does indeed capture several key aspects (denoted by italics) of a Digital Twin. Because our formulation does not yet support control, reasoning, and decision-making, we follow Asch (2022) and use the term Digital Shadow for our prototype monitoring framework instead. To help future decision-making and optimize underground CO2 storage operations, we leverage recent breakthroughs in neural posterior-density estimation and generative AI to make our Digital Shadow uncertainty aware, which will help the Digital Twin with future tasks including underground monitoring and control, vital for cost-effective risk mitigation and management.
By taking a neural approach, where the simulated state-observation predictions of the well-established ensemble Kalman filter (EnKF, Asch (2022)) are considered as training samples, we arrive at a formulation where the important Analysis step no longer relies on empirical estimates for the first- and second-order moments (mean and covariance). Instead, our approach hinges on generative conditional neural networks’ ability to characterize non-Gaussian posterior distributions with high degrees of freedom. These distributions result from nonlinear models for the state dynamics (multi-phase flow) and observations (e.g. seismic images), which contain probabilistic components that give rise to complex uncertainties. Compared to other ensemble-based data-assimilation methods (Frei and Künsch 2013), which are typically contingent on Monte-Carlo approximations of the classical Kalman recursions together with limiting Gaussian assumptions, our nonlinear extension of the EnKF enjoys certain important advantages. Backed by the recent work of Spantini, Baptista, and Marzouk (2022), there are strong indications that our approach does not suffer from an unresolvable lack of accuracy of EnKF whose accuracy can not be improved by increasing the ensemble size. Similar to Spantini, Baptista, and Marzouk (2022), we identify corrections during the stochastic prior-to-posterior map as a Kalman-like Analysis step, implemented in the Gaussianized latent space of a conditional Invertible Neural Network (cINN, Ardizzone et al. (2019b)). Compared to existing ensemble-based methods, the use of conditional neural networks has the advantage that their accuracy, and hence the latent-space correction, increases when adding computational training effort, e.g. by growing the ensemble size or by training with more epochs. When the network is adequately expressive, these accuracy improvements are likely when the set of simulated training pairs, which correspond to the ensemble, are sufficiently large, diverse, and close in distribution to the actual state and observations.
Throughout each lifecycle, the Digital Shadow trains its networks with Simulation-Based Inference (SBI, Cranmer, Brehmer, and Louppe (2020)) by using nonlinear simulations of the time-advanced state (calculated with equation 1) and associated, possibly multimodal, observations (calculated with equation 2). Because our approach is simulation-based, uncertainties associated with the previous state, the random permeability field, and observational noise are marginalized implicitly (Cranmer, Brehmer, and Louppe 2020). As a result, conditional neural networks act as amortized surrogates for the posterior of the state given (multimodal) observations. Thanks to the marginalization, contributions due to the stochasticity of the permeability distribution and other noise terms are factored into the resulting posterior, which is no longer dependent on this nuisance parameter and on specifics of the noise. Moreover, theoretical connections exist between the EnKF’s Analysis step and the proposed stochastic latent space prior-to-posterior mapping. Similar to Spantini, Baptista, and Marzouk (2022), this stochastic mapping reads in the latent space of the CNF as follows:
(23) |
Unlike the EnKF, this correction is nonlinear and corresponds to a transport map where samples from the joint distribution for the state and observations are mapped to the latent space, followed by conditioning on the observed time-lapse data during inversion from the latent space back to the physical state. As reported by Ramgraber et al. (2023), conditioning on the observed data in the latent space can have certain advantages thanks to the Gaussinization of the latent space, a topic which we will further explore in future work. Finally, the use of physics-based summary statistics in our approach to our knowledge also differs from current data-assimilation approaches where dimensionality reduction approaches are more common for the state and not for the observations.
Even though the current implementation of our Digital Shadow is specialized towards multimodal monitoring of Geological Carbon Storage, the presented neural data-assimilation approach is general and ready to be applied to other fields as long as implementations for the offline simulation-based Forecast step, conditional neural networks, and network training procedure are available to approximate the prior-to-posterior mapping. However, specific choices for the implementation of our Digital Shadow prototype were made contingent on scalability, computational cost, memory footprint, and accuracy of the multi-phase flow and wave simulations. For this reason, our implementation is based on the low-memory footprint Julia implementation for CNFs, InvertibleNetworks.jl (Orozco, Witte, et al. 2024a), in combination with the industry-strength parallel multi-phase fluid-flow simulator, JutulDarcy.jl (Møyner and Bruer 2023), and parallel wave-based Julia Devito Inversion framework inversion package JUDI.jl,(P. A. Witte et al. 2019; Louboutin, Witte, et al. 2023). While our framework allows for other choices, our prototype for the Digital Shadow benefits from the intrinsic parallel capabilities of the fluid-flow and wave simulators and from the fact that the ensemble calculations are embarrasingly parallel. In that respect, the presented scalable approach differs from recent score-based work by (Rozet and Louppe 2023; Bao et al. 2024; X. Huang, Wang, and Alkhalifah 2024), which either rely on many, and therefore fast evaluations of the dynamics and observation operators, or on fast access to the complete history of the CO2 plume’s dynamics, neither of which are conducive to realistic scale data-assimilation for GCS projects.
Because of the relatively long lead time between the collection of time-lapse seismic surveys, we so far did not opt for the use of our parallel implementation of Fourier Neural Operators (FNO, Grady et al. (2023)), which in principle can serve as a suitable substitute to the expensive multi-phase flow simulations (Louboutin, Yin, et al. 2023; Yin, Orozco, et al. 2023). We also reserve inclusion of geomechanical, chemical, and (poro-) elastic effects, to future research even though these effects can in principle be included in the Digital Shadow’s simulations. These extensions would allow for the use of our Digital Shadow in more complex situations, including GCS on land, where geomechanics could play a more important role, or within reservoirs that undergo geochemical changes.
Compared to contemporary approaches to CO2 monitoring (C. Huang and Zhu 2020; Grana, Liu, and Ayani 2020), the proposed Digital Shadow’s conditional neural networks are capable of capturing the nonlinear state dynamics, given by the multi-phase flow, and nonlinear seismic observation model, involving nonlinear solutions of the wave equation. Our current implementation achieves this at a scale where extended Kalman filters struggle to store explicit matrix representations for the Kalman filter that includes explicit inverses of large matrices. Like recent work by Bruer et al. (2024), the proposed approach reaps information from an ensemble of states, which is an approach that scales well. By treating the permeability field as a stochastic nuisance parameter, which is drawn independently at each time-lapse timestep for each ensemble member, our Digital Shadow distinguishes itself from this latest work on an EnKF for GCS where the randomly drawn permeability field remains fixed within each member of the ensemble. Aside from incorporating stochasticity induced by the unknown permeable field, which can be interpreted as a modeling error connecting this work to Si and Chen (2024), our approach is also based on a nonlinear seismic observation model.
Finally, the presented approach made assumptions on the distribution of the permeability field as well as on the underlying rock and wave physics. In future work, we will relax these assumptions by (i) extending recent work by Yin, Louboutin, et al. (2024) to carry out permeability inference from time-lapse seismic and/or well data, which would allow for narrowing of the baseline probability distribution for the permeability field, as time-lapse data becomes available; (ii) marginalizing over uncertainties in the rock-physics model, e.g. by augmenting the Forecast ensemble with samples generated from models other than the patchy saturation model (Avseth, Mukerji, and Mavko 2010); (iii) calibrating rock-physical relations at (monitoring) wells (Feng et al. 2022); (iv) robustifying the inference with respect to distribution shifts either through physics-based latent-space corrections, as proposed by Yin, Orozco, and Herrmann (2024) and Orozco, Siahkoohi, et al. (2024), or by adapting score-based methods to solve the weak formulation proposed by Siahkoohi, Rizzuti, and Herrmann (2020) and Orozco, Siahkoohi, et al. (2024); (iv) no longer insisting on costly seismic survey replication to achieve repeatability of time-lapse seismic surveys (Oghenekohwo et al. 2017; Wason, Oghenekohwo, and Herrmann 2017; López et al. 2023; Y. Zhang et al. 2023) (v) increasing detectibility of time-lapse changes in the density by using SH-polarized shear waves (Clochard et al. 2018).
7 Conclusions
The inherent high degrees of freedom and complications arising from the intricate interplay between the nonlinear multi-phase flow, nonlinear rock physics, and possibly nonlinear multimodal time-lapse observations, challenge the development of monitoring systems for subsurface storage of supercritical CO2. In this work, we meet these challenges by introducing an uncertainty-aware Digital Shadow, which combines state-of-the-art high-fidelity simulation capabilities with data-assimilation and machine-learning techniques to arrive at a scalable formulation that through the deployment of a stochastic nuisance parameter incorporates nonlinearities and inherent uncertainties in the permeability field. Thanks to the Digital Shadow’s use of simulation-based inference, its neural networks marginalize over this stochastic permeability field, factoring lack of knowledge on this important reservoir property into Digital Shadows’ uncertainty quantification. As a result, dependence on the permeability field is eliminated and its uncertainty is absorbed into the recursively inferred posterior distributions for the CO2 plume’s state (pressure/saturation), conditioned at each timestep on multimodal time-lapse measurements. The training itself takes place recurrently on Forecast ensembles, consisting of predictions for the state and simulations of induced time-lapse data collected at the surface and/or in wells.
To validate the proposed Digital Shadow, a realistic simulation-based case study was conducted, starting from a probabilistic model for the permeability field derived from a baseline surface seismic survey. Next, the Digital Shadow’s network was trained on Forecast ensembles, consisting of simulations for the time-advanced CO2 plume’s state and corresponding multimodal time-lapse data. After training was completed, the Digital Shadow’s networks were applied to unseen simulated ground-truth time-lapse data. From this computational case study, the following observations can be made. First, CO2plume estimates based on averages over the Forecast ensembles behave poorly compared to estimates corrected by observed time-lapse observations. These improvements are achieved irrespective of the permeability field. Second, the crucial imprint of an unknown high-permeability streak was missed when the CO2 plume’s state was conditioned on pressure/saturation measurements at wells alone. Plume inferences conditioned on seismic or seismic and well measurements succeeded in detecting this event that ultimately leads to Containment failure. Third, the inferred pointwise standard deviation amongst the samples of the posterior, which serves as a measure of their uncertainty, correlates well with errors with respect to the ground-truth state. This property persists over the different timesteps and is an indication that the uncertainty quantification is reasonably well calibrated. Fourth, visual as well as quantitative measures of the reconstruction quality show across the board the best results when the CO2 plume’s state is conditioned on both time-lapse seismic and well measurements. While conditioning the CO2 plume on wells only leads to marginal improvements compared to uncorrected forecasts, combination with seismic leads to disproportional improvements even in areas away from the wells. We attribute these global improvements in the inferred state of the CO2 plume to the strong nonlinearity of multi-phase flow. All in all, we argue from this case study that the proposed Digital Shadow tracks the unseen ground-truth physical state accurately for the duration of a realistic CO2injection project. To our knowledge, the proposed methodology constitutes the first proof-of-concept of an uncertainty-aware Digital Shadow that principally encapsulates uncertainty due to unknown reservoir properties and noise present in the observed data. This Digital Shadow will form the basis for a Digital Twin designed to mitigate risks and optimize operations of underground storage projects.
Data and Software Availability
The data underlying the findings of this study and the software developed for it will be made publicly available upon acceptance of the manuscript for publication. Also, full movies of the snapshots shown in the manuscripts will be included during final submission in the online supplementary material.
Acknowledgement
This research was carried out with the support of Georgia Research Alliance and partners of the ML4Seismic Center. This research was also supported in part by the US National Science Foundation grant OAC 2203821.
References
References
- Alsing, Justin, Thomas DP Edwards, and Benjamin Wandelt. 2023. “Optimal Simulation-Based Bayesian Decisions.” arXiv Preprint arXiv:2311.05742.
- Alsing, Justin, Benjamin Wandelt, and Stephen Feeney. 2018. “Massive Optimal Data Compression and Density Estimation for Scalable, Likelihood-Free Inference in Cosmology.” Monthly Notices of the Royal Astronomical Society 477 (3): 2874–85.
- Appriou, Delphine, and Alain Bonneville. 2022. “Monitoring Carbon Storage Sites with Time-Lapse Gravity Surveys.” In Geophysical Monitoring for Geologic Carbon Storage, 211–32. American Geophysical Union (AGU). https://doi.org/https://doi.org/10.1002/9781119156871.ch14.
- Ardizzone, Lynton, Carsten Lüth, Jakob Kruse, Carsten Rother, and Ullrich Köthe. 2019b. “Guided Image Generation with Conditional Invertible Neural Networks.” CoRR abs/1907.02392. http://arxiv.org/abs/1907.02392.
- ———. 2019a. “Guided Image Generation with Conditional Invertible Neural Networks.” arXiv Preprint arXiv:1907.02392.
- Asch, Mark. 2022. A Toolbox for Digital Twins: From Model-Based to Data-Driven. SIAM.
- Asch, Mark, Marc Bocquet, and Maëlle Nodet. 2016. Data Assimilation: Methods, Algorithms, and Applications. SIAM.
- Avseth, Per, Tapan Mukerji, and Gary Mavko. 2010. Quantitative Seismic Interpretation: Applying Rock Physics Tools to Reduce Interpretation Risk. Cambridge university press.
- Ayani, Mohit, Dario Grana, and Mingliang Liu. 2020. “Stochastic Inversion Method of Time-Lapse Controlled Source Electromagnetic Data for CO2 Plume Monitoring.” International Journal of Greenhouse Gas Control 100: 103098. https://doi.org/https://doi.org/10.1016/j.ijggc.2020.103098.
- Bao, Feng, Hristo G Chipilski, Siming Liang, Guannan Zhang, and Jeffrey S Whitaker. 2024. “Nonlinear Ensemble Filtering with Diffusion Models: Application to the Surface Quasi-Geostrophic Dynamics.” arXiv Preprint arXiv:2404.00844.
- Batzolis, Georgios, Jan Stanczuk, Carola-Bibiane Schönlieb, and Christian Etmann. 2021. “Conditional Image Generation with Score-Based Diffusion Models.” arXiv Preprint arXiv:2111.13606.
- Baysal, Edip, Dan D Kosloff, and John WC Sherwood. 1983. “Reverse Time Migration.” Geophysics 48 (11): 1514–24.
- Bruer, Grant, Abhinav Prakash Gahlot, Edmond Chow, and Felix Herrmann. 2024. “Seismic Monitoring of CO2 Plume Dynamics Using Ensemble Kalman Filtering.” https://arxiv.org/abs/2409.05193.
- Bui, Mai, Claire S Adjiman, André Bardow, Edward J Anthony, Andy Boston, Solomon Brown, Paul S Fennell, et al. 2018. “Carbon Capture and Storage (CCS): The Way Forward.” Energy & Environmental Science 11 (5): 1062–1176.
- Carrassi, Alberto, Marc Bocquet, Laurent Bertino, and Geir Evensen. 2018. “Data Assimilation in the Geosciences: An Overview of Methods, Issues, and Perspectives.” Wiley Interdisciplinary Reviews: Climate Change 9 (5): e535.
- Clochard, Vincent, Bryan C DeVault, David Bowen, Nicolas Delépine, and Kanokkarn Wangkawong. 2018. “Quadri-Joint Inversion: Method and Application to the Big Sky 9C 3D Data Set in Northern Montana.” Interpretation 6 (4): SN101–18.
- Cranmer, Kyle, Johann Brehmer, and Gilles Louppe. 2020. “The Frontier of Simulation-Based Inference.” Proceedings of the National Academy of Sciences 117 (48): 30055–62. https://doi.org/10.1073/pnas.1912789117.
- David M. Blei, Alp Kucukelbir, and Jon D. McAuliffe. 2017. “Variational Inference: A Review for Statisticians.” Journal of the American Statistical Association 112 (518): 859–77. https://doi.org/10.1080/01621459.2017.1285773.
- Dinh, Laurent, Jascha Sohl-Dickstein, and Samy Bengio. 2016. “Density Estimation Using Real Nvp.” arXiv Preprint arXiv:1605.08803.
- Donoho, David. 2023. “Data Science at the Singularity.” arXiv Preprint arXiv:2310.00865.
- Douma, Huub, David Yingst, Ivan Vasconcelos, and Jeroen Tromp. 2010. “On the Connection Between Artifact Filtering in Reverse-Time Migration and Adjoint Tomography.” Geophysics 75 (6): S219–23.
- E. Jones, C., J. A. Edgar, J. I. Selvage, and H. Crook. 2012. “Building Complex Synthetic Models to Evaluate Acquisition Geometries and Velocity Inversion Technologies.” In 74th EAGE Conference and Exhibition Incorporating EUROPEC 2012, cp–293. https://doi.org/https://doi.org/10.3997/2214-4609.20148575.
- Erdinc, Huseyin Tuna, Abhinav Prakash Gahlot, Ziyi Yin, Mathias Louboutin, and Felix J. Herrmann. 2022. “De-Risking Carbon Capture and Sequestration with Explainable CO2 Leakage Detection in Time-Lapse Seismic Monitoring Images.” https://slim.gatech.edu/Publications/Public/Conferences/AAAI/2022/erdinc2022AAAIdcc/erdinc2022AAAIdcc.pdf.
- ETI, Strategic UK. 2016. “CCS Storage Appraisal Project Report: D14 WP5E–Viking a Storage Development Plan, 10113ETIS-Rep-21-03. 2016.” Energy Technologies Institute. P 395.
- Evensen, Geir. 1994. “Sequential Data Assimilation with a Nonlinear Quasi-Geostrophic Model Using Monte Carlo Methods to Forecast Error Statistics.” Journal of Geophysical Research: Oceans 99 (C5): 10143–62.
- Feng, Shihang, Peng Jin, Xitong Zhang, Yinpeng Chen, David Alumbaugh, Michael Commer, and Youzuo Lin. 2022. “Extremely Weak Supervision Inversion of Multi-Physical Properties.” https://arxiv.org/abs/2202.01770.
- Folgoc, Loic Le, Vasileios Baltatzis, Sujal Desai, Anand Devaraj, Sam Ellis, Octavio E Martinez Manzanera, Arjun Nair, Huaqi Qiu, Julia Schnabel, and Ben Glocker. 2021. “Is MC Dropout Bayesian?” arXiv Preprint arXiv:2110.04286.
- Frei, Marco, and Hans R Künsch. 2013. “Bridging the Ensemble Kalman and Particle Filters.” Biometrika 100 (4): 781–800.
- Freifeld, Barry M, Thomas M Daley, Susan D Hovorka, Jan Henninges, Jim Underschultz, and Sandeep Sharma. 2009. “Recent Advances in Well-Based Monitoring of CO2 Sequestration.” Energy Procedia 1 (1): 2277–84.
- Gahlot, Abhinav Prakash, Huseyin Tuna Erdinc, Rafael Orozco, Ziyi Yin, and Felix J. Herrmann. 2023. “Inference of CO2 Flow Patterns – a Feasibility Study.” https://doi.org/10.48550/arXiv.2311.00290.
- Gahlot, Abhinav Prakash, Haoyun Li, Ziyi Yin, Rafael Orozco, and Felix J Herrmann. 2024. “A Digital Twin for Geological Carbon Storage with Controlled Injectivity.” arXiv Preprint arXiv:2403.19819.
- Gluyas, Jon, Lee Thompson, Dave Allen, Charlotte Benton, Paula Chadwick, Sam Clark, Joel Klinger, et al. 2019. “Passive, Continuous Monitoring of Carbon Dioxide Geostorage Using Muon Tomography.” Philosophical Transactions of the Royal Society A 377 (2137): 20180059.
- Grady, Thomas J, Rishi Khan, Mathias Louboutin, Ziyi Yin, Philipp A Witte, Ranveer Chandra, Russell J Hewett, and Felix J Herrmann. 2023. “Model-Parallel Fourier Neural Operators as Learned Surrogates for Large-Scale Parametric PDEs.” Computers & Geosciences 178: 105402.
- Grana, Dario, Mingliang Liu, and Mohit Ayani. 2020. “Prediction of CO2 Saturation Spatial Distribution Using Geostatistical Inversion of Time-Lapse Geophysical Data.” IEEE Transactions on Geoscience and Remote Sensing 59 (5): 3846–56.
- ———. 2021. “Prediction of CO2 Saturation Spatial Distribution Using Geostatistical Inversion of Time-Lapse Geophysical Data.” IEEE Transactions on Geoscience and Remote Sensing 59 (5): 3846–56. https://doi.org/10.1109/TGRS.2020.3018910.
- Guo, Chuan, Geoff Pleiss, Yu Sun, and Kilian Q Weinberger. 2017. “On Calibration of Modern Neural Networks.” In International Conference on Machine Learning, 1321–30. PMLR.
- He, Manchao, Sousa Luis, Sousa Rita, Gomes Ana, Vargas Euripedes Jr, and Na Zhang. 2011. “Risk Assessment of CO2 Injection Processes and Storage in Carboniferous Formations: A Review.” Journal of Rock Mechanics and Geotechnical Engineering 3 (1): 39–56.
- Herrmann, Felix J. 2023. “President’s Page: Digital Twins in the Era of Generative AI.” The Leading Edge 42 (11): 730–32.
- Huang, Chao, and Tieyuan Zhu. 2020. “Towards Real-Time Monitoring: Data Assimilated Time-Lapse Full Waveform Inversion for Seismic Velocity and Uncertainty Estimation.” Geophysical Journal International 223 (2): 811–24.
- Huang, Xinquan, Fu Wang, and Tariq Alkhalifah. 2024. “Diffusion-Based Subsurface Multiphysics Monitoring and Forecasting.” https://arxiv.org/abs/2407.18426.
- IPCC special report. 2005. IPCC Special Report on Carbon Dioxide Capture and Storage. Cambridge: Cambridge University Press.
- ———. 2018. “Global Warming of 1.5 c.” An IPCC Special Report on the Impacts of Global Warming of 1 (5): 43–50.
- Jordan, Michael I, Zoubin Ghahramani, Tommi S Jaakkola, and Lawrence K Saul. 1998. “An Introduction to Variational Methods for Graphical Models.” Learning in Graphical Models, 105–61.
- ———. 1999. “An Introduction to Variational Methods for Graphical Models.” Machine Learning 37 (2): 183–233.
- Ketzer, J. Marcelo, Rodrigo S. Iglesias, and Sandra Einloft. 2012. “Reducing Greenhouse Gas Emissions with CO2 Capture and Geological Storage.” In Handbook of Climate Change Mitigation, 1405–40. New York, NY: Springer US. https://doi.org/10.1007/978-1-4419-7991-9_37.
- Kingma, Diederik P., and Jimmy Ba. 2014. “Adam: A Method for Stochastic Optimization.” CoRR abs/1412.6980. https://api.semanticscholar.org/CorpusID:6628106.
- Kingma, Durk P, and Prafulla Dhariwal. 2018. “Glow: Generative Flow with Invertible 1x1 Convolutions.” In Advances in Neural Information Processing Systems, edited by S. Bengio, H. Wallach, H. Larochelle, K. Grauman, N. Cesa-Bianchi, and R. Garnett. Vol. 31. Curran Associates, Inc. https://proceedings.neurips.cc/paper_files/paper/2018/file/d139db6a236200b21cc7f752979132d0-Paper.pdf.
- Kolster, Clea, Simeon Agada, Niall Mac Dowell, and Samuel Krevor. 2018. “The Impact of Time-Varying CO2 Injection Rate on Large Scale Storage in the UK Bunter Sandstone.” International Journal of Greenhouse Gas Control 68: 77–85.
- Krogstad, Stein, Knut–Andreas Lie, Olav Møyner, Halvor Møll Nilsen, Xavier Raynaud, and Bård Skaflestad. 2015. “MRST-AD–an Open-Source Framework for Rapid Prototyping and Evaluation of Reservoir Simulation Problems.” In SPE Reservoir Simulation Conference?, D022S002R004. SPE.
- Kruse, Jakob, Gianluca Detommaso, Ullrich Köthe, and Robert Scheichl. 2021a. “HINT: Hierarchical Invertible Neural Transport for Density Estimation and Bayesian Inference.” In Proceedings of the AAAI Conference on Artificial Intelligence, 35:8191–99. 9.
- ———. 2021b. “HINT: Hierarchical Invertible Neural Transport for Density Estimation and Bayesian Inference.” https://arxiv.org/abs/1905.10687.
- Kullback, Solomon, and Richard A Leibler. 1951. “On Information and Sufficiency.” The Annals of Mathematical Statistics 22 (1): 79–86.
- Laves, Max-Heinrich, Sontje Ihler, Jacob F Fast, Lüder A Kahrs, and Tobias Ortmaier. 2020. “Well-Calibrated Regression Uncertainty in Medical Imaging with Deep Learning.” In Medical Imaging with Deep Learning, 393–412. PMLR.
- Li, Dongzhuo, Kailai Xu, Jerry M. Harris, and Eric Darve. 2020. “Coupled Time-Lapse Full-Waveform Inversion for Subsurface Flow Problems Using Intrusive Automatic Differentiation.” Water Resources Research 56 (8): e2019WR027032. https://doi.org/https://doi.org/10.1029/2019WR027032.
- López, Oscar, Rajiv Kumar, Nick Moldoveanu, and Felix J Herrmann. 2023. “Spectral Gap-Based Seismic Survey Design.” IEEE Transactions on Geoscience and Remote Sensing 61: 1–9.
- Louboutin, Mathias, Fabio Luporini, Michael Lange, Navjot Kukreja, Philipp A. Witte, Felix J. Herrmann, Paulius Velesko, and Gerard J. Gorman. 2019. “Devito (V3.1.0): An Embedded Domain-Specific Language for Finite Differences and Geophysical Exploration.” Geoscientific Model Development. https://doi.org/10.5194/gmd-12-1165-2019.
- Louboutin, Mathias, Philipp Witte, Ziyi Yin, Henryk Modzelewski, Kerim, Carlos da Costa, and Peterson Nogueira. 2023. “Slimgroup/JUDI.jl: V3.2.3.” Zenodo. https://doi.org/10.5281/zenodo.7785440.
- Louboutin, Mathias, Ziyi Yin, Rafael Orozco, Thomas J. Grady II, Ali Siahkoohi, Gabrio Rizzuti, Philipp A. Witte, Olav Møyner, Gerard J. Gorman, and Felix J. Herrmann. 2023. “Learned Multiphysics Inversion with Differentiable Programming and Machine Learning.” The Leading Edge 42 (July): 452–516. https://library.seg.org/doi/10.1190/tle42070474.1.
- Lueckmann, Jan-Matthis, Pedro J Goncalves, Giacomo Bassetto, Kaan Öcal, Marcel Nonnenmacher, and Jakob H Macke. 2017. “Flexible Statistical Inference for Mechanistic Models of Neural Dynamics.” Advances in Neural Information Processing Systems 30.
- Lumley, David. 2010. “4D Seismic Monitoring of CO 2 Sequestration.” The Leading Edge 29 (2): 150–55.
- Lumley, David E. 2001. “Time-Lapse Seismic Reservoir Monitoring.” GEOPHYSICS 66 (1): 50–53. https://doi.org/10.1190/1.1444921.
- Luporini, Fabio, Mathias Louboutin, Michael Lange, Navjot Kukreja, Philipp Witte, Jan Hückelheim, Charles Yount, Paul HJ Kelly, Felix J Herrmann, and Gerard J Gorman. 2020. “Architecture and Performance of Devito, a System for Automated Stencil Computation.” ACM Transactions on Mathematical Software (TOMS) 46 (1): 1–28.
- McGoff, Kevin, Sayan Mukherjee, and Natesh Pillai. 2015. “Statistical Inference for Dynamical Systems: A Review.”
- Metz, Bert et al. 2005. Carbon Dioxide Capture and Storage: Special Report of the Intergovernmental Panel on Climate Change. Cambridge University Press.
- Møyner, Olav, and Grant Bruer. 2023. Sintefmath/JutulDarcy.jl: V0.2.1. Zenodo. https://doi.org/10.5281/ZENODO.7775736.
- Møyner, Olav, Atgeirr F Rasmussen, Øystein Klemetsdal, Halvor M Nilsen, Arthur Moncorgé, and Knut-Andreas Lie. 2024. “Nonlinear Domain-Decomposition Preconditioning for Robust and Efficient Field-Scale Simulation of Subsurface Flow.” Computational Geosciences 28 (2): 241–51.
- Nordbotten, Jan M, and Michael Anthony Celia. 2011. “Geological Storage of CO2: Modeling Approaches for Large-Scale Simulation.” In Geological Storage of CO 2: Modeling Approaches for Large-Scale Simulation. John Wiley; Sons.
- Oghenekohwo, Felix, Haneet Wason, Ernie Esser, and Felix J Herrmann. 2017. “Low-Cost Time-Lapse Seismic with Distributed Compressive Sensing—Part 1: Exploiting Common Information Among the Vintages.” Geophysics 82 (3): P1–13.
- Orozco, Rafael, Felix J Herrmann, and Peng Chen. 2024. “Probabilistic Bayesian Optimal Experimental Design Using Conditional Normalizing Flows.” arXiv Preprint arXiv:2402.18337.
- Orozco, Rafael, Ali Siahkoohi, Mathias Louboutin, and Felix J. Herrmann. 2024. “ASPIRE: Iterative Amortized Posterior Inference for Bayesian Inverse Problems.” https://arxiv.org/abs/2405.05398.
- Orozco, Rafael, Ali Siahkoohi, Gabrio Rizzuti, Tristan van Leeuwen, and Felix J Herrmann. 2023. “Adjoint Operators Enable Fast and Amortized Machine Learning Based Bayesian Uncertainty Quantification.” In Medical Imaging 2023: Image Processing, 12464:357–67. SPIE.
- Orozco, Rafael, Philipp Witte, Mathias Louboutin, Ali Siahkoohi, Gabrio Rizzuti, Bas Peters, and Felix J. Herrmann. 2024b. “InvertibleNetworks.jl: A Julia Package for Scalable Normalizing Flows.” Journal of Open Source Software 9 (99): 6554. https://doi.org/10.21105/joss.06554.
- ———. 2024a. “InvertibleNetworks.jl: A Julia Package for Scalable Normalizing Flows.” Journal of Open Source Software 9 (99): 6554. https://doi.org/10.21105/joss.06554.
- Orr Jr, Franklin M. 2009. “Onshore Geologic Storage of CO2.” Science 325 (5948): 1656–58.
- Page, Brad, Guloren Turan, Alex Zapantis, Jamie Burrows, Chris Consoli, Jeff Erikson, Ian Havercroft, et al. 2020. “The Global Status of CCS 2020: Vital to Achieve Net Zero.”
- Panel on Climate Change), IPCC (Intergovernmental. 2018. Global Warming of 1.5° c. An IPCC Special Report on the Impacts of Global Warming of 1.5° c Above Pre-Industrial Levels and Related Global Greenhouse Gas Emission Pathways, in the Context of Strengthening the Global Response to the Threat of Climate Change, Sustainable Development, and Efforts to Eradicate Poverty. ipcc Geneva.
- Papamakarios, George, and Iain Murray. 2016. “Fast -Free Inference of Simulation Models with Bayesian Conditional Density Estimation.” Advances in Neural Information Processing Systems 29.
- Papamakarios, George, Eric Nalisnick, Danilo Jimenez Rezende, Shakir Mohamed, and Balaji Lakshminarayanan. 2021. “Normalizing Flows for Probabilistic Modeling and Inference.” J. Mach. Learn. Res. 22 (1).
- Pruess, Karsten, and Jan Nordbotten. 2011. “Numerical Simulation Studies of the Long-Term Evolution of a CO2 Plume in a Saline Aquifer with a Sloping Caprock.” Transport in Porous Media 90 (1): 135–51. https://doi.org/10.1007/s11242-011-9729-6.
- Qu, Luping, Mauricio Araya-Polo, and Laurent Demanet. 2024. “Uncertainty Quantification in Seismic Inversion Through Integrated Importance Sampling and Ensemble Methods.” https://arxiv.org/abs/2409.06840.
- Radev, Stefan T, Ulf K Mertens, Andreas Voss, Lynton Ardizzone, and Ullrich Köthe. 2020. “BayesFlow: Learning Complex Stochastic Models with Invertible Neural Networks.” IEEE Transactions on Neural Networks and Learning Systems 33 (4): 1452–66.
- Ramgraber, Maximilian, Ricardo Baptista, Dennis McLaughlin, and Youssef Marzouk. 2023. “Ensemble Transport Smoothing. Part II: Nonlinear Updates.” Journal of Computational Physics: X 17: 100133.
- Rasmussen, Atgeirr Flø, Tor Harald Sandve, Kai Bao, Andreas Lauser, Joakim Hove, Bård Skaflestad, Robert Klöfkorn, et al. 2021. “The Open Porous Media Flow Reservoir Simulator.” Computers & Mathematics with Applications 81: 159–85. https://doi.org/https://doi.org/10.1016/j.camwa.2020.05.014.
- Raza, Arshad, Raoof Gholami, Mohammad Sarmadivaleh, Nathan Tarom, Reza Rezaee, Chua Han Bing, Ramasamy Nagarajan, Mohamed Ali Hamid, and Henry Elochukwu. 2016. “Integrity Analysis of CO2 Storage Sites Concerning Geochemical-Geomechanical Interactions in Saline Aquifers.” Journal of Natural Gas Science and Engineering 36: 224–40.
- Rezende, Danilo, and Shakir Mohamed. 2015. “Variational Inference with Normalizing Flows.” In International Conference on Machine Learning, 1530–38. PMLR.
- Ringrose, Philip. 2020. How to Store CO2 Underground: Insights from Early-Mover CCS Projects. Vol. 129. Springer.
- ———. 2023. Storage of Carbon Dioxide in Saline Aquifers: Building Confidence by Forecasting and Monitoring. Society of Exploration Geophysicists.
- Ringrose, Philip, and Mark Bentley. 2016. Reservoir Model Design. Vol. 2. Springer.
- Ronneberger, Olaf, Philipp Fischer, and Thomas Brox. 2015. “U-Net: Convolutional Networks for Biomedical Image Segmentation.” In Medical Image Computing and Computer-Assisted Intervention–MICCAI 2015: 18th International Conference, Munich, Germany, October 5-9, 2015, Proceedings, Part III 18, 234–41. Springer.
- Rozet, François, and Gilles Louppe. 2023. “Score-Based Data Assimilation.” Advances in Neural Information Processing Systems 36: 40521–41.
- Rubio, Paul-Baptiste, Youssef Marzouk, and Matthew Parno. 2023. “A Transport Approach to Sequential Simulation-Based Inference.” arXiv Preprint arXiv:2308.13940.
- Settgast, Randolph R, JA White, BC Corbett, A Vargas, C Sherman, P Fu, C Annavarapu, et al. 2018. “Geosx Simulation Framework.” Lawrence Livermore National Lab.(LLNL), Livermore, CA (United States).
- Si, Phillip, and Peng Chen. 2024. “Latent-EnSF: A Latent Ensemble Score Filter for High-Dimensional Data Assimilation with Sparse Observation Data.” https://arxiv.org/abs/2409.00127.
- Siahkoohi, Ali, Gabrio Rizzuti, and Felix J Herrmann. 2020. “Weak Deep Priors for Seismic Imaging.” In SEG Technical Program Expanded Abstracts 2020, 2998–3002. Society of Exploration Geophysicists.
- Siahkoohi, Ali, Gabrio Rizzuti, Rafael Orozco, and Felix J Herrmann. 2023a. “Reliable Amortized Variational Inference with Physics-Based Latent Distribution Correction.” Geophysics 88 (3): R297–322.
- Siahkoohi, Ali, Gabrio Rizzuti, Rafael Orozco, and Felix J. Herrmann. 2023b. “Reliable Amortized Variational Inference with Physics-Based Latent Distribution Correction.” Geophysics 88 (3). https://doi.org/10.1190/geo2022-0472.1.
- Spantini, Alessio, Ricardo Baptista, and Youssef Marzouk. 2022. “Coupling Techniques for Nonlinear Ensemble Filtering.” SIAM Review 64 (4): 921–53.
- Stacey, Robert W, and Michael J Williams. 2017. “Validation of ECLIPSE Reservoir Simulator for Geothermal Problems.” GRC Transactions 41: 2095–2109.
- Stolk, CC, MV de Hoop, and TJPM Op’t Root. 2009. “Inverse Scattering of Seismic Data in the Reverse Time Migration (RTM) Approach: Proceedings of the Project Review, Geo-Mathematical Imaging Group of Purdue University, 91–108.”
- Strandli, Christin W., Edward Mehnert, and Sally M. Benson. 2014. “CO2 Plume Tracking and History Matching Using Multilevel Pressure Monitoring at the Illinois Basin – Decatur Project.” Energy Procedia 63: 4473–84. https://doi.org/https://doi.org/10.1016/j.egypro.2014.11.483.
- Tang, Hewei, Pengcheng Fu, Christopher S. Sherman, Jize Zhang, Xin Ju, François Hamon, Nicholas A. Azzolina, Matthew Burton-Kelly, and Joseph P. Morris. 2021. “A Deep Learning-Accelerated Data Assimilation and Forecasting Workflow for Commercial-Scale Geologic Carbon Storage.” International Journal of Greenhouse Gas Control 112: 103488. https://doi.org/https://doi.org/10.1016/j.ijggc.2021.103488.
- Tatsis, Konstantinos E, Vasilis K Dertimanis, and Eleni N Chatzi. 2022. “Sequential Bayesian Inference for Uncertain Nonlinear Dynamic Systems: A Tutorial.” arXiv Preprint arXiv:2201.08180.
- Um, Evan Schankee, David Alumbaugh, Youzuo Lin, and Shihang Feng. 2023. “Real-Time Deep-Learning Inversion of Seismic Full Waveform Data for CO2 Saturation and Uncertainty in Geological Carbon Storage Monitoring.” Geophysical Prospecting 72 (Machine learning applications in geophysical exploration and monitoring): 199–212.
- Virieux, Jean, and Stéphane Operto. 2009. “An Overview of Full-Waveform Inversion in Exploration Geophysics.” Geophysics 74 (6): WCC1–26.
- Wang, Pengfei, Jidong Yang, Jianping Huang, Jiaxing Sun, and Chong Zhao. 2024. “Consistency of the inverse scattering imaging condition, the energy norm imaging condition and the impedance kernel in acoustic and elastic reverse-time migration.” Journal of Geophysics and Engineering 21 (2): 614–33. https://doi.org/10.1093/jge/gxae022.
- Wang, Zhou, A. C. Bovik, H. R. Sheikh, and E. P. Simoncelli. 2004a. “Image Quality Assessment: From Error Visibility to Structural Similarity.” IEEE Transactions on Image Processing 13 (4): 600–612. https://doi.org/10.1109/TIP.2003.819861.
- Wang, Zhou, Alan C Bovik, Hamid R Sheikh, and Eero P Simoncelli. 2004b. “Image Quality Assessment: From Error Visibility to Structural Similarity.” IEEE Transactions on Image Processing 13 (4): 600–612.
- Wason, Haneet, Felix Oghenekohwo, and Felix J Herrmann. 2017. “Low-Cost Time-Lapse Seismic with Distributed Compressive Sensing—Part 2: Impact on Repeatability.” Geophysics 82 (3): P15–30.
- Whitmore, ND, and Sean Crawley. 2012. “Applications of RTM Inverse Scattering Imaging Conditions.” In SEG International Exposition and Annual Meeting, SEG–2012. SEG.
- Witte, Philipp A., Mathias Louboutin, Navjot Kukreja, Fabio Luporini, Michael Lange, Gerard J. Gorman, and Felix J. Herrmann. 2019. “A Large-Scale Framework for Symbolic Implementations of Seismic Inversion Algorithms in Julia.” Geophysics 84 (3): F57–71. https://doi.org/10.1190/geo2018-0174.1.
- Witte, Philipp, Mathias Louboutin, Rafael Orozco, grizzuti, Ali Siahkoohi, Felix Herrmann, Bas Peters, Páll Haraldsson, and Ziyi Yin. 2023. “Slimgroup/InvertibleNetworks.jl: V2.2.5.” Zenodo. https://doi.org/10.5281/zenodo.7850287.
- Yin, Ziyi, Huseyin Tuna Erdinc, Abhinav Prakash Gahlot, Mathias Louboutin, and Felix J. Herrmann. 2023. “Derisking Geological Carbon Storage from High-Resolution Time-Lapse Seismic to Explainable Leakage Detection.” The Leading Edge 42 (1): 6976. https://doi.org/10.1190/tle42010069.1.
- Yin, Ziyi, Mathias Louboutin, Olav Møyner, and Felix J Herrmann. 2024. “Time-Lapse Full-Waveform Permeability Inversion: A Feasibility Study.” The Leading Edge 43 (8): 544–53.
- Yin, Ziyi, Rafael Orozco, and Felix J Herrmann. 2024. “WISER: Multimodal Variational Inference for Full-Waveform Inversion Without Dimensionality Reduction.” arXiv Preprint arXiv:2405.10327.
- Yin, Ziyi, Rafael Orozco, Mathias Louboutin, and Felix J Herrmann. 2023. “Solving Multiphysics-Based Inverse Problems with Learned Surrogates and Constraints.” Advanced Modeling and Simulation in Engineering Sciences 10 (1): 14.
- ———. 2024. “WISE: Full-Waveform Variational Inference via Subsurface Extensions.” Geophysics 89 (4): 1–31.
- Zhang, Guanru, Peng Lu, and Chen Zhu. 2014. “Model Predictions via History Matching of CO2 Plume Migration at the Sleipner Project, Norwegian North Sea.” Energy Procedia 63: 3000–3011. https://doi.org/https://doi.org/10.1016/j.egypro.2014.11.323.
- Zhang, Yijun, Ziyi Yin, Oscar López, Ali Siahkoohi, Mathias Louboutin, Rajiv Kumar, and Felix J Herrmann. 2023. “Optimized Time-Lapse Acquisition Design via Spectral Gap Ratio Minimization.” Geophysics 88 (4): A19–23.
- Zoback, Mark D, and Steven M Gorelick. 2012. “Earthquake Triggering and Large-Scale Geologic Storage of Carbon Dioxide.” Proceedings of the National Academy of Sciences 109 (26): 10164–68.
Appendices
Appendix A
Network architecture cINNs
For CNFs, we followed conditional GLOW network architecture (Durk P. Kingma and Dhariwal 2018) implemented in the open-source package InvertibleNetworks.jl (P. Witte et al. 2023). The architecture of Conditional GLOW typically consists of invertible neural network layers, coupled with affine coupling layers, which enable efficient computation of the determinant of the Jacobian matrix. These layers are organized in a hierarchical manner, which offers better expressiveness when compared to the conventional invertible architectures (Dinh, Sohl-Dickstein, and Bengio 2016). This expressivity comes from applying a series of conventional invertible layers (Dinh, Sohl-Dickstein, and Bengio 2016) to the input in a hierarchical manner which results in an invertible architecture exhibiting the potential to depict intricate bijective transformations (Siahkoohi et al. 2023a; Orozco, Witte, et al. 2024b) and hence the ability to learn complex distributions.
Training Setting
Hyperparameters | Values |
---|---|
Batch Size | |
Optimizer | (Diederik P. Kingma and Ba 2014) |
Learning rate (LR) | |
No. of training epochs | |
Fixed Noise Magnitude | |
No. of training samples | |
No. of validation samples | |
No. of testing samples |
Appendix B
Useful Definitions
After the completion of training, we use the following procedure to calculate the posterior mean:
(24) |
where is the minimizer of Equation equation 10.
SSIM - Structural Similarity Index Metric quantifies the similarity between two images and is commonly used to assess how closely a generated image resembles a ground truth or reference image. It considers image quality aspects such as luminance, contrast, and structure. For the mathematical formulation of SSIM, please refer to the study by (Z. Wang et al. 2004a).
RMSE - Root mean squared error is used to represent the measure of the difference between ground truth CO2 saturation image and the posterior mean of the samples generated by the trained network.
Appendix C
Pressure perturbation - Total reservoir pressure, excluding hydrostatic pressure.
Similar to CO2 saturation states, estimates for the CO2 pressure perturbation, , , and are, for each of the four scenarios (unconditioned, conditioned on well only, seismic only, well + seismic) included in the rows of figures A1—A4 for . The columns of these figures contain estimates for the conditional mean, errors, and uncertainty in terms of the standard deviation. From these plots, the following qualitative observations can be made.
Unlike the CO2 saturation states, the pressure perturbations estimates are relatively smooth similar to the ground truth (cf. figure 12, second column), so the conditional mean estimates (first column of figures A1—A4) do not appear to differ substantially amongst the four different scenarios during the four time-lapse time steps. As observed for infered saturations, variations between the posterior samples conditioned on the wells or wells + sesimic (third columns) show reduced uncertainty near the wells. Errors (second colums) with respect to the ground truth do not change much between the different modalities.