Ensemble Kalman Inversion for nonlinear problems: Weights, consistency, and variance bounds

Zhiyan Ding, Qin Li, Jianfeng Lu

Introduction

In the field of Bayesian inference, the primary objective is to characterize a "posterior" distribution—a mathematical representation of hidden parameters based on observed, often noisy, data. As systems grow in complexity, researchers rely on sampling algorithms to approximate these distributions. However, existing methods often force a compromise between mathematical consistency and computational efficiency.

This paper investigates the limitations of Ensemble Kalman Inversion (EnKI), a widely used sampling method, particularly its failure to provide unbiased results in nonlinear systems. To resolve this, the authors introduce Weighted Ensemble Kalman Inversion (WEnKI) and the Weighted Ensemble Square Root Filter (WEnSRF). These methods provide a theoretical bridge between Importance Sampling and Ensemble Kalman methods, ensuring unbiased sampling while maintaining stable variance.

The Sampling Spectrum: Consistency vs. Efficiency

Current sampling strategies generally fall into two categories, each with distinct drawbacks:

  1. Importance Sampling (IS): This method samples from a simpler "prior" distribution and assigns weights to particles based on their likelihood given the data. While mathematically consistent (unbiased), IS suffers from weight collapse. If the prior and posterior distributions differ significantly, the variance of the weights increases exponentially. Most particles receive negligible weights, leading to extreme inefficiency in high-dimensional spaces.
  2. Ensemble Kalman Methods (EnKI / EnSRF): These methods avoid weight collapse by physically moving particles toward high-probability regions using dynamics derived from Kalman filtering. While this keeps variance low, the underlying mathematics assume linear forward maps and Gaussian distributions. When faced with nonlinear systems, EnKI becomes fundamentally inconsistent, failing to converge to the true posterior.

The authors address this gap by asking whether the particle transport of EnKI can be combined with the rigorous reweighting of IS to achieve a method that is both consistent and efficient.

Methodology: Weighted Ensemble Dynamics

The proposed WEnKI and WEnSRF frameworks utilize a coupled system of Stochastic Differential Equations (SDEs) derived from the Fokker-Planck equations. These equations describe the smooth transition of a prior distribution into the target posterior.

The core innovation lies in the simultaneous management of two dynamics:

  • Particle Dynamics: Particles are moved following standard EnKI or EnSRF gradient flows. This transport mechanism ensures that the ensemble remains in regions of high likelihood, preventing the "wasted" particles seen in standard Importance Sampling.
  • Weight Dynamics: To correct for the bias introduced by nonlinearity, a continuous weight correction is applied to each particle as it moves. This term accounts for the non-Gaussianity of the forward map, ensuring the resulting weighted ensemble accurately represents the true posterior.

Key Insights and Theoretical Contributions

A significant contribution of this work is the mathematical proof that the variance of weights in WEnKI remains strictly bounded under specific assumptions regarding the forward map. Unlike standard IS, where variance can grow uncontrollably with data size, WEnKI maintains stability.

Furthermore, the paper offers an explanation for the "EnKI Mystery"—the observation that standard EnKI often performs reasonably well on mildly nonlinear problems despite its theoretical bias. The authors show that the Fokker-Planck equation governing standard EnKI is a close approximation of the "true" WEnKI equation when the weight correction term is small. This suggests that EnKI acts as a "zeroth-order" approximation of the more rigorous weighted framework.

Experimental Results

The authors validated WEnKI and WEnSRF using synthetic 1D and 2D numerical problems featuring highly nonlinear forward maps. These tests were designed to produce multimodal (multi-peak) posterior distributions, which are notoriously difficult for standard Kalman methods.

  • Accuracy: In 1D estimation tasks, WEnKI achieved a first-moment error of approximately 0.005, significantly outperforming standard EnKI (0.04) and Importance Sampling (0.11).
  • Multimodality: Visual analysis confirmed that while standard EnKI often collapses into a single Gaussian-like blob, WEnKI and WEnSRF successfully capture multiple peaks in the posterior distribution.
  • Variance Stability: Empirical data confirmed the theoretical proofs; while IS weight variance exploded over time, the variance in WEnKI remained stable and bounded.

Limitations and Future Work

Despite the theoretical advantages, the authors acknowledge a significant hurdle to widespread adoption: computational complexity. Standard EnKI is favored in many fields because it is "derivative-free," requiring only evaluations of the forward map. WEnKI, however, requires the calculation of Jacobians and Hessians (first and second derivatives) to compute the weight corrections. This requirement can double simulation times and complicates implementation for complex, "black-box" models.

Future research directions include refining the particle flow to incorporate these derivatives into the covariance structure directly. The goal is to develop a more physically intuitive weight function that maintains consistency without the heavy computational overhead currently required for nonlinear weight corrections.

Summary updated

Abstract

<p style='text-indent:20px;'>Ensemble Kalman Inversion (EnKI) [<xref ref-type="bibr" rid="b23">23</xref>] and Ensemble Square Root Filter (EnSRF) [<xref ref-type="bibr" rid="b36">36</xref>] are popular sampling methods for obtaining a target posterior distribution. They can be seem as one step (the analysis step) in the data assimilation method Ensemble Kalman Filter [<xref ref-type="bibr" rid="b17">17</xref>,<xref ref-type="bibr" rid="b3">3</xref>]. Despite their popularity, they are, however, not unbiased when the forward map is nonlinear [<xref ref-type="bibr" rid="b12">12</xref>,<xref ref-type="bibr" rid="b16">16</xref>,<xref ref-type="bibr" rid="b25">25</xref>]. Important Sampling (IS), on the other hand, obtains the unbiased sampling at the expense of large variance of weights, leading to slow convergence of high moments.</p><p style='text-indent:20px;'>We propose WEnKI and WEnSRF, the weighted versions of EnKI and EnSRF in this paper. It follows the same gradient flow as that of EnKI/EnSRF with weight corrections. Compared to the classical methods, the new methods are unbiased, and compared with IS, the method has bounded weight variance. Both properties will be proved rigorously in this paper. We further discuss the stability of the underlying Fokker-Planck equation. This partially explains why EnKI, despite being inconsistent, performs well occasionally in nonlinear settings. Numerical evidence will be demonstrated at the end.</p>
BibTeX
@inproceedings{ding2020ensemble,
  author = {Zhiyan Ding and Qin Li and Jianfeng Lu},
  title = {{Ensemble Kalman Inversion for nonlinear problems: Weights, consistency, and variance bounds}},
  booktitle = {Foundations},
  year = {2020},
  doi = {10.3934/fods.2020018},
}
Figure