Tensor Random Projection (RFSF-TRP)
- Tensor Random Projection (RFSF-TRP) is a framework that compresses large-scale, high-order tensors by applying mode-wise random projections to preserve their multilinear structure.
- It uses QR decomposition on tensor unfoldings to form orthonormal bases, enabling efficient tensor ring (TR) decomposition with methods such as rTRSVD and rTRALS.
- The approach achieves significant speedups and memory savings in practical applications, balancing reconstruction error with computational efficiency.
Tensor Random Projection (RFSF-TRP) is a framework for efficient large-scale multilinear data compression and decomposition, combining mode-wise random projections with tensor ring (TR) factorization. It is motivated by the high computational and memory demands of traditional TR algorithms when applied to large dense tensors. By employing random projections in each tensor mode, RFSF-TRP reduces the tensor dimensions while preserving the underlying multilinear structure, enabling downstream tensor ring decomposition at a dramatically reduced cost without sacrificing accuracy. The approach exploits randomized linear algebra and leverages established properties of random projections in the high-dimensional regime (Yuan et al., 2019).
1. Foundational Principles and Pipeline
RFSF-TRP operates on a high-order tensor by applying the following two-stage pipeline:
- Mode-wise Tensor Random Projection: For each mode , construct a random projection matrix (typically Gaussian or structured such as SRFT/Hadamard) and form the mode- unfolding . Project to a low-dimensional subspace, followed by QR decomposition, yielding an orthonormal basis . The tensor is compressed as
with .
- TR Decomposition on Compressed Tensor: Standard TR decomposition algorithms (e.g. SVD-based rTRSVD, alternating least squares rTRALS) are run on , generating small core tensors with 0. The original space is recovered by lifting each core via
1
This reduces the decomposition cost from operating directly on 2 (3) to operating on 4 (5), which is typically orders of magnitude smaller (Yuan et al., 2019).
2. Construction of Random Projection Matrices
The random projections in each mode can use fully dense Gaussian matrices or more efficient structured transforms:
- Dense Gaussian: 6 entries are i.i.d. 7.
- Fast Transforms: 8, where 9 is a diagonal Rademacher matrix, 0 is a Hadamard or DFT, and 1 is a subsampling operator.
The QR step ensures 2 and that the span captures the principal subspace in the mode-3 unfolding, up to random error. Structured maps yield computational acceleration while maintaining the requisite isometry properties (Yuan et al., 2019).
3. Tensor Ring Decomposition Algorithms after Projection
3.1 SVD-based (rTRSVD)
Sequential SVD and truncation are performed via cyclic unfoldings of the small tensor 4:
- At each step, unfold along the mode, perform economy SVD (5), truncate to rank 6, and reshape 7 to form the new core.
- Process continues cyclically for all modes; the ring constraint 8 is enforced.
3.2 Alternating Least Squares (rTRALS)
ALS iterations solve, for each core,
9
where 0 is the contracted product of all other cores, and 1 the mode-2 unfolding. Factor updates iterate until convergence. The cores are then lifted to the original data space via the stored 3.
Both algorithms benefit from the dimension reduction. Empirically, rTRSVD requires 4, while rTRALS needs 5 to reach the plateau in relative squared error (RSE) (Yuan et al., 2019).
4. Computational Complexity and Memory Analysis
| Method | Computation per step | Memory usage | Main scaling term |
|---|---|---|---|
| Standard TRSVD/TRALS | 6 | 7 + cores | 8 |
| RFSF-TRP | 9 | 0 | 1 |
With 2 for a small 3, the overall speedup is approximately 4. For large-scale tensors where each mode is high-dimensional, this yields empirical speedups of 4–25× with no loss in accuracy when 5 is properly tuned (Yuan et al., 2019).
5. Empirical Performance and Trade-offs
- Image Data (e.g. 6 RGB): As 7 increases and the RSE curve flattens, select the minimal 8 achieving the plateau.
- Deep Learning Datasets (CIFAR-10, COIL100): Achieve compression ratios up to 9 with RSE 0 in 1–20 s, outperforming rTucker, rCP, and TRSGD.
- Hyperspectral Images (1): Using spectral mode prior knowledge, setting e.g. 2, rTRALS denoises data to RSE 0.015 in 60 s versus >200 s for TRSGD or CPALS.
Practical guidance is to increase 3 until diminishing returns are observed in RSE, balancing speed and reconstruction error (Yuan et al., 2019).
6. Theoretical Guarantees and Applicability
If each 4 captures the leading 5 subspace of the mode-6 unfolding, the classical randomized linear algebra theory guarantees that
7
is within a small multiple of the optimal TR approximation error. The accuracy is directly linked to the efficacy of the initial subspace estimation in the random projection step. The method is robust to various data types and remains compatible with any downstream TR solver (including SGD-based or sampling-based variants) (Yuan et al., 2019).
7. Context within the Tensor Random Projection Ecosystem
RFSF-TRP sits at the intersection of:
- Classical tensor random projection frameworks: Structures such as those in (Sun et al., 2021) and (Rakhshan et al., 2020) establish the biased-variance tradeoff and subspace preservation of tensor-based projections.
- Operator generality: The mode-wise projection approach is a special case of more general tensor random projection maps (including tensor-wise, block-wise, or combined investments as in Bayesian tensor regression (Casarin et al., 2 Oct 2025)).
- Algorithmic structure: It is distinct from earlier methods such as N-way Random Indexing (Sandin et al., 2011) which employs sparse ternary codebooks, but shares the central aim of reducing memory and compute while preserving underlying structure.
- Sketching-based alternatives: Approaches using subchain/Kronecker products and CountSketches, as in (Yu et al., 2022), provide alternative random projection and sketching formulations for TR-ALS, yielding similar order-of-magnitude gains.
The framework is maximally beneficial in large-scale, high-order tensor settings, where both data storage and the per-iteration complexity of traditional multilinear decompositions become prohibitive.
References:
- "Randomized Tensor Ring Decomposition and Its Application to Large-scale Data Reconstruction" (Yuan et al., 2019)
- "Tensor Random Projection for Low Memory Dimension Reduction" (Sun et al., 2021)
- "Tensorized Random Projections" (Rakhshan et al., 2020)
- "Incremental dimension reduction of tensors with random index" (Sandin et al., 2011)
- "Practical Sketching-Based Randomized Tensor Ring Decomposition" (Yu et al., 2022)
- "Compressed Bayesian Tensor Regression" (Casarin et al., 2 Oct 2025)