Articles | Volume 14, issue 9
Geosci. Model Dev., 14, 5843–5861, 2021
https://doi.org/10.5194/gmd-14-5843-2021
Geosci. Model Dev., 14, 5843–5861, 2021
https://doi.org/10.5194/gmd-14-5843-2021

Model description paper 24 Sep 2021

Model description paper | 24 Sep 2021

fenics_ice 1.0: a framework for quantifying initialization uncertainty for time-dependent ice sheet models

fenics_ice 1.0: a framework for quantifying initialization uncertainty for time-dependent ice sheet models
Conrad P. Koziol1, Joe A. Todd1, Daniel N. Goldberg1, and James R. Maddison2 Conrad P. Koziol et al.
  • 1School of GeoSciences, Univ. of Edinburgh, City of Edinburgh, United Kingdom
  • 2School of Mathematics and Maxwell Institute for Mathematical Sciences, Univ. of Edinburgh, City of Edinburgh, United Kingdom

Correspondence: Daniel N. Goldberg (dan.goldberg@ed.ac.uk)

Abstract

Mass loss due to dynamic changes in ice sheets is a significant contributor to sea level rise, and this contribution is expected to increase in the future. Numerical codes simulating the evolution of ice sheets can potentially quantify this future contribution. However, the uncertainty inherent in these models propagates into projections of sea level rise is and hence crucial to understand. Key variables of ice sheet models, such as basal drag or ice stiffness, are typically initialized using inversion methodologies to ensure that models match present observations. Such inversions often involve tens or hundreds of thousands of parameters, with unknown uncertainties and dependencies. The computationally intensive nature of inversions along with their high number of parameters mean traditional methods such as Monte Carlo are expensive for uncertainty quantification. Here we develop a framework to estimate the posterior uncertainty of inversions and project them onto sea level change projections over the decadal timescale. The framework treats parametric uncertainty as multivariate Gaussian and exploits the equivalence between the Hessian of the model and the inverse covariance of the parameter set. The former is computed efficiently via algorithmic differentiation, and the posterior covariance is propagated in time using a time-dependent model adjoint to produce projection error bars. This work represents an important step in quantifying the internal uncertainty of projections of ice sheet models.

1 Introduction

The dynamics of ice sheets are strongly controlled by a number of physical properties which are difficult (or intractable) to observe directly, such as basal traction and ice stiffness (Arthern et al.2015). This poses challenges in terms of future ice sheet projections, as the behavior of ice sheets often depends strongly on these (spatially varying) properties. There are two principal approaches that have been taken by ice sheet modelers to approach these challenges: control methods and sampling-based uncertainty quantification. Below, we discuss these approaches in the context of ice sheet modeling.

Control methods (MacAyeal1992), sometimes referred to simply as “inverse methods” in a glacial flow modeling context, consist of the minimization of a “cost” function involving some global measure of model–data misfit, as well as regularization cost terms which penalize nonphysical behavior (e.g., high variability at small scales or strong deviation from prior knowledge). A strong benefit of control methods is their ability to estimate hidden properties at the grid scale through large-scale optimization techniques. Such methods have been used extensively to calibrate ice sheet models to observations (e.g., Rommelaere1997; Vieli and Payne2003; Larour et al.2005; Sergienko et al.2008; Morlighem et al.2010; Joughin et al.2010; Fürst et al.2015; Cornford et al.2015).

Uncertainty quantification (UQ) in projections of ice sheet behavior is a crucial challenge in ice sheet modeling. Studies of fast-flowing Antarctic glaciers have shown that uncertainties in the parameters controlling ice flow can lead to large variability in modeled behavior (Nias et al.2016). Thus, it is of great importance to quantify how this parametric uncertainty translates into uncertainty in projections. In some cases, this uncertainty may be exogenous to the dynamics of the ice sheet model (for instance, uncertainty in ocean-driven ice shelf melt), while a likely important contributor to ice sheet projection uncertainty (Robel et al.2019) arises from incomplete knowledge of the ocean system rather than the dynamics of the ice model itself. This is in contrast to parameters that must be constrained via calibration; their uncertainties derive from observational uncertainty, uncertainty in model physics, and a priori knowledge.

The uncertainty associated with ice sheet model calibration can be quantified through Bayesian inference, in which prior knowledge is “updated” with observational evidence. Such methods have been applied to continental-scale ice sheet models and models of coupled ice–ocean interactions (Gladstone et al.2012; Ritz et al.2015; Deconto and Pollard2016). In these Bayesian studies, the dimension of the parameter space is small (i.e., less than  20). Though the methods of these studies differ, they share the common feature of generation of a large ensemble (thousands of runs) through sampling of a parameter space. Bayesian methods are then applied in conjunction with observational data to find likelihood information for the parameters and associated probability distributions of ice sheet behavior.

Applying such ensemble-based Bayesian methods to glacial flow models and parameter sets of dimension 𝒪(104106) (a dimension size typical of control methods) is prohibited by computational expense. Although control methods might efficiently provide estimates of parameter fields, they do not provide parametric uncertainty. While it can be shown that such methods provide the most likely parameter field (often referred to as the maximum a posteriori, or MAP, estimate) (Raymond and Gudmundsson2009; Isaac et al.2015), the covariance of the joint probability distribution – necessary for assessing uncertainty in calibrated model behavior at the MAP point – cannot be inferred.

Thus, there is at present a disconnect between the dual aims of (i) modeling ice sheets as realistically as possible, i.e., through the implementation of higher-order stresses and without making limiting assumptions regarding “hidden” properties of the ice sheet, and (ii) uncertainty quantification (UQ) of models by approximate inference by reducing the dimensionality of the set of parameters.

By augmenting control methods using a Hessian-based Bayesian approach, it is possible to quantify parametric uncertainty without sacrificing parameter dimension or model fidelity. Just as control methods can be interpreted as returning the mode of a joint posterior probability distribution, it can be shown that, under certain assumptions, the covariance of the distribution can be characterized by the inverse of the Hessian (the matrix of second derivatives) of the cost function with respect to the parameters (Thacker1989; Kalmikov and Heimbach2014; Isaac et al.2015). For a nonlinear model, calculating the Hessian involves model second derivatives with respect to parameters, which can be challenging for complex models; in many cases, second-derivative information is ignored and the Hessian is approximated using first-derivative information only (Kaminski et al.2015). Such an approximation is referred to as the Gauss–Newton Hessian (Chen2011). Some studies retain second-derivative information, however, using variational methods (Isaac et al.2015) or algorithmic differentiation (AD) software (Kalmikov and Heimbach2014).

Once determined, the Hessian-based parameter covariance can then be used to quantify the variance of a scalar quantity of interest (QoI) of the calibrated model (e.g., ice sheet sea level contribution over a specified period). One approach to this is projecting the parameter covariance on to a linearized model prediction (e.g., Kalmikov and Heimbach2014). Isaac et al. (2015) employ this methodology in a finite-element ice flow model, but since their model is time-independent, uncertainty estimates cannot be projected forward in time.

In this study we introduce a framework for time-dependent ice sheet uncertainty quantification and apply it to an idealized ice sheet flow problem (Pattyn et al.2008). Beginning with a cost function optimization for sliding parameters given noisy ice sheet velocity data, we then generate a low-rank approximation to the posterior covariance of the sliding parameters through the use of the cost function Hessian. In our work, the Hessian is calculated through AD using the “complete” Hessian rather than the Gauss–Newton approximation. We then project the covariance on a linearization of the time-dependent ice sheet model (again using AD to generate the linearization) to estimate the growth of QoI uncertainty over time. We also apply a method of sampling the posterior distribution and use this to validate our calculation of time-dependent QoI uncertainty for an idealized problem.

2 Methodology

2.1 Symbolic convention

To facilitate readability of this and subsequent sections we adopt formatting conventions for different mathematical objects. Coefficient vectors corresponding to finite-element functions appear as c, general vectors and vector-valued functions as d˘Rq, and matrices as E.

2.2 Mathematical framework

An ice sheet flow model can be thought of as a (nonlinear) mapping from a set of input fields, which might be unobservable or poorly known (such as bed friction), to a set of output fields, which might correspond to observable quantities (such as surface velocity). Here, our focus is on the probability distribution function (PDF) of a hidden field C conditioned on an observational field U, i.e., p(C|U); our aim is to determine properties of this conditional distribution through Bayes' theorem:

(1) p ( C | U ) = p ( U | C ) p ( C ) p ( U ) .

Here, p(U), the unconditional distribution of observations, is effectively a normalization constant which we do not consider further.

As described in Sect. 3, our ice sheet flow model is a finite-element model, meaning C can be described by a vector of finite dimension. We furthermore consider discrete observations, meaning U can be described by a finite-dimensional vector as well (in general with different dimension from C). We assume that observational errors follow a Gaussian distribution. Referring to the vector of observations as u˘obsRm, this is expressed as

(2) - log ( p ( u ˘ obs ) ) = 1 2 u ˘ obs - u ˘ true , u ˘ obs - u ˘ true Γ obs - 1 1 2 u ˘ obs - u ˘ true Γ obs - 1 2 .

Here, a˘,b˘Γobs-1 is the Euclidean inner product of a˘ with Γobs-1b˘, where ΓobsSym+(m) (the set of real symmetric positive definite m×m matrices) is the observational covariance matrix, and a˘Γobs-1 is the norm associated with its inverse. If the parameter field is represented by the vector cRn, then the conditional PDF p(U|C) satisfies

(3) - log ( p ( u ˘ obs | c ) ) = 1 2 u ˘ obs - f ˘ ( c ) Γ obs - 1 2 ,

