Ensemble Kalman Filter

Simulation
Introduced by
Geir Evensen
Year
1994
Type
Sequential Monte Carlo data assimilation filter
Family
Data assimilation

What does it do?

The Ensemble Kalman Filter (EnKF) is a sequential Monte Carlo data assimilation algorithm introduced by Geir Evensen in 1994.

It extends the Kalman filter to nonlinear dynamical models by representing forecast error statistics with a finite ensemble of model states instead of propagating a full error covariance matrix. Observations are assimilated by computing a sample-based Kalman gain and updating each ensemble member. It is a Kalman-type method that assumes approximately Gaussian error statistics; it is not a particle filter.

The intuition behind the method

Imagine tracking a ship's position using a fleet of GPS-equipped scout boats instead of one sensor. Each scout follows the same ocean currents but starts from a slightly different position, naturally spreading out to reflect uncertainty. When a satellite fixes a waypoint, each scout corrects its own trajectory proportionally to how trustworthy the fix is compared to how spread-out the fleet already is. The collective average gives the best position estimate, and the fleet's spread continues to represent remaining uncertainty, all without ever storing a single giant error matrix.

History

Geir Evensen introduced the Ensemble Kalman Filter in 1994 (evensen1994). The paper proposed forecasting error statistics by Monte Carlo sampling as an alternative to solving the error covariance equation of the extended Kalman filter. That equation was computationally demanding, and its overly simplified closure caused unbounded error growth, which made the extended Kalman filter hard to apply to realistic nonlinear ocean models. The 1994 study applied the method to a nonlinear quasi-geostrophic model, and noted that open boundaries can be handled as long as the ocean model is well posed.

When to use it

Choose the EnKF when the state is high-dimensional (thousands to millions of variables), the forward model is nonlinear and cannot practically be linearised for an extended Kalman filter, and observations arrive sequentially and must be assimilated repeatedly. The method is derived under approximately Gaussian error statistics and requires the ensemble to be large enough to represent the leading error directions. Small ensembles usually need localization and multiplicative inflation (see limitations). Do not choose it when the posterior is clearly non-Gaussian or multimodal; a particle filter is the usual alternative there. For moderate-dimensional nonlinear problems, the Unscented Kalman Filter is another option. The update shown in the mechanics assumes a linear observation operator H.

Limitations and considerations

  • The analysis assumes approximately Gaussian error statistics, so estimates are biased when the true posterior is strongly non-Gaussian or multimodal.
  • With N members the sample covariance has rank at most N-1; for small ensembles this produces spurious long-range correlations unless localization is applied.
  • Localization and multiplicative inflation are tuning choices the method does not determine itself. Localization tapers or cuts sample covariances beyond a chosen distance or region to suppress spurious long-range correlations; multiplicative inflation scales ensemble deviations by a factor slightly above one to counteract underestimated spread. Their settings are problem-specific and add implementation effort and sensitivity to tuning.
  • Stochastic perturbations of observations add sampling noise to the analysis. Deterministic square-root variants, developed in later work, update the ensemble without perturbing observations.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Propagates forecast error statistics through the full nonlinear model, so no linearisation of the model is required, in contrast to the extended Kalman filter.
  • Avoids storing and evolving an explicit error covariance matrix; the ensemble stands in for it. The original paper reports a computational load that is only a fraction of what the extended Kalman filter requires.
  • The ensemble spread gives an uncertainty estimate at every assimilation step without a separate calculation.
  • Each member can be integrated independently, so the forecast step parallelises across processors, a point the original paper emphasises for parallel computers and clusters of workstations.

Applications

  • Ocean state estimation with nonlinear quasi-geostrophic ocean models on large domains, the application studied in the original 1994 paper.
  • Numerical weather prediction research and some operational systems, which use ensemble Kalman-type methods to assimilate observations such as satellite radiances and radar data.
  • Subsurface reservoir characterization: later work has applied ensemble Kalman methods to update permeability and porosity fields from well production data, using the augmented-state approach described in the FAQ.
  • Hydrological model calibration through simultaneous state and parameter estimation, as described in the FAQ.

