Tucker decomposition

Tensor decomposition

In mathematics, Tucker decomposition decomposes a tensor into a set of matrices and one small core tensor. It is named after Ledyard R. Tucker[1] although it goes back to Hitchcock in 1927.[2] Initially described as a three-mode extension of factor analysis and principal component analysis it may actually be generalized to higher mode analysis, which is also called higher-order singular value decomposition (HOSVD).

It may be regarded as a more flexible PARAFAC (parallel factor analysis) model. In PARAFAC the core tensor is restricted to be "diagonal".

In practice, Tucker decomposition is used as a modelling tool. For instance, it is used to model three-way (or higher way) data by means of relatively small numbers of components for each of the three or more modes, and the components are linked to each other by a three- (or higher-) way core array. The model parameters are estimated in such a way that, given fixed numbers of components, the modelled data optimally resemble the actual data in the least squares sense. The model gives a summary of the information in the data, in the same way as principal components analysis does for two-way data.

For a 3rd-order tensor T F n 1 × n 2 × n 3 {\displaystyle T\in F^{n_{1}\times n_{2}\times n_{3}}} , where F {\displaystyle F} is either R {\displaystyle \mathbb {R} } or C {\displaystyle \mathbb {C} } , Tucker Decomposition can be denoted as follows,

T = T × 1 U ( 1 ) × 2 U ( 2 ) × 3 U ( 3 ) {\displaystyle T={\mathcal {T}}\times _{1}U^{(1)}\times _{2}U^{(2)}\times _{3}U^{(3)}}
where T F d 1 × d 2 × d 3 {\displaystyle {\mathcal {T}}\in F^{d_{1}\times d_{2}\times d_{3}}} is the core tensor, a 3rd-order tensor that contains the 1-mode, 2-mode and 3-mode singular values of T {\displaystyle T} , which are defined as the Frobenius norm of the 1-mode, 2-mode and 3-mode slices of tensor T {\displaystyle {\mathcal {T}}} respectively. U ( 1 ) , U ( 2 ) , U ( 3 ) {\displaystyle U^{(1)},U^{(2)},U^{(3)}} are unitary matrices in F d 1 × n 1 , F d 2 × n 2 , F d 3 × n 3 {\displaystyle F^{d_{1}\times n_{1}},F^{d_{2}\times n_{2}},F^{d_{3}\times n_{3}}} respectively. The j-mode product (j = 1, 2, 3) of T {\displaystyle {\mathcal {T}}} by U ( j ) {\displaystyle U^{(j)}} is denoted as T × U ( j ) {\displaystyle {\mathcal {T}}\times U^{(j)}} with entries as

( T × 1 U ( 1 ) ) ( n 1 , d 2 , d 3 ) = i 1 = 1 d 1 T ( i 1 , d 2 , d 3 ) U ( 1 ) ( i 1 , n 1 ) ( T × 2 U ( 2 ) ) ( d 1 , n 2 , d 3 ) = i 2 = 1 d 2 T ( d 1 , i 2 , d 3 ) U ( 2 ) ( i 2 , n 2 ) ( T × 3 U ( 3 ) ) ( d 1 , d 2 , n 3 ) = i 3 = 1 d 3 T ( d 1 , d 2 , i 3 ) U ( 3 ) ( i 3 , n 3 ) {\displaystyle {\begin{aligned}({\mathcal {T}}\times _{1}U^{(1)})(n_{1},d_{2},d_{3})&=\sum _{i_{1}=1}^{d_{1}}{\mathcal {T}}(i_{1},d_{2},d_{3})U^{(1)}(i_{1},n_{1})\\({\mathcal {T}}\times _{2}U^{(2)})(d_{1},n_{2},d_{3})&=\sum _{i_{2}=1}^{d_{2}}{\mathcal {T}}(d_{1},i_{2},d_{3})U^{(2)}(i_{2},n_{2})\\({\mathcal {T}}\times _{3}U^{(3)})(d_{1},d_{2},n_{3})&=\sum _{i_{3}=1}^{d_{3}}{\mathcal {T}}(d_{1},d_{2},i_{3})U^{(3)}(i_{3},n_{3})\end{aligned}}}

Taking d i = n i {\displaystyle d_{i}=n_{i}} for all i {\displaystyle i} is always sufficient to represent T {\displaystyle T} exactly, but often T {\displaystyle T} can be compressed or efficiently approximately by choosing d i < n i {\displaystyle d_{i}<n_{i}} . A common choice is d 1 = d 2 = d 3 = min ( n 1 , n 2 , n 3 ) {\displaystyle d_{1}=d_{2}=d_{3}=\min(n_{1},n_{2},n_{3})} , which can be effective when the difference in dimension sizes is large.

There are two special cases of Tucker decomposition:

Tucker1: if U ( 2 ) {\displaystyle U^{(2)}} and U ( 3 ) {\displaystyle U^{(3)}} are identity, then T = T × 1 U ( 1 ) {\displaystyle T={\mathcal {T}}\times _{1}U^{(1)}}

Tucker2: if U ( 3 ) {\displaystyle U^{(3)}} is identity, then T = T × 1 U ( 1 ) × 2 U ( 2 ) {\displaystyle T={\mathcal {T}}\times _{1}U^{(1)}\times _{2}U^{(2)}} .

RESCAL decomposition [3] can be seen as a special case of Tucker where U ( 3 ) {\displaystyle U^{(3)}} is identity and U ( 1 ) {\displaystyle U^{(1)}} is equal to U ( 2 ) {\displaystyle U^{(2)}} .

See also

References

  1. ^ Ledyard R. Tucker (September 1966). "Some mathematical notes on three-mode factor analysis". Psychometrika. 31 (3): 279–311. doi:10.1007/BF02289464. PMID 5221127.
  2. ^ 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.
  3. ^ Nickel, Maximilian; Tresp, Volker; Kriegel, Hans-Peter (28 June 2011). A Three-Way Model for Collective Learning on Multi-Relational Data. ICML. Vol. 11. pp. 809–816.
  • v
  • t
  • e