NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Tensor Train Random Projection

Yani Feng, Kejun Tang, Lianxing He, Pingqiang Zhou, Qifeng LiaoarXiv 2020

Abstract

This work proposes a novel tensor train random projection (TTRP) method for dimension reduction, where pairwise distances can be approximately preserved. Our TTRP is systematically constructed through a tensor train (TT) representation with TT-ranks equal to one. Based on the tensor train format, this new random projection method can speed up the dimension reduction procedure for high-dimensional datasets and requires less storage costs with little loss in accuracy, compared with existing methods. We provide a theoretical analysis of the bias and the variance of TTRP, which shows that this approach is an expected isometric projection with bounded variance, and we show that the Rademacher distribution is an optimal choice for generating the corresponding TT-cores. Detailed numerical experiments with synthetic datasets and the MNIST dataset are conducted to demonstrate the efficiency of TTRP.

Introduction

In the era of big data, high-dimensional datasets often suffer from the "curse of dimensionality." Random Projection (RP) is a standard technique used to mitigate this by projecting data from a high-dimensional space ($N$) into a lower-dimensional space ($M$) while preserving pairwise distances. However, as dimensions grow, the projection matrix $R$ becomes prohibitively large, requiring $O(MN)$ storage and computation time. This makes traditional RP computationally infeasible for modern massive datasets.

Existing sparse or tensor-based alternatives often face a trade-off between storage efficiency, computational speed, and the accuracy of distance preservation (isometry). This paper introduces Tensor Train Random Projection (TTRP), a method that utilizes the Tensor Train (TT) decomposition to compress massive projection matrices, achieving significant speedups and storage savings without sacrificing accuracy.

Methodology

The core of TTRP lies in representing the projection matrix using the Tensor Train (TT) format. This format decomposes a large tensor into a sequence of smaller, interconnected "cores."

Rank-One TT Format

The authors propose a rank-one TT format for the projection matrix. By setting all internal ranks to one, the massive matrix is transformed into a series of much smaller matrices. This drastically reduces the number of parameters required to define the projection.

Visual representation of the Tensor Train cores used to construct the projection matrix.

Efficient Computation and Optimal Distribution

Because the projection matrix is in TT format, the matrix-vector product (the projection itself) can be computed as a sequence of smaller operations. This reduces the computational cost from $O(MN)$ to approximately $O(dmn)$, where $d$ is the number of dimensions the tensor is split into. The paper provides a rigorous proof showing that TTRP is an "expected isometric projection," meaning it preserves distances perfectly on average.

Algorithm for computing the distance between tensors in TT format, demonstrating the efficiency of the TTRP approach.

Furthermore, the authors found through theoretical analysis that using the Rademacher distribution (where entries are randomly $+1$ or $-1$) for the TT-cores is the optimal choice. This distribution minimizes the variance of the projection, ensuring more stable distance preservation than standard Gaussian variables.

Experimental Evaluation

The researchers evaluated TTRP using both synthetic datasets (with $N$ up to $1,000,000$) and the MNIST dataset ($N=784$).

Key Results

  • Storage Efficiency: For $N=40,000$, the storage required for the TTRP projection matrix is only 1/20th of what a standard Gaussian RP would require.
  • Computational Speedup: At $N=10^6$, TTRP significantly outperforms Gaussian RP and "Very Sparse RP." While traditional methods scale poorly with $N$, TTRP's computation time grows much more slowly (see Figure 5 in the paper).
  • Isometry Quality: On the MNIST dataset, TTRP maintained pairwise distance ratios very close to $1.0$ with lower variance than other tensor-based methods (Gaussian TRP), proving it is both accurate and reliable.

Discussion and Conclusion

A key insight of this work is that a rank-one TT format is sufficient to maintain competitive performance while offering maximum compression. This "rank-one is enough" finding simplifies the implementation while maximizing efficiency.

The primary limitation identified is that the current concentration inequality bound still depends on the dimensionality $N$. Future work aims to derive a "tighter" bound independent of $N$, which would provide even stronger theoretical guarantees for using TTRP on infinitely large or streaming datasets. Additionally, exploring how different tensor structures might benefit specific types of non-linear data remains an open area for research.

Summary updated

BibTeX
@misc{feng2020tensor,
  author = {Yani Feng and Kejun Tang and Lianxing He and Pingqiang Zhou and Qifeng Liao},
  title = {{Tensor Train Random Projection}},
  year = {2020},
  eprint = {2010.10797},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2010.10797},
}
Figure