On Complexity of Stability Analysis in Higher-order Ecological Networks through Tensor Decompositions

Anqi Dong1 and Can Chen2 1Anqi Dong is with the Department of Mechanical and Aerospace Engineering, University of California, Irvine, Irvine, CA 92617, USA. anqid2@uci.edu2Can Chen is with the School of Data Science and Society and the Department of Mathematics, University of North Carolina at Chapel Hill, Chapel Hill, NC 27599, USA. canc@unc.edu
Abstract

Complex ecological networks are often characterized by intricate interactions that extend beyond pairwise relationships. Understanding the stability of higher-order ecological networks is salient for species coexistence, biodiversity, and community persistence. In this article, we present complexity analyses for determining the linear stability of higher-order ecological networks through tensor decompositions. We are interested in the higher-order generalized Lotka-Volterra model, which captures high-order interactions using tensors of varying orders. To efficiently compute Jacobian matrices and thus determine stability in large ecological networks, we exploit various tensor decompositions, including higher-order singular value decomposition, Canonical Polyadic decomposition, and tensor train decomposition, accompanied by in-depth computational and memory complexity analyses. We demonstrate the effectiveness of our framework with numerical examples.

Index Terms:
Linear stability, Jacobian matrices, ecological networks, higher-order interactions, tensor decomposition.

I Introduction

Modeling complex systems and predicting their long-term behavior have drawn significant attention across diverse fields, including mathematics, physics, biology, and social science [29, 18]. Network representations, which assign individual components to nodes and their connections to edges, are widely used to characterize complex systems. They place a specific emphasis on understanding the influence of interactions, quantified by the edge weights, as in weighted Laplacian or adjacency matrices. Networks have been proven to be powerful tools in system modeling, with numerous works on related system-theoretic properties such as stability, controllability, and observability.

However, a comprehensive understanding of system characterizations with high-order interactions remains elusive. High-order interactions occur among a group of individual components, and thus can have a significant aggregated effect on the system, whereas standard networks only consider pairwise connections. To address this challenge, high-order networks (i.e., hypergraphs, see Fig. 1) and their tensorial representations are increasingly being used to model complex real-world systems, where adjacency coefficients can be defined on sets of nodes. Tensors, which are multidimensional arrays [22, 15, 26], have found applications across a wide array of fields, including dynamical systems [11, 13, 9], signal processing [27, 14], network science [10, 12, 31], data analysis [32], and more [30].

Not only can the static status of higher-order networks be studied, but also their long-standing interests in stability and state evolution. The associated dynamical system is thus composed of pairwise interaction matrix and high-order interaction tensors. Specifically, we are dealing with complex ecological networks, where the most commonly used model is known as the generalized Lotka–Volterra (GLV) model [7, 8]. It is defined as

x˙=x[r+Ax],˙xxdelimited-[]rAx\dot{\textbf{x}}=\textbf{x}*\Big{[}\textbf{r}+\textbf{A}\textbf{x}\Big{]},over˙ start_ARG x end_ARG = x ∗ [ r + bold_A bold_x ] , (1)

where xnxsuperscript𝑛\textbf{x}\in\mathbb{R}^{n}x ∈ blackboard_R start_POSTSUPERSCRIPT italic_n end_POSTSUPERSCRIPT represents species abundance, rnrsuperscript𝑛\textbf{r}\in\mathbb{R}^{n}r ∈ blackboard_R start_POSTSUPERSCRIPT italic_n end_POSTSUPERSCRIPT is the vector of intrinsic growth rate, and An×nAsuperscript𝑛𝑛\textbf{A}\in\mathbb{R}^{n\times n}A ∈ blackboard_R start_POSTSUPERSCRIPT italic_n × italic_n end_POSTSUPERSCRIPT is the interaction matrix whose off-diagonal element AijsubscriptA𝑖𝑗\textbf{A}_{ij}A start_POSTSUBSCRIPT italic_i italic_j end_POSTSUBSCRIPT represents the effect of species j𝑗jitalic_j upon species i𝑖iitalic_i. Throughout, we use * to denote element-wise multiplication.

Numerous linear stability results have been developed for the GLV model by characterizing its community matrix (Jacobian matrix) [24, 2]. In reality, species interactions often emerge in higher-order combinations, where the relationship between two species is influenced by one or more additional species [5]. Although the importance of high-order interactions has been recognized, their impact on the stability of ecological systems has not been fully understood. Existing findings are preliminary, most of which focus on numerical simulations [20, 28].

We are particularly interested in the higher-order generalized Lotka–Volterra (HOGLV) model, designed to represent higher-order interactions within intricate ecological networks. Computing the Jacobian matrices for such high-order systems is challenging due to the curse of dimensionality, i.e., the size of variables increases exponentially with the dimensionality. To address this challenge, we propose a framework, leveraging from various tensor decompositions, including higher-order singular value decomposition (HOSVD), Canonical Polyadic decomposition (CPD), and tensor train decomposition (TTD), to improve both memory and computational efficiency in the computation of Jacobian matrix for the HOGLV model.

The article is organized as follows. In Section II, we begin with preliminaries on basic tensors. In Section III, we introduce the HOGLV model and represent it in the HOSVD, CPD, and TTD forms with memory complexity analyses. In Section IV, we derive the Jacobian matrix of the HOGLV model and offer a computational complexity analysis for each tensor decomposition-based representation. Finally, we conclude our work with discussions on future directions in Section VI.

II Tensor Preliminaries

The order of a tensor is defined as the number of its dimensions, with each dimension referred to as a mode. A p𝑝pitalic_pth-order tensor can be denoted by 𝒯n1×n2××np𝒯superscriptsubscript𝑛1subscript𝑛2subscript𝑛𝑝\mathcal{T}\in\mathbb{R}^{n_{1}\times n_{2}\times\dots\times n_{p}}caligraphic_T ∈ blackboard_R start_POSTSUPERSCRIPT italic_n start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT × italic_n start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT × ⋯ × italic_n start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT end_POSTSUPERSCRIPT. The tensor vector multiplication 𝒯×qvsubscript𝑞𝒯v\mathcal{T}\times_{q}\textbf{v}caligraphic_T × start_POSTSUBSCRIPT italic_q end_POSTSUBSCRIPT v along mode q𝑞qitalic_q for a vector vnqvsuperscriptsubscript𝑛𝑞\textbf{v}\in\mathbb{R}^{n_{q}}v ∈ blackboard_R start_POSTSUPERSCRIPT italic_n start_POSTSUBSCRIPT italic_q end_POSTSUBSCRIPT end_POSTSUPERSCRIPT is defined as [𝒯×qv]i1i2iq1iq+1ip:=iq=1nq𝒯i1i2iqipviq.assignsubscriptdelimited-[]subscript𝑞𝒯vsubscript𝑖1subscript𝑖2subscript𝑖𝑞1subscript𝑖𝑞1subscript𝑖𝑝superscriptsubscriptsubscript𝑖𝑞1subscript𝑛𝑞subscript𝒯subscript𝑖1subscript𝑖2subscript𝑖𝑞subscript𝑖𝑝subscriptvsubscript𝑖𝑞[\mathcal{T}\times_{q}\textbf{v}]_{i_{1}i_{2}\dots i_{q-1}i_{q+1}\dots i_{p}}:% =\sum_{i_{q}=1}^{n_{q}}\mathcal{T}_{i_{1}i_{2}\dots i_{q}\dots i_{p}}\textbf{v% }_{i_{q}}.[ caligraphic_T × start_POSTSUBSCRIPT italic_q end_POSTSUBSCRIPT v ] start_POSTSUBSCRIPT italic_i start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT italic_i start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT … italic_i start_POSTSUBSCRIPT italic_q - 1 end_POSTSUBSCRIPT italic_i start_POSTSUBSCRIPT italic_q + 1 end_POSTSUBSCRIPT … italic_i start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT end_POSTSUBSCRIPT := ∑ start_POSTSUBSCRIPT italic_i start_POSTSUBSCRIPT italic_q end_POSTSUBSCRIPT = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_n start_POSTSUBSCRIPT italic_q end_POSTSUBSCRIPT end_POSTSUPERSCRIPT caligraphic_T start_POSTSUBSCRIPT italic_i start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT italic_i start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT … italic_i start_POSTSUBSCRIPT italic_q end_POSTSUBSCRIPT … italic_i start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT end_POSTSUBSCRIPT v start_POSTSUBSCRIPT italic_i start_POSTSUBSCRIPT italic_q end_POSTSUBSCRIPT end_POSTSUBSCRIPT . The tensor matrix multiplication 𝒯×qMsubscript𝑞𝒯M\mathcal{T}\times_{q}\textbf{M}caligraphic_T × start_POSTSUBSCRIPT italic_q end_POSTSUBSCRIPT M along mode q𝑞qitalic_q for a matrix Mm×nqMsuperscript𝑚subscript𝑛𝑞\textbf{M}\in\mathbb{R}^{m\times n_{q}}M ∈ blackboard_R start_POSTSUPERSCRIPT italic_m × italic_n start_POSTSUBSCRIPT italic_q end_POSTSUBSCRIPT end_POSTSUPERSCRIPT is defined as [𝒯×qM]i1i2iq1jiq+1ip:=iq=1nq𝒯i1i2iqipMjiq.assignsubscriptdelimited-[]subscript𝑞𝒯Msubscript𝑖1subscript𝑖2subscript𝑖𝑞1𝑗subscript𝑖𝑞1subscript𝑖𝑝superscriptsubscriptsubscript𝑖𝑞1subscript𝑛𝑞subscript𝒯subscript𝑖1subscript𝑖2subscript𝑖𝑞subscript𝑖𝑝subscriptM𝑗subscript𝑖𝑞[\mathcal{T}\times_{q}\textbf{M}]_{i_{1}i_{2}\dots i_{q-1}ji_{q+1}\dots i_{p}}% :=\sum_{i_{q}=1}^{n_{q}}\mathcal{T}_{i_{1}i_{2}\dots i_{q}\dots i_{p}}\textbf{% M}_{ji_{q}}.[ caligraphic_T × start_POSTSUBSCRIPT italic_q end_POSTSUBSCRIPT M ] start_POSTSUBSCRIPT italic_i start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT italic_i start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT … italic_i start_POSTSUBSCRIPT italic_q - 1 end_POSTSUBSCRIPT italic_j italic_i start_POSTSUBSCRIPT italic_q + 1 end_POSTSUBSCRIPT … italic_i start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT end_POSTSUBSCRIPT := ∑ start_POSTSUBSCRIPT italic_i start_POSTSUBSCRIPT italic_q end_POSTSUBSCRIPT = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_n start_POSTSUBSCRIPT italic_q end_POSTSUBSCRIPT end_POSTSUPERSCRIPT caligraphic_T start_POSTSUBSCRIPT italic_i start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT italic_i start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT … italic_i start_POSTSUBSCRIPT italic_q end_POSTSUBSCRIPT … italic_i start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT end_POSTSUBSCRIPT M start_POSTSUBSCRIPT italic_j italic_i start_POSTSUBSCRIPT italic_q end_POSTSUBSCRIPT end_POSTSUBSCRIPT .

