Data-based stochastic model reduction for the Kuramoto--Sivashinsky equation

Fei Lu, Kevin Lin, Alexandre J. Chorin

Introduction

There are many high-dimensional dynamical systems in science and engineering that are too complex or computationally expensive to solve in full, and where only a relatively small subset of the degrees of freedom are observable and of direct interest. Under these conditions, it is useful to derive low-dimensional models that can predict the evolution of the variables of interest without reference to the remaining degrees of freedom, and reproduce their statistics at an acceptable cost.

We assume here that the variables of interest have been observed in the past, and we consider the problem of deriving low-dimensional models on the basis of such prior observations. We do the analysis in the case of the Kuramoto–Sivashinsky equation (KSE):

where tt is time, xx is space, vv is the solution of the equation, LL is an assumed spatial period, and v0v_{0} is the initial datum. We pick a small integer KK, and assume that one can observe only the Fourier modes of the solution with wave numbers k=1,…Kk=1,\dots K at a discrete sequence of points in time. To model the usual situation where the observed modes are not sufficient to determine a solution of the differential equations without additional input, we pick KK small enough so that the dynamics of a Galerkin-Fourier representation of the solution, truncated so that it contains only KK modes, are far from the dynamics of the full system. The goal is to account for the effects of “model error”, i.e. for the effects of the missing “unresolved” modes on the “resolved” modes, by suitable terms in reduced equations for the resolved modes, using the information contained in the observations of the resolved modes; we are not interested in the unresolved modes per se. In the present paper the observations are obtained by a solution of the full system; we hope that our methods are applicable to problems where the data come from physical measurements, including problems where a full model is not known.

We start from the truncated equations for the resolved modes, and solve an inverse problem where the data are used to estimate the effects of model error, i.e., what needs to be added to the truncated equations for the solution of the truncated equations to agree with the data. Once these effects are estimated, they need to be identified, i.e., summarized by expressions that can be readily used in computation. In our problem the added terms can take a range of values for each value of the resolved variables, and therefore a stochastic model is a better choice than a deterministic model. We solve the inverse problem within a discrete-time setting (see ), and then identify the needed terms within a NARMAX (Nonlinear Autoregression with Moving Average and eXogenous input) representation of discrete time series. The determination of missing terms from data is often called a “parametrization”; what we are presenting is a discrete stochastic parametrization. The main difficulty in stochastic parametrization, as in non-parametric statistical inference problems, is making the identified representation efficient, i.e., with a small number of terms and coefficients. We accomplish this by a semi-parametric approach: we propose terms for the NARMAX representation from an approximate “inertial form” , i.e., a system of ordinary differential equations that describes the motion of the system on a finite-dimensional, globally attracting manifold called an “inertial manifold”. (Relevant facts from inertial manifold theory are reviewed later.)

A number of stochastic parametrization methods have been proposed in recent years, often in the context of weather and climate prediction. In , model error is represented as the sum of an approximating polynomial in the resolved variables, obtained by regression, and a one-step autoregression. The shortcomings of this representation as a general tool are that it does not allow the model error to depend sufficiently on the past values of the solution, that the model error is calculated inaccurately, especially when the data are sparse, and that the autoregression term is not necessarily small, making it difficult to solve the resulting stochastic equations accurately. Detailed comparisons between this approach and a discrete-time NARMAX approach can be found in . In the model error is represented as a conditional Markov chain that depends on both current and past values of the solution; the Markov chain is deduced from data by binning and counting, assuming that exact observations of the model error are available, i.e., that the inverse problem has been solved perfectly. It should be noted that the Markov chain representation is intrinsically discrete, making this work close to ours in spirit. In the noise is treated as continuous and represented by a hypo-elliptic system that is partly analogous to the NARMAX representation, once translated from the continuum to the grid. An earlier construction of a reduced approximation can be found in , where the approach was not yet fully discrete. Other interesting related work can be found in . The present authors’ previous work on the discrete-time approach to stochastic parametrization and the use of NARMAX representations can be found in .

The KSE is a prototypical model of spatiotemporal chaos. As a nonlinear PDE, it has features found in more complex models of continuum mechanics, yet its analysis and numerical solution are fairly well understood because of its relatively simple structure. There is a lot of previous work on stochastic model reduction for the KSE. Yakhot developed a dynamic renormalization group method for reducing the KSE, and showed that the model error generates a random force and a positive viscosity. Recent development of this method can be found in . Toh studied the statistical properties of the KSE, and constructed a statistical model to reproduce the energy spectrum. Rost and Krug presented a model of interacting particles on the line which exhibits spatiotemporal chaos, and made a connection with the stochastic Burgers equation and the KPZ equation.

Stinis addressed the problem of reducing the KSE as an under-resolved computation problem with missing initial data, and used the Mori-Zwanzig (MZ) formalism in the finite memory approximation to produce a reduced system that can make short-time predictions. Full-system solutions were used to compute the conditional means used in the reduced system. As discussed in , the NARMAX representation can be thought of as both a generalization and an implementation of the MZ formalism, and the full-system solutions used by Stinis can be viewed as data, so that the pioneering work of Stinis is close in spirit to our work. We provide below a comparison of our work with that of Stinis.

The paper is organized as follows. In section 2, we introduce the Kuramoto–Sivashinsky equation, the dynamics of its solutions, and its numerical solution by spectral methods. In section 3 we apply the discrete approach for the determination of reduced systems to the KSE, and discuss the NARMAX representation of time series. In section 4 we use an inertial form to determine the structure of a NARMAX representation for the KSE, and estimate its coefficients. Numerical results are presented in section 5. Conclusions and the broader significance of the work, as well as its limitations, are discussed in a concluding section.

The Kuramoto-Sivashinsky equation

