Hierarchical Kalman Filter

Statistics
Introduced by
Chou, Willsky & Benveniste
Year
1994
Type
recursive Bayesian state estimator
Family
Bayesian / computational

What does it do?

The Hierarchical Kalman Filter (HKF) is a recursive estimator for multiscale dynamic models that evolve on dyadic trees, where each level of the tree corresponds to a particular scale of representation.

In the formulation of Chou, Willsky and Benveniste (1994), estimation consists of a fine-to-coarse filtering sweep, made up of a measurement update, a fine-to-coarse prediction step and a fusion step, followed by a coarse-to-fine smoothing step. The algorithm is an efficient optimal estimator for this class of models and generalises Kalman filtering and Rauch-Tung-Striebel smoothing to dyadic trees.

The intuition behind the method

Consider a signal observed at several resolutions, for example coarse summaries of a scene together with fine detail within it. Each scale of the signal is represented as a level of a dyadic tree. A flat Kalman filter could be applied to a state vector that stacks all scales, but the hierarchical formulation keeps the scales separate in a tree. Information moves up the tree during the fine-to-coarse sweep and back down during the coarse-to-fine smoothing step, so measurements at one resolution inform the estimates at other resolutions. The approach is most useful when the multiscale structure is part of the model itself.

History

The multiscale recursive estimation framework on which this method rests was described by K.C. Chou, Alan S. Willsky and Albert Benveniste in their 1994 IEEE Transactions on Automatic Control paper on multiscale recursive estimation, data fusion and regularization. Their algorithm is a dyadic-tree generalisation of Kalman filtering and Rauch-Tung-Striebel smoothing, consisting of a fine-to-coarse filtering sweep followed by a coarse-to-fine smoothing step. The name 'Hierarchical Kalman Filter' does not appear in that source, so the label should be read as a convenient name for this class of methods.

When to use it

Choose the Hierarchical Kalman Filter when the data or the dynamics naturally have several scales or levels and the model can state how those levels relate. Typical cases are measurements available at different resolutions, or subsystems coupled through a shared higher-level state. It is most useful when a flat Kalman filter on the full concatenated state would be impractical and the conditional-independence structure between levels is known. Do not use it when a single-level Kalman filter describes the dynamics adequately, when the hierarchy is imposed without a modelling reason, or when the dynamics or measurement relations are strongly nonlinear or non-Gaussian. In those cases, consider the extended or unscented Kalman filter variants or the hierarchical particle filter approaches listed as related methods.

Limitations and considerations

  • The model is linear Gaussian at each level. When dynamics or measurements are nonlinear or heavy-tailed, the estimates are only approximate and can be biased.
  • Choosing the levels, the tree structure, and each level's F, Q, H and R requires substantive domain knowledge, and the results depend heavily on these choices.
  • The cross-level passes add implementation complexity compared with a flat Kalman filter, including the required ordering of the fine-to-coarse and coarse-to-fine passes.
  • The computational advantage depends on the levels being conditionally independent given the structure; dense couplings between levels reduce it.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Represents data that arrive at several resolutions, or from nested subsystems, within one linear Gaussian recursive framework rather than forcing them into a single flat state.
  • When levels are conditionally independent given the structure, the recursion avoids working with one large concatenated state covariance; the source describes the algorithm as highly efficient for this class of models.
  • Observations at one level influence the estimates at other levels through the cross-level passes, so information is not confined to the level where it was measured.
  • Gives Gaussian posterior means and covariances at every level, which supports uncertainty statements for each scale.
  • The coarse-to-fine smoothing pass uses the whole data record to revise earlier estimates.

Applications

  • Fusing measurements available at different spatial or temporal resolutions, the multiresolution data-fusion setting addressed by Chou, Willsky and Benveniste.
  • Estimating signals and images from noisy or partial measurements with multiscale models, the setting of the regularisation problems discussed in the same paper.
  • Modelling networked or multi-subsystem dynamical systems in which local states are coupled through a shared higher-level state. This is a modelling pattern rather than a documented application.