In the following, we introduce three key tensor decompositions utilized in this article:

  • The higher-order singular value decomposition (HOSVD) [15] of 𝒯n1×n2××np𝒯superscriptsubscript𝑛1subscript𝑛2subscript𝑛𝑝\mathcal{T}\in\mathbb{R}^{n_{1}\times n_{2}\times\dots\times n_{p}}caligraphic_T ∈ blackboard_R start_POSTSUPERSCRIPT italic_n start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT × italic_n start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT × ⋯ × italic_n start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT end_POSTSUPERSCRIPT is defined as

    𝒯𝒮×1U1×2U2×3×pUp,𝒯subscript𝑝subscript3subscript2subscript1𝒮subscriptU1subscriptU2subscriptU𝑝\mathcal{T}\approx\mathcal{S}\times_{1}\textbf{U}_{1}\times_{2}\textbf{U}_{2}% \times_{3}\cdots\times_{p}\textbf{U}_{p},caligraphic_T ≈ caligraphic_S × start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT U start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT × start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT U start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT × start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT ⋯ × start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT U start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT , (2)

    where 𝒮r1×r2××rp𝒮superscriptsubscript𝑟1subscript𝑟2subscript𝑟𝑝\mathcal{S}\in\mathbb{R}^{r_{1}\times r_{2}\times\dots\times r_{p}}caligraphic_S ∈ blackboard_R start_POSTSUPERSCRIPT italic_r start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT × italic_r start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT × ⋯ × italic_r start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT end_POSTSUPERSCRIPT represents the core tensor, and Uqnq×rpsubscriptU𝑞superscriptsubscript𝑛𝑞subscript𝑟𝑝\textbf{U}_{q}\in\mathbb{R}^{n_{q}\times r_{p}}U start_POSTSUBSCRIPT italic_q end_POSTSUBSCRIPT ∈ blackboard_R start_POSTSUPERSCRIPT italic_n start_POSTSUBSCRIPT italic_q end_POSTSUBSCRIPT × italic_r start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT end_POSTSUPERSCRIPT are the factor matrices containing orthonormal columns for q=1,2,,p𝑞12𝑝q=1,2,\dots,pitalic_q = 1 , 2 , … , italic_p. For simplicity, we may rewrite (2) in a more compact form, i.e., 𝒯𝒮×12p{U1,U2,,Up}.𝒯subscript12𝑝𝒮subscriptU1subscriptU2subscriptU𝑝\mathcal{T}\approx\mathcal{S}\times_{12\cdots p}\{\textbf{U}_{1},\textbf{U}_{2% },\dots,\textbf{U}_{p}\}.caligraphic_T ≈ caligraphic_S × start_POSTSUBSCRIPT 12 ⋯ italic_p end_POSTSUBSCRIPT { U start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , U start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , … , U start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT } . The computation of HOSVD is numerically stable and can offer a quasi-optimal approximation.

  • The Canonical Polyadic decomposition (CPD) [22] of 𝒯n1×n2××np𝒯superscriptsubscript𝑛1subscript𝑛2subscript𝑛𝑝\mathcal{T}\in\mathbb{R}^{n_{1}\times n_{2}\times\dots\times n_{p}}caligraphic_T ∈ blackboard_R start_POSTSUPERSCRIPT italic_n start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT × italic_n start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT × ⋯ × italic_n start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT end_POSTSUPERSCRIPT is defined as

    𝒯i=1r[T1]:i[T2]:i[Tp]:i,𝒯superscriptsubscript𝑖1𝑟subscriptdelimited-[]subscriptT1:absent𝑖subscriptdelimited-[]subscriptT2:absent𝑖subscriptdelimited-[]subscriptT𝑝:absent𝑖\mathcal{T}\approx\sum_{i=1}^{r}[\textbf{T}_{1}]_{:i}\circ[\textbf{T}_{2}]_{:i% }\circ\cdots\circ[\textbf{T}_{p}]_{:i},caligraphic_T ≈ ∑ start_POSTSUBSCRIPT italic_i = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_r end_POSTSUPERSCRIPT [ T start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ] start_POSTSUBSCRIPT : italic_i end_POSTSUBSCRIPT ∘ [ T start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ] start_POSTSUBSCRIPT : italic_i end_POSTSUBSCRIPT ∘ ⋯ ∘ [ T start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT ] start_POSTSUBSCRIPT : italic_i end_POSTSUBSCRIPT , (3)

    where Tqnq×rsubscriptT𝑞superscriptsubscript𝑛𝑞𝑟\textbf{T}_{q}\in\mathbb{R}^{n_{q}\times r}T start_POSTSUBSCRIPT italic_q end_POSTSUBSCRIPT ∈ blackboard_R start_POSTSUPERSCRIPT italic_n start_POSTSUBSCRIPT italic_q end_POSTSUBSCRIPT × italic_r end_POSTSUPERSCRIPT are the factor matrices for q=1,2,,p𝑞12𝑝q=1,2,\dots,pitalic_q = 1 , 2 , … , italic_p, and r𝑟ritalic_r is called the CP rank of 𝒯𝒯\mathcal{T}caligraphic_T if it is the minimum integer achieving the decomposition. We use \circ to denote the outer product. This is because CPD is not numerically stable. Moreover, the low-rank approximation of CPD is ill-posed.

  • The tensor train decomposition (TTD) [26] of 𝒯n1×n2××np𝒯superscriptsubscript𝑛1subscript𝑛2subscript𝑛𝑝\mathcal{T}\in\mathbb{R}^{n_{1}\times n_{2}\times\dots\times n_{p}}caligraphic_T ∈ blackboard_R start_POSTSUPERSCRIPT italic_n start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT × italic_n start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT × ⋯ × italic_n start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT end_POSTSUPERSCRIPT is defined as

    𝒯i0=1r0ip=1rp[𝒯1]i0:i1[𝒯2]i1:i2[𝒯p]ip1:ip,𝒯superscriptsubscriptsubscript𝑖01subscript𝑟0superscriptsubscriptsubscript𝑖𝑝1subscript𝑟𝑝subscriptdelimited-[]subscript𝒯1:subscript𝑖0subscript𝑖1subscriptdelimited-[]subscript𝒯2:subscript𝑖1subscript𝑖2subscriptdelimited-[]subscript𝒯𝑝:subscript𝑖𝑝1subscript𝑖𝑝\mathcal{T}\approx\sum_{i_{0}=1}^{r_{0}}\cdots\sum_{i_{p}=1}^{r_{p}}[\mathcal{% T}_{1}]_{i_{0}:i_{1}}\circ[\mathcal{T}_{2}]_{i_{1}:i_{2}}\circ\cdots\circ[% \mathcal{T}_{p}]_{i_{p-1}:i_{p}},caligraphic_T ≈ ∑ start_POSTSUBSCRIPT italic_i start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_r start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT end_POSTSUPERSCRIPT ⋯ ∑ start_POSTSUBSCRIPT italic_i start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_r start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT end_POSTSUPERSCRIPT [ caligraphic_T start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ] start_POSTSUBSCRIPT italic_i start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT : italic_i start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT end_POSTSUBSCRIPT ∘ [ caligraphic_T start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ] start_POSTSUBSCRIPT italic_i start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT : italic_i start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT end_POSTSUBSCRIPT ∘ ⋯ ∘ [ caligraphic_T start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT ] start_POSTSUBSCRIPT italic_i start_POSTSUBSCRIPT italic_p - 1 end_POSTSUBSCRIPT : italic_i start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT end_POSTSUBSCRIPT , (4)

    where 𝒯qrq1×nq×rqsubscript𝒯𝑞superscriptsubscript𝑟𝑞1subscript𝑛𝑞subscript𝑟𝑞\mathcal{T}_{q}\in\mathbb{R}^{r_{q-1}\times n_{q}\times r_{q}}caligraphic_T start_POSTSUBSCRIPT italic_q end_POSTSUBSCRIPT ∈ blackboard_R start_POSTSUPERSCRIPT italic_r start_POSTSUBSCRIPT italic_q - 1 end_POSTSUBSCRIPT × italic_n start_POSTSUBSCRIPT italic_q end_POSTSUBSCRIPT × italic_r start_POSTSUBSCRIPT italic_q end_POSTSUBSCRIPT end_POSTSUPERSCRIPT are the third-order core tensors for q=1,2,,p𝑞12𝑝q=1,2,\dots,pitalic_q = 1 , 2 , … , italic_p, and {r0,r1,,rp}subscript𝑟0subscript𝑟1subscript𝑟𝑝\{r_{0},r_{1},\dots,r_{p}\}{ italic_r start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT , italic_r start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , … , italic_r start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT } is the set of TT-ranks with r0=rp=1subscript𝑟0subscript𝑟𝑝1r_{0}=r_{p}=1italic_r start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT = italic_r start_POSTSUBSCRIPT italic_p end_POSTSUBSCRIPT = 1. Similar to HOSVD, TTD is numerically stable and its low-rank approximation is quasi-optimal. Importantly, TTD is more efficient than HOSVD in both computation and memory.

III The HOGLV Model

The dynamics of complex ecological networks with higher-order interactions are often characterized by the higher-order generalized Lotka–Volterra (HOGLV) model [5, 1, 28], i.e.,

x˙i=xi[ri+j=1nAijxj+j=1nk=1nijkxjxk+j=1nk=1nl=1n𝒞ijklxjxkxl+]subscript˙𝑥𝑖subscript𝑥𝑖delimited-[]subscript𝑟𝑖superscriptsubscript𝑗1𝑛subscriptA𝑖𝑗subscript𝑥𝑗superscriptsubscript𝑗1𝑛superscriptsubscript𝑘1𝑛subscript𝑖𝑗𝑘subscript𝑥𝑗subscript𝑥𝑘superscriptsubscript𝑗1𝑛superscriptsubscript𝑘1𝑛superscriptsubscript𝑙1𝑛subscript𝒞𝑖𝑗𝑘𝑙subscript𝑥𝑗subscript𝑥𝑘subscript𝑥𝑙\begin{split}\dot{x}_{i}&=x_{i}\Big{[}r_{i}+\sum_{j=1}^{n}\textbf{A}_{ij}x_{j}% +\sum_{j=1}^{n}\sum_{k=1}^{n}\mathcal{B}_{ijk}x_{j}x_{k}\\ &+\sum_{j=1}^{n}\sum_{k=1}^{n}\sum_{l=1}^{n}\mathcal{C}_{ijkl}x_{j}x_{k}x_{l}+% \cdots\Big{]}\end{split}start_ROW start_CELL over˙ start_ARG italic_x end_ARG start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT end_CELL start_CELL = italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT [ italic_r start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT + ∑ start_POSTSUBSCRIPT italic_j = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_n end_POSTSUPERSCRIPT A start_POSTSUBSCRIPT italic_i italic_j end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT + ∑ start_POSTSUBSCRIPT italic_j = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_n end_POSTSUPERSCRIPT ∑ start_POSTSUBSCRIPT italic_k = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_n end_POSTSUPERSCRIPT caligraphic_B start_POSTSUBSCRIPT italic_i italic_j italic_k end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL + ∑ start_POSTSUBSCRIPT italic_j = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_n end_POSTSUPERSCRIPT ∑ start_POSTSUBSCRIPT italic_k = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_n end_POSTSUPERSCRIPT ∑ start_POSTSUBSCRIPT italic_l = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_n end_POSTSUPERSCRIPT caligraphic_C start_POSTSUBSCRIPT italic_i italic_j italic_k italic_l end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_k end_POSTSUBSCRIPT italic_x start_POSTSUBSCRIPT italic_l end_POSTSUBSCRIPT + ⋯ ] end_CELL end_ROW (5)

