arXiv:2609.09434cs.LGSep 2026

Manuscript Offprint

arXiv:2609.09434

Tensor-Train Weak SINDy: Identifying High-Dimensional Nonlinear Dynamics

Will Houser, Vanja Dukic, David M. Bortz

Will Houser*, Vanja Dukic*, and David M. Bortz*

Abstract. In recent years, weak-form methods have made significant advances in data-driven discovery of dynamical systems. However, in high-dimensional settings, current techniques can prove expensive in both computation and memory. In this work, we introduce TT-WSINDy, which combines techniques of the Multidimensional Approximation of Nonlinear Dynamics (MANDy) and Weak Sparse Identification of Nonlinear Dynamics (WSINDy) methods, implementing requisite computations in the tensor-train (TT) format. We demonstrate that this method is able to search an exponentially-growing space of candidate functions – performing weak-form transformation, regression, and sparsification – without suffering from the curse of dimensionality.

Key words. weak form, tensor-train decomposition, sparse regression

MSC codes. 65F55, 15A69, 93B30, 65L09

  1. Introduction. Recent years have seen an explosion of interest in data-driven model creation. At the interface of applied mathematics, statistics, and computer science, work in this area can be traced back to Akaike's seminal work in the 1970s [1]. Historically, the accuracy of a model to data has been determined using an output-error (OE) approach: given a candidate parameter vector, numerically solve the corresponding ODE/PDE, and compare output to observed data. This approach, however, suffers from computational inefficiency, potential solver inaccuracy, and sensitivity to hyperparameter tuning [39].

In contrast, equation-error (EE) methods circumvent the forward simulation procedure by substituting data directly into the model and minimizing the resulting residual. One such method is Sparse Identification of Nonlinear Dynamics (SINDy) [5], which learns a sparse set of functions from data by refactoring the nonlinear model selection problem into a linear system. SINDy generated substantial interest in EE-based model discovery, and has been extended in the contexts of PDEs [43], control inputs [6], and implicit or rational dynamics [23]. The framework has seen applications across various scientific domains, including fluid dynamics [27], systems biology [30], and chemical kinetics [20].

Two areas of concern for SINDy-based methods are the computation of derivative data and the effect of noise. Often, only the raw data X\mathbf{X} is known, but the derivative data X˙\dot{\mathbf{X}} is necessary for computation of the residual. The need to approximate X˙\dot{\mathbf{X}} can render the learning problem sensitive to noisy data. Building off of SINDy, several strategies have been developed to address computation of the derivative and accommodate imprecise data [51, 55, 22, 10].

Weak-form methods circumvent the derivative estimation problem by integrating both sides of the equation against a smooth, compactly-supported test function, and applying integration by parts to yield an equation that is independent of the unknown derivative data. The integration also smooths the raw data, making the ensuing regression problem more robust to noise. Such ideas date back to Shinbrot's 1954 work [46], but had not been investigated in

*Department of Applied Mathematics, University of Colorado, Boulder, CO 80309-0526 USA (will.houser@colorado.edu, vadu4217@colorado.edu, dmbortz@colorado.edu) depth until recent decades, when several groups independently rediscovered the applications of the weak form to model discovery [12, 32, 33, 41, 45, 54]. Of these, our work inherits notation and regression techniques from the Weak SINDy (WSINDy) method [32, 33]. This method has led to a host of publications, showing unprecedented success in applications to ODEs [3, 8, 18, 34, 44, 29, 47], PDEs [28, 35, 38, 52], SDEs [4, 37], reduced order modeling [17, 49, 53], and closure discovery [31]. For an overview of weak-form methods, see [36].

Tensor decompositions have also seen increased interest in recent decades. The concept of a tensor decomposition dates back to Hitchcock's 1927 work on the canonical polyadic (CP) decomposition [19], rediscovered in 1970 by Carroll and Chang as CANDECOMP [7] and Harshman as PARAFAC [15]. Subsequent to these works and the 1960s work of Tucker [50], each of which originated in psychometrics literature, tensor research increasingly spread to applied math-related fields such as signal processing, numerical linear algebra, and computer vision before being synthesized in the foundational 2009 work by Kolda and Bader [25].

The classical tensor formats often suffer from the curse of dimensionality, meaning poor scaling in tensor order. Finding the CP rank of a general tensor is NP-hard [21], and the storage cost of the Tucker decomposition grows exponentially with the number of modes. This motivated the development of tensor formats whose storage is linear in order, most notably the tree-structured hierarchical Tucker format [13]. A special case of this is the tensor-train (TT) format, introduced in 2011 by Oseledets [40], and having been known to the computational physics community since the early 1990s as the matrix product state (MPS) [9]. This format will be a focus of this work.

Tensor decompositions have shown recent promise in improving existing data-driven methods, providing the ability to work in a high-dimensional space without forming a corresponding high-dimensional tensor in memory. [56] decomposes high-dimensional moment tensors to form a polynomial-time variant of the generalized method of moments (GMM) procedure. Klus, Gelf, and others showed that the tensor-train format can be applied to dynamic mode decomposition (DMD) [24] and SINDy [11]. The latter method is abbreviated MANDy, and, along with WSINDy, provides motivation for this paper.

Our work proceeds as follows. Section 2 establishes notation, gives exposition on SINDy and WSINDy, and defines the tensor-train format and relevant tensor operations. Section 3 presents the TT-WSINDy problem construction and the TT-MSTLS algorithm to identify a sparse solution. Section 4 proves the connection between the TT-WSINDy problem construction and the original WSINDy problem. Section 5 establishes the time and memory complexity of TT-MSTLS and shows that it circumvents the curse of dimensionality, and introduces an algorithm that improves computational efficiency for large datasets. Section 6 provides results demonstrating the effectiveness of TT-WSINDy, both in robustness to noise and computational efficiency.

  1. Notation and preliminaries. In this section, we describe the problem setting and the Weak SINDy (WSINDy) algorithm to identify the approximate dynamics. We then introduce the tensor-train (TT) format, which admits a fast pseudoinverse computation. We will see that the tensor-train format is amenable to both the weak form and to existing sparse regression techniques, meaning we can use time-saving TT methods while gaining robustness to noise and a sparse solution.

2.1. Problem setting. We consider the problem of learning a first-order ordinary differential equation in D dimensions, taking the form

(2.1)

x˙(t)=F(x(t)),x(0)=x0∈RD,0≤t≤T\dot{\mathbf{x}}(t)=\mathbf{F}(\mathbf{x}(t)),\quad\mathbf{x}(0)=\mathbf{x}_{0}\in\mathbb{R}^{D},\quad0\leq t\leq T

We have measurement data X∈RD×M\mathbf{X} \in \mathbb{R}^{D \times M}, sampled at timepoints (t1,…,tM)(t_1, \ldots, t_M) and given by

(2.2)

X[d,m]=xd(tm)+ϵd,m,d∈[D],m∈[M]\mathbf{X}[d,m]=\mathbf{x}_{d}(t_{m})+\epsilon_{d,m},\quad d\in[D],m\in[M]

where {ϵd,m}d∈[D],m∈[M]\{\epsilon_{d,m}\}_{d\in[D],m\in[M]} is independent and identically distributed measurement noise from some common distribution. In this work, we assume that F\mathbf{F} is linear in parameters, i.e. given dimensionwise by

(2.3)

Fd(x(t))=∑j=1JW[d,j]⋅gj(x(t))\mathbf{F}_{d}(\mathbf{x}(t))=\sum_{j=1}^{J}\mathbf{W}[d,j]\cdot g_{j}(\mathbf{x}(t))

where the family of functions g:={gj}j∈[J]\boldsymbol{g} := \{g_j\}_{j \in [J]}, with gj:RD→Rg_j : \mathbb{R}^D \to \mathbb{R}, is known. In this context, discovering the dynamics in (2.1) is equivalent to discovering the coefficient matrix W∈RD×J\mathbf{W} \in \mathbb{R}^{D \times J}.

The sparse identification of nonlinear dynamics (SINDy) algorithm, introduced in [5], showed early success in solving problems of this form. The framework constructs a feature matrix Θ(X)∈RJ×M\Theta(\mathbf{X}) \in \mathbb{R}^{J \times M} whose rows are discretizations of each gj∈gg_j \in \mathbf{g}:

(2.4)

Θ(X)[j,m]=gj(X[:,m])\Theta(\mathbf{X})[j,m]=g_{j}(\mathbf{X}[:,m])

Given pointwise derivative data X˙\dot{X}, evaluated on the same spatiotemporal grid as X, we have the discrete problem

(2.5)

X˙≈WΘ(X)\dot{\mathbf{X}}\approx\mathbf{W}\Theta(\mathbf{X})

Then, SINDy finds W^\widehat{W} such that

(2.6)

W^issparse,andW^≈arg⁡min⁡W∥X˙−WΘ(X)∥F\begin{aligned}&\widehat{\mathbf{W}}is sparse,and\\&\widehat{\mathbf{W}}\approx\underset{\mathbf{W}}{\arg\min}\|\dot{\mathbf{X}}-\mathbf{W}\Theta(\mathbf{X})\|_{F}\end{aligned}

For the original work on this problem formulation and computation of W^\widehat{W}, see [5].

There are two primary areas of concern in applying SINDy. First, in many physical applications, X˙\dot{X} is not known and must be computed from X. Second, loss of accuracy can compound in the presence of noise. In the following section, we introduce the WSINDy method, which addresses these issues.

2.2. WSINDy. Several groups have independently discovered that using the weak form of (2.1) bypasses the need to compute X˙\dot{X} and makes the problem robust to noise [12, 32, 33, 41, 45, 54]. Here, we briefly present one such method, Weak SINDy (WSINDy).

We introduce a smooth test function φ:R→R\varphi : \mathbb{R} \to \mathbb{R}, compactly supported in some interval [a,b]⊂[0,T][a, b] \subset [0, T]. Integrating φ\varphi against both sides of (2.1) and applying integration by parts to the LHS results in the weak formulation

(2.7)

−∫0Tφ˙(t)x(t)dt=∫0Tφ(t)F(x(t))dt-\int_{0}^{T}\dot{\varphi}(t)\mathbf{x}(t)\mathrm{d}t=\int_{0}^{T}\varphi(t)\mathbf{F}(\mathbf{x}(t))dt

Now, let φ∈RB\varphi \in \mathbb{R}^B be the discretization of φ\varphi on t∩(a,b)\mathbf{t} \cap (a, b). Then, approximating the integrals in (2.7) via the trapezoidal rule yields the discrete problem

(2.8)

−XΦ˙≈WΘ(X)Φ-\mathbf{X}\dot{\Phi}\approx\mathbf{W}\Theta(\mathbf{X})\Phi

where Φ\Phi is the banded matrix

(2.9)

Φ=[φ[1]⋮φ[1]φ[B]⋮φ[B]⋱φ[1]⋮φ[B]]∈RM×(M−B+1)\Phi=\begin{bmatrix}\varphi[1]&&&\\ \vdots&\varphi[1]&&\\ \varphi[B]&\vdots&&\\ &\varphi[B]&\ddots&\varphi[1]\\ &&\vdots&\\ &&&\varphi[B]\end{bmatrix}\in\mathbb{R}^{M\times(M-B+1)}

and Φ˙\dot{\Phi} is the same, but with test function derivative φ˙\dot{\varphi}. Crucially, (2.8) has no dependence on X˙\dot{X}, so we avoid the potentially unstable finite difference computation. And, the integration in (2.7) mollifies the noise in X\mathbf{X}. Similarly to (2.6), the WSINDy optimization problem is then to find a sparse W^\widehat{\mathbf{W}} such that

(2.10)

W^≈argmin⁡W∥XΦ˙+WΘ(X)Φ∥F\widehat{\mathbf{W}}\approx\underset{\mathbf{W}}{\operatorname{argmin}}\|\mathbf{X}\dot{\Phi}+\mathbf{W}\Theta(\mathbf{X})\Phi\|_{F}

For details on choosing φ\varphi, see [48]. We will see that this weak-form construction can be recast into a tensor format to yield an efficient, noise-robust algorithm that discovers the unknown dynamics in (2.1).

2.3. Tensor preliminaries. In this work, a tensor is a multidimensional array, generalizing a matrix. As we specify a matrix X∈Rm×n\mathbf{X} \in \mathbb{R}^{m \times n} by the dimensions (m,n)(m, n), we specify the shape of an order-N tensor X∈RI1×⋯×IN\mathcal{X} \in \mathbb{R}^{I_1 \times \cdots \times I_N} by the tuple (I1,…,IN)(I_1, \ldots, I_N), called the modes of X\mathcal{X}. The storage cost of such a tensor is O(IN)\mathcal{O}(I^N), where I:=max⁡n∈[N]InI := \max_{n \in [N]} I_n is the maximum mode size. For large NN, storage of such an object may easily be infeasible, and the time cost of performing even basic algebraic operations can explode. This is referred to as the curse of dimensionality. However, it is often the case that immense amounts of memory and time can be saved by recasting low-dimensional problems into a high-dimensional tensor. This is achieved through a tensor decomposition that exploits a low-rank correlation structure. We will see that the WSINDy learning problem can admit such a structure.

In order to discuss relevant tensor decompositions in detail, we introduce two binary tensor operations.

Definition 2.1. Let X∈RI1×⋯×IN\mathcal{X} \in \mathbb{R}^{I_1 \times \cdots \times I_N}, Y∈RJ1×⋯×JM\mathcal{Y} \in \mathbb{R}^{J_1 \times \cdots \times J_M}. Their outer product, denoted X∘Y∈RI1×⋯×IN×J1×⋯×JM\mathcal{X} \circ \mathcal{Y} \in \mathbb{R}^{I_1 \times \cdots \times I_N \times J_1 \times \cdots \times J_M}, is defined element-wise as

(X∘Y)[i1,…,iN,j1,…,jM]=X[i1,…,iN]Y[j1,…,jM](\mathcal{X}\circ\mathcal{Y})[i_{1},\ldots,i_{N},j_{1},\ldots,j_{M}]=\mathcal{X}[i_{1},\ldots,i_{N}]\mathcal{Y}[j_{1},\ldots,j_{M}]

This definition generalizes the typical vector outer product uvT\mathbf{u}\mathbf{v}^{T}. Similarly, tensor contraction generalizes matrix multiplication, collapsing adjacent tensor dimensions.

Definition 2.2. Let X∈RI1×⋯×IN×J1×⋯×JL\mathcal{X} \in \mathbb{R}^{I_1 \times \cdots \times I_N \times J_1 \times \cdots \times J_L}, Y∈RJ1×⋯×JL×K1×⋯×KM\mathcal{Y} \in \mathbb{R}^{J_1 \times \cdots \times J_L \times K_1 \times \cdots \times K_M}. Their tensor contraction, denoted X×‾Y∈RI1×⋯×IN×K1×⋯×KM\mathcal{X} \overline{\times} \mathcal{Y} \in \mathbb{R}^{I_1 \times \cdots \times I_N \times K_1 \times \cdots \times K_M}, is defined element-wise as

(X×‾Y)[i1,…,iN,k1,…,kM]=∑j1,…,jLX[i1,…,iN,j1,…,jL]Y[j1,…,jL,k1,…,kM](\mathcal{X}\overline{\times}\mathcal{Y})[i_{1},\ldots,i_{N},k_{1},\ldots,k_{M}]=\sum_{j_{1},\ldots,j_{L}}\mathcal{X}[i_{1},\ldots,i_{N},j_{1},\ldots,j_{L}]\mathcal{Y}[j_{1},\ldots,j_{L},k_{1},\ldots,k_{M}]

[2]

Note that there is ambiguity in the notation ×‾\overline{\times}, as it does not specify which indices are to be contracted. In this work, this will be clear from context.

We will also require representations of tensors as matrices and vectors, called matricizations and vectorizations. In order for this operation to be invertible, we let bNb_{N} denote a bijection that maps a multi-index to a single index

bN:[I1]×[I2]×⋯×[IN]→[I1I2⋯IN](i1,i2,…,iN)↦i1,i2,…,iN‾\begin{aligned}b_{N}:[I_{1}]\times[I_{2}]\times\cdots\times[I_{N}]\rightarrow[I_{1}I_{2}\cdots I_{N}]\\ (i_{1},i_{2},\ldots,i_{N})\mapsto\overline{i_{1},i_{2},\ldots,i_{N}}\end{aligned}

e.g., lexicographical order. In implementation, different programming languages may use different orderings (column-major in Matlab vs row-major in NumPy, for example). The specific ordering does not matter in our context; it is only important that all operations that invoke an order are defined with respect to the same underlying bijection.

Definition 2.3. Let X∈RI1×⋯×IN\mathcal{X} \in \mathbb{R}^{I_1 \times \cdots \times I_N}, and n∈[N]n \in [N]. We denote the mode-n unfolding, or the mode-n matricization of X\mathcal{X} as

X(n)=X∣I1,…,InIn+1,…,IN∈RI1⋯In×In+1⋯IN\mathcal{X}_{(n)}=\mathcal{X}\big|_{I_{1},\ldots,I_{n}}^{I_{n+1},\ldots,I_{N}}\in\mathbb{R}^{I_{1}\cdots I_{n}\times I_{n+1}\cdots I_{N}}

defined element-wise as

(X(n))[i1,…,in‾,in+1,…,iN‾]=X[i1,…,iN]\left(\mathcal{X}_{(n)}\right)\left[\overline{i_{1},\ldots,i_{n}},\overline{i_{n+1},\ldots,i_{N}}\right]=\mathcal{X}[i_{1},\ldots,i_{N}]

In this work, we will use the following special cases of unfoldings.