We begin with basic observations: in Eq. (1), the term ∂2v/∂x2{\partial^{2}v}/{\partial x^{2}} is responsible for instability at large scales, the dissipative term ∂4v/∂x4{\partial^{4}v}/{\partial x^{4}} provides damping at small scales, and the non-linear term v∂v/∂xv{\partial v}/{\partial x} stabilizes the system by transferring energy between large and small scales. To see this, first write the KSE in terms of Fourier modes:

where the vk(t)v_{k}(t) are the Fourier coefficients

Since vv is real, the Fourier modes satisfy v−k=vk∗v_{-k}=v_{k}^{\ast}, where vk∗v_{k}^{\ast} is the complex conjugate of vkv_{k}. We refer to ∣vk(t)∣2|v_{k}(t)|^{2} as the “energy” of the kkth mode at time tt.

Next, we consider the linearization of the KSE about the zero solution. In the linearized equations, the Fourier modes are uncoupled, each represented by a first-order scalar ODE with eigenvalue qk2−qk4q_{k}^{2}-q_{k}^{4}. Modes with ∣qk∣>1|q_{k}|>1 are linearly stable; modes with ∣qk∣≤1|q_{k}|\leq 1 are not. The linearly unstable modes, of which there are ν=⌊L/2π⌋\nu={\lfloor{L/2\pi}\rfloor}, are coupled to each other and to the damped modes through the nonlinear term. Observe that if the nonlinear terms were not present, most initial conditions would lead to solutions whose energies blow up exponentially in time. The KSE is, however, well-posed (see, e.g., ), and it can be shown that solutions remain globally bounded in time (in suitable function spaces) . The solutions of Eq. (1) do not grow exponentially because the quadratic nonlinearities, which formally conserve the L2L^{2} norm, serve to transport energy from low to high modes. Figure 1 shows an example solution, as well as the energy spectrum ⟨∣vk∣2⟩,\langle|v_{k}|^{2}\rangle, where ⟨ϕ⟩\langle\phi\rangle denotes the limit of 1T∫0Tϕ(v(t))dt\frac{1}{T}\int_{0}^{T}\phi(v(t))dt as T→∞ .T\to\infty~{}. The energy spectrum has a characteristic “plateau” for small wave numbers, which gives way to rapid, exponential decay as kk increases, see Figure 1(right). This concentration of energy in the low-wavenumber modes is reflected in the cellular character of the solution in Figure 1(left), where the length scale of the cells is determined by the modes carrying the most energy.

Another feature of the nonlinear energy transfer is that the KSE possesses an inertial manifold MM. When the KSE is viewed as an infinite-dimensional dynamical system on a suitable function space BB, there exists a finite-dimensional submanifold M⊂BM\subset B such that all solutions of the KSE tend asymptotically to MM (see e.g. ). The long-time dynamics of the KSE are thus essentially finite-dimensional. Moreover, it can be shown that for sufficiently large NN (N>\mboxdim(M)N>\mbox{dim}(M) at the very minimum), an inertial manifold MM can be written in the form

where πN\pi_{N} is the projection onto the span of {eikx,k=1,⋯ ,N}\{e^{ikx},k=1,\cdots,N\}, and ψ:πN(B)→(πN(B))⊥\psi:\pi_{N}(B)\to(\pi_{N}(B))^{\perp} is a Lipschitz-continuous map. That is to say, for trajectories lying on the inertial manifold MM, the high-wavenumber modes are completely determined by the low-wavenumber modes. Inertial manifolds will be useful in Section 4, and we say more about them there.

The KSE system is Galilean invariant; if v(x,t)v(x,t) is a solution, then v(x−ct,t)+cv(x-ct,t)+c, with cc an arbitrary constant velocity, is also a solution. Without loss of generality, we set ∫v(x,0)dx=0\int v(x,0)dx=0, which implies that v0(0)=0v_{0}(0)=0. From (2), we see that v0(t)≡0v_{0}(t)\equiv 0 for all tt and ∫v(x,t)dx≡0\int v(x,t)dx\equiv 0. In physical terms, solutions v(x,t)v(x,t) of the KSE can be interpreted as the velocity of a propagating “front,” for example as in flame propagation, and this decoupling of the v0v_{0} equation from vkv_{k} for k≠0k\neq 0 means the mean velocity is conserved.

Chaotic dynamics and statistical assumptions. Numerous studies have shown that the KSE exhibits chaotic dynamics, as characterized by a positive Lyapunov exponent, exponentially decaying time correlations, and other signatures of chaos (see, e.g., and references therein). Roughly speaking, this means that nearby trajectories tend to separate exponentially fast in time, and that, though the KSE is a deterministic equation, its solutions are unpredictable in the long run as small errors in initial conditions are amplified. Chaos also means that a statistical modeling approach is natural. In what follows, we assume our system is in a chaotic regime, characterized by a translation-invariant physical invariant probability measure (see, e.g., for the notion of physical invariant measures and their connections to chaotic dynamics). That is, we assume that numerical solutions of the KSE, sampled at regular space and time intervals, form (modulo transients) multidimensional time series that are stationary in time and homogeneous in space, and that the resulting statistics are insensitive to the exact choice of initial conditions. Except where noted, this assumption is consistent with numerical observations. Hereafter we will refer to this as “the” ergodicity assumption, as this is the assumption of ergodicity needed in the present paper.

Noting that v^0N=0\hat{v}_{0}^{N}=0 due to Galilean invariance, and setting v^N/2N=0\hat{v}_{N/2}^{N}=0, we obtain a truncated system

