Robust and Scalable Methods for the Dynamic Mode Decomposition

Travis Askham, Peng Zheng, Aleksandr Y. Aravkin, J. Nathan KutzSIAM 2022 · DOI

Authors: Travis Askham, Peng Zheng, Aleksandr Aravkin, and J. Nathan Kutz (University of Washington)

Abstract

The dynamic mode decomposition (DMD) is a broadly applicable dimensionality reduction algorithm that approximates a matrix containing time-series data by the outer product of a matrix of exponentials, representing Fourier-like time dynamics, and a matrix of coefficients, representing spatial structures. For data with sparse outliers or data which are not well-represented by exponentials in time, the standard Frobenius norm fit creates significant biases. We propose a framework for incorporating robust features into the nonlinear optimization used to compute the DMD. The algorithms are flexible, allowing for regularizers and constraints, and scalable, using a stochastic approach (SVRG) to decrease computational cost for high-dimensional data.

Introduction

Dynamic Mode Decomposition (DMD) has become a staple algorithm in fields ranging from fluid dynamics to neuroscience. It allows researchers to decompose complex, time-varying data into "modes"—spatial shapes that evolve exponentially over time. However, the standard implementation of DMD relies on the Frobenius norm (least squares), which assumes that noise is Gaussian. In real-world scenarios involving sensor failures, outliers, or transient non-exponential events, this assumption fails, leading to biased models and poor predictive power.

The Problem: The Sensitivity of Standard DMD

The "Achilles' heel" of standard DMD is its extreme sensitivity to "messy" data. Because least squares penalizes large errors quadratically, a single outlier or a localized transient event (a "bump") can dominate the optimization. Currently, practitioners must manually clean data or rely on pre-processing steps like Robust PCA. These methods are often "black boxes" that may inadvertently strip away relevant physical features before the DMD analysis even begins.

Methods: A Robust Optimization Framework

To address these limitations, we treat DMD as a nonlinear optimization problem using the Variable Projection (VP) framework. This allows for the direct integration of robust statistical penalties into the model fitting process.

Visualizing robustness: The left panel shows a non-exponential 'bump' (red) vs. an exponential fit (dashed). The center and right panels compare the quadratic loss and influence function (dashed) with the robust Huber penalty (red).

Robust Penalties and Constraints

Instead of the standard squared error, our framework supports:

  • Huber Penalty: This loss function behaves quadratically for small errors but linearly for large ones, effectively ignoring extreme outliers.
  • Trimmed Estimation: This allows the algorithm to completely discard the "worst" $h$ percent of data points, which is ideal for handling completely broken sensors.
  • Physical Constraints: Users can enforce stability by constraining eigenvalues to ensure the system does not grow to infinity, baking physical intuition directly into the optimization.

Scalability via SVRG

Adding robust penalties typically increases computational complexity. To maintain scalability for high-dimensional datasets (where the number of spatial points $n$ is large), we implement Stochastic Variance Reduced Gradient (SVRG). By processing random subsets of data rather than the entire set at each step, the algorithm achieves high accuracy with significantly lower computational overhead.

Key Results

The proposed robust DMD was evaluated against several synthetic benchmarks designed to mimic real-world data failures:

  1. Outlier Resilience: In tests with "spike" noise, Robust DMD maintained an eigenvalue error of $10^{-6}$, while standard DMD plateaued at $10^{-2}$—a four-order-of-magnitude improvement.
  2. Handling Non-Exponential Features: When a localized "bump" was added to a periodic signal, standard DMD failed to capture the underlying waves. The robust version successfully ignored the transient bump and recovered the true dynamics.
  3. Computational Efficiency: The SVRG approach outperformed standard batch methods, reaching lower error levels faster, proving that robustness does not have to come at the cost of speed.

Conclusion

By incorporating robustness directly into the DMD optimization, we provide a method that is more resilient to the realities of experimental data. This framework eliminates the need for manual data cleaning and provides a scalable, automated way to extract meaningful dynamics from noisy, high-dimensional systems.

Summary updated

BibTeX
@inproceedings{askham2022robust,
  author = {Travis Askham and Peng Zheng and Aleksandr Y. Aravkin and J. Nathan Kutz},
  title = {{Robust and Scalable Methods for the Dynamic Mode Decomposition}},
  booktitle = {SIAM},
  year = {2022},
  doi = {10.1137/21m1417405},
}
Figure