where f˘:RnRm is a function from the space of parameter fields to the space of observations, i.e., our ice sheet flow model. Note that the above construction equates f˘(c) with the “truth”; i.e., it assumes zero model error. In general model error is extremely difficult to constrain, and doing so is beyond the scope of our study; however, in Sect. 7 we discuss potential strategies to incorporate model error into our framework.

The distribution p(C) in Eq. (1) is the prior PDF of c, which expresses knowledge of C prior to consideration of ice sheet observations and physics – for instance, the autocorrelation scale of basal friction, which may be inferred from proxies such as the presence of basal water inferred from ice-penetrating radar. If the prior PDF is Gaussian, then the distribution of c conditioned on u˘obs satisfies

(4) - log ( p ( c | u ˘ obs ) ) = 1 2 u ˘ obs - f ˘ ( c ) Γ obs - 1 2 + 1 2 c - c 0 Γ prior - 1 2 ,

where c0 is the prior mean and ΓpriorSym+(n) is the prior covariance. This conditional distribution is referred to as the posterior distribution, or ppost. If f˘ is linear, ppost is Gaussian, with mean μ and covariance Γ given by

μpost,lin=Γpost,lin((f˘c)TΓobs-1(u˘obs-f˘0)+Γpost,lin-1c0),(5)Γpost,lin=((f˘c)TΓobs-1(f˘c)+Γprior-1)-1.

(The above can be derived by minimizing Eq. 4 with respect to c with f˘=f˘0+(f˘/c0)(c-c0).)

Models of ice sheet dynamics are in general nonlinear, however, and Eq. (5) does not strictly apply. Instead we use a quadratic approximation to the negative log posterior (Bui-Thanh et al.2013; Isaac et al.2015; Kalmikov and Heimbach2014). Such an approximation considers a second-order Taylor expansion of −log(ppost) about the mode of the posterior or, equivalently, about the maximum a posteriori (MAP) estimate cMAP. This leads to a Gaussian distribution with mean cMAP and covariance

(6) Γ post = ( ( f ˘ c ) T Γ obs - 1 ( f ˘ c ) + Γ prior - 1 + ( 2 f ˘ c 2 ) Γ obs - 1 ( u ˘ obs - f ˘ ( c ) ) ) - 1 .

Equation (6) differs from the covariance given by Eq. (5) in that derivatives of f˘ depend on cMAP and in the final term involving second derivatives of f˘. Essentially, ppost is approximated by the Gaussian distribution with the local covariance at cMAP. While this is insufficient to calculate global properties of ppost such as skew, it gives insight into the directions in parameter space which are most (and least) constrained – information which can be propagated to model projections.

2.3 Relation to control methods

By contrast with Bayesian methods, the control methods generally used in glaciological data assimilation (Morlighem et al.2010; Joughin et al.2010; Cornford et al.2015) find the parameter set which gives the best fit to observations. This is done by minimizing a scalar cost function which takes the general form

(7) J c = J mis c + J reg c .

Jmisc, the misfit cost, is the square integral of the misfit between the surface velocity of the ice model and remotely sensed observations, normalized by the observational error. These terms are discretized to implement the control method. If the ice sheet model is solved via a finite-element scheme, then the misfit cost can be written as

(8) J mis c = 1 2 u ˘ obs - u ˘ D σ - 1 MD σ - 1 2 .

Here, u˘ and u˘obs are nodal values of the finite-element representations of modeled and observed velocities, Dσ is a diagonal matrix containing standard errors of the u˘obs measurements, and M is the mass matrix corresponding to the finite-element basis ϕi: Mij=ΩϕiϕjdA, where Ω is the computational domain. Jreg, the regularization cost, is imposed to prevent instabilities and is generally chosen as a Tikhonov operator which penalizes the square integral of the gradient of the parameter field (e.g., Morlighem et al.2010; Cornford et al.2015). In other words, regularization imposes smoothness on the control parameter field, which otherwise may exhibit variability at scales not strongly determined by the observations. Such a term can generally be written as a positive definite quadratic form of c.

Jc is thus a functional with a form similar to Eq. (4), i.e., the negative log posterior. In this sense, solving the control problem is equivalent to finding cMAP. However, there are important differences between Jmisc and the first term of Eq. (4). The former is an L2 inner product (which, with standard continuous finite elements, introduces mesh-dependent factors in the covariance), while the latter is an inner product involving values at a fixed set of observation points (which does not). Identifying Jc as a negative log posterior therefore implies observational errors that are changed by factors related to grid cell areas.

Our framework effectively uses a control method – but one which allows calculation of the posterior covariance after the MAP point is found. As such we use a fixed set of points, as described above, in our misfit cost term. Thus, the Hessian of the cost function of our control method is equal to the inverse of the posterior covariance given by Eq. (6). However, our form of Jregc does not involve the square integral of the gradient of c, as Bui-Thanh et al. (2013) note that this can lead to unbounded prior covariances as the numerical grid is refined. These authors recommend a discretization of a differential operator of the form

(9) L ( ) γ 2 ( ) - δ ( ) ,

where γ and δ are positive scalars which are in general spatially varying, though in the present study we consider only constants. The second term on the right-hand side ensures the operator is invertible; though there are other ways of doing this (e.g., Keuthen and Ulbrich2015), it is a computationally simple approach. Isaac et al. (2015) use the same definition for their prior, which we adopt in our study as well. Hence, our regularization term is

(10) J reg c = Ω 1 2 ( L ( c ) ) 2 d A = 1 2 c LM - 1 L 2 ,

where L is the operator on the finite-element space such that ϕiTLϕj=ΩϕiL(ϕj)dA for all ϕi and ϕj. Thus, in the Bayesian interpretation of the control method optimization, the prior covariance is given by

(11) Γ prior = L - 1 ML - 1 .

2.4 Low-rank approximation

In the previous section we establish that the posterior covariance is equivalent to the inverse of the Hessian of the (suitably defined) cost function. With a large parameter space, though, calculating the complete Hessian (and its inverse) can become computationally intractable. Still, in many cases, the constraints on parameter space provided by observations can be described by a subspace of lower dimension. In the present study, our idealized examples are small enough that the full Hessian can be calculated, but to provide scalable code we seek an approximation to the posterior covariance that exploits this low-rank structure.

The following low-rank approximation follows from Isaac et al. (2015), and similar approaches are used in Bui-Thanh et al. (2013) and Petra et al. (2014). We define the term

(f˘c)TΓobs-1(f˘c)+(2f˘c2)Γobs-1(u˘obs-f˘(c))

from Eq. (6) as Hmis, the Hessian of the misfit component of the negative log posterior (or, equivalently, of the misfit cost term). Equation (6) can be written as

(12) Γ post = ( H mis + Γ prior - 1 ) - 1 .

This can be rearranged as

(13) Γ post = ( Γ prior H mis + I ) - 1 Γ prior .

The term H̃misΓpriorHmis is referred to as the “prior-preconditioned Hessian”, and it has the eigendecomposition

(14) H ̃ mis = C Λ C - 1 ,

where Λ is a diagonal matrix of eigenvalues and C contains the corresponding eigenvectors. H̃mis is not in general symmetric positive semidefinite (even though Hmis and Γprior both are), but Eq. (14) can be written as

(15) Γ prior 1 2 H mis Γ prior 1 2 = Γ prior - 1 2 C Λ C - 1 Γ prior 1 2 ,

i.e., an eigendecomposition of the symmetric matrix Γprior12HmisΓprior12. Thus, the eigenvalues in Λ are real-valued, and the eigenvectors C can be chosen to be Γprior-1-orthogonal, i.e., such that

(16) C T Γ prior - 1 C = I .

While Hmis could be eigendecomposed directly, decomposing H̃mis better informs uncertainty quantification. We assume an ordering of the eigenvalues λi such that λi+1λi. For an eigenvector ck with eigenvalue λk, the negative log posterior probability density evaluated at c=ck+cMAP is

ck,Hck=ck,(Hmis+Γprior-1)ck=ck,(Γprior-1H̃mis+Γprior-1)ck=λkck,Γprior-1ck+ck,Γprior-1ck=(1+λk)ck,Γprior-1ck(17)=(1+λk).

In other words, the leading eigenmodes of H̃mis correspond to directions in which the posterior uncertainty is reduced the most relative to the prior uncertainty in those directions. Thus, one can truncate the eigendecomposition, neglecting eigenmodes for which the data provide minimal information. The Sherman–Morrison–Woodbury matrix inversion lemma gives

(18) Γ post = ( I - CDC - 1 ) Γ prior ,

where D is a diagonal matrix with entries dkk=λk/(1+λk), and with Eq. (16) this becomes

(19) Γ post = Γ prior - CDC T .

This can then be approximated by

(20) Γ post Γ prior - C r D r C r T ,

where Cr represents the first r columns of C and similarly for Dr.

In this study, the problems considered are sufficiently small that we calculate all eigenvalues; i.e., we do not carry out a low-rank approximation. In general, though, a strategy for deciding r is needed. Isaac et al. (2015) recommend choosing r such that λr≪1, which may in some cases result in a large value for r. A more pragmatic approach would be to choose r such that in Eq. (22), the QoI variance (see Sect. 2.5) has negligible change when approximating with additional eigenvalue–eigenvector pairs.

2.5 Propagation of errors

Often of interest is how the observational data constrain outputs of a calibrated model as opposed to how they constrain the calibrated parameters themselves. (A simple analogy is an extrapolation using a regression curve, which is generally of more interest than the regression parameters.) Such an output is termed a quantity of interest (QoI) Q, an example of which is the loss of ice volume above floatation (VAF), the volume of ice that can contribute to sea level, at a certain time horizon. Here we write QT(c) to indicate the value of Q based on the output of the calibrated model at time horizon T.

The distribution of QT can be assessed by sampling from the posterior distribution of c, although such sampling might be slow to converge. Alternatively, an additional linear assumption can be made. Neglecting higher-order terms, QT can be expanded around cMAP:

