Higher-order singular value decomposition

In multilinear algebra, the higher-order singular value decomposition (HOSVD) of a tensor is a specific orthogonal Tucker decomposition. It may be regarded as one type of generalization of the matrix singular value decomposition. It has applications in computer vision, computer graphics, machine learning, scientific computing, and signal processing. Some aspects can be traced as far back as F. L. Hitchcock in 1928, but it was L. R. Tucker who developed for third-order tensors the general Tucker decomposition in the 1960s,  further advocated by L. De Lathauwer et al. in their Multilinear SVD work that employs the power method, or advocated by Vasilescu and Terzopoulos that developed M-mode SVD a parallel algorithm that employs the matrix SVD.

The term higher order singular value decomposition (HOSVD) was coined be DeLathauwer, but the algorithm referred to commonly in the literature as the HOSVD and attributed to either Tucker or DeLathauwer was developed by Vasilescu and Terzopoulos. Robust and L1-norm-based variants of HOSVD have also been proposed.

Definition
For the purpose of this article, the abstract tensor $$\mathcal{A}$$ is assumed to be given in coordinates with respect to some basis as a M-way array, also denoted by $$\mathcal{A}\in\mathbb{C}^{I_1 \times I_2 \cdots \times \cdots I_m \cdots\times I_M}$$, where M is the number of modes and the order of the tensor. $$\mathbb{C}$$ is the complex numbers and it includes both the real numbers $$\mathbb{R}$$ and the pure imaginary numbers.

Let $$\mathcal{A}_{[m]}\in\mathbb{C}^{I_m \times (I_1 I_2 \cdots I_{m-1} I_{m+1} \cdots I_M)}$$ denote the standard mode-m flattening of $$\mathcal{A}$$, so that the left index of $$\mathcal{A}_{[m]}$$ corresponds to the $$m$$'th index $$\mathcal{A}$$ and the right index of $$\mathcal{A}_{[m]}$$ corresponds to all other indices of $$\mathcal{A}$$ combined. Let $${\bf U}_m \in \mathbb{C}^{I_m \times I_m}$$be a unitary matrix containing a basis of the left singular vectors of the $$\mathcal{A}_{[m]}$$ such that the jth column $$\mathbf{u}_j$$ of $${\bf U}_m$$ corresponds to the jth largest singular value of $$\mathcal{A}_{[m]}$$. Observe that the mode/factor matrix $${\bf U}_m$$ does not depend on the particular on the specific definition of the mode m flattening. By the properties of the multilinear multiplication, we have$$\begin{array}{rcl} \mathcal{A} &=& \mathcal{A}\times ({\bf I}, {\bf I}, \ldots, {\bf I}) \\ &=& \mathcal{A} \times ({\bf U}_1 {\bf U}_1^H, {\bf U}_2 {\bf U}_2^H, \ldots, {\bf U}_M {\bf U}_M^H) \\ &=& \left(\mathcal{A} \times ({\bf U}_1^H, {\bf U}_2^H, \ldots, {\bf U}_M^H) \right) \times ({\bf U}_1, {\bf U}_2, \ldots, {\bf U}_M), \end{array}$$where $$\cdot^H$$ denotes the conjugate transpose. The second equality is because the $${\bf U}_m$$'s are unitary matrices. Define now the core tensor$$\mathcal{S} := \mathcal{A} \times ({\bf U}_1^H, {\bf U}_2^H, \ldots, {\bf U}_M^H).$$Then, the HOSVD of $$\mathcal{A}$$ is the decomposition$$\mathcal{A} = \mathcal{S}\times ({\bf U}_1, {\bf U}_2, \ldots, {\bf U}_M).$$ The above construction shows that every tensor has a HOSVD.

Compact HOSVD
As in the case of the compact singular value decomposition of a matrix, where the rows and columns corresponding to vanishing singular values are dropped, it is also possible to consider a compact HOSVD, which is very useful in applications.

