Preprint
Article

This version is not peer-reviewed.

Extended Kalman Filters, Least Squares Methods and Linear Successive Estimators for Inverse Problems in Geophysical Applications

Submitted:

30 July 2026

Posted:

31 July 2026

You are already at the latest version

Abstract
We formulate the problem of estimating hydraulic conductivity from measured hydraulic-head data in groundwater flow within the unified framework of parameter estimation using the extended Kalman filter (EKF) and least-squares optimization. We first formulate the EKF and its variants as problems of least-squares optimization. We then show that the successive linear estimator can be interpreted as a variant of the EKF, with its initial estimate obtained through Co-Kriging. Furthermore, by showing that the EKF is equivalent to a one-step Newton iteration for solving a least-squares problem, we reformulate the hydraulic-conductivity estimation problem as an associated least-squares optimization problem. Finally, we present an algorithm for estimating hydraulic conductivity from unsaturated soil data.
Keywords: 
;  ;  ;  ;  ;  

1. Introduction

Reliable characterization of hydraulic conductivity is a central task in groundwater hydrology and subsurface flow modeling. Hydraulic conductivity controls the spatial distribution of hydraulic head, Darcy flux, solute transport pathways, and travel times, but it is rarely observed directly at the spatial resolution required by predictive groundwater models. Field measurements of conductivity are typically sparse, indirect, and scale-dependent, whereas hydraulic-head observations are more readily available. However, the hydraulic head value depends on conductivity through a nonlinear forward model, known as the richards equation. As a result, the reconstruction of hydraulic conductivity from hydraulic-head data is a classical inverse problem in hydrogeology, combining partial differential equation models, spatial statistics, optimization, and uncertainty quantification [1,2,3,4,5,6,7]. In saturated soil, the hydraulic head is commonly modeled by the steady groundwater flow equation, i.e. the saturated form of Richards’ equation in steady states, in which the hydraulic conductivity field enters as a spatially heterogeneous coefficient. Since conductivity is positive and often varies over several orders of magnitude, it is standard to estimate the logarithmic conductivity, or logarithmic transmissivity, as a random field. In unsaturated soil however, the inverse problem is more complex because the hydraulic conductivity depends on the water content or pressure head through constitutive relationships. The Richards equation couples pressure head, water content, and hydraulic conductivity in a nonlinear and often strongly degenerate manner in this case [8,9,10,11]. These features make the identification of hydraulic conductivity in both saturated and unsaturated soils ill-posed, sensitive to measurement error, and dependent on appropriate prior information. A class of approaches for hydrogeological inverse problems uses geostatistical priors to describe spatial variability and to regularize the estimation problem. Kriging and co-kriging provide best linear unbiased estimators based on covariance and cross-covariance information, allowing direct conductivity measurements and auxiliary hydraulic-head observations to be incorporated in a unified spatial estimator [6,12,13,14,15,16,17,18]. In this setting, the prior mean and covariance of the logarithmic conductivity field encode both geological structure and measurement information. Such priors are particularly useful in inverse problems because they reduce nonuniqueness and provide a statistically meaningful initial estimate for iterative reconstruction methods. Among iterative stochastic inverse methods, the successive linear estimator (SLE) introduced by [19] has been influential for estimating conditional effective transmissivity and hydraulic-head fields [20,21,22,23,24,25,26,27]. The essential idea is to begin with a geostatistical estimate of the log-conductivity field and then update it successively using discrepancies between measured and simulated hydraulic heads. At each iteration, the nonlinear map from conductivity to hydraulic head is linearized, and the update is computed from covariance and cross-covariance relationships between parameter perturbations and head perturbations. The resulting formula has the structure of a gain-times-innovation correction: the current estimate is adjusted by a linear combination of hydraulic-head residuals. This structure suggests a close connection between SLE and recursive filtering methods. Kalman filtering provides a natural mathematical framework for such recursive estimation. For linear dynamical systems with quadratic loss functions, the Kalman filter gives the optimal linear unbiased update and can be derived equivalently from minimum-variance estimation, Bayesian Gaussian conditioning, or recursive least-squares optimization [28,29,30,31,32]. For nonlinear systems, the extended Kalman filter (EKF) applies the same prediction-correction mechanism after local linearization of the nonlinear state and observation maps [33,34]. In static parameter-estimation problems, the parameter can be treated as a state with identity dynamics, and the observation operator is the nonlinear forward map from parameters to measured quantities. This viewpoint has been widely used in subsurface data assimilation and groundwater model calibration, including ensemble and sequential extensions for joint state-parameter estimation [35,36,37,38]. The purpose of this paper is to establish the connection between SLE and EKF explicitly in the setting of hydraulic-conductivity estimation. We formulate the successive linear estimation of the hydraulic conductivity from measured hydraulic-head data as a parameter-estimation problem within the framework of extended Kalman filtering and least-squares optimization. First, we review the Kalman filter and the EKF from the perspective of weighted least-squares minimization. In particular, the Kalman correction can be interpreted as a one-step Newton update applied to a quadratic least-squares objective, while the EKF corresponds to applying this same update after linearizing the nonlinear observation operator. This least-squares viewpoint clarifies the roles of the prior covariance, observation covariance, sensitivity matrix, and innovation term. We then show that, for saturated soil, the SLE update is precisely an EKF-type correction for a static parameter-estimation problem in which the state variable is the logarithmic conductivity field and the observation operator is the groundwater flow solver mapping log-conductivity to hydraulic head. The co-kriging estimate supplies the initial prior state and covariance, sensitivity of the hydraulic head with respect to log-conductivity supplies the EKF Jacobian, and the SLE weights correspond to the Kalman gain. Thus, SLE can be interpreted not only as a geostatistical iterative estimator, but also as a particular implementation of the extended Kalman filter with a geostatistical initialization and a linearized least-squares update. Finally, we extend the same formulation to unsaturated soil to provide a framework for estimating hydraulic conductivity using spatial-temporal data. In this case, the observation operator is defined by the transient Richards equation that depends on the nonlinear relationship among pressure head, water content, and hydraulic conductivity. By parameterizing the unknown conductivity function or its logarithm and applying the EKF to the resulting static or pseudo-dynamic parameter-estimation problem, one obtains an SLE-type update for unsaturated flow. This formulation places saturated and unsaturated conductivity estimation in a common recursive least-squares framework and provides a basis for incorporating measurement noise, regularization, covariance modeling, and nonlinear sensitivity information in a systematic way. The remainder of the paper is organized as follows. § 2 reviews the Kalman filter, its least-squares interpretation, and the EKF for nonlinear systems. § 3 outlines the SLE formulation for saturated soil, beginning with kriging and co-kriging priors and then showing the equivalence between SLE and an EKF update. § 4 extends the formulation to unsaturated soil governed by the time-dependent Richards’ equation. § 5 summarizes the main conclusions and discusses implications for stochastic inverse modeling in groundwater applications.

2. Kalman Filters and Least Squares Methods

We review the standard Kalman filter for a discrete linear system identification problem nd its extension to a nonlinear system in the context of weighted least squares methods.

2.1. Kalman Filters for Discrete Linear Systems