(21) Q T = Q T ( c MAP ) + ( Q T c ) ( c - c MAP ) .

As this is an affine transformation of a Gaussian random variable, QT has a mean of QT(cMAP) and a variance of

(22) σ 2 ( Q T ) = ( Q T c ) T Γ post ( Q T c ) .

If QTc can be found at a number of times T along a model trajectory, then the growth of uncertainty along this trajectory arising from parametric uncertainty can be assessed.

Note that the assumption of linearity in Eq. (21) is in general false due to the nonlinear momentum and mass balance equations that define a time-dependent ice sheet model. For the idealized experiments conducted in this paper, we compare the above estimate for the variance with that derived from sampling the posterior.

3 Numerical approach

In this study we use a new numerical code, fenics_ice, which is a Python code that implements the time-dependent shallow shelf approximation (SSA; MacAyeal1989). The SSA is an approximation to the complete Stokes stress balance thought to govern ice flow. In the approximation the vertical stress balance is assumed to be hydrostatic such that normal stress is in balance with the weight of the ice column. Additionally, flow is assumed to be depth-independent. These approximations reduce a three-dimensional saddle-point problem to a two-dimensional convex elliptic problem, enabling a more efficient solve. The nonlinear power-law rheology of the full Stokes problem is retained, however. Despite these simplifications, the SSA describes the flow of fast-flowing ice streams and floating ice shelves well (Gagliardini et al.2010; Cornford et al.2020).

The fenics_ice code makes use of two sophisticated numerical libraries: FEniCS (Logg et al.2012; Alnæs et al.2015), an automated finite-element method equation solver, and tlm_adjoint (Maddison et al.2019), a library which implements automated differentiation of numerical partial differential equation solvers. FEniCS is a widely used software library which abstracts the user away from low-level operations such as element-level operations. Rather, the weak form of the equation is written in Unified Form Language (UFL; Alnæs et al.2014), and FEniCS generates optimized low-level code which solves the related finite-element problem with specified parameters (e.g., the order of the basis functions). The tlm_adjoint library implements high-level algorithmic differentiation of codes written with FEniCS or Firedrake.

The tlm_adjoint library is used for several of the operations detailed in Sect. 2. It facilitates the minimization of the model–data misfit cost Jc (Sect. 2.3) with respect to x (which is equivalent to finding the mode of the posterior density of x). The higher-order derivative capabilities of tlm_adjoint furthermore enable efficient computation of the product of the Hessian of Jc with arbitrary vectors, enabling an iterative eigendecomposition of the prior-preconditioned Hessian as described in Sect. 2.4. Finally, tlm_adjoint's time-dependent capabilities enable differentiation of the temporal trajectory of the quantity of interest QT, enabling projections of posterior uncertainty as described in Sect. 2.5. In our experiments in the present study, our cost function Jc is time-independent – but tlm_adjoint does allow for efficient calculation of Hessian vector products for time-varying functionals (Maddison et al.2019, their Sect. 4.2) – meaning time-varying data constraints can be considered with fenics_ice. Currently fenics_ice calls SLEPc for the solution of the generalized eigenvalue problem

(23) H mis C = Γ prior C Λ ,

ensuring real-valued eigenvalues – though in future versions of fenics_ice randomized algorithms of the type used by Villa et al. (2018) can be used without loss of generality.

The fenics_ice code solves the shallow shelf approximation by implementing the corresponding variational principle (Schoof2006; Dukowicz et al.2010; Shapero et al.2021):

Ω2Hνϕ:(εu+Tr(εu)I)dA+ΩC2χϕudA+ΩWRϕ-FϕdA(24)+Γc(ϕn)(12ρg(H2-(ρw/ρ)|zb-|2)-F)dA=0.

Here, ϕ is a vector-valued test function, and u is the depth-integrated horizontal velocity vector. εu is the horizontal strain-rate tensor 12(u+uT), I is the 2×2 identity tensor, and “:” represents the Frobenius inner product. H is ice sheet thickness (the elevation difference between the surface, zs, and the base, zb), and ν is ice viscosity, which depends on the strain-rate tensor:

ν=12Bεe1-n2n,εe=ε112+ε222+ε122+ε11ε22.

B is generally referred to as the “stiffness” of ice and is thought to depend on ice temperature. In all experiments in this study, B is spatially constant and corresponds to a temperature of 12.5 C (Cuffey and Paterson2010); n is a measure of the degree of strain weakening of ice, with a widely accepted value of 3 (Glen1955). C is a real-valued, spatially varying sliding coefficient, and χ is a function that indicates where ice is grounded according to the hydrostatic condition:

(25) H > ( - ρ w / ρ ) R H f ,

where ρ and ρw are ice and ocean densities, respectively, and R is bed elevation (note that zb=R when this condition is satisfied). In our code C can in general depend locally on velocity and thickness, though in this study we consider only a linear sliding law, i.e., one in which C varies only with location.

is defined as

