Diffusion Maps Kalman Filter for a Class of Systems With Gradient Flows

Tal Shnitzer, Ronen Talmon, Jean-Jacques E. Slotine · DOI

Abstract

In this paper, we propose a non-parametric method for state estimation of high-dimensional nonlinear stochastic dynamical systems, which evolve according to gradient flows with isotropic diffusion. We combine diffusion maps, a manifold learning technique, with a linear Kalman filter and with concepts from Koopman operator theory. More concretely, using diffusion maps, we construct data-driven virtual state coordinates, which linearize the system model. Based on these coordinates, we devise a data-driven framework for state estimation using the Kalman filter. We demonstrate the strengths of our method with respect to both parametric and non-parametric algorithms in three tracking problems. In particular, applying the approach to actual recordings of hippocampal neural activity in rodents directly yields a representation of the position of the animals. We show that the proposed method outperforms competing non-parametric algorithms in the examined stochastic problem formulations. Additionally, we obtain results comparable to classical parametric algorithms, which, in contrast to our method, are equipped with model knowledge.

Introduction

State estimation—the process of inferring the hidden state of a system from noisy, indirect observations—is a fundamental challenge in fields ranging from robotics to neuroscience. Traditionally, the Kalman Filter provides an optimal solution for linear systems, while variants like the Extended Kalman Filter (EKF) or Particle Filter (PF) address nonlinearities. However, these methods are parametric: they rely on a precise mathematical model of the system's dynamics and measurement processes.

In many real-world applications, such as decoding neural activity to track an animal's position, these underlying equations are unknown. Existing non-parametric methods often struggle with high-dimensional data or fail to adequately handle stochastic noise. This paper introduces the Diffusion Maps Kalman Filter (DMK), a framework that discovers a coordinate system where nonlinear dynamics appear linear, allowing for optimal state estimation without a predefined model.

The DMK Framework

The DMK bridges the gap between manifold learning and control theory through three primary components:

  1. Diffusion Maps (DM): This manifold learning technique identifies the underlying geometric structure of high-dimensional data. For systems governed by gradient flows, the eigenfunctions of the manifold evolve according to a linear drift.
  2. Geometric Linearization: Instead of linearizing complex equations, the DMK transforms raw data into a "virtual state" space defined by these DM eigenfunctions. In this discovered space, the nonlinear system is effectively linearized.
  3. Linear Kalman Filtering: Once the system is represented in the virtual space, a standard linear Kalman Filter is applied. This filter optimally updates state estimates by balancing the learned dynamics against measurement noise.
A sample trajectory of a stochastic system evolving according to a gradient flow, illustrating the complexity of the tracking task.

Unlike operator-theoretic methods like Extended Dynamic Mode Decomposition (EDMD), the DMK does not require a user-defined dictionary of basis functions; it learns the optimal representation directly from the data. Furthermore, the paper provides formal proofs (Propositions 1 and 2) establishing the conditions under which these data-driven virtual states are observable and detectable.

Experimental Evaluation

The researchers evaluated the DMK across three distinct scenarios:

  • Synthetic 2D Tracking: Tracking an object in a "double-well" potential measured via polar coordinates with Gaussian noise.
  • Synthetic 3D Sphere Tracking: Tracking an object on a sphere using simulated "Geiger counter" measurements (Poisson noise) to test robustness against non-Gaussian data.
  • Rat Hippocampal Activity: A real-world application using neural spike recordings to recover a rat's 2D position in a W-shaped maze.

Key Results and Performance

The DMK demonstrates significant advantages over existing non-parametric techniques. In synthetic tests, it consistently outperformed Gaussian Process (GP) filtering and the Koopman Kalman Filter (KKF) across various signal-to-noise ratios (SNR).

Comparison of Normalized RMSE across different SNR levels for the synthetic 2D tracking problem. The DMK (blue) significantly outperforms other non-parametric methods and approaches the performance of the parametric Particle Filter (PF).

As shown in the performance metrics, the DMK's error rates at high SNR levels were nearly identical to those of a Particle Filter that was provided with the true mathematical model of the system. In the neural decoding task, the DMK successfully reconstructed the animal's path, providing a smoother and more accurate representation than standard dimensionality reduction techniques like PCA.

Conclusion and Future Work

The Diffusion Maps Kalman Filter offers a powerful, data-driven alternative to traditional state estimation. By leveraging the inherent geometry of stochastic systems, it achieves high accuracy without requiring explicit physical models. While currently optimized for gradient flows with isotropic diffusion, future research will explore extending the framework to non-isotropic noise, multi-modal data fusion, and adaptive variance estimation to further broaden its applicability in complex, real-world environments.

Summary updated

BibTeX
@article{shnitzer2020diffusion,
  author = {Tal Shnitzer and Ronen Talmon and Jean-Jacques E. Slotine},
  title = {{Diffusion Maps Kalman Filter for a Class of Systems With Gradient Flows}},
  journal = {IEEE Transactions on Signal Processing},
  year = {2020},
  doi = {10.1109/tsp.2020.2987750},
}
Figure