Fourier modes with large wave numbers are typically small and can be neglected, as can be seen from a linear analysis: vkv_{k} decreases at approximately the rate e(qk2−qk4)te^{(q_{k}^{2}-q_{k}^{4})t}, where qk=kL/2πq_{k}={kL}/{2\pi} (see Figure 1(right)). A truncation with N≥8ν=8⌊L/2π⌋N\geq 8\nu=8{\lfloor{L/2\pi}\rfloor} can be considered accurate. In the following, a truncated system with N=32ν=32⌊L/2π⌋N=32\nu=32{\lfloor{L/2\pi}\rfloor} is considered to be the “full” system, and we aim to construct reduced models for K<2ν≈L/πK<2\nu\approx L/\pi. Except when NN is small, the system (6) is stiff (since qkq_{k} grows rapidly with kk). To handle this stiffness and maintain reasonable accuracy, we generate data by solving the truncated KSE by an exponential time difference fourth order Runge-Kutta method (ETDRK4) with standard 3/23/2 de-aliasing (see, e.g., ). We solve the full system with a small step size dtdt, and then make observations of the modes with wave numbers k=1,…,Kk=1,\dots,K at a times separated by a larger time interval δ>dt\delta>dt, and denote the observed data by

To predict the evolution of KK observed modes with wave numbers k=1,…,Kk=1,\dots,K, it is natural to start from the truncated system that includes only these modes, i.e., the system (6) with N=2(K+1)N=2(K+1). However, when one takes KK to be relatively small (as we do in the present paper), large truncation errors are present, and the dynamics of the truncated system are very different from those of the full system.

A discrete-time approach to stochastic parametrization and the NARMAX representation

where the variables are partitioned as ϕ=(u,w)\phi=(u,w), with uu representing a (possibly quite small) subset of variables of direct interest. The problem of model reduction is to develop a reduced dynamical system for predicting the evolution of uu alone. That is, one wishes to find an equation for uu that has the form

The usual approach to stochastic parametrization and model reduction as formulated above is to identify zz as a stochastic process in the differential equation (8) from data (see and references therein). This approach has major difficulties. First, it leads to the challenging problem of statistical inference for a continuous-time nonlinear stochastic system from partial discrete observations . The data are measurements of uu, not of zz; to find values of zz one has to use equation (8) and differentiate xx numerically, which may be inaccurate because zz may have high-frequency components or fail to be sufficiently smooth, and because the data may not be available at sufficiently small time intervals. Then, if one can successfully estimate values of zz and then identify it, equation (8) becomes a nonlinear stochastic differential system, which may be hard to solve with sufficient accuracy (see e.g ).

To avoid these difficulties, a purely discrete-time approach to stochastic parametrization was proposed in . This approach avoids the difficult detour through a continuous-time stochastic system followed by its discretization, by working entirely in a discrete-time setting. It starts from the truncated equation

(yy differs from uu in that its evolution equation is missing the information represented by the model error z(t)z(t) in Eq. (8), and so is not up to the task of computing uu.) Fix a step size δ>0\delta>0, and choose a method of time-discretization, for example fourth-order Runge-Kutta. Then discretize the truncated equation above to obtain a discrete-time approximation of the form

(The function RδR^{\delta} depends on the numerical time-stepping scheme used.) To estimate the model error, write a discrete analog of equation (8):

Note that a sequence of values of zn+1z^{n+1} can be computed from data using

where the values of uu are the observed values; the resulting values of zz account for both the model error in (8) and the numerical error in the discretization Rδ(un)R^{\delta}(u^{n}). The task at hand is to identify the time series {zn}\left\{z^{n}\right\} as a discrete stochastic process which depends on uu. Once this is done, equation (9) will be used to predict the evolution of uu. There is no need to approximate or differentiate, and there is no stochastic differential equations to solve. Note that the znz^{n} depend on the numerical error as well as on the model error, and may not be good representations of the continuum model error; we are not interested in the latter, we are only interested in modeling the solution uu.

The sequence {zn}\left\{z^{n}\right\} is a stationary time series, which we represent via a NARMAX representation, with uu as an exogenous input. This representation makes it possible to take into account efficiently the non-Markovian features of the reduced system as well as model and numerical errors. The NARMAX representation is versatile, easy to implement and reliable. The model inferred from data is exactly the same as the one used for prediction, which is not the case for a continuous-time system because of numerical approximations. The disadvantage of the discrete approach is that the discrete system depends on both the spacing of the observed data and the method of time-discretization, so that data sets with different spacing lead to different discrete systems.

for n=1,2,…n=1,2,\dots, where {ξn}\left\{\xi^{n}\right\} is a sequence of independent identically distributed random variables, the first equation repeats equation (9), and Φn\Phi^{n} is a functional of current and past values of (u,z,ξ)\left(u,z,\xi\right), of the parametrized form:

where (Qj, i=1,…,r)\left(Q_{j},\ i=1,\dots,r\right) are functions to be chosen appropriately and (μ,Aj,Bj,Cj)\left(\mu,A_{j},B_{j},C_{j}\right) are constant parameters to be inferred from data. Here we assume that the real and complex parts of ξn\xi^{n} are independent and have Gaussian distributions with mean zero and diagonal covariance matrix σ2\sigma^{2}.

We call the above equations a NARMAX representation because the time series {zn}\{z^{n}\} in equations (11)–(12) resemble the nonlinear autoregression moving average with exogenous input (NARMAX) model in e.g., . In (12), the terms in zz are the autoregression part of order pp, the terms in ξ\xi are the moving average part of order qq, and the terms QjQ_{j} which depend on uu are the exogenous input terms. One should note that our representation is not quite a NARMAX model in the usual sense, because the exogenous input in NARMAX is supposed to be independent of the output zz, while here it is not. The system (11)–(12) is a nonlinear autoregression moving average (NARMA) representation of the time series {un}\left\{u^{n}\right\}: by substituting (10) into (12) we obtain a closed system for u:u:

where Ψn\Psi^{n} is a functional of the past values of uu and ξ\xi.