(26) F = 1 2 ρ g H 2 H > H f , 1 2 ρ g ( η H 2 + ( 1 - η ) H f 2 otherwise ,

where η=(1-ρ/ρw), and 𝒲 as

(27) W = ρ g H H > H f , ρ g H f otherwise .

Γc is defined as the calving boundary, i.e., the boundary along which the ice sheet terminates in the ocean (or in a cliff on dry land), and n is the outward normal vector at this boundary. Finally, |zb-| indicates the negative part of the ice base; i.e., it is zero when zb=R>0. The third integral of Eq. (24) is the weak form of the driving stress of the ice sheet, τd=ρgHzs. Although in our experiments in this study we consider only grounded ice, the full weak form is shown for completeness. The form of the driving stress term used here, ∇ℱ+𝒲∇R, is not standard in glacial flow modeling, but it is equivalent to the more common form when thickness is represented by a continuous finite-element function.

In addition to the momentum balance, the continuity equation is solved:

(28) H t + ( H u ) = b .

Here, b represents localized changes in mass at the surface or the base of the ice sheet, i.e., accumulation due to snowfall or basal melting of the ice shelf by the ocean (though in the present study, surface b=0). The continuity equation is solved using a first-order upwind scheme, which is implicit in H and explicit in u. In this study, we do not consider initializations based on time-varying data (i.e., the misfit cost function Jmisc does not depend on time-varying fields), so the continuity function is only involved with finding a quantity of interest and propagation of initialization uncertainty.

We discretize velocity (u) using first-order continuous Lagrange elements on a triangular mesh. In the present study thickness (H) is discretized with first-order continuous Lagrange elements as well – although we point out that formulation (Eqs. 26 and 27), together with an appropriate discretization for the continuity equation (Eq. 28), will allow for discontinuous Galerkin elements (which have been found in more realistic experiments with fenics_ice to improve stability of time-dependent simulations). Equation (24) is solved for u with a Newton iteration, with the Jacobian calculated at the level of the weak equation form using core FEniCS features. In the early iterations of the Newton solve, the dependence of ν on u is ignored in the Jacobian. This “linear” fixed-point iteration (often referred to in glacial modeling as Picard iteration; Hindmarsh and Payne1996) aids the Newton solver as it has a larger radius of convergence. Once the nonlinear residual has decreased by a specified amount (a relative tolerance of 10−3 is used for this study), the full Newton iteration is applied.

To carry out an inversion, a cost function is minimized using the L-BFGS-B algorithm (Zhu et al.1997; Morales and Nocedal2011) supplied with SciPy 1.5.2 (although note that no bounds on the controls are used). SLEPc (Hernandez et al.2005) is used to implement the eigendecomposition described in Sect. 2.4 using a Krylov–Schur method. Rather than solve the eigenvalue problem (Eq. 14), we solve the generalized Hermitian eigenvalue problem:

(29) H mis C = Γ prior - 1 C Λ ,

which guarantees real-valued eigenvalues. (Despite Λ being real-valued, the application of SLEPc to the non-Hermitian eigenvalue problem in Eq. 14 represents eigenvectors as imaginary, effectively doubling the memory requirements.)

4 Numerical experiments

In this study, we aim to do the following.

  1. Establish that control method optimizations can be carried out with fenics_ice

  2. Calculate eigendecompositions of the prior-preconditioned model misfit Hessian as described in Sect. 2.4, examining the impacts of regularization, resolution, and spatial density and autocorrelation of observations y˘obs on the reduction of variance in the posterior

  3. Propagate the posterior uncertainty onto a quantity of interest QT as in Sect. 2.5

  4. Establish, through simple Monte Carlo sampling, that the variance found through Eq. (22) is accurate

Control method optimizations using ice sheet models have been done extensively with parameter sets of very high dimension (e.g., Cornford et al.2015; Goldberg et al.2015; Isaac et al.2015), so our results regarding point (1) above simply demonstrate the capabilities of fenics_ice but are not novel. Isaac et al. (2015) carry out eigendecompositions of the prior-preconditioned model–misfit Hessian and project the associated uncertainty onto a quantity of interest – however, their QoI is time-independent. Importantly, Hessian-based uncertainty quantification has not been implemented for a model of ice dynamics using algorithmic differentiation before. Moreover, a time-dependent QoI has not been considered, nor has the impact of observational data density on the posterior uncertainty.

Investigating these and similar factors comprehensively, as well as validating the assumption of Gaussian statistics that leads to Eq. (22), requires a model setup that is relatively inexpensive to run. We therefore choose one of the simplest frameworks possible for our numerical experiments: that of the benchmark experiments for higher-order ice sheet models (ISMIP-HOM) intercomparison (Pattyn et al.2008). We adopt the experiment ISMIP-C, a time-independent experiment in which an ice sheet slides across a doubly periodic domain with constant thickness and a basal frictional factor that varies sinusoidally in both horizontal dimensions. The relation between velocity and basal shear stress is linear:

(30) τ b = - C 2 ( x , y ) u ,

where C is the factor from the second integral of Eq. (24), which has the form

(31) C ( x , y ) = 1000 + 1000 sin ( 2 π x L x ) sin ( 2 π y L y ) ,

with units of Pa (m a)−1, where Lx and Ly are experimental parameters. In this ISMIP-C specification, thickness is constant (H=1000 m) and a shallow surface slope of 0.1 is imposed. In this ISMIP-HOM intercomparison, SSA models compared well with Stokes models for Lx and Ly over  40 km, so this is the value we use in our study. A regular triangular mesh is used to solve the model. Unless otherwise stated, the cell diameter of the mesh is 1.33 km.

In our experiments, the momentum balance (Eq. 24) is solved on a highly refined grid and taken to be the truth. To generate synthetic observations, values are interpolated to predefined locations. Observational error is then simulated by adding Gaussian random noise to these values. (These synthetic observations correspond to u˘obs in Eq. 2.) In this study observational points occur at regular intervals, though our code allows for arbitrary distributions of observation points. Unless stated otherwise, in this study observational data points are spaced 2 km apart, with the velocity vector components coincident, and observational uncertainties are mutually independent with a standard deviation of 1 m a−1. The regular spacing of observational points is not realistic and other studies use randomly scattered locations (e.g., Isaac et al.2015); however, this choice is in line with the idealized nature of our study and furthermore allows comprehensive investigation of the effects of observational density (Sect. 5.4).

Our parameter-to-observable map f˘ is really a composition of two functions: the first finds the solution to the momentum balance (Eq. 24) as a finite-element function, and the second interpolates the function to discrete locations. If the misfit cost were to be expressed as the weighted L2 norm of the model–data misfit as in Eq. (8), then the interpolation function is replaced by the identity.

An inverse solution c is then found using a control method, where c is the vector of nodal coefficients of C. Below we refer to C as the sliding parameter. Note that minimization is with respect to C and not C2. Our cost function JISc is composed of a misfit term equal to the negative log density of observed velocities conditioned on c (see Eq. 2), and the regularization operator is the discretized form of Eq. (9):

JISc=12u˘obs-f˘(c)Γu,obs-12+12ΩL(C-C0)2dA(32)=12u˘obs-f˘(c)Γu,obs-12+12c-c0LM-1L2,

where L is as described in Sect. 2.3. In many studies, the optimal value for γ, the regularization parameter, is determined heuristically through an L-curve analysis (e.g., Gillet-Chaulet et al.2012) – although there are alternative approaches (e.g., Waddington et al.2007; Habermann et al.2013). Here we examine, for different values of γ, the degree of uncertainty reduction associated with the cost function optimization. In other words, we seek the posterior density of c, the coefficient vector of the finite-element function C. (We conduct an L-curve analysis, but only as a guideline for which values of γ to examine.) In our experiments, C0, the prior value of C, is uniformly zero – indicating we have no preconceived notion of its mean value, only its spatial variability (implied by γ).

ISMIP-C does not prescribe a time-dependent component, but it is straightforward to evolve the thickness H (which is initially uniform) according to Eq. (28), where m=0. We define a quantity of interest QTIS as

(33) Q T IS = Ω ( H ( T ) - H 0 ) 4 d A .

Unlike volume above floatation, the example given in Sect. 2.5, QTIS has no strong physical or societal significance. However, it is convenient to calculate and sufficiently nontrivial and nonlinear that the effects of uncertainty in C, as well as the strength of the prior covariance, can be seen. Moreover, volume above floatation is insensitive to small-scale variability in thickness – but there may be scientific motivation to study quantities of interest which do take such variability into account (see Sect. 7). Thus, we choose Eq. (33) as a QoI which is straightforward but also an indicator of thickness variability.

In our error propagation we evolve the ISMIP-C thickness for 30 years and use the time-dependent adjoint capabilities of fenics_ice to find QTIS/c for discrete values of T over this period, and uncertainty at these times is found using Eq. (22); an uncertainty “trajectory” is then found for QIS via interpolation. Our results regarding the uncertainty of QIS and the quadratic approximation inherent in Eq. (22) are then tested via sampling from the posterior as described in Sect. 5.3.1.

5 Results

5.1 Parameter uncertainties

5.1.1 Effect of regularization

An L curve for our inversion results (Fig. 1) shows the behavior of regularization cost and model–data misfit as γ is varied over 3 orders of magnitude. In all inversions, c is initialized assuming a pointwise balance between driving stress and basal drag arising from interpolated velocity observations, and Jc is lowered from the initial value by a factor of ∼103 (meaning the probability density associated with C, proportional to e-Jc, is increased by a factor of approximately 10400).

https://gmd.copernicus.org/articles/14/5843/2021/gmd-14-5843-2021-f01

Figure 1An L curve showing the trade-off between model misfit (first and second terms of Eq. 32) and the regularization cost (the second terms of Eq. 32 divided by γ). Associated values of the regularization parameter γ are shown. In all optimizations, δ is equal to 10−5, and observational points occur at intervals of 2 km.

Download

While misfit does not vary greatly in a proportional sense, it suggests γ=10 as a reasonable trade-off between misfit and regularization. Figure 2 displays results of an inversion with a “strong” level of regularization (γ=50; referred to below as the γ50 experiment). The resulting C is relatively smooth (Fig. 2a), and the misfit is generally small though with some outliers (Fig. 2d). (Misfit is displayed as a histogram of errors – obtained by interpolating the finite-element solution to the sampled velocity locations – rather than as a spatially continuous function to emphasize the discrete nature of the model–data misfit.) Figure 3 gives equivalent results for a “weak” regularization inversion (γ=1; referred to below as the γ1 experiment). The misfit distribution is similar, but the inverted sliding parameter is significantly noisier as a result of weaker constraints on these “noisy” modes by the prior.

https://gmd.copernicus.org/articles/14/5843/2021/gmd-14-5843-2021-f02

Figure 2Results of the control method inversion with γ=50. (a) The recovered basal traction C2. (b) The pointwise standard deviation of the sliding parameter C. (c) The surface speed associated with the inverted C. (d) Histogram of model–data velocity misfit (where misfit is the 2-norm of the difference of observed and modeled velocity). (e) The sensitivity of Q30IS to the sliding parameter. (f) Thickness after 30 years of time stepping.

Download

https://gmd.copernicus.org/articles/14/5843/2021/gmd-14-5843-2021-f03

Figure 3Similar to Fig. 2 but with γ=1. Note the difference in color map with Fig. 2b.

Download

The effect of regularization on reduction of uncertainty can be seen from examining the eigenvalues defined by Eq. (14). More precisely, the ratio 1/(1+λi), where λi is the ith leading eigenvalue, is examined. As shown in Sect. 2.4, this ratio gives the reduction in variance of the associated eigenvector in the posterior PDF relative to the prior distribution. In Fig. 4a this quantity is shown for the eigenvalue spectra corresponding to γ=1, 10, and 50. For all inversions, uncertainty reduction is several orders of magnitude for the leading eigenvalues, but the tails of the spectra are quite different. In the case of strong regularization, there is little reduction in variance beyond i 100, while in the weakly regularized case there is considerable reduction across the entire spectrum. This discrepancy can be interpreted as the prior providing so little information in the low-regularization case that the information provided by the inversion reduces uncertainty across all modes. The comparison of eigenvalue spectra across experiments is only meaningful to the extent that the corresponding eigenvectors are equivalent. A comparison between the four leading eigenvectors in the high- and low-regularization experiments (Fig. 5) shows they are not equivalent but have the same overall structure. (Differences arise due to cMAP but also due to differences in Γprior.)

https://gmd.copernicus.org/articles/14/5843/2021/gmd-14-5843-2021-f04

Figure 4Uncertainty reduction factor 1/(1+λk) versus eigenvalue index k for a range of experiments. (a) Dependence of reduction spectra on the regularization parameter γα. (b) Dependence of reduction spectra on model resolution. (c) Dependence of reduction spectra on the density of observational sample points. (d) Dependence of reduction spectra on the density of observational sample points with nonzero observational covariance.

Download

Approximating the posterior covariance of c, Γpost, also allows an estimation of ΣC, the pointwise variance of C. This is done via calculation of the square root of the diagonal entries of Γpost, i.e., the standard deviation of the marginal distributions of the coefficients of c. ΣC is shown for the inversions discussed above in Figs. 2b and 3b. Pointwise uncertainties in γ1 are 5–10 times larger than in γ50. For γ50 there is a clear pattern of higher uncertainty where the bed is weaker (i.e., C is smaller), though for γ1 it is difficult to discern any pattern.

5.1.2 Effect of resolution

The impacts of grid resolution on eigenvalue spectra are investigated (Fig. 4b). In Isaac et al. (2015), it was shown that the leading eigenvalues were independent of the numerical mesh, implying that the leading eigenvectors – the patterns for which uncertainties are quantified – are not dependent on the dimension of the parameter space (which would be an undesirable property). Our spectra suggest that at 2 km resolution, there is mesh dependence, but the spectra for 1.33 and 1 km resolution are in close agreement, suggesting mesh independence (Isaac et al.2015). Consistent values of γ and δ are used for these experiments, meaning the results of the L curve in Fig. 1 are not dependent on model resolution.

https://gmd.copernicus.org/articles/14/5843/2021/gmd-14-5843-2021-f05

Figure 5(a–d) Leading four eigenvectors of C in the γ50 experiment. (e–g) Leading four eigenvectors of C in the γ1 experiment.

Download

5.2 Propagation of uncertainties

5.3 Linear propagation of uncertainties

The low-rank approximation of the posterior covariance of c found with Eq. (20) can be used to estimate the uncertainty of QTIS using Eq. (22). To do so, QTISc must be found, which is done using algorithmic differentiation of the time-dependent model as described in Sect. 4. Figures 2e and 3e show Q30ISc arising from their respective inversions. There is small-scale noise in the low-regularization experiment (γ1), but the general pattern and magnitude between the two gradients are similar, with strengthening of weak-bedded areas and weakening of strong-bedded areas both leading to an increase in the fourth-order moment of thickness. The gradient of QTIS with respect to c is found for intermediate values of T over the 30-year interval, with σ(QTIS) calculated at these times – which can then be linearly interpolated to find a trajectory of uncertainty. In our experiments we find the gradient of QTIS every 6 years. In Fig. 6a these trajectories are shown for the γ50 and γ1 experiments, plotted as a 1σ error interval around the calculated trajectory of QTIS.

https://gmd.copernicus.org/articles/14/5843/2021/gmd-14-5843-2021-f06

Figure 6(a) Paths of QTIS in the γ50 experiment (blue) and γ1 experiment (green). Shading shows the 1σ uncertainty interval for each trajectory calculated by projecting the Hessian-based (posterior) uncertainty along the linearized trajectory. (b) Uncertainties in the time-dependent experiments over time. Dashed lines: prior uncertainties projected along the linearized QTIS trajectory. Solid lines: Hessian-based posterior uncertainties projected along the linearized trajectory. Markers: standard deviation of QTIS from sampling the posterior density. In both panels, green corresponds to γ50 and blue to γ1.

Download

The trajectory of uncertainties for γ50 and γ1 can also be seen in Fig. 6b compared against the trajectories of

(34) ( ( Q T IS c ) T Γ prior ( Q T IS c ) ) 1 / 2 ,

i.e., the prior uncertainty linearly projected along the trajectory of QTIS. This uncertainty measure is not physically meaningful as it depends on the calculated QTIS/c, which in turn depends on the inversion for c and the related trajectory of QTIS – and a random sample from the prior distribution of c is unlikely to yield such a trajectory. Still, it serves as a measure of decrease in uncertainty arising from the information encapsulated in the observations and model physics.

QTIS is greater in magnitude in the γ=1 experiment than in the γ=50 experiment at all times – and it can be seen from the uncertainty of the γ1 trajectory that this difference is statistically significant. The two experiments have differing (inverse) solutions, with the γ1 inversion favoring a closer fit to noisy observations at the cost of small-scale variability in the inverse solution. Our quantity of interest (the fourth-order moment of thickness) is sensitive to this small-scale variability, so uniformity of trajectories of QTIS would not be expected. At the same time, the level of QoI uncertainty in the γ1 trajectory relative to that of the γ50 QoI uncertainty is much smaller than the relative magnitudes of the inversion uncertainties (see Figs. 2b, 3b) would suggest. This can be rationalized by considering Eq. (22): uncertainty in the QoI will depend on the extent to which uncertain parameter modes project onto the gradient of the QoI with respect to the parameters. While the γ1 inversion results are overall more uncertain, the leading order modes are still constrained quite strongly. Thus, while QTIS is to a degree sensitive to small-scale variability it may still filter the most uncertain modes of the γ1 inversion, resulting in a smaller QoI uncertainty than expected. In fact, it can be seen from Fig. 6b that despite the large differences in prior distributions between γ50 and γ1, the projections of the respective prior covariances along the trajectory of QTIS are very similar, suggesting that the gradient of QTIS does not project strongly on the modes which are poorly constrained in the γ1 experiment.

5.3.1 Direct sampling of QoI uncertainties

Ideally, the assumptions implicit in the calculation of QoI uncertainties shown in Fig. 6a would be tested through unbiased sampling from the prior distributions of c, followed by using the sampled parameters to initialize the time-dependent model and generating a sample of trajectories of QTIS and finally scaling the probability of each member of the ensemble based on the observational likelihood function p(u˘obs|c). However, given the dimension of the space containing c (equal to 900 in our idealized experiment but on the order of 104–105 in more realistic experiments), the number of samples required to ensure non-negligible likelihoods would not be tractable without a sophisticated sampling strategy such as Markov chain Monte Carlo (MCMC) methods (Tierney1994) (and even then it may require approximations similar to those described above; Martin et al.2012; Petra et al.2014). However, such approaches are beyond the scope of this study.

The assumptions in our propagation of observational and prior uncertainty to the quantity of interest uncertainty are (i) Gaussianity of the distribution of c and (ii) linearity of the map from c to QoI. While (i) cannot be tested for the reasons stated above, (ii) can be tested by sampling from the calculated posterior distribution of c, initializing the time-dependent model, and finding the ensemble variance and standard deviation of QTIS. Our strategy for sampling from the posterior is described below and is based on the derivation in Bui-Thanh et al. (2013).

A randomly sampled vector x will have covariance Γpost and mean cMAP if it is generated via

(35) x = c MAP + K N ,

where N is a sample from a multivariate normal distribution NN(0,I) of the same dimension as c, and K is such that KKT=Γpost. Hence, it is required to find a suitable K. We restate the generalized eigenvalue problem HmisC=Γprior-1CΛ. Since C is orthogonal in the inverse prior covariance (see Eq. 16), the identity matrix I can be spectrally decomposed in ci (the columns of C):

(36) ( c i c i T Γ prior - 1 ) = I .

Rearranging gives ciciT=Γprior, so (see Eq. 20)

ΓpostΓprior-CrDrCrT=i=1nciciT-i=1rciciT(λi1+λi)(37)=i=r+1nciciT+i=1rciciT(11+λi).

We define the matrix B:

B=Γprior+i=1rciciT(λi1+λi-1)(38)=i=r+1nciciT+i=1rciciT(11+λi).

And due to the Γprior-1 orthogonality of C,

BΓprior-1BT=i=r+1nciciT+i=1rciciT(11+λi)(39)=Γpost.

Therefore, a suitable K is given by (see Eq. 11)

(40) B Γ prior - 1 / 2 = BLM - 1 / 2 .

The action of the square root of the mass matrix M is found by a Taylor series approach (Higham2008, Eq. 6.38). Figure 7 shows a result of sampling from the posterior in the γ50 experiment. To the left (panel a), a realization of the prior distribution, with mean zero and covariance Γprior, is displayed. (This realization is found similarly to that of the posterior, with the formula NΓprior1/2.) To the right (panel b), a realization of the posterior distribution is shown with the mean cMAP removed. (Note that both samples are derived from the same realization of .) From comparing the images it can be seen that variance is greatly reduced, particularly at medium to large scales. By contrast, when the posterior distribution of γ1 is sampled, the result is very similar to the prior. Very little reduction of variance is visually apparent, especially at small scales.

https://gmd.copernicus.org/articles/14/5843/2021/gmd-14-5843-2021-f07

Figure 7(a) A realization of the prior density of C for the γ50 experiment. (b) A realization of the posterior density of C for the γ50 experiment with mean cMAP removed.

Download

Using this method of sampling the posterior, an ensemble of 1000 30-year runs is carried out for both low- and high-regularization experiments (γ1 and γ50, respectively), and standard deviations of QTIS are calculated at discrete times. Values are plotted in Fig. 6b. (For each such calculation, the variance quickly converged to the value shown, so it is unlikely that the quantity of interest is under-sampled.) In the γ50 experiment there is strong agreement between the sampled uncertainties and those found via projecting C uncertainty along the linearized QoI trajectory, suggesting that the linear approximation inherent in Eq. (22) is appropriate. In contrast, there are large discrepancies in the γ1 case. It is likely that the small-scale noise inherent in the low-regularization samples (see Fig. 8) impacts the quantity of interest strongly enough that the linear approximation in Eq. (22) breaks down – despite the fact that this noise does not strongly affect the cost function Jc. As mentioned in Sect. 5.2, this may be due to the nature of the QoI. In the γ10 experiment (not shown), the disagreement in uncertainties is on the order of 30 – greater than for the γ50 experiment but far less than for γ1.

https://gmd.copernicus.org/articles/14/5843/2021/gmd-14-5843-2021-f08

Figure 8(a) A realization of the prior density of C for the γ1 experiment. (b) A realization of the posterior density of C for the γ1 experiment with mean cMAP removed. Note the difference in color map with Fig. 7.

Download

5.4 Observational density and uncertainty

In all results presented to this point, the imposed locations for observational data u˘obs and v˘obs lie on a regular grid with a spacing of 2 km. Here we consider the effects of the observational spatial density on the reduction of uncertainty in c.

5.4.1 Effect of observation spacing

Eigendecompositions of the prior-preconditioned misfit Hessian (H^mis) are carried out for observational spacings of 500 m, 1 km, 2 km, 4 km, and 8 km. (The 2 km case corresponds to the γ10 experiment in Fig. 4a.) In all other respects the experiments are identical. Results are shown for comparison in Fig. 4c. Increasing spatial density appears to reduce uncertainty: in the 500 m case, there is considerable uncertainty reduction even in cases in which there is almost no reduction in coarser-observation cases. The result is intuitive: each increase in observational density quadruples the number of independent constraints, effectively adding more information (though a more sophisticated framework is required to quantify the information increase from a given observation; e.g., Alexanderian et al.2014).

Comparison of eigenspectra relies on the corresponding eigenvectors being the same, or similar, between the experiments. As in the regularization and resolution experiments, the eigenvectors depend on the exact form of H^mis, which in turn depends on cMAP; this may differ between the experiments due to the differing number of points. However, they are likely to be of similar patterns (on the basis of the results of Sect. 5.1.1).

5.4.2 Effect of observational covariance

The results described above imply that posterior uncertainty could be made arbitrarily small by increasing the spatial density of observations (although we do not examine observations more dense than 500 m). However, the decreasing uncertainty relies on the observations being statistically independent, which is unlikely to be the case as observations become more and more dense. We consider here the implications of a nonzero spatial covariance. Rather than imposing a realistic observational covariance matrix, we consider a simplified covariance structure in which correlations decay isotropically. That is, our observational covariance matrix Γu,obs is given by

(41) Γ u , obs ( i , j ) = σ u , obs 2 e - | x i - x j | 2 d auto 2 .

Here, σu,obs is the observational uncertainty and xi is the position of observation i. (By contrast, Γu,obs in all experiments described above is a diagonal matrix with entries σu,obs2.) A value of 1 m per year is used for σu,obs, as in all previous experiments, and dauto is set to 750 m. We assert that the observations of orthogonal velocity components are independent; i.e., Γu,obs is block-diagonal with each block corresponding to a velocity component. While velocity component uncertainties are likely to correlate, introducing spatial correlation among the individual components already greatly changes the effect of observation spacing on uncertainty reduction, as seen in Fig. 4d. When observational spacing is large compared to dauto, an increase in density has a similar effect as that seen in the zero-spatial-correlation case (Fig. 4c). But for observational spacing on the order of dauto, additional observations have a minimal effect.

6 Gauss–Newton approximation to the Hessian

Section 2.2 introduces the Hessian of the cost function and gives an expression for the posterior covariance when the parameter-to-observable map f˘ is linear (Eq. 5). The first term in brackets on the right-hand side of Eq. (5), which we write here as

(42) ( f ˘ c ) T Γ obs - 1 ( f ˘ c ) ,

is the Hessian of the misfit cost function Jmisc under the condition that f˘ is linear. It is quite often used as an approximation to the Hessian for the purpose of covariance estimates even when f˘ is nonlinear (Kaminski et al.2015; Loose et al.2020) and is referred to as the Gauss–Newton approximation to the Hessian (GNaH). The GNaH has the advantage of avoiding the complexity of finding second-order derivatives. It also has the property that the misfit Hessian (or rather, its approximation) is positive semidefinite – this is not necessarily true of the “full” Hessian even when the cost function Jc is minimized, meaning the eigendecomposition described in Sect. 2.4 can have negative eigenvalues.

In the context of our idealized experiments we calculate the GNaH (or rather, its action on a vector) to compare against the full Hessian. The tlm_adjoint library's functionality is employed as follows. For a given finite-element coefficient vector ξ, the GNaH action can be written as

(43) ( f ˘ c ) T Γ obs - 1 ( f ˘ c ) ξ = ( f ˘ c ) T η ˘ ,

where η˘ is obtained through the action of the tangent linear model (f˘/c) on ξ and the action of the inverse observational covariance on the result. The GNaH action is then obtained through the action of the adjoint of the Jacobian of the parameter-to-observable map, (f˘/c)T.

In Fig. 9 we examine the effects of using the GNaH rather than the Hessian in our Hessian-based UQ framework. This is done for just a single experiment with 1.33 km elements, 2 km observational spacing, and regularization with γ=10. Examining the uncertainty reduction (Fig. 9a), the first  80 eigenvalues are nearly identical, but after this the uncertainty reduction approaches 1 much faster (or, equivalently, the eigenvalues decay much faster) with the GNaH. In terms of posterior QoI uncertainty (Fig. 9b), σ(QTIS) is slightly smaller with the GNaH, but the difference is very small and only visible at later times.

https://gmd.copernicus.org/articles/14/5843/2021/gmd-14-5843-2021-f09

Figure 9(a) Uncertainty reduction factor 1/(1+λk) versus eigenvalue index k for γ=10 and observational spacing of 2 km, found with the full Hessian and Gauss–Newton approximation. (b) Hessian-based posterior uncertainties of QTIS over time based on the full Hessian and Gauss–Newton approximations.

Download

7 Discussion and conclusions

The inversion of surface velocities for basal conditions is ubiquitous in ice sheet modeling – but in most studies in which this is done, the uncertainty of the resulting parameter fields is not considered, and the implications of this parametric uncertainty for projection uncertainty are not quantified. We introduce fenics_ice, a numerical Python code which solves the shallow shelf approximation (SSA) for ice sheet dynamics. The code uses the FEniCS library to facilitate a finite-element solution of partial differential equations. Algorithmic differentiation is implemented with the tlm_adjoint library, allowing for adjoint generation of the time-dependent and time-independent versions of the SSA. This feature is used to aid inversions of surface velocity for parameter fields such as the basal sliding parameter. In addition, the tlm_adjoint library allows efficient second-order differentiation of the inversion cost function, allowing a low-rank approximation to the cost function Hessian. We utilize this ability to exploit the connection between the control method inversions typically carried out with ice sheet models and a Bayesian characterization of the uncertainty of the inverted parameter field. This interpretation allows us to form a local approximation to the posterior probability density at the maximum a posteriori (MAP) point. With a time-dependent quantity of interest (QoI) which depends on the outcome of the inversion, the adjoint features of fenics_ice allow linear propagation of parametric uncertainty to QoI uncertainty.

We apply our framework to a simple idealized test case, Experiment C of the ISMIP-HOM intercomparison protocol, involving an ice stream sliding across a doubly periodic domain with a varying basal friction parameter. An idealized time-varying QoI is defined, equivalent to the fourth moment of thickness in the domain, as thickness evolves due to mass continuity. The posterior probability density is examined, suggesting mesh independence (provided resolution is high enough). It is shown that the level of uncertainty reduction relative to the prior distribution depends on the amount of information in the prior (or, equivalently, the degree of regularization). Uncertainty of the QoI is found along its trajectory and is found to increase with time and also found to be larger with less-constrained priors. However, the difference in the uncertainty of the QoI is far less than that of the parametric uncertainty due to insensitivity of the QoI to high-frequency modes.

Sampling from our posterior allows us to test the linearity of the parameter-to-QoI mapping, and this approximation is seen to be accurate with a moderately strong prior. However, even with the relatively modest problem sizes considered, testing the validity of our local Gaussian approximation of the posterior probability density would require sophisticated sampling methods which are beyond the scope of our study. It is worth noting, though, that one such method, stochastic Newton MCMC (Martin et al.2012; Petra et al.2014), relies on the framework developed in this study (i.e., characterizing the local behavior of the posterior density through a Hessian-based approximation). Therefore, it may be a viable approach for non-Gaussian uncertainty quantification in future iterations.

The sensitivity of QoIs to small-scale variability is significant because not all glaciologically motivated QoIs are expected to have such sensitivities. For instance, the QoI considered by Isaac et al. (2015) was a contour integral of volume flux over the boundary of the domain, equivalent to a rate of change in ice volume – and such a quantity might be less sensitive to velocity gradients and small-scale thickness change in the domain interior. On the other hand, a forecast focused on the impact of evolving surface elevation on proliferation of surface lakes or on surface fractures might be very sensitive to such variability. Therefore, when considering parametric uncertainty, it should also be considered whether the nature of this uncertainty impacts the uncertainty of the intended quantity of interest.

A key difference between our approach and the control method inversions typically undertaken is the Euclidean inner product that appears in the misfit component of the cost function as opposed to an area integral of velocity misfit. As discussed in Sect. 2.3, the latter formulation leads to difficulties with a Bayesian interpretation by conflating the observational error covariance with mesh-dependent factors. In our study observation locations are imposed on a regular grid. It is shown that, with statistically independent observations, posterior uncertainty is continually reduced as the observational grid becomes more dense. When a spatial correlation of observations is considered, however, there is little reduction of uncertainty when adding observations beyond a certain spatial density. This result is of significance to ice sheet modeling: most ice sheet model studies which calibrate parameters to velocity observations (including those mentioned in the Introduction) do not consider the spatial correlation of observations. As discussed in Sect. 2.3, these studies express the model–data misfit as an area integral – meaning that, effectively, observations in adjacent model grid cells are considered independent. If grid cells are sufficiently large, this is likely a suitable approximation – though with higher and higher resolutions being used in ice sheet modeling studies (Cornford et al.2013), it should be considered whether the spatial covariance of observations is such that it might affect results. Assessing such effects poses an additional challenge, however, as ice sheet velocity products are not generally released with spatial error covariance information (Rignot et al.2017).

Our study does not consider “joint” inversions, i.e., inversions with two or more parameter fields. With such inversions, complications can arise when both parameters affect the same observable, potentially leading to equifinality and/or ill-posedness. An example of such a pair is C, the sliding coefficient, and B, the ice stiffness in the nonlinear Glen's rheology (see Eq. 24), which can both strongly affect ice speeds in a range of settings. The version of fenics_ice presented in this study is not capable of joint inversions or of Hessian vector products with multiple parameter fields; however, the technical hurdles to implementation are minor. More importantly, though, Hessian-based Bayesian uncertainty quantification with multiple parameter fields has not, to our knowledge, been carried out in an ice sheet modeling context and may present difficulties due to a larger problem space or the equifinality issues mentioned above. (Instead of performing a joint inversion, Babaniyi et al.2021, use a Bayesian approximation error framework, treating the stiffness parameter as a random variable.) Nonetheless, the investigation of joint inversions and uncertainty quantification is a future research aim for fenics_ice.

Model uncertainty is not accounted for in our characterization of parametric uncertainty. In the expression for the posterior probability density (Eq. 4), the model misfit term is expressed as the difference between observed and modeled velocity, and the uncertainty is assumed to arise from the observation platform. In fact, the discrepancy between modeled and observed velocity is the sum of observation error, ϵobs, and model error, ϵmodel. This second error source can be considered a random variable, as it arises from incomplete knowledge about the ice sheet basal environment and material properties of the ice, as well as the approximations inherent in the shallow shelf approximation. Characterizing this uncertainty is challenging as it requires both perfect knowledge of the basal sliding parameter and observations with negligible error, and it is beyond the scope of our study. Future research, however, could involve using a model which implements the full Stokes solution (e.g., Gagliardini et al.2010) to partially characterize this uncertainty or could make use of a multi-fidelity approach (Khodabakhshi et al.2021).

A number of Hessian-based uncertainty quantification studies use the Gauss–Newton approximation to the Hessian (see Sect. 6), avoiding computation of higher-order derivatives of the model, but few studies have investigated the impact of neglecting these higher-order terms. For our idealized experiment we have compared uncertainty reduction and QoI uncertainty with both Gauss–Newton and full Hessian computation. There is negligible difference in terms of QoI uncertainty, but it remains to be seen if this is the case for more realistic experiments.

Our study does not consider time-dependent inversions, i.e., control methods wherein the cost function is time-dependent. While the majority of cost function inversions are time-independent, there are a growing number of studies carried out with time-dependent inversions (Larour et al.2014; Goldberg et al.2015), and it is possible that such methods may provide lower uncertainty in calibration of hidden parameters (simply by providing additional constraints) and hence in ice sheet projections. The fenics_ice (or rather tlm_adjoint) code is capable of eigendecomposition of Hessian matrices of time-dependent cost functions (Maddison et al.2019), but time-dependent Hessian vector products are computationally expensive, requiring checkpointing and recomputation of both forward- and reverse-mode model information, and it is unlikely that full eigenvalue spectra can be found for even modestly sized problems. It is hopeful that for realistic problems of interest only a small fraction of eigenvalues will need to be found to accurately approximate the posterior covariance. Alternatively, the Gauss–Newton approximate Hessian might diminish some of the cost. Certainly more work is required in this area.

Code availability

The fenics_ice code can be obtained from https://doi.org/10.5281/zenodo.5153231 (Todd et al.2021) and is freely available under the LGPL-3.0 license. The branch containing the version of the code used for this paper is GMD_branch. Python scripts for running all experiments and creating all figures in this paper can be found in the example_cases directory, and installation instructions for fenics_ice and dependencies can be found in the user_guide folder. The commit tag of tlm_adjoint used for the experiments in this paper is 79c54c00a3b4b69e19db633896f2b873dd82de4b.

Author contributions

CK and JT developed the fenics_ice software with considerable support from JRM. DNG and JRM developed the mathematical framework implemented in fenics_ice. DG wrote the paper and ran and analyzed the experiments.

Competing interests

The authors declare that they have no conflict of interest.

Disclaimer

Publisher's note: Copernicus Publications remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Acknowledgements

The authors acknowledge NERC standard grants NE/M003590/1 and NE/T001607/1 (QUoRUM).

Financial support

This research has been supported by the Natural Environment Research Council (grant nos. NE/M003590/1 and NE/T001607/1).

Review statement

This paper was edited by Alexander Robel and reviewed by two anonymous referees.

References

Alexanderian, A., Petra, N., Stadler, G., and Ghattas, O.: A-Optimal Design of Experiments for Infinite-Dimensional Bayesian Linear Inverse Problems with Regularized _0-Sparsification, SIAM J. Sci. Comp., 36, A2122–A2148, https://doi.org/10.1137/130933381, 2014. a

Alnæs, M., Blechta, J., Hake, J., Johansson, A., Kehlet, B., Logg, A., Richardson, C., Ring, J., Rognes, M. E., and Wells, G. N.: The FEniCS Project Version 1.5, Archive of Numerical Software, 3, 9–23, 2015. a

Alnæs, M. S., Logg, A., Ølgaard, K. B., Rognes, M. E., and Wells, G. N.: Unified Form Language: A Domain-Specific Language for Weak Formulations of Partial Differential Equations, ACM T. Math. Softw., 40, 1–37, https://doi.org/10.1145/2566630, 2014. a

Arthern, R. J., Hindmarsh, R. C. A., and Williams, C. R.: Flow speed within the Antarctic ice sheet and its controls inferred from satellite observations, J. Geophys. Res.-Earth, 120, 1171–1188, https://doi.org/10.1002/2014JF003239, 2015. a

Babaniyi, O., Nicholson, R., Villa, U., and Petra, N.: Inferring the basal sliding coefficient field for the Stokes ice sheet model under rheological uncertainty, The Cryosphere, 15, 1731–1750, https://doi.org/10.5194/tc-15-1731-2021, 2021. a

Bui-Thanh, T., Ghattas, O., Martin, J., and Stadler, G.: A computational framework for infinite-dimensional Bayesian inverse problems. Part I: The linearized case, with application to global seismic inversion, arXiv e-prints, arXiv:1308.1313 2013. a, b, c, d

Chen, P.: Hessian Matrix vs. Gauss-Newton Hessian Matrix, SIAM J. Numer. Anal., 49, 1417–1435, https://doi.org/10.1137/100799988, 2011. a

Cornford, S. L., Martin, D. F., Graves, D. T., Ranken, D. F., Le Brocq, A. M., Gladstone, R. M., Payne, A. J., Ng, E. G., and Lipscomb, W. H.: Adaptive Mesh, Finite Volume Modeling of Marine Ice Sheets, J. Comput. Phys., 232, 529–549, https://doi.org/10.1016/j.jcp.2012.08.037, 2013. a

Cornford, S. L., Martin, D. F., Payne, A. J., Ng, E. G., Le Brocq, A. M., Gladstone, R. M., Edwards, T. L., Shannon, S. R., Agosta, C., van den Broeke, M. R., Hellmer, H. H., Krinner, G., Ligtenberg, S. R. M., Timmermann, R., and Vaughan, D. G.: Century-scale simulations of the response of the West Antarctic Ice Sheet to a warming climate, The Cryosphere, 9, 1579–1600, https://doi.org/10.5194/tc-9-1579-2015, 2015. a, b, c, d

Cornford, S. L., Seroussi, H., Asay-Davis, X. S., Gudmundsson, G. H., Arthern, R., Borstad, C., Christmann, J., Dias dos Santos, T., Feldmann, J., Goldberg, D., Hoffman, M. J., Humbert, A., Kleiner, T., Leguy, G., Lipscomb, W. H., Merino, N., Durand, G., Morlighem, M., Pollard, D., Rückamp, M., Williams, C. R., and Yu, H.: Results of the third Marine Ice Sheet Model Intercomparison Project (MISMIP+), The Cryosphere, 14, 2283–2301, https://doi.org/10.5194/tc-14-2283-2020, 2020. a

Cuffey, K. and Paterson, W. S. B.: The Physics of Glaciers, Butterworth Heinemann, Oxford, 4th Edn., 2010. a

Deconto, R. M. and Pollard, D.: Contribution of Antarctica to past and future sea-level rise, Nature, 531, 591–597, https://doi.org/10.1038/nature17145, 2016. a

Dukowicz, J. K., Price, S. F., and Lipscomp, W. H.: Consistent approximations and boundary conditions for ice-sheet dynamics from a principle of least action, J. Glaciol., 56, 480–496, 2010. a

Fürst, J. J., Durand, G., Gillet-Chaulet, F., Merino, N., Tavard, L., Mouginot, J., Gourmelen, N., and Gagliardini, O.: Assimilation of Antarctic velocity observations provides evidence for uncharted pinning points, The Cryosphere, 9, 1427–1443, https://doi.org/10.5194/tc-9-1427-2015, 2015. a

Gagliardini, O., Durand, G., Zwinger, T., Hindmarsh, R. C. A., and Meur, E. L.: Coupling of ice shelf melting and buttressing is a key process in ice sheet dynamics, Geophys. Res. Lett., 37, L14501, https://doi.org/10.1029/2010GL043334, 2010. a, b

Gillet-Chaulet, F., Gagliardini, O., Seddik, H., Nodet, M., Durand, G., Ritz, C., Zwinger, T., Greve, R., and Vaughan, D. G.: Greenland ice sheet contribution to sea-level rise from a new-generation ice-sheet model, The Cryosphere, 6, 1561–1576, https://doi.org/10.5194/tc-6-1561-2012, 2012. a

Gladstone, R. M., Lee, V., Rougier, J., Payne, A. J., Hellmer, H., Le Brocq, A., Shepherd, A., Edwards, T. L., Gregory, J., and Cornford, S. L.: Calibrated prediction of Pine Island Glacier retreat during the 21st and 22nd centuries with a coupled flowline model, Earth Planet. Sc. Lett., 333, 191–199, https://doi.org/10.1016/j.epsl.2012.04.022, 2012. a

Glen, J. W.: The creep of polycrystalline ice, P. Roy. Soc. Lond. A Mat., 228, 519–538, 1955. a

Goldberg, D. N., Heimbach, P., Joughin, I., and Smith, B.: Committed retreat of Smith, Pope, and Kohler Glaciers over the next 30 years inferred by transient model calibration, The Cryosphere, 9, 2429–2446, https://doi.org/10.5194/tc-9-2429-2015, 2015. a, b

Habermann, M., Truffer, M., and Maxwell, D.: Changing basal conditions during the speed-up of Jakobshavn Isbræ, Greenland, The Cryosphere, 7, 1679–1692, https://doi.org/10.5194/tc-7-1679-2013, 2013. a

Hernandez, V., Roman, J. E., and Vidal, V.: SLEPc: A scalable and flexible toolkit for the solution of eigenvalue problems, ACM T. Math. Softw., 31, 351–362, 2005. a

Higham, N. J.: Functions of Matrices: Theory and Computation, Society for Industrial and Applied Mathematics, Philadelphia, PA, USA, 2008. a

Hindmarsh, R. C. A. and Payne, A. J.: Time-step limits for stable solutions of the ice-sheet equation, Ann. Glaciol., 23, 74–85, https://doi.org/10.1017/S0260305500013288, 1996. a

Isaac, T., Petra, N., Stadler, G., and Ghattas, O.: Scalable and efficient algorithms for the propagation of uncertainty from data through inference to prediction for large-scale problems, with application to flow of the Antarctic ice sheet, J. Comput. Phys., 296, 348–368, https://doi.org/10.1016/j.jcp.2015.04.047, 2015. a, b, c, d, e, f, g, h, i, j, k, l, m, n

Joughin, I., Smith, B., and Holland, D. M.: Sensitivity of 21st Century Sea Level to Ocean-Induced Thinning of Pine Island Glacier, Antarctica, Geophys. Res. Lett., 37, L20502, https://doi.org/10.1029/2010GL044819, 2010. a, b

Kalmikov, A. G. and Heimbach, P.: A Hessian-Based Method for Uncertainty Quantification in Global Ocean State Estimation, SIAM J. Sci. Comp., 36, S267–S295, https://doi.org/10.1137/130925311, 2014. a, b, c, d

Kaminski, T., Kauker, F., Eicken, H., and Karcher, M.: Exploring the utility of quantitative network design in evaluating Arctic sea ice thickness sampling strategies, The Cryosphere, 9, 1721–1733, https://doi.org/10.5194/tc-9-1721-2015, 2015. a, b

Keuthen, M. and Ulbrich, M.: Moreau–Yosida regularization in shape optimization with geometric constraints, Comput. Optim. Appl., 62, 181–216, 2015. a

Khodabakhshi, P., Willcox, K. E., and Gunzburger, M.: A multifidelity method for a nonlocal diffusion model, Appl. Math. Lett., 121, 107361, https://doi.org/10.1016/j.aml.2021.107361, 2021. a

Larour, E., Rignot, E., Joughin, I., and Aubry, D.: Rheology of the Ronne Ice Shelf, Antarctica, inferred from satellite radar interferometry data using an inverse control method, Geophys. Res. Lett., 32, L05503, https://doi.org/10.1029/2004GL021693, 2005. a

Larour, E., Utke, J., Csatho, B., Schenk, A., Seroussi, H., Morlighem, M., Rignot, E., Schlegel, N., and Khazendar, A.: Inferred basal friction and surface mass balance of the Northeast Greenland Ice Stream using data assimilation of ICESat (Ice Cloud and land Elevation Satellite) surface altimetry and ISSM (Ice Sheet System Model), The Cryosphere, 8, 2335–2351, https://doi.org/10.5194/tc-8-2335-2014, 2014. a

Logg, A., Mardal, K.-A., and Wells, G.: Automated Solution of Differential Equations by the Finite Element Method: The FEniCS Book, Springer Publishing Company, Incorporated, 2012. a

Loose, N., Heimbach, P., Pillar, H., and Nisancioglu, K.: Quantifying Dynamical Proxy Potential through Oceanic Teleconnections in the North Atlantic, Earth and Space Science Open Archive, Earth and Space Science Open Archive, https://doi.org/10.1002/essoar.10502065.1, 2020. a

MacAyeal, D. R.: Large-scale ice flow over a viscous basal sediment: Theory and application to Ice Stream B, Antarctica, J. Geophys. Res.-Sol. Ea., 94, 4071–4087, 1989. a

MacAyeal, D. R.: The basal stress distribution of Ice Stream E, Antarctica, inferred by control methods, J. Geophys. Res., 97, 595–603, 1992. a

Maddison, J. R., Goldberg, D. N., and Goddard, B. D.: Automated Calculation of Higher Order Partial Differential Equation Constrained Derivative Information, SIAM J. Sci. Comp., 41, C417–C445, https://doi.org/10.1137/18M1209465, 2019. a, b, c

Martin, J., Wilcox, L. C., Burstedde, C., and Ghattas, O.: A Stochastic Newton MCMC Method for Large-Scale Statistical Inverse Problems with Application to Seismic Inversion, SIAM J. Sci. Comp., 34, A1460–A1487, https://doi.org/10.1137/110845598, 2012. a, b

Morales, J. L. and Nocedal, J.: Remark on “Algorithm 778: L-BFGS-B: Fortran Subroutines for Large-Scale Bound Constrained Optimization”, ACM T. Math. Softw., 38, 1–4, https://doi.org/10.1145/2049662.2049669, 2011. a

Morlighem, M., Rignot, E., Seroussi, G., Larour, E., Ben Dhia, H., and Aubry, D.: Spatial patterns of basal drag inferred using control methods from a full-Stokes and simpler models for Pine Island Glacier, West Antarctica, Geophys. Res. Lett., 37, L14502, https://doi.org/10.1029/2010GL043853, 2010. a, b, c

Nias, I. J., Cornford, S. L., and Paybe, A. J.: Contrasting the modelled sensitivity of the Amundsen Sea Embayment ice streams, J. Glaciol., 62, 552–562, https://doi.org/10.1017/jog.2016.40, 2016. a

Pattyn, F., Perichon, L., Aschwanden, A., Breuer, B., de Smedt, B., Gagliardini, O., Gudmundsson, G. H., Hindmarsh, R. C. A., Hubbard, A., Johnson, J. V., Kleiner, T., Konovalov, Y., Martin, C., Payne, A. J., Pollard, D., Price, S., Rückamp, M., Saito, F., Souček, O., Sugiyama, S., and Zwinger, T.: Benchmark experiments for higher-order and full-Stokes ice sheet models (ISMIP–HOM), The Cryosphere, 2, 95–108, https://doi.org/10.5194/tc-2-95-2008, 2008. a, b

Petra, N., Martin, J., Stadler, G., and Ghattas, O.: A Computational Framework for Infinite-Dimensional Bayesian Inverse Problems, Part II: Stochastic Newton MCMC with Application to Ice Sheet Flow Inverse Problems, SIAM J. Sci. Comp., 36, A1525–A1555, https://doi.org/10.1137/130934805, 2014. a, b, c

Raymond, M. J. and Gudmundsson, G. H.: Estimating basal properties of ice streams from surface measurements: a non-linear Bayesian inverse approach applied to synthetic data, The Cryosphere, 3, 265–278, https://doi.org/10.5194/tc-3-265-2009, 2009. a

Rignot, E., Mouginot, J., and Scheuchl, B.: MEaSUREs InSAR-Based Antarctica Ice Velocity Map, Version 2, Boulder, Colorado USA, NASA National Snow and Ice Data Center Distributed Active Archive Center [data set], https://doi.org/10.5067/D7GK8F5J8M8R, 2017. a

Ritz, C., Edwards, T. L., Durand, G., Payne, A. J., Peyaud, V., and Hindmarsh, R. C. A.: Potential sea-level rise from Antarctic ice-sheet instability constrained by observations, Nature, 528, 115–118, https://doi.org/10.1038/nature16147, 2015. a

Robel, A. A., Seroussi, H., and Roe, G. H.: Marine ice sheet instability amplifies and skews uncertainty in projections of future sea-level rise, P. Natl. Acad. Sci. USA, 116, 14887–14892, https://doi.org/10.1073/pnas.1904822116, 2019. a

Rommelaere, V.: Large-scale rheology of the Ross Ice Shelf, Antarctica, computed by a control method, J. Glaciol., 24, 694–712, 1997. a

Schoof, C.: A variational approach to ice stream flow, J. Fluid Mech., 556, 227–251, 2006. a

Sergienko, O. V., MacAyeal, D. R., and Thom, J. E.: Reconstruction of snow/firn thermal diffusivities from observed temperature variation: Application to iceberg C16, Ross Sea, Antarctica, 2004-07, Ann. Glaciol., 49, 91–95, 2008. a

Shapero, D. R., Badgeley, J. A., Hoffman, A. O., and Joughin, I. R.: icepack: a new glacier flow modeling package in Python, version 1.0, Geosci. Model Dev., 14, 4593–4616, https://doi.org/10.5194/gmd-14-4593-2021, 2021. a

Thacker, W. C.: The role of the Hessian matrix in fitting models to measurements, J. Geophys. Res., 94, 6177–6196, https://doi.org/10.1029/JC094iC05p06177, 1989. a

Tierney, L.: Markov Chains for Exploring Posterior Distributions, Ann. Stat., 22, 1701–1728, https://doi.org/10.1214/aos/1176325750, 1994. a

Todd, J. A., Koziol, C. P., Goldberg, D. N., and Maddison, J. R.: EdiGlacUQ/fenics_ice: fenics_ice (v1.0.1), Zenodo [code], https://doi.org/10.5281/zenodo.5153231, 2021. a

Vieli, A. and Payne, A. J.: Application of control methods for modelling the flow of Pine Island Glacier, West Antarctica, Ann. Glaciol., 36, 197–204, 2003.  a

Villa, U., Petra, N., and Ghattas, O.: hIPPYlib: an Extensible Software Framework for Large-scale Deterministic and Bayesian Inverse Problems, J. Open Source Softw., 3, p. 940, https://doi.org/10.21105/joss.00940, 2018. a

Waddington, E., Neumann, T., Koutnik, M., Marshall, H., and Morse, D.: Inference of accumulation-rate patterns from deep layers in glaciers and ice sheets, J. Glaciol., 53, 694–712, 2007. a

Zhu, C., Byrd, R. H., Lu, P., and Nocedal, J.: Algorithm 778: L-BFGS-B: Fortran Subroutines for Large-Scale Bound-Constrained Optimization, ACM T. Math. Softw., 23, 550–560, https://doi.org/10.1145/279232.279236, 1997. a

Download
Short summary
Sea level change due to the loss of ice sheets presents great risk for coastal communities. Models are used to forecast ice loss, but their evolution depends strongly on properties which are hidden from observation and must be inferred from satellite observations. Common methods for doing so do not allow for quantification of the uncertainty inherent or how it will affect forecasts. We provide a framework for quantifying how this initialization uncertainty affects ice loss forecasts.