About Notations in Multiway Array Processing

About Notations in Multiway Array Processing

1 About Notations in Multiway Array Processing J´er´emy E. Cohen Abstract—This paper gives an overview of notations used in where b is the outer product, and ⊠ is the Kronecker product. multiway array processing. We redefine the vectorization and This differs from the usual equality vec pa b bq “ b ⊠ a, matricization operators to comply with some properties of the which leads to unnecessarily complicated equations. Kronecker product. The tensor product and Kronecker product are also represented with two different symbols, and it is shown The first section introduces some notations for all operators how these notations lead to clearer expressions for multiway used extensively in multiway array processing. Then some array operations. Finally, the paper recalls the useful yet widely useful properties of tensors are given in Section II using unknown properties of the array normal law with suggested the suggested notations. Finally Section III exposes the array notations. normal law as defined by Hoff [9]. It is shown that the array normal law can be a handy tool for multiway array analysis. INTRODUCTION I. AFEW DEFINITIONS Since tensors have become a popular topic in data science A. About tensor products and signal processing, a large number of papers have been First let us define the tensor product as given in [14]. published to describe at best their different properties [1]–[7]. Definition 1: Let E, F be two vector spaces on a field K. Yet a consensus on notations has not been found. Some authors There is a vector space E b F, called the tensor product space, refer to the Tucker and Kruskal operators [2], [8] while others and a bilinear mapping never use these notations but make use of the n-way product b : E ˆ F Ñ E b F [3], [9]. There is at least three different unfolding methods in the literature [1], [3], [10]. The Kronecker product alone has so that for every vector space G and for all bilinear mapping g two notations in the community [1], [10], [11]. from E ˆ F to G, there is one and only one linear mapping h The tensor product itself is almost never used, even though from E b F to G defined by gpx, yq“ hpx b yq. This extends it is the very foundation of tensor algebra. Instead authors to multilinear mappings. E sometimes refer to the outer product ˝, which may be seen In other words, the tensor product of vector spaces p iqiďN as a tensor product of vectors in the canonical basis of builds one (linear) vector space i Ei. each vector space. But the tensor product allows for wider This definition is not basis dependent, which means that the generalization since it applies to tensors of any order and tensor product applies not solely to arrays, and that real-valued Rni without referring to any basis. Some authors suggest the use tensors are items from a tensor space iďN . When a of two different symbols for the Kronecker product ⊠ and the basis is given for the tensor space, this represents a tensor general tensor product b [11]. But the same symbol has been by an array of coordinates. Two well known basis-dependent used historically and through the literature [12]. representation for the tensor product are the outer product The Kronecker product is the expression of the tensor and the Kronecker product [3], [12]. First let us define the product for matrices when a basis has been given. Yet using the Kronecker product of two arrays : arXiv:1511.01306v2 [cs.NA] 3 Feb 2016 same symbol leads to confusion when manipulating arrays and Definition 2: The Kronecker product of two arrays A P multilinear operators at the same time. Moreover, manipulating Rp1ˆq1 and B P Rp2ˆq2 is denoted by A ⊠ B P Rp1p2ˆq1q2 the arrays with matricizations and vectorizations exactly means and is defined by: that the difference between a general tensor product and a a11B a12B ... a1q1 B basis-dependent Kronecker product is of crucial importance. a21B This leads also to redefining some well known operations, A ⊠ B :“ » fi . namely the matricization and the vectorization. — ffi — a 1B a B ffi The main goal of this paper is therefore to set notations — p1 p1q1 ffi for array and manipulations on arrays that are consistent with We also give the definition– of the outer product of twofl vectors one another, and with notations used in quantum physics and in a given basis. algebraic geometry where tensors have been used for decades Definition 3: The outer product of two vectors a P Rp1 and [13]. We recommend that the vectorization and matricization b P Rp2 is denoted by a b b P Rp1ˆp2 and is defined by : operators are computed so that the tensor products and Kro- a b necker products do not have to be swapped versions of each p b qij “ aibj others, which is compatible with definitions from algebraic These definitions can be extended in a trivial manner to more geometry [10]. In other words, the suggested notations will than two arrays. lead to Ambiguity happens when the used tensor product maps to vec pa b bq“ a ⊠ b, the matrix algebra, but no basis is given. We then need to use 2 the symbol b for this tensor product. Moreover, the Kronecker definition states that an array should be vectorized choosing product and the tensor product in matrix algebra coincide when elements by the reverse lexicographic order of indices, i.e. a basis is provided. It is shown in the rest of this paper that columns after columns in the first mode, sliding along the this notation eases array manipulation significantly. second mode, then the third mode and so on (see figure 1a). On the other hand, the outer product does not need a third Yet every tensor can be expressed as a sum of R tensor symbol, since there is no ambiguity with the tensor product. products of vectors by the following model, called Canonical Whenever dealing with arrays, the tensor product of vectors Polyadic (CP) decomposition or PARAFAC [19], [20] : is to be read as an outer product, but in any other case the outer product makes no sense. To comply with usual notations R N Y “ apiq in multilinear algebra, the symbol ˝ both proposed and later r r“1 i“1 abandoned by Comon [15], [16] should be dropped since it ÿ â refers also to composition. Also, the usual notation for the and using the columnwise vectorization is not compatible with tensor product is b, except in part of the multiway array the way the Kronecker product and the CP decomposition are processing community. defined. To see this, take a matrix M defined by an outer Multiway array processing is based on applying multilinear product M “ a b b. When vectorizing M columnwise, it is operators, which are themselves higher order tensors (see well known that vectors a and b are swapped to express M appendix A), on data arrays to mine these data. A well- as a Kronecker product, since in its definition the Kronecker known example is the multilinear operator obtained by High product makes the second index vary first : vecpMq“ b ⊠ a. Order Singular Value Decomposition (HOSVD) [3] yielding The point here is that once the Kronecker product has been compression for the data array. However, when fixing a basis defined, it fixes the direction for the vectorization of any array a a there is not a single definition of a product of two tensors. in order to get a direct property like vec p i iq“ i i. qiˆni In particular, if U i are matrices in R , the operator Thus we give the following definition of the vectorization U Rni Â Ò iďN i acting on tensors in iďN cannot be expressed operator of an array, along with some basic properties in Table in a given basis with outer products and Kronecker products I: [17]. Still for computing this product of tensors, some authors Definition 4: The vectorization of an array Y, denoted defined the k-way product [2], [3] : vecpYq, is the isomorphism defined as the following function nk of its CP decomposition: Y U : Y U p ‚k kqi1,...,iN “ i1,...,ik´1,j,ik`1,...,iN in,j N j“1 niˆ1 n1 n ÿ R ˆ¨¨¨ˆ N Ñ Ri“1 The bullet symbol ‚ should be preferred to the multiplication ś R N R N symbol ˆ, since the latter may already have other meanings. : apiq apiq vec r ÞÑ r Moreover, the k-way product is the contraction of a matrix r“1 i“1 r“1 i“1 along its second mode with a tensor along its k-th mode. ÿ â ÿ ò U This definition means the elements in the array are taken in Now operators iďN i are already extensively used in quantum mechanics among others, and their action on a tensor the lexicographic order of their index, i.e. along the last mode, 1 is denoted with an implicit multilinear product: then along the mode N ´ and so on (see figure 1b). In the same spirit, we define the matricization (or the N unfolding) of an array similarly to what is called flattening U i Y :“ Y ‚1 U 1 ¨¨¨‚N U N ˜i“1 ¸ in algebraic geometry [10]. Some properties are given in table â I. which is to be read as N contractions for the second mode Definition 5: The matricization of an array Y along the i- of each matrix in the tensor product with the i-th mode of th mode, denoted rYs is the isomorphism defined as the the tensor.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    5 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us