Recent Advancements in Signal Processing and Machine LearningView this Special Issue
Research Article | Open Access
Cong Liu, Xu Wei-sheng, Wu Qi-di, "Tensorial Kernel Principal Component Analysis for Action Recognition", Mathematical Problems in Engineering, vol. 2013, Article ID 816836, 16 pages, 2013. https://doi.org/10.1155/2013/816836
Tensorial Kernel Principal Component Analysis for Action Recognition
We propose the Tensorial Kernel Principal Component Analysis (TKPCA) for dimensionality reduction and feature extraction from tensor objects, which extends the conventional Principal Component Analysis (PCA) in two perspectives: working directly with multidimensional data (tensors) in their native state and generalizing an existing linear technique to its nonlinear version by applying the kernel trick. Our method aims to remedy the shortcomings of multilinear subspace learning (tensorial PCA) developed recently in modelling the nonlinear manifold of tensor objects and brings together the desirable properties of kernel methods and tensor decompositions for significant performance gain when the data are multidimensional and nonlinear dependencies do exist. Our approach begins by formulating TKPCA as an optimization problem. Then, we develop a kernel function based on Grassmann Manifold that can directly take tensorial representation as parameters instead of traditional vectorized representation. Furthermore, a TKPCA-based tensor object recognition is also proposed for application of the action recognition. Experiments with real action datasets show that the proposed method is insensitive to both noise and occlusion and performs well compared with state-of-the-art algorithms.
Recent years have witnessed a dramatic increase in the quantity of multidimensional data which are so large and complex that it becomes difficult to process them using traditional data processing applications. Hence, there is a growing need for the development and application of feature extraction and dimensionality reduction to analyze multidimensional data.
Tensor provides a natural and efficient way to describe such multidimensional data. The entries of tensor are addressed by more than two indices. The number of indices defines the order of the tensor, and each index defines one of the so-called “modes.” In reality, there are a lot of data that can be formed by tensor. For example, two order tensors include gray level images in computer vision and pattern recognition [1–4], multichannel EEG signals in biomedical engineering [5–7]. Three-order tensors include diffusion tensor imaging (DTI) in brain research , hyperspectral cube in remote sensing , silhouette sequences in gait analysis , and gray video sequences in action recognition [11, 12]. There are also multidimensional signals that can be formed in more than three-order tensor in the application of color video sequences surveillance, social network analysis , and so forth. Figure 1 shows two examples of 3-order tensor for a silhouette sequence and a reconstructed fiber tracts of human brain measured by DTI. The hypothesis behind DTI is that the bundles of fiber tracts make the water diffuse asymmetrically and DTI derives tract directional information from 3-order tensors describing this anisotropy.
Principal Component Analysis (PCA)  is one of the most important techniques in the class of unsupervised learning algorithms which linearly transforms a number of possibly correlated variables into uncorrelated features called principal components (PCs). The transformation is performed to find directions of maximal variation. Normally, only a few principal components can account for most of the variation in the original dataset. However, PCA is not suitable to discover nonlinear relationships among the original variables. To overcome this limitation, Schölkopf et al.  originally proposed Kernel Principal Component Analysis (KPCA)  which performs PCA in a Reproducing Kernel Hilbert Space (RKHS) rather than in the input space. In principle, the kernel methods nonlinearly map a set of training samples to a higher dimensional RKHS where conventional linear PCA is performed, with the resulting subspaces being nonlinear with regards to the original input space. In practice, the mapping is performed implicitly via the kernel trick , where an appropriately chosen kernel function is used to evaluate dot products of mapped input space vectors without having to explicitly carry out the mapping.
As a classical dimensionality reduction method, PCA and KPCA have been widely used in extracting feature from tensor objects. However, before feeding tensorial data to PCA or KPCA, the tensors have to be typically transformed into long vectors by concatenating the tensor entry-wise. This will present several problems. Firstly, the integral structure of tensor is disintegrated; therefore, the information correlated with surrounding entries could be lost. Secondly, the vectorized representation lies in a very high dimensional space, which will bring the Curse of Dimensionality dilemma . Thirdly, only sparse data are available in many application areas such as web document classification, face recognition, and disease classification based on gene expression profiling; consequently, the small sample size (SSS) problem [17, 18] is inevitable there.
Due to the challenges above, recently, interests have grown in multilinear subspace learning (hereinafter referred to as tensorial PCA) that reduces dimensionality of multidimensional data directly from their tensorial representations. Initiated by the pioneer work of Yang et al. , a two dimensional PCA (2DPCA) algorithm is proposed. This algorithm solves for a linear transformation that projects an image to a low dimensional matrix while maximizing the variance measure. It works directly on image matrices, but there is only one linear transformation in the 2-mode. Thus, the image data are projected in the 2-mode (the row mode) only, while the projection in the 1-mode (the column mode) is ignored. A more general algorithm named the generalized PCA (GPCA) is introduced in , which takes into account the spatial correlation between the image pixels in neighborhood and applies double linear transforms to both the left and right sides of input image matrices. However, it is formulated for matrices only. Later, the work of multilinear PCA (MPCA)  generalizes GPCA to work for tensors of any order, where the objective is to find a core tensor (see Section 2.2) that captures most of the original tensorial input variations. In , two robust MPCA (RMPCA) algorithms are proposed, where iterative algorithms are derived on the basis of Lagrange multipliers to deal with sample outliers and intrasample outliers. In , the nonnegative MPCA (NMPCA) extends MPCA to constrain the projection matrices to be nonnegative. NMPCA preserves the nonnegativity of the original tensor samples that is important when the underlying data have physical or psychological interpretation. RMPCA and NMPCA can be considered as an extension of MPCA. Although the above algorithms exploit tensorial structure for subspace learning, they are formulated on the multilinear projection of tensor to tensor only. Moreover, there exists a different projection scheme that projects tensor to vector. The tensor rank-one decomposition (TROD) algorithm introduced in  is one example. This algorithm looks for a second-order projection that projects an image to a low dimensional vector while minimizing a least square (reconstruction) error measure. Nonetheless, the input data are not centered before learning and the work is formulated only for matrices. Later, an uncorrelated MPCA (UMPCA) algorithm is proposed in  and adopted in , which extracts uncorrelated multilinear features through tensor to vector projection while capturing most of the variation in the original data input.
Although tensorial PCA methods achieve better performance than naive PCA, there remain several shortcomings in them. Firstly, the nonconvex optimality criterion and the suboptimal iterative solver, used by tensorial PCA, do not have any guarantee of global optimality of the solution found. Secondly, the objective of most tensorial PCA algorithms is to find the most expressive core tensor for each input tensor. Therefore, the disadvantage arising in this way is that more storage is required to represent the core tensor compared with the scalar representation used in PCA or KPCA. Last but most important, none of the above methods takes into account the nonlinear relationships among the tensorial data. In other words, the tensorial PCA algorithms are multilinear method that neglects the higher-order statistics existed between neighborhood. However, it is well known that the object appearances lie on a nonlinear low-dimensional manifold in applications such as action recognition and face recognition where pose or illumination variations exist. Tensorial PCA methods cannot effectively model such nonlinearity, and this prevents them from higher recognition accuracy.
Motivated by the above drawbacks, in this paper, we propose a Tensorial Kernel Principal Component Analysis (TKPCA) to extend the conventional PCA to its kernelized tensor counterpart. TKPCA aims to overcome the drawbacks in traditional PCA and MPCA and brings together the desirable properties of kernel methods and tensor decompositions (see Section 2.1) for significant performance gain when the data are multidimensional and nonlinear dependencies do exist. Table 1 gives connections and differences with other PCA techniques. To the best of our knowledge, this is the first study that addresses the TKPCA problem.
Our approach begins by formulating TKPCA as an optimization problem. Unlike traditional PCA, the Covariance Matrix cannot be formed directly from tensorial data. We thus derive the TKPCA in a support vector machine (SVM) fashion, which leads to a convex optimization and fits into the primal-dual framework . The primal problem can be solved by dual representation through kernel trick which is based on the Mercer theorem related to positive definite kernels . Subsequently, a kernel function with tensorial inputs (tensorial kernel) can be plugged into the dual solution, which takes the nonlinear structure of tensorial representation into account. Furthermore, we design a novel tensorial kernel based on Grassmann Manifold and the positive definiteness which is also proved.
The benefits of the TKPCA can be summarized as follows. (i)Tensor representation of multidimensional data reduces the SSS problem and the Curse of Dimensionality phenomenon, facilitating a precise classification performance even for low number of training samples and complex data structure. (ii)Kernel method remedies the shortcoming of tensorial PCA in modelling the nonlinear manifold of tensor objects. (iii)TKPCA is equivalent to performing a standard KPCA except that the parameters of kernel function are in natural tensor representations, and in general, KPCA achieves higher compression rate (CR) than tensorial PCA. Therefore, TKPCA offers better CR performance. (iv)TKPCA is insensitive to environmental variations and more robust to noise. This is because the Grassmann based kernel function compares similarity between subspaces that are low dimensional approximation of original data and the approximation can “fill in” the missing data. Moreover, the kernel is derived with the geodesic distance on the Grassmann manifold other than the Euclidean distance. Therefore, the TKPCA is expected to capture the topological structure underlying tensor dataset. (v)TKPCA is a convex optimization problem which means that any local minimum must also be global. Therefore, TKPCA do not suffer from the issue of local minima as tensorial PCA.
The main contributions of this paper include the following. (i)A new TKPCA is introduced for nonlinear dimensionality reduction and feature extraction from tensor object, by encoding the structured information embedded in the tensorial data into the kernels framework. (ii)A novel tensorial kernel function is proposed based on Grassmann kernel which can directly measure the similarity between tensorial inputs. Furthermore, the strict positive definiteness proof of proposed kernel function is given. (iii)A recognition system is developed for action recognition by selecting more discriminative features after TKPCA projection.
The rest of this paper is organized as follows. Section 2 introduces basic notations, kernel methods concepts, and the notion of multilinear projection for dimensionality reduction. In Section 3, the problem of TKPCA is formulated. Then, the detailed algorithm is summarized and discussed in detail. Moreover, a TKPCA-based tensor object recognition is proposed for application of action recognition. Section 4 lists experiments on action recognition and compares performance against state-of-the-art algorithm. We also assess the noise robustness and investigate sensitivity against occlusion and misalignment. Finally, Section 5 summarizes the major findings of this work.
2. Background and Notation
This section firstly reviews the notations and some basic multilinear operations that are necessary in defining our TKPCA. Then, a multilinear projection is introduced for dimensionality reduction and feature extraction from tensor object. We provide the conceptual foundations of kernel methods in the last part.
2.1. Notations and Basic Multilinear Algebra
Following the notation conventions in multilinear algebra, pattern recognition, and adaptive learning literature [26–29], vectors are denoted by lowercase boldface letters, for example, ; matrices by uppercase boldface, for example, ; and tensors by calligraphic letters, for example, . Their elements are denoted with indices in parentheses. Indices are denoted by lowercase letters, spanning the range from 1 to the uppercase letter of the index, for example, . In addressing part of a vector/matrix/tensor, “:” denotes the full range of the respective index, and denotes indices ranging from to . In this paper, only real-valued data are considered. Table 2 summarizes the important symbols used in this paper for quick reference.
An th-order tensor is denoted as , which is addressed by indices , , with each addressing the -mode of .
The -mode vectors of are defined as the dimensional vectors obtained from by varying its index while keeping all the other indices fixed. The mode-matricization of is denoted as where the column vectors of are the -mode vectors of . Figure 2 illustrates the 1-mode (column mode) matricization of a third-order tensor.
The -mode product of a tensor by a matrix , denoted by , is a tensor defined with entries:
The two most commonly used tensor decompositions are Tucker and CANDECOMP/PARAFAC (CP). Both of which can be regarded as higher-order generalizations of the matrix Singular Value Decomposition (SVD). Let denote an th-order tensor; then, Tucker decomposition is defined as follows: where , with denotes the core tensor and . When all are orthonormal and the core tensor is all orthogonal, this model is called High Order Singular Value Decomposition (HOSVD) ; see Figure 3. When all factor matrices have the same number of components and the core tensor is superdiagonal, Tucker model is simplified to CP model. In general, CP model is considered to be a multilinear low rank approximation, while Tucker model is regarded as a multilinear subspace approximation.
The distance between tensors and can be measured by the Frobenius norm , . Although this is a tensor-based measure, it is equivalent to a distance measure of corresponding vector representations. Let be the vector representation (vectorization) of ; then, . This implies that the distance between two tensors equals to the Euclidean distance between their vectorized representations.
2.2. Multilinear Principal Component Analysis
An th-order tensor resides in the tensor (multilinear) space , where are the vector (linear) spaces. For typical image and video tensor objects, although the corresponding tensor space is of high dimensionality, tensor objects typically are embedded in a lower dimensional tensor subspace (or manifold), in analogy to the (vectorized) face image embedding problem where vector image inputs reside in a low-dimensional subspace of the original input space . Thus, it is possible to find a tensor subspace that captures most of the variation in the input tensor objects, and it can be used to extract features for recognition and classification applications. To achieve this objective, let us assume that a set of tensor objects is available for training. Each tensor object has values in a tensor space , where is the -mode dimension of the tensor. The objective of Multilinear Principal Component Analysis of Tensors (MPCA)  is to find a multilinear transformation that maps the original tensor space into a tensor subspace , with , that is, , such that captures most of the variations observed in the original tensor objects, assuming that these variations are measured by the total tensor scatter: , where is the empirical mean. In other words, the MPCA objective is the determination of the projection matrices that maximize the total tensor scatter.
However, there is no known optimal solution which allows for the simultaneous optimization of the projection matrices. Instead of global optimization,  propose a suboptimal iterative solution.
2.3. Kernel Methods
Kernel methods  have gained considerable popularity during the last few decades, providing attractive solutions to a variety of problems. The strategy adopted is to embed the data into a space where the patterns can be discovered as linear relations. This will be done in a modular fashion: the first module that performs a nonlinear mapping into RKHS or feature space implicitly through a kernel function and the second module that is a specific learning algorithm in a dual form designed to discover linear relations in the feature space. The basic assumption is that the obtained feature space reflects nonlinear structure of input data. Hence, the only information that is required is the similarity measure in the feature space, which leads us to avoid explicitly having to know the nonlinear mapping function. Instead, the similarity measure of two data points in the feature space, that is, an inner product, should be appropriately defined by a reproducing kernel formulated in the input space, which is called a kernel trick.
The main ingredients of kernel methods are elucidated through kernel PCA, given a set of centered observations independent and identically distributed (i.i.d.) according to the generator . PCA optimally chooses a subspace that captures most of the variance of the data. The first principal component is defined as , where the weight can be estimated as the leading eigenvector of sample covariance matrix , satisfying which implies that can be also expressed as a linear combination of the training samples, that is, . Thus, the dual representation of PCA is with , referred to Kernel Matrix that consist of inner products between all pairs of training samples. After estimation of by diagonalizing , the first principal component of test sample is obtained by . Note that, for the dual representation of PCA, all information from training samples is given by the Kernel Matrix . This matrix acts as an information bottleneck, as all the information is available to a kernel algorithm.
let us consider an embedding or map , where refer to feature space which could have an arbitrarily large dimensionality. The pairwise inner products in feature space can be computed efficiently directly from the original data items using a kernel function. Hence, the Kernel Matrix can be computed without explicit knowledge of . Finally, the first principle component of test sample embedded into feature space is computed by .
3. Kernel Principal Component Analysis of Tensor Objects
In this section, we propose a novel unsupervised learning method, called Tensorial Kernel Principal Component Analysis (TKPCA), for nonlinear dimensionality reduction and feature extraction from tensor objects. Unlike conventional PCA, there is no closed-form formula for Covariance Matrix of tensorial data. Therefore, our approach begins by formulating TKPCA as an optimization problem. Then, we develop a kernel function that can directly take tensorial data as parameters other than vectorial ones. Moreover, the detailed algorithm is summarized and discussed. A TKPCA-based tensor object recognition is also proposed for application of action recognition.
3.1. TKPCA as an Optimization Problem
As we have seen in Section 2.3, the KPCA is classically derived by constructing the Covariance Matrix explicitly. However, in statistics and probability theory, the Covariance Matrix is a matrix of covariance between elements of a random vector. This means that, before feeding tensors into Covariance Matrix, we have to transform them into vectors firstly, which conflicts with our purpose of this paper. To solve this difficulty, we derive TKPCA as an optimization problem. In this way, the explicit construction of Covariance Matrix is bypassed. Note that there is a number of other ways to derive the PCA , and a Generalized Covariance Matrix (GCM)  concept also provides an alternative solution from other perspective.
Given is a set of centered tensorial observations , i.i.d., according to the generator and a nonlinear mapping , where refer to a space of multilinear functions corresponding the infinite dimensional tensors which could have an arbitrarily large dimensionality (see Section 3.2), to the objective is to optimally choose a subspace that captures most of the variance from tensorial samples. The starting point is to define projection onto weight as
Recall that, while least squares support vector machine classifiers (LS-SVM) have a natural link with kernel Fisher discriminant analysis (minimizing the within class scatter around targets and ), for TKPCA, we can take the interpretation of a one-class modeling problem with zero target value around which one maximizes the variance. Let us now reformulate the TKPCA problem as follows: where zero is considered as a single target value. For Kernel Fisher discriminant analysis one aims at minimizing the within scatter around the targets, while for TKPCA analysis one is interested in finding the direction(s) for which the variance is maximal. This interpretation leads to the following primal optimization problem where . Equation (6) maximizes the empirical variance of around value 0 while keeping the norm of the corresponding parameter small by the regularization term . one can also include a bias term; see .
The Lagrangian corresponding to (6) is with conditions for optimality given by
By eliminating the primal variables and , one obtains , for . This is an eigenvalue decomposition that can be present in matrix formulation as where , , and is the centered Kernel Matrix defined entry-wise by where .
The optimal solution to the formulated problem is obtained by selecting the eigenvectors corresponding to the first largest eigenvalues, where is a slight abuse of the notation which, however, simplifies the description. For test sample , the first projection becomes where is the first eigenvector of Kernel Matrix (9). For computing the kernel functions in (10) and (11), we present a tensorial kernel function in next section, which can directly take tensorial data as parameters other than vectorial ones.
3.2. RKHS Induced by Multilinear Functions
Kernel should be constructed from input space in a way that the high-dimensional feature space implicated by kernel function reflects the underlying structure of data in original input space. Although a number of kernels have been designed for tensorial objects, few approaches exploit the underlying structure of tensorial space. Recently, Signoretto et al.  generalized RKHS to adapt to multilinear functions, which allows a reproducing kernel to exploit algebraic geometry of tensorial space. In principle, the idea of Signoretto et al. is to propose a tensorial kernel that can directly take tensorial data as parameters other than vectorial ones. After that, the tensorial kernel is plugged into prime-dual framework to learn the structural information embodied in the tensors.
Let RKHS be equipped with some innerproduct.
A bounded (continuous) multilinear function on RKHSs denoted by is said to be Hilbert-Schmidt if it satisfies some constraints. The ensemble of such well behaved Hilbert-Schmidt functions equipped with the inner product forms a Hilbert Space denoted by HSF, which is a space of multilinear functions corresponding the infinite dimensional tensors. Using boldface denoting the map from tensor object to multilinear function space, we have and define by
According to the theory of , for N-order tensors , , a kernel function, exploiting structural properties possessed by the given tensorial representations, can be stated as product kernel: where denotes tensorial kernel, is th factor kernel of tensorial kernel, and and is the mode- matricization of and , respectively. Equation (13) implies that the similarity measure induced by the kernel function between two tensor objects can be represented as product of factor kernels which measure similarity between mode- matricization of two tensors.
3.3. Factor Kernel on Grassmann Manifold
The factor kernel represents a similarity measure between two matrices obtained by mode- matricization of two tensors. In , Signoretto et al. adopt Chordal distance as metric to measure such similarity that lead to an ad hoc approach to obtain tensorial kernel. This inconsistency can cause complications and weak guarantees. In our approach, the factor kernel is build from Grassmann kernel by a number of simple operations, resulting in a simpler and better-understood formulation. Note that our factor kernel differs from the result of Signoretto et al.
The fixed dimensional linear subspaces form a non-Euclidean and curved Riemannian manifold known as Grassmann manifold, allowing the subspaces to be represented as points on it. In TKPCA, such low dimensional subspaces is used to approximate the mode- matricization of tensors. The benefits of using subspaces are two-fold: (a) comparing two subspaces is cheaper than comparing two matricizations of tensor directly when them are very large, for example, too many frames per video, and (b) it is more robust to noise since the subspace can “fill in” the missing pictures.
Given a mode- matricizations of rank , we can represent it as a subspace (and hence as a point on a Grassmann manifold) through any orthogonalisation procedure like SVD. More specifically, let , where the orthonormal matrix represents an optimised subspace of order (in the mean square sense) for and can be seen as a point on Grassmann manifold , which is the set of -dimensional linear subspaces of the . The Riemannian distance between two subspaces is the length of the shortest geodesic connecting the two points on the Grassmann manifold. Among many different distances, a few of them can be induced to form a positive definite kernel, and the Projection metric is the one.
The Projection metric can be understood by associating a point span with its projection matrix by an embedding: The image is the set of rank orthogonal projection matrices. This map is in fact an isometric embedding , and the projection metric is simply a Euclidean distance in . The corresponding innerproduct of the space is , and therefore, the projection kernel is a Grassmann kernel.
Theorem 1. Let adjustable parameter ; the function that exploit metric on Grassmann manifolds is positive definite kernel function.
Proof. We first verify that the Projection kernel (15) is positive definite kernel function.
The positive definiteness of Projection kernel follows from the properties of the Frobenius norm. For all , , and , , we have
Next, we use Projection kernel as a footstone to build the more complex factor kernel.
The exponential function can be arbitrarily closely approximated by polynomials with positive coefficients and hence is a limit of kernels. Since the positive definiteness property is closed under taking pointwise limits, is a positive definite kernel function for .
Assuming kernel (18) corresponds to a feature map , normalising this kernel corresponds to the feature map Hence, we can express the normalised kernel in terms of as follows: where the is a valid kernel because it was derived from the feature map (19).
Now, we can normalise the kernel (18) to obtain (16):
Finally, substituting (16) in (13), the tensorial kernel based on projection kernel can be represented as Furthermore, the positive definiteness of (22) comes from the closure properties of kernels: a product of valid kernels is still a kernel .
We are now ready to summarize the basic steps for performing a TKPCA with the tensorial kernel, given a set of observation , i.i.d., according to the generator and . For test sample , the pseudo code is summarized in Algorithm 1.
3.4. Properties of TKPCA
Before we proceed to the next section, the following observation is essential.
TKPCA can be seen to arise from a space of multilinear functionals which are, loosely speaking, infinite dimensional tensors. Therefore, TKPCA is equivalent to performing a standard KPCA in the RKHS of multilinear functions except that the parameters of kernel function are in natural tensor representations. Furthermore, it can be shown that all the properties associated with the KPCA are still valid for the TKPCA. That is, (a) the dominant eigenvector directions optimally retain most of the variance, (b) the MSE (mean square error) in approximating a point in RKHS in terms of the dominant eigenvectors is minimal, with respect to any other directions, (c) projections onto the eigenvectors are uncorrelated, and (d) the entropy (under Gaussian assumption) is maximized.
TKPCA Algorithm has the same computational complexity as KPCA provided that the evaluation of kernel function is of complexity . The most time-consuming step is eigondecomposition of with complexity . When taking into account the evaluation of kernel function, the complexity of computing by any standard SVD algorithm requires operations. Note that the computational complexity of TKPCA does not grow with the dimensionality of the feature space that we are implicitly working in.
TKPCA compresses each tensor sample of size to scalars, where denotes the first largest eigenvalues, while are needed to represent a tensor object in the tensorial PCA solutions. Thus, the compression ratio (CR) is a major advantage that TKPCA enjoys over other solutions, such as MPCA , 2DPCA , and GPCA .
There are several reasons behind the motivation of deriving the factor kernel with Gaussian kernel. Firstly, the Gaussian kernel is the most widely used nonlinear kernel and has been extensively studied in neighbouring fields. Secondly, there is no theoretical method for determining a kernel function. In the absence of expert knowledge, the Gaussian kernel makes a good default nonlinear kernel. Thirdly, the isotropic property of Gaussian kernel endows final tensional kernel with intrinsic rotation-invariant, which is a desire feature that can be used in applications such as face recognition and action recognition.
Just like choosing kernel, there is no prior knowledge for setting the parameter which controls the flexibility of the kernel. Generally speaking, small values of allow classifiers to fit any labels, hence risking overfitting. In such cases, the Kernel Matrix becomes close to the identity matrix. On the other hand, large values of gradually reduce the kernel to a constant function, making it impossible to learn any nontrivial classifier. The feature space has infinite-dimension for every value of , but for large values, the weight decays very fast on the higher-order features. In other words, although the rank of the kernel matrix will be full, for all practical purposes, the data lie in a low-dimensional subspace of the feature space. For a full coverage of choosing kernel and parameters, please refer [37–39].
The PCA and Linear Discriminant Analysis (LDA) are two of the most commonly used subspace techniques. PCA produces an expressive subspace for object representation, while LDA produces a discriminating subspace. For the purpose of classification, LDA is generally believed to be superior to PCA when enough training samples per class are available . However, when the number of available training samples per class is small, the situation considered in this paper, experimental analysis indicates that PCA outperforms LDA [41, 42].
3.5. TKPCA-Based Tensor Object Recognition
After a projection by TKPCA, a new feature vector is obtained for each tensor object. The classification tasks on tensor objects are reduced to classification tasks in vector spaces. More precisely, for any query tensor object , the projection on most dominant eigenvectors is obtained. Similarly, the gallery set containing data samples with labels is also represented by vectors. Then, any classification methods can be employed to label query.
However, as we have seen above, TKPCA maximizes not only the within-class variation but also the between-class variation. This is due to the fact that the TKPCA works as an unsupervised technique without considering the class label. To overcome this limitation, a feature selection strategy is proposed to select eigenvectors for a more discriminative subspace. The strategy works according to the criterion that is based on the maximization of the following ratio : where is the number of classes, is the number of samples in the gallery set, is the number of samples for class , and is the class label for the th gallery sample . is the feature vector of in the projected nonlinear subspace. The mean feature vector , and class mean feature vector . For the eigenvector selection, only the first most discriminative components of are kept for classification, with determined empirically or cross-validated.
Upon the extraction of the proper set of features, a classifier such as Nearest Neighbor Classifier, Bayesian Classifier, Neural Network, and Support Vector Machine can be applied to recognize the objects. Here, we use a Nearest Neighbor Classifier for classification. The distance between two arbitrary feature vectors is defined by , where the norm denotes the Euclidean distance between the two feature vectors. Such a simple classifier is selected to study the performance mainly contributed by the TKPCA-based feature extraction algorithm although better classifiers can be investigated.
This section illustrates the efficacy of TKPCA in tensor object recognition, by applying it to the emerging application of Action Recognition  and comparing its performance against state-of-the-art algorithm. We also assess the noise robustness of the proposed approach and investigate sensitivity against occlusion and misalignment.
The action recognition is the process of labeling videos containing human motion with action labels. We will test our method on two action datasets: the KTH human motion dataset  and the Ballet dataset . The proposed TKPCA-Based Tensor Object Recognition in Section 3.4 treats each action video as a 3rd-order tensor sample with the spatial row space, column space, and the time space accounting for the 3 modes. The whole dataset will be a 4th-order tensor, with the addition of the sample space.
4.1. KTH Dataset
The KTH human motion data set  contains six types of human actions walking, jogging, running, boxing, hand waving, and hand clapping performed several times by 25 subjects in four scenarios: outdoors, outdoors with scale variation, outdoors with different clothes, and indoors. See Figure 4 for sample frames. We first run an automatic pre processing step to track and stabilise the video sequences so that all of the figures appear in the center of the field of view. All videos were resized to . In order to have a standard length of 32 frames per video, the middle 32 frames were used.
As this paper focuses on kernelizing Principal Component Analysis for tensor objects, the convectional Kernel Principal Component Analysis using a Gaussian kernel performed on vectorization of tensor should be compared with our new approach TKPCA first. However, for each action video, the dimensionality of vectorized tensor is up to 32768 which prevents KPCA from computing CPs efficiently. Thus, a reduced-order model  is adopted in KPCA. The kernel parameter is optimized by methods of cross-validation for both TKPCA and KPCA. The test samples are projected onto the feature subspace to obtain the discriminative features as shown in Figure 5. Observe that TKPCA outperforms KPCA with respect to the discriminative ability, and six classes are well separated even in two dimensional space.
In order to test the TKPCA’s ability to capture nonlinear structure of input data, we conduct another experiment to compare TKPCA with the multilinear PCA (MPCA) . Figure 6 illustrates the confusion matrices of TKPCA and MPCA. The confusion matrix is a specific table layout to see if the recognizer is confusing two classes in which rows correspond to the ground truth, and columns correspond to the classification results. It can be seen that TKPCA achieves average accuracy of 98%, while MPCA achieves 84%, and the confusion of TKPCA only appears among boxing, hand clapping, and hand waving, which is consistent with our intuition that these actions are easily confused. The superiority of TKPCA over MPCA indicates that nonlinear structures of video volumes captured by tensorial kernel significantly improve the discriminative performance.
Next, the proposed TKPCA algorithms are compared against the state-of-the-art action recognition algorithms. We compared TKPCA against spatial-temporal words (STW)  and bag of words model in conjunction with multiple kernel learning (BoW-MKL) [49, 50]. In STW, a video sequence is represented by a set of spatial-temporal words, extracted from space-time interest points. The algorithm then utilises latent topic models such as the probabilistic latent semantic analysis  to learn the probability distributions of the spatial-temporal words. BoW-MKL exploits global spatial-temporal distribution of interest points by extracting holistic features from clouds of interest points accumulated over multiple temporal scales. Then, extracted features are fused using MKL. We also compared TKPCA against Tensor Canonical Correlation Analysis (TCCA)  and Discriminative Canonical Correlation Analysis (DCCA) . TCCA is an extension of canonical correlation analysis (a principled tool to inspect linear relations between two sets of vectors) to tensor spaces and measures video-to-video tensors in a way similar to our method. DCCA implements a linear discriminant function that maximizes the canonical correlations of within-class sets and minimizes the canonical correlations of between-class sets. To facilitate comparison with prior work, we followed the leave-one-out (LOO) cross validation protocol used in STW  and TCCA .
Looking at the results in Table 3, the first thing to note is that no algorithm is universally the best. In terms of top classification rates, STW, BoW-MKL, and our method are, respectively, best for two of the six actions. However, when our method is better, it is typically by a larger amount, and this is reflected in the higher overall average classification rate of 98% versus 95% for STW and 90% for BoW-MKL.
4.2. Ballet Dataset
The Ballet dataset contains 44 real video sequences of 8 actions collected from an instructional ballet DVD. The dataset consists of 8 complex motion patterns performed by three subjects. The actions include “left-to-right hand opening”, “right-to-left hand opening”, “standing hand opening”, “leg swinging”, “jumping”, “turning”, “hopping”, and “standing still”. Figure 7 shows samples. This dataset has a uniform background and fair illumination and therefore minimises the effect of variations in illumination and background. Yet, at the same time, it is very challenging due to the significant within-class variations in terms of speed, spatial and temporal scale, clothing, and movement. Available samples of each action were randomly split into training and testing sets (the number of actions in both training and testing sets were fairly even). The process of random splitting was repeated ten times, and the average classification accuracy was record. All video sequences were uniformly resized to . In order to have a standard length of 50 frames per video sequences, the middle 50 frames were used.
For the sake of comparison between tensor based methods, TKPCA algorithm is contrasted with the Tensor as a point on a Product Manifold (TPM)  and Tensor Canonical Correlation Analysis (TCCA) . TPM maps a video tensor to a point on a product manifold and the geodesic distance on a product manifold, is computed for tensor classification. Table 4 shows that the TKPCA algorithm obtains the highest accuracy and outperforms state-of-the-art tensor based methods of TPM and TCCA significantly. The confusion matrix of the proposed TKPCA method is shown in Figure 8. Our performance on this dataset is not as good as the previous ones, which might be because of the complexity of actions in this dataset and significant within-class variations.
4.3. Sensitivity Analysis
4.3.1. Sensitivity to Noise
In addition to the above, to assert robustness to noise we add two types of noise, to the clean Ballet dataset. We compare TKPCA, TPM and TCCA in case of additive Gaussian noise and sparse noise spikes. The noise process in the case of additive Gaussian noise is , added to th frame with , the standard deviation of the frames and . In case of spike noise, we randomly add values drawn from the normal process, , to randomly choose time points of each video sequences. The number of noisy time points is no more than 5% of the length of the time-series, spread uniformly over the full time-span. Figure 9 depicts TKPCA, TPM, and TCCA recognition accuracies in presence of different levels of noise. Figure 9 indicates that TKPCA outperforms others, the advantage of which is becoming obvious as the noise level grows. This could be due to our underlying kernel function builded on the Grassmann kernel which is more robust to noise since the subspace points on Grassmann Manifold can fill in the missing pictures.
4.3.2. Sensitivity to Occlusion
An important aspect of the proposed approach relates to the sensitivity against occlusion. We assess the performance at various levels of occlusion in Ballet dataset, from 1.56% up to 45%, by replacing a set of randomly located square blocks of size in the query frames with a blank block. The location of occlusion is randomly chosen for each query frame and is unknown to the system. The training frames do not contain occlusions. Figure 10(a) shows the recognition rates of TKPCA, TPM, and TCCA. The proposed TKPCA method significantly outperforms the other two methods in almost all levels of occlusion. Up to 40 percent occlusion, the performance of TKPCA has dropped roughly by 20 percentage points. The proposed TKPCA method has better captured the nonlinear intrinsic geometry and is hence more robust to the missing parts.
4.3.3. Sensitivity to Misalignment
The temporal and spatial misalignment could deteriorate the performance of an action recogniser drastically. In this part, we only consider spatial misalignment and assess and contrast the sensitivity of TKPCA algorithm as compared to TPM and TCCA on Ballet dataset. To this end, we have introduced random displacements to the frames of query videos and measured the accuracy for various amounts of displacements. Figure 10(a) shows the result. The horizontal axis here demonstrates the degree of misalignment. Figure 10(a) reveals that all studied algorithms are sensitive to misalignment. The larger the displacement, the lower would be the recognition accuracy. This is mainly due to the tensorial representation of video highly depending on the relationships that are fragile to misalignment.
In this paper, we present a new TKPCA algorithm for dimensionality reduction and feature extraction from tensor objects, such as 2D/3D images and video sequences. TKPCA determines a subspace of lower dimensionality that captures most of the nonlinear variation present in the original tensorial representation. A novel tensorial kernel, which can directly measure the similarity between tensorial inputs, is also proposed based on Grassmann kernel to capture the topological structure underlying tensor dataset. Furthermore, the strict positive definiteness proof of proposed kernel function is given. Experimental results show that the TKPCA remedies the shortcoming of tensorial PCA in modelling the nonlinear manifold of tensor objects and reduces the SSS and Curse of Dimensionality problem. Furthermore, it achieves more compression rate and is robust to both noise and occlusion. To the best of our knowledge, the problem of TKPCA has not been considered in the existing literatures.
Finally, there are still some aspects of TKPCA that deserve further study. For example, TKPCA is essentially batch optimization problem, with all training tensor data being available in advance. Such assumption is unsuitable for large-scale data sets and thus unadapted for real-time applications . Therefore, for applications like video surveillance  or social networks analysis , an online scheme of TKPCA is expected.
Conflict of Interests
The authors declare no conflict of interests.
- J. Ye, R. Janardan, and Q. Li, “Gpca: an efficient dimension reduction scheme for image compression and retrieval,” in Proceedings of the 10th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pp. 354–363, August 2004.
- D. Zhang and Z.-H. Zhou, “(2D)2 PCA: Two-directional two-dimensional PCA for efficient face representation and recognition,” Neurocomputing, vol. 69, no. 1–3, pp. 224–231, 2005.
- J. Yang, D. Zhang, A. F. Frangi, and J.-Y. Yang, “Two-dimensional PCA: a new approach to appearance-based face representation and recognition,” IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 26, no. 1, pp. 131–137, 2004.
- C. Ding and J. Ye, “2-dimensional singular value decomposition for 2d maps and images,” in Proceedings of the SIAM International Conference on Data Mining, pp. 32–43, 2005.
- F. Cong, I. Kalyakin, A.-H. Phan et al., “Benefits of multi-domain feature of mismatch negativity extracted by non-negative tensor factorization from eeg collected by low-density array,” International Journal of Neural Systems, vol. 22, no. 6, 2012.
- M. Kwon, J. S. Kang, and M. Lee, “Emotion classification in movie clips based on 3d fuzzy gist and eeg signal analysis,” in Proceedings of the International WinterWorkshop on Brain-Computer Interface (BCI '13), pp. 67–68, 2013.
- J. Ye, T. Li, T. Xiong, and R. Janardan, “Using uncorrelated discriminant analysis for tissue classification with gene expression data,” IEEE/ACM Transactions on Computational Biology and Bioinformatics, vol. 1, no. 4, pp. 181–190, 2004.
- B. Bosch, E. M. Arenaza-Urquijo, L. Rami et al., “Multiple DTI index analysis in normal aging, amnestic MCI and AD. Relationship with neuropsychological performance,” Neurobiology of Aging, vol. 33, no. 1, pp. 61–74, 2012.
- N. Renard and S. Bourennane, “Dimensionality reduction based on tensor modeling for classification methods,” IEEE Transactions on Geoscience and Remote Sensing, vol. 47, no. 4, pp. 1123–1131, 2009.
- M. W. Whittle, Gait Analysis: An Introduction, Butterworth-Heinemann, 2006.
- T.-K. Kim and R. Cipolla, “Canonical correlation analysis of video volume tensors for action categorization and detection,” IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 31, no. 8, pp. 1415–1428, 2009.
- Y. M. Lui, J. R. Beveridge, and M. Kirby, “Action classification on product manifolds,” in Proceedings of the IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR '10), pp. 833–839, June 2010.
- J. Sun, D. Tao, S. Papadimitriou, P. S. Yu, and C. Faloutsos, “Incremental tensor analysis: theory and applications,” ACM Transactions on Knowledge Discovery from Data, vol. 2, no. 3, article 11, 2008.
- I. Jolliffe, Principal Component Analysis, Wiley Online Library, 2005.
- B. Schölkopf, A. Smola, and K.-R. Müller, “Nonlinear component analysis as a kernel eigenvalue problem,” Neural Computation, vol. 10, no. 5, pp. 1299–1319, 1998.
- C. M. Bishop and N. M. Nasrabadi, Pattern Recognition and Machine Learning, vol. 1, Springer, New York, NY, USA, 2006.
- X. He, D. Cai, and P. Niyogi, “Tensor subspace analysis,” in Advances in Neural Information Processing Systems, pp. 499–506, 2005.
- D. Tao, X. Li, W. Hu, S. Maybank, and X. Wu, “Supervised tensor learning,” in Proceedings of the 5th IEEE International Conference on Data Mining (ICDM '05), pp. 450–457, November 2005.
- H. Lu, K. N. Plataniotis, and A. N. Venetsanopoulos, “MPCA: Multilinear principal component analysis of tensor objects,” IEEE Transactions on Neural Networks, vol. 19, no. 1, pp. 18–39, 2008.
- K. Inoue, K. Hara, and K. Urahama, “Robust multilinear principal component analysis,” in Proceedings of the 12th International Conference on Computer Vision (ICCV '09), pp. 591–597, October 2009.
- Y. Panagakis, C. Kotropoulos, and G. R. Arce, “Non-negative multilinear principal component analysis of auditory temporal modulations for music genre classification,” IEEE Transactions on Audio, Speech and Language Processing, vol. 18, no. 3, pp. 576–588, 2010.
- A. Shashua and A. Levin, “Linear image coding for regression and classification using the tensor-rank principle,” in Proceedings of the IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR '01), vol. 1, pp. I42–I49, December 2001.
- D. Li, K. Huang, H. Zhang, and L. Zhang, “Umpca based feature extraction for ecg,” in Advances in Neural Networks, pp. 383–390, Springer, 2013.
- H. Lu, K. N. K. Plataniotis, and A. N. Venetsanopoulos, “Uncorrelated multilinear principal component analysis for unsupervised multilinear subspace learning,” IEEE transactions on Neural Networks, vol. 20, no. 11, pp. 1820–1836, 2009.
- J. Shawe-Taylor and N. Cristianini, Kernel Methods for Pattern Analysis, Cambridge university press, 2004.
- E. Kofidis and P. A. Regalia, “On the best rank-1 approximation of higher-order supersymmetric tensors,” SIAM Journal on Matrix Analysis and Applications, vol. 23, no. 3, pp. 863–884, 2002.
- L. de Lathauwer, B. de Moor, and J. Vandewalle, “A multilinear singular value decomposition,” SIAM Journal on Matrix Analysis and Applications, vol. 21, no. 4, pp. 1253–1278, 2000.
- B. W. Bader and T. G. Kolda, “Algorithm 862: Matlab tensor classes for fast algorithm prototyping,” ACM Transactions on Mathematical Software, vol. 32, no. 4, pp. 635–653, 2006.
- M. Ding, Z. Tian, and H. Xu, “Adaptive kernel principal component analysis,” Signal Processing, vol. 90, no. 5, pp. 1542–1553, 2010.
- Q. Zhao, C. F. Caiafa, D. P. Mandic et al., “Multilinear subspace regression: an orthogonal tensor decomposition approach,” in Advances in Neural Information Processing Systems, pp. 1269–1277, 2011.
- S. Yan, D. Xu, Q. Yang, L. Zhang, X. Tang, and H.-J. Zhang, “Multilinear discriminant analysis for face recognition,” IEEE Transactions on Image Processing, vol. 16, no. 1, pp. 212–220, 2007.
- S. Shan, B. Cao, Y. Su, L. Qing, X. Chen, and W. Gao, “Unified principal component analysis with generalized covariance matrix for face recognition,” in Proceedings of the 26th IEEE Conference on Computer Vision and Pattern Recognition (CVPR '08), pp. 1–7, June 2008.
- J. A. K. Suykens, T. van Gestel, J. Vandewalle, and B. de Moor, “A support vector machine formulation to PCA analysis and its kernel version,” IEEE Transactions on Neural Networks, vol. 14, no. 2, pp. 447–450, 2003.
- M. Signoretto, L. de Lathauwer, and J. A. K. Suykens, “A kernel-based framework to tensorial data analysis,” Neural Networks, vol. 24, no. 8, pp. 861–874, 2011.
- Y. Chikuse, Statistics on Special Manifolds, vol. 174, Springer, 2003.
- S. Theodoridis, K. Nos, and K. M. Bas, Pattern Recognition, Elsevier, 4th edition, 2009.
- G. C. Cawley and N. L. C. Talbot, “Preventing over-fitting during model selection via bayesian regularisation of the hyper-parameters,” The Journal of Machine Learning Research, vol. 8, pp. 841–861, 2007.
- G. C. Cawley and N. L. C. Talbot, “On over-fitting in model selection and subsequent selection bias in performance evaluation,” The Journal of Machine Learning Research, vol. 99, pp. 2079–2107, 2010.
- C. Lampert, Kernel Methods in Computer Vision, vol. 4, Now Publishers, 2009.
- J. Lu, K. N. Plataniotis, and A. N. Venetsanopoulos, “Face recognition using LDA-based algorithms,” IEEE Transactions on Neural Networks, vol. 14, no. 1, pp. 195–200, 2003.
- A. M. Martinez and A. C. Kak, “PCA versus LDA,” IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 23, no. 2, pp. 228–233, 2001.
- G. Shakhnarovich and B. Moghaddam, “Face recognition in subspaces,” in Handbook of Face Recognition, pp. 19–49, Springer, 2011.
- J. Wang, K. N. Plataniotis, and A. N. Venetsanopoulos, “Selecting discriminant eigenfaces for face recognition,” Pattern Recognition Letters, vol. 26, no. 10, pp. 1470–1482, 2005.
- R. Poppe, “A survey on vision-based human action recognition,” Image and Vision Computing, vol. 28, no. 6, pp. 976–990, 2010.
- C. Schüldt, I. Laptev, and B. Caputo, “Recognizing human actions: a local SVM approach,” in Proceedings of the 17th International Conference on Pattern Recognition (ICPR '04), pp. 32–36, August 2004.
- Y. Wang and G. Mori, “Human action recognition by semilatent topic models,” IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 31, no. 10, pp. 1762–1774, 2009.
- P. Honeine, “Online kernel principal component analysis: a reduced-order model,” IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 34, no. 9, pp. 1814–1826, 2012.
- J. C. Niebles, H. Wang, and L. Fei-Fei, “Unsupervised learning of human action categories using spatial-temporal words,” International Journal of Computer Vision, vol. 79, no. 3, pp. 299–318, 2008.
- F. R. Bach, G. R. G. Lanckriet, and M. I. Jordan, “Multiple kernel learning, conic duality, and the SMO algorithm,” in Proceedings of the 21st International Conference on Machine Learning, p. 6, July 2004.
- M. Bregonzio, T. Xiang, and S. Gong, “Fusing appearance and distribution information of interest points for action recognition,” Pattern Recognition, vol. 45, no. 3, pp. 1220–1234, 2012.
- T. Hofmann, “Probabilistic latent semantic indexing,” in Proceedings of the 22nd Annual International ACM SIGIR Conference on Research and Development in Information Retrieval, pp. 50–57, 1999.
- D. A. Ross, J. Lim, R.-S. Lin, and M.-H. Yang, “Incremental learning for robust visual tracking,” International Journal of Computer Vision, vol. 77, no. 1–3, pp. 125–141, 2008.
- J. Wen, X. Gao, Y. Yuan, D. Tao, and J. Li, “Incremental tensor biased discriminant analysis: a new color-based visual tracking method,” Neurocomputing, vol. 73, no. 4–6, pp. 827–839, 2010.
Copyright © 2013 Cong Liu et al. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.