Weighted Dynamic Mode Decomposition (wtDMD)
- Weighted DMD is an extension of DMD that incorporates adaptive weightings on snapshots to improve convergence and handle nonstationary systems.
- It reformulates the operator using weighted covariance matrices, enhancing spectral accuracy and robustness even with noise or spatial inhomogeneity.
- Applications range from fluid dynamics to real-time forecasting, where tailored weights improve performance in systems with limited or evolving data.
Weighted Dynamic Mode Decomposition (wtDMD) is a family of algorithms that extends Dynamic Mode Decomposition (DMD) by incorporating weightings on snapshots—either in the time domain, data domain, or inner product structure. These weightings are motivated by the need to accelerate convergence of ergodic averages, adapt to time-varying or nonstationary systems, control influence of noise or spatial inhomogeneity, or impose problem-specific structure (such as physical mass matrices or noise covariance). wtDMD has significant impact on data-driven modeling, prediction, and modal analysis for dynamical systems, especially those with limited, nonuniform, or rapidly evolving datasets.
1. Mathematical Foundations and Classical DMD
Classical DMD operates on a sequence of state vectors (snapshots) associated with a dynamical system sampled at discrete, usually uniform, time intervals. The core data matrices are
DMD seeks the best-fit linear operator in the least-squares sense: yielding the solution , where is the Moore–Penrose pseudoinverse. The eigendecomposition of , , provides DMD modes () and associated spectral content (), corresponding to coherent spatial-temporal patterns and their dynamics (Bou-Sakr-El-Tayar et al., 21 Nov 2025).
2. Weighted Averages and Tapering
A critical limitation of classical DMD in practical scenarios is its reliance on equal-weighted, unwindowed averages, often leading to slow convergence, especially for ergodic or nearly periodic dynamics. Weighted Birkhoff averages replace uniform weights with a smooth taper , subject to
Weights de-emphasize trajectory endpoints. The weighted average for an observable becomes
For smooth or periodic systems, this approach yields super-polynomial or exponential convergence in estimating statistical properties, outperforming uniform averaging, whereas in chaotic systems convergence is never worsened (Bou-Sakr-El-Tayar et al., 21 Nov 2025).
3. Weighted DMD Operator Formulation
wtDMD replaces uniform accumulation in the Gram-type (covariance) matrices with weighted accumulations: where the weighted snapshots are defined as
and . The weighted DMD operator is obtained by
Spectral decomposition of ,
gives the weighted DMD modes and eigenvalues (Bou-Sakr-El-Tayar et al., 21 Nov 2025).
4. Extensions: High-Order, Online, and Inner-Product Weighting
wtDMD generalizes along several axes:
- Exponential Forgetting for Time-Varying Systems: Assigning weights , where is the delay of snapshot and the forgetting factor, supports adaptation to nonstationarity. The weighted cost
is minimized by solving with appropriately weighted matrices, and can be updated online using recursive rank-1 updates (Zhang et al., 2017, Cheng et al., 2021).
- High-Order Autoregressive (AR) Extensions: wtDMD naturally extends to systems with lagged and exogenous variables, stacking multiple time steps in the input matrix, and performing analogous weighted least-squares (Cheng et al., 2021).
- Weighted Inner Product Spaces: DMD can be reformulated with a user-prescribed, Hermitian positive-definite weight defining the data space inner product, such as mass matrices from PDE discretization, noise covariance, or physically informed weights. The resulting Rayleigh–Ritz operator generalizes DMD to arbitrary weighted geometries (Drmač et al., 2017).
5. Algorithmic and Practical Implementation
The core procedural steps for non-online wtDMD are:
- Formulate from snapshots.
- Construct the diagonal weight matrix using the taper or other domain-appropriate criteria.
- Compute , .
- Obtain the weighted pseudoinverse, typically via SVD.
- Form .
- Extract modes and eigenvalues via eigendecomposition of .
For streaming/online data, rank-reduced projections are updated in closed form with key “core” matrices (e.g., , , ) updated recursively, and bases augmented as required to maintain representation of new dynamical directions (Cheng et al., 2021). For models with exponential forgetting or in online settings, weighted covariance matrices can be recursively updated, avoiding storage of past data and maintaining computational complexity per step (Zhang et al., 2017).
6. Theoretical Guarantees and Empirical Performance
wtDMD inherits the Koopman-invariant subspace structure of classical DMD, but the convergence to the limiting operator is accelerated: In empirical studies, such as laminar cylinder wake flow at , relative error for is several orders of magnitude smaller than unweighted DMD for moderate to large (), with leading Koopman eigenvalues also more accurate (Bou-Sakr-El-Tayar et al., 21 Nov 2025). In high-dimensional, sparse, or noise-contaminated contexts, low-rank truncation in weighted bases filters noise and improves robustness, especially when combined with online updates (Cheng et al., 2021).
7. Application Scenarios and Numerical Examples
wtDMD has proven effective in diverse settings:
- Fluid Dynamics: Orders-of-magnitude acceleration in convergence of modal decompositions, improved spectral sharpness, and cleaner frequency recovery using physical mass-matrix weights (Bou-Sakr-El-Tayar et al., 21 Nov 2025, Drmač et al., 2017).
- Transport Networks: High-order weighted DMD for metro OD-matrix forecasting with exponential weighting achieves consistent improvement and robustness over full retraining, with compact online updates (Cheng et al., 2021).
- Real-Time and Time-Varying Systems: Online wtDMD with forgetting factors rapidly adapts to system changes while maintaining low variance when tuned appropriately (Zhang et al., 2017).
- General Multivariate Time Series: Domain-informed weights (physical, statistical, or measurement-driven) allow problem-specific tailoring, improved numerical conditioning, and enhanced interpretability (Drmač et al., 2017).
| Study/Domain | Type of Weight | Benefit |
|---|---|---|
| Fluid flows (Bou-Sakr-El-Tayar et al., 21 Nov 2025) | Tapered Birkhoff | Super-polynomial convergence |
| Metro transportation (Cheng et al., 2021) | Exponential in time | Adaptation to nonstationarity |
| Numerical PDE (Drmač et al., 2017) | Mass matrix | Physical energy norm, robustness |
A common theme is the ease of implementation: modifying standard DMD code to include weighted averages or replace the data inner product is straightforward, whether for batch, recursive, or online computation.
8. Selection of Weights and Open Directions
Weight selection is problem-dependent:
- Tapered weights: For stationary/smooth systems, choose bump functions vanishing at endpoints.
- Exponential decay: For streaming/time-varying systems, set forgetting ratio according to desired memory decay (e.g., half-life).
- Inner-product weights: Derive from discretization, measurement noise, or physical principles.
Open challenges include optimal tuning of weights for robustness and interpretability, joint spatial-temporal weighting for non-uniform sampling, efficient online updates for large-scale , and rigorous augmented backward/perturbation theory in the weighted setting (Drmač et al., 2017).
References
- "Weighted Birkhoff Averages Accelerate Data-Driven Methods" (Bou-Sakr-El-Tayar et al., 21 Nov 2025)
- "Real-time forecasting of metro origin-destination matrices with high-order weighted dynamic mode decomposition" (Cheng et al., 2021)
- "Data driven modal decompositions: analysis and enhancements" (Drmač et al., 2017)
- "Online dynamic mode decomposition for time-varying systems" (Zhang et al., 2017)