The Kalman filter is an optimal linear state estimation algorithm in the context of unbiased estimators. It fuses a prediction model with observation data to estimate the true state of a dynamic system in the presence of noise and uncertainty [28]. We use the following discrete, linear time invariant (LTI) system, as an example.
state equation : x k = A x k 1 + B u k + w k , observational equation : z k = H x k + v k , k = 1 , ,
where x k R n × 1 denotes the state vector of the dynamic system at time step k, which is the true n-dimensional state to be estimated. A R n × n serves as the state transition matrix, illustrating how the state evolves from time step k 1 to k in the absence of control inputs, u k , and process noise, w k . B R n × m is the control input matrix, mapping the m-dimensional control input, u k R m × 1 , to its impact on the state transition in x k 1 x k in R n . z k R p × 1 represents the observation (measurement) vector at time step k, acquired from sensors or other measurement devices, where p is the number of observations. H R p × n is the observation matrix, establishing the relationship between the n-dimensional system state x k and the p-dimensional observation z k . u k R m × 1 is the known control input, w k R n × 1 N ( 0 , Q k ) is the process noise with a zero mean and covariance Q k = E [ w k w k T ] R n × n , and v k R p × 1 N ( 0 , R k ) is the measurement noise with a zero mean and covariance R k = E [ v k v k T ] R p × p . Assume that w k and v k are independent Gaussian white noises and uncorrelated with each other. We note that n , m are independent positive integers. However, n , m and p are not completely independent. If p + m < n , i.e., the number of control variables and the measurements is smaller than the dimension of the state vector to be estimated, there could be some problems in identifying the state properly. In fact, the state estimation problem of system (1) may not have a solution or unique solution of x k , given x k 1 , u k , z k , w k , v k . We also need to supply an initial state
x 0 = x 0 + v 0 ,
where x 0 is a given initial value and v 0 the noise. Let x ^ k denote the a priori state estimate at time k, i.e., the prediction before incorporating the observation z k , which we will be specified later. Given x ^ , the posterior estimate at time k is
x ^ k = x ^ k + K k ( z k H x ^ k ) ,
where K k is the Kalman gain given below. The objective is to find the Kalman gain matrix, K k , such that the estimate x ^ k approaches the true state x k as an unbiased estimator, i.e., E [ x k ] = E [ x ^ k ] . Define the estimation error as
e k = x k x ^ k = x k x ^ k K k ( H x k + v k H x ^ k ) = ( I K k H ) ( x k x ^ k ) K k v k = ( I K k H ) e k K k v k ,
where e k = x k x ^ k . Then, E [ e k ] = 0 and
E [ e k e k T ] = E [ ( ( I K k H ) e k K k v k ) ( ( I K k H ) e k K k v k ) T ] = ( I K k H ) E [ e k e k T ] ( I K k H ) T + K k E [ v k v k T ] K k T = ( I K k H ) P k ( I K k H ) T + K k R k K k T ,
where
P k = E [ e k e k T ] , e k = x k x ^ k .
The objective is to minimize the trace of the expected error covariance matrix:
min K k tr ( E [ e k e k T ] ) ,
which leads to the optimal gain K k .
K k t r ( E [ e k e k T ] ) = 2 ( K k H P k H T + K k R k ) 2 P k T H T = 0 .
This implies
K k = P k H T ( H P k H T + R k ) 1 .
This is the Kalman gain. At this value,
E [ e k e k T ] = ( I K k H ) P k ( I K k H ) T + K k R k K k T = ( I K k H ) P k ,
P k is the a priori estimation error covariance matrix. Here, we define
P k = E [ e k e k T ] = ( I K k H ) P k .
We want to have the guess close to the state. So, we use
x ^ k = A x ^ k 1 + B u k .
e k = x k x ^ k = A e k 1 + w k .
With this choice, we have a formula for P k
P k = A P k 1 A T + Q k .
The Kalman filter can be written into a prediction-correction scheme as follows.
Algorithm 2.1
(Kalman Filter). Given an initial estimate, x ^ 0 , and initial error covariance, P 0 , the Kalman filter proceeds as follows for each time step k = 1 , 2 ,
1. Prediction
Given the posterior estimate x ^ k 1 and covariance P k 1 , the prediction step computes:
A priori state estimate : x ^ k = A x ^ k 1 + B u k ,
A priori error covariance : P k = A P k 1 A T + Q k .
2. Correction (Update)
Kalman gain : K k = P k H T H P k H T + R k 1 ,
Measurement residual : y k = z k H x ^ k ,
A posteriori state estimate : x ^ k = x ^ k + K k y k ,
A posteriori error covariance : P k = ( I K k H ) P k .
Lemma 1.
Given f ( x ) = f 1 ( x ) + f 2 ( x ) , where f 1 and f 2 are quadratic functions,
x m = arg min x f ( x ) = x * ( 2 f ( x * ) ) 1 f ( x * ) ,
for any x * . If we choose x * such that f 1 ( x * ) = 0 ,
x m = arg min x f ( x ) = x * ( 2 f ( x * ) ) 1 f 2 ( x * ) .
This means that one can optimize f 1 ( x ) firstly. The overall optimization can be obtained using the above one-step Newton’s formula. In general,
F m ( x ) = i = 1 m f i ( x ) ,
where f i ( x ) are quadratic functions. The optimizer of F m ( x ) can be obtained sequentially from the optimizer of F m 1 ( x ) , x m 1 , via
x m = x m 1 [ 2 F m ( x m 1 ) ] 1 f m ( x m 1 ) .
With this lemma, we reformulate the Kalman filter problem into a least square minimization problem that can be carried out sequentially. We denote
Z k = ( x 0 , , x k ) T .
i.e. Z k contains all the state variables from the initial time 0 to the current time k. Then, we define the objective function as follows
J ( Z k ) = i = 1 k 1 2 x i A x i 1 B u i Q i 1 2 + z i H x i R i 1 2 + 1 2 x 0 μ 0 Q 0 1 2 .
x 0 denotes the initial state and
x Q 1 = x T · Q 1 · x ,
with a positive definite matrix Q > 0 . It is assumed that the true value of x 0 follows a distribution around a certain known prior mean μ 0 , and its uncertainty is characterized by the covariance matrix Q 0 .
Based on the recursiveness of J, we have
J ( Z k ) = J ( Z k 1 ) + 1 2 x k A x k 1 B u k Q k 1 2 + z k H x k R k 1 2 .
Its gradient with respect to Z k is
J ( Z k ) = J ( Z k 1 ) + ( 0 , , 0 , A ) T Q k 1 A x k 1 x k + B u k Q k 1 A x k 1 x k + B u k + H T R k 1 ( H x k z k ) ,
and its Hessian is
2 J ( Z k ) = 2 J ( Z k 1 ) + ( 0 , , 0 , A ) T Q k 1 ( 0 , , 0 , A ) ( 0 , , 0 , A ) T Q k 1 Q k 1 ( 0 , , 0 , A ) Q k 1 + H T R k 1 H .
The least square solution of the quadratic function is given by the one-step Newton’s formula
Z k = Z k * [ 2 J ( Z k * ) ] 1 J ( Z k * ) ,
where Z k * is arbitrary.
Specifically, we choose
Z k * = Z ^ k 1 x ^ k * ,
where x ^ k * , a prior, satisfies
x ^ k * A x ^ k 1 B u k = 0 ,
and
J ( Z ^ k 1 ) = 0 .
With this choice, the gradient reduces to
J ( Z k * ) = 0 H T R k 1 ( H x ^ k * z k ) ,
and the Hessian is given by
2 J ( Z ^ k * ) = 2 J ( Z ^ k 1 ) + ( 0 , , 0 , A ) T Q k 1 ( 0 , , 0 , A ) ( 0 , , 0 , A ) T Q k 1 Q k 1 ( 0 , , 0 , A ) Q k 1 + H T R k 1 H .
We then apply the one-step Newton update
Z k = Z k * 2 J ( Z k * ) 1 J ( Z k * )
yields the following block system
2 J ( Z ^ k 1 ) + A off T Q k 1 A off A off T Q k 1 Q k 1 A off Q k 1 + H T R k 1 H Δ Z hist Δ x k = 0 H T R k 1 ( H x k * z k ) ,
where A off = ( 0 , , 0 , A ) denotes the off-diagonal block of the state transition.
From the first block row of this system, we have
( 2 J ( Z ^ k 1 ) + A off T Q k 1 A off ) Δ Z hist A off T Q k 1 Δ x k = 0 .
Solving for Δ Z hist gives
Δ Z hist = [ 2 J ( Z ^ k 1 ) + A off T Q k 1 A off ] 1 A off T Q k 1 Δ x k .
From the second block row of (35), we have
Q k 1 A off Δ Z hist + ( Q k 1 + H T R k 1 H ) Δ x k = H T R k 1 ( H x k * z k ) .
By eliminating Δ Z hist via the Schur complement, the effective Hessian for Δ x k becomes
S k = ( Q k 1 + H T R k 1 H ) Q k 1 A off [ 2 J ( Z ^ k 1 ) + A off T Q k 1 A off ] 1 A off T Q k 1 = H T R k 1 H + ( Q k + A off ( 2 J ( Z ^ k 1 ) ) 1 A off T ) 1 .
Note that A off ( 2 J k 1 ) 1 A off T corresponds precisely to the predicted prior error covariance of the previous time step. Adopting the standard Kalman filter notation, this term is identified as A P k 1 A T . Consequently, the composite term ( Q k + A P k 1 A T ) is denoted as the predicted covariance P k . Thus, the Schur complement S k simplifies to
S k = ( P k ) 1 + H T R k 1 H ,
where P k denotes the predicted error covariance. Consequently, the Newton update Δ x k is given by
Δ x k = S k 1 H T R k 1 ( z k H x k * ) = [ ( P k ) 1 + H T R k 1 H ] 1 H T R k 1 ( z k H x k * ) .
Applying the SMW identity again to the gain term, we obtain the standard Kalman gain form
K k = [ ( P k ) 1 + H T R k 1 H ] 1 H T R k 1 = P k H T ( H P k H T + R k ) 1 .
Therefore, the update equation becomes
Δ x k = K k ( z k H x k * ) ,
which is exactly the Kalman filter measurement update. Since the cost function J ( Z k ) is quadratic, the Newton step converges to the global minimum in a single iteration, making the derivation exact. The historical states Z hist do not require updates because the chosen initial point Z ^ k 1 already satisfies the optimality condition for the past subsystem i.e., J ( Z ^ k 1 ) = 0 .
However, substituting this back into the full Newton step, or recognizing that the objective function J ( Z k ) is quadratic, we observe that the update for the historical states Δ Z hist does not need to be explicitly calculated for the recursion. The key insight is that the current state update Δ x k can be computed independently by considering the Schur complement of the Hessian, leading to the standard Kalman gain formulation.
Specifically, while a non-zero innovation ( z k H x ^ k * ) generally induces a correction term Δ Z hist —a process characteristic of Kalman smoothers that refines historical trajectories—the standard Kalman filter operates under the Markov assumption. This assumption implies that for real-time recursion, the estimate Z ^ k 1 is fixed, effectively imposing the constraint Δ Z hist = 0 .
This constraint does not imply that historical estimates are error-free; rather, it signifies that their uncertainty, characterized by the covariance P k 1 , is propagated to the current step via the system dynamics matrix A instead of being retroactively optimized. Consequently, the optimization problem is reduced to minimizing a cost function J k ( x k ) solely with respect to the current state x k , treating the predicted state x ^ k = A x ^ k 1 + B u k as a prior measurement with covariance P k = A P k 1 A T + Q k . The resulting cost function is given by
J k ( x k ) = 1 2 x k x ^ k ( P k ) 1 2 + 1 2 H x k z k R k 1 2 .
Note that the weight of the prediction term is determined by the inverse of the predicted covariance ( P k ) 1 , rather than the process noise covariance Q k 1 , as the former accounts for the accumulated uncertainty from previous steps. Calculating the gradient and Hessian of this reduced cost function yields:
J k ( x k ) = ( P k ) 1 ( x k x ^ k ) + H T R k 1 ( H x k z k ) ,
2 J k ( x k ) = ( P k ) 1 + H T R k 1 H = S k .
By initializing the guess at the predicted state x k * = x ^ k , the Newton step becomes
Δ x k = [ 2 J k ( x k ) ] 1 J k ( x k * ) = S k 1 H T R k 1 ( z k H x ^ k ) ,
which is mathematically identical to the standard Kalman filter update derived in (43).
Proposition 1.
The Kalman filer for a linear system, (1), is given by the solution to the following equivalent least squares minimization problems:
1.
min Z k J ( Z k ) ,
where J ( Z k ) is given in (24);
2.
min x k J k ( x k ) ,
where J k ( Z k ) is given in (44).

2.2. Extended Kalman Filters for discrete Nonlinear Systems

The Extended Kalman filter (EKF) is an extension of the Kalman Filter (KF) to nonlinear systems. When system state equations or observation equations are nonlinear, the linear Kalman Filter alluded to above is no longer applicable. Thus, one proposed EKF. It approximates the nonlinear system as a linear system through a local linearization approach, thereby retaining the recursive framework of the Kalman Filter and achieving optimal estimation (minimum mean squared error) of the state of nonlinear dynamic systems[33].
We once again use a discrete nonlinear system as an example. In the discrete nonlinear system, the state and measurement equations are given as follows
x k = f ( x k 1 , u k , w k ) , z k = h ( x k , v k ) ,
where x k R n × 1 is the true state vector at step k, u k R m × 1 is the known control input vector, w k R q × 1 is the process noise, assumed to be zero-mean Gaussian with covariance Q k R q × q , i.e., w k N ( 0 , Q k ) , z k R k p × 1 is the observed measurement vector, v k R k r × 1 : the measurement noise, assumed to be zero-mean Gaussian with covariance R k R r × r , i.e., v k N ( 0 , R k ) , f : R n × R m × R q R n is the nonlinear state transition function, h : R n × R r R p is the nonlinear observation function.
To apply the EKF, the nonlinear system is linearized using first-order Taylor expansion around the current state estimate x ^ k 1 . Let
x ˜ k = f ( x ^ k 1 , u k , 0 ) , z ˜ = h ( x ˜ k , 0 ) .
We note that the nonlinear control terms in the discrete system does not impact the Kalman filter. So, we do not need to linearize the nonlinear functions with respect to control variables.
Then, the linearized system has the following form
x k = x ˜ k + A k ( x k x ^ k 1 ) + W k w k , z k = z ˜ k + H k ( x k x ˜ k ) + V k v k ,
where the Jacobian of f w.r.t. x is A k = f x ( x ^ k 1 , u k , 0 ) R n × n . the Jacobian of f w.r.t. w is W k = f w ( x ^ k 1 , u k , 0 ) R n × q , the Jacobian of h w.r.t. x is H k = h x ( x ˜ k , 0 ) R p × n , and the Jacobian of h w.r.t. v is V k = h v ( x ˜ k , 0 ) R p × r .
The noise terms in the linearized system have distributions W k w k N ( 0 , W k Q k W k T ) , V k v k N ( 0 , V k R k V k T ) .
The EKF algorithm that proceeds iteratively in two steps is formulated as follows.
Algorithm 2.2.
1.
Prediction Step
Compute the a priori state estimate and error covariance:
A priori state estimate : x ^ k = f ( x ^ k 1 , u k , 0 ) , A priori error covariance : P k = A k P k 1 A k T + W k Q k W k T .
where x ^ k R n × 1 is the predicted state before incorporating new measurement, and P k R n × n the predicted error covariance matrix.
2.
Correction Step
Update the estimate using the latest measurement z k :
Kalman gain : K k = P k H k T ( H k P k H k T + V k R k V k T ) 1 , A posteriori state estimate : x ^ k = x ^ k + K k z k h ( x ^ k , 0 ) , A posteriori error covariance : P k = ( I n K k H k ) P k .
where K k R n × p is the Kalman gain matrix, I n is the identity matrix of size n × n , and h ( x ^ k , 0 ) the predicted measurement based on the a priori state estimate.
For this, we cannot establish that this is an unbiased estimator for the state.

