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

Low-Rank Tucker Decomposition of Large Tensors Using TensorSketch

Osman Asif Malik, Stephen Becker

Introduction

Tensors—multi-dimensional arrays—are the natural format for many modern datasets, ranging from video sequences to complex climate simulations. Analyzing these massive datasets often requires a Tucker decomposition, which functions essentially as a multi-way version of the Singular Value Decomposition (SVD).

However, standard algorithms like Higher-Order Orthogonal Iteration (HOOI) face a significant "memory blow-up" problem. They rely on Kronecker products of factor matrices that grow exponentially with the number of dimensions. For "Big Data" tensors, these intermediate matrices quickly become too large to store in RAM. Furthermore, existing randomized methods often require multiple passes over the data, making them unsuitable for streaming applications where data points are seen once and then discarded.

This paper introduces two randomized, single-pass algorithms for the low-rank Tucker decomposition of massive tensors. By leveraging TensorSketch, the authors enable the decomposition of datasets so large they cannot fit in RAM, even when the data arrives as a stream of elements in an arbitrary order.

Methods: TUCKER-TS and TUCKER-TTMTS

The authors propose two algorithms that incorporate TensorSketch, a technique designed to sketch Kronecker products efficiently using Fast Fourier Transforms (FFTs) without ever forming the full product in memory.

  1. TUCKER-TS: This version sketches the entire least-squares problem used to update the factor matrices and the core tensor. It is highly accurate when the input tensor is truly low-rank.
  2. TUCKER-TTMTS: This version sketches the "Tensor-Times-Matrix" (TTM) products. It tends to scale better as the target rank increases compared to TUCKER-TS.

The "Secret Sauce": Upfront Sketching

The most novel contribution of this work is the idea of defining the sketch operators upfront. Typically, randomized algorithms redefine sketches at every iteration to maintain theoretical guarantees. The authors found that fixing the sketches at the start not only allows for a single-pass over the data but actually improves accuracy in practice.

Comparison of multi-pass vs. one-pass (upfront sketching) showing improved accuracy for the one-pass approach.

Because the sketch operators are fixed upfront, the algorithm can update the "sketched" version of the tensor as each element arrives. You never need to see the same element twice, and the algorithms can handle data streamed in any order—a rare feature for tensor decompositions, which usually require specific "slices" or "fibers" of data at a time.

Key Results and Scalability

The authors tested their methods on both sparse synthetic data (varying dimensions up to $10^6$, densities, and ranks) and real-world dense video data (a 38 GB grayscale video tensor that exceeded the 21 GB RAM of the test machine).

  • Breaking the Memory Barrier: By using TensorSketch, the computational complexity is shifted from being dependent on the large tensor dimensions ($I$) to being dependent on the much smaller target rank ($R$).
  • Scalability: While standard methods (TUCKER-ALS/MET) and even some randomized competitors (MACH) ran out of memory as tensor dimensions reached $10^4$ to $10^5$, the proposed algorithms continued to function with stable runtimes and low relative error.
Scalability results showing competitors running out of memory while proposed methods scale to massive dimensions.
  • Accuracy: TUCKER-TS showed near-perfect reconstruction for tensors that were truly low-rank.
  • Practical Application: On the 38 GB video tensor, the authors used the resulting Tucker decomposition to perform k-means clustering on the time-dimension factor matrix. This successfully classified video frames, accurately identifying frames containing "disturbances" (e.g., a person walking past the camera) despite the data being processed in sketched chunks.

Limitations and Future Work

While highly effective for large dimensions, the algorithms have limitations. They scale poorly with the target rank ($R$). TUCKER-TS, for instance, has a complexity involving $R^6$, making it less ideal for high-rank decompositions.

Additionally, there is a theoretical gap: the authors observed that upfront sketching works better than re-sampling, but current theoretical guarantees for TensorSketch only apply to the re-sampling case. Providing a theoretical justification for why upfront sketching is superior remains an open challenge. Finally, like the standard HOOI algorithm, these randomized versions are not guaranteed to converge to a global optimum.

Summary updated

BibTeX
@inproceedings{malik2018low,
  author = {Osman Asif Malik and Stephen Becker},
  title = {{Low-Rank Tucker Decomposition of Large Tensors Using TensorSketch}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2018},
}
Figure