for i=1,2,,n𝑖12𝑛i=1,2,\dots,nitalic_i = 1 , 2 , … , italic_n, where risubscript𝑟𝑖r_{i}italic_r start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT is the intrinsic growth rate for species i𝑖iitalic_i, An×nAsuperscript𝑛𝑛\textbf{A}\in\mathbb{R}^{n\times n}A ∈ blackboard_R start_POSTSUPERSCRIPT italic_n × italic_n end_POSTSUPERSCRIPT is the interaction matrix whose off-diagonal elements AijsubscriptA𝑖𝑗\textbf{A}_{ij}A start_POSTSUBSCRIPT italic_i italic_j end_POSTSUBSCRIPT represent the effect of species j𝑗jitalic_j upon species i𝑖iitalic_i, n×n×nsuperscript𝑛𝑛𝑛\mathcal{B}\in\mathbb{R}^{n\times n\times n}caligraphic_B ∈ blackboard_R start_POSTSUPERSCRIPT italic_n × italic_n × italic_n end_POSTSUPERSCRIPT is the third-order interaction tensor whose off-diagonal elements represent the effect that species j𝑗jitalic_j and k𝑘kitalic_k has upon species i𝑖iitalic_i, and 𝒞n×n×n×n𝒞superscript𝑛𝑛𝑛𝑛\mathcal{C}\in\mathbb{R}^{n\times n\times n\times n}caligraphic_C ∈ blackboard_R start_POSTSUPERSCRIPT italic_n × italic_n × italic_n × italic_n end_POSTSUPERSCRIPT is the fourth-order interaction tensor whose off-diagonal elements represent the effect that species j𝑗jitalic_j, k𝑘kitalic_k, l𝑙litalic_l has upon species i𝑖iitalic_i. In fact, the HOGLV model belongs to the family of polynomial dynamical systems.

Refer to caption
Figure 1: High-order network representation of an ecological system with seven species, where interactions can occur between pairs or groups of nodes, and can be positive or negative.

Alternatively, we may rewrite the system of the differential equations (5) into the vector form using tensor products, which is x˙=x[r+Ax+×23{x,x}+𝒞×234{x,x,x}+].˙xxdelimited-[]rAxsubscript23xxsubscript234𝒞xxx\dot{\textbf{x}}=\textbf{x}*[\textbf{r}+\textbf{A}\textbf{x}+\mathcal{B}\times% _{23}\{\textbf{x},\textbf{x}\}+\mathcal{C}\times_{234}\{\textbf{x},\textbf{x},% \textbf{x}\}+\cdots].over˙ start_ARG x end_ARG = x ∗ [ r + bold_A bold_x + caligraphic_B × start_POSTSUBSCRIPT 23 end_POSTSUBSCRIPT { x , x } + caligraphic_C × start_POSTSUBSCRIPT 234 end_POSTSUBSCRIPT { x , x , x } + ⋯ ] . The total number of the model parameters in HOGLV model, whose maximum interaction order is M𝑀Mitalic_M, can be estimated as MCfull𝒪(nM)similar-tosubscriptMCfull𝒪superscript𝑛𝑀\text{MC}_{\text{full}}\sim\mathcal{O}(n^{M})MC start_POSTSUBSCRIPT full end_POSTSUBSCRIPT ∼ caligraphic_O ( italic_n start_POSTSUPERSCRIPT italic_M end_POSTSUPERSCRIPT ). It can be directly seen that the M𝑀Mitalic_Mth-order interaction tensor has at most nMsuperscript𝑛𝑀n^{M}italic_n start_POSTSUPERSCRIPT italic_M end_POSTSUPERSCRIPT entries. Obviously, the memory complexity scales exponentially with the maximum order of interactions M𝑀Mitalic_M. For large ecological networks with higher-order interactions, it will be challenging to handle the full representation due to severe memory limitations. In the following, we represent the HOGLV model in various tensor decomposition forms.

III-A HOSVD-based Representation

We first consider applying HOSVD to the interaction tensors to derive a HOSVD-based representation of the HOGLV model.

Proposition 1: Suppose that HOSVDs of interaction tensors n×n×nsuperscript𝑛𝑛𝑛\mathcal{B}\in\mathbb{R}^{n\times n\times n}caligraphic_B ∈ blackboard_R start_POSTSUPERSCRIPT italic_n × italic_n × italic_n end_POSTSUPERSCRIPT and 𝒞n×n×n×n𝒞superscript𝑛𝑛𝑛𝑛\mathcal{C}\in\mathbb{R}^{n\times n\times n\times n}caligraphic_C ∈ blackboard_R start_POSTSUPERSCRIPT italic_n × italic_n × italic_n × italic_n end_POSTSUPERSCRIPT are provided as 0×123{B1,B2,B3} and 𝒞𝒞0×1234{C1,C2,C3,C4},subscript123subscript0subscriptB1subscriptB2subscriptB3 and 𝒞subscript1234subscript𝒞0subscriptC1subscriptC2subscriptC3subscriptC4\mathcal{B}\approx\mathcal{B}_{0}\times_{123}\{\textbf{B}_{1},\textbf{B}_{2},% \textbf{B}_{3}\}\text{ and }\mathcal{C}\approx\mathcal{C}_{0}\times_{1234}\{% \textbf{C}_{1},\textbf{C}_{2},\textbf{C}_{3},\textbf{C}_{4}\},caligraphic_B ≈ caligraphic_B start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT × start_POSTSUBSCRIPT 123 end_POSTSUBSCRIPT { B start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , B start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , B start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT } and caligraphic_C ≈ caligraphic_C start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT × start_POSTSUBSCRIPT 1234 end_POSTSUBSCRIPT { C start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , C start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , C start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT , C start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT } , where 0b1×b2×b3subscript0superscriptsubscript𝑏1subscript𝑏2subscript𝑏3\mathcal{B}_{0}\in\mathbb{R}^{b_{1}\times b_{2}\times b_{3}}caligraphic_B start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT ∈ blackboard_R start_POSTSUPERSCRIPT italic_b start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT × italic_b start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT × italic_b start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT end_POSTSUPERSCRIPT and 𝒞0c1×c2×c3×c4subscript𝒞0superscriptsubscript𝑐1subscript𝑐2subscript𝑐3subscript𝑐4\mathcal{C}_{0}\in\mathbb{R}^{c_{1}\times c_{2}\times c_{3}\times c_{4}}caligraphic_C start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT ∈ blackboard_R start_POSTSUPERSCRIPT italic_c start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT × italic_c start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT × italic_c start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT × italic_c start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT end_POSTSUPERSCRIPT are the core tensors with associated factor matrices Bin×bisubscriptB𝑖superscript𝑛subscript𝑏𝑖\textbf{B}_{i}\in\mathbb{R}^{n\times b_{i}}B start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ∈ blackboard_R start_POSTSUPERSCRIPT italic_n × italic_b start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT end_POSTSUPERSCRIPT and Cin×cisubscriptC𝑖superscript𝑛subscript𝑐𝑖\textbf{C}_{i}\in\mathbb{R}^{n\times c_{i}}C start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ∈ blackboard_R start_POSTSUPERSCRIPT italic_n × italic_c start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT end_POSTSUPERSCRIPT, respectively. The HOSVD-based representation of the HOGLV model can be computed as

x˙=x[r+Ax+0×123{B1,B2x,B3x}+𝒞0×1234{C1,C2x,C3x,C4x}+].˙xxdelimited-[]rAxsubscript123subscript0subscriptB1superscriptsubscriptB2topxsuperscriptsubscriptB3topxsubscript1234subscript𝒞0subscriptC1superscriptsubscriptC2topxsuperscriptsubscriptC3topxsuperscriptsubscriptC4topx\begin{split}\dot{\textbf{x}}&=\textbf{x}*\Big{[}\textbf{r}+\textbf{A}\textbf{% x}+\mathcal{B}_{0}\times_{123}\{\textbf{B}_{1},\textbf{B}_{2}^{\top}\textbf{x}% ,\textbf{B}_{3}^{\top}\textbf{x}\}\\ &+\mathcal{C}_{0}\times_{1234}\{\textbf{C}_{1},\textbf{C}_{2}^{\top}\textbf{x}% ,\textbf{C}_{3}^{\top}\textbf{x},\textbf{C}_{4}^{\top}\textbf{x}\}+\cdots\Big{% ]}.\end{split}start_ROW start_CELL over˙ start_ARG x end_ARG end_CELL start_CELL = x ∗ [ r + bold_A bold_x + caligraphic_B start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT × start_POSTSUBSCRIPT 123 end_POSTSUBSCRIPT { B start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , B start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ⊤ end_POSTSUPERSCRIPT x , B start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ⊤ end_POSTSUPERSCRIPT x } end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL + caligraphic_C start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT × start_POSTSUBSCRIPT 1234 end_POSTSUBSCRIPT { C start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , C start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ⊤ end_POSTSUPERSCRIPT x , C start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ⊤ end_POSTSUPERSCRIPT x , C start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ⊤ end_POSTSUPERSCRIPT x } + ⋯ ] . end_CELL end_ROW (6)
Proof:

According to the properties of tensor vector/matrix products and HOSVD, it can be shown that

