Algorithm Search⌘K

Techniquecore

Covariance inflation

Also called multiplicative inflation.

Enlarges the ensemble spread by a factor or by added noise to offset the underestimated error from sampling and model error.

Covariance inflation makes the spread of an ensemble larger before or after an analysis. An ensemble filter such as the ensemble Kalman filter uses the sample covariance of a few members as the error covariance of its forecast. With few members this covariance is usually too small, and a model with errors makes it smaller still. A filter that believes its forecast too much gives the observations too little weight and can lose the truth. Inflation corrects this in one of three ways: it multiplies the perturbations by a factor, it adds random noise to the members, or it moves the analysis perturbations back towards the forecast perturbations. The factors are tuned in experiments or estimated from the observations.

In plain words

An ensemble says how unsure the forecast is by how much its members differ. A small ensemble is often too sure of itself. Then the filter trusts the forecast and ignores new observations, and the error grows without the filter noticing. Inflation spreads the members a little further apart, so the filter keeps listening to the data. You can stretch the members away from their mean, add a little noise to each one, or undo part of the shrinking that the analysis did. How much to inflate is found by trial, or from how far the observations are from the forecast.

When it applies

  • An ensemble filter or smoother with fewer members than the number of growing directions of the model.
  • A model with errors that the ensemble does not simulate, so the forecast spread is smaller than the forecast error.
  • The analysis RMSE is much larger than the ensemble spread, or the spread falls to near zero after many cycles while the error does not.
  • A filter that diverges: the gain goes to zero and the analysis stops following the observations.

The template

xˉ\bar x is the ensemble mean, xi′=xi−xˉx_i' = x_i - \bar x the perturbation of member ii, and σj\sigma_j the ensemble standard deviation of variable jj. The holes are the factor λ\lambda, the additive covariance QQ and the relaxation weight α\alpha. In the notation of Ide, Courtier, Ghil and Lorenc (1997), ff marks the forecast and aa the analysis.

  1. CYCLE(x_1..x_N)
  2. 1x_i <- M(x_i) for each member ▷ forecast
  3. 2multiplicative: x_i <- xbar + lambda (x_i - xbar) ▷ hole: lambda >= 1
  4. 3additive: x_i <- x_i + q_i, q_i ~ N(0, Q) ▷ hole: Q
  5. 4x^a_i <- ANALYSIS(x_i, y^o) ▷ any ensemble filter
  6. 5RTPP: x'^a_i <- (1 - alpha) x'^a_i + alpha x'^f_i ▷ hole: alpha in [0, 1]
  7. 6RTPS: x'^a_i <- x'^a_i (1 + alpha (sigma^f - sigma^a) / sigma^a), for each variable

A filter uses one or two of lines L2, L3, L5 and L6, not all of them.

  • Line L2 (multiplicative). The mean stays the same and the sample covariance becomes λ2Pf\lambda^2P^f. All correlations stay the same. This page writes λ\lambda for the factor on the perturbations and ρ=λ2\rho = \lambda^2 for the factor on the covariance. The filter pages of this site, for example the ETKF, use ρ\rho, the factor on the covariance. Papers use both conventions, so check which one a stated value means.
  • Line L3 (additive). In expectation the sample covariance becomes Pf+QP^f + Q, because the noise is independent of the members. The mean also moves, by noise with the covariance Q/NQ/N. QQ can have a structure, for example the differences between model states, and so add spread in directions that the ensemble does not have.
  • Line L5 (relaxation to prior perturbations, RTPP). The analysis perturbations are mixed with the forecast perturbations, member by member. The mean stays the analysis mean. With α=1\alpha = 1 the spread is not reduced at all.
  • Line L6 (relaxation to prior spread, RTPS). For each variable, the analysis perturbations are scaled so that the new standard deviation is (1−α)σa+ασf(1 - \alpha)\sigma^a + \alpha\sigma^f. The correlations of the analysis stay the same. Where the observations reduced the spread most, the inflation is largest.

Adaptive inflation. If the forecast mean has the error covariance ρHPfH⊤\rho HP^fH^\top in observation space and the observation errors are independent of it with the covariance RR, the innovation d=yo−Hxˉfd = y^o - H\bar x^f has E[dd⊤]=ρHPfH⊤+R\mathbb E[dd^\top] = \rho HP^fH^\top + R for a linear HH. Take the trace:

ρ≈d⊤d−tr⁡Rtr⁡(HPfH⊤).\rho \approx \frac{d^\top d - \operatorname{tr}R}{\operatorname{tr}(HP^fH^\top)}.

Li, Kalnay and Miyoshi (2009) estimate the factor from these statistics, together with the observation errors, and average the noisy values over time. Anderson (2007) treats the factor as a random variable and updates its distribution with the observations at each time. Anderson (2009) gives each state variable its own factor.