The form of the system (11)–(12) is quite general. Φn\Phi^{n} can be a more general nonlinear functional of the past values of (u,z,ξ)\left(u,z,\xi\right) than the one in (12). The additive noise ξ\xi can be replaced by a multiplicative noise. We leave these further generalizations to future work. The main task in identification of a NARMAX representation is to determine the structure of the functional Φn\Phi^{n}, that is, determine the terms that are needed, then determine the orders (p,r,q)(p,r,q) in (12) and estimate the parameters.

Determination of the NARMAX representation

To apply NARMAX to the KSE, one must first decide on the structure of the model for znz^{n}. In particular, one must decide which nonlinear terms to include in the ansatz. We note that a priori, it is clear that some nonlinear terms are necessary, as a simple linear ansatz is very unlikely to be able to capture the dynamics of the KSE. This is because distinct modes are uncorrelated (see section 2), so that if the ansatz for znz^{n} contains only linear terms, then the different components of our stochastic model for znz^{n} would be independent, and one would not expect such a model to capture the energy balance between the unresolved modes (see e.g. ).

But the question remains: which nonlinear terms? One option is to include all nonlinear terms up to some order. This leads to a difficult parameter estimation problems because of the large numbers of parameters involved. Moreover, a model with many terms is likely to overfit, which complicates the model and leads to poor predictive performance (see e.g. ). What we do here instead is use inertial manifolds as a guide to selecting suitable nonlinear terms. We note that our construction satisfies the physical realizability constraints discussed in .

We begin with a quick review of approximate inertial manifolds, following . Write the KSE (1) in the form

where u=Pvu=Pv. Different methods for the approximation of inertial manifolds have been proposed . These methods approximate the function w=ψ(u)w=\psi(u) by approximating the projected system on QHQH,

In practice, PP is typically taken to be the projection onto the span of the first mm eigenfunctions of AA, for example, one can set u=Pv=(v−m,v−m+1,…,vm)u=Pv=(v_{-m},v_{-m+1},\dots,v_{m}), the first 2m2m Fourier modes. The dimension of the inertial manifold is generally not known a priori , so mm is usually taken to be a large integer. It is shown in that for large enough mm and for v=u+wv=u+w on the inertial manifold, dw/dt{dw}/{dt} is relatively small. Neglecting dw/dt{dw}/{dt} in (15) we obtain an approximate equation for ww:

Approximations of ψ\psi can then be obtained by setting up fixed point iterations,

and stopping at a particular finite value of nn, which yields an “approximate inertial manifold” (AIM). The accuracy of AIM improves as its dimension mm increases, in the sense that the distance between the AIM and the global attractor of the KSE decreases at the rate ∣qm∣−γ|q_{m}|^{-\gamma} for some γ>0\gamma>0 .

In the application to our reduced KSE equation, one may try to set m=Km=K. However, our cutoff K<2ν≈LπK<2\nu\approx\frac{L}{\pi} is too small for there to be a well-defined inertial form, since this is relatively close to the number ν=⌊L/2π⌋\nu={\lfloor{L/2\pi}\rfloor} of linearly unstable modes, and we generally expect any inertial manifold to have dimension much large than 2ν2\nu. Nevertheless, we will see that the above procedure for constructing AIMs provides a useful guide for selecting nonlinear terms for NARMAX. This is unsurprising, since inertial manifolds arise from the nonlinear energy transfer between low and high modes and the strong dissipation at high modes, which is exactly what we hope to capture.

2 Structure selection

We now determine the structure of the NARMAX model, i.e., decide what terms should appear in (12). These terms should correctly reflect how zz depends on uu and ξ\xi. Once the terms are determined, parameter estimation is relatively easy, as we see in the next subsection. The number of terms should be as small as possible, to save computing effort and to reduce the statistical error in the estimate of the coefficients. One could try to determine the terms to be kept by looking for the terms that contribute most to the output variance, see [2, Chapter 3] and the references there. This approach fails to identify the right terms for strongly nonlinear systems such as the one we have. Other ideas based on a purely statistical approach have been explored e.g. in [2, Chapter 9]. In the present paper, we design the nonlinear terms in (12) in the NARMAX model, which represents the model error in the KK-mode truncation of the KSE, using the theory of inertial manifolds sketched above.

In our setting, u=(v−K,…,vK)u=\left(v_{-K},\dots,v_{K}\right). Because of the quadratic nonlinearity, only the modes with wave number ∣k∣=K+1,K+2,…,2K|k|=K+1,K+2,\dots,2K interact directly with the observed modes in uu; hence we set w=(v−2K,…v−K−1,vK+1,…v2K)w=\left(v_{-2K},\dots v_{-K-1},v_{K+1},\dots v_{2K}\right) in Eq. (16). Using the result of a one-step iteration ψ1=−A−1Qf(u)\psi_{1}=-A^{-1}Qf(u) in (17) we obtain an expression for the high mode vkv_{k} as a function of the low modes uu:

Our goal is to approximate the model error of the KK-mode Galerkin truncation, Pf(u+ψ(u))−Pf(u)Pf(u+\psi(u))-Pf(u), so that the reduced model is closer to the attractor than the Galerkin truncation. In standard approximate inertial manifold methods, the model error is approximated by Pf(u+ψ1(u))−Pf(u)Pf(u+\psi_{1}(u))-Pf(u). Since KK is relatively small in our setting, we do not expect the AIM approximation to be effective. However, in stochastic parameterization, we only need a parametric representation of the model error, and more specifically, to derive the nonlinear terms in the NARMAX model. As the AIM procedure implicitly takes into account energy transfer between Fourier modes due to nonlinear interactions as well as the strong dissipation in high modes, it can be used to suggest nonlinear terms to include in our NARMAX model. That is, the above expressions of ψ1\psi_{1}, Pf(u+ψ1(u))−Pf(u)Pf(u+\psi_{1}(u))-Pf(u) provide explicit nonlinear terms {ϕ1,kϕ1,l,ϕ1,kvj}\{\phi_{1,k}\phi_{1,l},\phi_{1,k}v_{j}\} we need (with K<∣k∣,∣l∣≤2K,∣j∣≤KK<|k|,|l|\leq 2K,|j|\leq K); we simply leave the coefficients of these terms as free parameters to be determined from data. Roughly speaking, the NARMAX can be viewed as a regression implementation of a parametric version of AIM.

