June 04, 2026
Ensemble Kalman Inversion (EKI) is a derivative-free, ensemble-based method for inverse and optimization problems. Its continuous-time formulation can be interpreted as an interacting particle system driven by a Kalman-type preconditioned descent direction. A well-known limitation of this dynamics is the possible premature collapse of the covariance of the ensemble, which makes the method sensitive to the initial ensemble.
We introduce a second-order particle system in which the particles evolve according to an inertial dynamics. The model combines a Kalman-type relaxation force with damping, attraction towards the ensemble mean, and a short-range repulsive interaction designed to counteract ensemble collapse. The resulting dynamics can be interpreted as a heavy-ball reformulation of continuous-time EKI enriched by competing attractive and repulsive mechanisms.
For linear inverse problems, we analyze the induced mean and fluctuation dynamics and identify a parameter regime in which fully collapsed configurations are linearly unstable. We further characterize asymptotic equilibria through a constrained optimality condition on the subspace retained by the limiting ensemble covariance and derive an exponential decay estimate. Numerical experiments illustrate the effect of inertia and repulsion on the ensemble dynamics and compare the proposed second-order method with first-order EKI-type schemes.
Ensemble Kalman inversion; second-order particle methods; inverse problems; derivative-free optimization; interacting particle systems.
Primary 65J22; Secondary 65C35, 37N40, 34D20, 65K10.
Inverse problems arise in many areas of applied mathematics, science and engineering, where one aims to recover unknown parameters or states from indirect and typically noisy observations. Classical approaches to inverse problems rely on regularization techniques, such as Tikhonov-type methods, iterative regularization, and variational formulations; see, for instance, [1]–[4]. In the Bayesian framework, the solution of the inverse problem is interpreted as a posterior probability distribution, combining the information contained in the data with prior knowledge on the unknown [3], [4].
Ensemble Kalman methods provide a derivative-free computational framework for data assimilation and inverse problems. Starting from the Ensemble Kalman Filter introduced in [5], ensemble-based Kalman methodologies have been widely used in geophysical applications, reservoir engineering and uncertainty quantification; see, among others, [6]–[8]. In the context of inverse problems, Ensemble Kalman Inversion (EKI) was introduced and analyzed as an iterative ensemble method in [9]. Its key feature is the use of empirical covariances computed from an ensemble of particles to define a Kalman-type update, thereby avoiding the explicit computation of derivatives of the forward map. This makes EKI particularly attractive for large-scale or black-box inverse problems.
The mathematical analysis of EKI has developed in several directions. Convergence properties and regularization effects have been studied in the linear and noisy settings in [10]–[12], while Tikhonov regularization within EKI has been investigated in [13]. Further variants include constrained formulations [14]–[16], regularized ensemble Kalman methods [17], hierarchical approaches [18], and applications to machine learning tasks [19], [20]. Mean-field, continuous-time and spectral formulations have also played an important role in clarifying the dynamical structure of the method [21]–[26].
From a dynamical systems viewpoint, continuous-time EKI can be interpreted as an interacting particle system driven by a covariance-preconditioned descent direction. In the linear inverse problem setting, this structure reveals both the strengths and the limitations of the method. On the one hand, the empirical covariance adapts the dynamics to the geometry of the ensemble. On the other hand, the covariance may collapse prematurely, so that the covariance matrix loses rank and the dynamics becomes confined to a possibly non-optimal subspace. This mechanism makes the method sensitive to the initial ensemble and may lead to stationary configurations which do not correspond to the desired solution. Stabilization mechanisms for continuous-time EKI have therefore been proposed using covariance inflation and relaxation [27].
Recent work has also explored acceleration mechanisms for EKI, inspired by classical inertial and accelerated optimization methods such as Polyak’s heavy-ball method [28] and Nesterov’s accelerated gradient scheme [29]. The connection between accelerated optimization methods and continuous-time second-order dynamics has been clarified, for instance, in [30]. In [31], Nesterov acceleration is incorporated into EKI and related Kalman inversion variants by means of a particle-level nudging step.
The particle interpretation of EKI connects naturally with interacting particle methods for optimization, such as Particle Swarm Optimization [32]–[34] and Consensus-Based Optimization [35], [36]. Related developments include stochastic and mean-field connections between PSO and CBO [37], memory and random selection mechanisms [38], polarized and mirror-type consensus dynamics [39], [40], and micro–macro decompositions of PSO [41].
In this paper we introduce an inertial Ensemble Kalman particle system for inverse and optimization problems. The method extends continuous-time EKI by assigning positions and velocities to the particles and by coupling the Kalman-type force with damping, attraction towards the ensemble mean, and short-range repulsion. Unlike Nesterov-type accelerations, which modify the discrete ensemble update, the proposed dynamics is a continuous-time second-order interacting particle system. The repulsive interaction is designed to destabilize fully collapsed configurations, while the attraction term prevents uncontrolled dispersion, thereby providing a mechanism to preserve ensemble diversity without abandoning the covariance-based structure of EKI. For linear inverse problems, we derive the mean and fluctuation dynamics, prove linear instability of fully collapsed configurations in a suitable parameter regime, characterize asymptotic equilibria through optimality on the subspace retained by the limiting covariance, and analyze the associated frozen-covariance mean dynamics. Numerical experiments on linear, nonconvex, and nonlinear inverse problems show improved robustness in adverse initialization regimes where first-order EKI-type methods may collapse prematurely.
We recall the continuous-time formulation of EKI and the main structural features that motivate the second-order dynamics introduced below. Let \[y = G(u^\dagger) + \eta\] be the observed data, where \(u^\dagger \in \mathbb{R}^d\) is the unknown parameter, \(G:\mathbb{R}^d \to \mathbb{R}^K\) is the continuous forward map, and \(\eta\) denotes observational noise. We assume that \(\eta\sim\mathcal{N}(0,\Gamma)\), where \(\Gamma \in \mathbb{R}^{K\times K}\) is a symmetric positive definite covariance matrix, and we consider the least-squares functional \[\Phi(u) = \frac{1}{2} \|y-G(u)\|_{\Gamma}^{2}. \label{eq:least-squares-functional}\tag{1}\] Here and in the following, \(\|z\|_\Gamma^2 := z^T\Gamma^{-1}z\).
Let \(U(t)=\{u_j(t)\}_{j=1}^J\) be an ensemble of \(J\) particles in \(\mathbb{R}^d\). We denote by \[\bar u(t) = \frac{1}{J}\sum_{j=1}^J u_j(t), \qquad \bar G(t) = \frac{1}{J}\sum_{j=1}^J G(u_j(t))\] the empirical means in parameter and observation space. The empirical cross-covariance between parameters and model outputs is defined by \[C^{uG}(U(t)) = \frac{1}{J}\sum_{j=1}^J (u_j(t)-\bar u(t))\otimes (G(u_j(t))-\bar G(t)) \in \mathbb{R}^{d\times K}. \label{eq:cross-covariance}\tag{2}\] The continuous-time EKI dynamics [10] is then given by \[\dot{u}_j(t) = C^{uG}(U(t))\Gamma^{-1}(y-G(u_j(t))), \qquad j=1,\dots,J. \label{eq:continuous-eki}\tag{3}\] This system can be interpreted as an interacting particle method in which the drift of each particle is determined by empirical covariance information extracted from the ensemble.
In the linear case \(G(u)=Gu\), with \(G\in\mathbb{R}^{K\times d}\), the least-squares functional satisfies \[\nabla\Phi(u)=G^T\Gamma^{-1}(Gu-y)=Au-b, \qquad A:=G^T\Gamma^{-1}G,\quad b:=G^T\Gamma^{-1}y . \label{eq:Phi-A-b-definitions}\tag{4}\] Moreover, \[C^{uG}(U(t))=C(U(t))G^T,\] where \[C(U(t)) = \frac{1}{J}\sum_{j=1}^J (u_j(t)-\bar u(t))\otimes(u_j(t)-\bar u(t))\] is the empirical covariance. Hence the continuous-time EKI dynamics reduces to \[\dot{u}_j(t) = -C(U(t))(Au_j(t)-b), \qquad j=1,\dots,J. \label{eq:linear-continuous-eki}\tag{5}\] Thus, in the linear setting, EKI is a covariance-preconditioned gradient flow. The dynamics is still nonlinear, since the preconditioner \(C(U(t))\) depends on the evolving ensemble.
In the linear case, averaging 5 gives the mean dynamics \[\dot{\bar u}(t) = -C(U(t))(A\bar u(t)-b). \label{eq:first-order-mean-dynamics}\tag{6}\] If \(e_j(t)=u_j(t)-\bar u(t)\), then the fluctuations satisfy \[\dot{e}_j(t) = -C(U(t))A e_j(t), \qquad j=1,\dots,J. \label{eq:first-order-fluctuation-dynamics}\tag{7}\] These identities show that the evolution of the mean is entirely mediated by the empirical covariance, while the fluctuations determine the directions retained by the ensemble.
A fundamental structural property of EKI is the subspace property: the dynamics remains confined to the affine space generated by the initial ensemble, \[u_j(t)\in \bar u(0)+\operatorname{span}\{e_k(0):k=1,\dots,J\}, \qquad j=1,\dots,J. \label{eq:subspace-property}\tag{8}\] Moreover, if \(C(U_*)=0\), then all particles coincide and the right-hand side of 5 vanishes. Thus every fully collapsed ensemble is a stationary configuration, independently of whether its common value minimizes \(\Phi\). More generally, if the covariance loses rank, the dynamics can only move along the directions retained by the ensemble covariance. At a stationary configuration \(U_*\), 6 gives \[C(U_*)(A\bar u_*-b)=0,\] so that the gradient of \(\Phi\) is required to vanish only on the range of the empirical covariance. This covariance-collapse mechanism motivates the inertial interacting particle system introduced below.
In the previous section the EKI particles were denoted by \(u_j(t)\), consistently with the inverse problem variable \(u\). In the second-order formulation it is convenient to use a mechanical notation. We therefore denote by \[X(t)=\{x_j(t)\}_{j=1}^J, \qquad V(t)=\{v_j(t)\}_{j=1}^J\] the particle positions and velocities, respectively. The position \(x_j(t)\in\mathbb{R}^d\) plays the role of the parameter particle \(u_j(t)\) in first-order EKI.
We introduce a second-order particle system of the form \[\begin{cases} \dot{x}_j(t)=v_j(t),\\[0.4em] \dot{v}_j(t) = a_j^{\rm EKI}(X(t),V(t)) + a_j^{\rm rep}(X(t)) + a_j^{\rm att}(X(t)), \end{cases} \qquad j=1,\dots,J. \label{eq:second-order-abstract}\tag{9}\] The three terms in the acceleration represent, respectively, a Kalman-type relaxation force, a short-range repulsive interaction, and an attraction force towards the ensemble mean.
As before, we define \[\bar x(t)=\frac{1}{J}\sum_{j=1}^J x_j(t), \qquad \bar G(t)=\frac{1}{J}\sum_{j=1}^J G(x_j(t)),\] and the empirical cross-covariance \[C^{xG}(X(t)) = \frac{1}{J}\sum_{j=1}^J (x_j(t)-\bar x(t))\otimes (G(x_j(t))-\bar G(t)). \label{eq:second-order-cross-covariance}\tag{10}\] The Kalman-type relaxation force is defined by \[a_j^{\rm EKI}(X(t),V(t)) = -\gamma v_j(t) + \beta C^{xG}(X(t))\Gamma^{-1}(y-G(x_j(t))), \label{eq:second-order-eki-force}\tag{11}\] where \(\gamma>0\) is a damping coefficient and \(\beta>0\) controls the strength of the EKI correction. The damping term dissipates kinetic energy, while the second term is the natural Kalman-type force inherited from continuous-time EKI.
The repulsive interaction is introduced to counteract premature collapse of the ensemble. We define \[a_j^{\rm rep}(X(t)) = k\sum_{i\neq j} f(\|x_i(t)-x_j(t)\|) (x_j(t)-x_i(t)), \label{eq:second-order-repulsion}\tag{12}\] where \(k\geq0\) is the repulsion strength and \(f:[0,\infty)\to(0,\infty)\) is a smooth non-increasing interaction kernel. In the numerical experiments and in the stability discussion below, we use the regularized inverse-power kernel \[f(r)=\frac{1}{(\varepsilon+r)^p}, \qquad \varepsilon>0,\quad p>1. \label{eq:repulsive-kernel}\tag{13}\] This choice produces a strong short-range repulsion while remaining bounded at \(r=0\). The parameter \(\varepsilon\) controls the regularization near the origin, whereas \(p\) controls the decay of the interaction at large distances.
The attraction force towards the ensemble mean is defined by \[a_j^{\rm att}(X(t)) = -\alpha(x_j(t)-\bar x(t)), \label{eq:second-order-attraction}\tag{14}\] with \(\alpha\geq0\). Its role is to prevent the ensemble from dispersing excessively. The proposed dynamics is therefore based on a competition between attraction and repulsion: the attraction term promotes collective coherence, while the repulsive term acts against complete collapse.
Combining 9 –14 , we obtain the second-order EKI system \[\begin{cases} \dot{x}_j(t)=v_j(t),\\[0.4em] \begin{align} \dot{v}_j(t) &= -\gamma v_j(t) + \beta C^{xG}(X(t))\Gamma^{-1}(y-G(x_j(t))) \\ &\quad + k\displaystyle\sum_{i\neq j} f(\|x_i(t)-x_j(t)\|) (x_j(t)-x_i(t)) - \alpha(x_j(t)-\bar x(t)), \end{align} \end{cases} \label{eq:second-order-eki}\tag{15}\] for \(j=1,\dots,J\).
The model can be interpreted as an inertial, heavy-ball-type reformulation of continuous-time EKI. In the overdamped regime \(\gamma\gg1\), with \(\beta/\gamma=\mathcal{O}(1)\), the velocity equation formally relaxes to a first-order Kalman-type drift. At the same time, the additional attraction–repulsion mechanism changes the internal geometry of the ensemble and is designed to reduce the tendency of first-order EKI to collapse prematurely.
The analysis below focuses on the linear case for which the Kalman force reduces to a covariance-preconditioned gradient term.
We analyze the inertial EKI system introduced in Section 2.2 in the linear inverse problem setting. Thus \(G(x)=Gx\), and \[\nabla\Phi(x)=Ax-b, \qquad A=G^T\Gamma^{-1}G,\quad b=G^T\Gamma^{-1}y.\] Since \(C^{xG}(X)=C(X)G^T\), the particle positions satisfy \[\begin{align} \ddot x_j(t) + \gamma \dot{x}_j(t) &= -\beta C(X(t))(Ax_j(t)-b) \\ &\quad + k\sum_{i\neq j} f(\|x_i(t)-x_j(t)\|) (x_j(t)-x_i(t)) \\ &\quad - \alpha(x_j(t)-\bar x(t)), \end{align} \label{eq:second-order-position-form}\tag{16}\] for \(j=1,\dots,J\). It is a covariance-preconditioned heavy-ball dynamics coupled with attraction–repulsion interactions within the ensemble. This is the form used throughout the analysis. The associated velocities are \(v_j=\dot{x}_j\).
We first record the equations satisfied by the ensemble mean and the fluctuations. Let \[\tilde{x}_j(t):=x_j(t)-\bar x(t), \qquad \frac{1}{J}\sum_{j=1}^J \tilde{x}_j(t)=0.\]
Lemma 1 (Mean and fluctuation dynamics). Let \(X(t)\) be the position component of a solution of the linear second-order EKI system 16 . Then the ensemble mean satisfies \[\ddot{\bar x}(t) + \gamma \dot{\bar x}(t) = -\beta C(X(t))(A\bar x(t)-b), \label{eq:second-order-mean-dynamics}\tag{17}\] whereas the fluctuations satisfy \[\begin{align} \ddot{\tilde{x}}_j(t) + \gamma \dot{\tilde{x}}_j(t) &= -\beta C(X(t))A\tilde{x}_j(t) - \alpha \tilde{x}_j(t) + k\sum_{i\neq j} f(\|\tilde{x}_i(t)-\tilde{x}_j(t)\|) \bigl(\tilde{x}_j(t)-\tilde{x}_i(t)\bigr), \end{align} \label{eq:second-order-fluctuation-dynamics}\tag{18}\] for \(j=1,\dots,J\).
Proof. Summing 16 over \(j\) and dividing by \(J\) gives 17 . Indeed, the attraction term averages to zero and the repulsion also vanishes by antisymmetry. Subtracting 17 from 16 gives 18 . ◻
The mean dynamics 17 is an inertial EKI equation. The internal ensemble geometry is controlled by 18 , where Kalman contraction, mean attraction, and pairwise repulsion compete. This separation is one of the useful structural properties of the model.
Proposition 1 (Local well-posedness and continuation criterion). Assume that \(f\in C^1([0,\infty))\) and that \(z\mapsto f(\|z\|)z\) is locally Lipschitz on \(\mathbb{R}^d\). Then, for every initial datum \[(X(0),\dot{X}(0))\in (\mathbb{R}^d)^J\times(\mathbb{R}^d)^J,\] the system 16 admits a unique maximal classical solution \[(X,\dot{X})\in C^1([0,T_{\max});(\mathbb{R}^d)^J\times(\mathbb{R}^d)^J),\] with \(0<T_{\max}\leq+\infty\). Moreover, if \[\sup_{t\in[0,T_{\max})} \left( \sum_{j=1}^J \|x_j(t)\|^2 + \sum_{j=1}^J \|\dot{x}_j(t)\|^2 \right) <+\infty,\] then \(T_{\max}=+\infty\).
Proof. Writing the system in first-order form for the variables \[Z(t)=(X(t),\dot{X}(t))\in(\mathbb{R}^d)^J\times(\mathbb{R}^d)^J,\] we obtain an autonomous ODE \[\dot{Z}(t)=F(Z(t)).\] The damping and attraction terms are linear. The Kalman term \[-\beta C(X)(Ax_j-b)\] is polynomial in the particle positions, because \(C(X)\) is quadratic in \(X\). Hence it is locally Lipschitz. The repulsive term is locally Lipschitz by the assumption on \(z\mapsto f(\|z\|)z\). Therefore \(F\) is locally Lipschitz on the phase space. The Picard–Lindelöf theorem gives existence and uniqueness of a maximal solution on some interval \([0,T_{\max})\).
The continuation criterion is the standard one for finite-dimensional ODEs with locally Lipschitz vector fields. If the solution remains bounded as \(t\uparrow T_{\max}\), then \(F\) remains bounded and locally Lipschitz on a compact set containing the trajectory. ◻
For the regularized inverse-power kernel 13 the interaction term is nonsingular at particle collisions and satisfies the local Lipschitz assumption in Proposition 1. Thus local well-posedness holds without any additional structural assumption.
Remark 2 (On global-in-time bounds). A possible route to global-in-time bounds is to impose the commutation property \[AC(X(t))=C(X(t))A \qquad\text{for all } t\geq0.\] Under this additional assumption, the Kalman term in the fluctuation equation is compatible with a Lyapunov functional. Let \(W\) be a potential associated with the repulsive force, defined by \[W'(r)=-r f(r).\] Consider the internal energy \[\begin{align} E_{\rm int}(t) &= \frac{1}{2}\sum_{j=1}^J \|\dot{\tilde{x}}_j(t)\|^2 + \frac{\alpha}{2}\sum_{j=1}^J \|\tilde{x}_j(t)\|^2 \\ &\quad + \frac{k}{2}\sum_{i\neq j} W(\|\tilde{x}_i(t)-\tilde{x}_j(t)\|) + \frac{\beta J}{4} \operatorname{Tr}\!\left(C(X(t))A C(X(t))\right). \end{align}\] Using the fluctuation equation 18 , the attraction and repulsion terms cancel with the derivatives of their corresponding potentials. The remaining Kalman contribution cancels with the derivative of the last term provided \(A\) and \(C(X(t))\) commute. In that case \[\frac{\mathrm{d}}{\mathrm{d}t}E_{\rm int}(t) = -\gamma\sum_{j=1}^J \|\dot{\tilde{x}}_j(t)\|^2 \leq0.\] Since the attraction term is quadratic and dominates the repulsive potential at large distances, this estimate yields uniform bounds on the fluctuations and on their velocities. In particular, the covariance matrix \(C(X(t))\), which depends only on the fluctuations, remains bounded and, thus, the mean then solves the non-autonomous linear equation \[\ddot{\bar x}(t) + \gamma\dot{\bar x}(t) + \beta C(X(t))A\bar x(t) = \beta C(X(t))b,\] with bounded coefficients on finite time intervals. Hence the mean cannot blow up in finite time.
We now study the local stability of fully collapsed configurations. These configurations are stationary states of the particle system. If all particles have the same position and zero velocity, the empirical covariance vanishes and both the attraction and repulsion terms are zero. The following result shows that, for a sufficiently strong repulsive interaction, such configurations are unstable with respect to zero-mean perturbations.
Proposition 3 (Instability of collapsed configurations). Assume that \(f\) is continuous at the origin and let \(f(0)>0\). Consider a fully collapsed configuration \[x_1=\cdots=x_J=x_*, \qquad \dot{x}_1=\cdots=\dot{x}_J=0.\] Then this configuration is linearly unstable with respect to zero-mean fluctuation perturbations under the supercritical condition \[kJf(0)>\alpha. \label{eq:collapse-instability-condition}\qquad{(1)}\] In particular, for the kernel 13 , condition ?? becomes \[k>\frac{\alpha\varepsilon^p}{J}. \label{eq:collapse-instability-condition-kernel}\qquad{(2)}\]
Proof. Let \[x_j(t)=x_*+\delta x_j(t), \qquad \dot{x}_j(t)=\delta \dot{x}_j(t),\] where the perturbations are assumed to have zero mean. At the fully collapsed configuration the empirical covariance is zero. Therefore the linearization of the Kalman term does not contribute to first order. The attraction term linearizes as \[-\alpha(x_j-\bar x) = -\alpha \delta x_j.\] For the repulsive term, since \(f\) is continuous at the origin, we have to first order \[f(\|x_i-x_j\|)=f(0)+o(1).\] Thus, using the zero-mean condition, \[\begin{align} k\sum_{i\neq j} f(\|x_i-x_j\|) (x_j-x_i) &= kf(0)\sum_{i\neq j}(\delta x_j-\delta x_i) + \text{higher-order terms} \\ &= kf(0) J\delta x_j + \text{higher-order terms} \end{align}\]
Hence, using 18 , we obtain that the linearized fluctuation dynamics is \[\ddot{\delta x}_j + \gamma\dot{\delta x}_j - \bigl(kJf(0)-\alpha\bigr)\delta x_j = 0, \qquad j=1,\dots,J. \label{eq:linearized-collapsed-fluctuations}\tag{19}\] The characteristic equation for each fluctuation mode is \[\lambda^2+\gamma\lambda-\bigl(kJf(0)-\alpha\bigr)=0.\] If \(kJf(0)>\alpha\), the product of the two roots is negative. Therefore one eigenvalue is positive and the collapsed configuration is linearly unstable in the zero-mean fluctuation subspace.
For \(f(r)=(\varepsilon+r)^{-p}\), one has \(f(0)=\varepsilon^{-p}\), and the condition \(kJf(0)>\alpha\) is equivalent to \[k>\frac{\alpha\varepsilon^p}{J}.\] This concludes the proof. ◻
Remark 4 (Neutral translation mode). The instability described in Proposition 3 is transverse to the collective translation mode. Perturbations where all particles are shifted by the same vector do not change the ensemble spread and they are not described by the zero-mean fluctuation dynamics. The relevant stability property for covariance collapse is therefore stability with respect to perturbations of the internal configuration of the ensemble.
Remark 5 (Subcritical regime). If the subcritical condition \(kJf(0)<\alpha\) holds true, collapsed configurations are linearly stable with respect to zero-mean fluctuation perturbations. Therefore the attraction dominates the linearized repulsion which is too weak to destabilize covariance collapse.
We relate the instability of collapsed configurations to the possible asymptotic states of the ensemble.
Recall that an ensemble configuration \(X\) is collapsed if \(C(X)=0\).
The ensemble spread is given by \[S(X(t)):=\frac{1}{J}\sum_{j=1}^J\|\tilde{x}_j(t)\|^2 =\operatorname{Tr}(C(X(t))),\] and \[\begin{align} \frac{\mathrm d^2}{\mathrm dt^2}S(X(t)) + \gamma\frac{\mathrm d}{\mathrm dt}S(X(t)) &= \frac{2}{J}\sum_{j=1}^J \|\dot{\tilde{x}}_j(t)\|^2 - 2\beta\operatorname{Tr}\!\left(C(X(t))AC(X(t))\right) \notag\\ &\quad - 2\alpha S(X(t)) + \frac{k}{J} \sum_{i\neq j} f(r_{ij}(t))r_{ij}(t)^2, \label{eq:spread-dynamics} \end{align}\tag{20}\] where \(r_{ij}(t)=\|\tilde{x}_i(t)-\tilde{x}_j(t)\|\). This identity shows the competition between the repulsive contribution, which increases the spread, and the attraction and Kalman terms, that tend to decrease it.
Corollary 1 (Non-collapsed attracting equilibria). Assume that \(f\) is continuous at the origin, \(f(0)>0\), and ?? holds true. Let \((X(t),\dot{X}(t))\) be a global solution of 16 converging to an asymptotic equilibrium \[(X(t),\dot{X}(t))\to (X_\infty,0) \qquad\text{as } t\to\infty.\] If the limiting equilibrium is asymptotically stable with respect to zero-mean fluctuation perturbations, then it cannot be fully collapsed, i.e. \[C(X_\infty)\neq0 \quad \text{ and } \quad S_\infty>0.\]
Proof. Assume by contradiction that the limiting equilibrium is fully collapsed. Then \[x_1^\infty=\cdots=x_J^\infty=x_*, \qquad \dot{x}_1^\infty=\cdots=\dot{x}_J^\infty=0,\] that is \(C(X_\infty)=0\).
However, by Proposition 3, under condition ?? , every fully collapsed equilibrium is linearly unstable with respect to zero-mean fluctuation perturbations. Hence such an equilibrium cannot be asymptotically stable in the internal configuration of the ensemble. This contradicts the assumed asymptotic stability of the limiting equilibrium. ◻
We now discuss the behavior of the ensemble mean in the limiting covariance regime. First, we characterize the optimality condition satisfied by asymptotic equilibria. Then we consider the frozen-covariance dynamics, which provides a linear asymptotic model along the retained directions.
The limiting covariance may be nonzero but still rank-deficient. Therefore, the equilibrium condition for the ensemble mean does not necessarily imply full optimality in \(\mathbb{R}^d\). It only yields optimality along the directions retained by the limiting ensemble covariance.
Proposition 6 (Optimality on the retained subspace). Let \((X(t),\dot{X}(t))\) be a global solution of 16 such that \[(X(t),\dot{X}(t))\to (X_\infty,0) \qquad\text{as } t\to\infty.\] Let \[\bar x_\infty := \frac{1}{J}\sum_{j=1}^J x_j^\infty, \qquad C_\infty:=C(X_\infty),\] and define the retained subspace \(\mathcal{V}_\infty:=\operatorname{Range}(C_\infty).\) Then \[C_\infty(A\bar x_\infty-b)=0, \label{eq:retained-optimality-condition}\qquad{(3)}\] i.e. \(\bar x_\infty\) is a stationary point of \(\Phi\) restricted to \(\mathcal{A}_\infty:=\bar x_\infty+\mathcal{V}_\infty.\) If, in addition, \(A\) is positive definite on \(\mathcal{V}_\infty\), then \(\bar x_\infty\) is the unique minimizer of \(\Phi\) on \(\mathcal{A}_\infty\).
Proof. By the mean equation 17 , \[\ddot{\bar x}(t) + \gamma\dot{\bar x}(t) = -\beta C(X(t))(A\bar x(t)-b).\] Since \((X(t),\dot{X}(t))\to (X_\infty,0)\), we have \[\dot{\bar x}(t)\to0, \qquad C(X(t))\to C_\infty, \qquad \bar x(t)\to\bar x_\infty.\] At the limiting equilibrium, the acceleration of the mean vanishes. Passing to the limit in the mean equation gives \[C_\infty(A\bar x_\infty-b)=0.\]
Since \(C_\infty\) is symmetric positive semidefinite, its range is orthogonal to its null space: \[\operatorname{Range}(C_\infty) = \operatorname{Ker}(C_\infty)^\perp.\] Therefore ?? implies \(A\bar x_\infty-b = \nabla\Phi(\bar x_\infty) \in \operatorname{Ker}(C_\infty) = \mathcal{V}_\infty^\perp.\) Hence, \(\nabla\Phi(\bar x_\infty)\perp\mathcal{V}_\infty,\) and \(\Phi(\bar x_\infty)\) is first-order optimal on the affine space \(\mathcal{A}_\infty=\bar x_\infty+\mathcal{V}_\infty\).
Finally, if \(A\) is positive definite on \(\mathcal{V}_\infty\), then the restriction of the quadratic functional \(\Phi\) to \(\mathcal{A}_\infty\) is strictly convex. Therefore the stationary point \(\bar x_\infty\) is the unique minimizer of \(\Phi\) on that affine space. ◻
We conclude the analysis with a decay estimate for the mean dynamics in the frozen-covariance regime.
Let \[\mathcal{V}_\infty:=\operatorname{Range}(C_\infty)\] be the subspace retained by the limiting covariance, and let \(x^\dagger\) be a minimizer of \(\Phi\) on the affine space associated with \(\mathcal{V}_\infty\). Equivalently, \(x^\dagger\) satisfies \[C_\infty(Ax^\dagger-b)=0. \label{eq:frozen-retained-minimizer}\tag{21}\] The frozen-covariance mean dynamics is \[\ddot{\bar x}(t) + \gamma \dot{\bar x}(t) = -\beta C_\infty(A\bar x(t)-b). \label{eq:frozen-mean-dynamics}\tag{22}\]
Proposition 7 (Decay for the frozen-covariance mean dynamics). Assume that \(A\) is positive definite on \(\mathcal{V}_\infty\). Let \(x^\dagger\) satisfy 21 , and assume that the initial error and velocity of the frozen dynamics satisfy \[\bar x(0)-x^\dagger\in\mathcal{V}_\infty, \qquad \dot{\bar x}(0)\in\mathcal{V}_\infty.\] Then the error \[r(t):=\bar x(t)-x^\dagger\] decays exponentially to zero along the retained directions.
Proof. Subtracting 21 from 22 , we obtain \[\ddot r(t) + \gamma \dot{r}(t) + \beta C_\infty A r(t) = 0. \label{eq:frozen-error-dynamics}\tag{23}\] Since \(C_\infty\) is symmetric positive semidefinite, its restriction to \(\mathcal{V}_\infty\) is positive definite. Moreover, by assumption, \(A\) is positive definite on \(\mathcal{V}_\infty\).
On \(\mathcal{V}_\infty\), introduce the symmetric positive definite matrix \[B:=C_\infty^{1/2} A C_\infty^{1/2}.\] Setting \[r(t)=C_\infty^{1/2} z(t),\] equation 23 is equivalent, on the retained subspace, to \[\ddot z(t) + \gamma \dot{z}(t) + \beta B z(t) = 0. \label{eq:frozen-z-dynamics}\tag{24}\] Since \(B\) is symmetric positive definite on \(\mathcal{V}_\infty\), it admits an orthonormal basis of eigenvectors with eigenvalues \[0<\mu_1\leq \cdots \leq \mu_m, \qquad m=\dim\mathcal{V}_\infty.\] Expanding \[z(t)=\sum_{\ell=1}^m q_\ell(t)z_\ell,\] we obtain the decoupled scalar equations \[\ddot q_\ell(t) + \gamma \dot{q}_\ell(t) + \beta \mu_\ell q_\ell(t) = 0, \qquad \ell=1,\dots,m.\] The characteristic roots are \[\lambda_\ell^\pm = \frac{-\gamma\pm\sqrt{\gamma^2-4\beta\mu_\ell}}{2}.\] Since \(\gamma>0\), \(\beta>0\), and \(\mu_\ell>0\), both roots have strictly negative real part. Hence each modal component \(q_\ell(t)\) decays exponentially to zero. Therefore \(z(t)\), and consequently \(r(t)=C_\infty^{1/2}z(t)\), decay exponentially along the retained directions. ◻
In this section we investigate the behavior of the proposed second-order EKI dynamics on a set of representative test problems. We illustrate the qualitative effect of inertia, damping, attraction and repulsion on the ensemble dynamics. In particular, we monitor the evolution of the data misfit, the error of the ensemble mean, and the ensemble spread, comparing the second-order dynamics with first-order EKI-type methods.
All experiments are performed using a time-discrete approximation of the particle system. We first describe the discretization used for the second-order model, emphasizing the implicit-explicit treatment of the damping term.
We discretize the second-order EKI system 15 by an implicit-explicit scheme [42]. The position equation is advanced explicitly, while the velocity equation is treated implicitly only in the linear damping term. Given \(X^n=\{x_j^n\}_{j=1}^J\) and \(V^n=\{v_j^n\}_{j=1}^J\), we set \[x_j^{n+1}=x_j^n+\Delta t\,v_j^n, \qquad j=1,\dots,J. \label{eq:numerics-position-update}\tag{25}\] Then the velocity is updated by \[\begin{align} v_j^{n+1} &= v_j^n + \Delta t \Big[ -\gamma v_j^{n+1} + \beta C^{xG}(X^{n+1})\Gamma^{-1} \bigl(y-G(x_j^{n+1})\bigr) \Big] \notag\\ &\quad + \Delta t \Bigg[ k\sum_{i\neq j} f(\|x_i^n-x_j^n\|) (x_j^n-x_i^n) - \alpha(x_j^n-\bar x^n) \Bigg]. \label{eq:numerics-velocity-imex-implicit} \end{align}\tag{26}\] Solving explicitly for \(v_j^{n+1}\), we obtain \[\begin{align} v_j^{n+1} &= \frac{1}{1+\gamma\Delta t}v_j^n + \frac{\beta\Delta t}{1+\gamma\Delta t} C^{xG}(X^{n+1})\Gamma^{-1} \bigl(y-G(x_j^{n+1})\bigr) \notag\\ &\quad + \frac{k\Delta t}{1+\gamma\Delta t} \sum_{i\neq j} f(\|x_i^n-x_j^n\|) (x_j^n-x_i^n) - \frac{\alpha\Delta t}{1+\gamma\Delta t} (x_j^n-\bar x^n). \label{eq:numerics-velocity-imex} \end{align}\tag{27}\] The scheme is explicit with respect to the particle interactions and does not require the solution of nonlinear systems. The only implicit contribution is the damping term, whose effect is accounted for through the scalar factor \((1+\gamma\Delta t)^{-1}\).
In the overdamped regime \(\gamma\gg1\), with \(\beta/\gamma=\mathcal{O}(1)\), the update 27 formally relaxes to a first-order Kalman-type correction evaluated at the updated positions. This provides a simple and robust discretization of the inertial dynamics while preserving the computational structure of ensemble-based methods.
In the following experiments, we use the implicit–explicit discretization 25 –27 for the second-order dynamics, whereas the first-order EKI-type dynamics are advanced by an explicit Euler scheme.
In all numerical experiments we monitor a common set of diagnostic quantities in order to compare the behavior of the different ensemble dynamics. Given an ensemble \[X^n=\{x_j^n\}_{j=1}^J, \qquad \bar x^n=\frac{1}{J}\sum_{j=1}^J x_j^n,\] we evaluate the weighted data misfit at the ensemble mean, \[\Phi(\bar x^n) = \frac{1}{2} \bigl(y-G(\bar x^n)\bigr)^T \Gamma^{-1} \bigl(y-G(\bar x^n)\bigr). \label{eq:numerical-misfit}\tag{28}\] When the true parameter \(x^\dagger\) is known, we also compute the relative error of the ensemble mean, \[e_x^n = \frac{\|\bar x^n-x^\dagger\|}{\|x^\dagger\|}. \label{eq:numerical-mean-error}\tag{29}\] To measure ensemble diversity, we use the normalized empirical spread \[S^n = \left( \frac{1}{Jd} \sum_{j=1}^J \|x_j^n-\bar x^n\|^2 \right)^{1/2}. \label{eq:numerical-spread}\tag{30}\]
For inverse problems with additive Gaussian observational noise \(\eta\sim\mathcal{N}(0,\Gamma)\), we use a discrepancy-type stopping criterion based on the weighted residual. More precisely, if \(K\) denotes the dimension of the data space, we stop the iteration when \[\Phi(\bar x^n) \leq \frac{\tau K}{2}, \label{eq:discrepancy-stopping}\tag{31}\] where \(\tau\geq1\) is a prescribed tolerance. This choice is motivated by the fact that, after whitening by \(\Gamma^{-1/2}\), the noise has approximately \(K\) independent unit-variance components, so that the expected squared weighted noise level is of order \(K\).
In practice, the discrepancy principle is combined with a maximum number of iterations, or equivalently a final integration time. In the experiments below we also impose a minimum number of iterations before activating 31 , in order to avoid premature stopping during the initial transient. If the discrepancy criterion is not met, the final output is taken at the final iteration. For multi-seed experiments, we report mean values and standard deviations of the relevant diagnostics.
Some test problems involve additional problem-specific quantities. In particular, for the Darcy flow inverse problem we also report the relative error on the reconstructed permeability field, \[e_a^n = \frac{\|a_{\rm rec}^n-a^\dagger\|}{\|a^\dagger\|}, \label{eq:numerical-field-error}\tag{32}\] where \(a^\dagger\) is the discretized true permeability field and \(a_{\rm rec}^n\) is the permeability field reconstructed from the ensemble mean at iteration \(n\).
We first consider a linear inverse problem associated with a one-dimensional elliptic equation. This test is useful because it is consistent with the linear setting analyzed in Section 3, while still retaining the ill-posed character of inverse problems.
Let \(p\) solve \[-p''(s)+p(s)=u(s), \qquad s\in(0,\pi), \qquad p(0)=p(\pi)=0. \label{eq:elliptic-1d-model}\tag{33}\] The inverse problem consists in recovering the forcing term \(u\) from noisy observations of the state \(p\). After discretization on \(d\) interior grid points, the forward map is linear and can be written as \[p = G u,\] where \(G\in\mathbb{R}^{d\times d}\) is the inverse of the finite-difference discretization of the operator \(-\mathrm d^2/\mathrm ds^2+I\). Thus both the unknown forcing \(u\) and the observed state \(p\) are represented by vectors in \(\mathbb{R}^{d}\). Synthetic data are generated as \[y = G u^\dagger+\eta, \qquad \eta\sim\mathcal{N}(0,\sigma^2 I),\] with \(\sigma = 0.1\) and \[u^\dagger(s)=10\sin(8s).\] In the following numerical simulations, we consider \(d=K=63\).
We compare three ensemble methods: standard first-order EKI, Nesterov-accelerated EKI, and the proposed second-order EKI. The Nesterov-accelerated method is implemented according to the particle-level nudging strategy of [31]. The first-order method and the Nesterov-accelerated EKI are advanced explicitly, whereas the second-order dynamics is discretized by the implicit–explicit scheme described in Section 4.1.
The initial ensemble is chosen to be both concentrated and biased away from the truth. More precisely, \[x_j^0\sim \mathcal{N}(-4\cdot\mathbf{1},\sigma_0^2 I), \qquad \sigma_0=10^{-2}, \qquad j=1,\dots,J,\] and the initial velocities of the second-order method are set to zero. This initialization is deliberately unfavorable for standard EKI, since the initial ensemble has small spread and explores a region far from the true parameter. All ensemble methods are run with \(J=80\) particles.
The parameters used in the second-order method are \[\gamma=2,\qquad \beta=0.5,\qquad \alpha=0.4,\qquad k=0.1,\qquad \varepsilon=10^{-3},\qquad p=1.5.\] Final time is chosen as \(T=1000\) and the time step as \(\Delta t = 10^{-1}\). All methods are stopped according to the discrepancy principle 31 , with the additional safeguards described in Section 4.2. In particular, we take \(\tau = 1.05\) and the minimum number of iterations before stopping is \(20\).
Figure 1 reports the evolution of the weighted data misfit, the parameter relative error at the ensemble mean, and the ensemble spread. The Nesterov-accelerated method substantially improves the decay of the data misfit with respect to standard EKI. However, it also accelerates the collapse of the ensemble, as shown by the rapid decay of the spread. This behavior is consistent with the fact that Nesterov acceleration modifies the first-order update but does not introduce an explicit mechanism to preserve ensemble diversity.
By contrast, the second-order method reaches the discrepancy threshold much earlier but maintains a significantly larger spread throughout the computation. This allows to achieve the smallest parameter error in this test. This suggests that the improvement is not merely due to acceleration, but rather to the modified internal ensemble dynamics induced by the damping and attraction–repulsion terms. In particular, the repulsive interaction prevents the ensemble from collapsing too early, while the damping controls the inertial motion. In conclusion, acceleration alone does not prevent covariance collapse.
Figure 2 shows the reconstruction of the control \(u\) and of the observed state \(p=Gu\). Both Nesterov-accelerated EKI and the second-order method provide a more accurate reconstruction of the observed state and follows the data more closely than standard EKI. The recovered control exhibits more oscillations, reflecting the ill-posedness of the inverse map and the absence of an explicit regularization term. This behavior is expected: a better fit in the observation space does not necessarily imply a uniformly smoother reconstruction of the parameter.
| Method | \(\Delta t\) | Final misfit | Parameter error | Spread | Stopping time |
|---|---|---|---|---|---|
| Standard EKI | \(10^{-1}\) | \(1.6753\cdot 10^3\) | \(1.1240\cdot 10^0\) | \(9.7463\cdot 10^{-3}\) | not reached |
| Nesterov EKI | \(10^{-1}\) | \(3.3074\cdot 10^1\) | \(9.4030\cdot 10^{-1}\) | \(8.0621\cdot 10^{-3}\) | \(973.8\) |
| Second-order EKI | \(10^{-1}\) | \(3.3069\cdot 10^1\) | \(7.9225\cdot 10^{-1}\) | \(6.5171\cdot 10^{-1}\) | \(342.5\) |
Table 1 summarizes the final values of the main diagnostics. In addition to the final misfit, parameter relative error and spread, we report the time at which the discrepancy criterion is first reached and the time step used by each method.
| \(\sigma_0=5\cdot10^{-2}\) | \(\sigma_0=10^{-1}\) | \(\sigma_0=5\cdot10^{-1}\) | ||||
|---|---|---|---|---|---|---|
| 2-3 (lr)4-5 (lr)6-7 Method | Error | Time | Error | Time | Error | Time |
| Standard EKI | \(1.1342\cdot10^{0}\) | not reached | \(1.0640\cdot10^{0}\) | not reached | \(9.6771\cdot10^{-1}\) | \(898.9\) |
| Nesterov EKI | \(9.4088\cdot10^{-1}\) | \(195.8\) | \(9.4170\cdot10^{-1}\) | \(98.4\) | \(9.4272\cdot10^{-1}\) | \(19.7\) |
| Second-order EKI | \(8.0905\cdot10^{-1}\) | \(390.6\) | \(9.7814\cdot10^{-1}\) | \(481.5\) | \(7.7083\cdot10^{-1}\) | \(310.6\) |
To check that the behavior observed above is not an artifact of a single initial ensemble, we repeated the experiment for different values of the initial ensemble spread \(\sigma_0\). The results in Table 2 show that the second-order method remains competitive across the tested regimes and gives the smallest relative parameter error for the most concentrated and the most dispersed initial ensembles. The Nesterov-accelerated method reaches the discrepancy threshold faster, but this is not systematically reflected in a smaller parameter error, consistently with the ill-posedness of the inverse map.
We observed the same qualitative behavior for structured low-frequency initial ensembles, obtained by sampling random combinations of the first sine modes. This indicates that the improved performance of the second-order method is not merely an artifact of the full-dimensional Gaussian initialization. These additional tests are not reported here for brevity, but they are available in Appendix 6.
We next consider the Ackley function as a nonconvex benchmark to illustrate the behavior of the different ensemble dynamics in the presence of multiple local minima. In order to keep the test within the inverse-problem formulation, we set \[G(x)=\operatorname{Ack}(x), \qquad x\in\mathbb{R}^d, \qquad y=0\in\mathbb{R},\] so that the least-squares functional becomes \[\Phi(x) = \frac{1}{2} \operatorname{Ack}(x)^2.\] The global minimizer is \(x^\dagger=0\in\mathbb{R}^d\), and no observational noise is added.
Since this benchmark is noise-free, no discrepancy principle is used. Instead, the iterations are stopped when either \[\Phi(\bar x)\leq 10^{-8} \qquad\text{or}\qquad \|\bar x\|\leq 10^{-3},\] or when the final integration time is reached.
We use the one-dimensional Ackley function to compare standard EKI, Nesterov-accelerated EKI, and the proposed second-order dynamics. We then use the two-dimensional Ackley function to isolate the effect of the repulsive interaction by comparing two second-order simulations with weak and strong repulsion.
We first consider the one-dimensional Ackley landscape. The initial ensemble is concentrated around a local basin far from the global minimizer, \[x_j^0 \sim \mathcal{N}(5,\,0.1^2), \qquad j=1,\dots,J,\] and the initial velocities of the second-order method are set to zero. All methods are run up to the final time \(T=20\) with time step \(\Delta t=10^{-2}\) and \(J=80\) particles. For the second-order dynamics we use \[\gamma=2,\qquad \beta=1,\qquad \alpha=0.4,\qquad k=0.05,\qquad \varepsilon=10^{-3},\qquad p=1.5.\]
Figure 3 reports the evolution of the misfit and of the ensemble spread. Standard EKI and Nesterov-accelerated EKI remain trapped near the initial basin and show almost no effective decrease of the misfit. Their ensemble spread also remains small, indicating that the ensemble does not explore enough of the nonconvex landscape. By contrast, the second-order method rapidly increases the ensemble spread and then drives the ensemble mean toward the global minimizer.
This behavior is confirmed in Figure 4, where the final particles are displayed on the Ackley landscape. The first-order methods remain concentrated near the initial local basin, whereas the second-order dynamics produces a wider ensemble distribution and reaches the global minimizer at the level of the ensemble mean. In this test, the second-order method stops at time \(t=16.86\), with \[\Phi(\bar x)=8.18\cdot 10^{-6}, \qquad |\bar x|=9.98\cdot 10^{-4},\] while the two first-order methods remain close to \(x\simeq 4.96\) until the final time. See Table 3.
We now use the two-dimensional Ackley function to isolate the effect of the repulsive interaction in the second-order dynamics. The initial ensemble is concentrated near a local basin away from the global minimum: \[x_j^0 \sim \mathcal{N}\bigl((3.5,3.5)^T,\,0.15^2 I\bigr), \qquad j=1,\dots,J,\] with \(J=100\), and the initial velocities are set to zero. The final time is \(T=30\) and the time step is \(\Delta t=10^{-2}\).
We compare two second-order simulations with the same parameters \[\gamma=2,\qquad \beta=1,\qquad \alpha=0.5,\qquad \varepsilon=10^{-2},\qquad p=1.5,\] but different repulsion strengths. In the weakly repulsive regime we set \[k=10^{-6},\] whereas in the strongly repulsive regime we set \[k=0.05.\]
Figure 5 displays the final ensembles on the Ackley landscape, together with the trajectory of the ensemble mean. In the weakly repulsive case, the ensemble collapses near a non-optimal local basin and the mean remains far from the global minimizer. This test illustrates the role of the attraction–repulsion mechanism: attraction alone tends to concentrate the ensemble, while sufficiently strong repulsion prevents premature collapse and allows the inertial dynamics to explore the nonconvex landscape.
Figure 6 reports the corresponding time histories of the misfit and ensemble spread. In the weakly repulsive case, the spread rapidly decays to zero and the misfit remains large. In the strongly repulsive case, the spread is maintained at a positive level and the misfit decreases by several orders of magnitude. The final values for weak repulsion are \[\Phi(\bar x)=4.13\cdot 10^{1}, \qquad \|\bar x\|=4.27, \qquad S=1.08\cdot 10^{-3}.\] In contrast, for stronger repulsion the ensemble remains non-collapsed and the mean reaches the global minimizer with high accuracy: \[\Phi(\bar x)=3.00\cdot 10^{-4}, \qquad \|\bar x\|=8.06\cdot 10^{-3}, \qquad S=2.19.\] Table 3 summarizes the final diagnostics.
| Test | Method/regime | Final misfit | Mean error | Final spread | Final time |
|---|---|---|---|---|---|
| 1D | Standard EKI | \(8.0167\cdot10^{1}\) | \(4.9620\) | \(1.0933\cdot10^{-1}\) | \(20\) |
| 1D | Nesterov EKI | \(8.0166\cdot10^{1}\) | \(4.9620\) | \(1.0928\cdot10^{-1}\) | \(20\) |
| 1D | Second-order EKI | \(8.1784\cdot10^{-6}\) | \(9.9783\cdot10^{-4}\) | \(2.8961\) | \(16.86\) |
| 2D | Second-order EKI, weak repulsion | \(4.1344\cdot10^{1}\) | \(4.2723\) | \(1.0792\cdot10^{-3}\) | \(30\) |
| 2D | Second-order EKI, strong repulsion | \(3.0038\cdot10^{-4}\) | \(8.0552\cdot10^{-3}\) | \(2.1925\) | \(30\) |
We finally consider a nonlinear inverse problem governed by a Darcy-type elliptic equation. This test is more challenging than the previous ones because the forward map is nonlinear and the unknown parameter controls the permeability field of the PDE.
Let \(D=(0,1)^2\). We consider \[-\nabla\cdot\bigl(a(s)\nabla u(s)\bigr)=f(s), \qquad s\in D, \label{eq:darcy-forward}\tag{34}\] with homogeneous Dirichlet boundary condition \[u(s)=0, \qquad s\in\partial D.\] Here \(u\) denotes the hydraulic head, \(a\) is the permeability field, and we take \[f(x)\equiv 1.\]
The permeability is parameterized on a \(3\times3\) partition of the domain. More precisely, \[a(s) = \sum_{\ell=1}^9 e^{\theta_\ell}\chi_{D_\ell}(s), \qquad \theta=(\theta_1,\dots,\theta_9)^T\in\mathbb{R}^9, \label{eq:darcy-parametrization}\tag{35}\] where \(\{D_\ell\}_{\ell=1}^9\) are the nine subdomains, ordered row-wise from top-left to bottom-right. The exponential parameterization guarantees positivity of the permeability.
The reference parameter used to generate synthetic data is \[\theta^\dagger = (-0.4,\;0.8,\;1.1,\;-1.0,\;0.2,\;0.7,\;-0.6,\;1.0,\;0.1)^T. \label{eq:darcy-theta-true}\tag{36}\]
We observe the solution at nine interior sensors located on the \(3\times3\) grid \[(0.25,0.25),\;(0.25,0.50),\;\dots,\;(0.75,0.75).\] Let \[\mathcal{G}(\theta)\in\mathbb{R}^K, \qquad K=9,\] denote the forward observation map obtained by solving 34 and extracting the solution values at the sensor locations. Synthetic data are generated as \[y=\mathcal{G}(\theta^\dagger)+\eta, \qquad \eta\sim\mathcal{N}(0,\Gamma), \qquad \Gamma=\sigma^2 I_K, \qquad \sigma=0.02. \label{eq:darcy-data}\tag{37}\] The inverse problem consists in recovering \(\theta\) from the noisy data \(y\).
The initial ensemble is chosen to be both concentrated and biased away from the truth: \[\theta_j^0 \sim \mathcal{N}(\mu_0,\sigma_0^2 I), \qquad \mu_0=-1.5\cdot\mathbf{1}, \qquad \sigma_0=0.1, \qquad j=1,\dots,J. \label{eq:darcy-initialization}\tag{38}\] This unfavorable initialization is designed to test whether the second-order dynamics can prevent premature ensemble collapse and recover useful directions even when the initial cloud is poorly informative.
All methods use the diagnostic quantities and stopping rules described in Section 4.2. In addition to the parameter error and the weighted misfit, we also report the relative permeability reconstruction error 32 .
Before comparing with standard EKI, we perform a short parameter sensitivity study for the second-order method in the initialization regime 38 . We vary the damping coefficient \(\gamma\), the strength of the data-driven Kalman force \(\beta\), and the repulsion strength \(k\), while keeping \[\alpha=0.2, \qquad \varepsilon=10^{-3}, \qquad p=1.5\] fixed. The tested grid is \[\gamma\in\{1,2\}, \qquad \beta\in\{0.5,1\}, \qquad k\in\{0.01,0.05,0.1\}. \label{eq:darcy-tuning-grid}\tag{39}\]
The purpose of this tuning step is not to identify a universally optimal parameter set, but to select a robust configuration for the difficult initialization regime considered here. The results indicate that a moderate Kalman forcing, stronger damping, and stronger repulsion are preferable in this setting. In particular, the choice \[\gamma=2, \qquad \beta=0.5, \qquad k=0.1 \label{eq:darcy-selected-parameters}\tag{40}\] provides the best compromise among data fit, parameter reconstruction, permeability reconstruction, and robustness across seeds. The complete tuning results are reported in Appendix 7.
We now compare standard EKI with the second-order method using the parameter configuration 40 . Both methods are run with the same noisy observations, the same ensemble size, and the same multi-seed protocol.
Figure 7 reports the mean time evolution, over \(10\) seeds, of the weighted data misfit, the parameter error, and the ensemble spread. Standard EKI rapidly reduces the initial spread and then stagnates with a relatively large residual. By contrast, the second-order method maintains a substantially larger ensemble spread and achieves a much smaller data misfit. This behavior is consistent with the mechanism observed in the previous tests: the attraction–repulsion dynamics prevents premature collapse and allows the ensemble to keep exploring relevant directions.
To complement the mean trajectories, Figure 8 shows the distributions of the final parameter error, weighted misfit, and relative permeability error. The corresponding aggregate statistics are reported in Table 4.
| Metric | Standard EKI | Second-order EKI |
|---|---|---|
| Final \(\theta\)-error | \(3.6737 \pm 0.3168\) | \(2.6463 \pm 0.5775\) |
| Final misfit | \(46.0550 \pm 5.9045\) | \(4.4962 \pm 0.0012\) |
| Final spread | \(0.0685 \pm 0.0036\) | \(0.6780 \pm 0.0311\) |
| Relative permeability error | \(0.7512 \pm 0.0405\) | \(0.6233 \pm 0.0917\) |
| Time of best error | \(10.0000 \pm 0.0000\) | \(7.4710 \pm 1.4310\) |
The second-order method improves all the reported final metrics. It achieves a smaller parameter error, a significantly smaller weighted data misfit, and a smaller relative permeability reconstruction error. At the same time, it maintains a much larger ensemble spread. In this experiment, the larger spread is not a drawback: it is precisely the mechanism that prevents the ensemble from collapsing too early near the unfavorable initial configuration. The standard first-order dynamics, instead, quickly loses diversity and fails to recover from the poor initialization.
Overall, the Darcy experiment confirms the main numerical result. In a nonlinear inverse problem with a concentrated and biased initial ensemble, the second-order dynamics is more robust than standard EKI because it combines the Kalman-type descent mechanism with an internal attraction–repulsion dynamics that preserves useful ensemble diversity.
We introduced a second-order Ensemble Kalman particle system for inverse and optimization problems. The proposed dynamics augments the continuous-time EKI formulation with explicit velocities, damping, attraction towards the ensemble mean, and short-range repulsion between particles. The resulting model can be interpreted as a heavy-ball-type reformulation of EKI in which the internal geometry of the ensemble is directly controlled by competing attractive and repulsive mechanisms.
For linear inverse problems, we analyzed the mean and fluctuation dynamics of the second-order system. The analysis shows that fully collapsed configurations may be destabilized by a sufficiently strong repulsive interaction. We also characterized the optimality condition satisfied by asymptotic equilibria. Finally, we showed exponential decay along the retained directions under a natural positivity assumption.
The numerical experiments confirm the structural role of the second-order terms. The method is not uniformly faster, nor universally superior to first-order EKI-type methods. Its main advantage appears in adverse initialization regimes, where standard EKI and accelerated variants may collapse prematurely. In such cases, the attraction–repulsion mechanism maintains a nonzero ensemble spread and allows the particles to continue exploring informative directions. This behavior is visible in the linear elliptic inverse problem and in the Darcy flow inverse problem.
This work was carried out within the activities of the PRIN PNRR Project 2022 No. P2022JC95T, “Data-driven discovery and control of multiscale interacting artificial agent systems”, funded by MUR (Ministry of University and Research) and Next Generation EU – European Commission.
G.V. acknowledges the support of Sapienza University under Ateneo Project 2024 “Advanced Computational Methods for Real-World Applications: Data-Driven Models, Hyperbolic Equations and Optimal Control”.
G.V. is a member of the INdAM Research National Group of Scientific Computing (INdAM–GNCS) and of the SIMAI’s Activity Group on “Multiscale Modelling of Interacting Agents”.
We propose additional results on the linear elliptic problem discussed in Section 4.3. In particular, we consider a different initialization of the ensemble based on low-frequency sine modes. Let \[\mathcal{S}_\ell(s)=\sin(\ell s), \qquad \ell=1,\dots,L.\] We define the corresponding discrete basis vectors on the grid \(\{s_j\}_{j=1}^d\) and normalize these vectors in \(\mathbb{R}^d\), and use them to construct the initial particles.
More precisely, let \(\mathbf{S}\in\mathbb{R}^{d\times L}\) be the matrix whose columns are the normalized discrete sine modes, we define the initial ensemble by \[\label{eq:init95sine} x_j^0 = \sigma_0 \sum_{\ell=1}^L \xi_{\ell,j}\,\mathbf{S}_{\ell j}, \qquad j=1,\dots,J,\tag{41}\] where, \(\sigma_0>0\) controls the spread of the initialization and \(\xi_{\ell,j}\sim\mathcal{N}(0,1)\) are independent random coefficients. For the numerical experiments, we choose a moderate number of low-frequency modes, for example \(L=6\), and different values of \(\sigma_0\).
Figure 9: Additional reconstructions for the linear elliptic inverse problem with \(\sigma_0=0.01\). Left: sinusoidal forcing. Right: double-step forcing.. a — Sinusoidal forcing., b — Double-step forcing.
| Forcing | \(\sigma_0\) | Method | Final misfit | Relative error | Final spread | Stopping time |
|---|---|---|---|---|---|---|
| Sinusoidal | \(10^{-2}\) | Standard EKI | \(7.8440\cdot10^{1}\) | \(1.0005\) | \(2.6723\cdot10^{-3}\) | not reached |
| Nesterov EKI | \(7.3919\cdot10^{1}\) | \(1.0030\) | \(1.4469\cdot10^{-4}\) | not reached | ||
| Second-order EKI | \(3.3075\cdot10^{1}\) | \(5.7114\cdot10^{-1}\) | \(6.5148\cdot10^{-1}\) | \(329.4\) | ||
| 2-7 | \(10^{-1}\) | Standard EKI | \(7.4373\cdot10^{1}\) | \(1.0011\) | \(1.1502\cdot10^{-2}\) | not reached |
| Nesterov EKI | \(7.3914\cdot10^{1}\) | \(1.0034\) | \(4.2140\cdot10^{-5}\) | not reached | ||
| Second-order EKI | \(3.3072\cdot10^{1}\) | \(5.8142\cdot10^{-1}\) | \(6.5151\cdot10^{-1}\) | \(331.3\) | ||
| 2-7 | \(5\cdot10^{-1}\) | Standard EKI | \(7.3938\cdot10^{1}\) | \(1.0027\) | \(1.3760\cdot10^{-2}\) | not reached |
| Nesterov EKI | \(7.3914\cdot10^{1}\) | \(1.0034\) | \(1.9071\cdot10^{-4}\) | not reached | ||
| Second-order EKI | \(3.3074\cdot10^{1}\) | \(5.3116\cdot10^{-1}\) | \(6.5093\cdot10^{-1}\) | \(355.9\) | ||
| Double step | \(10^{-2}\) | Standard EKI | \(2.8546\cdot10^{3}\) | \(6.6792\cdot10^{-1}\) | \(2.6723\cdot10^{-3}\) | not reached |
| Nesterov EKI | \(3.3075\cdot10^{1}\) | \(3.2563\cdot10^{-1}\) | \(8.3346\cdot10^{-4}\) | \(311.8\) | ||
| Second-order EKI | \(3.2831\cdot10^{1}\) | \(3.2032\cdot10^{-1}\) | \(4.4684\cdot10^{-1}\) | \(13.3\) | ||
| 2-7 | \(10^{-1}\) | Standard EKI | \(7.8214\cdot10^{1}\) | \(3.4235\cdot10^{-1}\) | \(1.1502\cdot10^{-2}\) | not reached |
| Nesterov EKI | \(3.3054\cdot10^{1}\) | \(3.2402\cdot10^{-1}\) | \(7.2676\cdot10^{-3}\) | \(35.2\) | ||
| Second-order EKI | \(3.2909\cdot10^{1}\) | \(3.2510\cdot10^{-1}\) | \(4.4338\cdot10^{-1}\) | \(9.9\) | ||
| 2-7 | \(5\cdot10^{-1}\) | Standard EKI | \(3.3075\cdot10^{1}\) | \(3.2295\cdot10^{-1}\) | \(1.7237\cdot10^{-2}\) | \(629.9\) |
| Nesterov EKI | \(3.3054\cdot10^{1}\) | \(3.2260\cdot10^{-1}\) | \(2.8654\cdot10^{-2}\) | \(8.6\) | ||
| Second-order EKI | \(3.2621\cdot10^{1}\) | \(3.3311\cdot10^{-1}\) | \(4.4469\cdot10^{-1}\) | \(10.1\) |
For completeness, we report the parameter configurations and the aggregate tuning results used to select the second-order EKI parameters in Section 4.5.1. The configurations are obtained from the grid \[\gamma\in\{1,2\}, \qquad \beta\in\{0.5,1\}, \qquad k\in\{0.01,0.05,0.1\},\] with \(\alpha=0.2\), \(\varepsilon=10^{-3}\), and \(p=1.5\).
| Configuration | Final \(\theta\)-error | Relative permeability error | Final misfit | Final spread |
|---|---|---|---|---|
| C9 | \(2.7813 \pm 0.6989\) | \(0.6439 \pm 0.1045\) | \(4.4964 \pm 0.0016\) | \(0.6587 \pm 0.0333\) |
| C12 | \(2.8455 \pm 0.7136\) | \(0.6593 \pm 0.0981\) | \(4.4898 \pm 0.0061\) | \(0.5570 \pm 0.0362\) |
| C11 | \(2.9063 \pm 0.6903\) | \(0.6718 \pm 0.1035\) | \(4.5227 \pm 0.0572\) | \(0.4362 \pm 0.0210\) |
| C2 | \(2.9525 \pm 0.7790\) | \(0.7455 \pm 0.0359\) | \(4.4866 \pm 0.0131\) | \(0.4917 \pm 0.0377\) |
| C8 | \(2.9561 \pm 0.6268\) | \(0.6517 \pm 0.0973\) | \(6.5005 \pm 1.1190\) | \(0.4757 \pm 0.0075\) |
| C5 | \(3.0341 \pm 0.7895\) | \(0.8514 \pm 0.0781\) | \(4.4884 \pm 0.0083\) | \(0.4365 \pm 0.0537\) |
| C3 | \(3.0739 \pm 0.7401\) | \(0.9442 \pm 0.2033\) | \(4.8213 \pm 0.7476\) | \(0.6425 \pm 0.0705\) |
| C4 | \(3.1917 \pm 0.6090\) | \(0.6844 \pm 0.1002\) | \(6.8061 \pm 1.3380\) | \(0.2012 \pm 0.0021\) |
| C1 | \(3.2114 \pm 0.5314\) | \(0.6571 \pm 0.0803\) | \(11.6790 \pm 1.1959\) | \(0.2074 \pm 0.0015\) |
| C6 | \(3.2587 \pm 0.5737\) | \(1.2130 \pm 0.6574\) | \(4.9462 \pm 0.9034\) | \(0.5747 \pm 0.1251\) |
| C10 | \(3.4085 \pm 0.4460\) | \(0.6867 \pm 0.0630\) | \(21.1280 \pm 1.4249\) | \(0.1792 \pm 0.0019\) |
| C7 | \(3.5512 \pm 0.3661\) | \(0.7212 \pm 0.0480\) | \(35.2100 \pm 2.1774\) | \(0.1842 \pm 0.0015\) |