Randomized Dynamic Mode Decomposition

N. Benjamin Erichson, Steven L. Brunton, J. Nathan KutzarXiv 2017

Abstract

Dynamic Mode Decomposition (DMD) is a powerful tool for extracting spatiotemporal patterns from time-series data, but its reliance on Singular Value Decomposition (SVD) creates a computational bottleneck for high-dimensional datasets. This paper introduces Randomized Dynamic Mode Decomposition (rDMD), which leverages randomized linear algebra to project large-scale data into a lower-dimensional subspace. By focusing on the intrinsic rank of the physics rather than the ambient dimension of the measurements, rDMD achieves significant speedups—up to 300x—while maintaining high accuracy and memory efficiency.

Introduction

Dynamic Mode Decomposition (DMD) has emerged as a cornerstone in computational science, particularly for identifying coherent structures in complex dynamical systems such as fluid dynamics, climate science, and neuroscience. By decomposing time-series data into modes that oscillate at specific frequencies, DMD provides a linear approximation of nonlinear dynamics.

However, the standard DMD algorithm faces a significant scalability challenge. It relies heavily on the Singular Value Decomposition (SVD), whose computational cost scales with the ambient measurement dimension ($n$). In the era of "big data," where measurements can involve millions of grid points or sensors, the SVD becomes a prohibitive bottleneck. For terabyte-scale datasets, traditional DMD often exceeds memory limits or requires excessive computation time, hindering real-time analysis.

The Randomized DMD Framework

To address these limitations, this paper introduces Randomized Dynamic Mode Decomposition (rDMD). The core insight is that the computational cost of the algorithm should scale with the intrinsic complexity of the underlying physics (its rank), rather than the ambient dimension of the sensors.

The rDMD algorithm utilizes randomized numerical linear algebra to shift the heavy lifting to a lower-dimensional subspace. The process is divided into two primary stages:

  1. Stage A (Subspace Identification): Instead of performing a full SVD on the high-dimensional data matrix, the algorithm uses random projections to find a near-optimal orthonormal basis ($Q$) that captures the range of the data. This is achieved by multiplying the data matrix by a random Gaussian matrix.
  2. Stage B (Projection and Decomposition): The high-dimensional data is projected onto this smaller subspace. The DMD eigenvalues and modes are then computed on this "sketched" matrix, which is significantly smaller and more manageable.
The conceptual workflow of Randomized DMD compared to the deterministic approach. The red path illustrates the probabilistic strategy to find low-dimensional matrices, enabling efficient decomposition.

Several "knobs" allow for fine-tuning the balance between speed and accuracy:

  • Oversampling ($p$): Using a small number of additional random vectors beyond the target rank ensures that no critical information is lost during projection.
  • Power Iterations ($q$): This pre-processing step "sharpenes" the singular value spectrum, which is essential for datasets where the dominant modes are not clearly separated from the noise.
  • Blocked Scheme: For datasets that exceed available RAM, a hierarchical "blocked" approach processes data chunks sequentially, making the algorithm "pass-efficient."

Performance and Results

The authors evaluated rDMD across various benchmarks, ranging from simple physics problems to massive real-world datasets. On a GPU-accelerated system, rDMD achieved speedups of over 300x compared to deterministic methods for turbulent flow datasets. For the classic cylinder flow problem, rDMD captured dominant eigenvalues with near-perfect precision while being 6x faster than the deterministic baseline.

Superiority Over Sampling

A key finding is the robustness of randomized projections compared to simple sampling techniques. In noisy environments, rDMD (which uses projections to "average out" noise) significantly outperforms "Compressed DMD" (which subsamples rows). As shown in the comparison below, randomized projections maintain the essential structure of the data more effectively than row sampling when compared to the full deterministic result.

Comparison of matrix sketching techniques: Deterministic (left), Row Sampling (middle), and Randomized Projection (right).

Discussion and Future Work

The primary strength of rDMD lies in its ability to treat randomness as a filter, acting as a natural regularizer. However, the method's effectiveness is tied to the low-rank assumption. In systems with "flat" singular value spectra—such as highly disorganized turbulence—the approximation error may increase.

Future research directions include integrating rDMD with other variants like multi-resolution DMD or DMD with control, and further optimizing the blocked scheme for distributed computing environments. By decoupling computational cost from sensor resolution, rDMD paves the way for real-time, data-driven analysis of the world's most complex physical systems.

Summary updated

BibTeX
@misc{erichson2017randomized,
  author = {N. Benjamin Erichson and Steven L. Brunton and J. Nathan Kutz},
  title = {{Randomized Dynamic Mode Decomposition}},
  year = {2017},
  eprint = {1702.02912},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1702.02912},
}
Figure