Implementing the above observations in discrete time, we obtain the following terms to be used in the discrete reduced system:

The modes with negative wave numbers are defined by u~−jn=u~jn,∗\widetilde{u}_{-j}^{n}=\widetilde{u}_{j}^{n,\ast}. This yields the discrete stochastic system

where the functional Φkn\Phi_{k}^{n} has the form:

for 1≤k≤K1\leq k\leq K. Here θk=(μk,ak,j,bk,j,ck,j,dk,j)\theta_{k}=\left(\mu_{k},a_{k,j},b_{k,j},c_{k,j},d_{k,j}\right) are real parameters to be estimated from data. Note that each one of the random variables ξkn\xi_{k}^{n} affects directly only one mode uknu_{k}^{n}, as is consistent with the vanishing of correlations between distinct Fourier modes (see section 2).

We set Φ−kn=Φkn,∗\Phi_{-k}^{n}=\Phi_{k}^{n,\ast} so that the solution of the stochastic reduced system satisfies u−jn=ujn,∗u_{-j}^{n}=u_{j}^{n,\ast}. We include the terms in Rkδ(un)R^{\delta}_{k}(u^{n}) because the way they were introduced in the above reduced stochastic system does not guarantee that they have the optimal coefficients for the representation of zz; the inclusion of these terms in Φkn\Phi^{n}_{k} makes it possible to optimize these coefficients. This is similar in spirit to the construction of consistent reduced models in , though simpler to implement.

3 Parameter estimation

We assume in this section that the terms and the orders (p,r,q)\left(p,r,q\right) in the NARMAX representation have been selected, and estimate the parameters as follows. To start, assume that the reduced system has dimension KK, that is, the variables unu^{n}, znz^{n}, Φn\Phi^{n} and ξn\xi^{n} have KK components. Denote by θk=(μk,Ak,j,Bk,j,Ck,j)\theta_{k}=(\mu_{k},A_{k,j},B_{k,j},C_{k,j}) the set of parameters in the kkth component of Φn\Phi^{n}, and θ=(θ1,θ2,…,θK) \theta=(\theta_{1},\theta_{2},\dots,\theta_{K})\,. We write Φkn\Phi_{k}^{n} as Φkn(θk)\Phi_{k}^{n}(\theta_{k}) to emphasize that Φ\Phi depends on θk\theta_{k}.

Recall that the real and complex parts of the components of ξn\xi^{n} are independent N(0,σk2)N(0,\sigma_{k}^{2}) random variables. Then, following (11), the log–likelihood of the observations {un,q+1≤n≤N}\left\{u^{n},q+1\leq n\leq N\right\} conditioned on {ξ1,…,ξq}\{\xi^{1},\dots,\xi^{q}\} is (up to a constant)

If q=0q=0, this is the standard likelihood of the data {un,1≤n≤N}\left\{u^{n},1\leq n\leq N\right\}, and the values of znz^{n} and Φn(θ)\Phi^{n}(\theta) can be computed from the data unu^{n} using (10) and (19), respectively. However, if q>0q>0, the sequence {Φkn(θ)}\{\Phi_{k}^{n}(\theta)\} cannot be computed directly from data, due to its dependence on the noise sequence {ξn}\{\xi^{n}\}, which is unknown. Note that once the values of {ξ1,…,ξq}\{\xi^{1},\dots,\xi^{q}\} are available, one can compute recursively the sequence {Φkn(θ)}\{\Phi_{k}^{n}(\theta)\} for n≥q+1n\geq q+1 from data. Hence we can compute the likelihood of {un,q+1≤n≤N}\left\{u^{n},q+1\leq n\leq N\right\} conditional on {ξ1,…,ξq}\{\xi^{1},\dots,\xi^{q}\}. If the stochastic reduced system is ergodic and the data come from this system, the MLE is asymptotically consistent (see e.g. ), and hence the values of ξ1,…,ξq\xi^{1},\dots,\xi^{q} do not affect the result if the data set is long enough. In practice, we can simply set ξ1=⋯=ξq=0\xi^{1}=\dots=\xi^{q}=0, the mean of these variables.

Taking partial derivatives with respect to σk2\sigma_{k}^{2} and noting that ∣zkn−Φkn(θk)∣\left|z_{k}^{n}-\Phi_{k}^{n}(\theta_{k})\right| is independent of σk2\sigma_{k}^{2}, we find that the maximum likelihood estimators (MLE) θ^,σ^2\hat{\theta},\hat{\sigma}^{2} satisfy the following equations:

Note first that in the case q=0q=0, the MLE θ^k\hat{\theta}_{k} follows directly from least squares, because Φkn\Phi_{k}^{n} is linear in the parameter θk\theta_{k} and its terms can be computed from data. If q>0q>0, the MLE θ^k\hat{\theta}_{k} can be computed either by an optimization method (e.g. quasi-Newton method), or by iterative least squares method (see e.g. ). With either method, one first computes Φkn(θk)\Phi_{k}^{n}(\theta_{k}) with the current value of parameter θk\theta_{k}, and then one updates θk\theta_{k} (by gradient search methods or by least squares), and repeats until the error tolerance for convergence is reached. The starting values of θk\theta_{k} for the iterations for either method are set to be the least square estimates using the residual of the corresponding q=0q=0 model.

