Problem formulation

Scientific references

kipe estimates the parameters of a model from measurements with the reduced-order unscented Kalman filter (ROUKF) of [MC11]. This page follows the formulation and notation of [NAB26]; in the code, kipe.roukf implements the filter, and kipe.estimation runs it over a study.

The estimation problem

The forward model. The forward solver advances a state \(\bs{\chi}^k \in \mathbb{R}^r\) from one measurement time \(t^{k-1}\) to the next, \(t^k\), taking as many time steps as it needs,

\[\bs{\chi}^k = \mathcal{A}^k(\bs{\chi}^{k-1}, \bs{\phi}), \qquad k = 1, \dots, N_T,\]

with the physical parameters \(\bs{\phi} \in \mathbb{R}^p\) and a known initial state \(\bs{\chi}^0\). In kipe, \(\mathcal{A}^k\) is the solver’s propagate(). The state and parameters are all that a time step depends on, so the model can be restarted from any state. The model carries no process noise, so the parameters are the only unknowns.

The parameters. The filter estimates reparameterized parameters \(\bs{\theta} \in \mathbb{R}^p\), relative to the initial estimate \(\bs{\phi}^0\), the prior mean (parameters.reparameterization, parameters.priors):

\[\text{log:} \quad \phi_i = \phi_i^0 \, e^{\theta_i}, \qquad \text{multiplicative:} \quad \phi_i = \phi_i^0 \, \theta_i, \qquad \text{additive:} \quad \phi_i = \phi_i^0 + \theta_i,\]

so that the initial estimate is \(\theta^0_i = 0\) for the log and additive forms, and \(\theta^0_i = 1\) for the multiplicative form. The reparameterized parameters are then of similar size, though their physical values may differ by orders of magnitude. The log form keeps the sign of \(\phi_i^0\) (positive or negative), so the initial estimate must be nonzero, as for the multiplicative form. [NAB26] uses the multiplicative one. In kipe, the prior parameter covariance \(\bs{P}_\theta^0\) is diagonal, containing the squared standard deviations after conversion from the study-file uncertainties to \(\bs{\theta}\).

The measurements. \(\bs{Z}^k \in \mathbb{R}^m\) collects all measurements at \(t^k\), and the observation operator \(\mathcal{H}: \mathbb{R}^r \to \mathbb{R}^m\) predicts them from the state. In kipe, measurements are produced by a spatial sampler composed with an individual measurement model for each measurement (Measurements). The noise is assumed to be Gaussian, zero-mean, and independent, with covariance

\[\bs{W} = \operatorname{diag} \bs{\sigma}_Z^{\circ 2},\]

where \(\bs{\sigma}_Z\) collects the standard deviations of the measurements (noise.stddev).

The parameter estimation problem. The maximum a posteriori estimate of the parameters minimizes

\[J(\bs{\theta}) = \frac{1}{2} \big\| \bs{\theta} - \bs{\theta}^0 \big\|^2_{(\bs{P}_\theta^0)^{-1}} + \frac{1}{2} \sum_{k=1}^{N_T} \big\| \bs{Z}^k - \mathcal{H}\big(\bs{\chi}^k(\bs{\theta})\big) \big\|^2_{\bs{W}^{-1}},\]

with \(\|\bs{x}\|^2_{\bs{A}} = \bs{x}^T \bs{A} \bs{x}\) and \(\bs{\chi}^k(\bs{\theta})\) the state after \(k\) forward steps with the parameters \(\bs{\phi}(\bs{\theta})\).