(0×123{B1,B2,B3})×23{x,x}=0×123{B1,B2x,B3x}.subscript23subscript123subscript0subscriptB1subscriptB2subscriptB3xxsubscript123subscript0subscriptB1superscriptsubscriptB2topxsuperscriptsubscriptB3topx\begin{split}&\Big{(}\mathcal{B}_{0}\times_{123}\{\textbf{B}_{1},\textbf{B}_{2% },\textbf{B}_{3}\}\Big{)}\times_{23}\{\textbf{x},\textbf{x}\}\\ &=\mathcal{B}_{0}\times_{123}\{\textbf{B}_{1},\textbf{B}_{2}^{\top}\textbf{x},% \textbf{B}_{3}^{\top}\textbf{x}\}.\end{split}start_ROW start_CELL end_CELL start_CELL ( caligraphic_B start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT × start_POSTSUBSCRIPT 123 end_POSTSUBSCRIPT { B start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , B start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , B start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT } ) × start_POSTSUBSCRIPT 23 end_POSTSUBSCRIPT { x , x } end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL = caligraphic_B start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT × start_POSTSUBSCRIPT 123 end_POSTSUBSCRIPT { B start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , B start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ⊤ end_POSTSUPERSCRIPT x , B start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ⊤ end_POSTSUPERSCRIPT x } . end_CELL end_ROW

Similarly, the same principle applies to the interaction tensor 𝒞𝒞\mathcal{C}caligraphic_C as well. Thus, the result follows immediately. ∎

Remark 1: Suppose that the reduced dimensions of the interaction tensors are all equal to r𝑟ritalic_r, i.e., bi=ci==rsubscript𝑏𝑖subscript𝑐𝑖𝑟b_{i}=c_{i}=\cdots=ritalic_b start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT = italic_c start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT = ⋯ = italic_r. If the maximum order of interactions is M𝑀Mitalic_M, the total number of parameters in the HOSVD-based representation of the HOGLV model can be estimated as

MChosvd𝒪(n2+M2nr+rM).similar-tosubscriptMChosvd𝒪superscript𝑛2superscript𝑀2𝑛𝑟superscript𝑟𝑀\text{MC}_{\text{hosvd}}\sim\mathcal{O}(n^{2}+M^{2}nr+r^{M}).MC start_POSTSUBSCRIPT hosvd end_POSTSUBSCRIPT ∼ caligraphic_O ( italic_n start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT + italic_M start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_n italic_r + italic_r start_POSTSUPERSCRIPT italic_M end_POSTSUPERSCRIPT ) .

While the above memory complexity increases exponentially with the maximum order of interactions M𝑀Mitalic_M, it is mitigated by the fact that the reduced dimension r𝑟ritalic_r can be small for certain structured tensors.

III-B CPD-based Representation

We explore applying CPD to the interaction tensors to obtain a CPD-based representation of the HOGLV model.

Proposition 2: Suppose that the CPDs of the interaction tensors n×n×nsuperscript𝑛𝑛𝑛\mathcal{B}\in\mathbb{R}^{n\times n\times n}caligraphic_B ∈ blackboard_R start_POSTSUPERSCRIPT italic_n × italic_n × italic_n end_POSTSUPERSCRIPT and 𝒞n×n×n×n𝒞superscript𝑛𝑛𝑛𝑛\mathcal{C}\in\mathbb{R}^{n\times n\times n\times n}caligraphic_C ∈ blackboard_R start_POSTSUPERSCRIPT italic_n × italic_n × italic_n × italic_n end_POSTSUPERSCRIPT are provided as i=1b[B1]:i[B2]:i[B3]:i and 𝒞i=1c[C1]:i[C2]:i[C3]:i[C4]:i,superscriptsubscript𝑖1𝑏subscriptdelimited-[]subscriptB1:absent𝑖subscriptdelimited-[]subscriptB2:absent𝑖subscriptdelimited-[]subscriptB3:absent𝑖 and 𝒞superscriptsubscript𝑖1𝑐subscriptdelimited-[]subscriptC1:absent𝑖subscriptdelimited-[]subscriptC2:absent𝑖subscriptdelimited-[]subscriptC3:absent𝑖subscriptdelimited-[]subscriptC4:absent𝑖\mathcal{B}\approx\sum_{i=1}^{b}[\textbf{B}_{1}]_{:i}\circ[\textbf{B}_{2}]_{:i% }\circ[\textbf{B}_{3}]_{:i}\text{ and }\mathcal{C}\approx\sum_{i=1}^{c}[% \textbf{C}_{1}]_{:i}\circ[\textbf{C}_{2}]_{:i}\circ[\textbf{C}_{3}]_{:i}\circ[% \textbf{C}_{4}]_{:i},caligraphic_B ≈ ∑ start_POSTSUBSCRIPT italic_i = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_b end_POSTSUPERSCRIPT [ B start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ] start_POSTSUBSCRIPT : italic_i end_POSTSUBSCRIPT ∘ [ B start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ] start_POSTSUBSCRIPT : italic_i end_POSTSUBSCRIPT ∘ [ B start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT ] start_POSTSUBSCRIPT : italic_i end_POSTSUBSCRIPT and caligraphic_C ≈ ∑ start_POSTSUBSCRIPT italic_i = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_c end_POSTSUPERSCRIPT [ C start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ] start_POSTSUBSCRIPT : italic_i end_POSTSUBSCRIPT ∘ [ C start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ] start_POSTSUBSCRIPT : italic_i end_POSTSUBSCRIPT ∘ [ C start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT ] start_POSTSUBSCRIPT : italic_i end_POSTSUBSCRIPT ∘ [ C start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT ] start_POSTSUBSCRIPT : italic_i end_POSTSUBSCRIPT , where Bin×bsubscriptB𝑖superscript𝑛𝑏\textbf{B}_{i}\in\mathbb{R}^{n\times b}B start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ∈ blackboard_R start_POSTSUPERSCRIPT italic_n × italic_b end_POSTSUPERSCRIPT and Cin×csubscriptC𝑖superscript𝑛𝑐\textbf{C}_{i}\in\mathbb{R}^{n\times c}C start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ∈ blackboard_R start_POSTSUPERSCRIPT italic_n × italic_c end_POSTSUPERSCRIPT are the factor matrices. The CPD-based representation of the HOGLV model can be computed as

x˙=x[r+Ax+i=1b([B2]:ix)([B3]:ix)[B1]:i+i=1c([C2]:ix)([C3]:ix)([C4]:ix)[C1]:i+].˙xxdelimited-[]rAxsuperscriptsubscript𝑖1𝑏superscriptsubscriptdelimited-[]subscriptB2:absent𝑖topxsuperscriptsubscriptdelimited-[]subscriptB3:absent𝑖topxsubscriptdelimited-[]subscriptB1:absent𝑖superscriptsubscript𝑖1𝑐superscriptsubscriptdelimited-[]subscriptC2:absent𝑖topxsuperscriptsubscriptdelimited-[]subscriptC3:absent𝑖topxsuperscriptsubscriptdelimited-[]subscriptC4:absent𝑖topxsubscriptdelimited-[]subscriptC1:absent𝑖\begin{split}\dot{\textbf{x}}&=\textbf{x}*\Big{[}\textbf{r}+\textbf{A}\textbf{% x}+\sum_{i=1}^{b}\big{(}[\textbf{B}_{2}]_{:i}^{\top}\textbf{x}\big{)}\big{(}[% \textbf{B}_{3}]_{:i}^{\top}\textbf{x}\big{)}[\textbf{B}_{1}]_{:i}\\ +&\sum_{i=1}^{c}\big{(}[\textbf{C}_{2}]_{:i}^{\top}\textbf{x}\big{)}\big{(}[% \textbf{C}_{3}]_{:i}^{\top}\textbf{x}\big{)}\big{(}[\textbf{C}_{4}]_{:i}^{\top% }\textbf{x}\big{)}[\textbf{C}_{1}]_{:i}+\cdots\Big{]}.\end{split}start_ROW start_CELL over˙ start_ARG x end_ARG end_CELL start_CELL = x ∗ [ r + bold_A bold_x + ∑ start_POSTSUBSCRIPT italic_i = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_b end_POSTSUPERSCRIPT ( [ B start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ] start_POSTSUBSCRIPT : italic_i end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ⊤ end_POSTSUPERSCRIPT x ) ( [ B start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT ] start_POSTSUBSCRIPT : italic_i end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ⊤ end_POSTSUPERSCRIPT x ) [ B start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ] start_POSTSUBSCRIPT : italic_i end_POSTSUBSCRIPT end_CELL end_ROW start_ROW start_CELL + end_CELL start_CELL ∑ start_POSTSUBSCRIPT italic_i = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_c end_POSTSUPERSCRIPT ( [ C start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ] start_POSTSUBSCRIPT : italic_i end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ⊤ end_POSTSUPERSCRIPT x ) ( [ C start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT ] start_POSTSUBSCRIPT : italic_i end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ⊤ end_POSTSUPERSCRIPT x ) ( [ C start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT ] start_POSTSUBSCRIPT : italic_i end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ⊤ end_POSTSUPERSCRIPT x ) [ C start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ] start_POSTSUBSCRIPT : italic_i end_POSTSUBSCRIPT + ⋯ ] . end_CELL end_ROW (7)
Proof:

From the properties of tensor vector/matrix products and CPD, it can be shown that

(i=1b[B1]:i[B2]:i[B3]:i)×23{x,x}=i=1b([B2]:ix)([B3]:ix)[B1]:i.subscript23superscriptsubscript𝑖1𝑏subscriptdelimited-[]subscriptB1:absent𝑖subscriptdelimited-[]subscriptB2:absent𝑖subscriptdelimited-[]subscriptB3:absent𝑖xxsuperscriptsubscript𝑖1𝑏superscriptsubscriptdelimited-[]subscriptB2:absent𝑖topxsuperscriptsubscriptdelimited-[]subscriptB3:absent𝑖topxsubscriptdelimited-[]subscriptB1:absent𝑖\begin{split}&\Big{(}\sum_{i=1}^{b}[\textbf{B}_{1}]_{:i}\circ[\textbf{B}_{2}]_% {:i}\circ[\textbf{B}_{3}]_{:i}\Big{)}\times_{23}\{\textbf{x},\textbf{x}\}\\ &=\sum_{i=1}^{b}\big{(}[\textbf{B}_{2}]_{:i}^{\top}\textbf{x}\big{)}\big{(}[% \textbf{B}_{3}]_{:i}^{\top}\textbf{x}\big{)}[\textbf{B}_{1}]_{:i}.\end{split}start_ROW start_CELL end_CELL start_CELL ( ∑ start_POSTSUBSCRIPT italic_i = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_b end_POSTSUPERSCRIPT [ B start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ] start_POSTSUBSCRIPT : italic_i end_POSTSUBSCRIPT ∘ [ B start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ] start_POSTSUBSCRIPT : italic_i end_POSTSUBSCRIPT ∘ [ B start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT ] start_POSTSUBSCRIPT : italic_i end_POSTSUBSCRIPT ) × start_POSTSUBSCRIPT 23 end_POSTSUBSCRIPT { x , x } end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL = ∑ start_POSTSUBSCRIPT italic_i = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_b end_POSTSUPERSCRIPT ( [ B start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ] start_POSTSUBSCRIPT : italic_i end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ⊤ end_POSTSUPERSCRIPT x ) ( [ B start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT ] start_POSTSUBSCRIPT : italic_i end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ⊤ end_POSTSUPERSCRIPT x ) [ B start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ] start_POSTSUBSCRIPT : italic_i end_POSTSUBSCRIPT . end_CELL end_ROW