The simple forms of the log-likelihood in (20) and the MLEs in (21) are based on the assumption that the real and complex parts of the components of ξn\xi^{n} are independent Gaussians. One may allow the components of ξn\xi^{n} to be correlated, at the cost of introducing more parameters to be estimated. Also, similar to , this algorithm can be implemented online, i.e. recursively as the data size increases, and the noise sequence {ξn}\{\xi^{n}\} can be allowed to be non-Gaussian (on the basis of martingale arguments).

4 Order selection

In analogy to the earlier discussion, it is not advantageous to have large orders (p,r,q)(p,r,q) , because, while large orders generally yield small noise variance, the errors arising from the estimation of the parameters accumulate as the number of parameters increases. The forecasting ability of the reduced model depends not only on the noise variance but also on the errors in parameter estimation. For this reason, a penalty factor is often introduced discourage the fitting of linear models with too many parameters. Many criteria have been proposed for linear ARMA models (see e.g. ). However, due to the nonlinearity of NARMA and NARMAX models, these criteria do not work for them.

Here we propose a number of practical, qualitative criteria for selecting orders by trial and error. We first select orders, estimate the parameters for these orders, and then analyze how well the estimated parameters and the resulting reduced system reach our goals. The criteria are:

The variance of the model error should be small.

The stochastic reduced system should be stable, and its long-term statistical properties should be well-defined (i.e., the reduced system should have a stationary distribution), and should agree with the data. Especially, the autocorrelation functions (which are computed by time averaging) of the reduced system and of the data should be close.

The estimated parameters should converge as the size of the data set increases.

These criteria do not necessarily produce optimal solutions. As in most statistics problems, one is aiming at an adequate rather than a perfect solution.

Numerical results

We now determine the coefficients and and the orders in the functional Φ\Phi of equation (12) in the case L=2π/0.085L=2\pi/\sqrt{0.085}, K=5K=5; for this choice of LL, the number of linearly unstable modes is ν=⌊1/0.085⌋=3\nu={\lfloor{1/\sqrt{0.085}}\rfloor}=3. This setting is the same as in Stinis , up to a change of variables in the solution. We obtain data by solving the full Eq. (6) with N=32⌊L/2π⌋N=32{\lfloor{L/2\pi}\rfloor} and with time step dt=0.001dt=0.001, and make observations of the first KK modes with wave number k=1,…,Kk=1,\dots,K, with time spacing δ=0.1\delta=0.1. As initial value we take v0(x)=(1+sin⁡x)cos⁡xv_{0}(x)=(1+\sin x)\cos x. Recall that we denote by {v(tn)}n=1T\left\{v(t_{n})\right\}_{n=1}^{T} the observations of the KK modes. We choose the length of the data set to be large enough so that the statistics can be computed by time averaging. The means and variances of the real parts of the observed Fourier modes settle down after about 5×1045\times 10^{4} time units. Hence we drop the first 10410^{4} time units, and use observations of the next 5×1045\times 10^{4} time units as data for inferring a reduced stochastic system; with (estimated) integrated autocorrelation times of the Fourier modes ranging from ≈10\approx 10 to ≈35\approx 35 time units, this amount of data should be sufficient for estimating the coefficients. (Because δ=0.1\delta=0.1, the length of data is T=5×105T=5\times 10^{5}.)

We consider different orders (p,r,q)(p,r,q): p=0,1,2;r=1,2;q=0,1p=0,1,2;r=1,2;q=0,1. We first estimate the parameters by the conditional likelihood method described in Section 4.3. Then we numerically test the stability of the stochastic reduced system by generating a long trajectory of length TT, starting from an arbitrary point in the data (for example v(t20000)v(t_{20000})). We then drop the orders that lead to unstable systems, and select, among the remaining orders, the ones with smallest noise variances.

The orders (2,1,0),(2,2,0)(2,1,0),(2,2,0) lead to unstable reduced system, though their noise variances are the smallest, see Table 1. This suggests that large orders p,r,qp,r,q are not needed. Among the other orders, the choices (0,2,1)(0,2,1) and (1,1,1)(1,1,1) have the smallest noise variances (see Table 1). The orders (1,1,1)(1,1,1) seems to be better than (0,2,1)(0,2,1), because the former has four out of the five variances smaller than the latter.

For further selection, following the second criterion in section 4.4, we compare the empirical autocorrelation functions of the NARMAX reduced system with the autocorrelation functions of data. Specifically, first we take N0N_{0} pieces of the data, {(v(tn),n=ni,ni+1,…,ni+T)}i=1N0\left\{\left(v(t_{n}),n=n_{i},n_{i}+1,\dots,n_{i}+T\right)\right\}_{i=1}^{N_{0}} with ni+1=ni+Tlag/δn_{i+1}=n_{i}+T_{lag}/\delta, where TT is the length of each piece and TlagT_{lag} is the time gap between two adjacent pieces. For each piece (v(tn),n=ni,…,ni+T)\left(v(t_{n}),n=n_{i},\dots,n_{i}+T\right), we generate a sample trajectory of length TT from the NARMAX reduced system using initial (v(tni),v(tni+1),…,v(tni+m))\left(v(t_{n_{i}}),v(t_{n_{i}+1}),\dots,v(t_{n_{i}+m})\right), where m=max⁡{p,r,2q}+1m=\max\left\{p,r,2q\right\}+1, and denote the sample trajectory by (uni+n,n=1,…,T)\left(u^{n_{i}+n},n=1,\dots,T\right). Here an initial segment is used to estimate the first few steps of the noise sequence, (ξq+1,…,ξ2q)\left(\xi^{q+1},\dots,\xi^{2q}\right) (recall that we set ξ1=⋯=ξq=0 \xi^{1}=\dots=\xi^{q}=0\,). Then we compute the autocorrelation functions of real parts each trajectory by

for h=1,…,Tlag/δh=1,\dots,T_{lag}/\delta, i=1,…,N0i=1,\dots,N_{0}, k=1,…,Kk=1,\dots,K, and compute the average of mean square distances between the autocorrelation functions by

