A randomized tensor singular value decomposition based on the t-product

Jiani Zhang, Arvind K. Saibaba, Misha E. Kilmer, Shuchin AeronNumer. Linear Algebra Appl 2016

Abstract

The tensor Singular Value Decomposition (t-SVD) for third-order tensors has been applied successfully in many fields, such as computed tomography, facial recognition, and video completion. In this paper, we propose a method that extends a well-known randomized matrix method to the t-SVD. This method can produce a factorization with similar properties to the t-SVD but is more computationally efficient on very large datasets. We present details of the algorithm, theoretical results, and provide numerical results that show the promise of our approach for compressing and analyzing datasets. We also present an improved analysis of the randomized subspace iteration for matrices, which may be of independent interest to the scientific community.

Introduction

In the era of "big data," datasets frequently reach petabyte scales, necessitating efficient compression and analysis techniques. While the traditional matrix Singular Value Decomposition (SVD) is a standard tool for identifying low-rank structures, its computational cost becomes prohibitive as data volume grows. Furthermore, many modern datasets, such as video sequences or hyperspectral images, are inherently multi-dimensional.

Standard practice often involves "flattening" these 3D tensors into 2D matrices to utilize existing matrix tools. However, this process destroys the natural spatial and temporal correlations within the data. The t-SVD was proposed to handle tensors directly while maintaining matrix-like properties. Despite its advantages, deterministic computation of the t-SVD remains too slow for massive arrays. This paper bridges this gap by applying randomized numerical linear algebra to the tensor domain.

Methodology: The t-product Framework

The core of our approach is the t-product, an algebraic framework where 3D tensors are treated similarly to matrices. In this framework, "scalars" are represented by "tubes" (vectors in the third dimension), and "multiplication" is based on circular convolution.

Fibers and slices of a third-order tensor. The t-product framework treats tube fibers (c) as fundamental units and allows for parallel processing of frontal slices (f).

Key algorithmic contributions include:

  • rt-SVD (Randomized Tensor SVD): Instead of computing the full decomposition, the algorithm projects the tensor onto a lower-dimensional subspace using a Gaussian random tensor. This captures dominant information with significantly reduced computational effort.
  • Subspace Iteration: To handle datasets with slowly decaying singular values, we implement a "power method" for tensors. This iteratively refines the random subspace to improve approximation accuracy.
  • Fourier Domain Implementation: Since the t-product is defined via convolution, the entire randomized process can be computed in the Fourier domain. This allows the algorithm to process frontal slices of the tensor independently and in parallel, making it "embarrassingly parallel" and highly scalable.

Experimental Evaluation

We evaluated the proposed algorithms on two classic computer vision benchmarks:

  1. Cropped Extended Yale Face Dataset B: 1,140 images of 38 individuals under varying lighting, organized into a $192 \times 1140 \times 168$ tensor.
  2. AT&T Laboratories Cambridge Face Database: 400 images of 40 individuals in different poses, organized into a $112 \times 400 \times 92$ tensor.

Key Results

  • Efficiency: The rt-SVD achieved approximately a 3x speedup over the full deterministic t-SVD on the tested datasets.
  • Accuracy: In facial recognition tests, the randomized version achieved recognition rates nearly identical to the deterministic version, typically within a 0.1% margin.
  • Scalability: Parallel implementation tests confirmed that runtime decreases linearly as the number of processors increases, demonstrating suitability for high-performance computing.
  • Theoretical Contributions: Beyond tensor work, we improved the theoretical error analysis for matrix randomized subspace iteration, providing tighter bounds of general mathematical interest.

Conclusion and Future Work

The rt-SVD offers a powerful tool for multi-dimensional data analysis, preserving structural dependencies that matrix-based methods lose. Future work will explore "updating" methods to handle dynamic datasets without full recomputation and the use of structured random projections (e.g., Subsampled Randomized Hadamard Transforms) to further accelerate the initial projection step. Additionally, these randomized techniques could be extended to other tensor decompositions based on various invertible linear transforms.

Summary updated

BibTeX
@inproceedings{zhang2016randomized,
  author = {Jiani Zhang and Arvind K. Saibaba and Misha E. Kilmer and Shuchin Aeron},
  title = {{A randomized tensor singular value decomposition based on the t-product}},
  booktitle = {Numer. Linear Algebra Appl},
  year = {2016},
  url = {https://openreview.net/forum?id=CrFHfW0SV7J},
}
Figure