Likewise, the same principle applies to the interaction tensor 𝒞𝒞\mathcal{C}caligraphic_C as well. Therefore, the result follows immediately. ∎

Remark 2: Suppose that the CP ranks of the interaction tensors are all equal to r𝑟ritalic_r, i.e., b=c==r𝑏𝑐𝑟b=c=\dots=ritalic_b = italic_c = ⋯ = italic_r. If the maximum order of interactions is M𝑀Mitalic_M, the total number of parameters in the CPD-based representation of the HOGLV model can be estimated as

MCcpd𝒪(n2+M2nr).similar-tosubscriptMCcpd𝒪superscript𝑛2superscript𝑀2𝑛𝑟\text{MC}_{\text{cpd}}\sim\mathcal{O}(n^{2}+M^{2}nr).MC start_POSTSUBSCRIPT cpd end_POSTSUBSCRIPT ∼ caligraphic_O ( italic_n start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT + italic_M start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_n italic_r ) .

Remarkably, the above memory complexity increases quadratically with both the maximum order of interactions M𝑀Mitalic_M and the number of species n𝑛nitalic_n. Furthermore, when the CP rank r𝑟ritalic_r is small, the CPD-based representation of the HOGLV model can significantly enhance memory efficiency. However, it is important to note that CPD may not be numerically stable, which may limit the applicability of this representation.

III-C TTD-based Representation

We investigate the use of TTD on the interaction tensors to derive a TTD-based representation of the HOGLV model.

Proposition 3: Suppose that the TTDs of the interaction tensors n×n×nsuperscript𝑛𝑛𝑛\mathcal{B}\in\mathbb{R}^{n\times n\times n}caligraphic_B ∈ blackboard_R start_POSTSUPERSCRIPT italic_n × italic_n × italic_n end_POSTSUPERSCRIPT and 𝒞n×n×n×n𝒞superscript𝑛𝑛𝑛𝑛\mathcal{C}\in\mathbb{R}^{n\times n\times n\times n}caligraphic_C ∈ blackboard_R start_POSTSUPERSCRIPT italic_n × italic_n × italic_n × italic_n end_POSTSUPERSCRIPT are provided as i0=1b0i3=1b3[1]i0:i1[2]i1:i2[3]i2:i3 and 𝒞i0=1c0i4=1c4[𝒞1]i0:i1[𝒞2]i1:i2[𝒞3]i2:i3[𝒞4]i3:i4,superscriptsubscriptsubscript𝑖01subscript𝑏0superscriptsubscriptsubscript𝑖31subscript𝑏3subscriptdelimited-[]subscript1:subscript𝑖0subscript𝑖1subscriptdelimited-[]subscript2:subscript𝑖1subscript𝑖2subscriptdelimited-[]subscript3:subscript𝑖2subscript𝑖3 and 𝒞superscriptsubscriptsubscript𝑖01subscript𝑐0superscriptsubscriptsubscript𝑖41subscript𝑐4subscriptdelimited-[]subscript𝒞1:subscript𝑖0subscript𝑖1subscriptdelimited-[]subscript𝒞2:subscript𝑖1subscript𝑖2subscriptdelimited-[]subscript𝒞3:subscript𝑖2subscript𝑖3subscriptdelimited-[]subscript𝒞4:subscript𝑖3subscript𝑖4\mathcal{B}\approx\sum_{i_{0}=1}^{b_{0}}\cdots\sum_{i_{3}=1}^{b_{3}}[\mathcal{% B}_{1}]_{i_{0}:i_{1}}\circ[\mathcal{B}_{2}]_{i_{1}:i_{2}}\circ[\mathcal{B}_{3}% ]_{i_{2}:i_{3}}\text{ and }\mathcal{C}\approx\sum_{i_{0}=1}^{c_{0}}\cdots\sum_% {i_{4}=1}^{c_{4}}[\mathcal{C}_{1}]_{i_{0}:i_{1}}\circ[\mathcal{C}_{2}]_{i_{1}:% i_{2}}\circ[\mathcal{C}_{3}]_{i_{2}:i_{3}}\circ[\mathcal{C}_{4}]_{i_{3}:i_{4}},caligraphic_B ≈ ∑ start_POSTSUBSCRIPT italic_i start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_b start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT end_POSTSUPERSCRIPT ⋯ ∑ start_POSTSUBSCRIPT italic_i start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_b start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT end_POSTSUPERSCRIPT [ caligraphic_B start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ] start_POSTSUBSCRIPT italic_i start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT : italic_i start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT end_POSTSUBSCRIPT ∘ [ caligraphic_B start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ] start_POSTSUBSCRIPT italic_i start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT : italic_i start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT end_POSTSUBSCRIPT ∘ [ caligraphic_B start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT ] start_POSTSUBSCRIPT italic_i start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT : italic_i start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT end_POSTSUBSCRIPT and caligraphic_C ≈ ∑ start_POSTSUBSCRIPT italic_i start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_c start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT end_POSTSUPERSCRIPT ⋯ ∑ start_POSTSUBSCRIPT italic_i start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_c start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT end_POSTSUPERSCRIPT [ caligraphic_C start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ] start_POSTSUBSCRIPT italic_i start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT : italic_i start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT end_POSTSUBSCRIPT ∘ [ caligraphic_C start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ] start_POSTSUBSCRIPT italic_i start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT : italic_i start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT end_POSTSUBSCRIPT ∘ [ caligraphic_C start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT ] start_POSTSUBSCRIPT italic_i start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT : italic_i start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT end_POSTSUBSCRIPT ∘ [ caligraphic_C start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT ] start_POSTSUBSCRIPT italic_i start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT : italic_i start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT end_POSTSUBSCRIPT , where ibi1×n×bisubscript𝑖superscriptsubscript𝑏𝑖1𝑛subscript𝑏𝑖\mathcal{B}_{i}\in\mathbb{R}^{b_{i-1}\times n\times b_{i}}caligraphic_B start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ∈ blackboard_R start_POSTSUPERSCRIPT italic_b start_POSTSUBSCRIPT italic_i - 1 end_POSTSUBSCRIPT × italic_n × italic_b start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT end_POSTSUPERSCRIPT and 𝒞ici1×n×cisubscript𝒞𝑖superscriptsubscript𝑐𝑖1𝑛subscript𝑐𝑖\mathcal{C}_{i}\in\mathbb{R}^{c_{i-1}\times n\times c_{i}}caligraphic_C start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ∈ blackboard_R start_POSTSUPERSCRIPT italic_c start_POSTSUBSCRIPT italic_i - 1 end_POSTSUBSCRIPT × italic_n × italic_c start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT end_POSTSUPERSCRIPT are the third-order core tensors. The TTD-based representation of the HOGLV model can be computed as

x˙=x[r+Ax+i0=1b0i3=1b3([2]i1:i2x)([3]i2:i3x)[1]i0:i1+i0=1c0i4=1c4([𝒞2]i1:i2x)([𝒞3]i2:i3x)([𝒞4]i3:i4x)[𝒞1]i0:i1+].˙xxdelimited-[]rAxsuperscriptsubscriptsubscript𝑖01subscript𝑏0superscriptsubscriptsubscript𝑖31subscript𝑏3superscriptsubscriptdelimited-[]subscript2:subscript𝑖1subscript𝑖2topxsuperscriptsubscriptdelimited-[]subscript3:subscript𝑖2subscript𝑖3topxsubscriptdelimited-[]subscript1:subscript𝑖0subscript𝑖1superscriptsubscriptsubscript𝑖01subscript𝑐0superscriptsubscriptsubscript𝑖41subscript𝑐4superscriptsubscriptdelimited-[]subscript𝒞2:subscript𝑖1subscript𝑖2topxsuperscriptsubscriptdelimited-[]subscript𝒞3:subscript𝑖2subscript𝑖3topxsuperscriptsubscriptdelimited-[]subscript𝒞4:subscript𝑖3subscript𝑖4topxsubscriptdelimited-[]subscript𝒞1:subscript𝑖0subscript𝑖1\small\begin{split}\dot{\textbf{x}}&=\textbf{x}*\Big{[}\textbf{r}+\textbf{A}% \textbf{x}+\sum_{i_{0}=1}^{b_{0}}\cdots\sum_{i_{3}=1}^{b_{3}}([\mathcal{B}_{2}% ]_{i_{1}:i_{2}}^{\top}\textbf{x})([\mathcal{B}_{3}]_{i_{2}:i_{3}}^{\top}% \textbf{x})[\mathcal{B}_{1}]_{i_{0}:i_{1}}\\ +&\sum_{i_{0}=1}^{c_{0}}\cdots\sum_{i_{4}=1}^{c_{4}}([\mathcal{C}_{2}]_{i_{1}:% i_{2}}^{\top}\textbf{x})([\mathcal{C}_{3}]_{i_{2}:i_{3}}^{\top}\textbf{x})([% \mathcal{C}_{4}]_{i_{3}:i_{4}}^{\top}\textbf{x})[\mathcal{C}_{1}]_{i_{0}:i_{1}% }+\cdots\Big{]}.\end{split}start_ROW start_CELL over˙ start_ARG x end_ARG end_CELL start_CELL = x ∗ [ r + bold_A bold_x + ∑ start_POSTSUBSCRIPT italic_i start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_b start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT end_POSTSUPERSCRIPT ⋯ ∑ start_POSTSUBSCRIPT italic_i start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_b start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT end_POSTSUPERSCRIPT ( [ caligraphic_B start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ] start_POSTSUBSCRIPT italic_i start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT : italic_i start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ⊤ end_POSTSUPERSCRIPT x ) ( [ caligraphic_B start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT ] start_POSTSUBSCRIPT italic_i start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT : italic_i start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ⊤ end_POSTSUPERSCRIPT x ) [ caligraphic_B start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ] start_POSTSUBSCRIPT italic_i start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT : italic_i start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT end_POSTSUBSCRIPT end_CELL end_ROW start_ROW start_CELL + end_CELL start_CELL ∑ start_POSTSUBSCRIPT italic_i start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_c start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT end_POSTSUPERSCRIPT ⋯ ∑ start_POSTSUBSCRIPT italic_i start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_c start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT end_POSTSUPERSCRIPT ( [ caligraphic_C start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT ] start_POSTSUBSCRIPT italic_i start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT : italic_i start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ⊤ end_POSTSUPERSCRIPT x ) ( [ caligraphic_C start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT ] start_POSTSUBSCRIPT italic_i start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT : italic_i start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ⊤ end_POSTSUPERSCRIPT x ) ( [ caligraphic_C start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT ] start_POSTSUBSCRIPT italic_i start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT : italic_i start_POSTSUBSCRIPT 4 end_POSTSUBSCRIPT end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ⊤ end_POSTSUPERSCRIPT x ) [ caligraphic_C start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT ] start_POSTSUBSCRIPT italic_i start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT : italic_i start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT end_POSTSUBSCRIPT + ⋯ ] . end_CELL end_ROW (8)
Proof:

