Principal component analysis with tensor train subspace

Wenqi Wang, Vaneet Aggarwal, Shuchin Aeron

TL;DR

The paper introduces TT-PCA, a novel dimensionality reduction algorithm that leverages the Tensor Train (TT) decomposition to represent data subspaces. By treating multidimensional data (like images) as tensors rather than flat vectors, TT-PCA achieves superior noise robustness, significantly lower storage requirements, and higher classification accuracy than standard PCA or Tucker-PCA, especially at high compression ratios.

What Problem Does This Paper Address?

In machine learning and computer vision, we often need to find a low-dimensional "subspace" that captures the essential features of high-dimensional data. While Principal Component Analysis (PCA) is the gold standard, it has two major flaws when dealing with multidimensional data (e.g., color videos or medical scans):

  1. Loss of Structure: PCA flattens data into 1D vectors, destroying the inherent spatial and spectral correlations.
  2. The Curse of Dimensionality: While "Tucker-PCA" (T-PCA) attempts to preserve tensor structure, its storage requirements grow exponentially as the number of dimensions increases.

The authors address these gaps by proposing a subspace model based on the Tensor Train format, which breaks a large multidimensional array into a "train" of smaller, low-rank interconnected tensors. This allows for a highly efficient representation that scales linearly, rather than exponentially, with the number of dimensions.

Methods

The core contribution is the TT-PCA algorithm, which estimates a structured "Tensor Train Subspace" from a given dataset.

  • Subspace Definition: Instead of a single projection matrix, the subspace is defined by a sequence of "Matrix Product States" (MPS).
  • Successive SVD Approach: Unlike many tensor methods that rely on iterative "alternating minimization" (which can be slow and prone to local minima), the authors use a successive Singular Value Decomposition (SVD). The algorithm processes the tensor mode-by-mode (left to right), thresholding singular values at each step to determine the optimal "TT-rank."
  • Left-Orthogonality: The algorithm ensures that the resulting tensor components are left-orthogonal, which simplifies the projection of new data points onto the subspace for tasks like denoising or classification.
  • Classification: For multi-class problems, the authors perform TT-PCA for each class and assign new samples to the class whose subspace is "closest" to the sample in terms of Euclidean distance.

Datasets

The authors evaluate their method primarily on the Extended YaleFace Dataset B.

  • Details: This dataset contains images of 38 individuals under 64 different lighting conditions.
  • Preprocessing: Each $48 \times 42$ image is reshaped into a 4th-order tensor of size $6 \times 8 \times 6 \times 7$ to validate the tensor-based approach.
  • Noise: Gaussian noise was added to test the robustness of the subspace estimation.

Key Insights and Ideas

  • Linear Scaling: The most significant "aha" moment is the storage complexity. While Tucker-PCA is $O(r^n)$, TT-PCA is $O(n \cdot d^{1/n} \cdot r^2)$. This makes it feasible to handle very high-order tensors that would crash a standard T-PCA implementation.
  • Structural Filtering: By enforcing a low-rank structure across the "train" of tensors, TT-PCA acts as a powerful structural filter. It ignores high-frequency noise that doesn't align with the multi-linear correlations of the data.
  • Feature Extraction at High Compression: TT-PCA maintains recognizable facial features (the "dominant tensor-face") even at extremely high compression ratios where standard PCA results in unrecognizable blobs.

Key Results

  • Denoising Performance: In head-to-head tests, TT-PCA achieved a 15.31% reconstruction error at a compression ratio of 0.069. In contrast, standard PCA and T-PCA had significantly higher errors (often >20%) at similar or even lower compression levels.
  • Classification Accuracy: TT-PCA consistently outperformed the baselines. For instance, with a training size of 10 samples per person ($f=10$), TT-PCA achieved a classification error of 0.1077, compared to 0.2729 for standard PCA.
  • Computational Efficiency: The paper demonstrates that TT-PCA has the lowest order of subspace computation complexity among the three methods compared (see Table I).

Limitations and Future Work

  • Non-Convexity: The underlying optimization problem is non-convex. While the successive SVD approach is efficient and effective, it is a heuristic that may not always find the global optimum.
  • Rank/Threshold Selection: The algorithm relies on a threshold parameter ($\tau$) to determine the TT-rank. Automating the selection of this threshold for different data types remains an area for improvement.
  • Prediction Overhead: While TT-PCA is faster to train and more efficient to store, the "Classification Complexity" (making a prediction on a new sample) is slightly higher than standard PCA because it requires tensor-to-subspace distance calculations.
  • Future Directions: The authors suggest that this model could be extended to other datasets like MNIST and potentially applied to real-time video processing where multidimensional structure is paramount.

Summary updated

BibTeX
@article{wang2019principal,
  author = {Wenqi Wang and Vaneet Aggarwal and Shuchin Aeron},
  title = {{Principal component analysis with tensor train subspace}},
  journal = {Pattern Recognition Letters},
  year = {2019},
  doi = {10.1016/j.patrec.2019.02.024},
}
Figure