System Identification for Continuous-time Linear Dynamical Systems

Peter Halmos, Jonathan W. Pillow, David A. KnowlesarXiv 2023 · DOI

Introduction

System identification—the process of learning the underlying mathematical rules governing a dynamical system—is a cornerstone of control theory and machine learning. While the discrete-time Kalman filter is a standard tool for state estimation, it typically relies on the assumption of equally-spaced observations. In real-world applications such as biological monitoring or medical record analysis, data is often sampled at irregular intervals. This paper introduces a robust framework for continuous-time linear dynamical systems (LDS) that effectively handles irregularly sampled or missing data by operating directly in the continuous domain.

Problem Statement: The Limitations of Discrete-Time Models

Standard discrete-time models struggle when observations do not arrive at regular intervals. In these scenarios, the discrete-time transition matrix becomes dependent on the specific time step between observations. Attempting to "un-distort" learned parameters to recover the true underlying continuous dynamics is mathematically complex and often leads to significant loss of accuracy. Furthermore, discrete-time models are prone to instability when dealing with "fast" dynamics (systems with a high spectral radius).

Methodology

The authors propose a continuous-time approach using Itô Stochastic Differential Equations (SDEs), featuring two primary technical innovations:

1. The Two-Filter Smoother

Traditional smoothing (estimating past states using all available data) typically employs a forward pass followed by a backward pass (e.g., Rauch-Tung-Striebel smoothing). The authors derive a novel "two-filter" form where the backward pass can be computed analytically and independently of the forward pass. This decoupling not only provides mathematical elegance but also enables potential parallelization of the smoothing process.

2. Continuous-Discrete Expectation-Maximization (EM)

To learn system parameters from noisy, irregular data, the authors developed a specialized EM algorithm:

  • E-Step: Employs the new two-filter smoother to estimate hidden states.
  • M-Step: Updates the system parameters, specifically the dynamics matrix $A$ and the noise covariance $Q_c$. Since the relationship between continuous dynamics and observations involves non-linear matrix exponentials, the authors provide both a fast second-order approximation and a full non-linear optimization using an infinite-series representation of the gradient.

Experimental Results

The framework was evaluated using a simulated genetic toggle-switch circuit, a bi-stable system representing mutual repression between two proteins. This system was sampled at highly irregular intervals to mimic noisy biological datasets like single-cell RNA-seq.

Figure 1: Comparison of norm-error between continuous-time (blue) and discrete-time (orange) models across varying scaling factors. The continuous-time model demonstrates significantly lower error and greater stability as system complexity (spectral radius) increases.

The results demonstrate that the continuous-time EM algorithm consistently outperforms standard discrete-time implementations (such as pykalman). As shown in Figure 1, as the irregularity of sampling increases or the spectral radius of the dynamics matrix grows (represented by the scaling factor $\omega_i$), the performance gap widens. While the error in discrete-time models spikes under these conditions, the continuous-time model remains robust and accurate.

Discussion and Conclusion

By learning the dynamics matrix $A$ directly, the proposed method bypasses the mathematical ambiguities inherent in converting discrete-time parameters back to continuous ones. While the non-linear optimization in the M-step introduces higher computational complexity compared to discrete-time updates, the gains in accuracy and robustness for irregular data are substantial. Future work may involve integrating this framework into modern deep learning architectures like State-Space Models (SSMs) or extending the methodology to fully non-linear SDEs.

Summary updated

BibTeX
@misc{halmos2023system,
  author = {Peter Halmos and Jonathan W. Pillow and David A. Knowles},
  title = {{System Identification for Continuous-time Linear Dynamical Systems}},
  year = {2023},
  eprint = {2308.11933},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2308.11933},
}
Figure