The proof is similar to Proposition 2. ∎

Remark 3: Suppose that the TT-ranks of the interaction tensors are all equal to r𝑟ritalic_r, i.e., bi=ci==rsubscript𝑏𝑖subscript𝑐𝑖𝑟b_{i}=c_{i}=\cdots=ritalic_b start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT = italic_c start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT = ⋯ = italic_r. Note that the first and last TT-ranks of each tensor are always equal to 1. If the maximum order of interactions is M𝑀Mitalic_M, the total number of parameters in the TTD-based representation of the HOGLV model can be estimated as

MCttd𝒪(n2+M2nr2).similar-tosubscriptMCttd𝒪superscript𝑛2superscript𝑀2𝑛superscript𝑟2\text{MC}_{\text{ttd}}\sim\mathcal{O}(n^{2}+M^{2}nr^{2}).MC start_POSTSUBSCRIPT ttd end_POSTSUBSCRIPT ∼ caligraphic_O ( italic_n start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT + italic_M start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_n italic_r start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT ) .

While the above memory complexity is slightly higher than that of the CPD-based representation, it remains significantly more efficient than the full and HOSVD-based representations. Importantly, TTD can offer the crucial advantages of numerical stability and quasi-optimal approximation.

IV Complexity Analyses of Linear Stability

Linear stability analysis has proven to be a successful tool in the study of complex ecological networks, enhancing our understanding of the intricate relationships between stability and biodiversity [3, 4, 24]. A plethora of research has focused on the linear stability of the GLV model [19, 6]. The essence of linear stability lies in the computation of the Jacobian matrix. Here, we derive the Jacobian matrix for the HOGLV model and perform a computational complexity analysis of computing the Jacobian matrix using the full, HOSVD-based, CPD-based, and TTD-based representations.

Proposition 4: Suppose that the equilibrium point of the HOGLV model is xsuperscriptx\textbf{x}^{*}x start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT. The Jacobian matrix of the HOGLV model evaluated at xsuperscriptx\textbf{x}^{*}x start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT can be computed as

M=X[A+×2x+×3x+𝒞×23{x,x}+𝒞×24{x,x}+𝒞×34{x,x}+],MsuperscriptXdelimited-[]Asubscript2superscriptxsubscript3superscriptxsubscript23𝒞superscriptxsuperscriptxsubscript24𝒞superscriptxsuperscriptxsubscript34𝒞superscriptxsuperscriptx\begin{split}\textbf{M}&=\textbf{X}^{*}\Big{[}\textbf{A}+\mathcal{B}\times_{2}% \textbf{x}^{*}+\mathcal{B}\times_{3}\textbf{x}^{*}+\mathcal{C}\times_{23}\{% \textbf{x}^{*},\textbf{x}^{*}\}\\ &+\mathcal{C}\times_{24}\{\textbf{x}^{*},\textbf{x}^{*}\}+\mathcal{C}\times_{3% 4}\{\textbf{x}^{*},\textbf{x}^{*}\}+\cdots\Big{]},\end{split}start_ROW start_CELL M end_CELL start_CELL = X start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT [ A + caligraphic_B × start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT x start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT + caligraphic_B × start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT x start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT + caligraphic_C × start_POSTSUBSCRIPT 23 end_POSTSUBSCRIPT { x start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT , x start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT } end_CELL end_ROW start_ROW start_CELL end_CELL start_CELL + caligraphic_C × start_POSTSUBSCRIPT 24 end_POSTSUBSCRIPT { x start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT , x start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT } + caligraphic_C × start_POSTSUBSCRIPT 34 end_POSTSUBSCRIPT { x start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT , x start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT } + ⋯ ] , end_CELL end_ROW (9)

where Xn×nsuperscriptXsuperscript𝑛𝑛\textbf{X}^{*}\in\mathbb{R}^{n\times n}X start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT ∈ blackboard_R start_POSTSUPERSCRIPT italic_n × italic_n end_POSTSUPERSCRIPT is a diagonal matrix that contains xsuperscriptx\textbf{x}^{*}x start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT along its diagonal.

Proof:

Based on the properties of tensor vector products, it can be demonstrated that

ddx×23{x,x}=×2x+×3x.subscript23𝑑𝑑xxxsubscript2xsubscript3x\frac{d}{d\textbf{x}}\mathcal{B}\times_{23}\{\textbf{x},\textbf{x}\}=\mathcal{% B}\times_{2}\textbf{x}+\mathcal{B}\times_{3}\textbf{x}.divide start_ARG italic_d end_ARG start_ARG italic_d x end_ARG caligraphic_B × start_POSTSUBSCRIPT 23 end_POSTSUBSCRIPT { x , x } = caligraphic_B × start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT x + caligraphic_B × start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT x .

Likewise, the same derivative principle is applicable to the interaction tensor 𝒞𝒞\mathcal{C}caligraphic_C. Consequently, the result can be derived in a manner similar to the computation of the Jacobian matrix for the GLV model [8]. ∎

Remark 4: If the maximum order of interactions is M𝑀Mitalic_M, the computational complexity of computing the Jacobian matrix of the HOGLV model can be estimated as

CCfull𝒪(M2nM).similar-tosubscriptCCfull𝒪superscript𝑀2superscript𝑛𝑀\text{CC}_{\text{full}}\sim\mathcal{O}(M^{2}n^{M}).CC start_POSTSUBSCRIPT full end_POSTSUBSCRIPT ∼ caligraphic_O ( italic_M start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_n start_POSTSUPERSCRIPT italic_M end_POSTSUPERSCRIPT ) .

Similar to its memory complexity, the computational complexity of the full representation scales exponentially with the maximum order of interactions M𝑀Mitalic_M. Therefore, computing the Jacobian matrix for large ecological networks with higher-order interactions is an exceptionally challenging task. To address this challenge, we can utilize tensor decomposition-based representations of the HOGLV model, which significantly reduces the computational complexity. In the following, we estimate the computational complexity of computing the Jacobian matrix using the HOSVD-based, CPD-based, and TTD-based representations.

Remark 5: Given the HOSVD-based representation of the HOGLV model (6) with reduced dimension r𝑟ritalic_r for all interaction tensors, if the maximum order of interactions is M𝑀Mitalic_M, the computational complexity of computing the Jacobian matrix can be estimated as

CChosvd𝒪(M2n2r+M3nr+M2nrM).similar-tosubscriptCChosvd𝒪superscript𝑀2superscript𝑛2𝑟superscript𝑀3𝑛𝑟superscript𝑀2𝑛superscript𝑟𝑀\text{CC}_{\text{hosvd}}\sim\mathcal{O}(M^{2}n^{2}r+M^{3}nr+M^{2}nr^{M}).CC start_POSTSUBSCRIPT hosvd end_POSTSUBSCRIPT ∼ caligraphic_O ( italic_M start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_n start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_r + italic_M start_POSTSUPERSCRIPT 3 end_POSTSUPERSCRIPT italic_n italic_r + italic_M start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_n italic_r start_POSTSUPERSCRIPT italic_M end_POSTSUPERSCRIPT ) .

Remark 6: Given the CPD-based representation of the HOGLV model (7) with CP rank r𝑟ritalic_r for all interaction tensors, if the maximum order of interactions is M𝑀Mitalic_M, the computational complexity of computing the Jacobian matrix can be estimated as

CCcpd𝒪(M2n2r+M3nr).similar-tosubscriptCCcpd𝒪superscript𝑀2superscript𝑛2𝑟superscript𝑀3𝑛𝑟\text{CC}_{\text{cpd}}\sim\mathcal{O}(M^{2}n^{2}r+M^{3}nr).CC start_POSTSUBSCRIPT cpd end_POSTSUBSCRIPT ∼ caligraphic_O ( italic_M start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_n start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_r + italic_M start_POSTSUPERSCRIPT 3 end_POSTSUPERSCRIPT italic_n italic_r ) .

Remark 7: Given the TTD-based representation of the HOGLV model (8) with TT-rank r𝑟ritalic_r for all interaction tensors (except for the first and last TT-ranks), if the maximum order of interactions is M𝑀Mitalic_M, the computational complexity of computing the Jacobian matrix can be estimated as

CCttd𝒪(MnrM+n2rM).similar-tosubscriptCCttd𝒪𝑀𝑛superscript𝑟𝑀superscript𝑛2superscript𝑟𝑀\text{CC}_{\text{ttd}}\sim\mathcal{O}(Mnr^{M}+n^{2}r^{M}).CC start_POSTSUBSCRIPT ttd end_POSTSUBSCRIPT ∼ caligraphic_O ( italic_M italic_n italic_r start_POSTSUPERSCRIPT italic_M end_POSTSUPERSCRIPT + italic_n start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_r start_POSTSUPERSCRIPT italic_M end_POSTSUPERSCRIPT ) .

The proofs of the above remarks can be found in the appendix. The computational complexity of computing the Jacobian matrix using the HOSVD-based, CPD-based, and TTD-based representations exhibits a similar behavior to their memory complexity. Particularly, the CPD-based representation stands out with the lowest computational complexity, which does not grow exponentially with the maximum order of interactions M𝑀Mitalic_M. Nonetheless, accurately computing CPD becomes challenging for tensors with larger dimensions. Conversely, the TTD-based representation, although having a higher computational complexity compared to the CPD-based representation, outperforms the full and HOSVD-based representations with guaranteed numerical stability.

After obtaining the Jacobian matrix, we can compute its eigenvalues to determine the linear stability of the HOGLV model at an equilibrium point. It is important to acknowledge that computing the eigenvalues of the Jacobian matrix can be computationally demanding for large ecological networks, but this specific aspect is not the primary focus of this article. Nevertheless, recent research [23, 16] has explored the use of TTD to expedite eigenvalue computations, which can be useful here for future investigations.

V Numerical Examples

We present three case studies to illustrate our framework. All three examples were conducted on a Macintosh machine equipped with 32 GB RAM and an Apple M1 Pro chip (10-core CPU at 3.2 GHz, 16-core GPU, and 16-core Neural Engine) using MATLAB R2022a with the Tensor Toolbox 3.0 [21] and TT Toolbox [25].

Refer to caption
Figure 2: Two ecological networks, fully characterized by their pairwise and third-order interactions, with positive interactions colored in blue and negative interactions in red.

V-A Computing Jacobian Matrices