Definition 2.4. Let X∈RI1×⋯×IN\mathcal{X} \in \mathbb{R}^{I_1 \times \cdots \times I_N}. We define the left unfolding and right unfolding of X\mathcal{X}, respectively, as

R(X)=X(1),L(X)=X(N−1)\mathbf{R}(\mathcal{X})=\mathcal{X}_{(1)},\quad\mathbf{L}(\mathcal{X})=\mathcal{X}_{(N-1)}

2.4. The tensor-train format. Central to this work is the tensor-train (TT) format. A special case of the hierarchical Tucker format [13], the TT format decomposes an arbitrary tensor into a sequence of order-3 TT cores. Each core shares its first mode length with the previous core, and the last with the next, hence, the “train” of tensors. We will see that this structure allows for an efficiently-computable singular value decomposition.

Definition 2.5. Let T∈RI1×⋯×IN\mathcal{T} \in \mathbb{R}^{I_1 \times \cdots \times I_N}. We say T\mathcal{T} is in the tensor-train (TT) format if it admits the expression

(2.11)

T=∑r0=1R0∑r1=1R1⋯∑rN=1RNT(1)[r0,:,r1]∘T(2)[r1,:,r2]∘⋯∘T(N)[rN−1,:,rN]\mathcal{T}=\sum_{r_{0}=1}^{R_{0}}\sum_{r_{1}=1}^{R_{1}}\cdots\sum_{r_{N}=1}^{R_{N}}\mathcal{T}^{(1)}[r_{0},:,r_{1}]\circ\mathcal{T}^{(2)}[r_{1},:,r_{2}]\circ\cdots\circ\mathcal{T}^{(N)}[r_{N-1},:,r_{N}]

Figure

Figure 2.1. Diagram of tensor train T=[T(1),…,T(N)]∈RI1×⋯×IN\mathcal{T} = [\mathcal{T}^{(1)}, \ldots, \mathcal{T}^{(N)}] \in \mathbb{R}^{I_1 \times \cdots \times I_N} with ranks (R1,…,RN−1)(R_1, \ldots, R_{N-1}). Adjacent cores share a mode. The boundary ranks R0,RNR_0, R_N are fixed to 1, so the outer cores can be considered matrices.

over core tensors

T(n)∈RRn−1×In×Rn,n∈[N]\mathcal{T}^{(n)}\in\mathbb{R}^{R_{n-1}\times I_{n}\times R_{n}},\quad n\in[N]

We let R0=RN=1R_0 = R_N = 1, and we say that the tuple (R1,…,RN−1)(R_1, \ldots, R_{N-1}) gives the TT ranks 1^1 of T\mathcal{T}. [40]

We write TT cores compactly as two-dimensional arrays with vector elements

(2.12)

T(n)=[[T(n)[1,:],1]⋯T(n)[1,:],Rn]⋮⋱⋮T(n)[Rn−1,:],1]⋯T(n)[Rn−1,:],Rn]]]\mathcal{T}^{(n)}=\left[\begin{bmatrix}\mathcal{T}^{(n)}[1,:],1]&\cdots&\mathcal{T}^{(n)}[1,:],R_{n}]\\ \vdots&\ddots&\vdots\\ \mathcal{T}^{(n)}[R_{n-1},:],1]&\cdots&\mathcal{T}^{(n)}[R_{n-1},:],R_{n}]\end{bmatrix}\right]

and use the following shorthand to define a TT in terms of its cores

(2.13)

T=TT[[T(1),…,T(N)]]\mathcal{T}=\mathrm{T T}\big[\big[\mathcal{T}^{(1)},\ldots,\mathcal{T}^{(N)}\big]\big]

An essential property of the TT format is that it admits an efficiently-computable, analytic pseudoinverse. Given T\mathcal{T} as in (2.11), its pseudoinverse 2^{2} is given by

(2.14)

T†:=∑r1=1R1⋯∑rN−1=1RN−1σrN−1−1T~(N)[rN−1,:,1]∘T~(1)[1,:r1]∘⋯∘T~(N−1)[rN−2,:,rN−1]\mathcal{T}^{\dagger}:=\sum_{r_{1}=1}^{R_{1}}\cdots\sum_{r_{N-1}=1}^{R_{N-1}}\sigma_{r_{N-1}}^{-1}\widetilde{\mathcal{T}}^{(N)}[r_{N-1},:,1]\circ\widetilde{\mathcal{T}}^{(1)}[1,:r_{1}]\circ\cdots\circ\widetilde{\mathcal{T}}^{(N-1)}[r_{N-2},:,r_{N-1}]

with T†∈RIN×I1×⋯×IN−1\mathcal{T}^\dagger \in \mathbb{R}^{I_N \times I_1 \times \cdots \times I_{N-1}}. T~(1),…,T~(N−1)\widetilde{\mathcal{T}}^{(1)}, \ldots, \widetilde{\mathcal{T}}^{(N-1)} are left-orthonormalized counterparts of the cores T(1),…,T(N−1)\mathcal{T}^{(1)}, \ldots, \mathcal{T}^{(N-1)}, and T~(N)\widetilde{\mathcal{T}}^{(N)} is T(N)\mathcal{T}^{(N)}, right-orthonormalized. Algorithms to compute these can be found in [40, 24], and additional discussion of orthonormalization of TT cores can be found in [11]. The coefficients {σrN−1}rN−1∈[RN−1]\{\sigma_{r_{N-1}}\}_{r_{N-1} \in [R_{N-1}]} are obtained through a sequence of SVDs of the original cores {T(n)}n∈[N]\{\mathcal{T}^{(n)}\}_{n \in [N]}, thus computation of the SVD only requires working with the TT cores. We never form the full tensor and thus never leave the low-rank latent space we have constructed. This results in the following lemma.

1^{1}Note that there are multiple definitions of tensor rank – TT rank is distinct from the commonly-used CP rank [25].

2^{2}Since this object does not have boundary ranks of 1, it is not in TT format, strictly speaking. We can consider T†\mathcal{T}^\dagger a cyclic tensor train, or a sum of RN−1R_{N-1} tensor trains, scaled by σrN−1−1\sigma_{r_{N-1}}^{-1} [11].

Lemma 2.6. Given tensor train T∈RI1×⋯×IN×K\mathcal{T}\in\mathbb{R}^{I_1\times \cdots\times I_N\times K}, there exists an algorithm that computes T†\mathcal{T}^\dagger with time complexity O(NIR3+KR2)\mathcal{O}(NIR^3+KR^2), where II is the maximum of the first NN modes, and RR is the maximum TT rank. [11]

For full exposition, detailed description, and proof of the above, see [24]. Or, see subsection A.2 for a brief overview of the algorithm. The obtained pseudoinverse is compatible with the equivalent matrix problem:3^3 it holds that

(2.15)

R(T†)=L(T)†\mathbf{R}(\mathcal{T}^\dagger)=\mathbf{L}(\mathcal{T})^\dagger

In contrast, direct computation of L(T)†\mathbf{L}(\mathcal{T})^\dagger using a matrix pseudoinverse can be estimated as O(INK2)\mathcal{O}(I^N K^2). So, given that the ranks of T\mathcal{T} are not excessively large, we expect significant computational savings to result from Lemma 2.6. In the next section, we will recast the WSINDy learning problem into a TT pseudoinverse computation for which this is indeed the case.

Table 2.1

General tensor notation and relevant unary operations

SymbolDomainMeaning
x,c,Cx, c, C (plain font)R\mathbb{R}scalar
x\mathbf{x} (bold lowercase)RN\mathbb{R}^Nvector
X\mathbf{X} (bold uppercase)RM×N\mathbb{R}^{M\times N}matrix
X,Ψ\mathcal{X}, \Psi (calligraphy, bold greek)RI1×⋯×IN\mathbb{R}^{I_1\times \cdots\times I_N}tensor
(i1,…,iN)(i_1, \dots, i_N)NI1×⋯×IN\mathbb{N}^{I_1\times \cdots\times I_N}multi-index
bNb_NC([I1]×⋯×[IN],[I1⋯IN])C([I_1]\times \cdots\times [I_N],[I_1\cdots I_N])bjective ordering of multi-indices
X(n),X∣I1,…,InIn+1,…,IN\mathcal{X}_{(n)}, \mathcal{X}\big|_{I_1,\dots,I_n}^{I_{n+1},\dots,I_N}RI1⋯In×In+1⋯IN\mathbb{R}^{I_1\cdots I_n\times I_{n+1}\cdots I_N}mode-nn unfolding of X\mathcal{X}
R(X)\mathbf{R}(\mathcal{X})RI1×I2⋯IN\mathbb{R}^{I_1\times I_2\cdots I_N}right unfolding of X\mathcal{X}
L(X)\mathbf{L}(\mathcal{X})RI1⋯IN−1×IN\mathbb{R}^{I_1\cdots I_{N-1}\times I_N}left unfolding of X\mathcal{X}
TT[T(1),…,T(N)]\mathrm{TT}[\mathcal{T}^{(1)},\dots,\mathcal{T}^{(N)}]RI1×⋯×IN\mathbb{R}^{I_1\times \cdots\times I_N}Tensor-train decomposition
  1. TT-WSINDy. We state here the TT-WSINDy construction and algorithm. We recast the “flat” WSINDy learning problem in a tensor format, the solution to which encodes a large number of candidate functions for a relatively small cost in time and memory complexity. This follows from the Multidimensional Approximation of Nonlinear Dynamics (MANDy) method proposed in [11]. We then propose an enhanced regression procedure that combines modified sequential thresholding least squares (MSTLS) with TT regression. The method effectively works entirely in a low-rank latent space consisting of “atomic” candidate terms. Using the weak form, we are able to stay within this space while gaining robustness to noise. To the

3^3In fact, the pseudoinverse is defined such that it is compatible with our choice of matricization. In this work, we matricize based on the left-unfolding, but we can just as easily define a different matricization that will induce a different pseudoinverse. Recent work has shown that the choice of matricization can affect the conditioning of the underlying problem [42].

authors' knowledge, methods exhibiting this advantage have not previously appeared in the literature.

In this work, we consider f:={fj}j∈[J]\boldsymbol{f} := \{f_j\}_{j \in [J]} to be a family of basis functions, from which we derive the full candidate function library

(3.1)

g={g:RD→R∣g(x)=fj1(x1)fj2(x2)⋯fjD(xD),(j1,…,jD)∈[J]D}\boldsymbol{g}=\left\{g:\mathbb{R}^{D}\rightarrow\mathbb{R}\mid g(\mathbf{x})=f_{j_{1}}(\mathbf{x}_{1})f_{j_{2}}(\mathbf{x}_{2})\cdots f_{j_{D}}(\mathbf{x}_{D}),(j_{1},\ldots,j_{D})\in[J]^{D}\right\}

where each fj:R→Rf_j : \mathbb{R} \to \mathbb{R}. Because ∣g∣=JD|g| = J^D, the matrix formulation of Θ(X)\Theta(\mathbf{X}) in (2.8) suffers from the curse of dimensionality. For large DD, operations involving Θ(X)\Theta(\mathbf{X}) may be computationally infeasible. This necessitates an alternate formulation of the WSINDy optimization problem.

3.1. Problem construction. Given basis functions f={fj}j∈[J]\boldsymbol{f} = \{f_j\}_{j \in [J]} and data points X={xd,m}d∈[D],m∈[M]\mathbf{X} = \{x_{d,m}\}_{d \in [D], m \in [M]} sampled over time points t={tm}m∈[M]\mathbf{t} = \{t_m\}_{m \in [M]}, define a feature vector as a vector containing evaluations of each fjf_j at a given (equation, time) pair:

(3.2)

θ(d)(tm)=[f1(xd,m)⋮fJ(xd,m)]∈RJ\boldsymbol{\theta}^{(d)}(t_{m})=\begin{bmatrix}f_{1}(x_{d,m})\\ \vdots\\ f_{J}(x_{d,m})\end{bmatrix}\in\mathbb{R}^{J}

Then, define the set of feature cores, written as matrices with vector elements, as

(3.3)

