Beyond expectations: residual dynamic mode decomposition and variance for stochastic dynamical systems

Matthew J. Colbrook, Qin Li, Ryan V. Raut, Alex Townsend

Introduction

The Koopman operator has emerged as a cornerstone of data-driven dynamical systems theory, offering a way to represent nonlinear dynamics as linear operators on an infinite-dimensional space of observables. Dynamic Mode Decomposition (DMD) is the primary numerical tool used to approximate the spectral properties of these operators. However, standard DMD algorithms face a significant limitation when applied to stochastic systems: they focus almost exclusively on the expectation—the average behavior of the system.

In deterministic settings, recent advancements like Residual DMD (ResDMD) have addressed issues such as spurious modes and spectral verification. Yet, in stochastic environments—where randomness is an intrinsic feature rather than an external nuisance—relying solely on the mean is insufficient. Two dynamical modes may exhibit identical average frequencies, but one might be a stable, coherent signal while the other is dominated by noise. This paper introduces a framework to bridge this gap, moving "beyond expectations" to incorporate variance directly into the Koopman framework.

Methodology: Stochastic ResDMD and Variance-Pseudospectra

The authors extend the ResDMD framework to stochastic settings by accounting for the statistical fluctuations inherent in the system. Their methodological contributions center on the ability to measure and verify the reliability of computed modes.

Batched Koopman Operators

To capture higher-order moments, the authors introduce operators designed to process batched snapshot data. This allows for the simultaneous estimation of the system's average evolution and its variance.

Stochastic ResDMD Framework

The core of the approach is a modified version of Residual DMD. By utilizing an additional matrix ($L$), the framework approximates the sum of the squared residual (the projection error of the model) and an integrated variance term. This dual focus ensures that the resulting spectral approximations are not only accurate on average but also statistically robust.

Variance-Pseudospectra

A key conceptual innovation of this work is the variance-pseudospectrum. While traditional pseudospectra identify regions where an operator is "nearly" singular, variance-pseudospectra serve as a gauge for statistical coherency. They provide a rigorous metric to distinguish between "true" coherent oscillations and those that are statistically "fuzzy" or unstable due to noise. This allows researchers to assign a confidence level to specific dynamical modes.

Theoretical Foundations

The paper provides a rigorous mathematical foundation for these new tools through several key theorems:

  • Convergence (Theorems 1 and 2): The authors prove that their algorithms converge to the true spectral properties of the stochastic Koopman operator as the volume of data increases.
  • Concentration Bounds (Theorem 3): They establish explicit bounds defining the relationship between the number of samples ($M$), the number of basis functions ($N$), and the resulting accuracy of the spectral estimates.

Experimental Validation

The framework was validated across a spectrum of synthetic and real-world datasets, demonstrating its versatility and diagnostic power.

Synthetic Benchmarks

  1. Arnold’s Circle Map: Used to demonstrate the convergence of the fundamental matrices ($A, L, H$) required for the stochastic framework.
  2. Stochastic Van der Pol Oscillator: By applying the variance residual to this classic nonlinear oscillator, the authors showed how the framework can distinguish between different eigenfunctions that might appear similar under standard DMD but possess vastly different noise profiles.

Neuronal Population Dynamics

The most striking application involved experimental recordings from the visual cortex of awake mice, sourced from the Allen Brain Observatory. Analyzing 400–800 neurons across 20 mice during a "Drifting Gratings" task, the framework identified a coherent population-level mode at the stimulus frequency (15 Hz).

Crucially, the variance-pseudospectra revealed a "U-shaped" relationship between variance residuals and arousal levels (measured by pupil diameter). This finding aligns with the Yerkes-Dodson law, which suggests that performance and neural coherency are optimized at intermediate arousal levels. While the expectation of the neural signal remained relatively constant across states, the variance—and thus the reliability of the neural representation—changed significantly, a nuance that would be invisible to standard DMD.

Discussion and Future Directions

By integrating variance into the Koopman operator framework, this work provides a more complete picture of stochastic dynamics. The ability to quantify statistical coherency transforms DMD from a descriptive tool into a diagnostic one, capable of verifying the physical relevance of discovered modes.

However, some challenges remain. The framework currently requires a pre-defined dictionary of observables; while ResDMD can verify the quality of a dictionary, it does not inherently solve the problem of initial dictionary selection. Additionally, while the current work focuses on process noise (internal stochasticity), future extensions could address measurement noise (external sensor error). Despite these areas for growth, the introduction of variance-pseudospectra represents a significant step forward in the rigorous analysis of complex, noisy systems in fields ranging from neuroscience to fluid mechanics.

Summary updated

BibTeX
@inproceedings{colbrook2023beyond,
  author = {Matthew J. Colbrook and Qin Li and Ryan V. Raut and Alex Townsend},
  title = {{Beyond expectations: residual dynamic mode decomposition and variance for stochastic dynamical systems}},
  booktitle = {Nonlinear},
  year = {2023},
  doi = {10.1007/s11071-023-09135-w},
}
Figure