Assume that $${\bf U}_m \in \mathbb{C}^{I_m \times R_m}$$ is a matrix with unitary columns containing a basis of the left singular vectors corresponding to the nonzero singular values of the standard factor-m flattening $$\mathcal{A}_{[m]}$$ of $$\mathcal{A}$$. Let the columns of $${\bf U}_m$$ be sorted such that the $$r_m$$ th column $${\bf u}_{r_m}$$ of $${\bf U}_m$$ corresponds to the $$r_m$$th largest nonzero singular value of $$\mathcal{A}_{[m]}$$. Since the columns of $${\bf U}_m$$ form a basis for the image of $$\mathcal{A}_{[m]}$$, we have$$\mathcal{A}_{[m]} = {\bf U}_m {\bf U}_m^H \mathcal{A}_{[m]} = \bigl( \mathcal{A} \times_m ({\bf U}_m {\bf U}_m^H) \bigr)_{[m]},$$where the first equality is due to the properties of orthogonal projections (in the Hermitian inner product) and the last equality is due to the properties of multilinear multiplication. As flattenings are bijective maps and the above formula is valid for all $$m=1,2,\ldots,m,\ldots,M$$, we find as before that$$\begin{array}{rcl} \mathcal{A} &=& \mathcal{A} \times ({\bf U}_1 {\bf U}_1^H, {\bf U}_2 {\bf U}_2^H, \ldots, {\bf U}_M {\bf U}_M^H)\\ &=& \left(\mathcal{A} \times ({\bf U}_1^H, {\bf U}_2^H, \ldots, {\bf U}_M^H)\right) \times ({\bf U}_1, {\bf U}_2, \ldots, {\bf U}_M) \\ &=& \mathcal{S} \times ({\bf U}_1, {\bf U}_2, \ldots, {\bf U}_M), \end{array}$$where the core tensor $$\mathcal{S}$$ is now of size $$R_1 \times R_2 \times \cdots \times R_M$$.

Multilinear rank
The multilinear rank of $$\mathcal{A}$$ is denoted with rank-$$(R_1, R_2, \ldots, R_M) $$. The multilinear rank is a tuple in $$\mathbb{N}^M$$ where $$R_m := \mathrm{rank}( \mathcal{A}_{[m]} )$$. Not all tuples in $$\mathbb{N}^M$$ are multilinear ranks. The multilinear ranks are bounded by $$1 \le R_m \le I_m$$ and it satisfy the constraint $R_m \le \prod_{i \ne m} R_i$ must hold.

The compact HOSVD is a rank-revealing decomposition in the sense that the dimensions of its core tensor correspond with the components of the multilinear rank of the tensor.

Interpretation
The following geometric interpretation is valid for both the full and compact HOSVD. Let $$(R_1, R_2, \ldots, R_M)$$ be the multilinear rank of the tensor $$\mathcal{A}$$. Since $$\mathcal{S} \in {\mathbb C}^{R_1 \times R_2 \times \cdots \times R_M}$$ is a multidimensional array, we can expand it as follows$$\mathcal{S} = \sum_{r_1=1}^{R_1} \sum_{r_2=1}^{R_2} \cdots \sum_{r_M=1}^{R_M} s_{r_1,r_2,\ldots,r_M} \mathbf{e}_{r_1} \otimes \mathbf{e}_{r_2} \otimes \cdots \otimes \mathbf{e}_{r_M},$$where $$\mathbf{e}_{r_m}$$ is the $$r_m$$th standard basis vector of $${\mathbb C}^{I_m}$$. By definition of the multilinear multiplication, it holds that$$\mathcal{A} = \sum_{r_1=1}^{R_1} \sum_{r_2=1}^{R_2} \cdots \sum_{r_M=1}^{R_M} s_{r_1,r_2,\ldots,r_M} \mathbf{u}_{r_1} \otimes \mathbf{u}_{r_2} \otimes \cdots \otimes \mathbf{u}_{r_M},$$where the $$\mathbf{u}_{r_m}$$ are the columns of $${\bf U}_m \in {\mathbb C}^{I_m \times R_m}$$. It is easy to verify that $$B = \{ \mathbf{u}_{r_1} \otimes \mathbf{u}_{r_2} \otimes \cdots \otimes \mathbf{u}_{r_M} \}_{r_1,r_2,\ldots,r_M}$$ is an orthonormal set of tensors. This means that the HOSVD can be interpreted as a way to express the tensor $$\mathcal{A}$$ with respect to a specifically chosen orthonormal basis $$B$$ with the coefficients given as the multidimensional array $$\mathcal{S}$$.

