Abstract
We investigate solution methods for large-scale inverse problems governed by partial differential equations (PDEs) via Bayesian inference. The Bayesian framework provides a statistical setting to infer uncertain parameters from noisy measurements. To quantify posterior uncertainty, we adopt Markov Chain Monte Carlo (MCMC) approaches for generating samples. To increase the efficiency of these approaches in high-dimension, we make use of local information about gradient and Hessian of the target potential, also via Hamiltonian Monte Carlo (HMC). Our target application is inferring the field of soil permeability processing observations of pore pressure, using a nonlinear PDE poromechanics model for predicting pressure from permeability. We compare the performance of different sampling approaches in this and other settings. We also investigate the effect of dimensionality and non-gaussianity of distributions on the performance of different sampling methods.
1. Introduction and background
Many problems in science and engineering problems can be modeled by partial differential equations (PDEs). Inverse problems constrained by PDEs are a challenging class of these problems, which play an essential role in investigating many physical systems, including geomechanical engineering, medical engineering, and astrophysics [1–11]. Inverse problems aim at inferring the unknown model parameters of a physical system from observations, which may be limited, indirectly related to the parameters, and affected by noise. When the parameter domain is high-dimensional, and the relation between parameters and observations is defined by a complex mechanics model, solving inverse problems is computationally expensive. One approach for addressing these problems is to identify a point-based estimator via the minimizing of a function quantifying the discrepancies between model predictions and observations, e.g., the negative log-likelihood function. However, in this formulation the solution may not be unique, and the point-based estimate may be not informative on the posterior knowledge. One classical method to overcome the ill-posedness and to decrease the sensitivity of the solution to measurements’ noise is to add a regularization term, enforcing continuity and smoothness of the solution [1,12,13]. In the Bayesian framework, the unknown parameters are treated as random variables, with an assigned prior probability, while the likelihood function relies on the forward model and the noisy measurements [2,6]. Prior and likelihood are integrated in the posterior distribution. A point-based estimator for the posterior evaluation is the Maximum a Posteriori (MAP), but the posterior uncertainty can also be represented, describing the posterior distribution via samples or approximations, when it cannot be derived in exact form.
In this paper, we adopt a Bayesian inference framework to infer the uncertain parameters of a PDE-based forward poromechanics model. For solving the Bayesian inverse problem numerically, the infinite-dimensional parameter space has to be discretized to a finite-dimensional domain. Different discretization methods have been studied in the context of infinite-dimensional inverse problems. Finite element discretization methods use a finite number of continuous Lagrange basis functions to approximate the infinite-dimensional parameter space [3,6]. The Karhunen–Loeve (K-L) expansion provides an alternative approach, representing the infinite-dimensional parameter set in terms of its eigenvalues, and allowing of truncating after a finite number of terms and approximate dimensionality reduction [14,15].
We discuss the effectiveness of sampling methods based on Markov Chain Monte Carlo (MCMC) for representing the posterior distribution in the high-dimensional parameter space. The standard Metropolis-Hastings algorithm is computationally too expensive for our high-dimensional application [16]. There have been many efforts to accelerate the speed of sampling for high-dimensional inverse problems, such as developing reduced-order models [17–20], using local gradient information as Hamiltonian Monte Carlo (HMC) method [21], Hessian information as Riemannian manifold HMC [22,23], and Hessian-based MCMC methods [2–4,24]. In this paper, we investigate the efficiency of Hessian-based MCMC and Hessian-based HMC methods in high-dimensional problems.
Using Hessian information can significantly improve the performance of MCMC methods in infinite-dimensional inverse problems. Qi and Minka [24] proposed a Hessian-based Metropolis-Hasting (HMH) algorithm. They formulated an adaptive proposal density by approximating a Gaussian distribution using the local gradient and Hessian information. Martin et al. [2] applied the HMH method for high-dimensional inverse problems by approximating the low-rank local Hessian to ensure the positive definiteness of the matrix, obtaining what they call the Stochastic Newton MCMC (SNMCMC) method. Petra et al. [4] modified the SNMCMC method by using the Hessian at the MAP point to decrease its computational cost.
The HMC method can explore the posterior distribution faster than regular MCMC alternatives, as it uses local gradient information to make long-distance moves through the parameter space [21]. HMC algorithm can be used for efficient sampling in high-dimensional parameter spaces by selecting appropriate step size, total number of samples, and mass matrix [16]. Several works have been proposed to modify the HMC algorithm by tuning the mass matrix using Hessian information [16,22,25–27]. Lee and Vempala [22] proved that the Riemannian Manifold HMC (RMHMC) accelerates the convergence rate of HMC by using the local Hessian information as the mass matrix, and Zhang and Sutton [27] developed a modified HMC method by using the approximated BFGS Hessian as the mass matrix. Bui-Thanh and Girolami [23] investigated a RMHMC method using the exact and low-rank Fisher information matrix.
We particularly study the performance of Hessian-informed MCMC and HMC methods that have been proposed recently for high-dimensional inverse problems. We compare the SN-MAP method presented by Petra et al. [4], the Metropolis- Adjusted Langevin algorithm (MALA) [28] using the Hessian information at the MAP point, and the H-HMC method presented by Bui-Thanh and Girolami [23]. We investigate several numerical examples to show how the dimension and non-Gaussian nature of the problem can affect the performance of different Hessian-informed methods. We avoid investigating Hessian-informed methods using the local Hessian information since those are computationally expensive and require calculating the second derivative information in each iteration.
There are many applications for high-dimensional inverse problems [2,4,5,23]. Our analysis targets the inference of soil permeability in regions close to injection sites related to a broad range of energy activities such as waste- water injection, CO2 sequestration, geothermal energy activities, and hydraulic fracking. Inferring these parameters is crucial for estimating the capacity of reservoirs, predicting the pore pressure and stress around the injection centers, and assessing the hazards of sliding and injection-induced seismic events [29–39]. We infer the unknown permeability field from the collected pressure measurements. In our work, we adopt the Bayesian framework to infer the unknown poroelastic properties of a nonlinear poromechanics model from the noisy and sparse measurements. The MAP is identified using an inexact Newton solver and then samples are generating via MCMC approaches, starting from that point. We apply the developed model to solve a large-scale nonlinear inverse problem and determine the unknown properties of the deep underground layers.
1.1. Organization
Section 2 provides the general Bayesian formulation for high-dimensional inverse problems and discusses the choice of prior. Section 3 reviews and discusses the standard and accelerated sampling methods for exploring the posterior distribution. Section 4 provides the governing equations of the forward poromechanics model. Section 5 illustrates the numerical results of identifying the MAP point and generating samples from prior and posterior distributions.
2. Bayesian framework for high-dimensional inverse problems
We infer field
where
A dataset of
Probabilistically, the agreement between predictions and measurements is modeled by the log-likelihood function
where
Following the Bayes’ rule, the log-posterior density
Motivated by the above equation, we define the objective function as
The MAP point is
2.1. Choice of prior model
The choice of
where
Given measure function
The operator
Commonly, the covariance operator is considered as the fractional power of Laplacian-like operator
where
In a two-dimensional setting,
where
2.2. Discretization of the field
We use a finite element discretization with continuous Lagrangian basis functions
Then, for every pair of functions
Therefore, the log prior term can be approximated as:
and the objective function can be expressed in terms of
where
3. Sampling methods for high-dimension inverse problems
In this section, we review some key methods for drawing samples from probability density functions. We discuss the Metropolis–Hastings MCMC and Hessian- based MCMC methods, and compare their computational costs and efficiency for sampling high-dimensional parameter space.
3.1. Metropolis Hastings method
The Metropolis Hastings MCMC (MH-MCMC) method (Algorithm 1) relies on proposal density
where
In high-dimensional problems governed by PDEs, the posterior standard deviation of a linear combination of the field variables varies significantly depending of the direction of the combination, and this poses some challenges in choosing the step size. Selecting a large step size will induce a low acceptance rate, due to the small standard deviation of some directions, and a step size as small as the smallest standard deviation will induce a slow mixing (and, since we need to solve the forward model in each iteration, the simulation campaign will be computationally expensive).
In the following sections, we discuss some accelerated sampling methods using the local gradient and Hessian information of the objective function
3.2. Hessian-based MCMC methods
In this section, we review three Hessian informed MCMC methods proposed by Ghattas and colleagues [2–4]:
The local quadratic form of equation (5), based on the Newton method at the vicinity of a current sample
where
Therefore, equation (20) can be re-written as [2]:
where term
When implementing the method, we need to solve the forward problem at each iteration of the sampling process, and calculate the local Hessian, local gradient, and approximated Hessian at each iteration.
Since recalculation of Hessian and approximated Hessian at each sample point is expensive, Bui-Thanh et al. and Petra et al. [3,4] proposed a modified method which is based on always using the Hessian at the MAP point. Therefore, in the Stochastic Newton MCMC with MAP-based Hessian (SN-MAP) method, we rewrite the proposal log density function as follows:
Thus, implementing this approach at each iteration we need to run the forward problem, and compute the local gradient at each sampled point, but we calculate the Hessian matrix just once, at the MAP point.
Using the locally approximated proposal density can increase the convergence speed with respect to MH-MCMC. However, when the target distribution is far from a Gaussian distribution, changing the mean value of the proposal density by adding term
Another Hessian-informed MCMC method proposed by Bui et al. [3,4], called Independence Sampling with MAP point-based Gaussian proposal (IS-MAP), neglects recalculating the local gradient at each sample by adopting a proposal density centered at the MAP point:
where
In the Metropolis-Adjusted Langevin Algorithm (MALA) method [28,44,45], the proposal density is defined as:
where
The scalar parameter
3.3. Hamiltonian Monte Carlo method
HMC is one of the efficient sampling methods relying on local gradient information. In the HMC algorithm (Algorithm 2), we define an auxiliary momentum value and then we update the position and momentum according to the Hamiltonian’s system of differential equations. For a general system, the position is the variable of interest (e.g. the parameters to be inferred). The potential energy is defined as the objective function of Section 2, as the negative logarithm of the target distribution [46, 47]. The Hamiltonian function can be defined as:
where
Different choices of
where
3.3.1. Hessian-based HMC methods
It has been proved that we can reach a better convergence speed in linear problems by setting the mass matrix as the inverse of posterior covariance [25]. In a more general setting, Riemannian manifold HMC method uses a Riemannian-Gaussian kinetic energy [48] to choose the mass matrix as
When we consider
To decrease the computational cost, we can use the Hessian of the posterior at the MAP point as a mass matrix [23], which prevent calculating Hessian in each iteration.
3.4. Comparison of SN-MCMC, MALA, and H-HMC sampling methods
This section compares the formulation of MCMC sampling methods relying on Hessian information for high-dimension parameter spaces. We discuss their similarities and differences.
3.4.1. SN-MAP
Following equation (23), the updating step of SN-MAP method is (here, we directly indicate the next candidate point as
where
The extended form of equation (32), using equation (23), becomes:
3.4.2. MALA
Following equation (26), the updating step of MALA can be derived as:
where
The extended form of the log ratio for the acceptance criterion for MALA method, considering equation (26), can be derived as:
3.4.3. H-HMC
Similarly, the updating step of H-HMC method using the Hessian information at the MAP point and leapfrog algorithm 2 can be written as:
where
where from the leapfrog algorithm (equation (36)) we can define:
and by substituting equation (38) in equation (37) we derive:
which is similar to the acceptance criterion of MALA method (equation (35)).
We summarize the important points from the comparison of Hessian-based sampling methods. The above analysis proves that, with a proper choice of positive-definite matrix
4. Poroelastic forward model
In this section, we present the forward model, based on a continuum energetic formulation of poroelasticity [49], to predict the water pore pressure
The governing equations of the porous medium, wherein the solid matrix is incompressible, can be written as:
where
The flux vector
where
where
5. Numerical results and discussion
In this section, we illustrate the results of applying the Bayesian formulation presented in Sections 2-3, and we compare the performance of Hessian-based sampling methods, to different examples related to the processing of pore pressure data to infer permeability. We compare the sampling methods on a Gaussian target distribution in Section 5.1, on a non-Gaussian target distribution in Section 5.2, on the posterior distribution defined by a likelihood function embedding the coupled poroelastic model of Section 4 in Section 5.3. This latter analysis is implemented in FEniCS, and the quasi-Newton solver from the dolfin-adjoint package is used to solve the nonlinear minimization problem.
5.1. Gaussian posterior distribution
In this example, we consider an analytical Gaussian posterior distribution with the covariance matrix
and the acceptance coefficient becomes:
Figure 1 compares the autocorrelation vs. lag of these four sampling methods, for a one-dimensional and for a high-dimensional Gaussian distribution. In the one-dimensional distribution, we assume

Autocorrelation vs. lag for different sampling methods for the (a) one-dimensional case and (b) high-dimensional case; autocorrelation is calculated for average value on the domain.
For the high-dimensional problem, we assumed a domain
We note that, in the standard HMC and MH-MCMC sampling methods, we need to take a small step size to keep the acceptance rate high and prevent sampling from trapping in the low probable regions, which is inefficient and computationally expensive. However, using accelerated sampling methods such as H-HMC, we can choose a bigger step size while keeping the acceptance rate high, which can significantly decrease the number of samples we need to explore the parameter space.
As it can be seen in Figure 1, for Hessian-based sampling methods (SN-MCMC and H-HMC) the autocorrelation in both one-dimensional and high-dimensional settings quickly goes to zero, which demonstrates a faster convergence in comparison to MH-MCMC and HMC methods. *Also, comparison of H-HMC and HMC methods in high-dimension shows that we can use a bigger step size for the H-HMC method without decreasing the acceptance rate, and this increases the convergence speed. Moreover, comparison of the autocorrelation functions for the one-dimensional and high-dimensional cases shows that the performance of MH-MCMC method decreases significantly with the dimension of the problem. For the high-dimensional setting, Figure 2 shows the

(a) MAP point, (b) interval for MH-MCMC, (c) interval for HMC, (d) interval for SN-MAP, and (e) interval for H-HMC method, for the Gaussian posterior distribution.
Table 1 represents a summary of the analysis, via correlation time
Summary analysis of high-dimensional normal example: summary of convergence analysis of different sampling methods for high-dimensional normal distribution.
SE: standard error; HMC: Hamiltonian Monte Carlo; H-HMC: Hessian-based Hamiltonian Monte Carlo; SN-MAP: Stochastic Newton MCMC with MAP-based Hessian.
The table shows how the SN-MAP sampling method has the lowest standard error and it is the most efficient method for the high-dimensional normal distribution.
We do not consider the MH-MCMC method in this analysis, since the sampling chains of this method are yet far from convergence after
Table 2 represents five different cases, with different levels of uncertainty, to investigate the effect of measurement number and noise level on the credible interval amplitude. We increase the noise level by decreasing the number of measurements and increasing the noise level. For each case, the MAP point and Hessian at the MAP point are computed. Then, considering the normal distribution approximating the posterior distribution at the MAP, we take
Summary analysis of high-dimensional normal example: cases with different uncertainty levels, level of noise (

Amplitude of the 95
5.2. Nearly Gaussian posterior distribution
In this section, we apply the sampling methods to a log-normal target distribution. The objective function is defined as:
where
where
Based on equation (46), the MAP point is
As a second setting, we consider a high-dimensional log-normal distribution. The domain and distribution are assumed as Section 5.1, and the MAP point
Figure 4 represents the autocorrelation function vs. lag, for one-dimensional and high-dimensional settings. The results show that the performance of the four methods in one-dimensional distribution is quite similar. In addition, as it is shown in Figure 4 the convergence speed of SN-MAP method and H-HMC method with the Hessian information at the MAP point in high-dimensional distribution are significantly faster than standard MH-MCMC method. We also considered another example, where we take sample from a log-normal distribution and the MAP point is assumed

Autocorrelation vs. lag of different sampling methods for the (a) one-dimensional case and (b) high-dimensional case; autocorrelation is calculated for average value on the spatial domain.
Figure 5 presents the

(a) MAP point, (b) interval for MH-MCMC, (c) interval for HMC, (d) interval for SN-MAP, and (e) interval for H-HMC method, for the nearly Gaussian posterior distribution.
Table 3 shows the summary of convergence analysis for the high-dimensional log-normal distribution, after taking
Summary analysis of high-dimensional log-normal example: summary of convergence analysis of different sampling methods for high-dimensional log-normal distribution.
SE: standard error; HMC: Hamiltonian Monte Carlo; H-HMC: Hessian-based Hamiltonian Monte Carlo; SN-MAP: Stochastic Newton MCMC with MAP-based Hessian.
Moreover, comparison of SE values in Tables 1 and 3 shows that although the SN-MAP method works well for normal distributions and it has the lowest estimation error value, for log-normal distribution using the H-HMC method is more efficient, and the estimation error is lower.
Table 4 presents the Kullback–Leibler divergence (KLD) values between normal and log-normal distributions and the acceptance rates for different log-normal distributions. This analysis considers different log-normal distributions and calculates the KLD value, which measures the difference between each log-normal distribution and its corresponding normal approximation at the MAP. For each log-normal distribution, we run the SN-MAP sampling method and take
Summary analysis of high-dimensional log-normal example: results of SN-MAP sampling method for different log-normal distributions.
KLD: Kullback-Leibler divergence; SN-MAP: Stochastic Newton MCMC with MAP-based Hessian.
5.3. Non-Gaussian posterior distribution: inferring permeability from pressure data
In this section, we infer the permeability field
Properties of solid and fluid phases in the poroelastic model, see Section 4.
The initial porosity is assumed

(Left) Target permeability distribution
As discussed in Section 2, the prior covariance is defined based on the Laplacian operator
5.3.1. Computing the MAP point
To find the MAP point, we apply a quasi Newton algorithm (BFGS) to solve the nonlinear minimization problem. The detailed formulation of Lagrangian method is presented in Appendix 3. The prior mean is assumed constant

The MAP point field with
Figure 8 shows the identified MAP points by considering different noise levels. By increasing the level of noise

The MAP field considering different noise levels with 52 observations.
Similarly, Figure 9 shows the effect of number of measurements on computing the MAP point. By decreasing the number of observations, the MAP point becomes less informed, more smooth and far from the target distribution.

The MAP field considering different measurement numbers, with
5.3.2. Exploring the posterior distribution
We use the HMC and H-HMC methods to generate samples from the posterior distribution. In the H-HMC method, we use the Hessian information at the MAP point to improve the sampling performance. To achieve similar acceptance rates, the step size

Autocorrelation vs. lag at three random points, point 1:(7314.3,800), point 2:(5028.8,2880), and point 3:(10,3200).
In this analysis, we don’t use the MH-MCMC method due to the inefficiency and computational costs. Also, since the posterior distribution is highly nonlinear and non-Gaussian, the acceptance rate for the SN-MAP method is very low, which makes this method inefficient.
Furthermore, Figure 11 presents the credible interval of the inverse problem’s solution along the vertical dashed line, after taking

95% credible interval based on the H-HMC method.
6. Conclusion
We have presented a Bayesian inference framework for high-dimension inverse problems governed by PDE equations. We used a continuous Gaussian prior distribution (based on a Laplacian-like operator) to ensure the well-posedness of the infinite-dimensional inverse problem. The main advantage of this prior function is that it can be applied to continuous domains, and it allows simple discretization. We implemented the inverse problem in the FEniCS library and used a quasi-Newton solver (BFGS) of dolfin-adjoint package to solve the minimization problem.
We have investigated several sampling methods to describe the posterior distribution. We discussed the complexities of sampling methods in high-dimensional parameter spaces and compared the performance of MH-MCMC and HMC sampling methods with the accelerated methods using the Hessian and gradient information, such as SN-MCMC, MALA, and H-HMC. By considering several one-dimensional and high-dimensional problems with Gaussian and non-Gaussian posterior distributions, we showed that using the modified Hessian-based sampling methods can significantly increase the speed of convergence and exploring in high-dimensional inverse problems. However, using the local Hessian information in nonlinear high-dimensional problems is computationally expensive. We considered Hessian sampling methods using the Hessian information calculated at the MAP point to overcome this problem. The results revealed that the MAP-based Hessian sampling methods are both computationally efficient and fast in exploring high-dimensional distributions.
We also applied the developed framework to a high-dimensional inverse problem governed by poroelastic PDE equations to infer the unknown permeability distribution from the point-wise pore pressure observations. We calculated the MAP point and the posterior credible intervals by applying the HMC and H-HMC methods, using the Hessian information at the MAP point. Our results indicate that the H-HMC method using the Hessian information at the MAP point has a better performance in exploring this non-Gaussian high-dimensional distribution.
Footnotes
Appendix 1
Appendix 2
Appendix 3
Appendix 4
Appendix 5
Funding
The author(s) disclosed receipt of the following financial support for the research, authorship, and/or publication of this article: We thank the National Science Foundation for support through XSEDE resources provided by Pittsburgh Supercomputing Center. M.K. acknowledges financial support from the Scott Institute. K.D. acknowledges financial support from NSF (CMMI MOMS 1635407, DMS 2108784), ARO (MURI W911NF-19-1-0245), ONR (N00014-18-1-2528), BSF (2018183), and an appointment to the National Energy Technology Laboratory sponsored by the U.S. Department of Energy. M.P. acknowledges financial support from NSF (CMMI 1638327). This work was funded (in part) by the Dowd Fellowship from the College of Engineering at Carnegie Mellon University.