\begin{aligned}\boldsymbol{\Theta}^{(1)}&=\left[\begin{bmatrix}{{{\boldsymbol{\theta}^{(1)}(t_{1})}}}&{{{\cdots}}}&{{{\boldsymbol{\theta}^{(1)}(t_{M})}}}\end{bmatrix}\in\mathbb{R}^{J\times M}\\\boldsymbol{\Theta}^{(d)}&=\begin{bmatrix}{{{\boldsymbol{\theta}^{(d)}(t_{1})}}}&{{{0}}} \\{{{\ddots}}} \\{{{0}}}&{{{\boldsymbol{\theta}^{(d)}(t_{M})}}}\end{bmatrix}\in\mathbb{R}^{M\times J\times M};\quad d=2,\ldots,D\end{aligned}

and weak core 4^{4} as

(3.4)

Φ=[e1⋆φ⋮eM⋆φ]∈RM×M′\boldsymbol{\Phi}=\begin{bmatrix}e_{1}\star\varphi\\ \vdots\\ e_{M}\star\varphi\end{bmatrix}\in\mathbb{R}^{M\times M^{\prime}}

where {em}m∈[M]\{e_m\}_{m\in[M]} is the Euclidean basis of RM\mathbb{R}^M, φ\varphi is the discretization of a test function φ\varphi on t∩(a,b)\mathbf{t}\cap(a,b), M′=M−B+1M' = M - B + 1, and ⋆\star denotes discrete cross-correlation (see Definition 4.1). Over these, we define the weak feature tensor as the rank-(M,…,M)(M,\ldots,M) tensor train

(3.5)

Θ(X,φ):=TT[[Θ(1),…,Θ(D),Φ]]∈RJ×⋯×J⏞D×M′\Theta(\mathbf{X},\varphi):=\mathrm{T T}\left[\left[\boldsymbol{\Theta}^{(1)},\ldots,\boldsymbol{\Theta}^{(D)},\boldsymbol{\Phi}\right]\right]\in\mathbb{R}^{\overbrace{J\times\cdots\times J}^{D}\times M^{\prime}}

4^{4}Note that we use the same notation as (2.9), as both definitions give the same matrix.

Under this construction, the optimization problem becomes finding a coefficient tensor W^∈RD×J×⋯×J\widehat{W} \in \mathbb{R}^{D \times J \times \cdots \times J} such that

(3.6)

W^issparse,andW^≈arg min⁡W∥X⋆φ˙+W×‾Θ(X,φ)∥F\begin{aligned}&\widehat{\mathcal{W}}is sparse,and\\&\widehat{\mathcal{W}}\approx\underset{\mathcal{W}}{\argmin}\left\|\mathbf{X}\star\dot{\boldsymbol{\varphi}}+\mathcal{W}\overline{\times}\boldsymbol{\Theta}(\mathbf{X},\boldsymbol{\varphi})\right\|_{F}\\ \end{aligned}

Note that we have used the same construction of the feature cores as in [11]. The differences are the cross-correlation X⋆φ˙\mathbf{X} \star \dot{\varphi} of the data X\mathbf{X} and the folding of the test function φ\varphi into the (D+1)th(D + 1)^{\text{th}} core. We show in section 4 that this allows us to solve the same weak-form problem as in subsection 2.2 while preserving the desirable tensor train structure of the original formulation.

Figure

Figure 3.1. Schematic of the weak feature tensor.

Also note that we may alternatively define a feature vector as evaluating a single fjf_j over every dimension d∈[D]d \in [D]. Depending on JJ and DD, this may be preferable to the construction we have shown here. We detail this construction in subsection A.3.

3.2. Tensor-train regression. To solve (3.6), we introduce the tensor-train modified sequential thresholding least squares (TT-MSTLS) algorithm, which adapts the known STLS sparse solve to the tensor train regression problem. First, suppose that we have support

(3.7)

S={S(1),…,S(D)}⊂[J]DS=\{S^{(1)},\ldots,S^{(D)}\}\subset[J]^{D}

Then, we construct the mask tensor M(S)∈RJ×⋯×J×M′\mathcal{M}(S) \in \mathbb{R}^{J \times \cdots \times J \times M'}, a Kruskal tensor [2] defined over mask vectors m(d)∈RJ\mathbf{m}^{(d)} \in \mathbb{R}^J, as

(3.8)

M(S):=[◯d=1Dm(d)]∘1M′s.t.m(d)[j]={1j∈S(d)0otherwise\begin{aligned}&\mathcal{M}(S):=\left[\bigcirc_{d=1}^{D}\mathbf{m}^{(d)}\right]\circ\mathbf{1}_{M^{\prime}}\\&s.t.\mathbf{m}^{(d)}[j]=\begin{cases}1&j\in S^{(d)}\\0&otherwise\end{cases}\\ \end{aligned}

where 1M′\mathbf{1}_{M'} denotes the length- M′M' vector of ones. To obtain SℓS_\ell from a coefficient tensor W∈RJ×⋯×J\mathcal{W} \in \mathbb{R}^{J \times \cdots \times J}, we define the coarse support of W\mathcal{W} as

(3.9)

coarse−supp(W,λ)={S(1),…,S(D)}⊂[J]Ds.t.j∈S(d)  ⟺  ∥W[⋯⋯ ,j,⋯⋯⏞D−1⏞d−1]∥F2≥λ\begin{aligned}&coarse-supp(\mathcal{W},\lambda)=\left\{S^{(1)},\ldots,S^{(D)}\right\}\subset[J]^{D}\\&s.t.j\in S^{(d)}\iff\left\|\mathcal{W}\Big[\overbrace{\cdots\cdots,j,\overbrace{\cdots\cdots}^{D-1}}^{d-1}\Big]\right\|_{F}^{2}\geq\lambda\\ \end{aligned}

In other words, we define support of W slicewise. With these constructions, we define the tensor-train sequential thresholding least squares (TT-STLS) in Algorithm 3.1.

Algorithm 3.1 TT-STLS

Input: Weak feature tensor Θ(X,φ)∈RJ×⋯×J×M′\Theta(\mathbf{X}, \varphi) \in \mathbb{R}^{J \times \cdots \times J \times M'} LHS vector y∈RM′\mathbf{y} \in \mathbb{R}^{M'} Thresholding parameter λ∈R\lambda \in \mathbb{R}

Output: Coefficient estimate Wλ∈RJ×⋯×J\mathcal{W}^\lambda \in \mathbb{R}^{J \times \cdots \times J} coarse support Sλ⊂[J]DS^\lambda \subset [J]^D

1: Set initial values Ψ0:=Θ(X,φ)\Psi_0 := \Theta(\mathbf{X}, \varphi), S0:=[J]DS_0 := [J]^D

2: for ℓ=1,…,JD\ell = 1, \ldots, JD do

3: Compute pseudoinverse (Ψℓ−1)†(\Psi_{\ell-1})^\dagger

4: Compute weights Wℓ←y×‾(Ψℓ−1)†\mathcal{W}_\ell \leftarrow \mathbf{y} \overline{\times} (\Psi_{\ell-1})^\dagger

5: Compute support Sℓ←S_\ell \leftarrow coarse-supp( Wℓ,λ\mathcal{W}_\ell, \lambda)

6: if Sℓ=Sℓ−1S_\ell = S_{\ell-1} then

7: break

8: end if

9: Iterate Ψℓ←Ψℓ−1⊙M(Sℓ)\Psi_\ell \leftarrow \Psi_{\ell-1} \odot \mathcal{M}(S_\ell)

10: end for

11: return Wλ:=Wℓ\mathcal{W}^\lambda := \mathcal{W}_\ell, Sλ:=SℓS^\lambda := S_\ell

We now construct the tensor-train modified sequential thresholding least squares (TT-MSTLS) algorithm. This tracks closely with the matrix-based MSTLS algorithm, introduced in [32], with adaptations to accommodate the TT structure. As with MSTLS, we perform a line search over a set of thresholding parameters λ\lambda with respect to an auxiliary loss function L\mathcal{L}, to find the parameter λ^\widehat{\lambda} which induces the lowest loss. We take the loss function to be

(3.10)

L(λ)=∥(Wλ−W0)×‾Θ(X,φ)∥2∥W0×‾Θ(X,φ)∥2+∥Wλ∥0JD\mathcal{L}(\lambda)=\frac{\|(\mathcal{W}^{\lambda}-\mathcal{W}^{0})\overline{\times}\boldsymbol{\Theta}(\mathbf{X},\varphi)\|_{2}}{\|\mathcal{W}^{0}\overline{\times}\boldsymbol{\Theta}(\mathbf{X},\varphi)\|_{2}}+\frac{\|\mathcal{W}^{\lambda}\|_{0}}{J^{D}}

where Wλ:=TT-STLS(Θ,y,λ)\mathcal{W}^\lambda := \text{TT-STLS}(\boldsymbol{\Theta}, \mathbf{y}, \lambda) is the coefficient estimate induced by λ\lambda, and W0:=y×Θ†\mathcal{W}^0 := \mathbf{y} \times \boldsymbol{\Theta}^\dagger is the initial unsparsified TT pseudoinverse solution. The first added term penalizes distance from W0×Θ(X,φ)\mathcal{W}^0 \times \boldsymbol{\Theta}(\mathbf{X}, \varphi), and the second encourages sparsity of the discovered coefficient tensor. This is parallel to the matrix MSTLS( A,b,λ\mathbf{A}, \mathbf{b}, \lambda) loss function, introduced in [32], to solve the linear problem Aw=b\mathbf{A}\mathbf{w} = \mathbf{b}.

(3.11)

Lflat(λ)=∥A(wλ−w0)∥2∥Aw0∥2+∥wλ∥0#(A)\mathcal{L}_{\mathrm{f l a t}}(\lambda)=\frac{\|\mathbf{A}(\mathbf{w}^{\lambda}-\mathbf{w}^{0})\|_{2}}{\|\mathbf{A}\mathbf{w}^{0}\|_{2}}+\frac{\|\mathbf{w}^{\lambda}\|_{0}}{\#(\mathbf{A})}

where, similarly, wλ:=STLS(A,b,λ)\mathbf{w}^\lambda := \text{STLS}(\mathbf{A}, \mathbf{b}, \lambda) and w0:=A†b\mathbf{w}^0 := \mathbf{A}^\dagger \mathbf{b}. We define TT-MSTLS in Algorithm 3.2.

3.3. TT-WSINDy algorithm. We define TT-WSINDy in Algorithm 3.3 as the two-stage application of TT-MSTLS and MSTLS. TT-WSINDy calls the coarse sparsification procedure TT-STLS to reduce the search space of candidate functions in the TT-induced latent space,

Algorithm 3.2 TT-MSTLS

Input: Weak feature tensor Θ(X,φ)∈RJ×⋯×J×M′\Theta(\mathbf{X}, \varphi) \in \mathbb{R}^{J \times \cdots \times J \times M'} LHS vector y∈RM′\mathbf{y} \in \mathbb{R}^{M'} Set of thresholding parameters λ⊂R\lambda \subset \mathbb{R} Auxiliary loss function L:R+→R+\mathcal{L} : \mathbb{R}^+ \to \mathbb{R}^+

Output: Coarse support S^⊂[J]D\widehat{S} \subset [J]^D

1: for λ∈λ\lambda \in \lambda do 2: Compute Wλ,Sλ←TT-STLS(Θ(X,φ),y;λ)\mathcal{W}^\lambda, S^\lambda \leftarrow \text{TT-STLS}(\Theta(\mathbf{X}, \varphi), \mathbf{y}; \lambda) 3: Compute L(λ)\mathcal{L}(\lambda) 4: end for 5: Set λ^=arg⁡min⁡λ∈λL(λ)\widehat{\lambda} = \arg\min_{\lambda \in \lambda} \mathcal{L}(\lambda) 6: return S^:=Sλ\widehat{S} := S^\lambda

then calls the standard matrix MSTLS algorithm. We give a visualization of this procedure in Figure 3.2.

If we omit TT-MSTLS and set S^←[J]D\widehat{S} \leftarrow [J]^D, TT-WSINDy collapses to WSINDy. We will see

Algorithm 3.3 TT-WSINDy

Input: Data matrix X∈RD×M\mathbf{X} \in \mathbb{R}^{D \times M}, sampled on time points t⊂Rt \subset \mathbb{R} Family of basis functions f={fj}j∈[J]\mathbf{f} = \{f_j\}_{j \in [J]} Test function and derivative φ,φ˙∈C0((a,b),R)\varphi, \dot{\varphi} \in C_0((a, b), \mathbb{R}) TT-MSTLS loss function L:R+→R+\mathcal{L} : \mathbb{R}^+ \to \mathbb{R}^+ MSTLS loss function Lflat:R+→R+\mathcal{L}_{\text{flat}} : \mathbb{R}^+ \to \mathbb{R}^+ Sets of thresholding parameters λ,λflat⊂R\lambda, \lambda_{\text{flat}} \subset \mathbb{R}

Output: Coefficient estimate W^∈RD×J×⋯×J\widehat{\mathbf{W}} \in \mathbb{R}^{D \times J \times \cdots \times J}

1: Compute φ,φ˙\varphi, \dot{\varphi}, by discretizing φ,φ˙\varphi, \dot{\varphi} on (a,b)∩t(a, b) \cap \mathbf{t}

2: Construct Θ(X,φ)∈RJ×⋯×J×M′\Theta(\mathbf{X}, \varphi) \in \mathbb{R}^{J \times \cdots \times J \times M'} from X,f,φ\mathbf{X}, \mathbf{f}, \varphi

3: Compute X⋆φ˙∈RD×M′\mathbf{X} \star \dot{\varphi} \in \mathbb{R}^{D \times M'}

4: for d=1,…,Dd = 1, \ldots, D do

5: Set yd←(−X⋆φ˙)[d,:]\mathbf{y}_d \leftarrow (-\mathbf{X} \star \dot{\varphi})[d, :]

6: Compute coarse support S^←TT-MSTLS(Θ(X,φ),yd;L,λ)\widehat{S} \leftarrow \text{TT-MSTLS}(\Theta(\mathbf{X}, \varphi), \mathbf{y}_d; \mathcal{L}, \lambda)

7: Compute coefficients w^d←MSTLS(L(Θ(X,φ)⊙M(S^)),yd;Lflat,λflat)\widehat{\mathbf{w}}_d \leftarrow \text{MSTLS}(\mathbf{L}(\Theta(\mathbf{X}, \varphi) \odot \mathcal{M}(\widehat{S})), \mathbf{y}_d; \mathcal{L}_{\text{flat}}, \lambda_{\text{flat}})

8: end for

9: return W^\widehat{\mathbf{W}}

that the inclusion of TT-MSTLS can yield substantial memory and time complexity improvements.

  1. TT-WSINDy agrees with WSINDy. In this section, we prove Proposition 4.6, which gives that TT-WSINDy solves the same sparse regression problem as WSINDy, and that the construction is the weak form of the strong form tensor problem.

Define the strong feature tensor as Θ(X):=Θ(X,[1])\Theta(\mathbf{X}) := \Theta(\mathbf{X}, [1]), i.e. replacing the final core with

Figure

Figure 3.2. Schematic of the full TT-WSINDy algorithm.

the identity matrix I∈RM×M\mathbf{I} \in \mathbb{R}^{M \times M}. And define

(4.1)

L(Θ(X))=Θ(X)∣J,…,JM=:Θflat(X)∈RJD×M\mathbf{L}(\boldsymbol{\Theta}(\mathbf{X}))=\boldsymbol{\Theta}(\mathbf{X})\big|_{J,\ldots,J}^{M}=:\boldsymbol{\Theta}_{\mathrm{f l a t}}(\mathbf{X})\in\mathbb{R}^{J^{D}\times M}

which is the SINDy feature matrix for the function library g, defined in (3.1). Now, we establish some technical lemmata. We first give the general definition of discrete cross-correlation.

Definition 4.1. Let A∈RI1×⋯×IN\mathcal{A} \in \mathbb{R}^{I_1 \times \cdots \times I_N}, B∈RJ1×⋯×JN\mathcal{B} \in \mathbb{R}^{J_1 \times \cdots \times J_N}. Their discrete cross-correlation is denoted A⋆B∈RH1×⋯×HN\mathcal{A} \star \mathcal{B} \in \mathbb{R}^{H_1 \times \cdots \times H_N}, where Hn=In−Jn+1H_n = I_n - J_n + 1 for n∈[N]n \in [N], and is defined element-wise as

(A⋆B)[h1,…,hN]=∑j1=1J1⋯∑jN=1JNA[j1+h1−1,…,jN+hN−1]B[j1,…,jN](\mathcal{A}\star\mathcal{B})[h_{1},\ldots,h_{N}]=\sum_{j_{1}=1}^{J_{1}}\cdots\sum_{j_{N}=1}^{J_{N}}\mathcal{A}[j_{1}+h_{1}-1,\ldots,j_{N}+h_{N}-1]\mathcal{B}[j_{1},\ldots,j_{N}]

We see that the weak-form matrix multiplication is equivalent to taking a discrete cross-correlation of the data with the test function discretization.

Lemma 4.2. Take φ,φ˙\varphi, \dot{\varphi} and Φ,Φ˙∈RM×M′\Phi, \dot{\Phi} \in \mathbb{R}^{M \times M'} as above, and let A∈RH×M\mathbf{A} \in \mathbb{R}^{H \times M}. Then AΦ˙=A⋆φ˙\mathbf{A} \dot{\Phi} = \mathbf{A} \star \dot{\varphi} and AΦ=A⋆φ\mathbf{A} \Phi = \mathbf{A} \star \varphi.

Proof. We may express Φ\Phi entrywise as

(4.2)

Φ[m,m′]={φ[k]m=(m′−1)+k;k∈[B]0otherwise\Phi[m,m^{\prime}]=\begin{cases}\varphi[k]&m=(m^{\prime}-1)+k;k\in[B]\\0&otherwise\end{cases}

So we have, using the definitions of matrix multiplication and discrete cross-correlation 5^{5},

(AΦ)[h,m′]=∑m=1MA[h,m]Φ[m,m′]=∑k=1BA[h,m′+k−1]φ[k]=(A⋆φ)[h,m′](\mathbf{A}\boldsymbol{\Phi})[h,m^{\prime}]=\sum_{m=1}^{M}\mathbf{A}[h,m]\boldsymbol{\Phi}[m,m^{\prime}]=\sum_{k=1}^{B}\mathbf{A}[h,m^{\prime}+k-1]\boldsymbol{\varphi}[k]=(\mathbf{A}\star\boldsymbol{\varphi})[h,m^{\prime}]

and identically for φ˙,Φ˙\dot{\varphi}, \dot{\Phi}.

We now relate the flat weak-form feature matrix to the weak feature tensor.

Lemma 4.3. Let φ\varphi and Θ(X,φ)\Theta(\mathbf{X}, \varphi) be defined as in subsection 3.1. Then, Θflat(X)⋆φ=L(Θ(X,φ))\Theta_{flat}(\mathbf{X}) \star \varphi = \mathbf{L}(\Theta(\mathbf{X}, \varphi)).

Proof. Using the element-wise formula for Θ(X,φ)\Theta(\mathbf{X}, \varphi), we have

L(Θ(X,φ))j1,…,jD‾,m′=∑m=1M[∏d=1Dθ(d)(tm)[jd]](em⋆φ)[m′]=∑m=1M[∏d=1Dfjd(xd,m)]φ[m−m′+1]\mathbf{L}(\boldsymbol{\Theta}(\mathbf{X},\boldsymbol{\varphi}))_{\overline{j_{1},\ldots,j_{D}},m^{\prime}}=\sum_{m=1}^{M}\left[\prod_{d=1}^{D}\boldsymbol{\theta}^{(d)}(t_{m})[j_{d}]\right](e_{m}\star\boldsymbol{\varphi})[m^{\prime}]=\sum_{m=1}^{M}\left[\prod_{d=1}^{D}f_{j_{d}}(x_{d,m})\right]\boldsymbol{\varphi}[m-m^{\prime}+1]

as (em⋆φ)[m′]=∑h=1Mφ[h+m′−1]em[h]=φ[m−m′+1](e_m \star \varphi)[m'] = \sum_{h=1}^M \varphi[h + m' - 1] e_m[h] = \varphi[m - m' + 1]. And we have

∏d=1Dfjd(xd,m)=Θflat(X)[j1,…,jD‾,m]\prod_{d=1}^{D}f_{j_{d}}(x_{d,m})=\boldsymbol{\Theta}_{\mathrm{f l a t}}(\mathbf{X})\left[\overline{j_{1},\ldots,j_{D}},m\right]

Therefore we have the desired equality by the definition of discrete cross-correlation.

(L(Θ(X,φ)))j1,…,jD‾,m′=∑m=1MΘflat(X)[j1,…,jD‾,m]φ[m−m′+1]=(Θflat(X)⋆φ)j1,…,jD‾,m′(\mathbf{L}(\boldsymbol{\Theta}(\mathbf{X},\boldsymbol{\varphi})))_{\overline{j_{1},\ldots,j_{D}},m^{\prime}}=\sum_{m=1}^{M}\boldsymbol{\Theta}_{\mathrm{f l a t}}(\mathbf{X})\left[\overline{j_{1},\ldots,j_{D}},m\right]\boldsymbol{\varphi}[m-m^{\prime}+1]=(\boldsymbol{\Theta}_{\mathrm{f l a t}}(\mathbf{X})\star\boldsymbol{\varphi})_{\overline{j_{1},\ldots,j_{D}},m^{\prime}}

Lemma 4.4. Let A∈RA×B1×⋯×BN\mathcal{A} \in \mathbb{R}^{A \times B_1 \times \cdots \times B_N} and C∈RB1×⋯×BN×C\mathcal{C} \in \mathbb{R}^{B_1 \times \cdots \times B_N \times C}. Then, R(A)L(C)=A×‾C\mathbf{R}(\mathcal{A})\mathbf{L}(\mathcal{C}) = \mathcal{A} \overline{\times} \mathcal{C}.

Proof. We write A×‾C\mathcal{A} \overline{\times} \mathcal{C} elementwise and reindex the sum using the bijection bNb_N:

(A×‾C)[a,c]=∑b1=1B1⋯∑bN=1BNA[a,b1,…,bN]C[b1,…,bN,c]=∑b=1B1⋯BNR(A)[a,b]L(C)[b,c](\mathcal{A}\overline{\times}\mathcal{C})[a,c]=\sum_{b_{1}=1}^{B_{1}}\cdots\sum_{b_{N}=1}^{B_{N}}\mathcal{A}[a,b_{1},\ldots,b_{N}]\mathcal{C}[b_{1},\ldots,b_{N},c]=\sum_{b=1}^{B_{1}\cdots B_{N}}\mathbf{R}(\mathcal{A})[a,b]\mathbf{L}(\mathcal{C})[b,c]

which is equal to (R(A)L(C))[a,c]\left(\mathbf{R}(\mathcal{A})\mathbf{L}(\mathcal{C})\right)[a,c].

Corollary 4.5. Define WflatW_{flat} to be the solution to the SINDy matrix problem, as

R(W)=W∣DJ,…,J=:Wflat∈RD×JD\mathbf{R}(\mathcal{W})=\mathcal{W}\big|_{D}^{J,\ldots,J}=:\mathcal{W}_{f l a t}\in\mathbb{R}^{D\times J^{D}}

Then, W×‾Θ(X)=WflatΘflat(X)\mathcal{W} \overline{\times} \Theta(\mathbf{X}) = \mathcal{W}_{flat} \Theta_{flat}(\mathbf{X}).

Proof. By definition, Wflat=R(W)\mathcal{W}_{\text{flat}} = \mathbf{R}(\mathcal{W}) and Θflat(X)=L(Θ(X))\Theta_{\text{flat}}(\mathbf{X}) = \mathbf{L}(\Theta(\mathbf{X})). Thus the result follows immediately from Lemma 4.4.

5^{5}Note that, for compatibility with Definition 4.1, we consider φ,φ˙∈R1×B\varphi, \dot{\varphi} \in \mathbb{R}^{1 \times B} in this computation. This specifies that φ\varphi is in the time axis only; we do not correlate across the first dimension.

In other words, W\mathcal{W} solves the strong-form tensor problem X˙=W×‾Θ(X)\dot{\mathbf{X}} = \mathcal{W} \overline{\times} \boldsymbol{\Theta}(\mathbf{X}) if and only if Wflat\mathcal{W}_{\mathrm{flat}} solves the SINDy problem X˙=WflatΘflat(X)\dot{\mathbf{X}} = \mathcal{W}_{\mathrm{flat}} \boldsymbol{\Theta}_{\mathrm{flat}}(\mathbf{X}). We may now show the main technical result of this section, described below.

Proposition 4.6. Let X,φ\mathbf{X}, \varphi, and φ˙\dot{\varphi} be defined as in subsection 2.2, Θflat(X)\mathbf{\Theta}_{flat}(\mathbf{X}) as in (4.1), and Θ(X,φ)\mathbf{\Theta}(\mathbf{X}, \varphi) as in subsection 3.1. We have that if W\mathcal{W} solves the TT-WSINDy optimization problem, then R(W)\mathbf{R}(\mathcal{W}) solves the equivalent WSINDy optimization problem. I.e.,

(4.3)

R(argmin⁡W∥XΦ˙+W×‾Θ(X,φ)∥F)=argmin⁡W∥XΦ˙+WΘflat(X)Φ∥F\mathbf{R}\left(\underset{\mathcal{W}}{\operatorname{argmin}}\|\mathbf{X}\dot{\boldsymbol{\Phi}}+\mathcal{W}\overline{\times}\boldsymbol{\Theta}(\mathbf{X},\boldsymbol{\varphi})\|_{F}\right)=\underset{\mathbf{W}}{\operatorname{argmin}}\|\mathbf{X}\dot{\boldsymbol{\Phi}}+\mathbf{W}\boldsymbol{\Theta}_{flat}(\mathbf{X})\boldsymbol{\Phi}\|_{F}

From which it follows that the construction in subsection 3.1 does indeed describe the weak form of the MANDy construction given in [11].

Proof. Using Lemmas 4.2 to 4.4, we have

(WflatΘflat(X))Φ=R(W)(Θflat(X)Φ)=R(W)[Θflat(X)⋆φ]=R(W)L(Θ(X,φ))=W×‾Θ(X,φ)\begin{aligned}(\mathcal{W}_{\mathrm{flat}}\boldsymbol{\Theta}_{\mathrm{flat}}(\mathbf{X}))\boldsymbol{\Phi}&=\mathbf{R}(\mathcal{W})(\boldsymbol{\Theta}_{\mathrm{flat}}(\mathbf{X})\boldsymbol{\Phi})\\&=\mathbf{R}(\mathcal{W})\left[\boldsymbol{\Theta}_{\mathrm{flat}}(\mathbf{X})\star\boldsymbol{\varphi}\right]\\&=\mathbf{R}(\mathcal{W})\mathbf{L}(\boldsymbol{\Theta}(\mathbf{X},\boldsymbol{\varphi}))\\&=\mathcal{W}\overline{\times}\boldsymbol{\Theta}(\mathbf{X},\boldsymbol{\varphi})\end{aligned}

Which gives (4.3). The conclusion follows from Corollary 4.5; the weak form of X˙=W×‾Θ(X)\dot{\mathbf{X}} = \mathcal{W} \overline{\times} \boldsymbol{\Theta}(\mathbf{X}) is obtained by multiplying Φ\boldsymbol{\Phi} on both sides:

−XΦ˙=(W×‾Θ(X))Φ=WflatΘflat(X)Φ=W×‾Θ(X,φ)-\mathbf{X}\dot{\boldsymbol{\Phi}}=(\mathcal{W}\overline{\times}\boldsymbol{\Theta}(\mathbf{X}))\boldsymbol{\Phi}=\mathcal{W}_{\mathrm{f l a t}}\boldsymbol{\Theta}_{\mathrm{f l a t}}(\mathbf{X})\boldsymbol{\Phi}=\mathcal{W}\overline{\times}\boldsymbol{\Theta}(\mathbf{X},\boldsymbol{\varphi})

We have shown that TT-WSINDy solves the same weak regression problem as WSINDy. In the next section, we show that TT-WSINDy yields significant computation and memory savings when discovering high-dimensional ODEs.

  1. TT-WSINDy outperforms WSINDy in many dimensions. In this section, we will demonstrate that TT-WSINDy can circumvent the curse of dimensionality. We will show that TT-STLS has both a time and memory complexity that is polynomial in J, D, and M, in contrast to the matrix ordinary least squares solve. We then show that under reasonable assumptions on sparsity of true support in the total search space, we may expect that the size of the problem is significantly reduced by TT-STLS. We also give an alternative algorithm for construction of the weak feature tensor when M is large.

5.1. TT-STLS time and memory complexity. The efficiency of the TT-STLS algorithm relies on the ability to perform all requisite operations in the TT format, never forming the full, size O(JDM)\mathcal{O}(J^{D}M) tensor. This is reliant on the following fact.

Lemma 5.1. Let A,B∈RI1×⋯×IN+1\mathcal{A}, \mathcal{B} \in \mathbb{R}^{I_1 \times \cdots \times I_{N+1}} be rank (A1,…,AN)(A_1, \ldots, A_N) and (B1,…,BN)(B_1, \ldots, B_N) tensor trains, respectively. Then, the Hadamard product C=A⊙B\mathcal{C} = \mathcal{A} \odot \mathcal{B} is a rank- (A1B1,…,ANBN)(A_1 B_1, \ldots, A_N B_N) tensor train. Namely, we define C\mathcal{C} in terms of slices of the cores of A,B\mathcal{A}, \mathcal{B} as

C(n)[:,in,:]=A(n)[:,in,:]⊗B(n)[:,in,:],n∈[N+1],in∈[In]\mathcal{C}^{(n)}[:,i_{n},:]=\mathcal{A}^{(n)}[:,i_{n},:]\otimes\mathcal{B}^{(n)}[:,i_{n},:],\quad n\in[N+1],i_{n}\in[I_{n}]

where ⊗\otimes denotes the Kronecker product. [40]

Using this, we have that TT structure is preserved under masking.

Corollary 5.2. Every feature tensor iterate Ψℓ\Psi_\ell is a rank- (M,…,M)(M,\ldots,M) tensor train, with cores given by

Ψℓ(d)=[θ~ℓ(d)(t1)0⋱0θ~ℓ(d)(tM)]∈RM×J×M\mathbf{\Psi}_{\ell}^{(d)}=\begin{bmatrix}{{{\widetilde{\boldsymbol{\theta}}_{\ell}^{(d)}(t_{1})}}}&{{{0}}} \\{{{\ddots}}} \\{{{0}}}&{{{\widetilde{\boldsymbol{\theta}}_{\ell}^{(d)}(t_{M})}}}\end{bmatrix}\in\mathbb{R}^{M\times J\times M}

for d∈[D]d \in [D], where

θ~ℓ(d)(tm)∈RJ\widetilde{\boldsymbol{\theta}}_{\ell}^{(d)}(t_{m})\in\mathbb{R}^{J} s.t.θ~ℓ(d)(tm)[j]={fj(xd,m)j∈Sℓ(d)0otherwises.t.\widetilde{\boldsymbol{\theta}}_{\ell}^{(d)}(t_{m})[j]=\begin{cases}f_{j}(x_{d,m})&j\in S_{\ell}^{(d)}\\0&otherwise\end{cases}

Proof. Let Mℓ=M(Sℓ)\mathcal{M}_\ell = \mathcal{M}(S_\ell). Note that Ψℓ:=Ψℓ−1⊙Mℓ=Θ(X,φ)⊙Mℓ\mathbf{\Psi}_\ell := \mathbf{\Psi}_{\ell-1} \odot \mathcal{M}_\ell = \mathbf{\Theta}(\mathbf{X}, \varphi) \odot \mathcal{M}_\ell, following from the fact that the masks Mℓ⊂⋯⊂M2⊂M1\mathcal{M}_\ell \subset \cdots \subset \mathcal{M}_2 \subset \mathcal{M}_1 are nested. And, the mask tensor can be written as a rank- (1,…,1)(1, \ldots, 1) tensor train:

Mℓ=TT[mℓ(1),…,mℓ(D),1M′]\mathcal{M}_{\ell}=\mathrm{T T}\big[\mathbf{m}_{\ell}^{(1)},\ldots,\mathbf{m}_{\ell}^{(D)},\mathbf{1}_{M^{\prime}}\big]

Then, the result follows immediately from Lemma 5.1.

Therefore each (Ψℓ)†(\mathbf{\Psi}_\ell)^\dagger may be computed via a TT pseudoinverse. Lemma 2.6 then gives that each pseudoinverse in TT-STLS can be computed in O(JDM3)\mathcal{O}(JDM^3) time. And the computational effort of obtaining the Hadamard product Θ(X,φ)⊙Mℓ\mathbf{\Theta}(\mathbf{X}, \varphi) \odot \mathcal{M}_\ell amounts to selectively zeroing out elements of Θ(X,φ)\mathbf{\Theta}(\mathbf{X}, \varphi), which can be no worse than the O(JDM2)\mathcal{O}(JDM^2) storage size of the weak feature tensor.

It remains to discuss the time complexity of computing the coarse support of a coefficient estimate Wℓ\mathcal{W}_\ell. This computation being polynomial in the dimension parameters of W\mathcal{W} is non-trivial, as the coarse support is taken with respect to the fully-formed tensor representation of W\mathcal{W}. If the support were taken only from the entries of the tensor train, we would not observe the effects of regressing against the LHS vector y\mathbf{y}, as y×‾(Ψℓ−1)†=Wℓ\mathbf{y} \overline{\times} \left( \mathbf{\Psi}_{\ell-1} \right)^\dagger = \mathcal{W}_\ell only contracts y\mathbf{y} into one core of (Ψℓ)†\left( \mathbf{\Psi}_\ell \right)^\dagger.

We will now give an algorithm that computes coarse-supp( Wℓ,λW_\ell, \lambda) with no worse time or memory complexity than the TT pseudoinversion algorithm. To describe this algorithm, we will describe a TT in terms of slices of its cores, rather than vector fibers of its cores, as we have been doing until now. Let

(5.1)

W=TT[W(1),…,W(D)]∈RJ1×⋯×JD\mathcal{W}=\mathrm{T T}\big[\mathcal{W}^{(1)},\ldots,\mathcal{W}^{(D)}\big]\in\mathbb{R}^{J_{1}\times\cdots\times J_{D}}

where W(d)∈RMd−1×Jd×Md\mathcal{W}^{(d)} \in \mathbb{R}^{M_{d-1} \times J_d \times M_d}. Then, denote the matrix core slices

(5.2)

W(d)[j]=W(d)[:,j,:],d∈[D],j∈[Jd]\mathbf{W}^{(d)}[j]=\mathcal{W}^{(d)}[:,j,:],\quad d\in[D],j\in[J_{d}]

Now, we may index W\mathcal{W} by the matrix product. The matrix product below evaluates to a scalar, since W(1)[j1]∈R1×M1\mathbf{W}^{(1)}[j_1] \in \mathbb{R}^{1 \times M_1} and W(D)[jD]∈RMD−1×1\mathbf{W}^{(D)}[j_D] \in \mathbb{R}^{M_{D-1} \times 1}.

(5.3)

W[j1,j2,…,jD]=W(1)[j1]W(2)[j2]⋯W(D)[jD]\mathcal{W}[j_{1},j_{2},\ldots,j_{D}]=\mathbf{W}^{(1)}[j_{1}]\mathbf{W}^{(2)}[j_{2}]\cdots\mathbf{W}^{(D)}[j_{D}]

Using this, we will formulate an alternate characterization of the coarse support of W that relies only on matrix products. First, define the left/right accumulation matrices as

(5.4)

ΓL(d)∈R[∏i=1dJi]×Md,(ΓL(d))[j1,…,jd‾,α]=(W(1)[j1]⋯W(d)[jd])[α]ΓR(d)∈RMd−1×[∏i=dDJi],(ΓR(d))[β,jd,…,jD‾]=(W(d)[jd]⋯W(D)[jD])[β]\begin{align*}\mathbf{\Gamma}_{L}^{(d)}&\in\mathbb{R}[\prod_{i=1}^{d}J_{i}]\times M_{d},\quad\left(\mathbf{\Gamma}_{L}^{(d)}\right)\left[\overline{j_{1},\ldots,j_{d}},\alpha\right]=\left(\mathbf{W}^{(1)}[j_{1}]\cdots\mathbf{W}^{(d)}[j_{d}]\right)[\alpha]\\\mathbf{\Gamma}_{R}^{(d)}&\in\mathbb{R}^{M_{d-1}\times[\prod_{i=d}^{D}J_{i}]},\quad\left(\mathbf{\Gamma}_{R}^{(d)}\right)\left[\beta,\overline{j_{d},\ldots,j_{D}}\right]=\left(\mathbf{W}^{(d)}[j_{d}]\cdots\mathbf{W}^{(D)}[j_{D}]\right)[\beta]\end{align*}

and the left/right density matrices as

(5.5)

DL(d)=(ΓL(d))TΓL(d),DR(d)=ΓR(d)(ΓR(d))T\mathbf{D}_{L}^{(d)}=(\mathbf{\Gamma}_{L}^{(d)})^{T}\mathbf{\Gamma}_{L}^{(d)},\quad\mathbf{D}_{R}^{(d)}=\mathbf{\Gamma}_{R}^{(d)}(\mathbf{\Gamma}_{R}^{(d)})^{T}

Then, our characterization of the coarse support is as follows.

Lemma 5.3. Let W∈RJ1×⋯×JD\mathcal{W} \in \mathbb{R}^{J_1 \times \cdots \times J_D} be a rank- (M1,…,MD−1)(M_1, \ldots, M_{D-1}) tensor train, λ∈R\lambda \in \mathbb{R}, and S={S(1),…,S(D)}=coarse-supp(W,λ)S = \{S^{(1)}, \ldots, S^{(D)}\} = \text{coarse-supp}(\mathcal{W}, \lambda). Then, we have that, for d∈[D],j∈[Jd]d \in [D], j \in [J_d],

(5.6)

(j∈S(d))  ⟺  (tr[(W(d)[j])TDL(d−1)W(d)[j]DR(d+1)]≥λ)\left(j\in S^{(d)}\right)\iff\left(t r\big[(\mathbf{W}^{(d)}[j])^{T}\mathbf{D}_{L}^{(d-1)}\mathbf{W}^{(d)}[j]\mathbf{D}_{R}^{(d+1)}\big]\geq\lambda\right)

Proof. The result follows from manipulating the trace using standard identities

∥W[:⋯:,j,:⋯:]∥F2=∥ΓL(d−1)W(d)[j]ΓR(d+1)∥F2=tr[(ΓR(d+1))T(W(d)[j])T(ΓL(d−1))TΓL(d−1)W(d)[j]ΓR(d+1)]=tr[(W(d)[j])TDL(d−1)W(d)[j]ΓR(d+1)(ΓR(d+1))T]=tr[(W(d)[j])TDL(d−1)W(d)[j]DR(d+1)]\begin{align*}\left\|\mathcal{W}[:\cdots:,j,: \cdots:]\right\|_{F}^{2}&=\left\|\mathbf{\Gamma}_{L}^{(d-1)}\mathbf{W}^{(d)}[j]\mathbf{\Gamma}_{R}^{(d+1)}\right\|_{F}^{2}\\&=\mathrm{tr}\big[(\mathbf{\Gamma}_{R}^{(d+1)})^{T}(\mathbf{W}^{(d)}[j])^{T}(\mathbf{\Gamma}_{L}^{(d-1)})^{T}\mathbf{\Gamma}_{L}^{(d-1)}\mathbf{W}^{(d)}[j]\mathbf{\Gamma}_{R}^{(d+1)}\big]\\&=\mathrm{tr}\big[(\mathbf{W}^{(d)}[j])^{T}\mathbf{D}_{L}^{(d-1)}\mathbf{W}^{(d)}[j]\mathbf{\Gamma}_{R}^{(d+1)}(\mathbf{\Gamma}_{R}^{(d+1)})^{T}\big]\\&=\mathrm{tr}\big[(\mathbf{W}^{(d)}[j])^{T}\mathbf{D}_{L}^{(d-1)}\mathbf{W}^{(d)}[j]\mathbf{D}_{R}^{(d+1)}\big]\end{align*}

So computing the coarse support of W amounts to checking the condition (5.6) for each d∈[D],j∈[Jd]d \in [D], j \in [J_d]. And the left/right density matrices can be precomputed using the following recursions.

(5.7)

DL(d)=∑jd=1Jd(W(d)[jd])TDL(d−1)W(d)[jd],DL(0)=1DR(d)=∑jd=1JdW(d)[jd]DR(d+1)(W(d)[jd])T,DR(D+1)=1\begin{align*}\mathbf{D}_{L}^{(d)}&=\sum_{j_{d}=1}^{J_{d}}\left(\mathbf{W}^{(d)}[j_{d}]\right)^{T}\mathbf{D}_{L}^{(d-1)}\mathbf{W}^{(d)}[j_{d}],\quad\mathbf{D}_{L}^{(0)}=1\\\mathbf{D}_{R}^{(d)}&=\sum_{j_{d}=1}^{J_{d}}\mathbf{W}^{(d)}[j_{d}]\mathbf{D}_{R}^{(d+1)}\big(\mathbf{W}^{(d)}[j_{d}]\big)^{T},\quad\mathbf{D}_{R}^{(D+1)}=1\end{align*}

Algorithm 5.1 details the full routine, and we give the full time/memory complexities of TT-STLS in Proposition 5.4. Crucially, both are polynomial in the shape parameters of the weak feature tensor, thus subverting the curse of dimensionality.

Algorithm 5.1 coarse-supp

Input: Tensor train W∈RJ1×⋯×JD\mathcal{W} \in \mathbb{R}^{J_1 \times \cdots \times J_D} Thresholding parameter λ∈R\lambda \in \mathbb{R}

Output: Coarse support S⊂[J]DS \subset [J]^D

1: Set initial values DL(0),DR(D+1)←1\mathbf{D}_L^{(0)}, \mathbf{D}_R^{(D+1)} \leftarrow 1

2: Accumulate DR(D),DR(D−1),…,DR(2)\mathbf{D}_R^{(D)}, \mathbf{D}_R^{(D-1)}, \ldots, \mathbf{D}_R^{(2)}

3: for d=1,…,Dd = 1, \ldots, D do

4: for jd=1,…,Jdj_d = 1, \ldots, J_d do

5: Compute Ajd(d)←(W(d)[jd])TDL(d−1)W(d)[jd]\mathbf{A}_{j_d}^{(d)} \leftarrow (\mathbf{W}^{(d)}[j_d])^T \mathbf{D}_L^{(d-1)} \mathbf{W}^{(d)}[j_d]

6: if tr[Ajd(d)DR(d+1)]≥λ\text{tr}[\mathbf{A}_{j_d}^{(d)} \mathbf{D}_R^{(d+1)}] \geq \lambda then

7: Append jdj_d to S(d)S^{(d)}

8: end if

9: end for

10: Compute DL(d)←∑jd=1JdAjd(d)\mathbf{D}_L^{(d)} \leftarrow \sum_{j_d=1}^{J_d} \mathbf{A}_{j_d}^{(d)}

11: end for

12: return S:={S(1),…,S(D)}S := \{S^{(1)}, \ldots, S^{(D)}\}

Proposition 5.4. The computational complexity of Algorithm 3.1 can be estimated as O((JD)2M3)\mathcal{O}((JD)^{2}M^{3}), and the memory complexity can be estimated as O(JDM2)\mathcal{O}(JDM^{2}).

Proof. The cost of computing all necessary density matrices for the coarse support is O(JDM3)\mathcal{O}(JDM^3). Given these, we compute O(JD)\mathcal{O}(JD) traces that each cost O(M3)\mathcal{O}(M^3), for a total of O(JDM3)\mathcal{O}(JDM^3). Therefore the O(JDM3)\mathcal{O}(JDM^3) time complexity of computing the coarse support is no worse than the time complexity of computing the TT pseudoinverse, and the full cost of one TT-STLS loop is O(JDM3)\mathcal{O}(JDM^3). The worst case number of iterations is JD, for a total time complexity of O((JD)2M3)\mathcal{O}((JD)^2M^3).

The memory complexity of coarse-supp is dominated by the cost of storing DR(D),…,DR(2)\mathbf{D}_R^{(D)}, \ldots, \mathbf{D}_R^{(2)}. To accumulate these, we need never store more than a single W(d)[jd]\mathbf{W}^{(d)}[j_d] and intermediate O(M2)\mathcal{O}(M^2) matrix. And each DL/R(d)D_{L/R}^{(d)} consumes O(M2)\mathcal{O}(M^2) storage, so the memory cost of all right density matrices is O(DM2)\mathcal{O}(DM^2). In computing the traces, we need never store more than a single Ajd(d),W(d)[jd],DL(d−1)\mathbf{A}_{j_d}^{(d)}, \mathbf{W}^{(d)}[j_d], \mathbf{D}_L^{(d-1)}, and an intermediate O(M2)\mathcal{O}(M^2) matrix at a time. Therefore, coarse-supp has a memory complexity of O(DM2)\mathcal{O}(DM^2). In the TT-STLS loop, we only need store a single Ψℓ,(Ψℓ)†,Wℓ,Sℓ\mathbf{\Psi}_\ell, (\mathbf{\Psi}_\ell)^\dagger, \mathcal{W}_\ell, S_\ell in addition to the cost of coarse-supp, which all have cost not greater than O(DJM2)\mathcal{O}(DJM^2).

Remark 5.5. The O(JD)\mathcal{O}(JD) bound on iterations is loose. In practice, the time complexity of TT-STLS is O(JDM3)\mathcal{O}(JDM^{3}).

Remark 5.6. Assuming a constant number of iterations, the computational complexity of matrix STLS is O(JDM2)\mathcal{O}(J^D M^2). This implies that for large MM, say M≳JDM \gtrsim J^D, matrix STLS will be preferable in runtime to TT-STLS.

5.2. Low-rank feature tensor. We can often do much better than the complexities given by Proposition 5.4, which scale well with respect to the search space shape parameters J, D, but poorly with respect to the number of time snapshots M. Recall that the weak feature tensor is constructed as a rank- (M,…,M)(M,\ldots,M) tensor train. However, in certain cases, particularly for large M, the true ranks of the feature tensor are much lower. Consider the following lemma.

Lemma 5.7. Let X∈RI1×⋯×IN\mathcal{X} \in \mathbb{R}^{I_1 \times \cdots \times I_N}. If, for each mode-n unfolding X(n)\mathcal{X}_{(n)} of X\mathcal{X}, we have

rank(X(n))≤Rnrank\left(\mathcal{X}_{(n)}\right)\leq R_{n}

Then there exists a TT decomposition T of X with ranks not higher than (R1,…,RN−1)(R_1, \ldots, R_{N-1}). [40]

Now, let Θ(d)\Theta_{(d)} denote the mode-d unfolding of the weak feature tensor. We have

Θ(d)∈RJd×JD−dM′,d∈[D]\Theta_{(d)}\in\mathbb{R}^{J^{d}\times J^{D-d}M^{\prime}},\quad d\in[D]

Based on the shape of the unfolding, we immediately have rank (Θ(d))≤min⁡{Jd,M′JD−d}\left(\mathbf{\Theta}_{(d)}\right) \leq \min\{J^d, M' J^{D-d}\}. Depending on the size of the search space and number of snapshots, this can show that the true ranks of Θ(X,φ)\mathbf{\Theta}(\mathbf{X}, \varphi) are significantly smaller than the original construction suggests. For example, when J=3J = 3, D=10D = 10, and M′≈M=6000M' \approx M = 6000, we see in Table 5.1 that the first 7 ranks are massively reduced, cutting the total storage from ≈1.0⋅109\approx 1.0 \cdot 10^9 to ≈7.6⋅108\approx 7.6 \cdot 10^8.

We now give a memory-efficient algorithm that constructs the low-rank tensor train without forming the original weak feature tensor in memory.

Lemma 5.8. Algorithm 5.2 computes a representation of Θ(X,φ)\Theta(\mathbf{X}, \varphi), with ranks

Rd≤min⁡{Jd,M′JD−d},d∈[D]R_{d}\leq\min\{J^{d},M^{\prime}J^{D-d}\},\quad d\in[D]

Proof. We will prove by comparing Algorithm 5.2 with the TT pseudoinverse algorithm, given in full detail in subsection A.2. We first show that the first D−1D-1 recomputed cores Θ~(1),…,Θ~(D−1)\widetilde{\mathbf{\Theta}}^{(1)},\ldots,\widetilde{\mathbf{\Theta}}^{(D-1)} are identical in both algorithms. This amounts to showing that at each of the first D−1D-1 iterations, both algorithms compute an SVD of the same matrix. The first iteration computes an SVD of the unmodified first core Θ(1)\mathbf{\Theta}^{(1)}. And since C(1)=11×M\mathbf{C}^{(1)}=\mathbf{1}^{1\times M}, we have

E(1)=C(1)⊚B1=B1∈RJ×M\mathbf{E}^{(1)}=\mathbf{C}^{(1)}\circledcirc\mathbf{B}_{1}=\mathbf{B}_{1}\in\mathbb{R}^{J\times M}

where ⊙\odot is the Khatri-Rao 6^6 product [25]. By construction, B1=Θ(1)\mathbf{B}_1 = \boldsymbol{\Theta}^{(1)}. Now, note that at the dthd^{\text{th}} iteration, the TT pseudoinverse algorithm computes an SVD of the matrix

L(Σ(d−1)(V(d−1))T×‾Θ(d))\mathbf{L}\big(\mathbf{\Sigma}^{(d-1)}(\mathbf{V}^{(d-1)})^{T}\overline{{\times}}\mathbf{\Theta}^{(d)}\big)

Suppose for induction that the matrices Θ~(1),…,Θ~(d−1)\widetilde{\mathbf{\Theta}}^{(1)}, \ldots, \widetilde{\mathbf{\Theta}}^{(d-1)} agree, which gives that C(d)=\mathbf{C}^{(d)} =

6^{6}Note that the use of the Khatri-Rao product is dependent on b2b_{2} being row-major indexing, used by default in NumPy.

Algorithm 5.2 Rank-reduced feature tensor construction

Input: Data matrix X∈RD×M\mathbf{X} \in \mathbb{R}^{D \times M} Family of basis functions f={fj}j∈[J]\mathbf{f} = \{f_j\}_{j \in [J]} Test function discretization φ\varphi Truncation parameter ϵ>0\epsilon > 0

Output: Rank-reduced feature tensor Θ(X,φ)∈RJ×⋯×J×M′\mathbf{\Theta}(\mathbf{X}, \varphi) \in \mathbb{R}^{J \times \cdots \times J \times M'}, with ranks (R1,…,RD)(R_1, \ldots, R_D)

1: {Store basis feature data}

2: for j∈[J],d∈[D],m∈[M]j \in [J], d \in [D], m \in [M] do

3: Evaluate Bd[j,m]←fj(xd,m)\mathbf{B}_d[j, m] \leftarrow f_j(x_{d,m})

4: end for

5: {Compute first D-1 cores}

6: Set C(1)←11×M\mathbf{C}^{(1)} \leftarrow \mathbf{1}^{1 \times M}

7: for d=1,…,D−1d = 1, \ldots, D - 1 do

8: Compute E(d)←C(d)⊙Bd\mathbf{E}^{(d)} \leftarrow \mathbf{C}^{(d)} \odot \mathbf{B}_d

9: Compute U(d)Σ(d)(V(d))T←SVD(E(d))\mathbf{U}^{(d)} \mathbf{\Sigma}^{(d)}(\mathbf{V}^{(d)})^T \leftarrow \text{SVD}(\mathbf{E}^{(d)})

10: Truncate U(d),Σ(d),V(d)\mathbf{U}^{(d)}, \mathbf{\Sigma}^{(d)}, \mathbf{V}^{(d)}, using ϵ\epsilon

11: Set Θ~(d):=L−1(U(d))∈RRd−1×J×Rd\widetilde{\mathbf{\Theta}}^{(d)} := \mathbf{L}^{-1}(\mathbf{U}^{(d)}) \in \mathbb{R}^{R_{d-1} \times J \times R_d}

12: Iterate C(d+1)←Σ(d)(V(d))T∈RRd×M\mathbf{C}^{(d+1)} \leftarrow \mathbf{\Sigma}^{(d)}(\mathbf{V}^{(d)})^T \in \mathbb{R}^{R_d \times M}

13: end for

14: {Compute final two cores}

15: Compute E(D)←C(D)⊙BD\mathbf{E}^{(D)} \leftarrow \mathbf{C}^{(D)} \odot \mathbf{B}_D

16: Compute U(D)Σ(D)(V(D))T←truncated-SVD(E(D)Φ,ϵ)\mathbf{U}^{(D)} \mathbf{\Sigma}^{(D)}(\mathbf{V}^{(D)})^T \leftarrow \text{truncated-SVD}(\mathbf{E}^{(D)} \mathbf{\Phi}, \epsilon)

17: Set Θ~(D):=L−1(U(D))∈RRD−1×J×RD\widetilde{\mathbf{\Theta}}^{(D)} := \mathbf{L}^{-1}(\mathbf{U}^{(D)}) \in \mathbb{R}^{R_{D-1} \times J \times R_D}

18: Set Φ~:=R−1(Σ(D)(V(D))T)∈RRD×M′×1\widetilde{\mathbf{\Phi}} := \mathbf{R}^{-1}(\mathbf{\Sigma}^{(D)}(\mathbf{V}^{(D)})^T) \in \mathbb{R}^{R_D \times M' \times 1}

19: return TT [Θ~(1),…,Θ~(D),Φ~][\widetilde{\mathbf{\Theta}}^{(1)}, \ldots, \widetilde{\mathbf{\Theta}}^{(D)}, \widetilde{\mathbf{\Phi}}]

Σ(d−1)(V(d−1))T\mathbf{\Sigma}^{(d-1)}(\mathbf{V}^{(d-1)})^{T}. Then, we have

L(Σ(d−1)(V(d−1))T×‾Θ(d))[rd−1,j‾,m]=∑m~=1M(Σ(d−1)(V(d−1))T)[rd−1,m~]Θ(d)[m~,j,m]=(Σ(d−1)(V(d−1))T)[rd−1,m]fj(xd,m)=C(d)[rd−1,m]Bd[j,m]=(C(d)⊙Bd)[rd−1,j‾,m]\begin{align*}\mathbf{L}\big(\mathbf{\Sigma}^{(d-1)}(\mathbf{V}^{(d-1)})^{T}\overline{\times}\mathbf{\Theta}^{(d)}\big)[\overline{r_{d-1},j},m]&=\sum_{\widetilde{m}=1}^{M}\big(\mathbf{\Sigma}^{(d-1)}(\mathbf{V}^{(d-1)})^{T}\big)[r_{d-1},\widetilde{m}]\mathbf{\Theta}^{(d)}[\widetilde{m},j,m]\\&=\big(\mathbf{\Sigma}^{(d-1)}(\mathbf{V}^{(d-1)})^{T}\big)[r_{d-1},m]f_{j}(x_{d,m})\\&=\mathbf{C}^{(d)}[r_{d-1},m]\mathbf{B}_{d}[j,m]\\&=(\mathbf{C}^{(d)}\odot\mathbf{B}_{d})[\overline{r_{d-1},j},m]\end{align*}

Therefore the first D−1D-1 cores computed by both algorithms are the same. For the final two cores Θ~\widetilde{\Theta}, Φ~\widetilde{\Phi}, we deviate from the original pseudoinverse procedure by applying the weak-form matrix Φ\Phi to E(D)\mathbf{E}^{(D)}, and forming both orthonormalized cores from a single SVD. Using Lemma 4.4 and our inductively shown formula for E(D)Φ\mathbf{E}^{(D)}\Phi, we have that this is equivalent to contracting the final two cores, and taking an SVD.

L−1(E(D)Φ)=L−1(L(Σ(D−1)(V(D−1))T×‾Θ(D))Φ)=(Σ(D−1)(V(D−1))T×‾Θ(D))×‾Φ\begin{align*}\mathbf{L}^{-1}(\mathbf{E}^{(D)}\boldsymbol{\Phi})&=\mathbf{L}^{-1}\big(\mathbf{L}(\boldsymbol{\Sigma}^{(D-1)}(\mathbf{V}^{(D-1)})^{T}\overline{\times}\boldsymbol{\Theta}^{(D)})\boldsymbol{\Phi}\big)\\&=\big(\boldsymbol{\Sigma}^{(D-1)}(\mathbf{V}^{(D-1)})^{T}\overline{\times}\boldsymbol{\Theta}^{(D)}\big)\overline{\times}\boldsymbol{\Phi}\end{align*}

So by computing an SVD of E(D)Φ\mathbf{E}^{(D)}\Phi and separating its left- and right-orthonormal components, we do indeed compute an orthonormal representation of the weak feature tensor with total storage cost

O(JR1+J∑d=1D−1RdRd+1+RDM′)(5.8)\mathcal{O}\left(JR_{1}+J\sum_{d=1}^{D-1}R_{d}R_{d+1}+R_{D}M^{\prime}\right) \tag{5.8}

over the original O(JDM2)\mathcal{O}(JDM^2) cost.

The final step above can save significant time and memory: since RD=O(min⁡{JD,M′})R_D = \mathcal{O}(\min\{J^D,M'\}), the naive approach risks taking an SVD of two size O(JDM)\mathcal{O}(J^D M) matrices, which automatically puts the time complexity of the pseudoinverse computation above the cost of a matrix pseudoinverse (which requires only one O(JDM)\mathcal{O}(J^D M) SVD). Additionally, the cross-correlation

E(D)⋆φ=E(D)Φ∈RRD−1J×M′\mathbf{E}^{(D)}\star\varphi=\mathbf{E}^{(D)}\boldsymbol{\Phi}\in\mathbb{R}^{R_{D-1}J\times M^{\prime}}

acts as a low-pass filter and can significantly reduce the true rank of E(D)\mathbf{E}^{(D)} prior to computing the SVD. To exploit this, we compute truncated-SVD(E(D)Φ\mathbf{E}^{(D)}\boldsymbol{\Phi}) using the adaptive-rank randomized range finder proposed by Halko, Martinsson, and Tropp [14]. In the example in Table 5.1, this further reduces the total storage to ≈1.1⋅108\approx 1.1\cdot 10^8, a full order of magnitude from the original cost.

Table 5.1

The ranks of the weak feature tensor with shape parameters J=3,D=10,M′≈M=6000J = 3, D = 10, M' \approx M = 6000 and data from the Lorenz 96 model, via both the original construction and the upper bound obtained using Lemma 5.7.

dd12345678910
original ranks6000600060006000600060006000600060006000
min⁡{Jd,M′JD−d}\min\{J^{d}, M'J^{D-d}\}39278124372921876561180006000
Algorithm 5.23927812437292187327635443068

Algorithm 5.2 also can yield substantial walltime improvements. Figure 5.1 shows the scaling of the original and low-rank constructions in MM and DD. We observe the tradeoff in opting for the low-rank construction: we exchange some time scaling in DD for improved time scaling in MM and smaller storage cost. We emphasize that the choice of method is dependent on the shape parameters J,D,MJ, D, M, and that neither is optimal in all settings.

5.3. TT-STLS sparsification. After execution of TT-MSTLS, TT-WSINDy calls the matrix MSTLS algorithm. Therefore it is crucial to the efficiency of TT-WSINDy that the size of the problem has been substantially reduced by the time it is handed off to the flat solver. There exist pathological cases for which this is not true. For example, if every atomic term fj(xd)f_{j}(x_{d}) appears in the true ODE, the MSTLS time complexity reverts to O(JDM)\mathcal{O}(J^{D}M) and we lose the benefits of TT-WSINDy. To guard against this, we assume that the true terms of (2.3) are sparse in the space of basis functions.

Figure

Figure 5.1. Walltimes of TT-WSINDy using the original construction and the low-rank construction, applied to the Lorenz 96 model over basis features f={1,x}\mathbf{f} = \{1, x\}. The left plot fixes D=8D = 8 and times over varying MM, while the right plot fixes M=5000M = 5000 and plots over varying DD. At D=8D = 8, M=20000M = 20000, 40000, the original weak feature tensor was too large to be stored in memory, and the walltime is extrapolated from previous data points.

Remark 5.9. Say the dthd^{th} equation of a D-dimensional system of ODEs has true basis terms fd⋆⊂f\mathbf{f}_{d}^{\star} \subset \mathbf{f}, which includes pd≤Jp_{d} \leq J basis functions applied to qd≤Dq_{d} \leq D dimensions. We assume that, for all d∈[D]d \in [D]

(5.9)

∣gd⋆∣=(pd)qd≪JD=∣g∣|\boldsymbol{g}_{d}^{\star}|=(p_{d})^{q_{d}}\ll J^{D}=|\boldsymbol{g}|

where gd⋆⊂gg_d^\star \subset g is the library induced by the basis terms fd⋆f_d^\star.

In other words, the minimal coarse support is substantially smaller than the initial, full support. This assumption is mild due to the exponential size of the total search space of functions. However, if the above remark does not hold, we do not expect TT-WSINDy to be preferred to matrix WSINDy, as the TT-MSTLS stage becomes superfluous.

We have not yet demonstrated explicitly that the masking procedure in TT-STLS reduces the size of the linear problem. We will do so now. First, we show the following lemma.

Lemma 5.10. Let T∈RI1×⋯×ID×K\mathcal{T} \in \mathbb{R}^{I_1 \times \cdots \times I_D \times K} be a tensor train with ranks (R1,…,RD)(R_1, \ldots, R_D). If the slice T(d)[:,i∗,:]=0\mathcal{T}^{(d)}[:, i^*, :] = \mathbf{0}, then the same slice of the corresponding core of the pseudoinverse T†∈RK×I1×⋯×ID\mathcal{T}^\dagger \in \mathbb{R}^{K \times I_1 \times \cdots \times I_D} is zero.

Proof. Let T~(D),T~(1),…,T~(D−1)\widetilde{\mathcal{T}}^{(D)}, \widetilde{\mathcal{T}}^{(1)}, \ldots, \widetilde{\mathcal{T}}^{(D-1)} denote the cores of the pseudoinverse T†\mathcal{T}^\dagger, as in (2.14). We say that each T(d),T~(d)\mathcal{T}^{(d)}, \widetilde{\mathcal{T}}^{(d)} correspond. We may derive an explicit formula for T~(d)\widetilde{\mathcal{T}}^{(d)}:

T~(d)=(R(d−1)×‾T(d))×‾(R(d))†∈RSd−1×Id×Sd\widetilde{\mathcal{T}}^{(d)}=(\mathbf{R}^{(d-1)}\overline{\times}\mathcal{T}^{(d)})\overline{\times}(\mathbf{R}^{(d)})^{\dagger}\in\mathbb{R}^{S_{d-1}\times I_{d}\times S_{d}}

where R(d−1):=Σ(d−1)(V(d−1))T∈RSd−1×Rd−1\mathbf{R}^{(d-1)} := \boldsymbol{\Sigma}^{(d-1)}(\mathbf{V}^{(d-1)})^T \in \mathbb{R}^{S_{d-1} \times R_{d-1}} is the upper-triangular component of the QR decomposition of the (left-unfolded) previous core, and R(d)∈RSd×Rd\mathbf{R}^{(d)} \in \mathbb{R}^{S_d \times R_d} is the same, but of

R(d−1)×T(d)\mathbf{R}^{(d-1)} \times \mathcal{T}^{(d)}. Suppose that T(d)[:,i∗,:]=0\mathcal{T}^{(d)}[:, i^*,:] = \mathbf{0}. We may write the slice T(d)[:,i∗,:]\mathcal{T}^{(d)}[:, i^*,:] as tensor contraction with a Euclidean basis vector ei∗e_i^* in the mode dimension. Letting ×2\times_2 denote the 2-mode tensor-vector product [25],

T(d)[:,i∗,:]=T(d)×2ei∗=0∈RRd−1×Rd\mathcal{T}^{(d)}[:,i^{*},:]=\mathcal{T}^{(d)}\times_{2}\boldsymbol{e}_{i^{*}}=\mathbf{0}\in\mathbb{R}^{R_{d-1}\times R_{d}}

Now we check whether this holds for T~(d)\widetilde{\mathcal{T}}^{(d)}. Expanding all contractions, we have

(T~(d)×2ei∗)[sd−1,sd]=∑i=1Id[∑rd−1=1Rd−1∑rd=1RdR(d−1)[sd−1,rd−1]T(d)[rd−1,i,rd](R(d))†[rd,sd]]ei∗[i]=∑rd−1=1Rd−1∑rd=1RdR(d−1)[sd−1,rd−1]T(d)[rd−1,i∗,rd](R(d))†[rd,sd]\begin{align*}(\widetilde{\mathcal{T}}^{(d)}\times_{2}e_{i^{*}})[s_{d-1},s_{d}]&=\sum_{i=1}^{I_{d}}\left[\sum_{r_{d-1}=1}^{R_{d-1}}\sum_{r_{d}=1}^{R_{d}}\mathbf{R}^{(d-1)}[s_{d-1},r_{d-1}]\mathcal{T}^{(d)}[r_{d-1},i,r_{d}](\mathbf{R}^{(d)})^{\dagger}[r_{d},s_{d}]\right]e_{i^{*}}[i]\\&=\sum_{r_{d-1}=1}^{R_{d-1}}\sum_{r_{d}=1}^{R_{d}}\mathbf{R}^{(d-1)}[s_{d-1},r_{d-1}]\mathcal{T}^{(d)}[r_{d-1},i^{*},r_{d}](\mathbf{R}^{(d)})^{\dagger}[r_{d},s_{d}]\end{align*}

Which equals zero for all sd−1,sds_{d-1}, s_d, since T(d)[rd−1,i∗,rd]=0\mathcal{T}^{(d)}[r_{d-1}, i^*, r_d] = 0 for all rd−1,rdr_{d-1}, r_d.

Corollary 5.11. Let Θ(X,φ)\mathbf{\Theta}(\mathbf{X}, \varphi) be the weak feature tensor, and let M=M(S)∈RJ×⋯×J×M′\mathcal{M} = \mathcal{M}(S) \in \mathbb{R}^{J \times \cdots \times J \times M'} be a mask obtained from some coarse support S⊂[J]DS \subset [J]^D. Let Θ∣S:=Θ(X,φ)⊙M\mathbf{\Theta}|_S := \mathbf{\Theta}(\mathbf{X}, \varphi) \odot \mathcal{M}, and W:=y×(Θ∣S)†\mathcal{W} := \mathbf{y} \times (\mathbf{\Theta}|_S)^\dagger. It then follows that

(j∉S(d))⇒(W[⋯⋯⏞d−1,j,⋯⋯⏞D−d]=0)(j\notin S^{(d)})\Rightarrow\left(\mathcal{W}\Big[\overbrace{\cdots\cdots}^{d-1},j,\overbrace{\cdots\cdots}^{D-d}\Big]=\mathbf{0}\right)

Proof. By construction of the mask, j∉S(d)j \notin S^{(d)} implies (Θ∣S)(d)[:,j,:]=0(\mathbf{\Theta}|_S)^{(d)}[:, j, :] = \mathbf{0}. Then, observing that

W=y×‾(Θ∣S)†=∑m′=1M′ym′(Θ∣S)†[m′,:⋯:]\mathcal{W}=\mathbf{y}\overline{\times}(\mathbf{\Theta}|_{S})^{\dagger}=\sum_{m^{\prime}=1}^{M^{\prime}}\mathbf{y}_{m^{\prime}}(\mathbf{\Theta}|_{S})^{\dagger}[m^{\prime},:\cdots:]

we have that the result follows immediately from Lemma 5.10, as (Θ∣S)†[m′,:⋯:,j,:⋯:]=0(\mathbf{\Theta}|_S)^\dagger[m',:\cdots:,j,: \cdots:]=\mathbf{0} for all m′∈[M′]m' \in [M'].

It follows that, given support S⊂[J]DS \subset [J]^D with Jd:=∣S(d)∣J_d := |S^{(d)}| basis features in each dimension, we may reduce the feature tensor to some Θ~∈RJ1×⋯×JD×M′\widetilde{\mathbf{\Theta}} \in \mathbb{R}^{J_1 \times \cdots \times J_D \times M'} that implicitly enforces W\mathcal{W} has at most the same size support as the previous iteration. We conclude with the following corollary, which follows immediately from Corollary 5.11.

Corollary 5.12. The modes of Ψℓ\Psi_\ell are monotonically decreasing in ℓ\ell.

In the next section, we will observe empirically that TT-MSTLS outputs a much smaller linear problem than it is given. We reserve a more detailed investigation of the reduction in size of the problem for future work.

  1. Examples and results.

6.1. Weak vs. Strong Form TT Regression. Despite being a lightweight modification to the strong feature tensor, the weak core grants significant robustness to noise in the ensuing regression computation. In this subsection, we compare weak- and strong-form pseudoinverse computations. We omit sparsification to isolate the effect of the weak form.

For four systems of ODEs, we are given data X∈RD×M\mathbf{X} \in \mathbb{R}^{D \times M}, where X[d,m]=X⋆[d,m]+ϵd,m\mathbf{X}[d, m] = \mathbf{X}^\star[d, m] + \epsilon_{d,m}, X⋆[d,m]=xd(tm)\mathbf{X}^\star[d, m] = \mathbf{x}_d(t_m) is the true data and the noise {ϵd,m}d∈[D],m∈[M]\{\epsilon_{d,m}\}_{d \in [D], m \in [M]} is drawn i.i.d. from N(0,σ2)\mathcal{N}(0, \sigma^2). The variance σ2\sigma^2 is induced by the noise ratio σNR\sigma_{NR} as

(6.1)

σ2=σNR2∥X⋆∥F2MD\sigma^{2}=\frac{\sigma_{NR}^{2}\|\mathbf{X}^{\star}\|_{F}^{2}}{MD}

We then perform TT regression to obtain a coefficient estimate W^\widehat{W}, and plot the relative coefficient error with respect to the true coefficient tensor W∗\mathcal{W}^*

(6.2)

err(W^)=∥W⋆−W^∥F∥W⋆∥Fe r r(\widehat{\mathcal{W}})=\frac{\|\mathcal{W}^{\star}-\widehat{\mathcal{W}}\|_{F}}{\|\mathcal{W}^{\star}\|_{F}}

against σNR\sigma_{NR}.

A key difference from [11] is that we do not assume the ability to directly sample derivative data – to compute the strong form coefficient estimate, we calculate X˙\dot{X} using finite differences. In the weak form, we take φ,φ˙\varphi, \dot{\varphi} to be obtained from the piecewise polynomial test function φ\varphi, given by

(6.3)

φ(t)={C(r−t)p(r+t)pt∈[−r,r]0otherwise\varphi(t)=\begin{cases}C(r-t)^{p}(r+t)^{p}&t\in[-r,r]\\0&otherwise\end{cases}

where pp is the degree of the polynomial, rr is the radius of support, and CC is a normalization constant enforcing ∥φ∥L2=1\|\varphi\|_{L_2} = 1. For details on choosing pp and rr, see [48]. For the second-order FPUT problem, we compute X¨\ddot{\mathbf{X}} using second-order finite differences to obtain the strong form, and convolve X\mathbf{X} against the second derivative φ¨\ddot{\varphi} to obtain the weak form.

For the two chaotic systems, we sampled one trajectory, with 10410^4 snapshots for Lorenz 96 and 2⋅1052 \cdot 10^5 for Chua's circuit. For the non-ergodic systems, we sampled multiple trajectories: 6 with 10410^4 snapshots each for FPUT, and 5 with 10410^4 snapshots each for the Kuramoto model. For all experiments, we fixed Δt=0.1\Delta t = 0.1. For robustness, we regressed against 40 different realizations at each noise level.

The ODEs used are the Fermi-Pasta-Ulam-Tsingou (FPUT) problem, a quasi-periodic system of oscillators; the Lorenz 96 model, a high-dimensional chaotic system; the Kuramoto model, a high-dimensional system of coupled oscillators; and Chua's circuit, a chaotic system with a nonlinear cross term. The exact dynamics and parameters used are given in Table 6.1, and the choice of basis functions and induced library size are given in Table 6.2. Note that the identity sin⁡(x±y)=sin⁡(x)cos⁡(y)±cos⁡(x)sin⁡(y)\sin(x \pm y) = \sin(x) \cos(y) \pm \cos(x) \sin(y) allows the Kuramoto model to be discoverable via the given three-term basis. Also note that for Chua's circuit to be discoverable without explicitly adding f(xd)=xd∣xd∣f(x_d) = x_d |x_d| to the basis function library ff, it is necessary to use a function-major feature tensor, which we discuss in subsection A.3.

Figure 6.1 demonstrates that the weak form provides increased accuracy at both low and high noise levels. In the Lorenz 96, Kuramoto model, and Chua's circuit examples, there is a

Table 6.1

The dynamics, parameters, and constraints for each of the four ODEs used.

NameDynamicsParameters/constraints
FPUTx˙d=(xd+1−2xd+xd−1)+β[(xd+1−xd)3−(xd−xd−1)3]\dot{\mathbf{x}}_{d} = (\mathbf{x}_{d+1} - 2\mathbf{x}_{d} + \mathbf{x}_{d-1}) + \beta \big[ (\mathbf{x}_{d+1} - \mathbf{x}_{d})^{3} - (\mathbf{x}_{d} - \mathbf{x}_{d-1})^{3} \big]D=4D = 4
β=0.7\beta = 0.7
x0=xD+1=0\mathbf{x}_{0} = \mathbf{x}_{D+1} = 0
Lorenz 96x˙d=(xd+1−xd−2)xd−1−xd+F\dot{\mathbf{x}}_{d} = (\mathbf{x}_{d+1} - \mathbf{x}_{d-2})\mathbf{x}_{d-1} - \mathbf{x}_{d} + FD=5,F=8D = 5, F = 8
x−1=xD−1\mathbf{x}_{-1} = \mathbf{x}_{D-1}
x0=xD,xD+1=x1\mathbf{x}_{0} = \mathbf{x}_{D}, \mathbf{x}_{D+1} = \mathbf{x}_{1}
Kuramoto modelx˙d=ωd+KD∑d′=1Dsin⁡(xd′−xd)+hsin⁡(xd)\dot{\mathbf{x}}_{d} = \omega_{d} + \frac{K}{D} \sum_{d'=1}^{D} \sin(\mathbf{x}_{d'} - \mathbf{x}_{d}) + h \sin(\mathbf{x}_{d})D=4D = 4
K=2,h=12,K = 2, h = \frac{1}{2},
ωd=−5+d10D\omega_{d} = -5 + d\frac{10}{D}
Chua's circuitx˙1=α(x2−(1+δ1)x1−δ2x1∣x1∣)\dot{\mathbf{x}}_{1} = \alpha(\mathbf{x}_{2} - (1+\delta_{1})\mathbf{x}_{1} - \delta_{2}x_{1}|x_{1}|)x˙2=x1−x2+x3\dot{\mathbf{x}}_{2} = \mathbf{x}_{1} - \mathbf{x}_{2} + \mathbf{x}_{3}x˙3=−βx2\dot{\mathbf{x}}_{3} = -\beta \mathbf{x}_{2}α=10,\alpha = 10,
β=14.87,\beta = 14.87,
δ=(−87,463)\delta = (-\frac{8}{7}, \frac{4}{63})

Table 6.2

The set of basis functions used for each ODE, the (per-equation) search space size induced by that set, and average number of true terms in each dimension.

NameBasis functionsInduced search space sizeMean library size
FPUT{1,x,x2,x3}\{1, x, x^{2}, x^{3}\}4D4^{D}10−8/D10-8/D
Lorenz 96{1,x}\{1, x\}2D2^{D}44
Kuramoto model{1,sin⁡(x),cos⁡(x)}\{1, \sin(x), \cos(x)\}3D3^{D}2D+12D+1
Chua's circuit{1,x,∣x∣}\{1, x, |x|\}27272.32.3

noise level for which the strong form estimates the dynamics comparably to the weak form. However, we see that the weak form provides robustness over the [0,1][0,1] continuum of noise levels.

Due to the large datasets, we used the low-rank feature tensor construction given in Algorithm 5.2. Even for the data-heavy Chua's circuit computation, regression terminated in an average of 1.33 seconds.

6.2. TT-WSINDy Walltime. To illustrate how TT-WSINDy scales in increasing DD, we examine the Lorenz 96 model. To correctly identify the dynamics given in Table 6.1, we must include cross terms xixjx_{i}x_{j} between dimensions. If we want to check only the true basis terms f={1,x}\boldsymbol{f}=\{1, x\}, then the induced search space is ∣g∣=2D|\boldsymbol{g}|=2^{D} per equation. In contrast, finding the

Figure

Weak form TT regression MANDy (strong form TT regression)

Figure 6.1. Weak form vs. strong form regression accuracy. Relative coefficient error is plotted against noise ratio for each of the four ODEs given in Table 6.1. The translucent bands give the upper and lower quartiles of error over 40 realizations. For a more detailed description of the variance across trials, see Figure B.1.

true coarse support yields the following feature vectors for the dthd^{th} dimension

(6.4)

θ(1),…,θ(D)=[1],…,[1]⏞d−3,[1xd−2],[1xd−1],[1xd],[1xd+1],[1],…,[1]⏞D−d−1\boldsymbol{\theta}^{(1)},\ldots,\boldsymbol{\theta}^{(D)}=\overbrace{[1],\ldots,[1]}^{d-3},\begin{bmatrix}1\\ \mathbf{x}_{d-2}\end{bmatrix},\begin{bmatrix}1\\ \mathbf{x}_{d-1}\end{bmatrix},\begin{bmatrix}1\\ \mathbf{x}_{d}\end{bmatrix},\begin{bmatrix}1\\ \mathbf{x}_{d+1}\end{bmatrix},\overbrace{[1],\ldots,[1]}^{D-d-1}

which induces a size 24=162^4 = 16 search space per equation. Given this support, the computational cost of matrix WSINDy is trivial.

For D=5,…,12D = 5, \ldots, 12, we fix M=20000M = 20000, sufficiently many snapshots to identify the true support for all values of DD. We corrupt with a modest noise ratio of σNR=10−3\sigma_{NR} = 10^{-3}, and use the same test function as given in (6.3). Given that M≫JDM \gg J^D, we again use the low-rank feature tensor construction.

In Figure 6.2, we observe that TT-WSINDy does indeed limit the burden to the flat solver by handing off a significantly reduced support: for D≤11D \leq 11, the coarse pass identified the true coarse support described by equation (6.4), after which the flat solve identified the true dynamics. For D=12D = 12, a support containing around 2000 spurious terms was identified, but the ensuing flat solve recovered the true dynamics. In all experiments, TT-WSINDy and flat WSINDy identified the true support. Both methods discovered identical coefficients to one another, with relative coefficient errors on the order of 10−410^{-4} at all values of DD.

Figure

Figure 6.2. Visualization of the support reduction from the coarse to fine pass on Lorenz 96 for D=5,…,12D = 5, \ldots, 12. The total support is the sum of the support of each equation in the system.

Figure

Figure 6.3. Walltime of flat WSINDy, and low-rank TT-WSINDy, averaged over 5 trials and plotted against the dimension of the Lorenz 96 system. For visibility, we plot the low-dimensional and high-dimensional experiments separately.

We observe the empirical computational gains in Figure 6.3. For D=6,…,12D = 6, \ldots, 12, TT-WSINDy outperformed flat WSINDy by a speedup factor of 2 to 7. D=5D = 5 was the changepoint at which the flat solver was faster; a coarse TT-MSTLS screening of the size 252^5 search space did not yield computational benefits.

  1. Conclusion. We have extended the WSINDy algorithm using techniques from the MANDy method, achieving significant time and memory savings over a rich search space of candidate functions. We have shown that the strong-form problem can be translated into the weak form at little cost, and that the problem can be solved with existing WSINDy sparsification techniques without losing the time and memory complexity benefits of the tensor-train format. In particular, we showed that the techniques presented subvert the curse of dimensionality, having time and memory complexities that are polynomial in the dimension of the ODE rather than exponential. We have also made the algorithm tractable for datasets that are dense in the temporal axis, using the low-rank weak feature tensor construction.

We will close with future directions for this work. The first is to investigate more closely the statistical properties of the TT-MSTLS coarse screening stage. We would like the algorithm to avoid false negatives, so that the fine WSINDy pass reliably has the full library of true terms.

Secondly, we would like to examine the settings in which one feature tensor construction is applicable over the other (i.e., the original construction vs. that given in Algorithm 5.2). While the original construction demonstrably overcomes the curse of dimensionality, it requires that the number of time snapshots is at most on same order of magnitude as the search space size JDJ^{D}. The low-rank construction makes the MANDy regression applicable to high-data settings, but its time and memory complexities become dependent on the correlation structure of the data. A deeper understanding of this tradeoff can increase robustness of the tensor-based approach.

We also aim to extend this work to PDEs, in which dimensionality comes from the scale of the incoming data, in addition to the potentially large search space. Recent work has explored a similar candidate library in the setting of strong-form PDEs, taking the dictionary to be products of partial derivatives of basis functions [16]. Additionally, a first pass at adapting MANDy to PDEs has been presented in [26]. We would like to take a more detailed look at the time and memory complexities of this approach, and see whether it can be improved while adapting it to our own algorithmic techniques. In particular, we believe that the low-rank feature tensor approach can be effective in lessening the computational load that a large spatiotemporal dataset entails.

Appendix A. MANDy. TT-WSINDy is built on top of the Multidimensional Approximation of Nonlinear Dynamics (MANDy) method. In this paper, we also refer to this as the strong form of TT-WSINDy. We describe it here.

A.1. MANDy problem construction. Given feature vectors and feature cores as in subsection 3.1, we define the strong feature tensor as

(A.1)

Θ(X):=TT[[Θ(1),…,Θ(D),I]]∈RJ×⋯×J×M\Theta(\mathbf{X}):=\mathrm{T T}\left[\left[\boldsymbol{\Theta}^{(1)},\ldots,\boldsymbol{\Theta}^{(D)},\mathbf{I}\right]\right]\in\mathbb{R}^{J\times\cdots\times J\times M}

where I is the M×MM \times M identity matrix. Including I as its own core is necessary for the MANDy construction to be equivalent to the matrix SINDy problem. The MANDy method then calculates the coefficient tensor as

(A.2)

W^=X˙×‾Θ(X)†\widehat{\mathcal{W}}=\dot{\mathbf{X}}\overline{\times}\boldsymbol{\Theta}(\mathbf{X})^{\dagger}

where Θ(X)†\Theta(\mathbf{X})^\dagger is computed via a TT pseudoinverse.

A.2. TT Pseudoinverse algorithm. We give an overview of the procedure for computing the TT pseudoinverse (2.14), proposed in [24]. For more complete detail, see the original paper.

The algorithm requires that the final TT core is right-orthonormal, and the others are left-orthonormal. We say a TT core T(n)\mathcal{T}^{(n)} is left-orthonormal if

L(T(n))TL(T(n))=I∈RRn×Rn\mathbf{L}\big(\mathcal{T}^{(n)}\big)^{T}\mathbf{L}(\mathcal{T}^{(n)})=\mathbf{I}\in\mathbb{R}^{R_{n}\times R_{n}}

and right-orthonormal if

R(T(n))R(T(n))T=I∈RRn−1×Rn−1\mathbf{R}(\mathcal{T}^{(n)})\mathbf{R}\big(\mathcal{T}^{(n)}\big)^{T}=\mathbf{I}\in\mathbb{R}^{R_{n-1}\times R_{n-1}}

Algorithms to compute right- and left-orthonormal counterparts of a general TT core are given in [24]. In both, the computational effort is dominated by a singular value decomposition of the matricization of the core. Given these, the TT pseudoinverse algorithm is detailed in Algorithm A.1 7{}^{7}. Note that this algorithm “splits” T\mathcal{T} at the index NN. This choice is specific to the learning problem of this paper; any index in [N+1][N+1] can be chosen. The more general version of this algorithm can be found in [24].

Algorithm A.1 Pseudoinversion of tensor trains

Input: Tensor cores T(1)∈R1×I1×R1\mathcal{T}^{(1)} \in \mathbb{R}^{1 \times I_1 \times R_1}, T(n)∈RRn−1×In×Rn\mathcal{T}^{(n)} \in \mathbb{R}^{R_{n-1} \times I_n \times R_n} for n=2,…,Nn = 2, \ldots, N, T(N+1)∈RRN×K×1\mathcal{T}^{(N+1)} \in \mathbb{R}^{R_N \times K \times 1}

Output: Pseudoinverse T†∈RK×I1×⋯×IN\mathcal{T}^\dagger \in \mathbb{R}^{K \times I_1 \times \cdots \times I_N}

1: for n=1,…,N−1n = 1, \ldots, N - 1 do

2: Compute U(n)Σ(n)(V(n))T←SVD(L(T(n)))\mathbf{U}^{(n)} \boldsymbol{\Sigma}^{(n)}(\mathbf{V}^{(n)})^T \leftarrow \text{SVD}(\mathbf{L}(\mathcal{T}^{(n)}))

3: Define T~(n):=L−1(U(n))\widetilde{\mathcal{T}}^{(n)} := \mathbf{L}^{-1}(\mathbf{U}^{(n)})

4: Recompute T(n+1)←Σ(n)(V(n))T×‾T(n+1)\mathcal{T}^{(n+1)} \leftarrow \boldsymbol{\Sigma}^{(n)}(V^{(n)})^T \overline{\times} \mathcal{T}^{(n+1)}

5: end for

6: Compute U(N+1)Σ(N+1)(V(N+1))T←SVD(T(N+1))\mathbf{U}^{(N+1)} \boldsymbol{\Sigma}^{(N+1)}(\mathbf{V}^{(N+1)})^T \leftarrow \text{SVD}(\mathcal{T}^{(N+1)})

7: Recompute T(N)←L(T(N))U(N+1)Σ(N+1)\mathcal{T}^{(N)} \leftarrow \mathbf{L}(\mathcal{T}^{(N)})\mathbf{U}^{(N+1)}\boldsymbol{\Sigma}^{(N+1)}

8: Compute U(N)Σ(V(N))T←SVD(T(N))\mathbf{U}^{(N)} \boldsymbol{\Sigma}(\mathbf{V}^{(N)})^T \leftarrow \text{SVD}(\mathcal{T}^{(N)})

9: Define T~(N):=L−1(U(N))\widetilde{\mathcal{T}}^{(N)} := \mathbf{L}^{-1}(\mathbf{U}^{(N)})

10: Compute T~(N+1)←(V(N))T×‾R−1((V(N+1))T)\widetilde{\mathcal{T}}^{(N+1)} \leftarrow (\mathbf{V}^{(N)})^T \overline{\times} \mathbf{R}^{-1}((\mathbf{V}^{(N+1)})^T)

11: return T†←TT[Σ−1×‾T~(N+1),T~(1),…,T~(N)]\mathcal{T}^\dagger \leftarrow \text{TT}[\boldsymbol{\Sigma}^{-1} \overline{\times} \widetilde{\mathcal{T}}^{(N+1)}, \widetilde{\mathcal{T}}^{(1)}, \ldots, \widetilde{\mathcal{T}}^{(N)}]

The complexity of the algorithm is dominated by the cost of the constituent matrix SVDs. This gives the time complexity O(NIR3+KR2)\mathcal{O}(NIR^{3} + KR^{2}), presented in Lemma 2.6.

A.3. Function-major feature tensor. There is an alternate way to construct the feature tensor. In subsection 3.1, we define the feature tensor over feature vectors that contain

7^{7}In this algorithm, all left- and right-unfoldings are taken of order-3 tensors, so we define the inverse unfoldings L−1\mathbf{L}^{-1}, R−1\mathbf{R}^{-1} in the natural way, inverting the bijection b2b_{2} to map a matrix to an order-3 tensor.

evaluations of each fjf_{j} on a given equation. We may instead write

(A.3)

θ(j)(tm)=[fj(x1,m)⋮fj(xD,m)]∈RD\boldsymbol{\theta}^{(j)}(t_{m})=\begin{bmatrix}f_{j}(x_{1,m})\\ \vdots\\ f_{j}(x_{D,m})\end{bmatrix}\in\mathbb{R}^{D}

We refer to this as a function-major feature vector, and (3.2) as dimension-major. The function-major feature tensor is then

Θ(X,φ)∈RD×⋯×D⏞J×M′\Theta(\mathbf{X},\varphi)\in\mathbb{R}^{\overbrace{D\times\cdots\times D}^{J}\times M^{\prime}}

While these representations correspond to different sizes of flat problems ( O(JDM)\mathcal{O}(J^D M) versus O(DJM)\mathcal{O}(D^J M)), both feature tensors have memory consumption in O(JDM2)\mathcal{O}(JDM^2) and take O(JDM3)\mathcal{O}(JDM^3) time to compute the pseudoinverse.

Appendix B. Optimizations for TT-WSINDy. For completeness, we describe two additional optimizations in our TT-WSINDy implementation that were used to generate the walltime results in subsection 6.2.

First, we cache superfluous TT pseudoinverse solves across iterations. The pseudoinverse Θ†\Theta^{\dagger} has no dependence on the LHS data. Moreover, in each dimension dd, we need only store the size O(JD)\mathcal{O}(JD) set

(B.1)

tr[(W(d)[j])TDL(d−1)W(d)[j]DR(d+1)],d∈[D],j∈[Jd]\mathrm{tr}\big[(\mathbf{W}^{(d)}[j])^{T}\mathbf{D}_{L}^{(d-1)}\mathbf{W}^{(d)}[j]\mathbf{D}_{R}^{(d+1)}\big],\quad d\in[D],j\in[J_{d}]

for each support, rather than the entire pseudoinverse. So for a given support S, upon finding the associated set of traces, we can cache the low-memory set and reuse it when we need to threshold a different parameter λ\lambda on S. This avoids unnecessary repeated calculations.

Second, we implemented a boolean one_pass parameter that forces only a single coarse pass of TT-STLS. This is intended for “medium-size” search spaces – those that are large enough that TT-WSINDy is computationally preferable, but small enough that a single iteration of coarsening is typically enough to hand off the problem to matrix MSTLS. For example, if we have J=5J = 5, D=5D = 5, the total search space for a single equation is 55=31255^5 = 3125. If, say, we find only 2 basis terms to be supported, the search space drops to 25=322^5 = 32, at which point naively calling the TT pseudoinverse algorithm is unnecessary and can negate the computational savings of the algorithm.

For the Lorenz 96 system, the one-pass approach was sufficient. In more generality, this would take the form of a heuristic that reads the current shape parameters of the feature tensor and decides whether to perform TT sparsification or hand off the problem to the flat solver. We leave an investigation of such a heuristic to future work.

Acknowledgments. This work was supported in part by the following grants: NIGMS R35GM149335, DOE DE-SC0023346, NSF DEB-2109774, and NIFA 2019-67014-29919. All authors stand by the results of this paper. Code used in this manuscript is publicly available at https://github.com/whouser2001/TT-WSINDy.git.

Figure

Weak form TT regression MANDy (strong form TT regression)

Figure B.1. Box plot corresponding to the results in Figure 6.1.

REFERENCES

[1] H. AKAIKE, A new look at the statistical model identification, IEEE Transactions on Automatic Control, 19 (1974), pp. 716–723, https://doi.org/10.1109/TAC.1974.1100705, http://ieeexplore.ieee.org/lpdocs/epic03/wrapper.htm?arnumber=1100705 (accessed 2014-11-12).

[2] G. BALLARD AND T. G. KOLDA, Tensor Decompositions for Data Science, Cambridge University Press, 2025.

[3] D. M. BORTZ, D. A. MESSENGER, AND V. DUKIC, Direct Estimation of Parameters in ODE Models Using WENDy: Weak-form Estimation of Nonlinear Dynamics, Bulletin of Mathematical Biology, 85 (2023), https://doi.org/10.1007/S11538-023-01208-6.

[4] D. M. BORTZ, D. A. MESSENGER, AND A. TRAN, Chapter 2 - Weak form-based data-driven modeling: Computationally efficient and noise robust equation learning and parameter inference, in Numerical Analysis Meets Machine Learning, S. Mishra and A. Townsend, eds., vol. 25 of Handbook of Numerical Analysis, Elsevier, 2024, pp. 53–82, https://doi.org/10.1016/bs.hna.2024.05.002, https://www.sciencedirect.com/science/article/pii/S1570865924000024.

[5] S. L. BRUNTON, J. L. PROCTOR, AND J. N. KUTZ, Discovering governing equations from data by sparse identification of nonlinear dynamical systems, Proceedings of the National Academy of Sciences, 113

(2016), pp. 3932–3937, https://doi.org/10.1073/pnas.1517384113, http://www.pnas.org/lookup/doi/10.1073/pnas.1517384113 (accessed 2019-12-31).

[6] S. L. BRUNTON, J. L. PROCTOR, AND J. N. KUTZ, Sparse Identification of Nonlinear Dynamics with Control (SINDYc), IFAC-PapersOnLine, 49 (2016), pp. 710–715, https://doi.org/10.1016/j.ifacol.2016.10.249, https://linkinghub.elsevier.com/retrieve/pii/S2405896316318298 (accessed 2021-04-16).

[7] J. D. CARROLL AND J.-J. CHANG, Analysis of Individual Differences in Multidimensional Scaling Via an N-way Generalization of “Eckart-Young” Decomposition, Psychometrika, 35 (1970), pp. 283–319, https://doi.org/10.1007/BF02310791, https://www.cambridge.org/core/product/identifier/S003331230003951X/type/journal_article (accessed 2026-08-10).

[8] A. CHAWLA, D. M. BORTZ, AND V. DUKIC, Bias and Coverage Properties of the WENDy-IRLS Algorithm, in Handbook of Visual, Experimental and Computational Mathematics: Bridges through Data, B. Sriraman, ed., Springer Nature Switzerland, Cham, Oct. 2025, pp. 1–108, https://doi.org/10.1007/978-3-032-16368-4_86.

[9] M. FANNES, B. NACHTERGAELE, AND R. F. WERNER, Finitely correlated states on quantum spin chains, Communications in Mathematical Physics, 144 (1992), pp. 443–490, https://doi.org/10.1007/BF02099178, https://doi.org/10.1007/BF02099178.

[10] U. FASEL, J. N. KUTZ, B. W. BRUNTON, AND S. L. BRUNTON, Ensemble-SINDy: Robust sparse model discovery in the low-data, high-noise limit, with active learning and control, Proceedings of the Royal Society A: Mathematical, Physical and Engineering Sciences, 478 (2022), p. 20210904, https://doi.org/10.1098/rspa.2021.0904, https://royalsocietypublishing.org/doi/10.1098/rspa.2021.0904 (accessed 2022-04-20).

[11] P. GELSS, S. KLUS, J. EISERT, AND C. SCHÜTTE, Multidimensional Approximation of Nonlinear Dynamical Systems, Journal of Computational and Nonlinear Dynamics, 14 (2019), p. 061006, https://doi.org/10.1115/1.4043148, https://asmedigitalcollection.asme.org/computationalnonlinear/article/doi/10.1115/1.4043148/726935/Multidimensional-Approximation-of-Nonlinear (accessed 2026-02-08).

[12] D. R. GUREVICH, M. R. GOLDEN, P. A. K. REINBOLD, AND R. O. GRIGORIEV, Learning fluid physics from highly turbulent data using sparse physics-informed discovery of empirical relations (SPIDER), Journal of Fluid Mechanics, 996 (2024), p. A25, https://doi.org/10.1017/jfm.2024.813. arXiv:2105.00048 [nlin, physics:physics].

[13] W. HACKBUSCH, Numerical tensor calculus, Acta Numerica, 23 (2014), pp. 651–742, https://doi.org/10.1017/S0962492914000087, https://www.cambridge.org/core/product/identifier/S0962492914000087/type/journal_article (accessed 2025-11-19).

[14] N. HALKO, P. G. MARTINSSON, AND J. A. TROPP, Finding Structure with Randomness: Probabilistic Algorithms for Constructing Approximate Matrix Decompositions, SIAM Review, 53 (2011), pp. 217–288, https://doi.org/10.1137/090771806, http://epubs.siam.org/doi/abs/10.1137/090771806 (accessed 2014-11-12).

[15] R. A. HARSHMAN, Foundations of the PARAFAC procedure: Models and conditions for an "explanatory" multi-modal factor analysis, UCLA Working Papers in Phonetics, (1970).

[16] R. Y. HE AND S. H. KANG, PDE Identification Using Noise Adaptive Differentiation in Strong Form (S-IDENT), June 2026, https://doi.org/10.48550/arXiv.2606.31776, http://arxiv.org/abs/2606.31776 (accessed 2026-07-04). arXiv:2606.31776 [math.NA].

[17] X. HE, A. TRAN, D. M. BORTZ, AND Y. CHOI, Physics-informed active learning with simultaneous weak-form latent space dynamics identification, International Journal for Numerical Methods in Engineering, 126 (2025), p. e7634, https://doi.org/10.1002/nme.7634, http://arxiv.org/abs/2407.00337 (accessed 2024-07-04). arXiv:2407.00337 [cs, math].

[18] N. HEITZMAN-BREEN, V. DUKIC, AND D. M. BORTZ, A practical identifiability criterion leveraging weak-form parameter estimation, Bulletin of Mathematical Biology, 88 (2026), p. 70.

[19] F. L. HITCHCOCK, The Expression of a Tensor or a Polyadic as a Sum of Products, Journal of Mathematics and Physics, 6 (1927), pp. 164–189, https://doi.org/10.1002/sapm192761164, https://onlinelibrary.wiley.com/doi/10.1002/sapm192761164 (accessed 2026-07-21).

[20] M. HOFFMANN, C. FRÖHNER, AND F. NOÉ, Reactive SINDy: Discovering governing reactions from concentration data, The Journal of Chemical Physics, 150 (2019), p. 025101, https://doi.org/10.1063/1.5066099, http://aip.scitation.org/doi/10.1063/1.5066099 (accessed 2020-07-13).

[21] J. HÄSTAD, Tensor rank is NP-complete, Journal of Algorithms, 11 (1990), pp. 644–654, https://doi.org/10.1016/0196-6774(90)90014-6, https://www.sciencedirect.com/science/article/pii/0196677490900146.

[22] K. KAHEMAN, S. L. BRUNTON, AND J. N. KUTZ, Automatic differentiation to simultaneously identify nonlinear dynamics and extract noise probability distributions from data, Machine Learning: Science and Technology, 3 (2022), p. 015031, https://doi.org/10.1088/2632-2153/ac567a, https://iopscience.iop.org/article/10.1088/2632-2153/ac567a (accessed 2022-05-02).

[23] K. KAHEMAN, J. N. KUTZ, AND S. L. BRUNTON, SINDy-PI: a robust algorithm for parallel implicit sparse identification of nonlinear dynamics, Proceedings of the Royal Society A: Mathematical, Physical and Engineering Sciences, 476 (2020), p. 20200279, https://doi.org/10.1098/rspa.2020.0279, https://royalsocietypublishing.org/doi/10.1098/rspa.2020.0279 (accessed 2021-05-18).

[24] S. KLUS, P. GELSS, S. PEITZ, AND C. SCHÜTTE, Tensor-based dynamic mode decomposition, Nonlinearity, 31 (2018), p. 3359, https://doi.org/10.1088/1361-6544/aabc8f, https://doi.org/10.1088/1361-6544/aabc8f.

[25] T. G. KOLDA AND B. W. BADER, Tensor Decompositions and Applications, SIAM Review, 51 (2009), pp. 455–500, https://doi.org/10.1137/07070111X, https://epubs.siam.org/doi/10.1137/07070111X (accessed 2025-11-18).

[26] W. LIN, X. LU, AND L. ZHANG, Tensor-Based Data-Driven Identification of Partial Differential Equations, Journal of Computational and Nonlinear Dynamics, 19 (2024), p. 081005, https://doi.org/10.1115/1.4065691, https://doi.org/10.1115/1.4065691. eprint: https://asmedigitalcollection.asme.org/computationalnonlinear/article-pdf/19/8/081005/7350096/cnd_019_08_081005.pdf.

[27] J.-C. LOISEAU AND S. L. BRUNTON, Constrained sparse Galerkin regression, Journal of Fluid Mechanics, 838 (2018), pp. 42–67, https://doi.org/10.1017/jfm.2017.823, https://www.cambridge.org/core/product/identifier/S0022112017008230/type/journal_article (accessed 2021-11-10).

[28] R. LYONS, V. DUKIC, AND D. M. BORTZ, Learning structured population models from data with WSINDy, PLOS Computational Biology, 21 (2025), p. e1013742, https://doi.org/10.1371/journal.pcbi.1013742, https://dx.plos.org/10.1371/journal.pcbi.1013742 (accessed 2026-03-30).

[29] C. LÓPEZ, M. PARTRIDGE, S. D. PASCUALE, J. LORE, A. CHRISTLIEB, S. BECKER, AND D. M. BORTZ, WSINDy for Model Predictive Control with Applications to Fusion, Drones, and Chaos, arXiv:2604.23269, (2026), https://doi.org/10.48550/arXiv.2604.23269, http://arxiv.org/abs/2604.23269 (accessed 2026-04-28). arXiv:2604.23269 [math].

[30] N. M. MANGAN, S. L. BRUNTON, J. L. PROCTOR, AND J. N. KUTZ, Inferring Biological Networks by Sparse Identification of Nonlinear Dynamics, IEEE Transactions on Molecular, Biological and Multi-Scale Communications, 2 (2016), pp. 52–63, https://doi.org/10.1109/TMBMC.2016.2633265, http://ieeexplore.ieee.org/document/7809160/ (accessed 2019-10-27).

[31] D. MESSENGER, B. SOUTHWORTH, H. HAMMER, AND L. CHACON, Learning interpretable closures for thermal radiation transport in optically-thin media using WSINDy, Oct. 2025, https://doi.org/10.48550/arXiv.2510.11840, http://arxiv.org/abs/2510.11840 (accessed 2025-10-16). arXiv:2510.11840 [math].

[32] D. A. MESSENGER AND D. M. BORTZ, Weak SINDy for partial differential equations, Journal of Computational Physics, 443 (2021), p. 110525, https://doi.org/10.1016/j.jcp.2021.110525, https://linkinghub.elsevier.com/retrieve/pii/S0021999121004204 (accessed 2026-05-18).

[33] D. A. MESSENGER AND D. M. BORTZ, Weak SINDy: Galerkin-Based Data-Driven Model Selection, Multiscale Modeling & Simulation, 19 (2021), pp. 1474–1497, https://doi.org/10.1137/20M1343166, https://epubs.siam.org/doi/10.1137/20M1343166 (accessed 2026-05-18).

[34] D. A. MESSENGER, J. W. BURBY, AND D. M. BORTZ, Coarse-graining Hamiltonian systems using WSINDy, Scientific Reports, 14 (2024), p. 14457, https://doi.org/10.1038/s41598-024-64730-0, https://doi.org/10.1038/s41598-024-64730-0.

[35] D. A. MESSENGER, E. DALL'ANESE, AND D. M. BORTZ, Online Weak-form Sparse Identification of Partial Differential Equations, in Proceedings of The Third Mathematical and Scientific Machine Learning Conference, vol. 190 of Proceedings of Machine Learning Research, PMLR, 2022, pp. 241–256.

[36] D. A. MESSENGER, A. TRAN, V. DUKIC, AND D. M. BORTZ, The Weak Form Is Stronger Than You Think, SIAM News, 57 (2024), https://www.siam.org/publications/siam-news/articles/ the-weak-form-is-stronger-than-you-think/.

[37] S. MINOR, B. D. ELDERD, D. M. BORTZ, AND V. DUKIC, Weak Form Learning for Mean-Field Partial Differential Equations: an Application to Insect Movement, SIAM Journal on Life Sciences, 1 (2026), pp. 444–484, https://doi.org/10.1137/25M1812038.

[38] S. MINOR, D. A. MESSENGER, V. DUKIC, AND D. M. BORTZ, Learning Physically Interpretable Atmospheric Models From Data With WSINDy, Journal of Geophysical Research: Machine Learning and Computation, 2 (2025), p. e2025JH000602, https://doi.org/10.1029/2025JH000602, https://agupubs.onlinelibrary.wiley.com/doi/10.1029/2025JH000602 (accessed 2026-02-11).

[39] J. T. NARDINI AND D. M. BORTZ, The influence of numerical error on parameter estimation and uncertainty quantification for advective PDE models, Inverse Problems, 35 (2019), p. 065003, https://doi.org/10.1088/1361-6420/ab10bb, https://iopscience.iop.org/article/10.1088/1361-6420/ab10bb (accessed 2026-08-10).

[40] I. V. OSELEDETS, Tensor-Train Decomposition, SIAM Journal on Scientific Computing, 33 (2011), pp. 2295–2317, https://doi.org/10.1137/090752286, https://doi.org/10.1137/090752286. _eprint: https://doi.org/10.1137/090752286.

[41] Y. PANTAZIS AND I. TSAMARDINOS, A unified approach for sparse dynamical system inference from temporal measurements, Bioinformatics, 35 (2019), pp. 3387–3396, https://doi.org/10.1093/bioinformatics/btz065, https://academic.oup.com/bioinformatics/article/35/18/3387/5305020 (accessed 2021-04-13).

[42] J. POPA, S. E. MINKOFF, AND Y. LOU, An improved seismic data completion algorithm using low-rank tensor optimization: Cost reduction and optimal data orientation, Geophysics, 86 (2021), pp. V219–V232, https://doi.org/10.1190/geo2020-0539.1, https://pubs.geoscienceworld.org/geophysics/article/86/3/V219/596365/An-improved-seismic-data-completion-algorithm (accessed 2026-08-10).

[43] S. H. RUDY, S. L. BRUNTON, J. L. PROCTOR, AND J. N. KUTZ, Data-driven discovery of partial differential equations, Science Advances, 3 (2017), p. e1602614, https://doi.org/10.1126/sciadv.1602614, http://advances.sciencemag.org/lookup/doi/10.1126/sciadv.1602614 (accessed 2019-06-08).

[44] N. RUMMEL, D. A. MESSENGER, S. BECKER, V. DUKIC, AND D. M. BORTZ, Weak form Estimation of Nonlinear Dynamics (WENDy) for Nonlinear-in-Parameters ODEs, SIAM Journal on Scientific Computing, (2026).

[45] H. SCHAEFFER AND S. G. MCCALLA, Sparse model selection via integral terms, Physical Review E, 96 (2017), p. 023302, https://doi.org/10.1103/PhysRevE.96.023302, http://link.aps.org/doi/10.1103/PhysRevE.96.023302 (accessed 2026-08-10).

[46] M. SHINBROT, On the analysis of linear and nonlinear dynamical systems for transient-response data, Tech. Report NACA TN 3288, Ames Aeronautical Laboratory, Moffett Field, CA, Dec. 1954.

[47] M. TIAN, D. A. MESSENGER, V. DUKIC, N. RODRÍGUEZ, AND D. M. BORTZ, Learning effective models from network dynamics data with multiple initial conditions using weak form SINDy, arXiv:2605.30432, (2026), https://doi.org/10.48550/ARXIV.2605.30432, https://arxiv.org/abs/2605.30432 (accessed 2026-06-01). Version Number: 1.

[48] A. TRAN AND D. M. BORTZ, Weak Form Scientific Machine Learning: Test Function Construction for System Identification, SIAM Journal on Scientific Computing, 48 (2026), pp. C890–C915.

[49] A. TRAN, X. HE, D. A. MESSENGER, Y. CHOI, AND D. M. BORTZ, Weak-Form Latent Space Dynamics Identification, Computer Methods in Applied Mechanics and Engineering, 427 (2024), p. 116998, https://doi.org/10.1016/j.cma.2024.116998.

[50] L. R. TUCKER, Implications of factor analysis of three-way matrices for measurement of change, in Problems in measuring change., C. W. Harris, ed., University of Wisconsin Press, Madison WI, 1963, pp. 122–137.

[51] F. VAN BREUGEL, J. N. KUTZ, AND B. W. BRUNTON, Numerical Differentiation of Noisy Data: A Unifying Multi-Objective Optimization Framework, IEEE Access, 8 (2020), pp. 196865–196877, https://doi.org/10.1109/ACCESS.2020.3034077, https://ieeexplore.ieee.org/document/9241009/ (accessed 2024-06-20).

[52] G. VASEY, D. MESSENGER, D. BORTZ, A. CHRISTLIEB, AND B. O'SHEA, Influence of initial conditions on data-driven model identification and information entropy for ideal mhd problems, Journal of Computational Physics, 524 (2025), p. 113719, https://doi.org/10.1016/j.jcp.2025.113719, https://linkinghub.elsevier.com/retrieve/pii/S0021999125000026 (accessed 2026-06-04).

[53] R. R. W. WANG AND D. A. MESSENGER, Physics-guided weak-form discovery of reduced-order models for trapped ultracold hydrodynamics, Physical Review A, 111 (2025), p. 033311, https://doi.org/10.1103/PhysRevA.111.033311, https://link.aps.org/doi/10.1103/PhysRevA.111.033311 (accessed 2025-03-19).

[54] Z. WANG, X. HUAN, AND K. GARIKIPATI, Variational system identification of the partial differential equations governing microstructure evolution in materials: Inference over sparse and spatially unrelated data, arXiv:2001.04816, (2020), http://arxiv.org/abs/2001.04816 (accessed 2020-08-02). arXiv:2001.04816.

[55] J. WENTZ AND A. DOOSTAN, Derivative-based SINDy (DSINDy): Addressing the challenge of discovering governing equations from noisy data, Computer Methods in Applied Mechanics and Engineering, 413 (2023), p. 116096, https://doi.org/10.1016/j.cma.2023.116096, https://linkinghub.elsevier.com/retrieve/pii/S0045782523002207 (accessed 2023-11-19).

[56] L. ZHANG AND A. SINGER, Robust moment-based estimation via spectral gradient reweighting, 2026, https://arxiv.org/abs/2605.27718, https://arxiv.org/abs/2605.27718.

References (39)