We computed the Jacobian matrices of two ecological networks captured by the HOGLV model using (9). For simplicity, we set the total number of species and the maximum order of interactions to 4 and 3, respectively. The structures of the two ecological networks are presented in Fig. 2, which share pairwise interactions. Suppose that the equilibrium point is x=[1111]superscriptxsuperscriptmatrix1111top\textbf{x}^{*}=\begin{bmatrix}1&1&1&1\end{bmatrix}^{\top}x start_POSTSUPERSCRIPT ∗ end_POSTSUPERSCRIPT = [ start_ARG start_ROW start_CELL 1 end_CELL start_CELL 1 end_CELL start_CELL 1 end_CELL start_CELL 1 end_CELL end_ROW end_ARG ] start_POSTSUPERSCRIPT ⊤ end_POSTSUPERSCRIPT for both networks. The associated Jacobian matrices can be computed as

M1subscriptM1\displaystyle\textbf{M}_{1}M start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT =[0.10000.21471.08260.87810.14680.10000.6852000.09230.100000000.1000],absentmatrix0.10000.21471.08260.87810.14680.10000.6852000.09230.100000000.1000\displaystyle=\begin{bmatrix}-0.1000&-0.2147&\phantom{-}1.0826&\phantom{-}0.87% 81\\ \phantom{-}0.1468&-0.1000&-0.6852&\phantom{-}0\\ \phantom{-}0&\phantom{-}0.0923&-0.1000&\phantom{-}0\\ \phantom{-}0&\phantom{-}0&\phantom{-}0&-0.1000\end{bmatrix},= [ start_ARG start_ROW start_CELL - 0.1000 end_CELL start_CELL - 0.2147 end_CELL start_CELL 1.0826 end_CELL start_CELL 0.8781 end_CELL end_ROW start_ROW start_CELL 0.1468 end_CELL start_CELL - 0.1000 end_CELL start_CELL - 0.6852 end_CELL start_CELL 0 end_CELL end_ROW start_ROW start_CELL 0 end_CELL start_CELL 0.0923 end_CELL start_CELL - 0.1000 end_CELL start_CELL 0 end_CELL end_ROW start_ROW start_CELL 0 end_CELL start_CELL 0 end_CELL start_CELL 0 end_CELL start_CELL - 0.1000 end_CELL end_ROW end_ARG ] ,
M2subscriptM2\displaystyle\textbf{M}_{2}M start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT =[0.10000.62361.08260.87810.14680.10000.6852000.09230.100000000.1000].absentmatrix0.10000.62361.08260.87810.14680.10000.6852000.09230.100000000.1000\displaystyle=\begin{bmatrix}-0.1000&-0.6236&-1.0826&-0.8781\\ \phantom{-}0.1468&-0.1000&-0.6852&\phantom{-}0\\ \phantom{-}0&\phantom{-}0.0923&-0.1000&\phantom{-}0\\ \phantom{-}0&\phantom{-}0&\phantom{-}0&-0.1000\end{bmatrix}.= [ start_ARG start_ROW start_CELL - 0.1000 end_CELL start_CELL - 0.6236 end_CELL start_CELL - 1.0826 end_CELL start_CELL - 0.8781 end_CELL end_ROW start_ROW start_CELL 0.1468 end_CELL start_CELL - 0.1000 end_CELL start_CELL - 0.6852 end_CELL start_CELL 0 end_CELL end_ROW start_ROW start_CELL 0 end_CELL start_CELL 0.0923 end_CELL start_CELL - 0.1000 end_CELL start_CELL 0 end_CELL end_ROW start_ROW start_CELL 0 end_CELL start_CELL 0 end_CELL start_CELL 0 end_CELL start_CELL - 0.1000 end_CELL end_ROW end_ARG ] .

The first Jacobian matrix M1subscriptM1\textbf{M}_{1}M start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT has one positive eigenvalue, indicating that the first ecological network is locally unstable around the equilibrium point. The second Jacobian matrix M2subscriptM2\textbf{M}_{2}M start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT has all eigenvalues negative, suggesting that the second ecological network is locally stable near the equilibrium point. This example demonstrates that higher-order interactions can significantly influence the stability of complex ecological networks.

V-B Memory Comparison

We conducted a comparison of the total number of model parameters for the full, HOSVD-based, CPD-based, and TTD-based representations of the HOGLV model using random sparse tensors with varying dimensions. We set the maximum order of interactions to 4 and randomly generated sparse interaction tensors n×n×nsuperscript𝑛𝑛𝑛\mathcal{B}\in\mathbb{R}^{n\times n\times n}caligraphic_B ∈ blackboard_R start_POSTSUPERSCRIPT italic_n × italic_n × italic_n end_POSTSUPERSCRIPT and 𝒞n×n×n×n𝒞superscript𝑛𝑛𝑛𝑛\mathcal{C}\in\mathbb{R}^{n\times n\times n\times n}caligraphic_C ∈ blackboard_R start_POSTSUPERSCRIPT italic_n × italic_n × italic_n × italic_n end_POSTSUPERSCRIPT for n=10,20,,50𝑛102050n=10,20,\dots,50italic_n = 10 , 20 , … , 50. By employing the HOSVD, CPD, and TTD on the interaction tensors, we computed their corresponding representations of the HOGLV model. The results are presented in Table I. The HOSVD-based representation is effective in reducing the number of model parameters for relatively small dimensions (n=10,20𝑛1020n=10,20italic_n = 10 , 20). However, as the dimension increases, its number of model parameters surpasses that of the full representation. Moreover, the CPD-based representation demonstrates the lowest memory usage. However, we failed to accurately compute the CPDs of the interaction tensors for larger dimensions (n=30,40,50𝑛304050n=30,40,50italic_n = 30 , 40 , 50) due to the issue of numerical instability. Thus, the TTD-based representation can be considered as a robust and viable choice, which maintains a reasonably low number of model parameters compared to the full representation.

TABLE I: Comparison of the total number of model parameters for the full, HOSVD-based, CPD-based, and TTD-based representations of the HOGLV model across varying system dimensions.
Dimension 10101010 20202020 30303030 40404040 50505050
Full 11,110 168,420 837,930 2,625,640 6,377,550
HOSVD 810 131,608 844,230 2,636,840 6,395,050
CPD 460 6,860 - - -
TTD 890 36,880 238,530 920,040 2,687,550

V-C Computation Comparison

We compared the computational time required for computing the Jacobian matrix of the HOGLV model using the full representation and the TTD-based representation. We exclusively considered the TTD-based representation here due to its numerical stability and low computational complexity. More importantly, it benefits from a well-established TT-algebra, making it a suitable choice for this computation. We set the maximum order of interactions to 4 and randomly generated interaction tensors n×n×nsuperscript𝑛𝑛𝑛\mathcal{B}\in\mathbb{R}^{n\times n\times n}caligraphic_B ∈ blackboard_R start_POSTSUPERSCRIPT italic_n × italic_n × italic_n end_POSTSUPERSCRIPT and 𝒞n×n×n×n𝒞superscript𝑛𝑛𝑛𝑛\mathcal{C}\in\mathbb{R}^{n\times n\times n\times n}caligraphic_C ∈ blackboard_R start_POSTSUPERSCRIPT italic_n × italic_n × italic_n × italic_n end_POSTSUPERSCRIPT in the TTD format with low TT-ranks for varying dimensions. In other words, we assumed that the HOGVL model is initially provided in the TTD-based representation. The findings are displayed in Fig. 3. Evidently, the TTD-based representation offers a substantial time advantage in computing the Jacobian matrix compared to the full representation. It is noteworthy that the full representation encounters memory limitations for n275𝑛275n\geq 275italic_n ≥ 275, which fails to complete the computation. On the other hand, the TTD-based representation maintains computational efficiency even for larger dimensions, as demonstrated in Table II.

TABLE II: Computation time for calculating the Jacobian matrix of the TTD-based representation of the HOGLV model for large system dimensions, where the full representation fails due to memory constraints.
Dimension 1000100010001000 2000200020002000 3000300030003000 4000400040004000 5000500050005000
Time (s) 0.0259 0.1675 0.5304 1.1228 1.9990
Refer to caption
Figure 3: Comparison of computational time for computing the Jacobian matrix between the full and TTD-based representations.

VI Conclusion

In this article, we proposed a framework to tackle the problem of complex ecological systems with high-order interactions. In particular, we were interested in determining the linear stability of the HOGLV model by computing the Jacobian matrix and its eigenvalues. A crucial challenge in the analysis of complex systems and coupled representations is their exponentially increasing size. In our approach, we explored various tensor decomposition techniques for good scalability with detailed memory and computational complexity investigations.

The stability analysis of dynamical systems with high-order interactions is not limited to ecological systems, but also appears in various fields, such as opinion dynamics and social networks, where the aggregated impact of high-order interactions plays a significant role. Another area of interest is the estimation of interaction matrices and tensors of different orders [17]. Additionally, the study of high-order time-varying systems, where the interaction tenors are time-varying, is a promising direction for future research.

