Tensor rank decomposition
In multilinear algebra, the tensor rank decomposition or canonical polyadic decomposition (CPD) may be regarded as a generalization of the matrix singular value decomposition (SVD) to tensors, which has found application in statistics, signal processing, psychometrics, linguistics and chemometrics. It was introduced by Hitchcock in 1927 and later rediscovered several times, notably in psychometrics. For this reason, the tensor rank decomposition is sometimes historically referred to as PARAFAC or CANDECOMP.
- 1 Definition
- 2 Tensor rank
- 3 Properties
- 4 Calculating the CPD
- 5 See also
- 6 References
- 7 Further reading
- 8 External links
Consider a tensor space , where is either the real field or the complex field . Every (order-) tensor in this space may then be represented with a suitably large as a linear combination of rank-1 tensors:
where and ; note that the superscript should not be interpreted as an exponent, it is merely another index. When the number of terms is minimal in the above expression, then is called the rank of the tensor, and the decomposition is often referred to as a (tensor) rank decomposition, minimal CP decomposition, or Canonical Polyadic Decomposition (CPD). Contrariwise, if the number of terms is not minimal, then the above decomposition is often referred to as -term decomposition, CANDECOMP/PARAFAC or Polyadic decomposition.
Contrary to the case of matrices, the rank of a tensor is presently not understood well. It is known that the problem of computing the rank of a tensor is NP-hard. The only notable well-understood case consists of tensors in , whose rank can be obtained from the Kronecker–Weierstrass normal form of the linear matrix pencil that the tensor represents. A simple polynomial-time algorithm exists for certifying that a tensor is of rank 1, namely the higher-order singular value decomposition.
The rank of the tensor of zeros is zero by convention. The rank of a tensor is one, provided that .
The rank of a tensor depends on the field over which the tensor is decomposed. It is known that some real tensors may admit a complex decomposition whose rank is strictly less than the rank of a real decomposition of the same tensor. As an example, consider the following real tensor
whose rank over the reals is known to be 3, while its complex rank is only 2 because it is the sum of a complex rank-1 tensor with its complex conjugate:
In contrast, the rank of real matrices will never decrease under a field extension to : real matrix rank and complex matrix rank coincide for real matrices.
The generic rank is defined as the least rank such that the closure in the Zariski topology of the set of tensors of rank at most is the entire space . In the case of complex tensors, tensors of rank at most form a dense set : every tensor in the aforementioned space is either of rank less than the generic rank, or it is the limit in the Euclidean topology of a sequence of tensors from . In the case of real tensors, the set of tensors of rank at most only forms an open set of positive measure in the Euclidean topology. There may exist Euclidean-open sets of tensors of rank strictly higher than the generic rank. All ranks appearing on open sets in the Euclidean topology are called typical ranks. The smallest typical rank is called the generic rank; this definition applies to both complex and real tensors. The generic rank of tensor spaces was initially studied in 1983 by Volker Strassen.
As an illustration of the above concepts, it is known that both 2 and 3 are typical ranks of while the generic rank of is 2. Practically, this means that a randomly sampled real tensor (from a continuous probability measure on the space of tensors) of size will be a rank-1 tensor with probability zero, a rank-2 tensor with positive probability, and rank-3 with positive probability. On the other hand, a randomly sampled complex tensor of the same size will be a rank-1 tensor with probability zero, a rank-2 tensor with probability one, and a rank-3 tensor with probability zero. It is even known that the generic rank-3 real tensor in will be of complex rank equal to 2.
The generic rank of tensor spaces depends on the distinction between balanced and unbalanced tensor spaces. A tensor space , where , is called unbalanced whenever
and it is called balanced otherwise.
Unbalanced tensor spaces
When the first factor is very large with respect to the other factors in the tensor product, then the tensor space essentially behaves as a matrix space. The generic rank of tensors living in an unbalanced tensor spaces is known to equal
Balanced tensor spaces
The generic rank of tensors living in a balanced tensor space in is expected to equal
almost everywhere for complex tensors and on a Euclidean-open set for real tensors, where
More precisely, the rank of every tensor in , where is some indeterminate closed set in the Zariski topology, is expected to equal the above value. For real tensors, is the least rank that is expected to occur on a set of positive Euclidean measure. The value is often referred to as the expected generic rank of the tensor space because it is only conjecturally correct. It is known that the true generic rank always satisfies
The Abo–Ottaviani–Peterson conjecture states that equality is expected, i.e., , with the following exceptional cases:
In each of these exceptional cases, the generic rank is known to be . The conjecture has been proved completely in a number of special cases. Lickteig showed already in 1985 that , provided that . In 2011, a major breakthrough was established by Catalisano, Geramita, and Gimigliano who proved that , except for the space .
The maximum rank that can be admitted by any of the tensors in a tensor space is unknown in general; even a conjecture about this maximum rank is missing. Presently, the best general upper bound states that the maximum rank of , where , satisfies
where is the (least) generic rank of . It is well-known that the foregoing inequality may be strict. For instance, the generic rank of tensors in is two, so that the above bound yields , while it is known that the maximum rank equals 3.
A rank- tensor is called a border tensor if there exists a sequence of tensors of rank at most whose limit is . If is the least value for which such a convergent sequence exists, then it is called the border rank of . For order-2 tensors, i.e., matrices, rank and border rank always coincide, however, for tensors of order they may differ. Border tensors were first studied in the context of fast approximate matrix multiplication algorithms by Bini, Lotti, and Romani in 1980.
A classic example of a border tensor is the rank-3 tensor
It can be approximated arbitrarily well by the following sequence of rank-2 tensors
as . Therefore, its border rank is 2, which is strictly less than its rank.
Ill-posedness of the standard approximation problem
The rank approximation problem asks for the rank- decomposition closest (in the usual Euclidean topology) to some rank- tensor , where . That is, one seeks to solve
where is the Frobenius norm.
It was shown in a 2008 paper by de Silva and Lim that the above standard approximation problem may be ill-posed. A solution to aforementioned problem may sometimes not exist because the set over which one optimizes is not closed. As such, a minimizer may not exist, even though an infimum would exist. In particular, it is known that certain so-called border tensors may be approximated arbitrarily well by a sequence of tensor of rank at most , even though the limit of the sequence converges to a tensor of rank strictly higher than . The rank-3 tensor
can be approximated arbitrarily well by the following sequence of rank-2 tensors
as . This example neatly illustrates the general principle that a sequence of rank- tensors that converges to a tensor of strictly higher rank needs to admit at least two individual rank-1 terms whose norms become unbounded. Stated formally, whenever a sequence
has the property that (in the Euclidean topology) as , then there should exist at least such that
as . This phenomenon is often encountered when attempting to approximate a tensor using numerical optimization algorithms. It is sometimes called the problem of diverging components. It was, in addition, shown that a random low-rank tensor over the reals may not admit a rank-2 approximation with positive probability, leading to the understanding that the ill-posedness problem is an important consideration when employing the tensor rank decomposition.
A common partial solution to the ill-posedness problem consists of imposing an additional inequality constraint that bounds the norm of the individual rank-1 terms by some constant. Other constraints that result in a closed set, and, thus, well-posed optimization problem, include imposing positivity or a bounded inner product strictly less than unity between the rank-1 terms appearing in the sought decomposition.
Calculating the CPD
- Latent class analysis
- Multilinear subspace learning
- Singular value decomposition
- Tucker decomposition
- F. L. Hitchcock (1927). "The expression of a tensor or a polyadic as a sum of products". Journal of Mathematics and Physics. 6: 164–189.
- Carroll, J. D.; Chang, J. (1970). "Analysis of individual differences in multidimensional scaling via an n-way generalization of 'Eckart–Young' decomposition". Psychometrika. 35: 283–319. doi:10.1007/BF02310791.
- Harshman, Richard A. (1970). "Foundations of the PARAFAC procedure: Models and conditions for an "explanatory" multi-modal factor analysis" (PDF). UCLA Working Papers in Phonetics. Ann Arbor: University Microfilms. 16: 84. No. 10,085. Archived from the original (PDF) on October 10, 2004.
- Hillar, C. J.; Lim, L. (2013). "Most tensor problems are NP-Hard". Journal of the ACM. 60: 45. doi:10.1145/2512329.
- Landsberg, J. M. (2012). Tensors: Geometry and Applications. AMS.
- de Silva, V.; Lim, L. (2008). "Tensor Rank and the Ill-Posedness of the Best Low-Rank Approximation Problem". SIAM Journal on Matrix Analysis and Applications. 30: 1084–1127. doi:10.1137/06066518x.
- Strassen, V. (1983). "Rank and optimal computation of generic tensors". Linear Algebra and its Applications. 52/53: 645–685. doi:10.1016/0024-3795(83)80041-x.
- Catalisano, M. V.; Geramita, A. V.; Gimigliano, A. (2002). "Ranks of tensors, secant varieties of Segre varieties and fat points". Linear Algebra and its Applications. 355: 263–285. doi:10.1016/s0024-3795(02)00352-x.
- Abo, H.; Ottaviani, G.; Peterson, C. (2009). "Induction for secant varieties of Segre varieties". Transactions of the American Mathematical Society. 361: 767–792. doi:10.1090/s0002-9947-08-04725-9.
- Lickteig, Thomas (1985). "Typical tensorial rank". Linear Algebra and its Applications. 69: 95–120. doi:10.1016/0024-3795(85)90070-9.
- Catalisano, M. V.; Geramita, A. V.; Gimigliano, A. (2011). "Secant varieties of ℙ1 × ··· × ℙ1 (n-times) are not defective for n ≥ 5". Journal of Algebraic Geometry. 20: 295–327. doi:10.1090/s1056-3911-10-00537-0.
- Blehkerman, G.; Teitler, Z. (2014). "On maximum, typical and generic ranks". Mathematische Annalen. In press.: 1–11. doi:10.1007/s00208-014-1150-3.
- Bini, D.; Lotti, G.; Romani, F. (1980). "Approximate solutions for the bilinear form computational problem". SIAM Journal on Scientific Computing. 9: 692–697. doi:10.1137/0209053.
- Kolda, Tamara G.; Bader, Brett W. (2009). "Tensor Decompositions and Applications". SIAM Rev. 51: 455–500. CiteSeerX . doi:10.1137/07070111X.
- Landsberg, Joseph M. (2012). Tensors: Geometry and Applications. AMS.