Tensor decomposition of EEG signals: A brief review
Full text
This is an electronic reprint of the original article. This reprint may differ from the original in pagination and typographic detail. Author(s): Title: Year: Version: Please cite the original version: All material supplied via JYX is protected by copyright and other intellectual property rights, and duplication or sale of all or part of any of the repository collections is not permitted, except that material may be duplicated by you for your research use or educational purposes in electronic or print form. You must obtain permission for any other use. Electronic or print copies may not be offered, whether for sale or otherwise to anyone who is not an authorised user. Tensor decomposition of EEG signals: A brief review Cong, Fengyu; Lin, Qiu-Hua; Kuang, Li-Dan; Gong, Xiao-Feng; Astikainen, Piia; Ristaniemi, Tapani Cong, F., Lin, Q.-H., Kuang, L.-D., Gong, X.-F., Astikainen, P., & Ristaniemi, T. (2015). Tensor decomposition of EEG signals: A brief review. Journal of Neuroscience Methods, 248(June), 59-69. https://doi.org/10.1016/j.jneumeth.2015.03.018 2015
Journal of Neuroscience Methods 248 (2015) 59–69 Contents lists available at ScienceDirect Journal of Neuroscience Methods jo ur nal ho me p age: www.elsevier.com/locate/jneumeth Computational neuroscience Tensor decomposition of EEG signals: A brief review Fengyu Conga,b,∗, Qiu-Hua Linc, Li-Dan Kuangc, Xiao-Feng Gongc, Piia Astikainend, Tapani Ristaniemib aDepartment of Biomedical Engineering, Faculty of Electronic Information and Electrical Engineering, Dalian University of Technology, Dalian, China bDepartment of Mathematical Information Technology, University of Jyväskylä, Jyväskylä, Finland cSchool of Information and Communication Engineering, Faculty of Electronic Information and Electrical Engineering, Dalian University of Technology, Dalian, China dDepartment of Psychology, University of Jyväskylä, Jyväskylä, Finland h i g h l i g h t s •EEG signals are naturally born with multi modes. •EEG signals can be represented by the high-order multi-way array, tensor. •Tensor of EEG can be exploited by tensor decomposition for multi-way analysis. a r t i c l e i n f o Article history: Received 29 December 2014 Received in revised form 17 February 2015 Accepted 12 March 2015 Available online 1 April 2015 Keywords: Event-related potentials EEG Tensor decomposition Canonical polyadic Tucker Brain Signal a b s t r a c t Electroencephalography (EEG) is one fundamental tool for functional brain imaging. EEG signals tend to be represented by a vector or a matrix to facilitate data processing and analysis with generally understood methodologies like time-series analysis, spectral analysis and matrix decomposition. Indeed, EEG signals are often naturally born with more than two modes of time and space, and they can be denoted by a multi-way array called as tensor. This review summarizes the current progress of tensor decomposition of EEG signals with three aspects. The first is about the existing modes and tensors of EEG signals. Second, two fundamental tensor decomposition models, canonical polyadic decomposition (CPD, it is also called parallel factor analysis-PARAFAC) and Tucker decomposition, are introduced and compared. Moreover, the applications of the two models for EEG signals are addressed. Particularly, the determination of the number of components for each mode is discussed. Finally, the N-way partial least square and higherorder partial least square are described for a potential trend to process and analyze brain signals of two modalities simultaneously. © 2015 The Authors. Published by Elsevier B.V. This is an open access article under the CC BY-NC-ND license (http://creativecommons.org/licenses/by-nc-nd/4.0/). Contents 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 1.1. One-way and two-way brain signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 1.2. Multi-way nature of EEG signals. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 1.3. Multi-way array is a tensor, a new way to represent and analyze data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 2. Multiple modes and high-order tensors of EEG data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 3. Models of tensor decomposition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 3.1. Canonical polyadic decomposition (CPD) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 3.1.1. Definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 3.1.2. Relationship between matrix decomposition and CPD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 3.2. Tucker decomposition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 3.2.1. Definition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 3.2.2. Difference between CPD and Tucker decomposition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 ∗Corresponding author at: Department of Biomedical Engineering, Dalian University of Technology, Dalian 116024, China. Tel.: +86 158 411 92277. E-mail addresses: [email protected], [email protected] (F. Cong). http://dx.doi.org/10.1016/j.jneumeth.2015.03.018 0165-0270/© 2015 The Authors. Published by Elsevier B.V. This is an open access article under the CC BY-NC-ND license (http://creativecommons.org/licenses/by-nc-nd/4. 0/).
60 F. Cong et al. / Journal of Neuroscience Methods 248 (2015) 59–69 4. Applications of tensor decomposition of EEG signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 4.1. Canonical polyadic decomposition of tensor of one sample . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 4.2. Canonical polyadic decomposition of tensor of multiple samples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 4.2.1. Feature extraction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 4.2.2. Feature selection and analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 4.3. Tucker decomposition of tensor of multiple samples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 4.4. Determination of the number of extracted components for each mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 5. Potential trend: Tensor decomposition for data of two modalities simultaneously . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 5.1. Standard partial least squares . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 5.2. N-way partial least squares . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 5.3. Higher-order partial least squares . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 Acknowledgements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 Appendix A . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 A.1. Inner and outer products . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 A.2. Outer product of multiple vectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 A.3. Mode-n tensor matrix product . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 References . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 1. Introduction Data processing and analysis plays a fundamental role in brain research using brain imaging tools. The recorded brain imaging data can be represented by a one-way series (called as a vector), a two-way array (called as a matrix), and a multi-way array (called as a tensor). Different signal processing and analysis methods are applied in terms of different ways of data representation. 1.1. One-way and two-way brain signals For example, in the early stage of electroencephalography (EEG) studies, EEG data were represented by a time series and all data samples were carried by a vector (Berger, 1929). Since then, power spectrum analysis of the time series has been often applied for investigating EEG oscillations (Cohen, 2014; Niedermeyer and Lopes da Silva, 2005). Recently, time-frequency analysis (TFA) of the time series has been very attractive for analyzing single-trial EEG (Herrmann et al., 2013). Nowadays, multiple electrodes are often used to collect EEG data in the experiment. Therefore, EEG recordings naturally include two modes of time and space, at least. Subsequently, a matrix with the two modes has been extensively used to represent the EEG data. In some professional software for EEG data processing and analysis, EEG data are displayed on the screen (Delorme and Makeig, 2004). The horizontal axis of the plane (the row of a matrix) is for the time mode, and the vertical axis of the plane is for the space mode (the column of the matrix). As a result, the two-way signal processing methods including principal component analysis (PCA) and independent component analysis (ICA) have been performed on the matrix to remove artifacts and to extract brain activities of interest (Dien, 2012; Onton and Makeig, 2006; Vigario and Oja, 2008). 1.2. Multi-way nature of EEG signals Indeed, in EEG experiments, usually there are more modes than the two modes of time and space. For instance, analysis of EEG signals may compare responses recorded in different subject groups (e.g. comparison of responses in a healthy control group and a clinical group). Thus, at least one more mode appears and it is the subject. Furthermore, in an experiment to elicit eventrelated potentials (ERPs), there are modes of EEG trial (since several stimulus presentations are required) and stimulus presentation condition. This means the brain data collected by EEG techniques can be naturally fit into a multi-way array including multiple modes. However, the mostly applied computing tools for brain research are oriented for one-way or two-way data. Consequently, in order to facilitate the two-way signal processing methods, the extra modes besides the two modes of time and space are often concatenated (data are horizontally connected in a plane) or stacked (data are vertically connected in a plane) with the time or the space mode for generating a matrix (Calhoun and Adali, 2012; Cong et al., 2013b, 2014a; Delorme and Makeig, 2004; Dien, 2012; Eichele et al., 2011). This is often called unfolding a multi-way array into a matrix. For EEG data, such unfolding inevitably loses some potentially existing interactions between/among the folded modes, such as time, frequency and space modes. The interactions can be of research interest. Consequently, in order to appropriately reveal the interactions among multiple modes, the signal processing methods particularly for a multi-way array are naturally promising tools. 1.3. Multi-way array is a tensor, a new way to represent and analyze data A multi-way array is named as a tensor (Cichocki et al., 2009; Kolda and Bader, 2009). For a matrix, matrix decomposition can be applied for data processing and analysis. Analogously, for a tensor, tensor decomposition can be applied as well. Tensor decomposition inherently exploits the interactions among multiple modes of the tensor. It was first defined in the field of mathematics (Hitchcock, 1927), and has been glorious in the fields of psychometrics and chemometrices for multi-way data analysis (Kroonenberg, 2008; Smilde et al., 2004). The existing key reviews for tensor decomposition often include its history, models, algorithms and various applications (Acar and Yener, 2009; Cichocki et al., 2015; Comon, 2014; Comon et al., 2009; Khoromskij, 2011; Kolda and Bader, 2009; Lu et al., 2011; Morup, 2011). Recently, tensor decomposition has become surprisingly attractive for signal processing (Cichocki et al., 2015). Indeed, it has already been applied for analysis of ERPs in 1980s (Mocks, 1988a,b). In the past ten years, there have been many reports about tensor decomposition for processing and analyzing EEG signals. However, there is no review particularly for tensor decomposition of EEG signals yet. Therefore, this study is devoted to summarizing previous reports concerned with tensor decomposition of EEG signals and discussing the key issues regarding the application. In the rest of the paper, next, tensors of EEG signals and tensor decomposition models are introduced. Subsequently, how tensor decomposition can be applied for processing and analyzing tensors of EEG signals is addressed. Finally, the potential trend for analyzing data of two modalities in brain research is stated. Since superiority
F. Cong et al. / Journal of Neuroscience Methods 248 (2015) 59–69 61 Fig. 1. A demo of the third-order tensor of EEG (Zhao et al., 2011). of tensor decomposition in contrast to matrix decomposition has been discussed in many previous reports, it is not shown here. Furthermore, this review is targeted to fundamental concepts of tensor decomposition and its application. Thus, the algorithms of tensor decomposition (Cichocki et al., 2015; Kolda and Bader, 2009; Zhou et al., 2014) are not included. 2. Multiple modes and high-order tensors of EEG data EEG data can be divided into three types including spontaneous EEG (Niedermeyer and Lopes da Silva, 2005), ERPs (Luck, 2005), and ongoing EEG (Cong et al., 2013a). No matter which type of EEG is collected, the raw recordings are continuous and the length of the recording in time can be dozens of minutes or even a few hours. Off-line, the continuous EEG data are usually segmented in terms of stimulus types. Then, in addition to the two modes of time and space, the additional mode segment (also called as epoch or trial) is naturally born for the ERP data. Furthermore, if the EEG data of one segment is transformed into the time-frequency domain, another mode called as frequency is yielded. Moreover, particularly in ERPs, there are often two or more experimental conditions, for example, different types of changes in a sound in the experiment for mismatch negativity (MMN) (Naatanen et al., 2011). This means that one more mode exists and it is named as the mode of condition. For the within-subject analysis, all participants belong to one group, and then, there is the additional mode of subject. Regarding the between-subject analysis in an ERP experiment, there are two or more groups of subjects. Therefore, another mode is the group. As a result, in an EEG experiment, potentially, there could be even 7 modes including time, frequency, space, trial, condition, subject and group. For the conventional ERP study, the mode of trial disappears after averaging EEG data over single trials is applied to obtain the conventionally defined ERP waveforms. Due to these modes, the high-order tensors including some of the seven modes do naturally exist in the experiment. Obviously, such a tensor may be very big in sizes. It is not straightforward to visualize the tensors with more than three modes. For demonstration, Fig. 1 shows a third-order tensor including the three modes of time, frequency and space, and it is adapted from the previous study (Zhao et al., 2011). The thirdorder tensor consists of the time-frequency representation (TFR) of the multiple channels’ EEG data. It allows the observation of the temporal, spectral and spatial evolutions of the brain activity simultaneously. This is hard to realize using a two-mode matrix of the TFR data when any of the three modes is concatenated or stacked with any of the left two modes. EEG data represented by a time-series can be transformed into many other domains besides the time-frequency domain, and after the transformation the EEG data can then be represented by other means instead of the waveform. For example, if the power spectrum is used to analyze the time-series of EEG data, the data are represented by strength of many frequency components in the frequency Fig. 2. Two-component CPD of a third-order tensor [Adapted from Bro (1998)]. domain. Strength of a frequency component can be called as a feature or signature. Various types of EEG features have already been used for the computer-aided diagnosis of neurological disorders (Adeli and Ghosh-Dastidar, 2010) and brain–computer interface (BCI) (Tan and Nijholt, 2010). Therefore, there is another mode called as the mode of feature for composing tensors of EEG data after some transforms are applied (Acar et al., 2007a,b). 3. Models of tensor decomposition Two most fundamental models for tensor decomposition are canonical polyadic (CP) (Hitchcock, 1927) and Tucker (Tucker, 1966). The CP model is also known as parallel factor analysis (PARAFAC) (Harshman, 1970) and canonical decomposition (CANDECOMP) (Carroll and Chang, 1970). Please refer to the Appendix for basic mathematical operations used in tensor decomposition. 3.1. Canonical polyadic decomposition (CPD) 3.1.1. Definition Given a third-order tensor, a two-component canonical polyadic decomposition (CPD) is shown in Fig. 2 (Bro, 1998). X -= a1◦ b1◦ c1+ a2◦ b2◦ c2+ E -≈ a1◦ b1◦ c1+ a2◦ b2◦ c2 = X -1+ X -2. (1) where the outer product is defined in Section 6.2. As an example, a third-order tensor is shown in Fig. 1. After the two-component CPD is applied on the tensor, two temporal, two spectral, and two spatial components are extracted, as shown in Fig. 2. In this application, the first temporal component a1, the first spectral component b1, and the first spatial component c1are associated with one another, and their outer product produces rank-one tensor X1. The second components in the time, frequency, and space modes are associated with one another, and their outer product generates rank-one tensor X2. The sum of rank-one tensors X1and X2approximates original tensor X. Therefore, CPD is the sum of a number of rank-one tensors plus the error tensor. Generally, for a given Nth-order tensor X ∈ -I1×I2×···×IN, the CPD is defined as X = R r=1 u(1) r◦ u(2) r◦ · · · ◦ u(N) r+ E = R r=1 Xr+ E =ˆ X+ E ≈ˆ X,(2) where Xr= u(1) r◦ u(2) r◦ · · · ◦ u(N) r, r = 1, 2, · · · , R;ˆ X approximates tensor X, E ∈ -I1×I2×···×IN; and ||u(n) r||2= 1, for n = 1, 2, · · · , N − 1. U(n)=u(n) 1, u(n) 2, · · ·, u(n) R∈ In×Rdenotes a component matrix for mode #n, and n = 1, 2, · · · , N. In the tensor-matrix product form, Eq. (2) transforms into X = I -×1U(1)×2U(2)×3· · · ×NU(N)+ E =ˆ X+ E, (3) where I is an identity tensor, which is a diagonal tensor with a diagonal entry of one. For tensor decomposition, additional constraints can be applied to some or even all modes according to the properties of each mode.
62 F. Cong et al. / Journal of Neuroscience Methods 248 (2015) 59–69 For example, when the data are nonnegative, the nonnegative constraint can be used (Cichocki et al., 2009). This constraint has been very extensively applied (Cichocki et al., 2015). 3.1.2. Relationship between matrix decomposition and CPD If N = 2, Eq. (2) degenerates into a matrix decomposition as X = R r=1 u(1) r◦ u(2) r+ E =ˆ X+ E. (4) Indeed, Eq. (4) is the model for blind source separation (BSS) (Cichocki and Amari, 2003; Comon, 1994; Comon and Jutten, 2010; Hyvarinen et al., 2001). Therefore, we can state that Eq. (4) is a blind separation of a mixture with two modes, and Eq. (2) is a blind separation of a mixture with N modes (Cichocki et al., 2009, 2015). Moreover, CPD and matrix decomposition can be regarded as the sum of rank-one tensor and rank-one matrix, respectively. Furthermore, without additional assumptions constrained, no unique matrix decomposition is available for Eq. (4). This is the main difference between the matrix decomposition and CPD because CPD is unique with only very mild condition required (Kolda and Bader, 2009). 3.2. Tucker decomposition 3.2.1. Definition For a given Nth-order tensor X ∈ -I1×I2×···×IN, the Tucker decomposition is expressed as follows: X = R1 r1=1 R2 r2=1 · · · RN rN=1 gr1r2···rNa(1) r1◦ a(2) r2◦ · · · ◦ a(N) rN+ E = R1 r1=1 R2 r2=1 · · · RN rN=1 gr1r2···rNXr1r2···rN+ E, (5) where rank-one tensor Xr1r2···rN= a(1) r1◦ a(2) r2◦ · · · ◦ a(N) rN, In≥ Rn, and gr1r2···rNcomposes the core tensor G ∈ -R1×R2×···×RN. To avoid unnecessary confusion, we denote the component in the Tucker decomposition by a instead of u in the CPD. Therefore, the Tucker decomposition is the sum of the R1× R2× · · · × RNscaled rank-one tensors plus the error tensor. Each rank-one tensor is the outer product of N components from N component matrices (each component matrix among the N matrices just contributes one component for the outer product). In the tensor-matrix form, Eq. (5) is transformed into X = G ×1A(1)×2A(2)×3· · · ×NA(N)+ E =ˆ X + E, (6) where A(n)=a(n) 1, a(n) 2, · · ·, a(n) Rn∈ In×Rn(n = 1, 2, · · ·, N)denotes the component matrix. To avoid confusion, we denote the component matrix in the Tucker decomposition by A instead of U in the CPD. In theory, the Tucker decomposition does not possess unique solutions even though it is subjected to the permutation and variance indeterminacies (Cichocki et al., 2015; Kolda and Bader, 2009). In practice, when additional assumptions are introduced on the different modes, the Tucker decomposition can be unique (Zhou and Cichocki, 2012). 3.2.2. Difference between CPD and Tucker decomposition In terms of the two fundamental tensor decomposition models, four key differences exist between the CPD and Tucker decomposition. In the CPD, the number of components in each mode remains invariant. However, in the Tucker decomposition, the numbers of components in the different modes can be different. Both the CPD and Tucker decomposition are derived in terms of the sum of rank-one tensors, and each rank-one tensor is the outer product of N components from N component matrices with N modes. However, in the CPD, each of the N components must be the component #r of each component matrix. In the Tucker decomposition, each component comes from each component matrix, and no limitation is imposed on the order of the chosen component in the component matrix. For example, in Fig. 2, the first temporal component a1, first spectral component b1, and first spatial component c1are associated with one another, but any of them is not associated with a2, b2, or c2. In the Tucker decomposition, any component from the different component matrices can be associated with one another. The core tensor in the CPD is the identity tensor, but that in the Tucker decomposition it can be any tensor with compatible sizes. In theory, the CPD can be unique under very mild conditions (Kolda and Bader, 2009); however, the Tucker decomposition is generally not unique without imposing additional constraints (Kolda and Bader, 2009; Zhou and Cichocki, 2012). 4. Applications of tensor decomposition of EEG signals When tensor decomposition is applied to process and analyze EEG signals, the purpose is often source localization of brain activity (Becker et al., 2014), research questions of cognitive neuroscience (Cong et al., 2012b) or clinical neuroscience (Acar et al., 2007a,b), or related to brain–computer interface (Cichocki et al., 2008). In all cases, two issues are essential to concern. The first is whether the CP model or the Tucker model will be applied. The second is whether the tensor is for individual-level analysis or for group-level analysis. Regarding the former analysis, the tensor usually includes the data of one segment (or called as epoch, trial) of one subject in an EEG experiment. As for the latter analysis, the tensor tends to contain the data of multiple trials of one subject or multiple subjects. Therefore, in this review, we categorize the applications of tensor decomposition on EEG based on the above-mentioned two issues. Furthermore, it is necessary to consider one additional issue: how to select the number of components for tensor decomposition. This will be discussed in the end of this section. Hereinafter, we use ‘sample’ to denote one subject or one trial/epoch in an EEG experiment. 4.1. Canonical polyadic decomposition of tensor of one sample As shown in Fig. 1, the TFR of EEG data of multiple channels consists of a third-order tensor. Such a tensor has been decomposed using the CP model (Acar et al., 2007a,b; De Vos et al., 2007b; Deburchgraeve et al., 2009; Miwakeichi et al., 2004; Wang et al., 2012). Consequently, the spatial component can be used for the source localization (De Vos et al., 2007a,b); the temporal and the spectral components reveal the temporal and spectral characteristics of EEG data simultaneously, and the results can be used for diagnosis of disease (Acar et al., 2007a,b; Wang et al., 2012). 4.2. Canonical polyadic decomposition of tensor of multiple samples CPD on tensor of one sample can be used for visual inspection. For different samples, if tensor decomposition is applied individually, it is very difficult to straightforwardly make grouplevel statistical analysis for multiple samples. This is because of the inherent variance indeterminacy of an extracted component by tensor decomposition (Kolda and Bader, 2009). Therefore, it is very significant and important to investigate tensor decomposition on the tensor of multiple samples. The application includes
F. Cong et al. / Journal of Neuroscience Methods 248 (2015) 59–69 63 feature extraction, feature selection and feature analysis. Indeed, these procedures are very extensively applied in the field of pattern recognition and machine learning (Bishop, 2006). 4.2.1. Feature extraction When a tensor includes the mode of sample (subject or trial), an extracted component in the mode contains a signature of each sample. Usually, the sample mode is arranged as the last mode of the tensor in Eqs. (2) and (5). Given a Nth-order tensor X ∈ -I1×I2×···×IN, INis the size of all samples in the sample mode. CPD of the tensor X reads X = R r=1 u(1) r◦ u(2) r◦ · · · ◦ u(N−1) r◦ fr+ E = I -×1U(1) ×2U(2)×3· · · ×N−1U(N−1)×NF + E, (7) where for n = 1, 2, · · · , N − 1, ||u(n) r||2= 1, and u(n) r(∈ In×1)denotes the component #r in the mode #n, and it is common to all samples carried by the feature component fr∈ IN×1. Consequently, if the sample mode includes multiple conditions or/and multiple groups of subjects, data analysis can be applied to those signatures carried by the feature component fr(r ∈[1, R]). The idea shown in Eq. (7) has been applied in many EEG studies (Cong et al., 2012b; de Munck and Bijma, 2009; Lee et al., 2007; Mocks, 1988a,b; Morup et al., 2007; Morup et al., 2006, 2008; Paulick et al., 2014; Schaefer et al., 2013; Vanderperren et al., 2013; Wang et al., 2008, 2012; Weis et al., 2009). For instance, when a fourth-order ERP tensor of the TFRs includes the time, frequency, space, and sample modes, it can be decomposed into four component matrices of the four modes by CPD with nonnegativity constraints as follows: X = I -×1U(t)×2U(s)×3U(c)×4F + E = R r=1 u(t) r◦ u(s) r◦ u(c) r◦ fr+ E, (8) where X ∈ It×Is×Ic×I +, U(t)=u(t) 1, u(t) 2, · · ·, u(t) R∈ It×R +, U(s)= u(s) 1, u(s) 2, · · ·, u(s) R∈ Is×R +, and U(c)=u(c) 1, u(c) 2, · · ·, u(c) R∈ Ic×R +, respectively, denote the temporal component matrix, the spectral component matrix, and the channel/spatial component matrix; and F =[f1, f2, · · ·, fR]∈ I×R +represents the multi-domain feature component matrix. It should be noted that all the elements in Eq. (8) are nonnegative. Fig. 3 shows the demonstration of feature extraction using CPD on a fourth-order tensor including TFR of ERP data in an MMN experiment (Cong et al., 2012b). The first three components of each mode are shown in the figure. The sizes of the tensor were 71(frequency bins) by 60 (temporal points) by 9 (channels) by 42 (2 groups with 21 children in each). The number of extracted components for each mode was 36 (Cong et al., 2012b). Each row of Fig. 3 represents the temporal, spectral and spatial components of a feature, and each feature takes the variance in signatures of 42 children. In other words, the temporal, spectral and spatial components are common to all 42 children, and the variance in signatures of 42 children is revealed given those common components. Furthermore, it is worth emphasizing again that the components and the feature in each row in Fig. 3 are not associated with any other components and other features in other rows. This is the special property of CPD in contrast to Tucker decomposition as discussed in Section 3.2.2 (Kolda and Bader, 2009). 4.2.2. Feature selection and analysis After a tensor is factorized by CPD, the next is how to select and analyze the extracted features. Usually, the purpose of feature analysis determines the method for feature selection. It is well known that the collected EEG data include the brain activities of interest, brain activities of no interest, and interference, as well as noise. Therefore, the features extracted from EEG data (even when major artefacts are removed in a preprocessing phase) using tensor decomposition can still include features of interest and features of no interest. It is certainly expected that the features of brain activities of interest are used for the further feature analysis, motivating the feature selection step. Generally speaking, there are two categories for data analysis in terms of two different research questions. One is that the statistical test methods, like analysis of variance (ANOVA), are applied on the selected features to examine the pre-defined hypothesis. The other is that classifiers for pattern recognition (Bishop, 2006) are performed and utilize the previously validated hypothesis. For the former, results can be reported using p values to denote the significance of difference in signatures between/among factors (e.g., conditions, groups) for testing hypothesis (Cong et al., 2012b; Cong et al., 2014a,b; Morup et al., 2007). As for the latter, results are shown using accuracy values in percentage for task or disease prediction, detection, diagnosis and classification (Cong et al., 2010; Lee et al., 2007; Vanderperren et al., 2013). Consequently, the feature selection for the former category is usually based on the properties of EEG signals and the group labels of subjects are not used (Cong et al., 2012b, 2014a,b), and for the latter it is often in light of adaptive feature selection algorithms and the group labels of subjects have to be used (Cong et al., 2010; Lee et al., 2007). For the former category, all samples’ data are decomposed and the feature selection should be relevant in terms of the properties of EEG signals. For instance, Fig. 3 shows three features of 36 ones as mentioned above. Since MMN is a very well-defined component, its properties in the time, frequency and spatial domains are known. The temporal, spectral and spatial components are used to select the feature which is relevant to MMN (Cong et al., 2012b). Therefore, features themselves are not used in the feature selection process. In other words, the feature can be selected when the associated components of the brain signal meet the temporal, spectral and spatial properties of MMN given the example in Fig. 3. Here, the second feature shown in the second row of Fig. 3 was selected as the feature of MMN for the further data analysis (Cong et al., 2012b). For the latter category, all samples are divided into two parts for the training and testing. The data of the training part are first decomposed and some features are selected in terms of adaptive feature selection algorithms to train the classifier to recognize the label of each trained sample. Therefore, all features are used to select the feature of interest. This is very different from the former category. After the successfully training, the data of new samples (i.e., the testing part) are projected on to the common components of the trained samples to obtain the features of new samples. Using the trained classifier, the labels of new samples are obtained (Cong et al., 2010; Lee et al., 2007; Zhang et al., 2013, 2014). In terms of the successfully training and testing, the classifier would be useful for the future research or application, for example, for diagnosis of brain disorders (Adeli and Ghosh-Dastidar, 2010). Indeed, the two categories correspond to two different types of research questions. The former is for the why-questions in the field of neuroscience. The latter is for how-questions in the field of engineering and the underlying why-questions in the field of neuroscience have been successfully answered and validated. As a result, the former appears more often in the field of neuroscience and the latter in the field of computer science. To some extent, the
64 F. Cong et al. / Journal of Neuroscience Methods 248 (2015) 59–69 Fig. 3. Example of CPD of a fourth-order ERP tensor including TFR of MMN data with the nonnegativity constraints. The first three components in each mode are shown. two categories could be combined together, particularly for feature selection (Vanderperren et al., 2013). 4.3. Tucker decomposition of tensor of multiple samples Among various types of brain imaging data, Tucker decomposition is mostly applied on EEG of multiple samples (Latchoumane et al., 2012; Morup et al., 2007; Phan and Cichocki, 2010, 2011). The application also includes feature extraction, feature selection and feature analysis. When the sample mode is arranged as the last mode of a Nth-order tensor X ∈ -I1×I2×···×INand Tucker decomposition is performed on the tensor in light of Eq. (6), features can be carried by the component matrix of the sample mode (Morup et al., 2007), or by the core tensor (Cong et al., 2013c). The following feature selection and analysis can also be grouped into two categories like those for CPD. As they have been illustrated in the previous subsection, they are not explained in details here. Fig. 4 shows the example of Tucker decomposition on the fourth-order tensor of MMN (used in Fig. 3) with the nonnegativity constraints. The numbers of temporal components, spectral components, and spatial components are 8, 4, and 6. The features are carried by the core tensor G ∈ -8×4×6×42 (Cong et al., 2013c). Therefore, the number of all features is 192. As mentioned above, the second feature extracted by CPD shown in Fig. 3 is the feature of MMN which is of interest for the further analysis. Interestingly, the temporal component #8 in Fig. 4a, the spectral component #3 in Fig. 4b, and the spatial component #4 in Fig. 4c are very similar to the corresponding components shown in the second row of Fig. 3. Then, the feature of MMN by Tucker decomposition is represented by G(8, 3, 4, :)(here, ‘:’ means that all samples are taken). It should be noted that each extracted component in each mode in Fig. 4 is interacted with any other component in any other mode. This is one of the key differences between CPD and Tucker decomposition as discussed in Section 3.2.2 (Kolda and Bader, 2009). Because of the four differences listed in the Section 3.2.2, the Tucker decomposition is in general more flexible than the CPD (Cichocki et al., 2015; Kolda and Bader, 2009), which is validated by results shown in Figs. 3 and 4. Using CPD 36 components in each mode were extracted, and using Tucker decomposition much fewer components were needed to factorize the tensor for extracting the feature of interest. Moreover, in order to select the feature of interest in terms of prior knowledge of EEG signals, it is necessary to have such information in each mode except the sample mode when Tucker decomposition is used. This is not essential regarding CPD of EEG signals. 4.4. Determination of the number of extracted components for each mode When tensor decomposition is applied to process and analyze EEG signals, one critical issue is to determine an important parameter, i.e., the number of extracted components for each mode in Eqs. (2) and (5). For the CP model only one parameter is required, and for the Tucker model the number of selected parameters is equal to the number of modes. Methods to determine the parameter include the difference of fit (DIFFIT, the definition will be introduced next) (Timmerman and Kiers, 2000), the cross-validation of component models (Bro and Kiers, 2003; Bro et al., 2008), the Bayesian learning based Automatic relevance determination (ARD) (Morup and Hansen, 2009), and model order selection (He et al., 2010). It has been generally acknowledged that both tensor decomposition and matrix decomposition can be regarded as solutions of blind source separation. Therefore, in order to determine the number of extracted components by CPD, it is beneficial to consider the selected number of components when the matrix decomposition is applied on EEG signals. Independent component analysis (ICA) (Comon, 1994) is a matrix decomposition method and has been very extensively applied to process and analyze EEG data in the open source toolbox, EEGLAB (Delorme and Makeig, 2004). When ICA is applied on EEG signals, the number of extracted components is regarded as the number of sources in the brain (Makeig et al., 1997, 1999; Vigario and Oja, 2008). No matter in EEG data or in other functional brain imaging data in the time-spatial domain, a source includes a spatial component and a temporal component and the out-product of the two components yield a pattern of the source. Therefore, the number of sources is indeed the number of sources’ patterns. The number of estimated sources usually in
F. Cong et al. / Journal of Neuroscience Methods 248 (2015) 59–69 65 functional brain imaging data is often several dozens (Cong et al., 2013b; Delorme and Makeig, 2004; Delorme et al., 2012; Li et al., 2007). Such estimation for ICA can be the appropriate reference to determine the number of extracted components when CPD is applied on EEG signals. However, the methods in terms of cross-validation of component models and Bayesian learning based ARD often suggested just several components to extract (Acar et al., 2007a,b, 2011; De Vos et al., 2007b; Deburchgraeve et al., 2009; Miwakeichi et al., 2004; Morup et al., 2006, 2008; Nazarpour et al., 2008), which does not very much conform to the physiological properties of EEG signals. Model order selection methods theoretically match the models of tensor decomposition for determining the number of sources (He et al., 2010). Nevertheless, they do not produce precise results when the signal-to-noise (SNR) ratio is low (e.g., less than 0 dB) (Cong et al., 2012a). In practice, EEG signals, especially EEG data, often possess very low SNR. Therefore, an empirical method in terms of the explained variance calculated by the sum of a certain number of eigenvalues over the sum of all eigenvalues is sometimes applied for matrix decomposition (Arrubla et al., 2014; Breuer et al., 2014). This can also be applied for tensor decomposition. Surprisingly, DIFFIT for CPD yields similar estimation in matrix decomposition regarding the number of extracted components from EEG data (Cong et al., 2012b, 2013c, 2014b). It is briefly introduced hereinafter. DIFFIT is in light of the change of the fit of a CP model or Tucker model with the increase of the number of extracted components (Timmerman and Kiers, 2000). Here, the example of the CP model is taken. The fit of a CP model reads fit (m)= 1 − X −ˆ Xm F X F ,(9) Fig. 4. Example of Tucker decomposition of the fourth-order ERP tensor (used in Fig. 3) with the nonnegativity constraints: (a) eight temporal components, (b) four spectral components, (c) six spatial components, and (d) all extracted features.
66 F. Cong et al. / Journal of Neuroscience Methods 248 (2015) 59–69 Fig. 4. (Continued ). where Xmis the approximation for the raw data tensor X by a rankm CP model (m plays the same role as R in Eq. (2)), •Fis the Frobenius norm, m = 1, . . ., M, and fit(m) is monotonically rising. Then, the difference fit of two adjacent fits is given by dif(m) = fit(m) − fit(m − 1) (10) where m = 2, . . ., M. Next, the ratio of the adjacent difference fits is defined as DIFFIT (m)=dif (m) dif (m + 1), (11) where m = 2, . . ., M − 1. The model with the largest DIFFIT value is regarded as the appropriate CP model for the raw data tensor. Fig. 5 shows one example of DIFFIT for CPD and it is adapted from the previous study (Cong et al., 2012b). The m in Eq. (11) ranges from 2 to 50. DIFFIT suggests the appropriate number of extracted components is 36. The drawback of DIFFIT is that it is very time consuming. In case the study using tensor decomposition is offline, DIFFIT is an appropriate option. 5. Potential trend: Tensor decomposition for data of two modalities simultaneously Recently, research of the simultaneous EEG and functional magnetic resonance imaging (fMRI) has becomes very attractive in order to overcome the inherent shortcoming of EEG (low spatial resolution) and fMRI (low temporal resolution). Therefore, how to process the data of the two modalities becomes a very significant research question (Ullsperger and Debener, 2010). Currently, most of the data processing methods for the data of the two modalities are in terms of matrix decomposition (Sui et al., 2012). Nevertheless, when EEG data and fMRI data are represented by two tensors, the tensor decomposition methods for the data of two modalities can be applied (Martinez-Montes et al., 2004). Indeed, as long as data of one modality is denoted by a tensor (data of the other mode can be represented by a vector, a matrix or a tensor), the data of two modalities can be factorized by the tensor decomposition methods (Acar et al., 2007a,b; Eliseyev and Aksenova, 2013; Eliseyev et al., 2012; Zhao et al., 2013a,b). The tensor decomposition methods for the data of two modalities are called N-way partial least squares (PLS) (Andersson and Bro, 2000; Bro, 1996) and higher-order partial least squares (HOPLS) (Zhao et al.,