3. Successive Linear Estimators for Saturated Soil

We first review the method of successive linear estimators [19] and then formulate it in the context of the extended Kalman filter with nonlinear state and observation equations. We consider the steady state Richards equation in a spatially heterogenous media
· ( K ( x ) ϕ ( x ) ) = S ( x ) ,
This equation describes steady-state saturated flow, i.e., groundwater flow under dynamic equilibrium conditions, such as aquifer flow under long-term stable recharge or discharge. The hydraulic conductivity, K ( x ) 0 , depends solely on properties of the medium and is independent of the water content. ϕ ( x ) is the water head and S ( x ) is the source. In anisotropic media, K ( x ) is a second order tensor. Our objective is to approximate K ( x ) using limited measurements of ϕ ( x ) and K ( x ) spatially.
To ensure K ( x ) is nonnegative, we use
ln K ( x ) = F ( x ) + f ( x ) , ϕ = H + h ( x , t ) ,
where F ( x ) = E [ ln K ] is the expected value of ln K when K is viewed as a random variable, and H = E [ ϕ ] is the expected value of the water head at ( x , t ) . Both F and ϕ are regarded as random variables. The interpretation here is that K is a random variable so that ϕ as a solution that depends on K is random passively. As the result, f and h are random variables with zero means E [ f ] = E [ h ] = 0 .
Given a finite number of measurements of K ( x ) and ϕ ( x ) , can one determine F ( x ) ? Before we formulate the problem rigorously, let’s first review Kriging and co-Kriging method for obtaining linear estimators.

3.1. Kriging

Kriging is an elegant geostatistical method, used for the optimal unbiased estimation of unknown points based on their spatial correlations [39]. Assuming f ( x ) are measured at x i , i = 1 , , n , where n is the number of the observation points, one would like to estimate f ( z ) at another point z via a function as follows
f ( z ) = F ( f ( x 1 ) , , f ( x n ) ) ,
where F belongs to a class of functions such as linear, quadratic, or more complicated form. If F is linear, it is called a linear estimator and is also known as Kriging. In this case, we posit the approximation as follows
f e ( z ) = i = 1 n λ i f ( x i ) ,
where λ i are parameters to be estimated.
Unbiasedness requires that the expected estimated value be equal to the expected true value
E [ f e ( z ) ] = E [ f ( z ) ] .
It implies
i = 1 n λ i = 1 , if E [ f ( z ) ] 0 .
We hope to find parameter Λ = ( λ i ) to minimize the variance of the estimation error
min Λ σ e 2 ( z ) = min Λ E f ( z ) f e ( z ) 2 = min Λ [ C ( z , z ) + i = 1 n j = 1 n λ i λ j C ( x i , x j ) 2 i = 1 n λ i C ( z , x i ) ] ,
where C ( x i , x j ) = Cov ( f ( x i ) , f ( x j ) ) is the covariance of f ( x i ) and f ( x j ) . Notice that f e ( z ) is a weight sum of the observed data, f e ( z ) is the measured or estimated mean of f ( z ) .
To estimate Λ , we introduce Lagrange multipliers η and construct the Lagrange function as follows
L ( Λ , η ) = C ( z , z ) + i = 1 n j = 1 n λ i λ j C ( x i , x j ) 2 i = 1 n λ i C ( z , x i ) 2 η 1 i = 1 n λ i .
By utilizing the standard procedures for extremum seeking, the extremum conditions are derived as follows
j = 1 n λ j C ( x k , x j ) = C ( z , x k ) η , k = 1 , , n , 1 i = 1 n λ i = 0 .
Substituting (62) into (61), we obtain the value of the Lagrange function at the extremum:
L ( Λ , η ) = C ( z , z ) c T Λ η ,
where c is an n × 1 vector with elements c i = C ( z , x i ) . We denote C as an n × n covariance matrix with elements C i j = C ( x i , x j ) ,   Λ = [ λ 1 , , λ n ] T and 1 = [ 1 , , 1 ] T .
The complete system is given by
A Λ 1 = c 1 ,
where
A = C 1 1 T 0 , Λ 1 = Λ η , c 1 = c 1 .
The least square solution is
Λ 1 = A T A 1 A T c 1 .
We note that the covariance c needs to be known or estimated in order to get the solution. I.e., in order to have a linear approximation using the observed data, the covariance between the estimate function value and the observed values must be known a priori.

3.2. Co-Kriging

Co-Kriging constructs a linear unbiased optimal estimator by jointly utilizing the spatial correlation between the target variable (primary variable) and auxiliary variables [15]. For a more accurate estimation, we use both measured values, f ( x i ) , i = 1 , , n f (primary variable) and h ( x j ) , j = 1 , , n h (auxiliary variable) to estimate f ( z ) linearly as follows
f e ( z ) = i = 1 n f λ i f ( x i ) + j = 1 n h β j h ( x j ) .
The least squre solution is given by
( Λ , β ) = arg min Λ , β E f ( z ) f e ( z ) 2 .
The solution is governed by the following linear equation system
C f f C f h C h f C h h λ β = c f c h .
Here, the covariance matrices are defined by
C f h ( x i , x j ) = Cov [ f ( x i ) , h ( x j ) ] .
The covariance matrices with subscripts f f , h f , h h are defined analogously. The covariance vectors on the right hand side are defined by
( c f ) i = Cov [ f ( z ) , f ( x i ) ] , i = 1 , , n f , ( c h ) j = Cov [ f ( z ) , h ( x j ) ] , j = 1 , , n h .
To make it an unbiased estimator, constraints can be employed like in the case of Kriging. Two constraints in Co-Kriging are given by
i = 1 n f λ i = 1 , j = 1 n h β j = 0 .
Once again, the covariances must be known or estimated to get the solution.
The normal equations are
C f f 1 C f h 0 1 T 0 0 T 0 C h f 0 C h h 1 0 T 0 1 T 0 λ η f β η h = c f 1 c h 0 ,
where η f and η h are two Lagrange multipliers used for enforcing that the linear estimator is unbiased.

3.3. Successive Linear Estimators

In the context of SLE for hydraulic conductivity, the state equation is given by
ln K = Y ^ c + f , f N ( 0 , R f f ) , R f f = E [ f f T ] ,
where Y ^ c = E [ ln K ] and E [ f ] = 0 . The observation equation is given implicitly by
ϕ = F ( ln K ) , · ( e ln K ϕ ( x ) ) S = 0 ,
where F is the mapping that maps ln K to the solution of the Richards equation, K ( x ) is the saturated Transmissivity, ϕ ( x ) is the total water head, and
h = ϕ E [ ϕ ] N ( 0 , R h h ) , R h h = E [ h h T ] .
The successive linear estimator at a location, x o , for ln K is given iteratively by
Y ^ c ( r + 1 ) ( x o ) = Y ^ c ( r ) ( x o ) + j = n f + 1 n f + n h ω j ( r ) ϕ * ( x j ) ϕ ( r ) ( x j ) ,
where Y ^ c ( r ) ( x o ) is the rth iteration of the estimated conditional mean of ln K , r is the iteration index, ω j is the model weight parameter, ϕ * denotes the observation, and ϕ ( r ) is the outcome of the observation equation or the solution of the Richards equation (model-computed value) at the r-th iteration.
To ensure the estimator having minimal variance, the goal is to minimize the variance with respect to ω ’s
min E ω ( r ) ln K Y ^ c ( r + 1 ) 2 .
We differentiate the squared error with respect to ω ( r ) and set the resultant to zero to yield
j = n f + 1 n f + n h ω j ( r ) ε h h ( r ) ( x j , x l ) = ε y h ( r ) ( x o , x l ) ,
where h = ϕ * ϕ , y = ln K Y ^ c , ε h h = E [ h h ] , ε y h = E [ y h ] . In the following, we set Y ^ c = 0 .
The iteration process of SLE is summarized in the following algorithm.
Algorithm 3.1
(SLE).
1. Initialization
The prior estimate is obtained using the classical cokriging technique:
Y ^ c ( 0 ) ( x o ) = i = 1 n f λ i o f i * ( x i ) + j = n f + 1 n f + n h μ j o h j * ( x j ) .
where λ and μ are calculated by the following equations:
i = 1 n f λ i o R f f ( x i , x l ) + j = n f + 1 n f + n h μ j o R h f ( x j , x l ) = R f f ( x o , x l ) , l = 1 , 2 , , n f , i = 1 n f λ i o R f h ( x i , x l ) + j = n f + 1 n f + n h μ j o R h h ( x j , x l ) = R f h ( x o , x l ) , l = n f + 1 , n f + 2 , , n f + n h .
The prior covariance is:
ε y y ( 1 ) ( x o , x k ) = R f f ( x o , x k ) i = 1 n f λ i o R f f ( x o , x i ) j = n f + 1 n f + n h μ j o R f h ( x k , x j ) .
2. Prediction ((r+1)-th step)
At the current (r+1)-th step, the optimal solution Y ^ c ( r ) from the previous step (i.e., the r-th step) is treated as the state prior for this step. Meanwhile, the error covariance ε y y ( r ) from the previous step is taken as the error covariance prior for this step.
3. Correction (r+1)-th step
ω ( r ) , similar to the Kalman gain, is given by
j = n f + 1 n f + n h ω j ( r ) ε h h ( r ) ( x j , x l ) = ε y h ( r ) ( x o , x l ) , l = n f + 1 , , n f + n h .
where
ε h h ( r ) = J ( r ) ε y y ( r ) J ( r ) T , ε y h ( r ) = J ( r ) ε y y ( r ) .
and the Jacobian matrix (Sensitivity matrix) J of the observation equation is given by:
J ( r ) = F ln K Y ^ c ( r ) .
In practical calculations, an additional relaxation term, Θ, is usually added to the diagonal of the matrix in (81) during each iteration:
j = n f + 1 n f + n h ω j ( r ) ε h h ( r ) ( x j , x l ) + Θ ( r ) δ l l = ε y h ( r ) ( x o , x l ) , l = n f + 1 , , n f + n h .
This is actually an L 2 regularization (also known as the Tikhonov regularization or the Ridge Regression). From a Bayesian perspective, it is equivalent to the parameter ω j ( r ) following a Gaussian distribution with a mean of 0 and a variance proportional to 1 / Θ . Functionally, Θ can be interpreted as a “virtual observation noise," which makes the system perceive the observed data as noisier than it actually is, thereby suppressing overfitting and numerical oscillations.
The posterior estimate is then given by
Y ^ c ( r + 1 ) ( x o ) = Y ^ c ( r ) ( x o ) + j = n f + 1 n f + n h ω j ( r ) ϕ j * ( x j ) ϕ j ( r ) ( x j ) ,
where ϕ j * ( x j ) are given. The error covariance is updated as follows
ε y y ( r + 1 ) ( x o , x k ) = ε y y ( r ) ( x o , x k ) l = n f + 1 n f + n h ω l ( r ) ε y h ( r ) ( x k , x l ) .

3.4. Reformulation of the SLE as an EKF

