Variable Projection Methods for an Optimized Dynamic Mode Decomposition

Travis Askham, J. Nathan Kutz

TL;DR

This paper introduces a robust, efficient algorithm for "Optimized Dynamic Mode Decomposition" (DMD) by leveraging variable projection methods. The approach allows DMD to handle noisy, unevenly sampled time-series data while significantly reducing the eigenvalue bias that plagues standard DMD implementations.

What Problem Does This Paper Address?

Dynamic Mode Decomposition (DMD) is a powerhouse in data-driven science, used to extract linear dynamical structures from complex, nonlinear systems (like fluid flows or climate patterns). However, the "standard" DMD algorithm has two major Achilles' heels:

  1. Noise Sensitivity: It uses a one-directional regression that treats the "before" and "after" snapshots differently, leading to a systematic bias in the calculated eigenvalues when sensor noise is present.
  2. Rigid Sampling: Most DMD variants require data to be collected at perfectly even time intervals ($t, t+\Delta t, t+2\Delta t...$). In the real world—think historical climate records or irregular sensor pings—data is rarely that tidy.

While "Optimized DMD" was previously proposed to solve these issues by treating all snapshots simultaneously, it required solving a massive, non-convex nonlinear optimization problem that was often too slow or unstable for practical use.

Methods

The authors bridge the gap using Variable Projection (VarPro).

DMD is essentially a problem of fitting data to a sum of exponentials. This is a "separable" nonlinear least squares problem: you have linear parameters (the amplitudes/modes) and nonlinear parameters (the exponents/eigenvalues).

  • The VarPro Trick: Instead of optimizing everything at once, VarPro mathematically eliminates the linear parameters, reducing the search space to just the nonlinear exponents.
  • Algorithm 2 & 3: The paper provides a full version (Alg 2) and a high-performance approximate version (Alg 3) that uses a truncated Singular Value Decomposition (SVD) to drastically speed up calculations for large datasets.
  • Smart Initialization: Since the optimization is non-convex, a bad starting guess can lead to a local minimum. The authors provide a clever initialization routine (Algorithm 4) based on finite-difference approximations (the trapezoidal rule) to give the optimizer a head start.

Datasets

The authors evaluated their method on several benchmarks:

  1. Synthetic Periodic System: A 2D system used to measure how eigenvalues drift under varying levels of measurement noise.
  2. "Hidden Dynamics" Signal: A synthetic signal containing both growing and rapidly decaying components to see if the algorithm can capture transient behavior that usually gets lost in the noise.
  3. Uncertain Sample Times: A system where the timestamps themselves have "jitter" or error.
  4. Sea Surface Temperature (SST): Real-world data from NOAA (OISST-v2) consisting of daily average ocean temperatures over 10 years (~700k grid points). They tested both evenly spaced and randomly sub-sampled versions of this data.

Key Insights and Ideas

  • DMD is Exponential Fitting: The paper reinforces the idea that DMD isn't just a matrix trick; it’s fundamentally about fitting exponentials to trajectories. By viewing it through the lens of classical optimization, we gain access to much more robust tools.
  • Bias Correction: Standard DMD is biased because it minimizes error in only one direction (forward in time). By using a global optimization approach, Optimized DMD treats the entire data trajectory holistically, effectively "de-biasing" the results.
  • Handling the "Jitter": One of the most interesting findings is that this method is uniquely robust to timing errors. If you don't know exactly when a measurement was taken, standard DMD fails; Optimized DMD can actually use the irregular timestamps to its advantage.
  • Capturing the "Hidden": Standard DMD often misses rapidly decaying "transient" modes because it prioritizes the dominant, long-term signal. The optimized version is much better at resolving these subtle, short-lived dynamics.

Key Results

  • Accuracy: In noisy synthetic tests, Optimized DMD produced eigenvalues that were often an order of magnitude more accurate than standard DMD, and significantly better than other "de-biased" methods like Total Least Squares DMD (tlsDMD).
  • Real-World Performance: On the NOAA SST data, the algorithm successfully identified the 365.24-day tropical year cycle and its harmonics, even when the data was sampled at random intervals.
  • Computational Efficiency: While more expensive than the "Exact DMD" (which is just a few matrix operations), the VarPro approach is surprisingly fast. For large climate datasets, the optimization only took about 1.5 to 6 times longer than the standard method—a negligible cost given the massive leap in accuracy.

Limitations and Future Work

  • Local Minima: Despite the smart initialization, the problem remains non-convex. There is no absolute guarantee the algorithm will find the global best fit every time.
  • Rank Selection: The user still needs to choose the "rank" ($r$)—the number of modes to keep. While they suggest using the Gavish-Donoho hard-thresholding rule, choosing $r$ remains a challenge for systems with very "flat" energy spectra.
  • Non-Diagonalizable Systems: The current implementation assumes the system matrix is diagonalizable. Handling "confluent" eigenvalues (Jordan blocks) would require moving toward a block Schur decomposition approach, which the authors suggest as a future research path.

Summary updated

BibTeX
@inproceedings{askham2018variable,
  author = {Travis Askham and J. Nathan Kutz},
  title = {{Variable Projection Methods for an Optimized Dynamic Mode Decomposition}},
  booktitle = {SIAM},
  year = {2018},
  doi = {10.1137/m1124176},
}
Figure