Interacting Multiple Model (IMM) Filter and Multiple Model State Estimation
Central for the performance of a model-based state estimator is how well the model corresponds to the process to be observed. In practice, the question arises whether the process to be estimated always behaves exactly according to one model or whether the process changes between different models. The solution is to take this into account by using multiple models. In the literature this aspect is called multiple model (MM) estimation. The challenge is both how exactly, i.e. only one model or the mixture of several models, and according to which rules the process changes into the different models.
First generation
In the so-called first generation of MM methods, it is assumed that the system behaves according to a single model which is not known in advance. It is only known that it is one model out of a known set of models. Therefore, the approach is to use r parallel Kalman filters, i.e. one Kalman filter for each model. By considering the innovation covariance matrix, a recursive estimator can be derived, which over time gives a higher weighting to the Kalman filter for which the model used corresponds to the actual model.
Second generation
The second generation removes the need to stick to a specific one for the entire runtime and allows the system to switch between the different models. However, this freedom leads to the fact that r^n parallel filters are needed for the optimal result. In order to have practical solutions, several sub-optimal ones exist.
Third generation
The third generation basically does not allow any of the previously mentioned restrictions, i.e. the system can also behave according to unknown models. However, solutions for this problem do not go quite so strictly.
The Interacting Multiple Model (IMM) filter
The IMM filter by Blom and Bar-Shalom [3] is the most widely used second-generation method. It approximates the optimal but exponentially growing bank of \( r^n \) filters with only \( r \) filters, one per model, by mixing their estimates before every cycle. Its cost is roughly that of \( r \) Kalman filters, which made it the standard approach for tracking maneuvering targets.
The mode switching is modeled as a Markov chain with known transition probabilities
\[ p_{ij} = P\left( M_j(k) \mid M_i(k-1) \right) , \]
the probability that the system switches from model \( i \) to model \( j \) within one step. Each model \( j \) has its own filter with estimate \( \mathbf{x}_j(k) \), covariance \( \mathbf{P}_j(k) \), and mode probability \( \mu_j(k) \). One IMM cycle consists of four steps.
1. Interaction (mixing). Predicted mode probabilities and mixing weights:
\[ \bar{c}_j = \sum_{i=1}^{r} p_{ij}\,\mu_i(k-1), \qquad \mu_{i \vert j} = \frac{p_{ij}\,\mu_i(k-1)}{\bar{c}_j} \]
Each filter is restarted from a mixture of all previous estimates:
\[ \mathbf{x}_{0j} = \sum_{i=1}^{r} \mu_{i \vert j}\,\mathbf{x}_i(k-1) \]
\[ \mathbf{P}_{0j} = \sum_{i=1}^{r} \mu_{i \vert j} \left[ \mathbf{P}_i(k-1) + \left(\mathbf{x}_i(k-1) - \mathbf{x}_{0j}\right)\left(\mathbf{x}_i(k-1) - \mathbf{x}_{0j}\right)^T \right] \]
2. Model-matched filtering. Each of the \( r \) filters (Kalman, EKF, UKF, …) runs one prediction and update step starting from \( \mathbf{x}_{0j} \), \( \mathbf{P}_{0j} \). It returns its updated estimate together with its innovation \( \boldsymbol{\nu}_j \) and innovation covariance \( \mathbf{S}_j \).
3. Mode probability update. The likelihood of the measurement under model \( j \) is the Gaussian density of the innovation,
\[ \Lambda_j(k) = \mathcal{N}\left(\boldsymbol{\nu}_j; \mathbf{0}, \mathbf{S}_j\right) = \frac{1}{\sqrt{\det\left(2\pi\mathbf{S}_j\right)}} \exp\left(-\tfrac{1}{2}\boldsymbol{\nu}_j^T\mathbf{S}_j^{-1}\boldsymbol{\nu}_j\right) \]
and the mode probabilities follow from Bayes’ rule:
\[ \mu_j(k) = \frac{\Lambda_j(k)\,\bar{c}_j}{\sum_{l=1}^{r} \Lambda_l(k)\,\bar{c}_l} \]
4. Combination (output only). The overall estimate is the probability-weighted mixture:
\[ \mathbf{x}(k) = \sum_{j=1}^{r} \mu_j(k)\,\mathbf{x}_j(k) \]
\[ \mathbf{P}(k) = \sum_{j=1}^{r} \mu_j(k) \left[ \mathbf{P}_j(k) + \left(\mathbf{x}_j(k) - \mathbf{x}(k)\right)\left(\mathbf{x}_j(k) - \mathbf{x}(k)\right)^T \right] \]
The combined estimate is only an output; the next cycle starts again from the individual filters in step 1. The spread-of-means term in the covariances accounts for the disagreement between the models.
Design tips
- Model set. Use as few models as possible that differ clearly, for example constant velocity plus coordinated turn, or a low- and a high-process-noise version of the same model. Too similar models cannot be distinguished by their likelihoods.
- Transition probabilities. The diagonal \( p_{jj} \) is related to the expected sojourn time \( \tau_j \) in model \( j \) by \( p_{jj} \approx 1 - T/\tau_j \) for sample time \( T \). Values close to one give smooth but slow mode switching.
- Different state dimensions. If the models have different states (e.g. a turn rate only in the turn model), the smaller states must be augmented consistently before mixing.
- Numerics. Compute the likelihoods in the log domain and keep a lower bound on the mode probabilities, otherwise a model can never be recovered once its probability underflows to zero.
- Validation. Check the IMM like any filter with NEES and NIS, also around model transitions.
Further reading
Probably the most comprehensive work on the subject is the survey by Li and Jilkov, although it refers to the tracking use case [1]. For the IMM approach, the paper by S. Dingler goes into more detail and describes the advantages and disadvantages [2]. The IMM was introduced by Blom and Bar-Shalom [3]; Yaakov Bar-Shalom and co-authors also treat it in depth in their textbook [4].
References
[1] X. Rong Li and V. P. Jilkov, “Survey of maneuvering target tracking. Part V. Multiple-model methods,” in IEEE Transactions on Aerospace and Electronic Systems, vol. 41, no. 4, pp. 1255-1321, Oct. 2005, doi: 10.1109/TAES.2005.1561886.
[2] Dingler, Sebastian. “State estimation with the Interacting Multiple Model (IMM) method.” arXiv preprint arXiv:2207.04875, 2022.
[3] H. A. P. Blom and Y. Bar-Shalom, “The interacting multiple model algorithm for systems with Markovian switching coefficients,” in IEEE Transactions on Automatic Control, vol. 33, no. 8, pp. 780-783, Aug. 1988, doi: 10.1109/9.1299.
[4] Y. Bar-Shalom, X. R. Li and T. Kirubarajan (2001). Estimation with Applications to Tracking and Navigation. Wiley.