In this subsection, we show that the Successive Linear Estimator (SLE) is essentially a specific application of the Extended Kalman Filter (EKF) in static parameter estimations using the Richards equation.
In the problem of estimating the hydraulic conductivity coefficient, the logarithmic conductivity coefficient ln K ( x ) is defined as the state variable and the hydraulic head ϕ ( x ) is defined as the observation variable. A nonlinear model system is established based on the solution solver of the Richards equation with the given hydraulic conductivity, ln K ( x ) .
This is a steady state parameter estimation problem, so the state transition function is an identity mapping augmented with a Gaussian noise:
x k = x k 1 + w k , ( x Y ^ c ) .
Within the SLE framework, the process noise w k 0 , i.e., Q = E [ w k w k T ] = 0 . The condition of Q = 0 indicates a state of complete confidence that the state (i.e., ln K ) will not undergo unpredictable changes during the iteration process. Its uncertainty propagates solely through the initial covariance matrix P 0 and the Jacobian matrix J presented below. Here, x k = Y ^ c ( k ) R N × 1 is the conditional mean of ln K ( x ) at the k-th iteration (the state to be estimated).
The observation equation with a Gaussian noise is given by
z k = F ( x k ) + v k , ( z ϕ ) ,
where z k R n h × 1 and F is the observation operator. I.e., z k is the solution of the steady state Richards equation · e x k z k = S ( x ) . without loss of generality, we assume S ( x ) = 0 in the following. The measurements are assumed error-free, with the observation noise v k 0 . As a result, the covariance of the observation noise R k = E [ v k v k T ] = 0 .
One defines the state error as e k = x k x ^ k = ln K Y ^ c . The objective of the error estimation is to minimize the covariance of the state error with respect to parameter K k , i.e.,
min K k tr E e k e k T .
One denote Y ^ c as the unbiased estimator of ln K , that is, E [ Y ^ c ] = ln K ; it follows that E [ e k ] = 0 .
Initialization
The prior state x ^ 0 = Y ^ c ( 0 ) R N × 1 is determined by the cokriging method using both the conductivity and hydraulic head observations through the following equation system
x ^ 0 = Λ f + M h .
Here, f R n f × 1 is the de-meaned logarithmic conductivity coefficient vector, with f i = ln K ( x i ) E [ ln K ] ( i = 1 , , n f ); h R n h × 1 is the de-meaned hydraulic head vector, with h j = ϕ ( x ) E [ ϕ ] ( j = 1 , , n h ). Λ R N × n f is the global kriging weight matrix for transmissivity observations, with [ Λ ] o , i = λ i o ( o = 1 , , N ; i = 1 , , n f ); M R N × n h is the global kriging weight matrix for hydraulic head observations, with [ M ] o , j = μ j o ( o = 1 , , N ; j = 1 , , n h ). N is the total number of spatial nodes to be estimated, n f is the number of transmissivity observation points, and n h is the number of hydraulic head observation points.
Λ and M are determined by the following system of linear equations:
R f f , o b s R h f , o b s R f h , o b s R h h , o b s λ o μ o = r f f , o r f h , o ,
where λ o R n f × 1 is the weight sub-vector corresponding to the transmissivity observations for the target node x o (the o-th row of Λ ), and μ o R n h × 1 is the weight sub-vector corresponding to the hydraulic head observations for the target node x o (the o-th row of M ). R f f , o b s R n f × n f is the autocovariance matrix among the transmissivity observation points, with [ R f f , o b s ] i , l = R f f ( x i , x l ) ( i , l = 1 , , n f ); R h h , o b s R n h × n h is the autocovariance matrix among the hydraulic head observation points, with [ R h h , o b s ] j , l = R h h ( x j , x l ) ( j , l = 1 , , n h ); R f h , o b s R n f × n h is the cross-covariance matrix between the transmissivity and hydraulic head observation points, with [ R f h , o b s ] i , j = R f h ( x i , x j ) ( i = 1 , , n f ; j = 1 , , n h ), and R h f , o b s = R f h , o b s T . r f f , o R n f × 1 is the autocovariance vector between the target node x o and the transmissivity observation points, with [ r f f , o ] l = R f f ( x o , x l ) ( l = 1 , , n f ); r f h , o R n h × 1 is the cross-covariance vector between the target node x o and the hydraulic head observation points, with [ r f h , o ] l = R f h ( x o , x l ) ( l = 1 , , n h ).
The value of the initial prior covariance P 0 = ε y y ( 0 ) R N × N is the conditional covariance after incorporating some observations ( n f conductivity observations and n h hydraulic head observations) through one-step classical co-kriging:
P 0 = R f f Λ R f f , o b s Λ T M R f h M T ,
where R f f R N × N is the global autocovariance matrix of the logarithmic conductivity coefficient perturbation term f, with [ R f f ] a , b = R f f ( x a , x b ) ( a , b = 1 , , N ); R f h R N × n h is the global cross-covariance matrix between the logarithmic conductivity coefficient perturbation term f and the hydraulic head perturbation term h, with [ R f h ] a , j = R f h ( x a , x j ) ( a = 1 , , N ; j = 1 , , n h ).
SLE Algorithm formulated in EKF framework
1.
Prediction Step Based on the previous state estimate x ^ k 1 (posterior estimate), predict the prior state and prior error covariance of the current iteration.
Prior state estimate : x ^ k = x ^ k 1 , Prior error covariance : P k = P k 1 + Q k R N × N .
When Q k = 0 , P k = ε y y ( k ) . Since the state equation has no dynamic evolution and is only a static estimate, the state estimate remains the result of the previous optimization in the absence of new observations, and the state uncertainty remains unchanged in the absence of new information. However, in practical groundwater systems, the hydraulic conductivity may exhibit unmodeled minor dynamic perturbations due to factors such as medium heterogeneity, temperature variations, and pressure fluctuations—these perturbations are referred to as process noise.
2.
Correction Step Combined with the hydraulic head observation data z k = ϕ * ( x ) of the current iteration, complete an iterative optimization by linearizing the observation equation, calculating the Kalman gain, and correcting the state estimate and error covariance.
Perform a first-order Taylor expansion of the nonlinear observation operator F ( x ) at the current prior state x ^ k (i.e., the posterior x ^ k 1 of the previous step). The linearized observation equation is
z k = z ˜ k + J k ( x k x ^ k 1 ) + v k ,
where z ˜ k = F ( x ^ k 1 ) and J k = F x x ^ k 1 R n h × N is the Jacobian matrix (sensitivity matrix) of the observation equation.
Kalman gain : K k = P k J k T ( J k P k J k T + R k ) 1 , Posterior state estimate : x ^ k = x ^ k + K k ( z k z ˜ k ) , Posterior error covariance : P k = ( I K k J k ) P k .
where K k R N × n h , [ K k ] o , j = ω j o ( k ) R N × n h , x ^ k = Y ^ c ( k ) , x ^ k = Y ^ c ( k 1 ) , z k = ϕ * ( x ) , z ˜ k = ϕ ( k ) ( x ) , P k = ε y y ( k 1 ) , and P k = ε y y ( k ) .
Here, ε y y ( k 1 ) denotes the error covariance matrix of the log-conductivity estimate at the ( k 1 ) -th iteration, defined as
ε y y ( k 1 ) = E ln K Y ^ c ( k 1 ) ln K Y ^ c ( k 1 ) T ,
where Y ^ c ( k 1 ) is the conditional mean estimate from the previous iteration. This corresponds to the prior error covariance before the k-th correction step. However, in practical measurements, observation errors are inevitable due to sensor precision limitations and environmental interferences (e.g., water level fluctuations). The larger the value of R k , the less accurate the observation; correspondingly, the Kalman gain K k becomes smaller, leading to a greater reliance on the a priori estimate.
From a mathematical perspective, both R k and the regularization parameter, Θ , that can be added as a L 2 regularization of the least squares optimization serve to stabilize matrix inversion. The presence of R k ensures that the matrix J k P k J k T + R k is positive definite, thereby allowing safe inversion and avoiding numerical instability. In other words, when solving a linear system, both Θ and R k play the role of regularization terms, which are used to prevent the matrix from being ill-conditioned. From a Bayesian viewpoint, both R k and Θ represent prior information. The Θ term implicitly assumes that the Kalman gain ω j o itself follows a Gaussian distribution centered at 0 with variance 1 / Θ ; this is a type of prior distribution on the parameters. The R k term represents the assumption that the observation z k follows a Gaussian distribution centered at the true value with variance R k ; this is a type of prior distribution on the data. Although R k and Θ have equivalent roles, their origins are not the same. R k models the uncertainty in the data within the Bayesian framework, whereas Θ is an artificially introduced regularization term that models the uncertainty in the parameters.
By all means, we claim that the EKF outcome defined here is exactly the iterative solution of the SLE. This is the primary objective of this paper.

4. Parameter Estimation in Unsaturated Soil Using the Extended Kalman Filter

The general form of the Richards equation for flows in unsaturated soil is given by
θ ( ϕ ( x , t ) ) t + S ( x , t ) = · K ( θ , x ) ϕ ( x , t ) + z ,
where θ ( x , t ) is the volumetric water content, ϕ ( x , t ) is the hydraulic head, z is the elevation (the third coordinate in x ), K ( θ , x ) is the unsaturated hydraulic conductivity, which is strongly coupled to the water content, θ . θ ( ϕ ) is a monotonically increasing function of ϕ and K ( θ , x ) is a monotonically increasing function of θ as well as a monotonically increasing function of ϕ . In unsaturated soil, lower water content reduces pore-water connectivity, resulting in a smaller K; at saturation, K reaches its maximum value K s ( x ) (the saturated hydraulic conductivity). ϕ as the pressure head is normally negative, z is the elevation head, ( ϕ + z ) is the gradient of the total head, which includes both the pressure gradient and the gravitational gradient. The pressure head ϕ and water content θ are in one-to-one correspondence via the soil–water retention curve (SWRC), expressed as θ = θ ( ϕ ) .
Given the Richards equation with conductivity, K ( θ , x ) > 0 , one would like to estimate K ( θ , x ) through a few measurements of K ( θ ( x i , t k ) , x i ) , i = 1 , n f and ϕ ( x j , t k ) , j = n f + 1 , , n f + n h , k = 1 , , N t subject to given initial and boundary conditions. Since K > 0 , one normally uses
ln K = F + f
as the effective variable to ensure its positivity, where F = E [ ln K ] is the expectation of ln K and f is the small fluctuation with E [ f ] = 0 and E [ ( f , f ) ] = Q ( x ) > 0 . Analogously, we set
ϕ = H + h ,
where H = E [ ϕ ] is the mean of ϕ and his the perturbation with E [ h ] = 0 and E [ h , h ] = R ( x , t ) > 0 .
This inverse problem could also be formulated using EKF. The objective here is to estimate K ( θ , x ) using the spatial-temporal observation data The state equation for K and the observation equation for ϕ is defined, respectively, by
K ( θ , x ) = K ( θ , x ) , F ( K ) = ϕ ,
where F represents the time-dependent, inverse operator defined by the solution solver of the Richards equation. However, exploit the time-dependence of F separates this inverse problem from the saturate case alluded to in the previous section.

4.1. Parametric Inversion Aided by the Van Genuchten–Mualem Model