How it works

How it works

1

Each of the N ensemble members is advanced in time through the forward model M, which may be nonlinear, and independent model noise is added to each member. Because the members are propagated by the full nonlinear model, the forecast step does not require linearising the model, unlike the extended Kalman filter. The spread of the propagated members carries the forecast uncertainty forward.

Formula
\mathbf{x}_i^f = \mathcal{M}(\mathbf{x}_i^a) + \boldsymbol{\eta}_i, \quad i = 1,\ldots,N
2

The forecast error covariance P^f is estimated from the deviations of the N members around their mean, so it is never propagated as an explicit matrix. The ensemble itself stores N state vectors of length n, which takes the place of the n-by-n covariance matrix that the extended Kalman filter must evolve. The original paper ties the avoided numerical instabilities of that covariance equation to this change. Because P^f is a sample estimate built from N members, its rank is at most N-1.

Formula
\mathbf{P}^f = \frac{1}{N-1}\sum_{i=1}^{N}(\mathbf{x}_i^f - \bar{\mathbf{x}}^f)(\mathbf{x}_i^f - \bar{\mathbf{x}}^f)^\top
3

The Kalman gain K combines P^f, the observation operator H and the observation error covariance R to set how strongly observations pull the ensemble relative to the forecast. A large gain moves members strongly toward the data, which happens when the forecast spread is large relative to R. A small gain keeps more of the prior estimate.

Formula
\mathbf{K} = \mathbf{P}^f \mathbf{H}^\top (\mathbf{H}\mathbf{P}^f\mathbf{H}^\top + \mathbf{R})^{-1}
4

Each member is updated individually. Its simulated observation H x_i^f is subtracted from a perturbed observation y_i, which is the actual observation y plus a random draw from the observation error distribution, and the difference is multiplied by K. The perturbations keep the analysis spread statistically consistent with the posterior; without them the spread is underestimated. The displayed form assumes a linear observation operator H.

Formula
\mathbf{x}_i^a = \mathbf{x}_i^f + \mathbf{K}(\mathbf{y}_i - \mathbf{H}\mathbf{x}_i^f), \quad \mathbf{y}_i = \mathbf{y} + \boldsymbol{\epsilon}_i

Common pitfalls

  • Neglecting localization with small ensembles produces nonphysical long-distance correlations that corrupt the analysis.
  • Under-inflating the ensemble spread makes the filter over-trust the model, so it eventually ignores new observations (filter divergence).
  • Assimilating the observation without perturbation in the stochastic formulation underestimates the posterior variance.
  • Applying the EnKF to systems with heavy-tailed or bimodal error distributions produces biased estimates; particle filters are the usual alternative for such cases.

Frequently asked questions

How many ensemble members are typically needed?

Practical ensembles often contain tens of members, commonly between about 20 and 100 in many implementations. The adequate size depends on the effective rank of the error covariance: systems with lower intrinsic dimensionality need fewer members. Localization and inflation make it possible to work with ensembles much smaller than the state dimension, but the adequate size is problem-specific and should be tested, for example by checking how sensitive the analysis is to ensemble size.

What is the difference between the stochastic EnKF and square-root EnKF?

The stochastic EnKF perturbs each observation with random noise, which yields correct ensemble statistics in expectation but adds sampling variance to the analysis. Deterministic square-root variants, developed in later work (for example the ETKF and ESRF), update the ensemble perturbations algebraically without random observation draws, which avoids this perturbation noise.

Can EnKF be applied to parameter estimation, not just state estimation?

Yes. By augmenting the state vector with unknown model parameters and treating them as additional variables to be updated, EnKF performs simultaneous state and parameter estimation. This augmented state approach is widely used in reservoir history matching and hydrological model calibration, though it requires sufficient ensemble diversity to avoid identifiability problems when parameters are poorly constrained by observations.

Related methods

Sources

  1. Evensen, G. (1994). Sequential data assimilation with a nonlinear quasi-geostrophic model using Monte Carlo methods to forecast error statistics. Journal of Geophysical Research, 99(C5), 10143–10162.

    Open DOI reference