Computation
Let $$\mathcal{A} \in {\mathbb C}^{I_1 \times I_2 \times \cdots \times I_M}$$ be a tensor with a rank-$$(R_1, R_2, \ldots, R_M)$$, where $$\mathbb C$$ contains the reals $$\mathbb{R}$$ as a subset.

Classic computation
The strategy for computing the Multilinear SVD and the M-mode SVD was introduced in the 1960s by L. R. Tucker, further advocated by L. De Lathauwer et al., and by Vasilescu and Terzopulous. The term HOSVD was coined by Lieven De Lathauwer, but the algorithm typically referred to in the literature as HOSVD was introduced by Vasilescu and Terzopoulos with the name M-mode SVD. It is a parallel computation that employs the matrix SVD to compute the orthonormal mode matrices.

M-mode SVD
Sources:


 * For $$m=1,\ldots,M$$, do the following:
 * 1) Construct the mode-m flattening $$\mathcal{A}_{[m]}$$;
 * 2) Compute the (compact) singular value decomposition $$\mathcal{A}_{[m]} = {\bf U}_m {\bf \Sigma}_m {\bf V}^T_m $$, and store the left singular vectors $${\bf U} \in \mathbb{C}^{I_m \times R_m}$$;


 * Compute the core tensor $$\mathcal{S}$$ via the multilinear multiplication $$ \mathcal{S} = \mathcal{A} \times_1 {\bf U}_1^H \times_2 {\bf U}_2^H \ldots \times_m {\bf U}_m^H \ldots \times_M {\bf U}_M^H$$

Interlacing computation
A strategy that is significantly faster when some or all $$R_m \ll I_m $$ consists of interlacing the computation of the core tensor and the factor matrices, as follows:


 * Set $$\mathcal{A}^0 = \mathcal{A}$$;
 * For $$m = 1,2 \ldots, M$$ perform the following:
 * Construct the standard mode-m flattening $$\mathcal{A}_{[m]}^{m-1}$$;
 * Compute the (compact) singular value decomposition $$\mathcal{A}_{[m]}^{m-1} = U_m \Sigma_m V^T_m $$, and store the left singular vectors $$U_m \in F^{I_m \times R_m}$$;
 * Set $$\mathcal{A}^m = U_m^H \times_m \mathcal{A}^{m-1} $$, or, equivalently, $$\mathcal{A}^m_{[m]} = \Sigma_m V_m^T $$.

In-place computation
The HOSVD can be computed in-place via the Fused In-place Sequentially Truncated Higher Order Singular Value Decomposition (FIST-HOSVD) algorithm by overwriting the original tensor by the HOSVD core tensor, significantly reducing the memory consumption of computing HOSVD.