The orders (p,r,q)(p,r,q) with the smallest average mean square distances will be selected. Here we only consider the autocorrelation functions of the real parts, since the imaginary parts have statistical properties similar to those of the real parts.

Table 2 shows the average of mean square distances between the autocorrelation functions for different orders and the autocorrelation functions of the data, computed with N0=100,Tlag=50N_{0}=100,T_{lag}=50. The orders (1,1,1)(1,1,1) have larger distances than (0,2,1)(0,2,1). We select the orders (0,2,1)(0,2,1) because they have the smallest average of mean square distances. The estimated parameters for the orders (0,2,1)(0,2,1) are presented in Table 3.

For comparison, we also carried out a similar analysis for δ=0.01\delta=0.01. We found (data not shown) that (i) the best choices of (p,r,q)(p,r,q) are different for δ=0.1\delta=0.1 and for δ=0.01\delta=0.01; and (ii) the coefficients do not scale in a simple way, e.g., all as some power of δ\delta. Presumably, there is an asymptotic regime (as δ→0\delta\to 0) in which the coefficients do exhibit some scaling, but δ=0.1\delta=0.1 is too large to exhibit any readily-discernible scaling behavior. We leave the investigation of the scaling limit as δ→0\delta\to 0 for future work.

We observed that for all the above orders, most of the estimated parameters show a clear trend of convergence as the length of the data set increases, but some parameters keep oscillating (data not shown). For example, for NARMAX with orders (0,2,1)(0,2,1), the coefficients bk,jb_{k,j} are more oscillatory than the coefficients ck,jc_{k,j}, and the parameters of the mode with wave number k=5k=5 are more oscillatory than the parameters of other modes. This indicates that the structure and the orders are not yet optimal, and we leave the task of developing better structures and orders to future work. Here we select the orders simply based on the size of noise variances and on the ability to reproduce the autocorrelation functions. Yet we obtain a reduced system which achieves both our goals of reproducing the long-term statistics and making reliable short-term forecasting, as we show in the following sections.

In the following, we select the orders (0,2,1)(0,2,1) for the NARMAX reduced system.

2 Long-term statistics

We compare the statistics of the truncated system and the NARMAX reduced system with the statistics of the data. We calculate the following quantities for the reduced systems as well as for data: the empirical probability density functions (pdf) and the empirical autocorrelation functions for each of the KK components. All these statistics are computed by time-averaging long sample trajectories, as we did for the autocorrelation functions in the previous subsection.

The pdfs and autocorrelation functions of data are reproduced well by the NARMAX reduced system, as shown in Figure 2 and Figure 3. The NARMAX system reproduces almost exactly the pdfs and the autocorrelation functions of the data, a significant improvement over the truncated system.

3 Short-term forecasting

We now investigate how well the NARMAX reduced system predicts the behavior of the full system.

We start from single path forecasts. For the NARMAX with orders (p,r,q)(p,r,q), we start the multistep recursion by using an initial segment with m=2max⁡{p,r,q}+1m=2\max\{p,r,q\}+1 steps as follows. We set ξ1=⋯=ξq=0\xi^{1}=\cdots=\xi^{q}=0, and estimate ξq+1,…,ξm\xi^{q+1},\dots,\xi^{m} using equation (11). Then we follow the discrete system to generate an ensemble of trajectories from different realizations, with all realizations using the same initial condition. We do not introduce artificial perturbations into the initial conditions, because the exact initial conditions are known. A typical ensemble of 2020 trajectories, as well as its mean trajectory and the corresponding data trajectory, is shown in Figure 4(b). As a comparison, we also plot a forecast using the truncated system. Since the observations provide the exact initial condition, the truncated system produces a single forecast path, see Figure 4(a). We observe that the ensemble of NARMAX follows the true trajectory well for about 50 time units, and the spread becomes wide quickly afterwards, while the ensemble mean can follow the true trajectory to 55 time units. Compared to the truncated system which can make forecast for about 20 time units, NARMAX can make forecast for about 55 time units, which is a significant improvement. We comment that in the prediction time is about 35 time units in , where the Mori-Zwanzig formalism is used.

To measure the reliability of the forecast as a function of lead time, we compute two commonly-used statistics, the root-mean-square-error (RMSE) and the anomaly correlation (ANCR). Both statistics are based on generating a large number of ensembles of trajectories of the reduced system starting from different initial conditions, and comparing the mean ensemble predictions with the true trajectories, as follows.

First we take N0N_{0} short pieces of the data, {(v(tn),n=ni,ni+1,…,ni+T)}i=1N0\left\{\left(v(t_{n}),n=n_{i},n_{i}+1,\dots,n_{i}+T\right)\right\}_{i=1}^{N_{0}} with ni+1=ni+Tlag/δn_{i+1}=n_{i}+T_{lag}/\delta, where T=T= Tlag/δT_{lag}/\delta is the length of each piece and TlagT_{lag} is the time gap between two adjacent pieces. For each short piece of data (v(tn),n=ni,…,ni+T)\left(v(t_{n}),n=n_{i},\dots,n_{i}+T\right), we generate NensN_{ens} trajectories of length TT from the NARMAX reduced system, starting all ensemble members from the same several-step initial condition (v(tni),v(tni+1),…,v(tni+m))\left(v(t_{n_{i}}),v(t_{n_{i}+1}),\dots,v(t_{n_{i}+m})\right), where m=2max⁡{p,r,q}+1m=2\max\left\{p,r,q\right\}+1, and denote the sample trajectories by (un(i,j),n=1,…,T)\left(u^{n}(i,j),n=1,\dots,T\right) for i=1,…,N0i=1,\dots,N_{0} and j=1,…,Nensj=1,\dots,N_{ens}. Again, we do not introduce artificial perturbations into the initial conditions, because the exact initial conditions are known, and by initializing from data, we preserve the memory of the system so as to generate better ensemble trajectories.