To make the problem tractable, we assume the hydraulic conductivity is admits a separable form that separates the spatial variability of the saturated hydraulic conductivity K s ( x ) from the universal dependence of the relative permeability on pressure head K r ( θ ) as follows,
K ( θ , x ) = K s ( x ) K r ( θ ) ,
where K s ( x ) is the maximum hydraulic conductivity and K r ( θ ) is given by one of the empirical constitutive laws such as the van Genuchten-Mualem model. For de-meaned ln K s ( x ) , we assume it can be expanded in a set of orthogonal basis functions { φ i ( x ) } i = 1 M . The choice of orthogonal system is not restricted a priori: on regular domains (e.g., rectangular or layered), classical bases such as Fourier series, cosine or sine bases (suited to specific boundary conditions), and orthogonal polynomials (e.g., Legendre, Chebyshev) are commonly employed. For problems where multi-scale or localized spatial features are anticipated, wavelet bases (e.g., Haar, Daubechies) provide alternatives with compact support in both space and scale. Of course, we could also consider the Karhunen–Loève expansion.
After the orthogonal basis is determined, we expand l n K s ( x ) as follows
ln K s ( x ) = F ( x ) + i = 1 M c i φ i ( x ) , E [ c i ] = 0 ,
where F ( x ) = E [ ln K s ( x ) ] is the prior mean field, prescribed as a constant or a spatial trend based on available information (e.g., geological interpretation or direct measurements of ln K s ). c = [ c 1 , c 2 , , c M ] T R M is the vector of unknown coefficients. The prior covariance of c is denoted by Σ c R M × M .
The expansion, (101), serves two purposes. First, it reduces the dimensionality of the estimation problem from the number of grid nodes N (typically 10 3 10 5 ) to a much smaller number of coefficients M (typically 10 1 10 2 ). This compression is possible because the spatial correlation of ln K s implied by the prior covariance Σ c allows the random field to be accurately represented by the leading M basis functions. Second, the orthogonality of { φ i } simplifies the subsequent Co-Kriging and EKF computations by providing a diagonal or nearly diagonal prior covariance structure for the coefficients. The truncation level M is chosen such that the retained basis functions capture a prescribed fraction (e.g., 90%–95%) of the total prior variance, i.e.,
i = 1 M λ i i = 1 λ i 0.9 0.95 ,
where λ i are the eigenvalues of the prior covariance operator associated with { φ i } . In practice, M is determined by the decay rate of the eigenvalue spectrum and is typically much smaller than N, making the inversion computationally feasible.
The prior mean field F ( x ) is kept fixed throughout the inversion; it does not appear in the state vector and is not updated by the EKF. At each iteration, the total ln K s field is reconstructed by adding F ( x ) to the fluctuation estimated from the current state x k , and the Richards equation is solved using this total field to compute the predicted hydraulic head. The objective of the inverse problem is essentially to estimate the unknown expansion coefficients { c i } . The relative hydraulic conductivity K r ( θ ) and the soil-water retention curve θ ( ϕ ) are prescribed by the van Genuchten-Mualem model, detailed below. The complete unsaturated hydraulic conductivity is then given by
K ( θ , x ) = K s ( x ) K r ( θ ) = exp F ( x ) + i = 1 M c i φ i ( x ) · K r ( θ ) .
Because K r ( θ ) is a monotonically increasing function of θ and hence of ϕ , and the prefactor exp ( F ( x ) + c i φ i ( x ) ) is strictly positive, the product K ( θ , x ) inherits the monotonicity with respect to ϕ required by physics.
The relative hydraulic conductivity K r ( θ ) appearing in (102) is defined by the van Genuchten-Mualem model [9,10]. In this model, the effective water saturation S e is expressed as a function of the pressure head ϕ
S e ( ϕ ) = θ ( ϕ ) θ r θ s θ r = 1 [ 1 + ( α | ϕ | ) n ] m , ϕ < 0 , 1 , ϕ 0 ,
where θ s and θ r are the saturated and residual water contents, α and n are empirical shape parameters, and m = 1 1 / n . The relative hydraulic conductivity is then given by the Mualem model [9],
K r ( S e ) = S e 1 1 S e 1 / m m 2 ,
where is a pore-connectivity parameter. The parameters { α , n , θ s , θ r , } are treated as known constants throughout the EKF inversion; they can be determined a priori from laboratory experiments or pedotransfer functions. If one wants, these parameter set could also be estimated using EKF subject to some predetermined constraints on their ranges.
With this parameterization, the state vector of the EKF is defined as
x k = [ c 1 , c 2 , , c M ] T R M ,
and the observation operator F ( x k ) maps the coefficients to the hydraulic head by solving the Richards equation (96) with the conductivity field constructed from (102). The inverse problem thus reduces to estimating the finite-dimensional coefficient vector x k from head observations.
Specifically, let the state vector x k R M represent the parameters to be estimated. The state evolution equation is given by
x k = x k 1 + w k , w k N ( 0 , Q k ) ,
where Q k is the process noise covariance matrix.
The observation equation relates the state to the measured quantities through a nonlinear function F ( · )
z k = F ( x k ) + v k , v k N ( 0 , R k ) ,
where z k R N is the observation vector (e.g., hydraulic head measurements), and R k is the observation noise covariance matrix. The nonlinear function F ( x k ) to z k is defined by the solution solver of the Richards equation. Or, one can learn this mapping using an operator learning method such as the DeepONet approach.
This inverse problem differs from the one discussed in the previous section in the choice of the observation variable z k . Given the time dependent nature of the pressure head values in unsaturated soil, we present two choices. In the first choice, we lump all the available, observed pressure head values at ( x j , t k ) , j = n f + 1 , , N , k = 0 , , N t to one vector z l R n h N t , where l = 1 , 2 , , is the EKF iteration index. Each time, F maps x l into z l for l = 0 , 1 , 2 , . We hope x l converges to a limit in the EKF recursion, from which the hydraulic conductivity can be calculated. The second choice is to align the time step index in t k with the iteration index so that z k = ( h ( x j n f , t k ) ) T . This will require either the measurement to be consecutive without a limit, i.e., k = 1 , 2 , . This continuous measurement is the prerequisite for the convergence of x k . Or alternatively, one must introduce a second index for internal iteration using EKF: z k ( l ) , l = 1 , . In the following, our proposed methods apply to all the above cases. However, we will use the last alternative choice as an example.
In practical applications to flows in unsaturated soil, the choice of the covariance matrices Q k and R k requires careful consideration. The process noise covariance Q k is typically set to a small diagonal matrix, Q k = σ q 2 I , where σ q 2 is chosen to reflect the expected magnitude of unmodeled temporal variations in the log-conductivity field. A common practice is to take σ q 2 as a fraction of the diagonal entries of the prior covariance P 0 , so that the EKF iterations remain numerically stable without artificially inflating the uncertainty. The observation noise covariance R k should account for both measurement error and model error arising from the simplified representation of the soil-water retention curve, the finite representation of the saturated hydraulic conductivity, and the numerical solver. When hydraulic head observations are collected at multiple time instants, R k may be taken as a diagonal matrix whose entries are proportional to the variance of the head measurements at each location, or as a constant multiple of the identity matrix if the measurement accuracy is uniform across sensors. In either case, the magnitude of R k controls the relative weight assigned to the observation term in the cost function (44) and directly influences the convergence rate and the smoothness of the reconstructed conductivity field.

Initialization of Expansion Coefficients Using Co-Kriging

