<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>Grassmannian optimization for online tensor completion and tracking with the t-svd</title></titleStmt>
			<publicationStmt>
				<publisher></publisher>
				<date>2022</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10397339</idno>
					<idno type="doi">10.1109/TSP.2022.3164837</idno>
					<title level='j'>IEEE transactions on signal processing</title>
<idno>1941-0476</idno>
<biblScope unit="volume"></biblScope>
<biblScope unit="issue"></biblScope>					

					<author>Kyle Gilman</author><author>Davoud Ataee Tarzanagh</author><author>Laura Balzano</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[We propose a new fast streaming algorithm for the tensor completion problem of imputing missing entries of a lowtubal-rank tensor using the tensor singular value decomposition (t-SVD) algebraic framework. We show the t-SVD is a specialization of the well-studied block-term decomposition for third-order tensors, and we present an algorithm under this model that can track changing free submodules from incomplete streaming 2-D data. The proposed algorithm uses principles from incremental gradient descent on the Grassmann manifold of subspaces to solve the tensor completion problem with linear complexity and constant memory in the number of time samples. We provide a local expected linear convergence result for our algorithm. Our empirical results are competitive in accuracy but much faster in compute time than state-of-the-art tensor completion algorithms on real applications to recover temporal chemo-sensing and MRI data under limited sampling.]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><head>I. INTRODUCTION</head><p>Modern data are increasingly high-dimensional and multiway, increasing the storage and computational burden of signal processing algorithms. Many practical applications collect data over multiple modalities and can be approximated by a linear spectral mixture model, such as hyperspectral imaging (HSI), which captures dozens or even hundreds of images in narrow, adjacent spectral bands for each frame <ref type="bibr">[52]</ref>, or time-sequential HSI, i.e., hyperspectral video (HSV), with hundreds of spectral bands and megapixel spatial resolution which requires images to be recorded at the order of 10 G pixels per second. It is currently infeasible to process this type of high-rate data in real time applications <ref type="bibr">[19]</ref>. Similarly, chemo-sensing experiments record sensor readings from dozens of channels in hundreds of experiments over thousands of time series. Batch processing of large-scale tensor data quickly becomes computationally intractable, and even storing these tensors is problematic as the memory requirements grow rapidly with the number and size of the tensor modes. Additional challenges include large numbers of missing tensor entries, streaming multiway data that needs to be processed on the fly, and data that may evolve in time with model dynamics.</p><p>To address these concerns, there is extensive recent literature studying low-dimensional tensor decompositions and fast algorithms for computing them. These decompositions provide a low-memory model approximation to tensor data that can be used for compression and interpolation of missing entries. Several algebraic frameworks exist for the analysis and decomposition of tensors, each with their own notion of tensor rank. In this paper, we consider sampling and recovery of three-way tensors using the algebraic framework of the tensor singular value decomposition (t-SVD) <ref type="bibr">[15]</ref>, <ref type="bibr">[29]</ref>, <ref type="bibr">[39]</ref>. Three-way tensors are treated as linear operators over the space of oriented matrices and group rings of fibers under the tensor-product (t-product) multiplicative operator. Using this framework, one obtains an SVD-like factorization referred to as the tensor-SVD (t-SVD) with a defined notion of rank referred to as the tubal-rank. A key property of the t-SVD is the optimality of the truncated t-SVD for data approximation under the Frobenius norm measure <ref type="bibr">[58]</ref>. The t-SVD has found wide utility in computer vision <ref type="bibr">[11]</ref>, <ref type="bibr">[60]</ref>, image and signal processing <ref type="bibr">[59]</ref>, <ref type="bibr">[62]</ref>, <ref type="bibr">[34]</ref>, geophysics, HSI/HSV <ref type="bibr">[17]</ref>, <ref type="bibr">[18]</ref>, and other applications because of its ability to capture signal shifts and scaling due to the model's circulant algebra. However, most existing t-SVD based methods are batch methods that require all of the data to be stored in memory at computation time and/or require the computation of multiple SVDs. This is very time-consuming and inefficient for large-scale data. Current t-SVD algorithms also do not model dynamically changing data.</p><p>Despite much development of the t-SVD, little work has shown its connections to standard multilinear algebra models, which are more mathematically interpretable. In this paper, we show the t-SVD can be equivalently expressed in standard multilinear algebra as a certain block-term decomposition (BTD) problem. The BTD model is a generalization of both the CANDECOMP/PARAFAC decomposition (CPD) and Tucker tensor decompositions with important applications in linear spectral mixture models, decoupling multivariate polynomials, and audio signal separation <ref type="bibr">[44]</ref>. To the best of our knowledge, we are the first to show this equivalence. We show the t-SVD is an efficient factorization of each block in the BTD by utilizing a fixed unitary factor-the discrete Fourier transform matrixin the third mode.</p><p>The impetus of this paper is to propose a fast, efficient algorithm for recovering low-tubal-rank tensor data from streaming, highly-incomplete multiway data with incremen-tal gradient descent on the product manifold of low-rank matrices. Our methods are online by nature and can handle dynamically changing data, avoid computing SVDs, maintain orthonormality on the product of Grassmann manifolds, scale linearly in computation with the number of samples, and are highly parallelizable. We compare our method to batch t-SVD methods and online tensor decompositions. We show our method's ability to track dynamically time-varying low-rank free submodules in real data settings.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A. Organization of this paper</head><p>&#8226; Section II introduces our notation and the mathematical representations for the CP, Tucker, and BTD decompositions. Since our tensor factorization algorithm is based on the t-product <ref type="bibr">[15]</ref>, we briefly cover the background for this decomposition and leave the details for the appendix. At a high level, the t-product is convolutional and so can be performed by a product in the Fourier domain. We also discuss the properties of the t-SVD as it relates to the block-term decomposition. &#8226; Section III details related work in tensor decompositions and completion. &#8226; Section IV proposes our tensor completion method, summarized in Algorithm 1. This section also provides a local convergence result for the proposed algorithm, showing that in a local region we achieve a linear convergence rate in expectation. &#8226; Section V gives experimental results for synthetic data, chemo-sensing experiments, and MRI completion.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>II. PRELIMINARIES A. Notation</head><p>We shall denote all scalar quantities as s, vectors as v, matrices as A, and tensors as X X X . The i th lateral slice of a three-way tensor X X X is a matrix and is denoted as -&#8594; X X X i ; in MATLAB notation this object refers to X X X (:, i, :). The (frontal) faces of a tensor X X X , denoted as X i , are X X X (:, :, i). Any 1&#215;1&#215;d 3 tube along the third-dimension is denoted as -&#8594; v . The n-mode unfolding of a tensor X X X &#8712; F d1&#215;&#8226;&#8226;&#8226;&#215;d N into a d n &#215; &#928; N i =n d i matrix is written as X (n) .</p><p>We write the Kronecker product as &#8855;, the Khatri-Rao product as , and the outer product as &#8226;. The mode-n product of a tensor X X X with matrix C is denoted as X X X &#215; n C and its mode-n matricization is defined as (X X X &#215; n C) (n) = CX (n) . Refer to <ref type="bibr">[30]</ref> for more on these products and their properties and identities. For the purposes of t-SVD and BTD models, we will often need to write X X X &#215; 3 C, for some tensor X X X and matrix C, which we will denote as X X X . The faces of X X X are then written as X i .</p><p>We denote the Frobenius norm as</p><p>The complex conjugate of a quantity conj(&#8226;) takes the complex conjugate of each entry. The complex conjugate transpose of a matrix A is denoted as A and the psuedo-inverse as A &#8224; .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B. Multilinear tensor decompositions</head><p>A rank-r CP decomposition is a sum of r rank-1 outer products <ref type="bibr">[24]</ref>. For a three-way tensor X X X &#8712; F d1&#215;d2&#215;d3 with scalar weights &#955; = [&#955; 1 &#8226; &#8226; &#8226; &#955; r ] &#8712; R r and factor matrices (assumed to be normalized to have unit column norms)</p><p>A multirank-(m, n, p) Tucker decomposition <ref type="bibr">[49]</ref> permits a different rank in each mode unfolding of the tensor and represents each unfolding's columns in the span of an orthonormal basis. The Tucker decomposition for orthonormal factor ma-</p><p>The core tensor is a smaller tensor whose entries show the level of interaction between the different components A, B, and C. A Tucker tensor is decomposed as a core multiplied by the corresponding factor matrix along each mode <ref type="bibr">[30]</ref>. Observe that the CPD is a Tucker tensor whose factors are non-orthogonal with a core tensor having all ones along the super-diagonal and zeros everywhere else.</p><p>The block-term decomposition (BTD) model <ref type="bibr">[12]</ref> is a useful generalization of both the CP and Tucker decompositions. The model expresses a third-order tensor X X X &#8712; R d1&#215;d2&#215;d3 as a sum of low-multirank tensors:</p><p>where </p><p>We denote X X X &#8712; C d1&#215;d2&#215;d3 as the result of computing the DFT along the 3 rd dimension, i.e. performing the DFT on the tubes of X X X , or equivalently X X X := X X X &#215; 3 F d3 . Using the FFT (with indexing in MATLAB notation) we have X X X = fft(X X X , [], 3) and similarly by the inverse DFT, we have X X X = ifft(X X X , [], 3).</p><p>2) Tensor-tensor product: Define the block-diagonal matrix X &#8712; C d1d3&#215;d2d3 to be the matrix with d 3 frontal faces of X X X along the diagonal, i.e. denote each frontal face of size d 1 &#215;d 2 as X k and we have</p><p>We define the block-circulant matrix of the frontal faces of X X X as bcirc(X X X ), where bcirc</p><p>From properties of block-circulant matrices, bcirc(X X X ) can be block-diagonalized by the DFT:</p><p>where (F -1 d3 &#8855; I d2 ) is unitary <ref type="bibr">[11]</ref>. For X X X &#8712; R d1&#215;d2&#215;d3 we define the fold and unfold operators <ref type="bibr">[15]</ref>:</p><p>where the unfold(&#8226;) operator maps X X X to a matrix of size d 1 d 3 &#215; d 2 and fold(&#8226;) is its inverse operator.</p><p>Definition II.1. Tensor-product (t-product) <ref type="bibr">[15]</ref>:</p><p>The t-product can be understood from several perspectives. First, in the canonical domain, a three-way tensor of size d 1 &#215; d 2 &#215; d 3 can be thought of as an d 1 &#215; d 2 matrix whose entries are tubes lying in the third dimension. The t-product is then analogous to matrix-matrix multiplication but where circular convolution replaces scalar multiplication between the matrix elements. Second, the t-product is equivalent to matrix-matrix multiplication in the Fourier domain, or <ref type="bibr">(5)</ref>. This is shown as follows:</p><p>Eq. ( <ref type="formula">7</ref>) and Lemma D.1 in the Appendix admit an efficient algorithm to compute the t-product using FFTs, as shown in Algorithm 3 in the Appendix. Like matrix multiplication, the t-product is associative and linear <ref type="bibr">[15]</ref>. In the case where d 3 = 1, it is easy to see that the t-product becomes regular matrix multiplication.</p><p>With the definition of this product between tensors, we can define analogous definitions of conjugate transpose (X X X ), the identity tensor (I I I nnd &#8712; R n&#215;n&#215;d ), orthogonal tensors, and a type of diagonal tensor called the F-diagonal tensor. We leave these details for the reader in Appendix D. Next we briefly discuss an SVD-like factorization of tensors under the t-product, and a definition of tubal-rank under the t-product and t-SVD.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Theorem II.2 (Tensor Singular Value Decomposition (t-SVD)). [15] Any tensor</head><p>are orthogonal tensors, and S S S &#8712; R d1&#215;d2&#215;d3 is an F-diagonal tensor.</p><p>We state Theorem II.2 without proof here and refer the reader to <ref type="bibr">[11]</ref> for a detailed proof. The t-SVD can be computed efficiently by Algorithm 4 in the appendix.</p><p>Definition II.3 (Tensor multi-rank and tubal-rank). <ref type="bibr">[62]</ref> For any X X X &#8712; R d1&#215;d2&#215;d3 , its multi-rank is a vector defined as r = (rank(X 1 ), . . . , rank(X d3 )) &#8712; R d3 . The tensor tubalrank, rank t (X X X ), is defined as the number of nonzero singular tubes of S S S from the t-SVD, i.e., rank t (X X X ) = #{i : S S S(i, i, :) = 0}= max{r 1 , . . . , r d3 }, where r k = rank(X k ).</p><p>Definition II.4 (Module over the commutative ring). <ref type="bibr">[60]</ref> It can be shown the set of tubes C 1&#215;1&#215;d3 equipped with the t-product forms a ring with unity R(G d3 ) <ref type="bibr">[48]</ref>. Define M d1 d3 to be a module, or the set of all 2-D lateral slices of size</p><p>is also an element of the module, so M d1 d3 is closed under tubal-scalar multiplication.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Definition II.5 (Free submodule (FSM)). M d1</head><p>d3 is called a free submodule of dimension r &lt; d 1 over the commutative ring R(G d3 ) <ref type="bibr">[60]</ref>, where one can construct a spanning basis of orthonormal lateral slices { -&#8594; U U U 1 , -&#8594; U U U 2 , . . . , -&#8594; U U U r } for which we we can uniquely represent any element -&#8594; X X X &#8712; M d1 d3 as a t-linear combination of the spanning basis with some tubal coefficients</p><p>The definitions of free submodule over a ring generalize the notions of vector subspaces over a field of scalars and a spanning basis for a vector subspace, where the scalars of the field are the elements of the ring. Our algorithm uses the notions of free submodule to learn a spanning basis for the observed 2-D lateral slices of data in M d1 d3 . Before defining the manifolds and orthogonal groups used in our tensor problem, we first denote the complex orthogonal group, complex Stiefel manifold, and complex Grassmann manifold, respectively, from matrix linear algebra <ref type="bibr">[1]</ref>, <ref type="bibr">[16]</ref>:</p><p>Next we provide extensions of these definitions to third order tensors under the t-product.</p><p>Definition II.6 (t-orthogonal group). Define O(r, r, d 3 ) as the t-orthogonal group of tubal rank-r:</p><p>Definition II.7 (t-Stiefel manifold). The t-Stiefel manifold consisting of all tubal-rank-r tensors with orthonormal lateral slices defined as</p><p>We note that the t-Stiefel manifold is indeed a product of Stiefel manifolds in the Fourier domain, since each frontal slice of U U U = U U U &#215; 3 F d3 is orthonormal and is a point on a Stiefel manifold, making U U U a point in the product space of Stiefel manifolds. We also note that U U U = U U U &#215; 3 F d3 , where F d3 is an invertible linear mapping of the frontal slices of U U U . This together with the smoothness of U U U (as a product of smooth manifolds) implies that S(r, d 1 , d 3 ) is also a smooth manifold; see, e.g., <ref type="bibr">[56,</ref><ref type="bibr">Lemma 1]</ref>.</p><p>Definition II.8 (t-Grassmann manifold). Let &#8764; t denote an equivalence relation on the t-Stiefel manifold S(r, d 1 , d 3 ) in the sense that for any</p><p>where [U U U ] denotes the equivalence class under &#8764; t :</p><p>which is the r-dimensional free sub-module in M d1 d3 spanned under the t-product by the lateral slices of U U U .</p><p>Proposition II.9. G(r,</p><p>where</p><p>recalling fold(&#8226;) is defined in Section II and stacks the slices in its argument into a tensor. Then, we have</p><p>, where G(r, d 1 ) is a smooth compact manifold of dimension r(d 1 -r) <ref type="bibr">[16]</ref>. Therefore, G(r, d 1 , d 3 ) is a smooth compact (product) manifold of dimension d 3 r(d 1 -r), and since the Fourier transform is invertible, using the properties of the t-product in Definition II.1, for any </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>D. t-SVD and BTD Equivalence</head><p>Definition II.10</p><p>+ , define the BTD tensor with the following decomposition for factors</p><p>Proposition II.11.</p><p>denotes the inverse-DFT matrix. For any tensor decomposition X X X = U U U * * * W W W with factor tensors U U U &#8712; R d1&#215;r&#215;d3 , W W W &#8712; R r&#215;d2&#215;d3 , multi-rank (r 1 , . . . , r d3 ), and tubal rank r = max i {r i }, we have</p><p>Here,</p><p>Proof. Let F -1 d3 be the d 3 &#215; d 3 IDFT matrix. The identity in <ref type="bibr">(15)</ref> is clear after writing the definition of the t-product:</p><p>these mode-products apply the Fourier transform to the thirdmode fibers.</p><p>In particular, Equation (15) links tubal and BTD decompositions and shows how a tensor factorization with multirank (r 1 , . . . , r d3 ) can equivalently be represented as a BTD factorization with multi-rank {(r k , r k , 1)} d3 k=1 . The equivalence reveals the t-SVD as a specialization of the BTD model with the third-mode fixed as the columns of the inverse DFT matrix. Each term in the t-SVD/BTD is itself a (r k , r k , 1)multi-rank tensor with the identity core. In the linear spectral mixture model, each U k W k is the rank-r k spectral map corresponding to a frequency component fk . For a tubal-rank-1 t-SVD decomposition, <ref type="bibr">(15)</ref> </p><p>d3 is the IDFT matrix. Choosing all d 3 of the multi-ranks would be especially challenging. Since the tubal-rank r is much smaller than either of the tensor dimensions, we will slightly overparameterize the problem to a (r, r, 1)-tubal BTD:</p><p>Definition II.12 ((r, r, 1)-tubal BTD). Tensor X X X has a (r, r, 1)-tubal BTD if X X X has the decomposition in <ref type="bibr">(15)</ref> for</p><p>In the strict sense, the t-SVD is not a true tensor decomposition since it lacks the trilinearity in the third mode. Rather, it is a collection of matrix factorizations that describe a tensor structure. In the light of its relationship to the BTD and linear spectral mixture models, the t-SVD, along with its variants using the DCT or other invertible linear transforms <ref type="bibr">[28]</ref>, becomes appropriate for applications like HSI and video compression when the tensor faces are shifted and scaled versions of one another; i.e. the model describes spectral correlations by the embedded circular convolution <ref type="bibr">[61]</ref>. In the BTD form, the t-SVD decomposes the data into the frequency makeup of each pixel.</p><p>It is well-established the t-SVD is powerful in capturing the ubiquitous spatial-shifting and scaling correlations in realworld multiway data. We show tensors whose third modes exhibit these correlations lie in the t-linear span of the same free submodule, and formalize this notion in Proposition II.13 using the multilinear algebra interpretation of the t-SVD.</p><p>Proposition II.13. An r-dimensional free submodule spanned by U U U over the t-product is closed under circular-shifting and scaling.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Proof</head><p>) for some real numbers &#945; i and integers s i that scale and circularly shift the faces of each X X X i . Then for n linear combinations of slices,</p><p>Thus, n i=1 X X X i,shift shares the same U U U in its t-SVD as each X X X i .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>III. RELATED WORK</head><p>It is well known that low-rank decompositions of highly undersampled matrix data, with certain assumptions of incoherent left and right singular vectors from the SVD and random sampling patterns, can be exploited to recover missing data by solving a convex optimization program <ref type="bibr">[10]</ref>. This setting treats matrix data (a 2-way tensor) as a linear operator over a vector space and defines the rank of the matrix via its minimal decomposition into a sum of rank-1 matrices <ref type="bibr">[58]</ref>. However, multiway data often contains correlations or interactions between modes of the tensor that would be destroyed if the tensor is flattened into a matrix <ref type="bibr">[32]</ref>. More sophisticated algebraic techniques are required to analyze these special structures.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A. CANDECOMP/PARAFAC decomposition</head><p>One of the most widely used tensor decompositions is the CPD factorization, which finds a sum of rank-1 outer products that best compose the tensor, where the minimal number of such factors required is referred to as the CP rank. CP is powerful for imputing missing tensor data and also recovering latent factors that describe the tensor along each mode <ref type="bibr">[30]</ref>. CP methods often use alternating least squares to update the factor matrices in a nonconvex optimization problem. Several varieties of CP algorithms exist for batch tensor completion <ref type="bibr">[2]</ref>, <ref type="bibr">[26]</ref>, <ref type="bibr">[31]</ref>. However there are known computational and illposedness issues with the CP model, the foremost issue being that it is NP-hard to compute the CP rank of a tensor or the best low-rank CP approximation of a tensor in the Frobenius norm sense <ref type="bibr">[23]</ref>. Furthermore, the alternating least squares algorithm is prone to getting stuck in local minima, so it may be sensitive to initialization or may require a special initialization step. CP models may also not be expressive enough to represent certain physical systems with block term decompositions.</p><p>Newer work in tensor completion has seen the development of several streaming CP tensor completion methods. A prominent streaming version of CP tensor completion was proposed by Mardani et al. <ref type="bibr">[38]</ref> using stochastic gradient descent. Kasai <ref type="bibr">[27]</ref> proposed another streaming CP tensor completion algorithm with a second-order stochastic gradient descent procedure based on the CP decomposition exploiting recursive least squares for faster convergence than the SGD method in Mardani et al., but at a higher computational cost. The main disadvantage to these streaming CP methods is that they require several hyperparameters that may be difficult to tune or know beforehand. These include a forgetting factor and the regularization parameters that penalize the Frobenius norm of the factor matrices <ref type="bibr">[46]</ref>. While the forgetting factor must be hand-tuned, it does allow for the benefit of varying the algorithm's tracking ability from online mode to purely batch mode. Setting the appropriate CP rank of the model may also be challenging. Other streaming CP algorithms include <ref type="bibr">[37]</ref>, <ref type="bibr">[22]</ref>, <ref type="bibr">[36]</ref>, <ref type="bibr">[50]</ref>, <ref type="bibr">[41]</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B. Tucker decomposition</head><p>Another approach is to use the Tucker tensor decomposition in (2) and Tucker multilinear rank (or multirank) and its convex relaxation. The multirank formulation allows each tensor mode to be expressed in a subspace of different dimension. Tucker decompositions are typically computed using the Higher Order SVD (HOSVD) <ref type="bibr">[13]</ref>. However, Tucker-based convex relaxation is not a tight relaxation of the Tucker rank and cannot give optimal recovery for tensor completion <ref type="bibr">[48]</ref>, <ref type="bibr">[58]</ref>.</p><p>The work in <ref type="bibr">[47]</ref> proposes using randomized linear algebra in the fully-observed data setting to sketch the Tucker decomposition, which naturally permits their algorithm to handle streaming data. The authors in <ref type="bibr">[40]</ref> propose a multi-aspect streaming Tucker-tensor algorithm for completing missing entries where one or more modes of the tensor grows in dimension length with time.</p><p>The online algorithm for tensor completion in <ref type="bibr">[54]</ref> can also be thought of as an incremental Tucker algorithm with identity core tensor, which is the tensor of ones along the super-diagonal and zero elsewhere. Similar to our method, their algorithm tracks a low-dimensional subspace on the Grassmannian in each mode of the tensor using geodesic steps like the GROUSE algorithm <ref type="bibr">[5]</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>C. Block-term decomposition</head><p>De Lathauwer et al. <ref type="bibr">[12]</ref> explores a special class of thirdorder tensor decompositions called the block-term decomposition (BTD) model and its theoretical properties, including the specialization to the multirank-(r k , r k , 1) model which represents a sum of matrix-vector outer products. In many applications, it is natural to represent data in the BTD model in modes of space-space-frequency <ref type="bibr">[57]</ref>. The works in <ref type="bibr">[44]</ref>, <ref type="bibr">[57]</ref> explicitly link the (r k , r k , 1)-BTD to applications with strong physical interpretation like linear spectral mixture models and spectrum cartography that could not be well-represented by CP or Tucker tensors. BTD permits a richer, more expressive representation of data with more than one tensor component, like in the Tucker model, or without restriction to rank-1 components like CP <ref type="bibr">[44]</ref>.</p><p>The work in <ref type="bibr">[44]</ref> proposes a block-coordinate descent batch algorithm to compute the decomposition under full sampling. The authors of <ref type="bibr">[57]</ref> propose algorithms for the case where tensor entries are missing in various patterns, and they prove the uniqueness and completion guarantees of the (r k , r k , 1) BTD factors under mild conditions.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>D. t-SVD</head><p>The t-SVD, a factorization originally posed by Kilmer et al. <ref type="bibr">[29]</ref>, enjoys many similar properties as matrix factorization problems, is solved by the SVD, and gives optimal recovery results under the Frobenius norm whenever the tensor data reveals a low-tubal rank structure <ref type="bibr">[58]</ref>, <ref type="bibr">[11]</ref>. In many applications, for example time series or other ordered data, the corresponding tensor has a distinguishing orientation that exhibits a low tubal-rank structure <ref type="bibr">[48]</ref>. Several works have proposed t-SVD factorization algorithms for tensors with missing entries. Zhang and Aeron <ref type="bibr">[58]</ref> solve the exact tensor completion problem under the t-SVD algebra in a batch way using the tensor nuclear norm, a convex relaxation of tensor tubal-rank. The algorithm involves solving a convex program on each frontal slice of the tensor in the Fourier domain, which provably recovers the missing tensor entries given certain incoherence conditions. Zhou et al. <ref type="bibr">[62]</ref> propose a different algorithm using a tensor factorization model under the tproduct for rapid, efficient optimization, and Tarzanagh and Michailidis <ref type="bibr">[48]</ref> employ randomized linear algebra to compute fast sketches of factorizations under the t-product. Each of these algorithms can only complete batch tensor data and cannot handle streaming multiway data.</p><p>Little work has been done to extend online matrix completion methods to the case of multiway tensor data using the t-SVD framework, apart from the work in <ref type="bibr">[60]</ref> which proposed an online tensor robust principal component analysis algorithm. However, this method cannot predict missing tensor values and does not utilize orthonormal factorization. The work in <ref type="bibr">[43]</ref> proposed an online tensor completion algorithm using the tensor nuclear norm for low-tubal-rank tensors, but it must compute multiple SVDs for each update.</p><p>The algorithm proposed in this paper differs from all of these methods in that it can operate incrementally over a tensor in batch mode or stream in online mode, even with dynamically changing data. Our proposed algorithm TOUCAN seeks the optimal low-rank approximation of a tensor in the Frobenius norm sense under the t-SVD and the BTD models when the data reveals a low tubal-rank structure, and is empirically robust to initialization. TOUCAN requires only a tolerance threshold and the model rank-which can be more easily determined empirically by inspecting the tubal singular value decomposition of the t-SVD of small batches of data or over the entire batch if feasible. This paper builds off the work in <ref type="bibr">[20]</ref>, giving a full derivation of the algorithm, exploring connections to the BTD model, adding new algorithms and theory, and including new and more extensive experiments.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>IV. PROPOSED METHOD</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A. Model</head><p>In the t-SVD framework, using Proposition II.11 we model the three-way tensor data X X X &#8712; R d1&#215;d2&#215;d3 as</p><p>where N N N ijk &#8764; N (0, &#963; 2 ) represents white-Gaussian noise, and U U U &#8712; R d1&#215;r&#215;d3 is an orthonormal tensor under the tensorproduct, and</p><p>we arrange them as lateral slices to make a three-way tensor X X X of size d 1 &#215; d 2 &#215; d 3 <ref type="bibr">[60]</ref>. In most circumstances, the t-SVD method would be used to compute U U U and W W W <ref type="bibr">[29]</ref>. For the purposes of this work, we consider the case of three-way tensor data where each lateral slice arrives sequentially in time and may contain missing entries, i.e. at every time t, we observe an incomplete lateral slice -&#8594; X X X t &#8712; M d1 d3 on the indices &#8486; t &#8834; {1, . . . , d 1 } &#215; {1, . . . , d 3 }. Like the work in <ref type="bibr">[60]</ref>, we wish to compute the spanning low-dimensional free submodule of this multiway streaming data in an online way without storing the full tensor in memory or computing the t-SVD -both which may be prohibitive in large data settings.</p><p>We can learn the spanning free submodule using stochastic gradient techniques, similar to what the GROUSE algorithm <ref type="bibr">[5]</ref> does for matrices with streaming columns. We aim to track a r-dimensional free submodule of M d1 d3 that may evolve over time. Let U U U &#8712; R d1&#215;r&#215;d3 be an orthonormal tensor whose r lateral slices span the free submodule of M d1 d3 .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B. Deriving the objective function</head><p>We begin by writing the problem we wish to solve as a tubal-rank-r problem in t-SVD notation, and then we will express it as a (r, r, 1)-tubal BTD. In the scenario where the underlying free submodule does not change over time, a natural optimization problem with squared 2 error loss is given as</p><p>Here, A &#8486;t (&#8226;) is the linear operator that extracts the observed samples in the set</p><p>and G(r, d 1 , d 3 ) denotes the t-Grassmannian from Definition II.8. We let</p><p>, and</p><p>Since we have concatenated the time slices on the second dimension, let d 2 = T . We see it is possible to solve this problem incrementally, as described in <ref type="bibr">[8]</ref>, in terms of the orthonormal free-submodule U U U and the optimal weights -&#8594; W W W t (U U U ) &#8712; R r&#215;1&#215;d3 for all t = 1, . . . , T . We solve the nested optimization problem in <ref type="bibr">(17)</ref> for each slice -&#8594; X X X t with stochastic gradient descent. From the results in Proposition II.11 and Proposition IV.1, we express each L t (U U U ) in each slice at time t as a (r, r, 1)-tubal BTD. Let L t denote L t in terms of the Fourier variables, and recall U denotes the blockdiagonal matrix representation of U U U = U U U &#215; 3 F d3 , where U k is the k th block on its diagonal of sizes d 1 &#215; r. Let U k and wt,k (U ) &#8712; C r for all k &#8712; [d 3 ] be the frontal faces of the tensors U U U and the optimal</p><p>, where &#8710; &#8486;t (&#8226;) imputes zeros on the missing coordinates. P &#8486;t is a subsampled identity matrix of size |&#8486; t | &#215; d 1 d 3 , and F &#8486;t := P &#8486;t (F d3 &#8855; I d1 ) &#8712; C |&#8486;t|&#215;d1d3 , which in the t-SVD framework is the subsampled inverse Fourier transform. The derivation of this relation using the t-SVD algebra is also shown in Appendix F.</p><p>Let us denote xt := vec(X X X &#8486;t ) &#8712; C d1d3 . Using the result above, the objective (17) in t-product form then has the equivalent nested optimization problem in the Fourier domain:</p><p>and wt (U ) = argmin</p><p>The following proposition characterizes the smoothness of L(U U U ).</p><p>Proposition IV.1. Suppose |&#8486; t | is sufficiently large such that (F &#8486;t U ) (F &#8486;t U ) remains full rank. Then, (P1) the inner least-squares problem (18b) has a unique solution. (P2) L is a well-defined smooth function over G(r, d 1 , d 3 ) and it admits a global optimizer.</p><p>We leave the proof of Proposition IV.1 to Appendix E. At a high level, the proof shows that the (outer) optimization problem constrained to [U U U ] &#8712; G(r, d 1 , d 3 ) is a well-defined problem on a product manifold of Grassmannians in the Fourier domain. Note that our assumption on |&#8486; t | is identical to <ref type="bibr">[5]</ref>, <ref type="bibr">[6]</ref>.</p><p>The problem in <ref type="bibr">(19)</ref> is nonconvex from the coupling of U and wU and the orthonormality constraints U k U k = I r for all k &#8712; [d 3 ]. We will minimize a problem over a product of d 3 Grassmannians G 1 (r, d 1 ) &#215; . . . &#215; G d3 (r, d 1 ) represented by U . For a single data observation, we first compute the unique minimizer wt (U ) (equivalently -&#8594; W W W t (U U U )) to the inner leastsquares problem, and then take a stochastic gradient descent step in the negative gradient direction of L t (U ) with respect to each block U k on the diagonal of U for estimating U U U (equivalently U U U ).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>C. Updating U U U</head><p>To update our estimate of the free submodule U U U , we perform a gradient descent step on each Grassmannian in the Fourier domain. We compute the gradient of the objective function L t with respect to each U k and then follow this gradient along a short geodesic curve on the Grassmannian <ref type="bibr">[5]</ref>. Substituting the expression for the unique closed-form solution wt (U ) into the objective, where wt (U ) = argmin wt&#8712;C d 3 r 1 2 F &#8486;t (x t -U wt ) 2  2 , we find the partial derivatives of L t with respect to U :</p><p>See Appendix C for the derivation of the gradient. When computing the gradient, wt (U ) is solved for as detailed in the next subsection.</p><p>Remark IV.2. Note that the partial derivative (20) derived for the nested problem <ref type="bibr">(19)</ref> should not be confused with the case where L t (U ) = 1 2 F &#8486;t (x t -U &#373;t ) 2 2 for some fixed &#373;t . In that case, the gradient with respect to U is also &#8706;Lt &#8706;U = -F &#8486;t F &#8486;t (x t -U &#373;t ) &#373; t . However, the difference in our case is that, under the first assumption of Proposition IV.1, the weights wt (U ) = (U F &#8486;t F &#8486;t U ) -1 U F &#8486;t are a function of U ; See Appendix C for further details.</p><p>Using the work in <ref type="bibr">[16]</ref>, the gradient on the product of Grassmannians in Fourier space is given by</p><p>where P D (&#8226;) sets the non-block-diagonal entries of the gradient to zero. The gradient of the objective on the product of Grassmannians then has the form (using w instead of wt (U ) for ease of notation and indexing the d 3 blocks of w)</p><p>where</p><p>imputes zeros on the unobserved tensor entries, and fft(&#8226;, [], 3) takes the Fourier transform along the third-mode tubes.</p><p>A gradient step along each geodesic in the product manifold with tangent vector -&#8711;L t,k is given by Equation (2.65) in <ref type="bibr">[16]</ref> and is a function of the singular values and vectors of &#8711;L t,k <ref type="bibr">[5]</ref>. Each &#8711;L t,k has the rank-one SVD:</p><p>From <ref type="bibr">[16]</ref>, a rank-one step of length &#951; &gt; 0 in the direction -&#8711;L t,k is given by</p><p>where pk = U k wk is the k th frontal face of P P P t = -&#8594; P P P t &#215; 3 F d3 (equivalently, in block diagonal matrix form, the k th block element of</p><p>is the block-diagonal matrix formed from the wk ). Using conjugate symmetry of the Fourier transform, U k = conj(U (d3-k+2) ), k = d3+1 2 + 1, . . . , d 3 . Following from the result in <ref type="bibr">[55]</ref>, we use a greedy step size &#951; k = arctan( &#947;k / wk ) on each Grassmannian. This choice of step size adaptively changes based on the FSM fit to the data, growing proportionally based on the angle between the projection and its residual. Using principles of conjugate symmetry of the FFT, we can save time by only computing the matrix-vector multiplications on half of the frontal slices in the Fourier domain and using the complex conjugate to find the others.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>D. Computing the weights</head><p>For the gradient computations in U , we first require computing wt (U ) = argmin</p><p>If we were to solve for the optimal wt (U ) in closed form, this would require forming and inverting the d 3 r &#215; d 3 r matrix U F &#8486;t F &#8486;t U , which can be very large. Instead, the blockwise separable structure of this quadratic problem suggests we use conjugate gradient descent (CGD) to estimate wt (U ) for a fixed U . The structure permits fast, efficient computations by matrix-vector products U F &#8486;t F &#8486;t U v for some vector v &#8712; F d3r . Within the t-SVD, this involves FFTs, separable matrixvector products in each slice (from the block diagonal structure of U ), and zero-padding.</p><p>We observe faster overall convergence of our algorithm when solving the problem in wt (U ) at each time step with higher accuracy. CGD is guaranteed to converge in as many iterations as the dimension of the optimized vector <ref type="bibr">[45]</ref>, but since wt (U ) is d 3 r-dimensional, the number of maximum iterations could be rather large. As the number of missing entries increases, the matrix F &#8486;t U in the least squares problem of Eq. ( <ref type="formula">28</ref>) becomes more poorly conditioned, and since the convergence rate of CGD is dependent on the condition number of this matrix, denoted &#954;(F &#8486;t U ), the algorithm will require more iterations to solve the problem to within some &gt; 0 accuracy, slowing the run-time of our algorithm. However, as noted above, it is impractical to form and store the large matrix, much less compute its SVD to find &#954;. We prove a practical upper bound on the number of CGD iterations as a function of the sampling rate and show CGD converges in far fewer iterations than the maximum for most subsampling rates. The proof, along with accompanying lemmas, is left to Appendix A. Empirical studies of our algorithm show the number of maximum CGD iterations is tightly bounded by our Theorem IV.4 for most subsampling rates.</p><p>For the following theorem, we will require a notion of tensor coherence, given in <ref type="bibr">[58]</ref>: Definition IV.3 (Tensor coherence). Let U U U &#8712; R d1&#215;r&#215;d3 be an orthonormal tensor whose r lateral slices span the free submodule of M d1 d3 . Then, the &#181;-coherence of U U U is given by &#181;</p><p>where ei &#8712; R d1&#215;1&#215;d3 is the column basis with ei11 = 1 and the rest of the entries are zero. Note that r d1d3 &#8804; &#181;(U U U ) &#8804; 1. It is standard practice in matrix and tensor completion literature to make some assumption that the coherence is not too large to guarantee recovery (see Candes &amp; Recht <ref type="bibr">[10]</ref> for matrix completion and Zhang &amp; Aeron <ref type="bibr">[58]</ref> who consider tensor completion under the t-product.) We will impose a coherence upper bound assumption on all of the iterates of U U U t as well as a sampling condition for the number of entries per slice that must be observed.</p><p>where C is a universal constant and &#181; 0 &gt; 1/d 3 is small. Assume coherence of the U U U t iterates remains bounded as &#181;(U U U t ) &#8804; &#181;0r d1 . Then with probability at least 1 -&#948;, where &#948; &#8712; [0, 1], the maximum number of conjugate gradient descent iterations, J, required to solve (28) to within -precision for &gt; 0 is upper bounded as:</p><p>where</p><p>The proof is found in Appendix A.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>E. Algorithm</head><p>The preceding updates give an efficient algorithm we call TOUCAN (Tensor rank-One Update on the Complex grass-manniAN) for computing each variable in the Fourier domain with simple, efficient linear algebra operations and fast Fourier transforms. TOUCAN is numerically stable by maintaining orthonormality on the product of Grassmannians and is constant in memory use, scaling linearly with the number of observed data samples instead of in polynomial-time like batch t-SVD methods. In addition, like other t-SVD algorithms, independent computations in each slice (equivalently the blocks of the block-matrix terms) in the Fourier domain can be carried out in parallel. TOUCAN is summarized in Algorithm 1.</p><p>TOUCAN can handle two cases of online and streaming data. The first is incremental batch completion where the batch tensor is too large to read into local memory, but can be stored elsewhere. Our algorithm reads only slice -&#8594; X X X t into local memory, updates its estimate of U U U and weights -&#8594; W W W t (U U U ), discards this local copy of -&#8594; X X X t , and passes over each data slice like this in sequence. In this setting, it is possible to make multiple passes over the full batch while only reading parts into memory. This is a sensible approach when the underlying low-rank model is believed to be static or stationary throughout the batch. The second use case of TOUCAN is for purely streaming data where we seek to learn U U U from each new observation and discard each observation completely after processing. The algorithm then tracks any changes in U U U only from new observations and is able to track a time-varying low-rank model.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Algorithm 1 Tensor rank-One Update on the Complex grass-manniAN (TOUCAN): Arbitrary Missing Tensor Entries</head><p>Require: Data:</p><p>-&#8594; X X X t &#8712; R d1&#215;1&#215;d3 &#8704;i = 1, . . . , T observed on &#8486; t ; tubal-rank r, tolerance &gt; 0. 1: Initalize Fourier transformed orthonormal tensor U U U 0 &#8712; C d1&#215;r&#215;d3 . 2: for t = 1 to T do 3:</p><p>Compute X X X &#8486;t = fft(&#8710; &#8486;t (X X X &#8486;t ), [], 3).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>4:</head><p>Estimate optimal weights wt (U ) by solving Eq. ( <ref type="formula">28</ref>) with CGD to within tolerance &gt; 0.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>5:</head><p>Predict full slice in the Fourier domain:</p><p>Shape into tensor and transform:</p><p>-&#8594; P P P t = ifft(P P P t , [], 3).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>7:</head><p>Compute residual:</p><p>Compute gradient terms from Eqs. ( <ref type="formula">24</ref>) and ( <ref type="formula">25</ref>). 9:</p><p>Update subspace: U U U t+1 from <ref type="bibr">(27)</ref>.</p><p>10:</p><p>3).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>11:</head><p>Transform:</p><p>3). 12: end for 13: return U U U , -&#8594; W W W t (U U U t ), &#8704;t = 1, . . . , T</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>F. Memory and computational analysis</head><p>TOUCAN processes a tensor incrementally and thus only needs to store an orthonormal tensor U U U &#8712; R d1&#215;r&#215;d3 , the weights  <ref type="table">I</ref> summarizes the memory and computational requirements of our algorithm compared to other t-SVD algorithms.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>G. Convergence</head><p>Here, we prove expected linear local convergence of our algorithm. Our analysis follows naturally from the work in <ref type="bibr">[6]</ref>, which proved a similar result for the GROUSE algorithm, for which TOUCAN is a related extension to t-product tensors. The problem of proving convergence for this class of algorithms is complicated by the setting of streaming data, missing entries, and the optimization problem being constrained to a nonlinear manifold with rank-one updates. Other analyses for related problems may exist like in <ref type="bibr">[25]</ref>, but often these are limited to the cases of batch data, fully observed entries, and a specific type of retraction operator on the manifold. However, little work in the literature exists for finite-sample</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Algorithm</head><p>Memory per iteration Total batch computational complexity Computation per iteration TOUCAN O(d</p><p>TABLE I: Algorithm memory and computational complexities. A here denotes the number of algorithm iterations for batch methods, and B denotes the number of batch passes for TOUCAN. Here usually B A.</p><p>analysis with missing data, and the only results for streaming subspace estimation with missing data in the matrix case are local convergence results for the GROUSE algorithm in <ref type="bibr">[6]</ref> and the work in <ref type="bibr">[14]</ref>; see <ref type="bibr">[4]</ref> for a recent survey of the area.</p><p>Our problem and analysis are tailored to these specific settings, and we apply similar assumptions as made in <ref type="bibr">[6]</ref> and other standard assumptions made in the literature. For simplicity of analysis, we focus on the case of tubes sampled uniformly at random since it allows us to extend the results provided in <ref type="bibr">[6]</ref> to the tensor case.</p><p>Our theory provides expected linear local convergence under (i) the randomness of the observed tensor and (ii) the randomness of the subset of elements observed at each iteration. More specifically, we have the following assumptions:</p><p>&#8764; N (0, 1).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A2.</head><p>Let &#8486; t &#8834; {1, . . . , d 1 } denote the tube indices, and assume the tube indices are chosen uniformly at random. In other words, the data -&#8594; X X X t are sampled tubal-wise, where a tube consists of d 3 entries along the third mode dimension.</p><p>It is worth mentioning that A1 is a generalization of the assumption made in <ref type="bibr">[6]</ref> to the tensor problem. We also note that conditions analogous to A2 have been used in <ref type="bibr">[35]</ref> for t-product based tensor completion tasks.</p><p>Before providing the main result, we give some additional notations and definitions. Let &#181;(U ) denote the matrix coherence of complex orthonormal matrix U &#8712; C d&#215;r , i.e. &#181;(U</p><p>, where e i is the i th standard basis unit vector in C d . We note this is consistent with Definition IV.3. For a vector argument x &#8712; C d , this further specializes to &#181;(x) = d x 2 &#8734; / x 2 2 . We use &#181; max (U U U * ) := max k=1,...,d3 &#181;(U * k ) to denote the maximum coherence of the frontal slices of U U U . Denote</p><p>We will analyze the sequence t measuring the error between the planted model U U U * and the algorithm's estimate U U U t :</p><p>where U * (resp. U t ) denotes the current estimate of the blockdiagonal Fourier representation of U U U * (resp. U U U t ). Again, here we use the normalized DFT matrix when taking the Fourier transform. The second equality follows from the definition of the Frobenius norm under the t-product. If U U U t perfectly estimates the free submodule spanned by U U U * , it's easy to see from ( <ref type="formula">32</ref>) that t = 0; on the other hand, if U U U t is orthogonal to U U U * in t-product, t = d 3 r.</p><p>Theorem IV.5. Let {( -&#8594; W W W t-1 (U U U t-1 ), U U U t )} t&#8805;1 denote the sequence generated by Algorithm 2. Suppose A1 and A2 hold, and the number of sampled tubes |&#8486; t | &#8805; q for all t such that</p><p>for some C 1 &#8805; 64/3. Suppose there exists &#948; &#8712; (0, 0.6/d 3 ) such that the residual vector vt,k</p><p>, (34a)</p><p>for all k = 1, . . . , d 3 each with probability at least 1 -&#948;. Assume further that t,k &#8804; min</p><p>t &#8804; (8 &#8226; 10 -6 )(0.6 -d 3 &#948;) 2 q 3 d 3 1 r 2 .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>(35b)</head><p>Then,</p><p>Remark IV.6. We note that in the matrix case, i.e., d 3 = 1, our result recovers <ref type="bibr">[6,</ref><ref type="bibr">Corollary 2.15]</ref>. We also note that the failure probability increases as d 3 grows which is similar to the results provided in the t-SVD literature under the tubal sampling assumption; see, e.g., <ref type="bibr">[58,</ref><ref type="bibr">Theorem 3.2]</ref>.</p><p>Remark IV.7. The analogous supposition that Equations (34a) and (34b) hold was also made in <ref type="bibr">[6]</ref> for the matrix case, where they pointed out that empirical evidence supports this assumption. This is essentially assuming that the residual vectors are roughly as incoherent as the subspaces themselves. The assumptions in (35a) and (35b) define the local region in which the expected linear rate of convergence is achieved. As discussed in <ref type="bibr">[6]</ref>, this local region is conservative according to empirical evidence, which is also supported by the experiments in our own work.</p><p>Remark IV.8. In (36), the expectation is with respect to the randomness in the data drawn from U U U * with normally distributed coefficients, and the high probability result is with respect to the tubes observed at random. Supposing that we are within the radius of local convergence, the rate (36) suggests our algorithm converges faster the closer q d1r is to 1, and the fastest when we observe fully sampled data. Conversely, with fewer tube observations q, the rate of convergence slows.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>V. EXPERIMENTAL RESULTS</head><p>A. Numerical experiments 1) Incremental Tensor Completion: We first verify the validity and efficiency of TOUCAN in recovering large-scale missing tensor data from synthetically generated isotropic Gaussian distributions with low-tubal-rank. We compute the t-product of two low-tubal-rank tensors U U U * * * W W W to yield a third order tensor of tubal-rank r = 3 and sample 20% of tensor entries/tubes randomly according to a Bernoulli distribution. TOUCAN observes one lateral slice sequentially, solves the inner CGD step to within a set tolerance (10 -6 ), and is allowed to process over the entire batch twice. Our simulations compare against t-SVD batch tensor completion algorithms: 1) an algorithm that optimizes tensor nuclear norm via alternating direction method of multipliers (TNN-ADMM) <ref type="bibr">[58]</ref>, and 2) Tensor Completion by Tensor Factorization (TCTF) of <ref type="bibr">[62]</ref>, which factorizes the tensor for the t-product of two lowtubal-rank tensors. For TCTF, we omit the rank-reduction steps and set the multi-ranks equal to the planted tubal-rank since our synthetic examples are generated in this manner, and the steps only add computation; this also makes TCTF more comparable to TOUCAN since they both seek a similar nonconvex factorization under the t-product. Fig. <ref type="figure">2(a)-(d</ref>) plot the normalized root-mean-squared error (NRMSE) X X X est. -X X X true F / X X X true F of the recovered tensor to the true tensor by median elapsed wall clock time in seconds over 10 trials. In addition, we also examine cases with additive white Gaussian noise. All algorithms are coded in Python with our optimized implementations of TNN-ADMM, TCTF, and STC; for OLSTEC and TeCPSGD, we use the implementations from <ref type="bibr">[27]</ref> converted to Python. Experiments were run on a Intel(R) Core(TM) i7-6850K CPU @ 3.60GHz. Our implementation can be found at <ref type="url">https://github.com/kgilman/TOUCAN</ref>.</p><p>For tensors with large d 2 dimension, TOUCAN can rapidly complete the data in substantially less time than either batch algorithm while using only 0.3% of the memory per iteration compared to storing the entire tensor for synthetic example. Fig. <ref type="figure">2</ref> shows the algorithm scales up well with the tensor dimensions, and can achieve batch completion for large-scale tensors in orders of magnitude less computation time. With additive Gaussian noise, our stochastic gradient algorithm achieves accuracy to within a noise floor proportional to the noise variance. For smaller size tensors, the batch algorithms succeed in less wall clock time, so TOUCAN only becomes advantageous when the dimensions of the tensor scale to be very large. With larger amounts of additive noise, the algorithm's advantage diminishes since the batch algorithms are able to more quickly average the noise out than our stochastic algorithm. Since the first observations in the initial phase of the algorithm will be revisited in later passes over the batch, the NRMSE curve with respect to the entire tensor shows slower progress for TOUCAN in the first iterations, but this graph under-reports the accuracy of the estimate of U U U .</p><p>2) Dynamic FSM Tracking: We demonstrate TOUCAN's ability to track a dynamically changing FSM from streaming multiway data with missing entries. We generate a random orthonormal basis U U U for various tubal-ranks from an i.i.d. Gaussian distribution and draw 2-D lateral slices by t-product with i.i.d. Gaussian weights. 50% of the tensor entries are sampled at random, and we record the NRMSE of the completed tensor slice -&#8594; X X X t,est. --&#8594; X X X t,true F / -&#8594; X X X t,true F . The experiment simulates abrupt system dynamics by randomly reinitializing the underlying FSM every 500 slices. The results in Fig. <ref type="figure">2</ref>(e),(f) illustrate TOUCAN's ability to adaptively re-estimate each new FSM and capture system dynamics that the batch algorithms cannot, as they compute estimates based on the entire batch of data collected over time.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B. Real data experiments</head><p>1) Application to Gas Measurements Tensor: We deploy our algorithm to track a dynamically changing free submodule from streaming 2-D lateral slice data with missing entries in chemo-sensing data collected by Vergara et al. <ref type="bibr">[51]</ref>. The dataset consists of measurements as a gas is blown over an array of conductometric metal-oxide sensors in a wind tunnel <ref type="bibr">[31]</ref>. The data is made up of six arrays each with 72 sensors, 260 seconds of data points collected at &#8764; 100 Hz, and 300 experiments for each of 11 gases. The sensor values vary in time as a gas permeates throughout a wind tunnel and then dissipates <ref type="bibr">[31]</ref>. We chose to fix the array and gas, using the fourth sensor array and Toulene gas for our experiments, downsample to 10 Hz, and remove sensor 33 (out of 72) and time samples 1103 and 2012, which seemed to have erratic measurements, resulting in a tensor of size 300 &#215; 2600 &#215; 71. We subtract the sample mean from the columns of each time slice -a column referring to 300 experiment samples per sensor -normalize each time slice by its Frobenius norm, and subsample only 25% of the data to simulate missing entries.</p><p>TOUCAN is compared to the batch t-SVD algorithms, the two online CP algorithms TeCPSGD and OLSTEC (we use the source code from <ref type="bibr">[27]</ref> for our implementations of OLSTEC and TeCPSGD), and the online tensor completion algorithm Sequential Tensor Completion <ref type="bibr">[54]</ref>, which estimates an orthonormal rank-r unfolding for each mode, to recover undersampled chemo-sensing data. The online algorithms process each time slice sequentially, observing a 300 &#215; 71 matrix of experiments versus sensor channels, and pass over the entire data once. We empirically found tracking a 1-dimensional FSM with TOUCAN to have the best performance. The algorithm updates its estimate of U U U t+1 , and weights -&#8594; W W W t (U U U t ). For competing algorithms, we tuned parameters by grid search (see Appendix I) to find the best performance in NRMSE on the first 300 time samples. The online CP algorithms learn a rank-50 decomposition, with their factors initialized with the left-singular subspaces of the mode unfoldings of the first 300 samples. We set &#955; = 10 -5 and the initial step size to be 10 3 for TeCPSGD, and &#955; = 0.9 and &#181; = 10 -8 for OLSTEC. STC learns a multirank <ref type="bibr">(15,</ref><ref type="bibr">15,</ref><ref type="bibr">1)</ref> model. TCTF learns a tubal-rank 10 factorization, and the ADMM algorithm penalty is set to be &#961; = 1.5 for TNN-ADMM. The batch   algorithms iterate until the difference NRMSE between iterates is less than 10 -4 or a maximum number of 75 iterations is reached. Fig. <ref type="figure">3</ref> compares the NRMSE of each recovered 2D slice to the true data at each time instance for the algorithms, which shows TOUCAN tracking the sensor readings with comparable error to OLSTEC. Due to the non-stationary behavior of the data, the tracking errors fluctuate as the data changes in time. While the batch methods achieve the best overall NRMSE error computed for the entire tensor, the online methods show the best reconstruction error on each sample after the initial start-up iterations. We also give the total computation time for each algorithm in Table <ref type="table">II</ref>, emphasizing the significant speedup TOUCAN attains over the baseline algorithms, particularly the batch algorithms that are computationally prohibitive with large tensor data.</p><p>2) Streaming dynamic MRI reconstruction: Magnetic resonance imaging (MRI) collects a high-dimensional tensor that is often undersampled due to computational limitations exacerbated by large volumetric and dynamic acquisitions. One successful solution to image reconstruction from limited sampling is low-rank tensor completion <ref type="bibr">[7]</ref>, <ref type="bibr">[38]</ref>. A t-SVD factorization of the spatial frequency-by-time (or k-t space) tensor reveals low-tubal-rank structure in the real and complex components <ref type="bibr">[7]</ref>, and t-SVD algorithms have been shown to be proficient at completing the k-t space tensor for image reconstruction. MRI data can also contain significant motion content and time-varying dynamics such as breathing motion. We employ TOUCAN's ability to track streaming timedynamic multiway day to recover the k-t space tensor.</p><p>We test the completion abilities of each algorithm on the invivo myocardial perfusion dataset data from <ref type="bibr">[33]</ref> with both varying levels of uniformly random entry sampling and tube sampling along the k y direction. The dimensions of the data are k x = 190, k y = 90 and k t = 70, and the data contains many dynamic motions such as heartbeats, breathing motion, and image intensity changes.</p><p>The streaming algorithms pass over the data once with the k-space rows oriented along the third tensor mode (k y = d 3 ). TOUCAN learns a free submodule of tubal-rank 5, and two streaming CP algorithms learn a rank-50 CP decomposition. After exhaustive search for hyperparameters, we set &#955; = 0.5 and &#181; = 10 -4 for OLSTEC, and &#955; = 10 -4 and the initial step size to be 10 5 for TeCPSGD. We set the ranks to be r 1 = r 2 =  25, r 3 = 5 for STC. STC cannot handle tube-sampled data since an entire column of one of the tensor unfoldings will be missing, so we only test it in the case where arbitrarily random entries are missing. The batch t-SVD algorithms are allowed to compute over the data until the difference in NRMSE between iterates is less than 10 -4 or the algorithm exceeds a specified maximum number of iterations.</p><p>We record the NRMSE, mean structural similarity index measures (SSIM) <ref type="bibr">[53]</ref> of the reconstructed images, and total algorithm wall-clock times in Table <ref type="table">III</ref>. Fig. <ref type="figure">4</ref> displays a sample of the reconstruction results, along with plots of the NRMSE of each frame's recovered real k-t space as the online algorithms pass over the data.</p><p>When deployed on the highly dynamic invivo cardiac perfusion data, our algorithm achieves competitive reconstruction error in less wall clock time. In the tubal-sampling case, which is most practical in real fMRI collection, our method can more rapidly update its subspace estimate during initialization. Beginning at frame 41, strong breathing motion occurs, and the three algorithms are comparable in their subspace tracking abilities. Adjusting the streaming CP algorithms' hyperparameters and STC's choice of multirank also requires exhaustive trial and error, and the results are often sensitive to these choices.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>VI. DISCUSSION &amp; FUTURE WORK</head><p>In this paper we presented a novel algorithm for low-tubalrank tensor completion with stochastic gradient descent on the product of Grassmann manifolds under the t-SVD algebraic framework. Our method avoids computing any SVDs, and only needs to update and store a smaller orthonormal tensor and the lateral slice of weights per iteration, leading to a powerful and efficient online algorithm that scales linearly in memory use and computation. TOUCAN naturally extends well-known concepts from matrix algebra to the tensor domain for streaming data under the t-SVD model, making it practical in big data settings where batch methods would become intractable.</p><p>As long as the input tubal-rank to our algorithm is an upper bound for the tubal-rank of the data generated, our method should find a good approximation to the tensor, in which case some of the tensor factors may have small coefficients, showing that the rank could be smaller. Establishing good techniques for determining tubal-rank in an online way from missing data is a very interesting direction for future work.</p><p>TOUCAN is practical in many big data problems where the tensor data is inherently oriented, such as time series data, and contains modes with periodic data best captured by the FFT in the t-SVD framework. Fixing the third mode factor matrix to be the DFT matrix is a strong model assumption, and other works have extended the t-SVD to use other fast orthogonal transforms in the third mode <ref type="bibr">[28]</ref>. Future work could consider learning an orthogonal factor matrix in the third mode that best fits the data.</p><p>Choosing the best tensor orientation is not always apparent and requires trial and error. While t-SVD algorithms can leverage periodic structure in the data, CP and Tucker models are compatible with any tensor orientation. These methods may also be preferable when the CP or multilinear ranks are much smaller than either tensor mode dimension; TOUCAN's memory requirement will grow multiplicatively between d 1 , d 3 , and k to store the orthonormal basis, whereas CP and Tucker methods require only storing three small factor matrices and a small core tensor in the case of Tucker tensors. Lastly, t-SVD methods are only useful for imputing missing entries when the data reveals a low-tubal-rank structure, but not for recovering interpretable latent factors that may be useful for data analysis. An interesting line of future work would be to develop a novel tensor decomposition agnostic to tensor orientation and enjoys the low memory footprint and latent factor interpretability of CP decompositions. </p><p>Lemma D.1 states the conjugate symmetry property for a real-valued signal in the frequency domain using properties from the Fourier transform; this will be useful later for avoiding redundant computations.</p><p>Algorithm 3 Tensor-Tensor Product <ref type="bibr">[11]</ref> Inputs:</p><p>Conjugate transpose <ref type="bibr">[15]</ref> The conjugate transpose of a tensor A A A &#8712; C d1&#215;d2&#215;d3 is the tensor A A A &#8712; C d2&#215;d1&#215;d3 obtained by conjugate transposing each frontal slice of A A A and then reversing the order of transposed slices 2 through d 3 :</p><p>A</p><p>Definition D.3. Identity tensor <ref type="bibr">[15]</ref> The identity tensor </p><p>Definition D.5. F-diagonal tensor <ref type="bibr">[15]</ref> A tensor is called Fdiagonal if each of its frontal slices is a diagonal matrix.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>APPENDIX E PROOF OF PROPOSITION IV.1</head><p>Proof. (P1) Assuming sample enough entries of the data such that (F &#8486;t U ) (F U ) remains full rank, then wt (U ) is the unique minimizer of the inner least-squares problem. (P2) For a fixed U U U , let -&#8594; W W W t (U U U ) be the unique minimizer in (18b)</p><p>as shown in (P1), and say we choose a different basis for</p><p>) which implies that the outer objectives of U U U and U U U R are identical, i.e., L(U U U R ) = L(U U U ). Hence, the objective is constant over sets of full tubal-rank tensors U U U spanning the same free submodule. Now, considering these sets as an equivalence class [U U U ], the problem is well-defined and smooth on the t-Grassmannian. This type of argument was also provided in <ref type="bibr">[9,</ref><ref type="bibr">Section 3]</ref> for the offline matrix completion problem on the Grassmannian.</p><p>By Proposition II.9, L t (U ) in ( <ref type="formula">19</ref>) is a smooth function over the Cartesian product of complex (matrix) Grassmann manifolds in the Fourier domain. This, together with the fact that the Fourier transform operator F d3 is invertible, also implies that F : G(r, d 1 , d 3 ) &#8594; R is a well-defined smooth function over the product manifold. Further, the solutions of the original problem in <ref type="bibr">(17)</ref> can be obtained as follows:</p><p>U U U = U U U &#215; 3 F d3 = fold(U 1 ; U 2 ; . . . ; U d3 ) &#215; 3 F d3 , -&#8594; W W W t (U U U ) = fold( wt,1 ; wt,2 ; . . . ; wt,d3 ) &#215; 3 F d3 .</p><p>This completes the proof.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>APPENDIX F T-SVD INTERPRETATION OF TOUCAN</head><p>We note here that U U U is one choice of representation for a point on the product Grassmannian where the Fourier transform along its tubes U U U has as each frontal face a matrix with orthonormal columns. However, we can equivalently represent this point using an d 1 d 3 &#215; d 3 r block-diagonal matrix in the Fourier domain, with the frontal faces of U U U on the diagonal. We will revisit this representation below.</p><p>We can rewrite the objective function using the blockcirculant matrix definition of the t-product: </p><p>where xt &#8712; R d1d3 := vec(&#8710; &#8486;t ( -&#8594; X X X t ) &#215; 3 F d3 ) &#8712; C d3r for convenient notation. Finally, F &#8486;t = P &#8486;t (F -1 d3 &#8855; I d1 ) &#8712; C |&#8486;t|&#215;d1d3 is the subsampled inverse Fourier transform.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>APPENDIX G SUPPORTING LEMMAS OF THEOREM IV.4</head><p>The following lemma utilizes the notion of coherence of an m &#215; r subspace basis U , defined as &#181;(U ) = max 1&#8804;i&#8804;m P U e i 2 2 , where P U is the orthogonal projection onto U and e i is the i th standard basis vector <ref type="bibr">[10]</ref>. Here, the second equality uses <ref type="bibr">(45)</ref> and the last equality follows from the maximum element of the normalized Fourier transform's vectors being e 0 = 1.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>APPENDIX H PROOF OF THEOREM IV.5</head><p>Proof. The result follows by noting the following steps:</p><p>(i) Under Assumption A2, the tensor problem in <ref type="bibr">(17)</ref> which can be re-written as d 3 separable optimization problems in the Fourier domain: </p></div></body>
		</text>
</TEI>