We then calculate the mean trajectory for each ensemble, uˉn(i)=1Nens∑j=1Nensun(i,j)\bar{u}^{n}(i)=\frac{1}{N_{ens}}\sum_{j=1}^{N_{ens}}u^{n}(i,j). The RMSE measures, in an average sense, the difference between the mean ensemble trajectory, i.e., the expected path predicted by the reduced model, and the true data trajectory:

where τn=nδ\tau_{n}=n\delta. The anomaly correlation (ANCR) shows the average correlation between the mean ensemble trajectory and the true data trajectory (see e.g ):

where av,i(n)=Re⁡v(tni+n)−Re⁡⟨v⟩\mathbf{a}^{v,i}(n)=\operatorname{Re}v(t_{n_{i}+n})-\operatorname{Re}\left\langle v\right\rangle and au,i(n)=Re⁡uˉn(i)−Re⁡⟨v⟩\mathbf{a}^{u,i}(n)=\operatorname{Re}\bar{u}^{n}(i)-\operatorname{Re}\left\langle v\right\rangle are the anomalies in data and the ensemble mean. Here a⋅b=∑k=1Kakbk\mathbf{a\cdot b=}\sum_{k=1}^{K}a_{k}b_{k}, ∣a∣2=a⋅a\left|\mathbf{a}\right|^{2}=\mathbf{a\cdot a}, and ⟨v⟩\left\langle v\right\rangle is the time average of the long trajectory of vv. Both statistics measure the accuracy of the mean ensemble prediction; RMSE=0\rm{RMSE}=0 and ANCR=1\rm{ANCR}=1 would correspond to a perfect prediction, and small RMSEs and large (close to 1) ANCRs are desired.

Results for RMSE and ANCR for N0=1000N_{0}=1000 ensembles are shown in Figure 5, where we tested three ensemble sizes: Nens=1,5,20N_{ens}=1,5,20. The forecast lead time at which the RMSE keeps below 2 is about 50 time units, which is about 10 times of the forecast lead time of the truncated system. The forecast lead time at which the ANCR drops below 0.9 is about 55 time units, which is about five times of number of the truncated system. We also observe that a larger ensemble size leads to smaller RMSEs and larger ANCRs.

4 Importance of the nonlinear terms in NARMAX

Finally, we examine the necessity of including nonlinear terms in the ansatz, by comparing NARMAX to ARMAX, i.e., stochastic parametrization keeping only the linear terms in the ansatz. We performed a number of numerical experiments in which we fitted an ARMAX ansatz to data. We found that for (p,r,q)=(0,2,1)(p,r,q)=(0,2,1), which was the best order we found for NARMAX, the corresponding ARMAX approximation was unstable.

We also found the best orders for ARMAX to be stable, which were (p,r,q)=(2,1,0)(p,r,q)=(2,1,0), and compared the results to those produced by NARMAX. The results are shown in Figure 6. In (a), the pdfs are shown for each resolved Fourier mode, and compared to those of the full model. Clearly, the Fourier modes for ARMAX experience much larger fluctuations, presumably because of the build-up of energy in the resolved modes. In contrast, the results produced by NARMAX match reality much better (see Figures 2(b)), as it more correctly models the nonlinear interactions between different modes. A consequence of these larger fluctuations is that ARMAX cannot even capture the mean energy spectrum: the ARMAX model leads to mean energies that are about 5 times larger than the true energy spectrum, which NARMAX is able to reproduce (data not shown).

Figure 6(b) shows the corresponding autocorrelations. We see that ARMAX does not correctly capture the temporal structure of the dynamics. Again, this is consistent with the fact that in ARMAX the components of znz^{n} are independent, which do not correctly capture the energetics the KSE. In contrast, the NARMAX results in Figure 3(b) show a much better match.

Conclusions and discussion

We performed a stochastic parametrization for the KSE equation in order to use it as a test bed for developing such parametrization for more complicated systems. We estimated and identified the model error in a discrete-time setting, which made the inference from data easier, and avoided the need to solve nonlinear stochastic differential systems; we then represented the model error as a NARMAX time series. We found an efficient form for the NARMAX series with the help of an approximate inertial manifold, which we determined by a construction developed in a continuum setting, and which we improved by parametrizing its coefficients.

A number of dimensional reduction techniques have been developed over the years in the continuum setting, e.g., inertial manifolds, renormalization groups, the Mori-Zwanzig formalism, and a variety of perturbation-based methods. In the present paper we showed, in the Kuramoto-Sivashinsky case, that continuum methods could be adapted for use in the more practical discrete-time setting, where they could help to find an effective structure for the NARMAX series, and could in turn be enhanced by estimating the coefficients that appear, producing an effective and relatively simple parametrization. Another example in a similar spirit was provided by Stinis , who renormalized coefficients in a series implementation of the Mori-Zwanzig formalism.

Such continuous/discrete, analytical/numerical hybrids raise interesting questions. Do there exist general, systematic ways to use continuum models to identify terms in NARMAX series? Does the discrete setting require in general that the continuum methods be modified or discretized? What are the limitations of this approach? The answers await further work.

Acknowledgements

The authors thank the anonymous referee, Prof. Panos Stinis, and Prof. Robert Miller for their helpful suggestions. KL is supported in part by the National Science Foundation under grants DMS-1217065 and DMS-1418775, and thanks the Mathematics Group at Lawrence Berkeley National Laboratory for facilitating this collaboration. AJC and FL are supported in part by the Director, Office of Science, Computational and Technology Research, U.S. Department of Energy, under Contract No. DE-AC02-05CH11231, and by the National Science Foundation under grants DMS-1217065 and DMS-1419044.

References