Skip to main content
QUICK REVIEW

[Paper Review] Graph Kalman Filters

Cesare Alippi, Daniele Zambon|arXiv (Cornell University)|Mar 21, 2023
Bayesian Modeling and Causal InferenceComputer Science3 citations
TL;DR

This paper introduces Graph Kalman Filters (GKFs), the first generalization of Kalman and extended Kalman filters to discrete-time dynamical systems where inputs, states, and outputs are attributed graphs with time-varying topology and features. The method uses a spatio-temporal graph neural network (STGNN) to learn nonlinear state transition and readout functions end-to-end, achieving state-of-the-art performance on graph-based prediction tasks with significant error reduction via Kalman filtering refinement (RPI up to -98.6%).

ABSTRACT

The well-known Kalman filters model dynamical systems by relying on state-space representations with the next state updated, and its uncertainty controlled, by fresh information associated with newly observed system outputs. This paper generalizes, for the first time in the literature, Kalman and extended Kalman filters to discrete-time settings where inputs, states, and outputs are represented as attributed graphs whose topology and attributes can change with time. The setup allows us to adapt the framework to cases where the output is a vector or a scalar too (node/graph level tasks). Within the proposed theoretical framework, the unknown state-transition and the readout functions are learned end-to-end along with the downstream prediction task.

Motivation & Objective

  • To extend classical Kalman filtering to graph-structured data where inputs, states, and outputs are attributed graphs with evolving topology.
  • To address the challenge of learning unknown, nonlinear state transition and readout functions in a graph state space model with stochastic noise.
  • To enable end-to-end learning of system dynamics and downstream prediction tasks despite the discrete, non-differentiable nature of graph topology.
  • To validate the framework on synthetic graph datasets with both linear and nonlinear dynamics, demonstrating robustness and performance gains.

Proposed method

  • Proposes a graph state space (GSS) model where states, inputs, and outputs are attributed graphs with time-varying topology and node features.
  • Models the system dynamics using nonlinear functions $ f_{\textsc{st}} $ and $ f_{\textsc{ro}} $ for state transition and readout, respectively, with additive Gaussian noise on node signals and topology.
  • Employs a spatio-temporal graph neural network (STGNN) to approximate $ f_{\textsc{st}} $ and $ f_{\textsc{ro}} $, enabling end-to-end training via backpropagation.
  • Applies a Kalman filtering refinement (KFR) procedure to improve predictions by incorporating feedback from observed outputs, reducing prediction error.
  • Uses a two-step prediction-update cycle: a priori prediction $ \boldsymbol{\mathbf{h}}_t^{-} $ and a posteriori update $ \boldsymbol{\mathbf{h}}_t^{+} $, with error covariance updates.
  • Leverages relative prediction improvement (RPI) to quantitatively evaluate the effectiveness of KFR, with RPI = -98.6% on LinGSS indicating near-zero prediction error.

Experimental results

Research questions

  • RQ1Can Kalman filtering be generalized to systems where inputs, states, and outputs are attributed graphs with time-varying topology?
  • RQ2How can nonlinear, non-differentiable graph topology be incorporated into a Kalman filtering framework with gradient-based learning?
  • RQ3To what extent does Kalman filtering refinement improve prediction accuracy in graph-based dynamical systems?
  • RQ4How do learned STGNN models compare to ground-truth models in terms of parameter accuracy and prediction performance after KFR?
  • RQ5Can the proposed Graph Kalman Filter framework achieve optimal performance even when the underlying system model is unknown?

Key findings

  • The Graph Kalman Filter (GKF) framework successfully generalizes Kalman filtering to graph-structured data with time-varying topology and node features.
  • On the LinGSS dataset, the Replica model with KFR reduced prediction error (MSE) from 0.384 to 0.271, achieving a relative prediction improvement (RPI) of -98.6% ± 1.2.
  • On the NonLinGSS dataset, the KFR reduced MSE from 0.483 to 0.359, achieving an RPI of -88.7% ± 1.6, demonstrating strong error reduction in nonlinear settings.
  • The STGNN model, while not matching the Replica model’s performance, still benefited from KFR, achieving an RPI of -34.2% ± 15.9 on LinGSS and -13.5% ± 7.7 on NonLinGSS.
  • Trained models learned parameters close to ground truth (within ~10% on NonLinGSS), and their refined versions outperformed non-refined counterparts, confirming the effectiveness of KFR.
  • The KFR procedure achieved near-optimal performance on the Replica GT model (MSE = 0.014), with RPI of -98.9% ± 0.0, confirming the correctness of the implementation.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.