[Paper Review] Online dynamic mode decomposition for time-varying systems
This paper proposes an efficient online dynamic mode decomposition (DMD) algorithm that computes the exact DMD matrix in real time using rank-1 updates, without storing past data. It incorporates a weighting factor to prioritize recent snapshots, enabling accurate tracking of time-varying dynamics, and outperforms standard and streaming DMD methods by orders of magnitude in computational efficiency for systems with state dimension < 200.
Dynamic mode decomposition (DMD) is a popular technique for modal decomposition, flow analysis, and reduced-order modeling. In situations where a system is time varying, one would like to update the system's description online as time evolves. This work provides an efficient method for computing DMD in real time, updating the approximation of a system's dynamics as new data becomes available. The algorithm does not require storage of past data, and computes the exact DMD matrix using rank-1 updates. A weighting factor that places less weight on older data can be incorporated in a straightforward manner, making the method particularly well suited to time-varying systems. A variant of the method may also be applied to online computation of "windowed DMD", in which only the most recent data are used. The efficiency of the method is compared against several existing DMD algorithms: for problems in which the state dimension is less than about~200, the proposed algorithm is the most efficient for real-time computation, and it can be orders of magnitude more efficient than the standard DMD algorithm. The method is demonstrated on several examples, including a time-varying linear system and a more complex example using data from a wind tunnel experiment. In particular, we show that the method is effective at capturing the dynamics of surface pressure measurements in the flow over a flat plate with an unsteady separation bubble.
Motivation & Objective
- To develop a real-time, memory-efficient method for computing DMD in time-varying systems without storing historical data.
- To enable online updating of the DMD matrix using rank-1 updates, ensuring exact computation at each step.
- To incorporate a forgetting factor that weights recent snapshots more heavily, improving adaptation to time-varying dynamics.
- To demonstrate the method’s effectiveness on both synthetic time-varying systems and real-world fluid dynamics data, such as wind tunnel measurements.
- To provide a computationally efficient alternative to standard and streaming DMD for online system identification and control.
Proposed method
- The algorithm computes the exact DMD matrix $\bm{A}_k = \bm{Y}_k \bm{X}_k^+$ using rank-1 updates as new snapshot pairs $ (\bm{x}_j, \bm{y}_j) $ arrive.
- It maintains the Moore-Penrose pseudoinverse $ \bm{X}_k^+ $ via recursive rank-1 updates, avoiding full recomputation.
- A weighting factor $ \rho \in (0,1] $ is applied to give exponentially decreasing weight to older snapshots, enabling soft forgetting.
- The method supports a variant called 'windowed DMD' by using a finite time window, offering a hard cutoff alternative to the soft forgetting of weighted online DMD.
- The algorithm is designed for systems with $ k > n $, where $ n $ is the state dimension, ensuring the overconstrained least-squares problem is well-posed.
- The computational cost per update is $ \mathcal{O}(n^2) $, making it highly efficient for real-time applications.
Experimental results
Research questions
- RQ1Can an online DMD algorithm compute the exact DMD matrix in real time without storing past data?
- RQ2How does incorporating a forgetting factor improve the tracking of time-varying dynamics compared to standard DMD?
- RQ3What is the computational efficiency of online DMD relative to batch, streaming, and windowed DMD methods for systems with $ n < 200 $?
- RQ4Can the method effectively capture slowly varying frequencies in experimental fluid dynamics data, such as surface pressure measurements?
- RQ5How do weighted online DMD and windowed DMD compare in performance when tracking frequency variations in time-varying systems?
Key findings
- The proposed online DMD algorithm is orders of magnitude more efficient than standard DMD for real-time computation, with a per-update cost of $ 4n^2 $ floating-point operations.
- For systems with state dimension $ n < 200 $, the online DMD method is the most efficient among all compared algorithms, including streaming and batch DMD.
- Weighted online DMD with $ \rho = 0.999 $ effectively tracks slowly varying frequencies in the wind tunnel experiment, assigning a weight of approximately 0.37 to snapshot 1000.
- Windowed DMD with a window size of $ w = 1000 $ provides a hard cutoff, while weighted online DMD offers a smoother transition, both outperforming standard DMD in capturing time-varying dynamics.
- The method successfully captures the dynamics of surface pressure measurements over a flat plate with an unsteady separation bubble, demonstrating robustness in real-world applications.
- The algorithm enables real-time system identification with exact DMD matrices, making it suitable for adaptive control and online reduced-order modeling.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.