References

  • [1] Mohammad AlAdwani and Serguei Saavedra. Is the addition of higher-order interactions in ecological models increasing the understanding of ecological dynamics? Mathematical Biosciences, 315:108222, 2019.
  • [2] S. Allesina and S. Tang. Stability criteria for complex ecosystems. Nature, 483:205–208, 2012.
  • [3] Stefano Allesina and Si Tang. Stability criteria for complex ecosystems. Nature, 483(7388):205–208, 2012.
  • [4] Stefano Allesina and Si Tang. The stability–complexity relationship at age 40: a random matrix perspective. Population Ecology, 57(1):63–75, 2015.
  • [5] Eyal Bairey, Eric D. Kelsic, and Roy Kishony. High-order species interactions shape ecosystem diversity. Nature communications, 7(1):12285, 2016.
  • [6] Joseph W. Baron, Thomas Jun Jewell, Christopher Ryder, and Tobias Galla. Breakdown of random-matrix universality in persistent lotka-volterra communities. Physical Review Letters, 130(13):137401, 2023.
  • [7] Subhash C. Bhargava. Generalized lotka-volterra equations and the mechanism of technological substitution. Technological Forecasting and Social Change, 35(4):319–326, 1989.
  • [8] Guy Bunin. Ecological communities with lotka-volterra dynamics. Physical Review E, 95(4):042414, 2017.
  • [9] Can Chen. Explicit solutions and stability properties of homogeneous polynomial dynamical systems. IEEE Transactions on Automatic Control, 68(8):4962–4969, 2023.
  • [10] Can Chen and Indika Rajapakse. Tensor entropy for uniform hypergraphs. IEEE Transactions on Network Science and Engineering, 7(4):2889–2900, 2020.
  • [11] Can Chen, Amit Surana, Anthony Bloch, and Indika Rajapakse. Multilinear time invariant system theory. In 2019 Proceedings of the Conference on Control and its Applications. SIAM, 2019.
  • [12] Can Chen, Amit Surana, Anthony M. Bloch, and Indika Rajapakse. Controllability of hypergraphs. IEEE Transactions on Network Science and Engineering, 8(2):1646–1657, 2021.
  • [13] Can Chen, Amit Surana, Anthony M. Bloch, and Indika Rajapakse. Multilinear control systems theory. SIAM Journal on Control and Optimization, 59(1):749–776, 2021.
  • [14] Andrzej Cichocki, Danilo Mandic, Lieven De Lathauwer, Guoxu Zhou, Qibin Zhao, Cesar Caiafa, and Huy Anh Phan. Tensor decompositions for signal processing applications: From two-way to multiway component analysis. IEEE signal processing magazine, 32(2):145–163, 2015.
  • [15] Lieven De Lathauwer, Bart De Moor, and Joos Vandewalle. A multilinear singular value decomposition. SIAM journal on Matrix Analysis and Applications, 21(4):1253–1278, 2000.
  • [16] Sergey V. Dolgov, Boris N. Khoromskij, Ivan V. Oseledets, and Dmitry V. Savostyanov. Computation of extreme eigenvalues in higher dimensions using block tensor train format. Computer Physics Communications, 185(4):1207–1216, 2014.
  • [17] Anqi Dong, Tryphon T. Georgiou, and Allen Tannenbaum. Data assimilation for sign-indefinite priors: A generalization of sinkhorn’s algorithm. arXiv preprint arXiv:2308.11791, 2023.
  • [18] Anqi Dong, Tryphon T. Georgiou, and Allen Tannenbaum. Negative probabilities in gene regulatory networks. arXiv preprint arXiv:2307.07738, 2023.
  • [19] Theo Gibbs, Jacopo Grilli, Tim Rogers, and Stefano Allesina. Effect of population abundances on the stability of large random ecosystems. Physical Review E, 98(2):022410, 2018.
  • [20] Jacopo Grilli, György Barabás, Matthew J Michalska-Smith, and Stefano Allesina. Higher-order interactions stabilize dynamics in competitive network models. Nature, 548(7666):210–213, 2017.
  • [21] Tamara Kola, Brett W. Bader, Evrim NMN Acar Ataman, Daniel Dunlavy, Robert Bassett, Casey J. Battaglino, Todd Plantenga, Eric Chi, and Samantha Hansen. Tensor toolbox for matlab. Technical report, Sandia National Lab, Albuquerque, NM (United States), 2017.
  • [22] Tamara G. Kolda and Brett W. Bader. Tensor decompositions and applications. SIAM review, 51(3):455–500, 2009.
  • [23] Thomas Mach. Computing inner eigenvalues of matrices in tensor train matrix format. In Numerical Mathematics and Advanced Applications 2011: Proceedings of the 9th European Conference on Numerical Mathematics and Advanced Applications, Leicester, September 2011, pages 781–788. Springer, 2012.
  • [24] Robert M May. Will a large complex system be stable? Nature, 238(5364):413–414, 1972.
  • [25] IV Oseledets, S. Dolgov, V. Kazeev, D. Savostyanov, O Lebedeva, P Zhlobich, T. Mach, and L. Song. TT-toolbox. URL: http://oseledets. github. io/software, 2016.
  • [26] Ivan V. Oseledets. Tensor-train decomposition. SIAM Journal on Scientific Computing, 33(5):2295–2317, 2011.
  • [27] Nicholas D Sidiropoulos, Lieven De Lathauwer, Xiao Fu, Kejun Huang, Evangelos E Papalexakis, and Christos Faloutsos. Tensor decomposition for signal processing and machine learning. IEEE Transactions on signal processing, 65(13):3551–3582, 2017.
  • [28] Pragya Singh and Gaurav Baruah. Higher order interactions and species coexistence. Theoretical Ecology, 14:71–83, 2021.
  • [29] Per Sebastian Skardal and Alex Arenas. Higher order interactions in complex networks of phase oscillators promote abrupt synchronization switching. Communications Physics, 3(1):218, 2020.
  • [30] Elis Stefansson and Yoke Peng Leong. Sequential alternating least squares for solving high dimensional linear hamilton-jacobi-bellman equation. In 2016 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), pages 3757–3764. IEEE, 2016.
  • [31] Amit Surana, Can Chen, and Indika Rajapakse. Hypergraph similarity measures. IEEE Transactions on Network Science and Engineering, 10(2):658–674, 2022.
  • [32] Hua Zhou, Lexin Li, and Hongtu Zhu. Tensor regression with applications in neuroimaging data analysis. Journal of the American Statistical Association, 108(502):540–552, 2013.

We provide detailed proofs for Remarks 4 and 5 here. Remarks 6 and 7 can be proved in a similar manner.

Proof of Remark 4

We first consider the computational complexity of tensor vector multiplications, which can be estimated as

𝒪(2n3+3n4+(M2)nM)𝒪(M2nM).similar-to𝒪2superscript𝑛33superscript𝑛4binomial𝑀2superscript𝑛𝑀𝒪superscript𝑀2superscript𝑛𝑀\mathcal{O}(2n^{3}+3n^{4}+\cdots\binom{M}{2}n^{M})\sim\mathcal{O}(M^{2}n^{M}).caligraphic_O ( 2 italic_n start_POSTSUPERSCRIPT 3 end_POSTSUPERSCRIPT + 3 italic_n start_POSTSUPERSCRIPT 4 end_POSTSUPERSCRIPT + ⋯ ( FRACOP start_ARG italic_M end_ARG start_ARG 2 end_ARG ) italic_n start_POSTSUPERSCRIPT italic_M end_POSTSUPERSCRIPT ) ∼ caligraphic_O ( italic_M start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_n start_POSTSUPERSCRIPT italic_M end_POSTSUPERSCRIPT ) .

Additionally, the computational complexity of matrix additions and multiplications is much less than 𝒪(M2nM)𝒪superscript𝑀2superscript𝑛𝑀\mathcal{O}(M^{2}n^{M})caligraphic_O ( italic_M start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_n start_POSTSUPERSCRIPT italic_M end_POSTSUPERSCRIPT ). Therefore, the overall complexity of computing the Jacobian matrix of the HOGLV model using the full representation is about 𝒪(M2nM)𝒪superscript𝑀2superscript𝑛𝑀\mathcal{O}(M^{2}n^{M})caligraphic_O ( italic_M start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_n start_POSTSUPERSCRIPT italic_M end_POSTSUPERSCRIPT ).

Proof of Remark 5

Suppose that the reduced dimensions of the interaction tensors are all equal to r𝑟ritalic_r, i.e., bi=ci==rsubscript𝑏𝑖subscript𝑐𝑖𝑟b_{i}=c_{i}=\cdots=ritalic_b start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT = italic_c start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT = ⋯ = italic_r. We first estimate the computational complexity of computing the term 0×123{B1,B2x,B3}subscript123subscript0subscriptB1superscriptsubscriptB2topxsubscriptB3\mathcal{B}_{0}\times_{123}\{\textbf{B}_{1},\textbf{B}_{2}^{\top}\textbf{x},% \textbf{B}_{3}\}caligraphic_B start_POSTSUBSCRIPT 0 end_POSTSUBSCRIPT × start_POSTSUBSCRIPT 123 end_POSTSUBSCRIPT { B start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , B start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT ⊤ end_POSTSUPERSCRIPT x , B start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT }, which is about

𝒪(nr+nr3+nr2+n2r).𝒪𝑛𝑟𝑛superscript𝑟3𝑛superscript𝑟2superscript𝑛2𝑟\mathcal{O}(nr+nr^{3}+nr^{2}+n^{2}r).caligraphic_O ( italic_n italic_r + italic_n italic_r start_POSTSUPERSCRIPT 3 end_POSTSUPERSCRIPT + italic_n italic_r start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT + italic_n start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_r ) .

Therefore, the computational complexity of tensor vector multiplications can be approximated by

2𝒪(nr+nr3+nr2+n2r)2𝒪𝑛𝑟𝑛superscript𝑟3𝑛superscript𝑟2superscript𝑛2𝑟\displaystyle 2\mathcal{O}(nr+nr^{3}+nr^{2}+n^{2}r)2 caligraphic_O ( italic_n italic_r + italic_n italic_r start_POSTSUPERSCRIPT 3 end_POSTSUPERSCRIPT + italic_n italic_r start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT + italic_n start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_r )
+\displaystyle++ 3𝒪(2nr+nr2+nr3+nr4+n2r)3𝒪2𝑛𝑟𝑛superscript𝑟2𝑛superscript𝑟3𝑛superscript𝑟4superscript𝑛2𝑟\displaystyle 3\mathcal{O}(2nr+nr^{2}+nr^{3}+nr^{4}+n^{2}r)3 caligraphic_O ( 2 italic_n italic_r + italic_n italic_r start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT + italic_n italic_r start_POSTSUPERSCRIPT 3 end_POSTSUPERSCRIPT + italic_n italic_r start_POSTSUPERSCRIPT 4 end_POSTSUPERSCRIPT + italic_n start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_r )
+\displaystyle++ \displaystyle\cdots
+\displaystyle++ (M2)𝒪((M1)nr+nr2++nrM+n2r)binomial𝑀2𝒪𝑀1𝑛𝑟𝑛superscript𝑟2𝑛superscript𝑟𝑀superscript𝑛2𝑟\displaystyle\binom{M}{2}\mathcal{O}((M-1)nr+nr^{2}+\cdots+nr^{M}+n^{2}r)( FRACOP start_ARG italic_M end_ARG start_ARG 2 end_ARG ) caligraphic_O ( ( italic_M - 1 ) italic_n italic_r + italic_n italic_r start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT + ⋯ + italic_n italic_r start_POSTSUPERSCRIPT italic_M end_POSTSUPERSCRIPT + italic_n start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_r )
𝒪(M3nr+M2nrM+M2n2r).similar-toabsent𝒪superscript𝑀3𝑛𝑟superscript𝑀2𝑛superscript𝑟𝑀superscript𝑀2superscript𝑛2𝑟\displaystyle\sim\mathcal{O}(M^{3}nr+M^{2}nr^{M}+M^{2}n^{2}r).∼ caligraphic_O ( italic_M start_POSTSUPERSCRIPT 3 end_POSTSUPERSCRIPT italic_n italic_r + italic_M start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_n italic_r start_POSTSUPERSCRIPT italic_M end_POSTSUPERSCRIPT + italic_M start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_n start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_r ) .

Again, the computational complexity of matrix additions and multiplications can be negligible. Thus, the overall complexity of computing the Jacobian matrix of the HOGLV model using the HOSVD representation is about 𝒪(M3nr+M2nrM+M2n2r)𝒪superscript𝑀3𝑛𝑟superscript𝑀2𝑛superscript𝑟𝑀superscript𝑀2superscript𝑛2𝑟\mathcal{O}(M^{3}nr+M^{2}nr^{M}+M^{2}n^{2}r)caligraphic_O ( italic_M start_POSTSUPERSCRIPT 3 end_POSTSUPERSCRIPT italic_n italic_r + italic_M start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_n italic_r start_POSTSUPERSCRIPT italic_M end_POSTSUPERSCRIPT + italic_M start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_n start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT italic_r ).