Recall from Section 3.4 that the SLE initial estimate is obtained by Co-Kriging the log-conductivity and hydraulic head measurements. In the present setting, the unknown quantity is the coefficient vector c = [ c 1 , , c M ] T of the expansion. Because E [ c ] = 0 , the estimator takes the form of a Co-Kriging
c ^ 0 = Λ T f * + M T h * ,
where f * R n f contains the de-meaned log-conductivity measurements,
f i * = ln K s obs ( x i ) F ( x i ) , i = 1 , , n f ,
and h * R n h contains the de-meaned hydraulic head measurements,
h j * = ϕ obs ( x j ) E [ ϕ ( x j ) ] , j = 1 , , n h .
where E [ ϕ ( x j ) ] is the prior mean hydraulic head at x j , obtained by solving the Richards equation (96) with the prior mean conductivity field K s ( x ) = exp ( F ( x ) ) and the prescribed retention curve.
In practice, the total hydraulic conductivity K ( θ , x ) is measured at a set of locations { x i } i = 1 n f . At these locations, the pressure head ϕ is not necessarily measured simultaneously. To extract the corresponding saturated hydraulic conductivity, the following procedure is used. First, the Richards equation (96) is solved with the prior mean conductivity field K s ( x ) = exp ( F ( x ) ) and the van Genuchten-Mualem model (103)–(104) to obtain the prior pressure head field ϕ ( 0 ) ( x ) . At each measurement location x i , the relative conductivity is then evaluated as
K r VG ( ϕ ( 0 ) ( x i ) ) = S e 1 1 S e 1 / m m 2 ,
where S e is computed from ϕ ( 0 ) ( x i ) via (103). The corresponding saturated hydraulic conductivity is obtained as
K s obs ( x i ) = K obs ( θ i , x i ) K r VG ( ϕ ( 0 ) ( x i ) ) , ln K s obs ( x i ) = ln K obs ( θ i , x i ) ln K r VG ( ϕ ( 0 ) ( x i ) ) .
These ln K s obs values are then de-meaned by subtracting the prior mean F ( x i ) to obtain the fluctuation measurements f i * used in the Co-Kriging initialization. This procedure is physically consistent: the pressure head used to compute K r is obtained from the same forward model that governs the flow, rather than from a purely statistical interpolation. If pressure head measurements are available at the conductivity measurement locations, they can be used directly in place of ϕ ( 0 ) ( x i ) to avoid the dependence on the prior mean field.
The weight matrices Λ R n f × M and M R n h × M are obtained by minimizing the trace of the estimation error covariance E [ ( c c ^ 0 ) ( c c ^ 0 ) T ] . The resulting system is
C f f obs C f h obs C h f obs C h h obs Λ M = Φ f Σ c C c h T ,
where C f f obs R n f × n f is the auto-covariance matrix of the log-conductivity fluctuations at the measurement locations,
C f f obs = Φ f Σ c Φ f T ,
with Φ f R n f × M defined by [ Φ f ] i k = φ k ( x i ) ; C h h obs R n h × n h is the auto-covariance matrix of the hydraulic head perturbations; C f h obs R n f × n h is the cross-covariance matrix between the log-conductivity fluctuations and the head perturbations. C f h obs can be evaluated via first-order sensitivity as
C f h obs Φ f Σ c S T ,
where S R n h × M is the sensitivity matrix with entries S j k = h j / c k . Note that this expression is consistent with C c h = Σ c S T below and the relation C f h obs = Φ f C c h . Σ c R M × M is the prior covariance of the expansion coefficients; C c h R M × n h is the cross-covariance matrix between the coefficients c and the head perturbations. Its ( i , j ) entry is
[ C c h ] i j = Cov [ c i , h j * ] k = 1 M [ Σ c ] i k h j c k ,
where h j / c k is the sensitivity of the hydraulic head at observation point x j with respect to the coefficient c k , evaluated by solving the adjoint of the discretized Richards equation.
The system (108) is solved once. The corresponding initial error covariance is
P 0 , c = Σ c Λ T M T C f f obs C f h obs C h f obs C h h obs Λ M R M × M .
Expanding (110) gives the four-term expression
P 0 , c = Σ c Λ T C f f obs Λ Λ T C f h obs M M T C h f obs Λ M T C h h obs M .
Equations (106) and (111) provide the initial state and error covariance for the EKF recursion described below. If the covariance of the log-conductivity field on the computational grid is needed (e.g., for visualization or uncertainty quantification), it can be recovered by a post-processing step
P ln K s = Φ P 0 , c Φ T ,
where Φ R N × M is the basis matrix evaluated at all grid nodes, with entries [ Φ ] a i = φ i ( x a ) .
It is worth noting that the EKF recursion could in principle be started from an uninformative prior, e.g., c ^ 0 = 0 and P 0 , c = Σ c , without performing the Co-Kriging initialization. In that case, the initial fluctuation field would be zero everywhere, and the EKF would rely entirely on the first few correction steps to adjust the coefficients toward plausible values. However, the Co-Kriging-based initialization incorporates the available ln K s and hydraulic head measurements into the initial estimate of c and reduces the prior covariance according to the explanatory power of these observations. This yields a starting field that is physically more consistent with the observed data and typically accelerates the convergence of the iterative estimator. The advantage is most pronounced when direct conductivity measurements are sparse, because the head observations, which are more abundant, help constrain the initial coefficients through the cross-covariance structure encoded in C f h obs and C c h .
At each EKF iteration, the Richards equation is solved numerically with the reconstructed K s ( k ) ( x ) K r ( θ ( x , t ) ) to obtain the pressure head field ϕ ( k ) ( x , t ) . The van Genuchten-Mualem model provides the constitutive relations θ ( ϕ ) and K r ( ϕ ) , which are evaluated at the current iterate of ϕ within the nonlinear solver.
Within the EKF framework, the dependence of the observation operator F on the state vector x k is mediated by the parameterization in (101)-(104). At each EKF iteration, the Jacobian matrix
J k = F x x ^ k R n h × M
is evaluated by applying the chain rule through the Richards equation solver. Specifically, for the i-th component of the state vector,
F c i = F K · K ( ln K s ) · ( ln K s ) c i = F K · K ( θ , x ) · φ i ( x ) ,
where F / K is obtained from the adjoint of the discretized Richards equation (96). The derivatives d θ / d ϕ and K / θ required by the adjoint solver are supplied analytically from the van Genuchten-Mualem formulas (103)–(104). Specifically, when the Richards equation (96) is discretized, d θ / d ϕ enters through the time derivative term θ / t , and K / θ enters through the flux term · [ K ( θ , x ) ( ϕ + z ) ] ; both are required by the adjoint solver when computing J k . These analytical derivatives improve the accuracy and efficiency of the Jacobian computation compared with purely numerical differentiation.
Extending the static EKF formulation to the transient unsaturated case in the first choice of the observation variable z k is straightforward. However, it requires assimilating observations at multiple time instants t k in the second choice of z k . Here the iteration index k is aligned with the temporal index of observations, and inner/outer iterations are introduced to handle the strong nonlinearity of the Richards equation[40]. Then the EKF prediction-correction procedure with inner iterations for the unsaturated case proceeds as follows. Let the subscript k denote the time step index, and let the superscript ( ) denote the inner iteration index within the same time step. At each time step k, hydraulic head observations z k = [ ϕ obs ( x j , t k ) ] j = 1 n h collected at time t k are assimilated. The observation operator F k ( · ) solves the transient Richards equation over the interval [ t k 1 , t k ] with the initial condition inherited from the previous assimilation step, and the Jacobian J k is evaluated at the current state estimate and time t k .
1. Prediction Step For each time step k = 1 , 2 ,
Prior state estimate : x ^ k = x ^ k 1 , Prior error covariance : P k = P k 1 + Q k .
2. Correction Step with inner iterations Set x ^ k ( 0 ) = x ^ k . For = 1 , 2 , , L max , Compute the Jacobian matrix of the observation function
J k ( ) = F k x | x ^ k ( 1 ) ,
Kalman gain : K k ( ) = P k [ J k ( ) ] T J k ( ) P k [ J k ( ) ] T + R k 1 , Posterior state estimate : x ^ k ( ) = x ^ k ( 1 ) + K k ( ) z k F k ( x ^ k ( 1 ) ) , Posterior error covariance : P k ( ) = ( I K k ( ) J k ( ) ) P k .
At each inner iteration, the current ϕ ( ) is used to evaluate K r ( ϕ ) via (103)–(104), so that K = K s · K r ( ϕ ) is self-consistently updated within the nonlinear solver.
The inner iteration terminates when
x ^ k ( ) x ^ k ( 1 ) 2 x ^ k ( 1 ) 2 < ε inner ,
or when = L max . Denote by L ( L L max ) the actual number of inner iterations executed before the stopping criterion (116) is met. The posterior estimate and covariance at time step k are then
x ^ k = x ^ k ( L ) , P k = P k ( L ) ,
In practice, J k ( ) may be recomputed only when the relative change of x ^ k ( ) exceeds a threshold, to balance accuracy and computational cost.
Because the observation operator F k defined by the transient Richards equation is strongly nonlinear, a single sequential pass over k = 1 , , N t may terminate in a locally linearized solution. To mitigate this, one may perform multiple passes over the same spatiotemporal dataset, each pass using the posterior of the previous pass as the prior, until the estimate stabilizes.
3. Stopping criterion for the outer loop. Let x ^ N t ( p ) denote the posterior estimate of the state vector x after the p-th complete pass over all N t time steps. In each pass, the EKF proceeds sequentially from k = 1 to k = N t according to the prediction–correction procedure described above, and x ^ N t ( p ) is the final estimate produced at the end of the p-th pass. The subscript N t therefore indicates that the estimate is obtained after assimilating the entire set of spatiotemporal observations, not merely the observation at the single time instant t N t .
The outer loop is terminated when the relative change between two consecutive passes falls below a prescribed tolerance,
x ^ N t ( p ) x ^ N t ( p 1 ) 2 x ^ N t ( p 1 ) 2 < ε outer ,
or when a preset maximum number of passes P max is reached. The first pass ( p = 1 ) starts from the Co-Kriging initialization x ^ 0 = c ^ 0 and P 0 = P 0 , c , and proceeds through k = 1 , , N t to produce x ^ N t ( 1 ) . A typical choice for the inner tolerance is ε inner = 10 3 to 10 4 , with a maximum of L max = 5 –10 inner iterations per time step. The outer-loop tolerance is set to the same range, ε outer = 10 3 to 10 4 . These values are standard for iterative EKF schemes applied to nonlinear inverse problems governed by the Richards equation[40]. The inner criterion controls convergence of the local linearized update at each time step, while the outer criterion assesses global stability across the entire assimilation pass. In practice, relative changes below 10 3 already correspond to negligible adjustments of the estimated ln K s field and the associated hydraulic-head predictions. Together, the two criteria ensure that the estimated field has stabilized under repeated assimilation of the same dataset, mitigating the effect of the local linearization inherent in the EKF and promoting convergence toward a consistent solution.

4.2. Data-Driven Parameter Estimation for Flows in Unsaturated Soil Using the Ensemble Kalman Filter

The preceding sections have focused on forward modeling under the assumption that the hydraulic conductivity follows prescribed parametric forms. In practice, however, the van Genuchten–Mualem model, while widely used, imposes a rigid relationship between the hydraulic conductivity K and the pressure head ϕ that may not hold in heterogeneous or structured soils. A purely parametric inversion that treats the VGM parameters as unknown still inherits this structural constraint, and the estimated K field is forced into a specific functional shape that may deviate from the true behavior.
An alternative is to abandon any parametric assumption and learn K ( x , ϕ ) directly from data. This is appealing in its generality, but it introduces a severe ill-posedness: the unknown K ( x , ϕ ) lives in a high-dimensional space indexed by both spatial position and pressure head, and the available observations are far too sparse to constrain it uniquely. Without additional structure, the inversion yields a highly non-unique solution with little physical interpretability.
A pragmatic compromise is to retain the physically interpretable saturation curve θ ( ϕ ) —which can be measured independently in the laboratory—while relaxing the VGM constraint on the conductivity. This decomposition is not merely a matter of convenience. A direct Karhunen–Loève expansion of K ( x , ϕ ) as a single field would require a two-dimensional covariance kernel indexed by both spatial location and pressure head, substantially increasing the number of modes needed to capture the full variability. Moreover, such an approach would discard the strong physical prior provided by the van Genuchten–Mualem model, which prescribes a well-established functional relationship between K r and ϕ . The spatial variability of K s ( x ) and the functional dependence of K r ( ϕ ) operate on different physical scales and carry very different prior knowledge: K s ( x ) is a stationary or quasi-stationary random field amenable to geostatistical modeling, while K r ( ϕ ) is a bounded, monotone function whose shape is well approximated by the van Genuchten–Mualem model. Merging them into a single object discards this structural distinction and forces the inversion to learn both aspects from the same limited data, which is neither efficient nor robust.
By separating the two factors, we retain the VGM prediction as a physically interpretable baseline for the relative permeability and restrict the KL expansion to the deviation from this baseline. The saturated conductivity K s ( x ) , which depends only on spatial position and is already well studied in hydrogeology, is estimated directly on the full grid using the ensemble approximation. In this way, the total number of degrees of freedom is kept moderate, the physical structure of unsaturated flow is preserved, and the data-driven correction is confined to the component that is least constrained by existing theory. Specifically, we decompose the hydraulic conductivity as
K ( x , ϕ ) = K s ( x ) K r ( x , ϕ ) ,
where K s ( x ) is the saturated hydraulic conductivity and K r ( x , ϕ ) is the relative permeability function. The saturated conductivity K s ( x ) is unknown and must be inferred from data. For the relative permeability, we treat the VGM prediction as a prior mean but allow spatially varying deviations. This is achieved by expanding K r in a Karhunen–Loève basis,
K r ( x , ϕ ) = K r VG ( ϕ ) + i = 1 m λ i α i ( x ) ψ i ( ϕ ) ,
where { λ i , ψ i ( ϕ ) } i = 1 m are the leading eigenvalues and eigenfunctions of the covariance kernel of K r sampled from a prior ensemble, and α i ( x ) are spatially correlated coefficient fields to be estimated. The number of modes m is chosen such that the expansion captures a prescribed fraction of the prior variance. This construction respects the VGM as a baseline while allowing data-driven corrections that are spatially heterogeneous and physically plausible.
The covariance kernel for the deviation of K r from the VGM baseline is prescribed as a stationary exponential form,
C K r ( ϕ , ϕ ) = σ K r 2 exp | ϕ ϕ | l K r ,
where σ K r 2 denotes the prior variance and l K r the correlation length in pressure-head space. This choice follows standard geostatistical practice for deriving KL expansions in hydrogeological parameter fields [6], and ensures positive definiteness and smoothness consistent with laboratory retention measurements.
The eigenvalues λ i and eigenfunctions ψ i ( ϕ ) are obtained by solving the eigendecomposition of a prescribed covariance kernel for the deviation of K r from the VGM baseline, either analytically from a chosen kernel C K r ( ϕ , ϕ ) or empirically from a prior ensemble of plausible K r ( ϕ ) curves. This decomposition is performed before the assimilation, and the resulting ψ i ( ϕ ) are held fixed thereafter; they serve as a fixed functional basis on the ϕ -axis along which the spatially varying correction α i ( x ) acts. The temporal variation of K r ( x , ϕ ( x , t ) ) thus arises solely from the transient ϕ ( x , t ) passed through these fixed ψ i and the fixed VGM function K r VG ( ϕ ) .
Unlike the EKF formulation in Section 4.1, where the state dimension must be kept small because the Jacobian matrix and the full covariance matrix must be computed and stored explicitly, the EnKF circumvents these requirements by approximating the state covariance through an ensemble of realizations. Consequently, ln K s ( x ) can be estimated directly on the full computational grid without a separate KL expansion. This removes the need to impose a low-dimensional representation on the saturated conductivity field. Instead, the flexibility gained from the ensemble approximation is allocated to the relative permeability K r ( x , ϕ ) , which is allowed to deviate from the VGM baseline through a KL expansion. In this way, the saturated conductivity retains its full spatial degrees of freedom, while the unsaturated conductivity benefits from a data-driven correction that is both parsimonious and physically constrained.
The relative permeability K r ( x , ϕ ) is required to be non-decreasing in ϕ and to satisfy 0 < K r ( x , ϕ ) 1 , with K r ( x , 0 ) = 1 . To enforce this physically motivated constraint within the ensemble Kalman filter, the Karhunen–Loève basis { ψ i ( ϕ ) } is constructed from a prior ensemble restricted to monotone K r curves consistent with the van Genuchten retention model. In addition, after each analysis step, ensemble members for which the reconstructed K r ( x , ϕ ) violates monotonicity or falls outside ( 0 , 1 ] are projected back onto the nearest admissible curve by monotone isotonic correction and clipping. The saturated conductivity is handled in log-space and clipped to a physically reasonable range. These procedures ensure that all realizations entering the forward Richards solver remain thermodynamically consistent.
The unknown parameter field now consists of ln K s ( x ) and the m coefficient fields { α i ( x ) } i = 1 m . The total number of degrees of freedom is ( 1 + m ) N x , where N x is the number of spatial grid points. Even for moderate m and a modest spatial discretization, the state dimension easily exceeds several thousand. This rules out methods that require explicit computation of the Jacobian, such as the extended Kalman filter, which would demand O ( N s ) forward solves per assimilation step and the storage of an N s × N s covariance matrix.
The ensemble Kalman filter offers a natural alternative. It approximates the state covariance using an ensemble of N e realizations, requiring only N e forward solves per step—typically two orders of magnitude fewer than the state dimension. No tangent-linear or adjoint model is needed, making the method agnostic to the complexity of the forward solver. The ensemble representation also captures nonlinear propagation of uncertainty without linearization, which is critical for the strongly nonlinear Richards equation. For these reasons, the EnKF is adopted as the inference engine in this work.