A worked example. Take the random walk xt+1=xt+wtx_{t+1} = x_t + w_t with wt∼N(0,1/2)w_t \sim N(0, 1/2), observed with H=1H = 1 and R=1R = 1 at every step. The Kalman filter reaches a steady state with Pf=Pa+1/2P^f = P^a + 1/2 and Pa=Pf/(Pf+1)P^a = P^f/(P^f + 1). These give Pf=1P^f = 1, Pa=1/2P^a = 1/2 and the gain 1/21/2. An ensemble whose model ignores wtw_t has the forecast variance Pa=1/2P^a = 1/2 instead of 11.

  • Without inflation, the variances are Pkf=1/(k+1)P^f_k = 1/(k + 1) and Pka=1/(k+2)P^a_k = 1/(k + 2) after kk analyses. The gain 1/(k+2)1/(k + 2) goes to zero. The filter then averages the observations as if the state were constant, and it does not follow the random walk.
  • Multiplicative inflation with ρ=λ2=2\rho = \lambda^2 = 2 makes the forecast variance 2⋅1/2=12 \cdot 1/2 = 1, which is the steady state of the Kalman filter.
  • Additive inflation with Q=1/2Q = 1/2 gives the same variance in expectation.
  • The adaptive estimate gives the same factor: the true forecast error variance is 11, so E[d2]=1+1=2\mathbb E[d^2] = 1 + 1 = 2 and (2−1)/(1/2)=2(2 - 1)/(1/2) = 2.

Measurements on the other pages. On the Lorenz-96 model with n=40n = 40 and N=20N = 20, the EnKF with localization half-width c=8c = 8 had the RMSE 1.4861.486 with ρ=1.02\rho = 1.02 and 0.3470.347 with ρ=1.05\rho = 1.05. Without localization the EnKF failed even with ρ=1.5\rho = 1.5, and the ETKF and the EnSRF needed ρ=1.2\rho = 1.2. So the right factor depends strongly on the ensemble size and on the localization.

Classic examples

Variations

  • Inflation of the analysis. Line L2 can be applied after the analysis instead of before. For a linear model, inflating the analysis by ρ\rho gives the same next forecast covariance as inflating that forecast by ρ\rho.
  • Spatially varying factors. A separate factor for each variable or region, as in Anderson (2009), inflates more where the observations are dense.
  • Additive inflation from model differences. Samples of differences between model states, or of model tendencies, can serve as the qiq_i when the model error has structure.
  • Combinations. Whitaker and Hamill (2012) found that RTPS together with additive inflation worked better than either method alone.

Pitfalls

  • Perturbations or covariance (line L2). A factor of 1.11.1 on the perturbations is 1.211.21 on the covariance. Mixing the two conventions changes the inflation by much more than the range of values that work.
  • Inflating twice. A factor in the transform of the ETKF and a factor on the members in the same cycle multiply. Use one place.
  • Too much inflation. A large factor gives too much weight to noisy observations and makes the analysis noisy. The RMSE grows again past the best factor.
  • Inflation of the mean (line L3). Additive noise also moves the ensemble mean. Remove the mean of the qiq_i if the mean must not change.
  • Zero spread (line L6). RTPS divides by σa\sigma^a. A variable with no spread cannot be inflated by a multiplicative method; only additive noise helps there.
  • Adaptive estimates with a wrong RR. The estimate of ρ\rho assumes that RR is right. If RR is too small, the estimate of ρ\rho is too large, which is why Li, Kalnay and Miyoshi estimate both.

References

  1. J. L. Anderson and S. L. Anderson, A Monte Carlo implementation of the nonlinear filtering problem to produce ensemble assimilations and forecasts, Monthly Weather Review 127(12) (1999) 2741-2758, the inflation of the prior ensemble about its mean
  2. F. Zhang, C. Snyder and J. Sun, Impacts of initial estimate and observation availability on convective-scale data assimilation with an ensemble Kalman filter, Monthly Weather Review 132(5) (2004) 1238-1253, the relaxation of the analysis perturbations to the prior perturbations
  3. J. S. Whitaker and T. M. Hamill, Evaluating methods to account for system errors in ensemble data assimilation, Monthly Weather Review 140(9) (2012) 3078-3089, the relaxation of the analysis spread to the prior spread, compared with additive and multiplicative inflation
  4. J. L. Anderson, An adaptive covariance inflation error correction algorithm for ensemble filters, Tellus A 59(2) (2007), the Bayesian estimate of the inflation factor from the observations at each analysis time
  5. J. L. Anderson, Spatially and temporally varying adaptive covariance inflation for ensemble filters, Tellus A 61(1) (2009) 72-83, the adaptive inflation with a separate factor for each state variable
  6. H. Li, E. Kalnay and T. Miyoshi, Simultaneous estimation of covariance inflation and observation errors within an ensemble Kalman filter, Quarterly Journal of the Royal Meteorological Society 135(639) (2009) 523-533, the estimate of the inflation factor from the observation-minus-forecast statistics, together with the observation errors
  7. K. Ide, P. Courtier, M. Ghil and A. C. Lorenc, Unified notation for data assimilation, operational, sequential and variational, Journal of the Meteorological Society of Japan 75(1B) (1997) 181-189, the notation of the data assimilation pages

About this page

The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.

LadderLevelWhat the next level needs
Human proofH0 no proof
  • add a proof in proofs/ (06.5)
LeanL0 no Lean part
  • name a Lean module in the lean field (07)
VisualV0 none
  • add viz/scene.ts or a figure (10)
WritingW3 standard
  • five exercises