How it works

How it works

1

The state is organised on a dyadic tree, with each level representing a scale of representation. The class of multiscale dynamic models is defined on this tree, and the estimation algorithm is designed for that class.

2

At each level, the standard Kalman prediction advances the mean and covariance from time k-1 to k using that level's F and Q, as given in the formulas above.

Formula
\hat{x}_{k|k-1} = F_k \hat{x}_{k-1|k-1},\quad P_{k|k-1} = F_k P_{k-1|k-1} F_k^\top + Q_k
3

At each node, the Kalman gain K weights new measurements against the prior prediction, and the posterior mean and covariance are corrected accordingly. In the tree formulation of Chou, Willsky and Benveniste, this measurement update is the first of the three steps in each filtering sweep.

Formula
K_k = P_{k|k-1} H_k^\top (H_k P_{k|k-1} H_k^\top + R_k)^{-1}
4

The fine-to-coarse sweep passes information from finer nodes to coarser ones through a prediction step and a fusion step, so the filtered estimate at each coarse node reflects the finer data beneath it. The explicit equations are given in Chou, Willsky and Benveniste (1994).

5

A coarse-to-fine smoothing step, the tree analogue of Rauch-Tung-Striebel smoothing, then revises the estimates at each node using the full data record. Chou, Willsky and Benveniste (1994) is the reference for the exact recursion.

Common pitfalls

  • Imposing a hierarchy that does not match the data-generating process. The arithmetic can be correct while the resulting posteriors are poorly calibrated.
  • Assuming linear Gaussian dynamics at every level without checking them. Errors introduced at one level are carried to other levels by the cross-level passes.
  • Running only the fine-to-coarse aggregation and omitting the return pass from coarse to fine levels, which leaves coarse-level information unused at the finer levels.
  • Confusing this method with a hierarchical Bayesian model. The HKF is a recursive Gaussian state estimator in which the model matrices are treated as known; it does not place priors on the model parameters.
  • Skipping consistency checks, such as normalised innovation squared tests on each level's innovations.

Frequently asked questions

How does the Hierarchical Kalman Filter differ from running separate Kalman filters at each level?

Separate filters at each level ignore the dependencies between levels and cannot pass information across them. The hierarchical formulation passes information between levels through its fusion and smoothing passes, so an observation at one level can improve the estimates at others.

Is the Hierarchical Kalman Filter the same as a multi-level state-space model?

They describe the same model class from different angles. A multi-level state-space model is the generative specification of the structure, while the HKF is a recursive algorithm for computing Gaussian estimates within a model of that kind. Whether the efficient recursion applies depends on the tree structure of the model.

What if my dynamics are nonlinear?

Extended or unscented Kalman filter variants apply a linearisation or sigma-point approximation at each level. These general approaches are not covered by the sources for this page. For strongly nonlinear or non-Gaussian dynamics, the related hierarchical particle filter and sequential Monte Carlo methods are more suitable.

How do I validate that the hierarchy is correctly specified?

Normalised innovation squared (NIS) tests at each level compare the innovations with their predicted covariance, and persistent failures can flag misspecified transition or observation models. Passing these tests is only a consistency check. It does not establish that the hierarchy is correctly specified.

Does the HKF require observations at every level?

Not necessarily. Whether a level without direct observations is informed through the cross-level passes depends on the tree model and on how the fine-to-coarse and coarse-to-fine sweeps connect it to observed nodes. This should be checked against Chou, Willsky and Benveniste (1994) for the specific model.

Related methods

Sources

  1. Chou, K. C., Willsky, A. S., & Benveniste, A. (1994). Multiscale recursive estimation, data fusion, and regularization. IEEE Transactions on Automatic Control, 39(3), 464–478.

    Open DOI reference
  2. Sarkka, S. (2013). Bayesian Filtering and Smoothing. Cambridge University Press.

    ISBN: 978-1107619289