A Framework for Adaptive Inflation and Covariance Localization for Ensemble Filters
Ahmed Attia 1 Emil Constantinescu 12
1Mathematics and Computer Science Division (MCS), Argonne National Laboratory (ANL) 2The University of Chicago, Chicago, IL
A Framework for Adaptive Inflation and Covariance Localization for - - PowerPoint PPT Presentation
A Framework for Adaptive Inflation and Covariance Localization for Ensemble Filters Ahmed Attia 1 Emil Constantinescu 12 1 Mathematics and Computer Science Division (MCS), Argonne National Laboratory (ANL) 2 The University of Chicago, Chicago, IL
1Mathematics and Computer Science Division (MCS), Argonne National Laboratory (ANL) 2The University of Chicago, Chicago, IL
Adaptive Inflation and Localization [1/36] September 14, 2018: SIAM-MPE 18; Ahmed Attia.
Adaptive Inflation and Localization Ensemble Filtering [2/36] September 14, 2018: SIAM-MPE 18; Ahmed Attia.
◮ Initialize: an analysis ensemble {xa k−1(e)}e=1,...,Nens at tk−1 ◮ Forecast: use the discretized model Mtk−1→tk to generate a forecast ensemble at tk:
k(e) = Mtk−1→tk (xa k−1(e)) + ηk(e),
◮ Forecast/Prior statistics:
k =
Nens
k(e)
k
k
k = [xb k(1) − xb k, . . . , xb k(Nens) − xb k] Model State Time
!"#$
Initial/Analysis Ensemble ~ &' ("#$ Model State
Forward Model !"#$%,→ "#
Time
"# "#(%
Forecast/Background Ensemble ~ *+ ,# Model State
Forward Model !"#$%,→ "#
Time
"# "#(%
Forecast/Background Ensemble ~ *+ ,#
Adaptive Inflation and Localization Ensemble Filtering [3/36] September 14, 2018: SIAM-MPE 18; Ahmed Attia.
◮ Given an observation yk at time tk ◮ Analysis: sample the posterior (EnKF update)
k
k + Rk
k(e) = xb k(e) + Kk
k(e)) ◮ The posterior (analysis) error covariance matrix:
k
kR−1Hk
Model State
Forward Model !"#$%,→ "#
Observation & Likelihood Time
"#(% "#
Observation: )#; Likelihood: * )#|,# Model State
Forward Model !"#$%,→ "#
Corrected Model State (Analysis) Time
"#(% "#
Observation & Likelihood Analysis Ensemble ~ *+ ,# Model State
Forward Model !"#$%,→ "#
Corrected Model State (Analysis) Time
"#(% "#
Observation & Likelihood Analysis Ensemble ~ *+ ,#
Adaptive Inflation and Localization Ensemble Filtering [4/36] September 14, 2018: SIAM-MPE 18; Ahmed Attia.
◮ Limited-size ensemble results in sampling errors, explained by:
◮ EnKF requires inflation & localization
Model State
Forward Model !"#$%,→ "#
Corrected Model State (Analysis) Time
"#(% "#
Observation & Likelihood
"#)%
Assimilation Cycle
Forward Model !"#,→ "#*%
Analysis Ensemble ~ ,- .# Sequentially Repeat the Assimilation Cycle Model State
Forward Model !"#$%,→ "#
Corrected Model State (Analysis) Time
"#(% "#
Observation & Likelihood
"#)%
Assimilation Cycle
Forward Model !"#,→ "#*%
Analysis Ensemble ~ ,- .# Sequentially Repeat the Assimilation Cycle
Adaptive Inflation and Localization Ensemble Filtering [5/36] September 14, 2018: SIAM-MPE 18; Ahmed Attia.
◮ Covariance underestimation in EnKF is counteracted, by applying covariance inflation:
◮ Long-range spurious correlations are reduced by covariance localization (e.g., Schur-product)
Adaptive Inflation and Localization Ensemble Filtering [6/36] September 14, 2018: SIAM-MPE 18; Ahmed Attia.
◮ Additive Inflation:
i ≤ λi ≤ λu ◮ Multiplicative Inflation:
i=1
i,
1 2 Xb ,
1 2 BD 1 2 . ◮ The inflated Kalman gain
Adaptive Inflation and Localization Ensemble Filtering [7/36] September 14, 2018: SIAM-MPE 18; Ahmed Attia.
◮ space-independent covariance localization:
◮ Entries of C are created using space-dependent localization functions †:
ρi,j(L) =
− 1
4
L
+ 1
2
L
+ 5
8
L
− 5
3
L
+ 1 , 0 ≤ d(i, j) ≤ L
1 12
L
− 1
2
L
+ 5
8
L
+ 5
3
L
− 5 d(i,j)
L
3
d(i,j)
L ≤ d(i, j) ≤ 2L 0 . 2L ≤ d(i, j)
Adaptive Inflation and Localization Ensemble Filtering [8/36] September 14, 2018: SIAM-MPE 18; Ahmed Attia.
◮ Space-dependent radii, i.e., L ≡ L(i, j): we need to define localization kernel C
1 2 (Cr + Cc) = 1 2 ρi,j(li) + ρi,j(lj) i,j=1,2,...,Nstate
i,j=1,2,...,Nstate
i,j=1,2,...,Nstate 1 2 (Cd + Cu) = 1 2 ρi,j(lmin (i,j)) + ρi,j(lmax (i,j)) i,j=1,2,...,Nstate
◮ We focus here on the symmetric kernel:
Adaptive Inflation and Localization Ensemble Filtering [9/36] September 14, 2018: SIAM-MPE 18; Ahmed Attia.
◮ Localization in observation space (R−localization): ◮ HB is replaced with ”
i,j
◮ HBHT can be replaced with HBHT
i,j
i,j
i,j is calculated between the ith and jth observation grid points. ◮ Assign radii to state grid points vs. observation grid points:
Adaptive Inflation and Localization Ensemble Filtering [10/36] September 14, 2018: SIAM-MPE 18; Ahmed Attia.
◮ Tuning the inflation parameter/factors λ
◮ Tuning the localization radii of influence L
Adaptive Inflation and Localization Ensemble Filtering [11/36] September 14, 2018: SIAM-MPE 18; Ahmed Attia.
Adaptive Inflation and Localization Optimal Experimental Design [12/36] September 14, 2018: SIAM-MPE 18; Ahmed Attia.
λ∈RNstate
◮ ΨOED(w) is the specific design criterion ◮ For sensor placement, the design decides which sensors to activate ◮ The optimal design minimizes the uncertainty in the posterior state ◮ OED famous criteria:
◮ Φ(λ) : RNs + → [0, ∞) is a regularization function (e.g.,ℓ1, ℓ0, etc.) ◮ α > 0 is a user-defined penalty parameter that controls the sparsity of the design Adaptive Inflation and Localization Optimal Experimental Design [13/36] September 14, 2018: SIAM-MPE 18; Ahmed Attia.
Adaptive Inflation and Localization OED Inflation & Localization [14/36] September 14, 2018: SIAM-MPE 18; Ahmed Attia.
λ∈RNstate
i ≤ λi ≤ λu i ,
◮ Let H = H = I with uncorrelated observation noise, the design criterion becomes:
Nstate
i
i
i
◮ Decreasing λi reduces ΨInfl, i.e. the optimizer will always move toward λl Adaptive Inflation and Localization OED Inflation & Localization [15/36] September 14, 2018: SIAM-MPE 18; Ahmed Attia.
◮ The design criterion:
◮ The gradient:
Nstate
i
i (z1 − z2 − z3 + z4)
Adaptive Inflation and Localization OED Inflation & Localization [16/36] September 14, 2018: SIAM-MPE 18; Ahmed Attia.
L∈RNstate
i ≤ li ≤ lu i ,
◮ The design criterion:
◮ The gradient:
Nstate
i ⊙
iB
Adaptive Inflation and Localization OED Inflation & Localization [17/36] September 14, 2018: SIAM-MPE 18; Ahmed Attia.
◮ So far, we assumed full state-space formulation, i.e. L ∈ RNstate
◮ Pros:
◮ Cons:
◮ Alternative: observation-space formulation:
Adaptive Inflation and Localization OED Inflation & Localization [18/36] September 14, 2018: SIAM-MPE 18; Ahmed Attia.
◮ Assume L ∈ RNobs is attached to observation grid points ◮ HB is replaced with ”
i,j (li)
◮ HBHT can be replaced with ’
r + Co c
i,j (li) + ρo|o i,j (lj) i,j=1,2,...,Nstate ◮ Localized posterior covariances: ◮ Localize HB:
T
◮ Localize both HB and HBHT:
T Ä
Adaptive Inflation and Localization OED Inflation & Localization [19/36] September 14, 2018: SIAM-MPE 18; Ahmed Attia.
◮ The design criterion:
T
◮ The gradient:
Nobs
HB,i ψi
T
i
iHB
i =
Adaptive Inflation and Localization OED Inflation & Localization [20/36] September 14, 2018: SIAM-MPE 18; Ahmed Attia.
◮ The design criterion:
TÄ
◮ The gradient:
Nobs
i − 2 lT HB,i
i
i = ”
TÄ
i = lo B,i
B,i =
i
iHBHT
i =
Adaptive Inflation and Localization OED Inflation & Localization [21/36] September 14, 2018: SIAM-MPE 18; Ahmed Attia.
Adaptive Inflation and Localization Numerical Experiments [22/36] September 14, 2018: SIAM-MPE 18; Ahmed Attia.
◮ The model (Lorenz-96):
◮ Initial background ensemble & uncertainty:
◮ Observations:
◮ EnKF flavor used here: DEnKF with Gaspari-Cohn (GC) localization
https://doi.org/10.5194/gmd-2018-30, in review, 2018. Adaptive Inflation and Localization Numerical Experiments [23/36] September 14, 2018: SIAM-MPE 18; Ahmed Attia.
◮ RMSE:
Nstate
i
◮ KL-distance to uniform Rank histogram
1 2 3 4 5 0.0 0.1 0.2 0.3 0.4
Relative Frequency
β(0.45, 0.43) 2 4 6 8 10 0.00 0.05 0.10 0.15 0.20 β(2.00, 2.12) 5 10 15 0.00 0.02 0.04 0.06 0.08 0.10 β(1.11, 0.88) 5 10 15 20
Rank
0.00 0.02 0.04 0.06
Relative Frequency
β(1.27, 1.16) 10 20 30
Rank
0.00 0.02 0.04 0.06 0.08 β(0.68, 0.61) 10 20 30 40
Rank
0.00 0.01 0.02 0.03 0.04 β(2.18, 2.19)
→ The KL divergence between two Beta distributions Beta(α, β), and Beta(α′, β′):
DKL(Beta(α, β) | Beta(α′ β′)) = ln Γ(α + β) − ln(α β) − ln Γ(α′ + β′) + ln(α′ β′) + (α − α′) ψ(α) − ψ(α′) + (β − β′) ψ(β) − ψ(β′)
Γ(·) is the digamma function, i.e. the logarithmic derivative of the gamma function
Adaptive Inflation and Localization Numerical Experiments [24/36] September 14, 2018: SIAM-MPE 18; Ahmed Attia.
RMSE KL-Distance to U
100 130 160 190 220 250 280 Time (assimilation cycles) 10−1 4 × 10−2 6 × 10−2 2 × 10−1 log-RMSE Forecast OED-DEnKF (a) RMSE 10 20 Rank 0.00 0.01 0.02 0.03 0.04 0.05 Relative Frequency (b) Rank histogram
Adaptive Inflation and Localization Numerical Experiments [25/36] September 14, 2018: SIAM-MPE 18; Ahmed Attia.
100 130 160 190 220 250 280 Time (assimilation cycles) 10−1 3 × 10−2 4 × 10−2 6 × 10−2 log-RMSE Optimal DEnKF OED-DEnKF (a) RMSE; α = 0.14 10 20 Rank 0.00 0.01 0.02 0.03 0.04 0.05 Relative Frequency (b) Rank histogram; α = 0.14 100 130 160 190 220 250 280 Time (assimilation cycles) 10−1 3 × 10−2 4 × 10−2 6 × 10−2 2 × 10−1 log-RMSE Optimal DEnKF OED-DEnKF (c) RMSE; α = 0.04 10 20 Rank 0.00 0.01 0.02 0.03 0.04 0.05 Relative Frequency (d) Rank histogram; α = 0.04
Adaptive Inflation and Localization Numerical Experiments [26/36] September 14, 2018: SIAM-MPE 18; Ahmed Attia.
(a) α = 0.14
(b) α = 0.04
Adaptive Inflation and Localization Numerical Experiments [27/36] September 14, 2018: SIAM-MPE 18; Ahmed Attia.
6.4 6.6 6.8 7.0 7.2 7.4 λ1 250 260 270 280 290 300 Time
α = 0.1400, RMSE = 0.0547 α = 0.1200, RMSE = 0.0548 α = 0.2200, RMSE = 0.0552 α = 0.0900, RMSE = 0.0555 α = 0.1300, RMSE = 0.0558
0.06 0.08 0.10 0.12 0.14 0.16 0.18
Adaptive Inflation and Localization Numerical Experiments [28/36] September 14, 2018: SIAM-MPE 18; Ahmed Attia.
α = 0.1400, RMSE = 0.0547 α = 0.1200, RMSE = 0.0548 α = 0.2200, RMSE = 0.0552 α = 0.0900, RMSE = 0.0555 α = 0.1300, RMSE = 0.0558
α = 0.1400, RMSE = 0.0547 α = 0.1200, RMSE = 0.0548 α = 0.2200, RMSE = 0.0552 α = 0.0900, RMSE = 0.0555 α = 0.1300, RMSE = 0.0558
Adaptive Inflation and Localization Numerical Experiments [29/36] September 14, 2018: SIAM-MPE 18; Ahmed Attia.
Adaptive Inflation and Localization Numerical Experiments [30/36] September 14, 2018: SIAM-MPE 18; Ahmed Attia.
100 130 160 190 220 250 280 Time (assimilation cycles) 10−1 3 × 10−2 4 × 10−2 6 × 10−2 log-RMSE Optimal DEnKF OED-DEnKF (a) RMSE; γ = 0 10 20 Rank 0.00 0.02 0.04 0.06 Relative Frequency (b) Rank histogram; γ = 0 100 130 160 190 220 250 280 Time (assimilation cycles) 10−1 3 × 10−2 4 × 10−2 6 × 10−2 log-RMSE Optimal DEnKF OED-DEnKF (c) RMSE; γ = 0.001 10 20 Rank 0.00 0.02 0.04 0.06 Relative Frequency (d) Rank histogram; γ = 0.001
Adaptive Inflation and Localization Numerical Experiments [31/36] September 14, 2018: SIAM-MPE 18; Ahmed Attia.
100 130 160 190 220 250 280 Time (assimilation cycles) 10−1 4 × 10−2 6 × 10−2 log-RMSE Optimal DEnKF OED-DEnKF (a) RMSE 10 20 Rank 0.00 0.01 0.02 0.03 0.04 0.05 Relative Frequency (b) Rank histogram
100 140 180 220 260 300 Time (assimilation cycles) 10 20 30 State variables 5 9 13 17
(a) γ = 0.0
100 140 180 220 260 300 Time (assimilation cycles) 10 20 30 State variables 5 9 13 17
(b) γ = 0.001
100 140 180 220 260 300 Time (assimilation cycles) 10 20 30 State variables 1
(c) γ = 0.04
Adaptive Inflation and Localization Numerical Experiments [32/36] September 14, 2018: SIAM-MPE 18; Ahmed Attia.
Adaptive Inflation and Localization Numerical Experiments [33/36] September 14, 2018: SIAM-MPE 18; Ahmed Attia.
Adaptive Inflation and Localization Numerical Experiments [34/36] September 14, 2018: SIAM-MPE 18; Ahmed Attia.
10 20 30 40 50 60 L2 250 260 270 280 290 300 Time
γ = 0.0000, RMSE = 0.0569 γ = 0.0010, RMSE = 0.0613 γ = 0.0020, RMSE = 0.0630 γ = 0.0030, RMSE = 0.0685 γ = 0.0040, RMSE = 0.0743
0.15 0.20 0.25 0.30 0.35 0.40 0.45 0.50 0.55
Adaptive Inflation and Localization Numerical Experiments [35/36] September 14, 2018: SIAM-MPE 18; Ahmed Attia.
◮ Introduced an OED approach for adaptive inflation and localization ◮ Either A-OED inflation or localization is carried out each cycle ◮ Can create a weighted objective to account for both inflation and localization ◮ Regularization is a must for adaptive inflation ◮ Regularization may not be needed, in general, for adaptive localization ◮ Definiteness of the localization Kernel D ◮ Regularization norm ◮ Other OED criteria; e.g., D-optimality ◮ Adaptive Bayesian A-OED!
Adaptive Inflation and Localization Numerical Experiments [36/36] September 14, 2018: SIAM-MPE 18; Ahmed Attia.