Consistent Dynamic Mode Decomposition
Omri Azencot, Wotao Yin, Andrea Bertozzi

TL;DR
This paper introduces a flexible, noise-robust variational approach for computing Dynamic Mode Decomposition matrices, applicable to nonlinear and small data scenarios, with efficient convergence and broad applicability.
Contribution
A novel variational formulation for DMD that does not assume data structure, enabling analysis of nonlinear and small datasets with robustness to noise.
Findings
Method outperforms existing techniques on benchmark systems.
Approach is robust to noise and does not require sequential data.
Converges empirically with efficient Sylvester equation solves.
Abstract
We propose a new method for computing Dynamic Mode Decomposition (DMD) evolution matrices, which we use to analyze dynamical systems. Unlike the majority of existing methods, our approach is based on a variational formulation consisting of data alignment penalty terms and constitutive orthogonality constraints. Our method does not make any assumptions on the structure of the data or their size, and thus it is applicable to a wide range of problems including non-linear scenarios or extremely small observation sets. In addition, our technique is robust to noise that is independent of the dynamics and it does not require input data to be sequential. Our key idea is to introduce a regularization term for the forward and backward dynamics. The obtained minimization problem is solved efficiently using the Alternating Method of Multipliers (ADMM) which requires two Sylvester equation solves…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
\newsiamremark
remarkRemark \newsiamremarkhypothesisHypothesis
\newsiamthmclaimClaim \headersCDMDAzencot et al.
Consistent Dynamic Mode Decomposition††thanks: Submitted to the editors DATE.
\fundingThis work was supported by the European Unionfls Horizon 2020 research and innovation programme under the Marie Skłodowska-Curie grant agreement No. 793800, a Zuckerman STEM Leadership Postdoctoral Fellowship, NSF Grant DMS-1720237, ONR Grant N000141712162, NSF grant DMS-1737770 and the City of Los Angeles, Gang Reduction Youth Development (GRYD) Analysis Program.
Omri Azencot
Wotao Yin
Andrea Bertozzi Department of Mathematics, University of California, Los Angeles CA 90095, (, , ). [email protected]
Abstract
We propose a new method for computing Dynamic Mode Decomposition (DMD) evolution matrices, which we use to analyze dynamical systems. Unlike the majority of existing methods, our approach is based on a variational formulation consisting of data alignment penalty terms and constitutive orthogonality constraints. Our method does not make any assumptions on the structure of the data or their size, and thus it is applicable to a wide range of problems including non-linear scenarios or extremely small observation sets. In addition, our technique is robust to noise that is independent of the dynamics and it does not require input data to be sequential. Our key idea is to introduce a regularization term for the forward and backward dynamics. The obtained minimization problem is solved efficiently using the Alternating Method of Multipliers (ADMM) which requires two Sylvester equation solves per iteration. Our numerical scheme converges empirically and is similar to a provably convergent ADMM scheme. We compare our approach to various state-of-the-art methods on several benchmark dynamical systems.
keywords:
Dynamic Mode Decomposition, Dynamical Systems, ADMM, variational formulation
{AMS}
37N30, 65K10, 90C26
1 Introduction
Over the last few years, data-driven approaches became prevalent in analyzing dynamical systems [22]. In the common scenario, a collection of system observations is provided and a linear object that encodes the dynamics is generated based solely on the data. These data-driven approaches are advantageous in that they make minimal assumptions on the governing equations of the system, and in particular, these techniques are applicable even to non-linear dynamics. In this context, Dynamic Mode Decomposition (DMD) [30] methods gained a lot of attention lately, in part due to their computational efficiency as well as their analysis capabilities of the system at hand. DMD-based methods were successfully applied to various flows including detonation waves, cavity flows and jets [25, 32, 31]. In short, DMD computes a matrix whose spectrum, represented by the eigenvalues and eigenvectors, provides meaningful information such as growth and decay rates of the system or dominant coherent structures in the flow. The goal of this paper is to propose a new method for computing DMD matrices that is based on interpreting the problem in a variational form, taking into account the forward and backward dynamics and solving it efficiently via splitting.
Developing data-driven methodologies for the analysis of non-linear dynamical systems is an active research domain with DMD being one of its main avenues. In particular, DMD was recently generalized and extended in several works having the objective of alleviating some of the shortcomings in the original technique. For instance, a limiting assumption in [29, 30] requires that the data is given in a sequential form, namely, the input snapshots represent an equally spaced time series of observations. In Tu et al. [34] and other works, this limitation is relaxed and pairs of equispaced observations are used instead, whereas in [15, 24, 1], no assumption is made on the regularity of the temporal sampling. Another drawback of several DMD methods is the bias they exhibit in the presence of noise and whether the noise interacts with the dynamics [2] or not [7]. To address this challenge, variants of DMD were proposed in the literature based on solving jointly for the basis and the evolution operator [36], formulating the problem as a total least squares minimization [17], and fitting an exponential model [1]. Other methods cope with noise by utilizing Kalman filters [26, 27], adapting DMD to online data [18, 16], and developing a Rayleigh–Ritz modal decomposition [8], among other approaches [7]. Under this classification, our method is applicable to non-sequential data and it performs extremely well when sensor noise corrupts the data, as we show in Section 5.
Perhaps closest to our approach is the work of Dawson et al. [7] where the idea of making DMD more robust to noise by considering the forward and backward evolution is investigated. More specifically, in forward-backward DMD (fbDMD) [7], the DMD matrix is estimated via the square root of the product of the forward model with the inverse of the backward DMD matrix. The backward estimate is generated by switching the “before” and “after” roles of the snapshots. Our machinery is based on the same observation of exploiting the forward and backward dynamics, but in a completely different way. Inspired by ideas from Computer Graphics [28, 19], we formulate the task of computing the DMD matrix in a variational form that includes penalties for both directions. The obtained minimization is unfortunately highly non-linear and non-convex, and thus we introduce an auxiliary variable that represents the backward dynamics, arriving at an optimization problem with quadratic objective terms and bilinear constraints. This problem can be solved efficiently using splitting techniques such as the Alternating Direction Method of Multipliers (ADMM) [5]. The obtained scheme is iterative, where at each step we solve two Sylvester equations and perform a trivial update. In addition, we show that our problem can be modified such that a provably convergent scheme can be devised. Overall, we obtain an efficient algorithm that exhibits fast convergence rates in practice and provides improved estimates of various properties of the dynamical system.
The rest of the paper is organized as follows. In Section 2 we provide background details related to dynamic mode decomposition techniques and the alternating method of multipliers. Section 3 details our approach for generating consistent DMD evolution matrices where we derive the variational formulation, and we propose an effective ADMM splitting scheme to solve it in practice. In Section 4, we prove that the problem we consider can be changed so that it admits an ADMM-type algorithm which is provably converging. Section 5 provides a quantitative and qualitative evaluation of our method with respect to several DMD algorithms. Section 6 concludes our work, discusses limitations, and offers a few potential directions for future work.
2 Background
In what follows, we briefly present the most relevant details regarding DMD algorithms. We refer to [22] for a more comprehensive text on the recent developments and applications of DMD-based techniques. In addition, we describe the essential components of ADMM and their link to our work, where we point to the paper by Boyd et al. [5] for additional information.
2.1 DMD
Dynamic Mode Decomposition (DMD) emerged in the fluid dynamics field [30] as a data driven approach for analyzing a dynamical system based on observational data. DMD is strongly related to Koopman theory [21], where a non-linear dynamical system acting on a finite-dimensional manifold is encoded using an infinite-dimensional linear Koopman operator . In this context, DMD can be viewed as a practical approach to produce a matrix whose spectrum approximates the spectrum of the operator . Thus, is an informative object and its dominant eigenvalues and eigenvectors are directly linked to dynamical features of the system such as growth, decay, frequency and flow modes. These results encourage the community to investigate DMD as an effective tool for analyzing various linear and nonlinear dynamical systems [22].
A common scenario, considered in several DMD-based techniques, is to assume to be given a set of temporally related pairs of observations and , such that
[TABLE]
where , the dynamical system is , and . Namely, if represents some quantity at time , then measures the same quantity at a later time , as it changes due to the dynamics , see Fig. 1 for an illustration of this setup. Examples of the input observations could be the spatial coordinates [7] or the scalar vorticity [34], among other system-related data. The time series of observations and is used to construct matrices and such that
[TABLE]
where the manifold is of dimension . We note that our data is equispaced in time, i.e., is the same for every , as is commonly assumed in the DMD literature, although other scenarios were considered, e.g., [33]. Using the above notation, the goal of many DMD algorithms is to find a matrix such that .
In practice, solving directly for could be challenging, especially when is extremely large or when , leading to an underdetermined system. One way to mitigate these difficulties is to reduce the spatial dimension of the input data. Many dimensionality reduction techniques have been developed in recent years, where the Proper Orthogonal Decomposition (POD) [4] is typically chosen mostly due to its algorithmic simplicity and computational efficiency. One of the outputs of POD is a set of orthogonal modes such that the linear subspace spanned by approximates well enough. From now on, we denote by and the projection of and onto the first POD modes. Formally,
[TABLE]
where is the conjugate transpose of . To compute the matrix , we facilitate the Singular Value Decomposition (SVD) to obtain the expression and , i.e., the first left singular vectors that correspond to the dominant singular values. In this reduced form, the problem of DMD is to solve the equation , for which the least squares solution is analytically given by , where is the Moore–Penrose pseudoinverse of . The DMD algorithms we will present next can be thought of as various approaches for approximating such matrices.
The following Algorithm 1 was introduced in Tu et al. [34] and is known as the Exact DMD method. While this approach is not one of the original DMD techniques as was proposed in [29, 30], it is a close variant of these methods and it serves as the baseline algorithm for many extensions and comparisons in the DMD literature. We note that in Step (), instead of taking the pseudoinverse , the authors took its projection onto the first modes. Indeed, we have that
[TABLE]
Also, Step () involves the eigendecomposition (EIG) of , typically yielding a complex-valued spectrum since does not exhibit a special structure in general. Finally, in many DMD-based algorithms, Steps () and () are shared, whereas Step () is different. This is also the case in our Algorithm 2 where the main change is the way we construct the matrix .
2.2 Regularizing DMD
In many scenarios, the time sequence of data is generated using sensory devices. For example, Schmid et al. [31] applied DMD to snapshots of a helium jet, collected using particle-image-velocimetry (PIV) measurements. Naturally, in these settings, the observations are assumed to be corrupted with various types of noise. The existence of process or sensor noise results in a certain bias in traditional DMD algorithms such as Exact DMD, as was recently shown in [7, 17, 1]. To address these shortcomings, several extensions to DMD were recently proposed in the literature. From an optimization standpoint, these modified DMD methods as well as our approach can be viewed as regularizing the original minimization problem, introducing algorithms that are more robust in the presence of noise. In our discussion here, we focus on the methods fbDMD [7], tlsDMD [17] and Optimized DMD [1].
The main idea behind the forward-backward DMD (fbDMD) technique is to take into account the forward dynamics, i.e., transforming into , as well as the backward system where is mapped to . The motivation is that by considering both directions, much of the bias to noise can be eliminated. In fact, we build on the exact same observation, however, we arrive at a completely different method. The algorithm fbDMD follows the same steps of Algorithm 1, except for the matrix construction which is given by
[TABLE]
where is the forward estimate, and is the backward one. Notice that the SVD of both and are used. Assuming that efficient routines for computing the square root of a matrix such as sqrtm of MATLAB are available, the time complexity for this algorithm is , and thus it is governed by the SVD part as we typically have .
In a different paper [17], the authors propose another algorithm known as the total least squares DMD (tlsDMD). Intuitively, this approach tries to symmetrize the way noise is being handled so that it assumes noise polluted both and , whereas other methods implicitly account only for noise in . Similarly to the latter algorithm, tlsDMD provides an alternative definition for the matrix. Specifically,
[TABLE]
Namely, the projected observations and are combined into a matrix of size , whose dominant left singular vectors are used to compute . The matrix encodes the top left part of and represents the bottom left part of . The scalar satisfies in this method. Overall, the computational requirements of tlsDMD are on the order of .
Finally, a recent development for computing DMD matrices was introduced in [1] resulting in the Optimized DMD method. Essentially, the authors formulate DMD as a non-linear least squares minimization problem. To this end, the ensemble of observations is put together, e.g., , and the goal is to fit with a linear combination of non-linear functions . In practice, is taken from a family of exponential functions such as , where the set of parameters is unknown. The optimization problem takes the form of
[TABLE]
where is the set of unknown coefficients which determine the linear superposition of non-linear functions from . Observing that can be eliminated from the optimization, problem Eq. 6 may be efficiently solved using the variable projection method [14]. We note that the DMD spectrum and the matrix could be constructed using the computed outputs and , and we refer to [1] for further details.
2.3 ADMM
The Alternating Direction Method of Multipliers (ADMM) is a numerical optimization approach for efficiently solving separable objective functions. ADMM was first introduced in 1970’s in [12, 10], recently popularized by [13, 5], and generalized for nonconvex optimization in [35, 11]). A general scenario for which ADMM is effective involves the following minimization problem,
[TABLE]
where and are convex functions, the linear constraints include matrices , and a vector . To solve Eq. 7, we define the following augmented Lagrangian,
[TABLE]
ADMM exploits the fact that can be decomposed with respect to the variables and , leading to a numerical splitting scheme consisting of the iterations
[TABLE]
where is the penalty parameter in the augmented Lagrangian. The advantage of utilizing ADMM is twofold, solving alternately for and typically involves simpler minimization problems compared to a joint optimization, and convergence results require mild assumptions.
It is often useful to facilitate a change of variables and to define a scaled version for the dual variable , denoted by . This choice significantly reduces the length of formulas, and thus we will opt for this version throughout the paper. We denote by , and we re-write the scaled augmented Lagrangian in terms of ,
[TABLE]
The associated splitting scheme is similar in the and updates where we replace with in Eq. 9, whereas for the update we have .
3 Consistent Dynamic Mode Decomposition
In this section we describe our main algorithm for computing an approximation of the DMD operator that is associated with some known dynamical observations. The key observation in our approach is the consideration of the forward and backward dynamics within the same framework. In this context, we propose a variational formulation of the problem where we simultaneously solve for the forward and backward DMD operators. Unfortunately, the formulation we arrive at is highly non-linear and non-convex, and thus challenging to solve in practice. Our main contribution is an effective splitting numerical scheme which is efficient yet easy to code.
3.1 Forward and backward dynamics
Let the two matrices represent our POD-projected data such that each column in is associated with the corresponding column in under the dynamics (see Section 2.1). Several Dynamic Mode Decomposition (DMD) algorithms study the forward dynamics, i.e., find such that . We advocate the consideration of the backward dynamics, namely, we also want that . This idea was previously explored in [7, Section 2.4], where the authors proposed the fbDMD algorithm which takes into account both directions. However, there are a few key differences between our approach and theirs, as we detail below. Formally, we consider the following variational problem,
[TABLE]
where is the Frobenius norm. We note that if is orthogonal, i.e., , then the above addends are equal, however in the general case we have
[TABLE]
3.2 Change of variables
The optimization problem Eq. 10 is highly non-linear and non-convex due to the term. Therefore, instead of directly solving this challenging problem, we introduce the auxiliary variable , and we re-formulate to arrive at,
[TABLE]
where the constitutive constraints and guarantee that minimizers of Eq. 11 are inverse of each other. From an optimization point of a view, if one of the constraints is satisfied then the second constraint holds as well. However, in practice, adding both constraints is a reasonable choice as they symmetrize the approximate invertible relations of and . We refer to the above re-formulation as the Consistent Dynamic Mode Decomposition (CDMD) problem. To motivate our methodology, we quantify the consistency error obtained by several existing methods including ours, and we plot the results in Figure 2. Indeed, our technique is highly consistent compared to the other approaches, almost independently of the number of observations . We note that when the consistency error is large, it may hint of overfitting to data, since the forward and backward estimations represent systems that are far from being inverse of each other.
The CDMD functional Eq. 11 appeared previously in Computer Graphics applications where a discrete map between two dimensional surfaces is being sought. Namely, given two geometric shapes such as two different poses of the same person, the goal is to determine where each point on one shape is mapped to its corresponding point on the second shape. DMD operators (also known as functional maps [28]) arise in this application as they allow to align features in the spectral domain and to extract a point to point map as a post processing step. With respect to CDMD, Eynard et al. [9] investigate a close variant of our CDMD problem, and solved it directly using a non-linear conjugate gradients approach. An alternative formulation was studied in [19], based on the observation that the matrix
[TABLE]
is low-rank when . Instead of minimizing the rank of , Huang et al. [19] replace the low-rank constraint with its convex relaxation expressed via the nuclear norm [6].
Our approach depends on the following straightforward insight. Under the change of variables , the energy functional in Eq. 11 becomes fully separable. Namely, if we denote
[TABLE]
then we seek to minimize subject to the constitutive invertibility constraints. This understanding calls for the development of an Alternating Direction Method of Multipliers (ADMM)-type approach [5]. ADMM is advantageous in effectively solving separable optimization problems, since it systematically leads to splitting schemes composed of potentially simpler minimization tasks. Moreover, the theory associated with ADMM-based techniques is well-developed with several general results related to convergence, optimality conditions and stopping criteria. Unfortunately, the constraints associated with our problem are non-linear, and thus while one can employ an ADMM approach, the theoretical guarantees of standard ADMM do not apply. Recently, Gao et al. [11] showed that under mild assumptions, ADMM with multiaffine constraints converges if the penalty parameter in the augmented Lagrangian is sufficiently large. In Section 4, we show that CDMD can be modified to fit a family of optimization problems that are considered in [11] for which converging ADMM schemes can be devised.
3.3 A splitting scheme
We now turn to present the main algorithm in this work. Our starting point is to define the augmented Lagrangian for problem Eq. 11 given by,
[TABLE]
where is a scalar penalty parameter, the matrix combines the constitutive constraints into a single matrix, and the matrix is the scaled dual variable (see e.g., [5, Section 3.1.1]). Specifically, the matrices and are given by
[TABLE]
We note that if one adopts the method of multipliers approach, the augmented Lagrangian could be directly minimized, as was done in [9]. However, the term includes a quartic combination of unknowns, and thus the optimization problem Eq. 13 is highly non-linear. Instead, our numerical scheme splits the updates so that and are not updated jointly but in an alternate fashion. Specifically, given initial and , ADMM takes the form of
2. 2.
3. 3.
Below, we show that minimizing Steps () and () lead in both cases to a Sylvester Equation which can be efficiently solved using the QR decomposition, see [3] for further details. The update in Step () is trivial and requires a single evaluation of . Overall, we obtain an efficient algorithm with time complexity of , where is the total number of iterations.
The minimization tasks in Steps () and () are relatively simple as they comprise of energy functionals that are quadratic in and in , respectively. Thus, the associated first order optimality conditions are linear. For instance, the Jacobian of the energy in Step () is
[TABLE]
After re-arrangement and equating to zero, we arrive at the following Sylvester Equation, , which is linear in . The matrices and are given by
[TABLE]
The derivation for Step () follows along the same lines, yielding a different Sylvester Equation with coefficient matrices given by
[TABLE]
3.4 The numerical algorithm
We summarize our technique for computing consistent dynamic mode decomposition in Algorithm 2. Note that Steps and are shared with Algorithm 1, whereas our main contribution is provided in Steps where the construction of the DMD matrix is described. We note that the algorithm below describes how to compute an approximation of the forward dynamics and its associated decomposition, however, an estimate of the backward dynamics can be extracted as well by defining , where is the last iteration index.
3.5 Stopping criteria
To establish a practical stopping condition, we keep track of two residual quantities that are related to the primal and dual problems. A similar termination approach is described in [5]. We define the following primal residual and dual residual,
[TABLE]
where the termination rule we employ is given by and . The tolerances and can be computed using absolute and relative thresholds, such as
[TABLE]
3.6 Dynamic update of the penalty parameter
In general, varying based on the current estimates of the primal and dual residuals may lead to faster convergence rates. We implement a simple scheme that was proposed in e.g., [5] and is given by
[TABLE]
where we take and in practice.
4 Provably Convergent CDMD Scheme
Unfortunately, while the above Algorithm 2 is effective and behaves well in practice as we show in Section 5 and in Fig. 3, it is not provably convergent. In what follows, we address this shortcoming and propose an alternative converging scheme, which requires only an additional negligible amount of computations. To this end, we follow the recent work of Gao et al. [11] which showed that under certain conditions, ADMM and its convergence can be extended to include multiaffine constraints. In particular, we show that by introducing additional variables to the CDMD problem Eq. 11, the obtained minimization problem is of the required form, while satisfying all the necessary conditions in [11].
Gao et al. investigate the convergence of ADMM for problems taking the form,
[TABLE]
where , , and a variable block . In addition, we have that . Finally, is a linear map and, in contrast to “standard” ADMM problems, is a multiaffine map. Namely, the transformation obtained from fixing all variables and but one, is affine. It is shown in [11] that when several assumptions on are met, an ADMM scheme converges to a constrained stationary point, i.e., the sequence is bounded, and that every limit point is a constrained stationary point. While various configurations of assumptions are considered in [11], we list here a more restrictive set of conditions that hold in our case.
Assumption \thetheorem.
Solving problem Eq. 21, the following hold.
The update order is and a single block . 2. 2.
. 3. 3.
The objective is coercive on the feasible set
[TABLE] 4. 4.
The function can be written as
[TABLE]
where every and are - and -strongly convex functions. 5. 5.
The function is a -strongly convex function. 6. 6.
For sufficiently large penalty , every ADMM subproblem attains its optimal value.
To motivate our discussion, we present an illustrative example related to Nonnegative Matrix Factorization (NMF). As we show below, this problem is similar to ours with respect to the biaffine constraints, and thus it provides a natural starting point for our case. Given a matrix , its NMF involves the task of finding a pair of nonnegative matrices and such that [23]. An ADMM formulation to NMF was originally proposed in [5], yielding the following problem,
[TABLE]
where is the indicator function, i.e., if and otherwise. Gao and colleagues reformulate Eq. 22 to arrive at an optimization problem whose subproblems are easy to solve while meeting the assumptions required for convergence. The modified version is given by
[TABLE]
The update order of the variables is and . We stress that problem Eq. 23 satisfies a different set of assumptions than those appear in Section 4, but it is well within the family of problems considered in [11]. We refer to their paper for additional details of the NMF problem considered in relation to converging ADMM schemes.
We now turn to modify the CDMD problem Eq. 11 to a form which fits all the conditions in Section 4 and thus its ADMM is provably convergent, due to [11]. We observe that our invertibility constraints and are reminiscent of the NMF constraints, and, in particular, they are biaffine with respect to . Moreover, our objective function consists of highly smooth Frobenius norm terms. Encouraged by these similarities, we introduce the auxiliary variables , and we modify the above Eq. 11 to arrive at the following minimization,
[TABLE]
where are penalty parameters for the and variables.
To verify that Eq. 24 meets all the required conditions, we denote , , and . Also, we define the following residual
[TABLE]
The conditions in Section 4 hold because the update order is and as we show below in Algorithm 3. The image of is indeed a superset of ’s image, since it is the (minus) identity transformation in each of its entries, and thus span the entire space. The objective function is coercive on the feasible set, because its terms behave as , and therefore whenever so does . Under some mild conditions, namely, that and are full rank matrices, the function is composed of -strongly convex functions as we show in Appendix A. Similarly, is a strongly convex function because the Hessian of its terms is positive definite. Finally, the subproblems in our formulation are trivial, linear or a Sylvester-type equation and thus attain their optimal value when is sufficiently large.
We conclude this section with presenting our convergent ADMM scheme along with the specification of its subproblems. The derivation of the matrix expressions that take part in lines and could be carried over in a fashion similar to Eqs. Eq. 14 and Eq. 15. We note that lines and of Algorithm 3 involve a call to which numerically solves the system .
5 Results
In this section, we evaluate the proposed CDMD approach and compare it to several state-of-the-art techniques for computing DMD matrices. In particular, we compare against Exact DMD [34], fbDMD [7], tlsDMD [17] and optimized DMD [1]. The dynamical systems we consider appeared previously e.g., in [7, 1], and thus can be considered as “benchmark” examples for quantitative and qualitative study of DMD algorithms.
5.1 A periodic linear system
In this example, we use the following linear and non-normal system
[TABLE]
where the system has purely imaginary eigenvalues that are given by . Eq. Eq. 25 is integrated over the temporal segment, starting from the initial point . To stress test our method, we investigate this system when relatively low number of observations is given and high levels of white Gaussian noise affect the data. Specifically, we show in Fig. 4 the performance of various methods for computing the eigenvalue when noise with variance and Signal-to-Noise (SNR) ratio of is introduced. We repeat our experiment times, and the average of each of the methods is marked by a dot with a corresponding color. Additionally, we plot the ellipses which enclose the region of of the estimates that are closest to the true eigenvalue for each of the techniques. We use the values for the number of observations, which make the system overdetermined as it is two-dimensional. Nevertheless, these values are relatively small in comparison to related work on this example, see e.g., [7].
Overall, optimized DMD achieves excellent results in terms of spread and average values, across all values of . On the other end, exact DMD struggles both in accuracy and spread. fbDMD and tlsDMD exhibit comparable performance, except for where fbDMD produces a correct mean, but with an extremely large deviation. Finally, our approach outputs consistent deviation and averages, regardless of the value of . We additionally experiment with various high level of noise and present the results in Fig. 5. Note that the bottom row axes are twice as large as the axes in the top row. As can be seen in the graphs, optimized DMD is very accurate as long as , but fails when the signal-to-noise ratio drops below zero, and therefore it is omitted from the other graphs. In most cases, Exact DMD produces poor approximations when compared to the other methods. In comparison, fbDMD and tlsDMD generate estimates that are centered around the eigenvalue in general, with growing spread as the SNR decreases. Remarkably, our approach exhibits the least increase in deviation when compared to all other techniques, while producing a relatively accurate average.
In addition, we reconstruct the trajectory using the approximations of the dynamics provided by each of the methods, and we plot the results in Fig. 6 separated to -coordinate (top row) and -coordinate (bottom row) over time. It is evident that Exact DMD yields a highly distorted path, whereas the other methods are generally close to the true trajectory. As the amount of noise increases, fbDMD and tlsDMD develop a significant shift in phase. We measure the distance between the computed paths to the desired curve and we observe that our method achieves second to best results after optimized DMD. Specifically, for , the error between the computed path to the ground-truth trajectory divided by the length of the latter is and for optimized DMD and CDMD, respectively. When , the error is and for optimized DMD and CDMD. In comparison, the other methods yield errors that are five times larger or more.
5.2 Dominant and hidden dynamics
The next system is a superposition of a growing sine function and a decaying sine function given by
[TABLE]
where in our experiments we used and . This example is more challenging than the previous one since it involves dynamical features which are of lower magnitude alongside dominant structures. The eigenvalues of this system are of the form , where the “dominant” mode is associated with and the “hidden” mode is linked to . In Figure 7, we compute times the eigenvalues of the system while employing a noise level of , over the observations. The results show that for the dominant dynamics, most methods perform well where optimized DMD obtains improved estimates as increases (top row). For the hidden mode, similar results are obtained for , whereas for the lowest , fbDMD does not appear in the plot and tlsDMD is shifted differently than the other approaches (bottom row).
In addition, we investigate this system across different levels of noise. In particular, we set corresponding to SNR in the range . Each noise level is used times, for which we compute both the dominant and hidden DMD eigenvalues. We show the error results of the different methods in Fig. Fig. 8, where the error is a linear combination of the average error between the computed eigenvalue and the ground-truth and the minimum radius of the deviation ellipse. Formally,
[TABLE]
where is the average taken over all eigenvalue estimates, is the analytic eigenvalue, and is the minimum radius. In our experiments, we used . Similar to Fig. Fig. 5, when SNR approaches zero, optimized DMD fails and thus its graphs are shorter. Interestingly, up to a certain SNR, all methods present similar error behavior, where at SNR there is an exponential increase in the error estimates. When inspecting the individual results, it seems like this high level of noise leads to an extremely large deviation in results, which further affects our error measure.
5.3 Cylinder wake
The last example we consider in this work is of a fluid flow past a cylinder simulated using a numerical solver. We obtain a time series of fluid vorticity fields consisting of snapshots regularly sampled in time with . We refer to [22] for additional details regarding this dataset such as the chosen physical parameters and other numerical considerations. It is important to note that this particular flow is inherently non-linear and thus the underlying assumptions of methods such as optimized DMD may not hold. Specifically, it is unclear which functions to fit and whether exponential functions are a good choice in this scenario. In contrast, our approach (as well as other DMD techniques) does not impose restricting conditions on the input data, making it applicable in such challenging scenarios. In Figure 9, we repeatedly compute the eigenvalues associated with a noisy version of the input data for various noise levels, and we plot the average results as compared to the estimates obtained from the clean observations. Specifically, we repeat this experiment times for noise with variance and , respectively. Clearly, Exact DMD exhibits a bias in its estimations which is consistent with previous reports such as [7]. On the other hand, fbDMD and tlsDMD generate improved approximations of the eigenvalues with less accuracy as the noise increases. Our approach is successful in measuring nearly zero growth for all eigenvalues and noise levels with a bias in frequencies for the least dominant eigenvalues. In Figure 10, we demonstrate the averaged dominant DMD modes obtained for . In this case, all methods perform comparably well in the noiseless case, where the averaged modes associated with less dominant eigenvalues are clearly noisier.
6 Discussion and Future Work
In this work, we presented a new method for computing Dynamic Mode Decomposition operators that is based on a variational formulation of the underlying problem, while taking into account the forward and backward dynamics. The obtained minimization is solved using an effective splitting ADMM scheme, which performs well in practice in terms of computational requirements and achieved accuracy. Moreover, it is shown that CDMD could be modified to a provably convergent ADMM scheme at the cost of insignificant additional computations. We demonstrate the performance of our method on a few benchmark dynamical systems, compared to several state-of-the-art approaches. Our conclusion is that the generality of our model, along with its improved accuracy for high levels of noise and low number of observations, makes it an interesting alternative among current existing techniques.
One limitation of our approach is related to the non-linearity and non-convexity of the problem we aim to solve. In particular, it is not clear at this point whether the obtained minimizers are local or global, which is a general challenge in these type of problems, as was also noted in [1]. Another difficulty associated with our work involves the interplay between the chosen value of the penalty parameter and the obtained solutions. While in general our technique is robust to the initial value of due to scheme Eq. 20, it still affects our results to some extent, as can be seen in Figure 2, where for large values of , our consistency error increases. Finally, our algorithm is more computationally demanding compared to the alternatives. However, this is highly dependent on the particular implementation and choice of parameters such as convergence thresholds and thus can be reduced, depending on the particular application at hand.
We believe that formulating DMD in a variational form is important as other regularizers may be considered along with our consistency constraints such as sparsity promoting penalty terms [20]. We leave this consideration for future work. Moreover, we would like to explore the relation of our approach to existing techniques such as tlsDMD. Another interesting direction is to combine the current work with methods that numerically compute an optimal basis [36]. The associated problem is extremely challenging as it is of high dimension, non-linear and typically non-convex. We believe that some of the ideas that we presented in this work could be generalized to this case and we plan on pursuing this direction in the future.
Appendix A Convexity of
The function is -strongly convex if each of its terms is strongly convex. Thus, we show it for the first term , and we note that a similar derivation could be carried for the other term. We recall the gradient of and we vectorize it to arrive at the following formulation
[TABLE]
Therefore, when viewed as a vectorized function, the Hessian of is given by . The matrix can be assumed to have full rank, since , and thus is positive definite (PD). It is known that the product of two PD matrices is also PD, which means that there exists a scalar such that the Hessian is positive semi-definite, and we conclude that is an -strongly convex function. Finally, is also -Lipschitz differentiable since and is positive and bounded.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] T. Askham and J. N. Kutz , Variable projection methods for an optimized dynamic mode decomposition , SIAM Journal on Applied Dynamical Systems, 17 (2018), pp. 380–416.
- 2[2] S. Bagheri , Effects of weak noise on oscillating flows: Linking quality factor, Floquet modes, and Koopman spectrum , Physics of Fluids, 26 (2014).
- 3[3] R. H. Bartels and G. W. Stewart , Solution of the matrix equation ax+ xb= c [f 4] , Communications of the ACM, 15 (1972), pp. 820–826.
- 4[4] G. Berkooz, P. Holmes, and J. L. Lumley , The proper orthogonal decomposition in the analysis of turbulent flows , Annual Review of Fluid Mechanics, 25 (1993), pp. 539–575.
- 5[5] S. Boyd, N. Parikh, E. Chu, B. Peleato, J. Eckstein, et al. , Distributed optimization and statistical learning via the alternating direction method of multipliers , Foundations and Trends® in Machine Learning, 3 (2011), pp. 1–122.
- 6[6] E. J. Candès, X. Li, Y. Ma, and J. Wright , Robust principal component analysis? , Journal of the ACM (JACM), 58 (2011), p. 11.
- 7[7] S. T. Dawson, M. S. Hemati, M. O. Williams, and C. W. Rowley , Characterizing and correcting for the effect of sensor noise in the dynamic mode decomposition , Experiments in Fluids, 57 (2016), p. 42.
- 8[8] Z. Drmac, I. Mezic, and R. Mohr , Data driven modal decompositions: analysis and enhancements , SIAM Journal on Scientific Computing, 40 (2018), pp. A 2253–A 2285.