Approximation
In applications, such as those mentioned below, a common problem consists of approximating a given tensor $$\mathcal{A} \in \mathbb{C}^{I_1 \times I_2 \times \cdots \times I_m \cdots \times I_M} $$ by one with a reduced multilinear rank. Formally, if the multilinear rank of $$\mathcal{A} $$ is denoted by $$\mathrm{rank-}(R_1,R_2,\ldots,R_m,\ldots,R_M) $$, then computing the optimal $$\mathcal{\bar A} $$ that approximates $$\mathcal{A} $$ for a given reduced $$\mathrm{rank-}(\bar R_1,\bar R_2,\ldots,\bar R_m,\ldots,\bar R_M) $$ is a nonlinear non-convex $$\ell_2 $$-optimization problem $$ \min_{\mathcal{\bar A}\in \mathbb{C}^{I_1 \times I_2 \times \cdots \times I_M}} \frac{1}{2} \| \mathcal{A} - \mathcal{\bar A} \|_F^2 \quad\text{s.t.}\quad \mathrm{rank-}(\bar R_1, \bar R_2, \ldots, \bar R_M), $$where $$(\bar R_1, \bar R_2, \ldots, \bar R_M) \in \mathbb{N}^M $$ is the reduced multilinear rank with $$1 \le \bar R_m < R_m \le I_m $$, and the norm $$\|.\|_F$$ is the Frobenius norm.

A simple idea for trying to solve this optimization problem is to truncate the (compact) SVD in step 2 of either the classic or the interlaced computation. A classically truncated HOSVD is obtained by replacing step 2 in the classic computation by while a sequentially truncated HOSVD (or successively truncated HOSVD) is obtained by replacing step 2 in the interlaced computation by
 * Compute a rank-$$\bar R_m $$ truncated SVD $$\mathcal{A}_{[m]} \approx U_m \Sigma_m V^T_m $$, and store the top $$\bar R_m $$ left singular vectors $$U_m \in F^{I_m \times \bar R_m}$$;
 * Compute a rank-$$\bar R_m $$ truncated SVD $$\mathcal{A}_{[m]}^{m-1} \approx U_m \Sigma_m V^T_m $$, and store the top $$\bar R_m $$ left singular vectors $$U_m \in F^{I_m \times \bar R_m}$$. Unfortunately, truncation does not result in an optimal solution for the best low multilinear rank optimization problem,.   However, both the classically and interleaved truncated HOSVD result in a quasi-optimal solution:   if $$\mathcal{\bar A}_t $$ denotes the classically or sequentially truncated HOSVD and $$\mathcal{\bar A}^* $$ denotes the optimal solution to the best low multilinear rank approximation problem, then$$\| \mathcal{A} - \mathcal{\bar A}_t \|_F \le \sqrt{M} \| \mathcal{A} - \mathcal{\bar A}^* \|_F; $$in practice this means that if there exists an optimal solution with a small error, then a truncated HOSVD will for many intended purposes also yield a sufficiently good solution.

Applications
The HOSVD is most commonly applied to the extraction of relevant information from multi-way arrays.

Starting in the early 2000s, Vasilescu addressed causal questions by reframing the data analysis, recognition and synthesis problems as multilinear tensor problems. The power of the tensor framework was showcased by decomposing and representing an image in terms of its causal factors of data formation, in the context of Human Motion Signatures for gait recognition, face recognition—TensorFaces and computer graphics—TensorTextures.

The HOSVD has been successfully applied to signal processing and big data, e.g., in genomic signal processing. These applications also inspired a higher-order GSVD (HO GSVD) and a tensor GSVD.

A combination of HOSVD and SVD also has been applied for real-time event detection from complex data streams (multivariate data with space and time dimensions) in disease surveillance.

It is also used in tensor product model transformation-based controller design.

The concept of HOSVD was carried over to functions by Baranyi and Yam via the TP model transformation. This extension led to the definition of the HOSVD-based canonical form of tensor product functions and Linear Parameter Varying system models and to convex hull manipulation based control optimization theory, see TP model transformation in control theories.

HOSVD was proposed to be applied to multi-view data analysis and was successfully applied to in silico drug discovery from gene expression.

Robust L1-norm variant
L1-Tucker is the L1-norm-based, robust variant of Tucker decomposition. L1-HOSVD is the analogous of HOSVD for the solution to L1-Tucker.