4.2.1. State Vector and Observation Operator

Let the computational domain be discretized into N x grid cells with grid points x 1 , , x N x . The state vector at assimilation step k is defined as
m k = ln K s ( x 1 ) , , ln K s ( x N x ) , α 1 ( x 1 ) , , α 1 ( x N x ) , , α m ( x 1 ) , , α m ( x N x ) T R N s ,
where N s = ( 1 + m ) N x . The logarithmic transformation ensures positivity of K s and improves the Gaussianity of the prior.
Given a state realization m , the hydraulic conductivity field is reconstructed as
K ( x , ϕ ) = exp ln K s ( x ) K r VG ( ϕ ) + i = 1 m λ i α i ( x ) ψ i ( ϕ ) ,
and the water retention curve θ ( ϕ ) is taken from the independently calibrated VGM. Substituting these into the Richards equation and solving numerically yields the predicted pressure head field ϕ ( x , t ) . The observation operator H extracts the predicted equivalents of the measurements. Let N obs loc denote the number of observation locations and N t the number of assimilation time steps. The total number of observations is N obs = N obs loc × N t . Each observation location x j obs coincides with a computational grid node, so that the observation operator H simply extracts the simulated pressure head at the corresponding grid point. The observation vector is then
H ( m ) = ϕ ( x 1 obs , t 1 ) , , ϕ ( x N obs loc obs , t 1 ) , , ϕ ( x 1 obs , t N t ) , , ϕ ( x N obs loc obs , t N t ) T R N obs .
Measurements may include pressure heads from tensiometers or water content readings from soil moisture sensors; in the latter case, the conversion θ = θ ( ϕ ) is applied before comparison.

4.2.2. Iterative EnKF with Parameter Localization

The ensemble Kalman filter is implemented in a standard form with covariance localization to mitigate spurious long-range correlations arising from finite ensemble size [35].
Initialization. Draw N e samples { m 0 ( j ) } j = 1 N e from the prior distribution. For ln K s , a Gaussian random field with exponential covariance is used. For the KL coefficients, the prior is α i N ( 0 , λ i ) , where λ i is the eigenvalue associated with ψ i .
1. Forecast step. For each ensemble member j, solve the Richards equation over the assimilation window [ t k 1 , t k ] using the reconstructed K ( j ) ( x , ϕ ) and the fixed θ ( ϕ ) . Collect the predicted observations,
y k ( j ) = H k ( m k 1 ( j ) ) + ϵ k ( j ) , ϵ k ( j ) N ( 0 , R k ) ,
where R k is the observation error covariance and the perturbation avoids ensemble collapse.
2. Analysis step. Compute the ensemble mean and covariance,
P m y = 1 N e 1 j = 1 N e m k 1 ( j ) m ¯ k y k ( j ) y ¯ k T , P y y = 1 N e 1 j = 1 N e y k ( j ) y ¯ k y k ( j ) y ¯ k T .
where
m ¯ k = 1 N e j = 1 N e m k 1 ( j ) , y ¯ k = 1 N e j = 1 N e y k ( j ) .
Apply covariance localization by Schur product with a compactly supported correlation matrix C ,
P m y loc = C P m y , P y y loc = C obs P y y .
The matrix C in the Hadamard product C P m y is a compactly supported correlation matrix that implements covariance localization. Its entry C i j encodes the presumed correlation between the i-th state variable and the j-th observation, and is defined as a function of their spatial separation
C i j = ρ x i state x j obs L ,
where x i state is the spatial coordinate associated with the i-th component of the state vector, x j obs is the location of the j-th observation, L is the localization radius, and ρ ( · ) is a positive definite function with compact support[41,42,43]. Similarly, C obs is defined for observation–observation pairs and enters the Hadamard product with P y y .
The purpose of localization is to suppress spurious long-range correlations that arise from sampling error when the ensemble size is much smaller than the state dimension. Without localization, the sample cross-covariance P m y contains non-negligible entries between distant locations, causing the analysis to update parameters using observations that are physically unrelated. The Hadamard product attenuates these entries proportionally to distance, retaining only those correlations that are physically plausible. This operation is standard in ensemble-based data assimilation for high-dimensional geophysical problems [42,43].
The Kalman gain is then given by
K k = P m y loc P y y loc + R k 1 .
3. Update each ensemble member.
m k ( j ) = m k 1 ( j ) + K k y k obs y k ( j ) .
4. Inflation. To prevent underestimation of spread, multiplicative inflation is applied after each analysis:
m k ( j ) m ¯ k + γ m k ( j ) m ¯ k ,
with γ [ 1 , 1.05 ] tuned heuristically[37,44].
5. Iteration. Advance to the next assimilation window and repeat until all observations have been assimilated.
The assimilation proceeds sequentially over disjoint time windows [ t k 1 , t k ] , k = 1 , , N t . Within each window, the forward model is integrated from the initial condition inherited from the previous analysis step, using the most recently updated parameter fields. At the end of the window, the EnKF analysis updates both the parameter fields and the state variables, which then serve as the initial condition for the next window. This procedure assumes that the hydraulic parameters are time-invariant over the assimilation period, which is standard for unsaturated zone inverse problems.
The EnKF simultaneously updates the ln K s field and the KL coefficient fields, thereby learning a spatially heterogeneous relative permeability that can deviate from the VGM prediction wherever the data demand it. The KL truncation level m controls the flexibility of the model and is determined prior to inversion based on the prior spectrum.

4.2.3. Synthetic Experiments

To validate the proposed EnKF-based inversion strategy, synthetic experiments are conducted. A reference parameter field, denoted by K true ( x , ϕ ) , is first prescribed. The forward Richards solver is then invoked to generate the corresponding pressure head field ϕ true ( x , t ) . Observations are extracted at selected locations and time instants, and corrupted with additive Gaussian noise to mimic measurement errors,
y j obs = ϕ true ( x j obs , t k ) + ϵ j , ϵ j N ( 0 , σ obs 2 ) .
The EnKF procedure described in Section 4.2.2 is then applied to estimate ln K s ( x ) and { α i ( x ) } i = 1 m from these synthetic observations. The quality of the inversion is assessed by comparing the estimated fields against the reference via root-mean-square error (RMSE) and correlation coefficient. This workflow allows a controlled evaluation of the inversion performance under various scenarios, including different observation densities, noise levels, and prior specifications.

5. Conclusions

We have established a unified framework linking the successive linear estimator (SLE) and the extended Kalman filter (EKF) for hydraulic conductivity estimation in groundwater flow. Starting from the least-squares formulation of the Kalman filter, we showed that the SLE update—traditionally derived from geostatistical principles—can be reinterpreted as an EKF correction step applied to a static parameter estimation problem, with the co-kriging estimate supplying the initial prior and the sensitivity matrix serving as the linearized observation operator. This equivalence places the SLE within the broader context of recursive Bayesian estimation and provides a rigorous foundation for its extension beyond the saturated steady-state setting.
Building on this equivalence, we extended the EKF framework to unsaturated flow governed by the transient Richards equation. Two complementary strategies were developed. The first strategy employs a low-dimensional basis expansion for the saturated conductivity field and applies an iterated EKF with inner–outer loop convergence criteria to assimilate spatiotemporal head observations. The second strategy adopts the ensemble Kalman filter (EnKF) to circumvent the explicit Jacobian computation required by the EKF, enabling direct estimation of the saturated conductivity on the full computational grid while representing the relative permeability through a KL expansion that allows data-driven deviations from the van Genuchten–Mualem baseline. Covariance localization and multiplicative inflation are incorporated to mitigate sampling errors inherent in finite-size ensembles.
Several methodological issues remain open. First, the choice between the EKF-based and EnKF-based strategies involves a trade-off between computational cost, scalability, and the ability to handle strong nonlinearity. The EKF route is more efficient for low-dimensional parameterizations but requires an adjoint solver; the EnKF route avoids the adjoint but demands careful tuning of localization radius, inflation factor, and ensemble size. Second, the KL expansion for the relative permeability relies on a prescribed covariance kernel whose parameters (variance and correlation length) are themselves uncertain and may benefit from hierarchical Bayesian treatment. Third, the current framework treats the van Genuchten–Mualem parameters as fixed; joint estimation of these parameters alongside the conductivity field warrants further investigation. Fourth, pressure head observations alone may not fully constrain the unsaturated conductivity, suggesting that additional data types—such as flux measurements or soil moisture profiles—should be incorporated in future work.
Future work will focus on numerical evaluation of the proposed framework using both synthetic and field-scale datasets, including a systematic comparison of the two strategies in terms of accuracy, robustness, and computational efficiency.

Acknowledgments

Jun Li’s work is partially supported by the National Natural Science Foundation of China 11971247, Key Project of the 2025 Tianjin Higher Education Institution Graduate Education Reform Program (Project No. TJYGD25044). Yonghong Hao’s work is partially supported by the National Natural Science Foundation of China 42577059.

Appendix A. Discussion on Observable Quantities for Unsaturated Zone Inversion

It should be noted that the inversion of K ( x , ϕ ) from pressure head observations alone remains ill-posed even with the KL regularization[45,46,47]. Additional information, such as flux measurements (e.g., infiltration rates, evaporation fluxes, or drainage outflow), can significantly reduce the non-uniqueness[48,49,50]. In the laboratory, fluxes are routinely measurable via lysimeters or flow meters. In the field, point-scale flux measurements are possible with permeameters, while catchment-scale fluxes can be estimated from streamflow records or baseflow separation techniques[51,52,53]. In numerical experiments, synthetic flux data can be generated to assess their impact on the inversion quality, but the practical feasibility of flux measurements in the field depends on the spatial scale and site accessibility.
While numerical solvers can generate arbitrarily dense observations for testing purposes, practical field campaigns are limited to measurements that are technically feasible and economically viable. Typical measurable quantities include pressure head (tensiometers), water content (time-domain reflectometry, neutron probes), and occasionally matric potential (heat dissipation sensors). Direct flux measurements remain challenging at the field scale[54].

