Sample, computation vs storage tradeoffs for classification using tensor subspace models

Mohammadhossein Chaghazardi, Shuchin AeronarXiv 2017

Abstract

In this paper, we exhibit the tradeoffs between the (training) sample, computation and storage complexity for the problem of supervised classification using signal subspace estimation. Our main tool is the use of tensor subspaces, i.e. subspaces with a Kronecker structure, for embedding the data into lower dimensions. Among the subspaces with a Kronecker structure, we show that using subspaces with a hierarchical structure for representing data leads to improved tradeoffs. One of the main reasons for the improvement is that embedding data into these hierarchical Kronecker structured subspaces prevents overfitting at higher latent dimensions.

Introduction

Dimensionality reduction is a cornerstone of modern machine learning, particularly for high-dimensional data like images or video. While standard linear subspaces (e.g., PCA) are widely used, they often ignore the inherent multi-way "tensor" structure of the data. Tensor subspace models address this by using Kronecker products to embed data into lower dimensions. However, these models face their own "curse of dimensionality." This paper investigates the practical tradeoffs between sample size, storage, and computational complexity across different tensor models, specifically comparing the standard Tucker decomposition with hierarchical structures like Hierarchical Tucker (HT) and Tensor Train (TT).

Methods and Hierarchical Structures

The study compares three primary tensor subspace models:

  1. Tucker Subspace: A classical approach where data is projected onto independent low-dimensional subspaces. It suffers from exponential parameter growth as tensor order increases.
  2. Hierarchical Tucker (HT): This model utilizes a "dimension tree" (typically a balanced binary tree) to construct subspaces hierarchically.
  3. Tensor Train (TT): A specific instance of HT where the tree follows a linear "comb" structure.
Hierarchical structures for tensor subspaces: (a) Balanced tree (HT) and (b) Tensor Train (TT).

To perform classification, the authors employ a variant of the Hierarchical Singular Value Decomposition (H-SVD). A representative tensor subspace is estimated for each class. New data points are classified by projecting them onto each class's subspace; the label is assigned based on which subspace captures the most "energy" (the largest Frobenius norm of the projection).

Experimental Setup

The models were evaluated using the CMU PIE and Weizmann face image databases. To leverage multi-way structures, 2D images were reshaped into 4D tensors (e.g., $18 \times 27 \times 32 \times 20$). The experiments utilized a 50/50 split for training and testing to assess performance across varying ranks and sample sizes.

Key Insights and Results

The Overfitting Trap and Regularization

A critical finding is that the Tucker model overfits aggressively as the latent dimension (rank) increases. Because the Tucker manifold's dimension grows exponentially, it tends to memorize noise. In contrast, hierarchical models (HT and TT) have manifold dimensions that grow only polynomially. This structural constraint acts as an implicit form of regularization, making them significantly more robust to high-rank specifications.

Sample Complexity

One of the most significant advantages of hierarchical models is their sample efficiency. HT and TT require far fewer training samples to achieve low error rates compared to Tucker. On the Weizmann dataset, hierarchical models reached lower error rates with only 10% of available samples than the Tucker model could achieve with 60%.

Learning curves for the Weizmann dataset showing classification error versus the percentage of training samples used.

Storage and Computational Efficiency

While Tucker models are theoretically more storage-efficient in terms of raw parameter count for a given rank, they suffer from high error rates. HT and TT, despite higher storage requirements, provide a massive boost in accuracy. Furthermore, for a fixed target error rate, the computational cost of projection is lower for hierarchical models, with the Tensor Train (TT) structure often proving the most efficient.

Conclusion

Hierarchical tensor subspace models (HT and TT) offer a superior alternative to standard Tucker decompositions for image classification. By providing a polynomial growth in parameters, they effectively mitigate overfitting and drastically reduce the required training sample size. Future research will focus on the automated discovery of optimal tree structures and scaling these hierarchical approaches to even higher-order data types like hyperspectral imaging.

Summary updated

BibTeX
@misc{chaghazardi2017sample,
  author = {Mohammadhossein Chaghazardi and Shuchin Aeron},
  title = {{Sample, computation vs storage tradeoffs for classification using tensor subspace models}},
  year = {2017},
  eprint = {1706.05599},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1706.05599},
}
Figure