Abstract
Dimensionality reduction is an essential technique for multiway large-scale data, i.e., tensor. Tensor ring (TR) decomposition has become popular due to its high representation ability and flexibility. However, the traditional TR decomposition algorithms suffer from high computational cost when facing large-scale data. In this paper, taking advantages of the recently proposed tensor random projection method, we propose two TR decomposition algorithms. By employing random projection on every mode of the large-scale tensor, the TR decomposition can be processed at a much smaller scale. The simulation experiment shows that the proposed algorithms are 4–25 times faster than traditional algorithms without loss of accuracy, and our algorithms show superior performance in deep learning dataset compression and hyperspectral image reconstruction experiments compared to the other randomized algorithms.
Introduction
In the era of big data, information is increasingly multi-dimensional. Whether it is hyperspectral imagery, video sequences, or the weights of a deep neural network, data is naturally represented as tensors. To manage the sheer volume of this information, researchers use tensor decomposition to find low-rank approximations—essentially compressing the data into smaller, manageable factors.
Among various models, Tensor Ring (TR) decomposition has emerged as a powerful tool due to its high representation ability and flexibility. Unlike older models like Tucker or CP decomposition, TR avoids the "curse of dimensionality" while maintaining high expressive power. However, as datasets scale to millions or billions of entries, traditional deterministic algorithms like Alternating Least Squares (ALS) and Singular Value Decomposition (SVD) become computationally prohibitive. This paper presents a solution: randomized algorithms that significantly accelerate TR decomposition without sacrificing accuracy.
The Challenge of Large-Scale Tensors
Traditional TR decomposition methods are deterministic, requiring the processing of the entire tensor repeatedly to reach convergence. For large-scale data, this leads to several critical bottlenecks:
- High Computational Cost: The time required for SVD or ALS grows exponentially with the size and order of the tensor.
- Memory Constraints: Storing and manipulating massive tensors in memory often exceeds the capacity of modern hardware.
- Slow Convergence: Iterative methods take longer to stabilize as data complexity increases.
To address these issues, the authors propose leveraging Tensor Random Projection (TRP). By projecting a high-dimensional tensor into a lower-dimensional subspace (a "sketch"), the heavy mathematical operations can be performed on a fraction of the original data.
Proposed Methodology: rTRALS and rTRSVD
The authors introduce two randomized algorithms: rTRALS (Randomized TR Alternating Least Squares) and rTRSVD (Randomized TR Singular Value Decomposition). The workflow for both algorithms follows a four-step process:
- Random Projection: The original large-scale tensor is multiplied by random Gaussian matrices along every mode.
- Sketching: This creates a significantly smaller "sketch" tensor that preserves the essential structural properties and variance of the original data.
- Decomposition: Standard TR decomposition (either ALS or SVD) is performed on this compressed sketch.
- Back-Projection: The resulting latent factors are projected back into the original high-dimensional space to reconstruct the final TR factors.
This approach ensures that the most expensive part of the computation—the decomposition itself—happens at a much smaller scale.
Experimental Evaluation
The researchers evaluated their algorithms across several diverse datasets, including simulation data (1024 × 1024 × 3), deep learning datasets (CIFAR10 and COIL100), and Hyperspectral Images (HSI). The HSI dataset was artificially corrupted with varying noise levels (0dB, 10dB, 20dB) to test the robustness of the reconstruction.
Key Results
The experiments yielded three major insights:
- Massive Speedups: In simulation tests, rTRALS was ~24 times faster than standard TRALS (2.0s vs. 48.1s), while rTRSVD was ~4 times faster than standard TRSVD.
- Zero Accuracy Loss: The authors identified a "sweet spot" for projection size. Once the sketch reaches a certain threshold, the Relative Square Error (RSE) flatlines, meaning the randomized version is just as accurate as the slow, deterministic version.
- Superiority over CP and Tucker: Even when compared to other randomized methods (like rCPALS or rTucker), the randomized TR approach showed better performance in deep learning compression and HSI reconstruction, particularly in noisy environments.
Conclusion and Future Work
The proposed randomized TR decomposition algorithms offer a robust solution for processing large-scale multiway data. By reducing computational time by up to 25x while maintaining high accuracy, these methods make TR decomposition viable for real-time applications in signal processing and machine learning.
While the current work uses basic Gaussian random projections, future research will focus on more advanced projection techniques to improve numerical stability. Additionally, the authors aim to extend these algorithms to handle sparse and incomplete tensors, which are prevalent in fields like recommendation systems and remote sensing.
Summary updated