References

  1. Bear, Jacob. Dynamics of fluids in porous media; Courier Corporation, 2013. [Google Scholar]
  2. Dagan, Gedeon. Flow and transport in porous formations; Springer Science & Business Media, 2012. [Google Scholar]
  3. Carrera, Jesus; Neuman, Shlomo P. Estimation of aquifer parameters under transient and steady state conditions: 1. maximum likelihood method incorporating prior information. Water Resour. Res. 1986, 22, 199–210. [Google Scholar]
  4. Carrera, Jesus; Neuman, Shlomo P. Estimation of aquifer parameters under transient and steady state conditions: 2. uniqueness, stability, and solution algorithms. Water Resour. Res. 1986, 22, 211–227. [Google Scholar] [CrossRef]
  5. McLaughlin, Dennis; Townley, Lloyd R. A reassessment of the groundwater inverse problem. Water Resour. Res. 1996, 32, 1131–1161. [Google Scholar] [CrossRef]
  6. Kitanidis, Peter K. Introduction to Geostatistics: Applications in Hydrogeology; Cambridge University Press: Cambridge, 1997. [Google Scholar]
  7. Zhang, Dongxiao. Stochastic Methods for Flow in Porous Media: Coping with Uncertainties; Academic Press: San Diego, 2002. [Google Scholar]
  8. Richards, L. A. Capillary conduction of liquids through porous mediums. Physics 1931, 1, 318–333. [Google Scholar] [CrossRef]
  9. Mualem, Yechezkel. A new model for predicting the hydraulic conductivity of unsaturated porous media. Water Resour. Res. 1976, 12, 513–522. [Google Scholar] [CrossRef]
  10. van Genuchten, M. Th. A closed-form equation for predicting the hydraulic conductivity of unsaturated soils. Soil Sci. Soc. Am. J. 1980, 44, 892–898. [Google Scholar] [CrossRef]
  11. Russo, David. Determining soil hydraulic properties by parameter estimation: On the selection of a model for the hydraulic properties. Water Resour. Res. 1988, 24, 453–459. [Google Scholar] [CrossRef]
  12. Matheron, Georges. Principles of geostatistics. Econ. Geol. 1963, 58, 1246–1266. [Google Scholar] [CrossRef]
  13. Journel, Andre G.; Huijbregts, Charles J. Mining Geostatistics; Academic Press: London, 1978. [Google Scholar]
  14. Myers, Donald E. Matrix formulation of co-kriging. Math. Geol. 1982, 14, 249–257. [Google Scholar] [CrossRef]
  15. Myers, Donald E. Co-kriging: New developments. In Geostatistics for Natural Resources Characterization; Verly, Georges, David, Michel, Journel, Andre G., Marechal, Alain, Eds.; D. Reidel: Dordrecht, 1984; pp. pages 295–305. [Google Scholar]
  16. Cressie, Noel A. C. Statistics for Spatial Data; Wiley, 1993. [Google Scholar]
  17. Goovaerts, Pierre. Geostatistics for Natural Resources Evaluation; Oxford University Press: New York, 1997. [Google Scholar]
  18. Chiles, Jean-Paul; Delfiner, Pierre. Geostatistics: Modeling Spatial Uncertainty, 2 edition; Wiley: Hoboken, NJ, 2012. [Google Scholar]
  19. Yeh, T-C Jim; Jin, Minghui; Hanna, Samuel. An iterative stochastic inverse method: Conditional effective transmissivity and hydraulic head fields. Water Resour. Res. 1996, 32, 85–92. [Google Scholar] [CrossRef]
  20. Tso, Chak-Hau Michael; Zha, Yuanyuan; Yeh, Tian-Chyi Jim; Wen, Jet-Chau. The relative importance of head, flux, and prior information in hydraulic tomography analysis. Water Resour. Res. 2016, 52, 3–20. [Google Scholar] [CrossRef]
  21. Xiang, Jianwei; Yeh, Tian-Chyi J.; Lee, Cheng-Haw; Hsu, Kuo-Chin; Wen, Jet-Chau. A simultaneous successive linear estimator and a guide for hydraulic tomography analysis. Water Resour. Res. 2009, 45. [Google Scholar] [CrossRef]
  22. Yeh, T.-C. Jim; Liu, Shuyun. Hydraulic tomography: Development of a new aquifer test method. Water Resour. Res. 2000, 36, 2095–2105. [Google Scholar] [CrossRef]
  23. Zha, Yuanyuan; Yeh, Tian-Chyi J.; Illman, Walter A.; Onoe, Hironori; Mok, Chin Man W.; Wen, Jet-Chau; Huang, Shao-Yang; Wang, Wenke. Incorporating geologic information into hydraulic tomography: A general framework based on geostatistical approach. Water Resour. Res. 2017, 53, 2850–2876. [Google Scholar] [CrossRef]
  24. Zha, Yuanyuan; Yeh, Tian-Chyi Jim; Mao, Deqiang; Yang, Jinzhong; Lu, Wenxi. Usefulness of flux measurements during hydraulic tomographic survey for mapping hydraulic conductivity distribution in a fractured medium. Adv. Water Resour. 2014, 71, 162–176. [Google Scholar] [CrossRef]
  25. Zha, Yuanyuan; Yeh, Tian-Chyi J.; Illman, Walter A.; Zeng, Wenzhi; Zhang, Yonggen; Sun, Fangqiang; Shi, Liangsheng. A reduced-order successive linear estimator for geostatistical inversion and its application in hydraulic tomography. Water Resour. Res. 2018, 54, 1616–1632. [Google Scholar] [CrossRef]
  26. Zhu, Junfeng; Yeh, Tian-Chyi J. Characterization of aquifer heterogeneity using transient hydraulic tomography. Water Resour. Res. 2005, 41. [Google Scholar] [CrossRef]
  27. Zhu, Junfeng; Yeh, Tian-Chyi J. Analysis of hydraulic tomography using temporal moments of drawdown recovery data. Water Resour. Res. 2006, 42. [Google Scholar] [CrossRef]
  28. Kalman, R. E. A new approach to linear filtering and prediction problems. J. Basic Eng. 1960, 82, 35–45. [Google Scholar] [CrossRef]
  29. Kalman, R. E.; Bucy, R. S. New results in linear filtering and prediction theory. J. Basic Eng. 1961, 83, 95–108. [Google Scholar] [CrossRef]
  30. Jazwinski, Andrew H. Stochastic Processes and Filtering Theory; Academic Press: New York, 1970. [Google Scholar]
  31. Gelb, Arthur (Ed.) Applied Optimal Estimation; MIT Press: Cambridge, MA, 1974. [Google Scholar]
  32. Anderson, Brian D. O.; Moore, John B. Optimal Filtering; Prentice-Hall: Englewood Cliffs, NJ, 1979. [Google Scholar]
  33. Julier, Simon J; Uhlmann, Jeffrey K. New extension of the kalman filter to nonlinear systems. In Signal processing, sensor fusion, and target recognition VI; Spie, 1997; volume 3068, pp. 182–193. [Google Scholar]
  34. Simon, Dan. Optimal State Estimation: Kalman, H Infinity, and Nonlinear Approaches; Wiley: Hoboken, NJ, 2006. [Google Scholar]
  35. Evensen, Geir. Sequential data assimilation with a nonlinear quasi-geostrophic model using monte carlo methods to forecast error statistics. J. Geophys. Res. Ocean. 1994, 99, 10143–10162. [Google Scholar] [CrossRef]
  36. Chen, Yan; Zhang, Dongxiao. Data assimilation for transient flow in geologic formations via ensemble kalman filter. Adv. Water Resour. 2006, 29, 1107–1122. [Google Scholar] [CrossRef]
  37. Hendricks Franssen, Harrie-Jan; Kinzelbach, Wolfgang. Real-time groundwater flow modeling with the ensemble kalman filter: Joint estimation of states and parameters and the filter inbreeding problem. Water Resour. Res. 2008, 44, W09408. [Google Scholar] [CrossRef]
  38. Emerick, Alexandre A.; Reynolds, Albert C. Ensemble smoother with multiple data assimilation. Comput. Geosci. 2013, 55, 3–15. [Google Scholar] [CrossRef]
  39. Cressie, Noel. The origins of kriging. Math. Geol. 1990, 22, 239–252. [Google Scholar] [CrossRef]
  40. Bell, B.M.; Cathey, F.W. The iterated kalman filter update as a gauss-newton method. IEEE Trans. Autom. Control 1993, 38, 294–297. [Google Scholar] [CrossRef]
  41. Gaspari, Gregory; Cohn, Stephen E. Construction of correlation functions in two and three dimensions. Q. J. R. Meteorol. Soc. 1999, 125, 723–757. [Google Scholar] [CrossRef]
  42. Houtekamer, P. L.; Mitchell, Herschel L. A sequential ensemble kalman filter for atmospheric data assimilation. Mon. Weather Rev. 2001, 129, 123–137. [Google Scholar] [CrossRef]
  43. Hamill, Thomas M.; Whitaker, Jeffrey S.; Snyder, Chris. Distance-dependent filtering of background error covariance estimates in an ensemble kalman filter. Mon. Weather Rev. 2001, 129, 2776–2790. [Google Scholar] [CrossRef]
  44. Anderson, Jeffrey L.; Anderson, Stephen L. A monte carlo implementation of the nonlinear filtering problem to produce ensemble assimilations and forecasts. Mon. Weather Rev. 1999, 127, 2741–2758. [Google Scholar] [CrossRef]
  45. Kool, J. B.; Parker, J. C.; van Genuchten, M. Th. Parameter estimation for unsaturated flow and transport models: A review. J. Hydrol. 1987, 91, 255–293. [Google Scholar] [CrossRef]
  46. Kool, J. B.; Parker, J. C. Analysis of the inverse problem for transient unsaturated flow. Water Resour. Res. 1988, 24, 817–830. [Google Scholar] [CrossRef]
  47. Yeh, William W-G. Review of parameter identification procedures in groundwater hydrology: The inverse problem. Water Resour. Res. 1986, 22, 95–108. [Google Scholar] [CrossRef]
  48. Šimůnek, J.; van Genuchten, M. Th. Estimating unsaturated soil hydraulic properties from tension disc infiltrometer data by numerical inversion. Water Resour. Res. 1996, 32, 2683–2696. [Google Scholar] [CrossRef]
  49. Eching, S. O.; Hopmans, J. W. Optimization of hydraulic functions from transient outflow and soil water pressure data. Soil Sci. Soc. Am. J. 1993, 57, 1167–1175. [Google Scholar] [CrossRef]
  50. Russo, D.; Bresler, E.; Shani, U.; Parker, J. C. Analysis of infiltration events in relation to determining soil hydraulic properties by inverse problem methodology. Water Resour. Res. 1991, 27, 1361–1373. [Google Scholar] [CrossRef]
  51. Reynolds, W. D.; Elrick, D. E. In situ measurement of field-saturated hydraulic conductivity, sorptivity, and the A parameter using the Guelph permeameter. Soil Sci. 1985, 140, 292–302. [Google Scholar] [CrossRef]
  52. Nathan, R. J.; McMahon, T. A. Evaluation of automated techniques for base flow and recession analyses. Water Resour. Res. 1990, 26, 1465–1473. [Google Scholar] [CrossRef]
  53. Arnold, J. G.; Allen, P. M.; Muttiah, R.; Bernhardt, G. Automated base flow separation and recession analysis techniques. Groundwater 1995, 33, 1010–1018. [Google Scholar] [CrossRef]
  54. Gardner, W. R. Some steady-state solutions of the unsaturated moisture flow equation with application to evaporation from a water table. Soil Sci. 1958, 85, 228–232. [Google Scholar] [CrossRef]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.
Prerpints.org logo

Preprints.org is a free preprint server supported by MDPI in Basel, Switzerland.

Subscribe

© 2026 MDPI (Basel, Switzerland) unless otherwise stated

Accessibility

Disclaimer

Terms of Use

Privacy Policy

Privacy Settings