Symmetric tensors and symmetric tensor rank
Pierre Comon, Gene Golub, Lek-Heng Lim, Bernard Mourrain
Introduction
We will be interested in the decomposition of a symmetric tensor into a minimal linear combination of symmetric outer products of vectors (i.e. of the form ). We will see that a decomposition of the form
always exists for any symmetric tensor (over any field). One may regard this as a generalization of the eigenvalue decomposition for symmetric matrices to higher order symmetric tensors. In particular, this will allow us to define a notion of symmetric tensor rank (as the minimal over all such decompositions) that reduces to the matrix rank for order- symmetric tensors.
We will call (1) the symmetric outer product decomposition of the symmetric tensor and we will establish its existence in Proposition 9. This is often abbreviated as CanD in signal processing. The decomposition of a tensor into an (asymmetric) outer product of vectors and the corresponding notion of tensor rank was first introduced and studied by Frank L. Hitchcock in 1927 . This same decomposition was rediscovered in the 1970s by psychometricians in their attempts to define data analytic models that generalize factor analysis to multiway data . The name candecomp, for ‘canonical decomposition’, was used by Carrol and Chang while the name parafac, for ‘parallel factor analysis’, was used by Harshman for their respective models.
The symmetric outer product decomposition is particularly important in the process of blind identification of under-determined mixtures (UDM), i.e. linear mixtures with more inputs than observable outputs. We refer the reader to and references therein for a list of other application areas, including speech, mobile communications, machine learning, factor analysis of -way arrays, biomedical engineering, psychometrics, and chemometrics.
Despite a growing interest in the symmetric decomposition of symmetric tensors, this topic has not been adequately addressed in the general literature, and even less so in the engineering literature. For several years, the alternating least squares algorithm has been used to fit data arrays to a multilinear model . Yet, the minimization of this matching error is an ill-posed problem in general, since the set of symmetric tensors of symmetric rank not more than is not closed, unless (see Sections 6 and 8) — a fact that parallels the illposedness discussed in . The focus of this paper is mainly on symmetric tensors. The asymmetric case will be addressed in a companion paper, and will use similar tools borrowed from algebraic geometry.
Symmetric tensors form a singularly important class of tensors. Examples where these arise include higher order derivatives of smooth functions , and moments and cumulants of random vectors . The decomposition of such symmetric tensors into simpler ones, as in the symmetric outer product decomposition, plays an important role in independent component analysis and constitutes a problem of interest in its own right. On the other hand the asymmetric version of the outer product decomposition defined in (9) is central to multiway factor analysis .
In Sections 2 and 3, we discuss some classical results in multilinear algebra and algebraic geometry . While these background materials are well-known to many pure mathematicians, we found that practitioners and applied mathematicians (in signal processing, neuroimaging, numerical analysis, optimization, etc) — for whom this paper is intended — are often unaware of these classical results. For instance, some do not realize that the classical definition of a symmetric tensor given in Definition 2 is equivalent to the requirement that the coordinate array representing the tensor be invariant under all permutations of indices, as in Definition 1. Many authors have persistently mislabeled the latter a ‘supersymmetric tensor’ (cf. ). In fact, we have found that even the classical definition of a symmetric tensor is not as well-known as it should be. We see this as an indication of the need to inform our target readership. It is our hope that the background materials presented in Sections 2 and 3 will serve such a purpose.
In this paper, we restrict our attention mostly to decompositions over the complex field. A corresponding study over the real field will require techniques rather different from those introduced here, as we will elaborate in Section 8.2.
Arrays and tensors
Unless noted otherwise, arrays with at least two indices will be denoted in uppercase; vectors are one-way arrays, and will be denoted in bold lowercase. For our purpose, only a few notations related to arrays are necessary.
For example, the outer product of two vectors, , is a matrix. The outer product of three vectors, or of a matrix with a vector, is a -way array.
How is an array related to a tensor? Recall that a tensor is simply an element in the tensor product of vector spaces . One may easily check that the so-called Segre map
is multilinear. By the universal property of the tensor product , there exists a linear map
When and are nonsingular matrices, the above multilinear map may be thought of as a change-of-bases (refer to for further discussions). We will call this map a multilinear transform of .
Note that some authors denoted this contraction product as or . By convention, when the contraction is between a tensor and a matrix, it is convenient to assume that the summation is always done on the second matrix index. For instance, the multilinear transform in (2) may be expressed as . An alternative notation for (2) from the theory of group actions is , which may be viewed as multiplying on ‘three sides’ by the matrices , , and .
Symmetric arrays and symmetric tensors
We shall say that a -way array is cubical if all its dimensions are identical, i.e. . A cubical array will be called symmetric if its entries do not change under any permutation of its indices. Formally, if denotes the symmetric group of permutations on , then we have
for all permutations .
Note that given any ,
Here denotes the composition of the linear operators and .
for all ; and so is symmetric. ∎
Then since , the term depends only on the number of times each enters this product and we may write
where is the multiplicity (which may be ) of occurrence of in . Note that are nonnegative integers satisfying .
If we regard in (5) as variables (i.e. indeterminates), then every symmetric tensor of order and dimension may be uniquely associated with a homogeneous polynomial of degree in variables. Recall that these are just polynomials in variables whose constituting monomials all have the same total degree . Homogeneous polynomials are also called quantics and those of degrees , , and are often called linear forms, quadratic forms, and cubic forms (or just cubics) respectively. From now on, we will use more standard notation for the variables — instead of . So the monomial on the rhs of (5) now becomes . To further simplify this notation, we will adopt the following standard multi-index notations:
where for every , one associates bijectively the nonnegative integer vector with counting the number of times index appears in . We have in particular . The converse is true as well, and the correspondence between symmetric tensors and homogeneous polynomials is obviously bijective. Thus
This justifies the use of the Zariski topology, where the elementary closed subsets are the common zeros of a finite number of homogeneous polynomials . Note that for asymmetric tensors, the same association is not possible (although they can still be associated with polynomials via another bijection). As will be subsequently seen, this identification of symmetric tensors with homogeneous polynomials will allow us to prove some interesting facts about symmetric tensor rank.
Note that cannot be an inner product in the usual sense since is in general complex valued (recall that for an inner product, we will need for all ). However, we will show that it is a non-degenerate symmetric bilinear form.
where and we see immediately that
In the special case where is the th power of a linear form, we have the following lemma. The main interest in introducing this inner product lies precisely in establishing this lemma.
Let for all such that . The multinomial expansion then yields
For any ,
2 Equivalence with usual definition
As mentioned earlier, we will show that a tensor is symmetric in the sense of Definition 2 if and only if its corresponding array is symmetric in the sense of Definition 1.
for all permutations if and only if
for all permutations .
Hence is a symmetric tensor in the sense of Definition 2.
Since is a linearly independent set, we must have
For any given , we have
Since this holds for arbitrary , the array is symmetric in the sense of Definition 1. ∎
Notions of rank for symmetric tensors
We will discuss two notions of rank for symmetric tensors — the outer product rank (defined for all tensors) and the symmetric outer product rank (defined only for symmetric tensors). We will show that under certain conditions, they are one and the same. However it is not known if they are equal on all symmetric tensors in general.
Any tensor can always be decomposed (possibly non-uniquely) as:
The tensor rank, , is defined as the smallest integer such that this decomposition holds exactly . Among other properties, note that this outer product decomposition remains valid in a ring, and that an outer product decomposition of a multilinear transform of equals the multilinear transform of an outer product decomposition of . In other words, if (9) is an outer product decomposition of , then
is an outer product decomposition of , which may also be written as . The outer product decomposition has often been regarded synonymously as the data analytic models candecomp and parafac where the decomposition is used to analyze multiway psychometric data.
If in (9), we have for every , then we may call it a symmetric outer product decomposition, yielding a symmetric rank, . Constraints other than full symmetry may be relevant in some application areas, such as partial symmetry as in indscal , or positivity/non-negativity .
The definition of symmetric rank is not vacuous because of the following result.
Lemma 9 may be viewed as a particular case of a basic result in algebraic geometry, stating that the linear space generated by points of an algebraic variety that is not included in a hyperplane, i.e. a subspace of codimension , is the whole space . For completeness, a proof of our special case is given above. Note that it follows from the proof that
We will show that equality holds generically when and when is sufficiently large with respect to , and always holds when . While we do not know if the equality holds in general, we suspect that this is the case as we are unaware of any counterexample.
2 Secant varieties of the Veronese variety
3 Why rank can exceed dimension
Let . Suppose that for some , . Hence, by the duality property of Lemma 6,
Consider a homogeneous polynomial of degree that is a multiple of the product of linear forms vanishing at but not at . We have but , . As a consequence, we must have . By a similar argument, we may show that for all . It follows that the polynomials are linearly independent. ∎
Notice that the bound on the degree can be reduced by if a -dimensional linear space containing any of these points does not contain one of the other points [27, pp. 6]red. In this case, we can replace the product of linear forms vanishing at points by just linear form vanishing at these points.
This corollary extends results of [19, Lemma 2.2, pp. 2] and [33, Appendix]. Note that vectors need not be linearly independent.
Vectors , , and , are pairwise non-collinear but linearly dependent. According to Corollary 11, the symmetric tensors are linearly independent for any . Evidently, we see that this holds true for since the matrix below has rank :
4 Genericity
Through the bijection (6), the symmetric outer product decomposition (9) of symmetric tensors can be carried over to quantics, as pointed out in . The bijection allows one to talk indifferently about the symmetric outer product decomposition of order- symmetric tensors and the decomposition of degree- quantics into a sum of linear forms raised to the th power.
The special case of cubics () is much better known — a complete classification is known since 1964 though a constructive algorithm to compute the symmetric outer product decomposition has only been proposed recently . The simplest case of binary quantics () has also been known for more than two decades — a result that is used in real world engineering problems .
Rank and symmetric rank
It may seem odd that the inequalities in (12) and (11) are reversed, but there is no contradiction since the spaces are not the same.
It is then legitimate to ask oneself whether the symmetric rank and the rank are always equal. We show that this holds generically when (Proposition 15) or when the order is sufficiently large relative to the dimension (Proposition 16). This always holds (not just generically) when (Proposition 17). We will need some preliminary results in proving these assertions.
has .
where . In other words, . Since this holds for each , it implies that the linearly independent vectors are contained in . Hence we must have . On the other hand, it is clear that . Thus we must have equality. ∎
be a symmetric outer product decomposition of . Then vectors of the set are generically linearly independent.
Define the map from the space of matrices to order- symmetric tensors,
in for which is linearly dependent, i.e. is rank deficient, is simply
Since is a polynomial map and is a non-trivial algebraic set, we conclude that is generic in . ∎
Let and . So there exist decompositions
where , . Since this holds for each , it implies that the linearly independent vectors are contained in . Hence we must have . On the other hand, it is clear that . Thus we must have equality. ∎
We will see below that we could have even when the constituting vectors are not linearly independent. The authors would like to thank David Gross for his help in correcting an error in the original proof.
satisfies generically.
Let and . So there exist decompositions
Contracting both sides of (15) in the first modes with , we get
where , . Since this holds for each , it implies that the linearly independent vectors are contained in . Hence we must have . On the other hand, it is clear that . Thus we must have equality. ∎
If , then clearly. If , then
for any , contradicting . It follows from the argument in the proof of Proposition 15 with that . ∎
The following result will be useful later.
It is not hard to check that the symmetric tensor in (16) is associated with the quantic , up to a constant multiplicative factor (where are the first two coordinate variables in ).
To prove that this quantic is of symmetric rank , we are going to show that can be decomposed into a sum of powers of linear forms as
There are infinitely many possibilities of choosing coefficients but we just need to provide one solution. Take and distinct such that
First we express all quantics in terms of the canonical basis scaled by the binomial coefficients:
In this basis, the monomial can be represented by a -dimensional vector containing only one non-zero entry. The quantic is then represented by the vector
The existence of coefficients such that we have the decomposition (17) is equivalent to the vanishing of the determinant
An explicit computation shows that this determinant is where is the Vandermonde determinant of degree of . Thus by (18), the determinant in (19) vanishes.
This proves that the symmetric rank of is . Note that the symmetric rank cannot be smaller than because removing any row of the matrix of (19) still yields a matrix of rank , if the are distinct (see also Proposition 10). ∎
This proof is constructive, and gives an algorithm to compute a symmetric outer product decomposition of any binary symmetric tensor of the form (16). For example, the reader can check out that the decompositions below may be obtained this way.
The quantics and are associated with the symmetric tensors of maximal rank and respectively. Their symmetric outer product decompositions are given by
The maximal symmetric rank achievable by symmetric tensors of order and dimension is , i.e. . One can say that such symmetric tensors lie on a tangent line to the Veronese variety of symmetric rank- tensors. In , an algorithm has been proposed to decompose binary forms when their rank is not larger than ; however, this algorithm would not have found the decompositions above since the symmetric ranks of and exceed and respectively.
Generic symmetric rank and typical symmetric ranks
The quantities and may now be formally defined by
An integer is not a typical rank if has zero volume, which means that is contained in a non-trivial closed set. This definition is somewhat unsatisfactory since any mention of ‘volume’ necessarily involves a choice of measure, which is really irrelevant here. A better definition is as follows.
The varieties can be ordered by inclusion as follows. If
Before proving this proposition, we first state two preliminary results. Recall that an algebraic variety is irreducible if it cannot be decomposed as the union of proper subvarieties (cf. [27, pp. 51] and [48, pp. 34]). In algebraic geometry, it is known that the secant varieties of any irreducible variety are irreducible. Nevertheless, we will give a short proof of the following lemma for the sake of completeness.
The sets , , are irreducible algebraic varieties.
For , the variety is the closure of the image of the map
Consider now two polynomials such that on . As is the Zariski closure of , this is equivalent to on or
Thus either or on or equivalently on , which proves that is an irreducible variety. For more details on properties of parameterized varieties, see . See also the proof of for third order tensors. ∎
We have .
Suppose that there exists such that . Then since , we have
We are now in a position to prove Proposition 21.
Proof of Proposition 21. By Lemma 23, we deduce that for ,
As is an irreducible variety, we have . As , we deduce that
which implies by the irreducibility of , that . Consequently, for , we have
If , then .
Let and . Then by definition of , there exists and such that . As (otherwise ) we have . For , define . We have that , for all , and . This shows that , and consequently that . ∎
The above proposition is about the set of symmetric tensors of symmetric rank exactly . But what about those of symmetric rank at most ? While is closed as a determinantal variety, we will see from Examples 25 and 26 as well as Proposition 27 that is generally not closed for . This is another major difference from matrices, for which all are closed sets.
In dimension , and for any order , is not closed. In fact, take two independent vectors and and define the sequence of symmetric tensors
For any , is of symmetric rank , but converges in the limit as to a symmetric tensor of symmetric rank . In fact, the limiting symmetric tensor is easily seen to be a sum of rank- tensors,
which has symmetric rank by Proposition 18.
Let and . Then , whereas . In fact, take the symmetric tensor associated with the ternary cubic . According to , this tensor has rank . On the other hand, it is the limit of the sequence as tends to zero. According to a result in , the latter polynomial is associated with a rank- tensor since the determinant of its Hessian is equal to and hence contains two distinct linear forms as long as .
It is easy to show that this lack of closeness extends in general to or for , as stated in the two propositions below.
If , then for all , .
If , then for any , .
Take linearly independent vectors . Then the symmetric tensors are linearly independent as well, and is of symmetric rank for every by Lemma 13. Now for and any , define the symmetric tensor
is again of symmetric rank for every , but tends to a symmetric rank tensor (see also Section 8.1). For , the same reasoning applies with
This shows that is not closed. ∎
Based on these two propositions, we conjecture the stronger statement that for order , the set of symmetric tensors of symmetric rank at most is never closed, even for .
Assume and . Then for any such that .
Up to this point, our study has been based on the Zariski topology . However it is useful from a practical point of view to be able to apply these results to other topologies, for example, the Euclidean topology. Since the ’s are parameterized and are thus algebraic constructible sets , and since the closure of an algebraic constructible set for the Euclidean topology and the Zariski topology are the same, the results in this paper holds true for many other topologies. We have in particular the following result.
Values of the generic symmetric rank
In practice, it would be useful to be able to compute the symmetric rank of any given symmetric tensor, or at least to know the maximal values of the symmetric rank, given its order and dimensions. Unfortunately, these questions are far from resolved.
The corresponding problem for the generic values of the symmetric rank, however, has seen enormous progress due to the work of Alexander and Hirschowitz described in Section 7.1. In fact, even before their breakthrough, bounds on the generic symmetric rank have been known for decades :
It is known that the lower bound is often accurate but the upper bound is not tight . Furthermore, exact results are known in the case of binary quantics () and ternary cubics () .
It was not until the work of Alexander and Hirschowitz in 1995 that the generic symmetric rank problem was completely settled. Nevertheless, the relevance of their result has remained largely unknown in the applied and computational mathematics communities. One reason is that the connection between our problem and the interpolating polynomials discussed in is not at all well-known in the aforementioned circles. So for the convenience of our readers, we will state the result of Alexander and Hirschowitz in the context of the symmetric outer product decomposition below.
except for the following cases: , where it should be increased by .
This theorem is extremely complicated to prove, and the interested reader should refer to the two papers of Alexander and Hirschowitz . Simplifications to this proof have also been recently proposed in . It is worth noting that these results have been proved in terms of multivariate polynomials and interpolation theory, and not in terms of symmetric tensors. The exception has been known since 1860; in fact, Sylvester referred to it as Clebsh Theorem in his work . It is not hard to guess the formula in (21) by a degrees-of-freedom argument. The difficulty of proving Theorem 31 lies in establishing the fact that the four given exceptions to the expected formula (21) are the only ones. Table 1 below lists a few values of the generic symmetric rank.
2 Uniqueness
Besides the exceptions pointed out in Theorem 31, the number of solutions for the symmetric outer product decomposition has to be finite if the rank is smaller than or equal to . This occurs for instance for all cases of degree in Table 1, except for and . Hence we may deduce the following:
Then (22) has a finite number of solutions if and only if
Actually, one may easily check the generic dimension of the fiber of solutions by computing the number of remaining free parameters :
This is summarized in Table 2. When the dimension of the fiber is non-zero, there are infinitely many symmetric outer product decompositions.
Our technique is different from the reduction to simplicity proposed by ten Berge et al. , but also relies on the calculation of dimensionality.
Examples
We will present a few examples to illustrate our discussions in the previous sections.
It has been shown that symmetric tensors of order and dimension have a generic rank and a maximal rank . From the results of Section 6, this means that only is dense in , and that and are not closed by Proposition 24. On the other hand, is closed.
In order to make this statement even more explicit, let us now define a sequence of symmetric tensors, each of symmetric rank , that converges to a symmetric tensor of symmetric rank . This will be a simple demonstration of the lack of closure of for and , already stated in Proposition 27. For this purpose, let be two non-collinear vectors. Then the following order- symmetric tensor is of symmetric rank for any scalar :
and it converges, as , to the following symmetric tensor:
This limiting symmetric tensor is of symmetric rank . In fact, one may show that it admits the following symmetric outer product decomposition:
Now let be linearly independent vectors.
By adding two terms of the form (23), a similar example can be given in dimension , where we get a sequence of symmetric tensors of symmetric rank converging to a limit of symmetric rank .
We will give two more illustrations of Conjecture 29.
If the dimension is , we can take three linearly independent vectors, say , , and . Then the sequence of symmetric tensors is of symmetric rank and converges towards a symmetric rank- tensor.
In dimension , it is somewhat more tricky to build a sequence converging towards a symmetric tensor of symmetric rank . Note that is the maximal rank for and .
Consider the sequence below as tends to zero:
It converges to the following symmetric tensor, which we expressed as a sum of six (asymmetric) rank- terms,
This has symmetric rank since it can be associated with quantic , which is the sum of (at least) five cubes.
In terms of algebraic geometry, this example admits a simple geometric interpretation. The limiting tensor is the sum of a point in the tangent space to at and a point in the tangent space to at .
Note that the same kind of example can be constructed in the asymmetric case:
Further discussions of the lack of closeness of and the ill-posedness of the best rank- approximation problem in the asymmetric case can be found in .
2 Symmetric outer product decomposition over the real field
This inequality also holds true for the outer product rank of asymmetric tensors. For , i.e. matrices, we always have equality in (26) but we will see in the examples below that strict inequality can occur when .
For asymmetric tensors, the same kind of computer simulation would yield (by generating independent real Gaussian entries) typical ranks of and , % and % of the time, respectively, leading to the same qualitative conclusions. This procedure is not new [53, pp. 13] and has already been proposed in the past to illustrate the existence of several typical ranks for asymmetric tensors . An interesting result obtained by ten Berge is that real asymmetric tensors have typical ranks .
The problems pertaining to rank and decompositions of real symmetric tensors have not received as much attention as their complex counterparts. However, a moderate amount of work has been done and we refer the reader to these for further information.
3 Open questions
Most of the results that we have presented so far are limited to symmetric tensors over the complex field. The case of general asymmetric tensors is currently being addressed with the same kind of approach. As pointed out earlier, decompositions over the real field are more complicated to handle with algebraic geometric tools. In addition, while the problem of determining the generic symmetric rank has been resolved thanks to the Alexander-Hirschowitz Theorem, the maximal symmetric rank is known only for particular values of order and dimensions (e.g. dimension ); only very rough upper bounds are known for general values. Lastly, the computation of an explicit symmetric outer product decomposition for a symmetric tensor is computationally expensive, and the conditions (dimension, order) under which this can be executed within a polynomial time are not yet clearly known. These are problems that we hope will be addressed in future work, either by ourselves or interested readers.
Acknowledgements
The authors would like to thank the anonymous reviewers for their helpful comments. This work is a result of collaboration initiated in the 2004 Workshop on Tensor Decomposition held at the American Institute of Mathematics, Palo Alto, CA, and continued in the 2005 Workshop on Tensor Decomposition and its Applications held at the Centre International de Rencontres Mathématiques (CIRM), Luminy, France. The work of B. Mourrain and P. Comon has been partially supported by the contract ANR-06-BLAN-0074 “Decotes”. The work of G.H. Golub has been partially supported by the grant CCF 0430617 from the National Science Foundation. The work of L.-H. Lim has been partially supported by the grant DMS 0101364 from the National Science Foundation, and by the Gerald J. Lieberman Fellowship from Stanford University.