Skip to main content
QUICK REVIEW

[Paper Review] Fast and Guaranteed Tensor Decomposition via Sketching

Yining Wang, Hsiao-Yu Fish Tung|arXiv (Cornell University)|Jun 14, 2015
Tensor decomposition and applicationsMathematics28 references64 citations
TL;DR

This paper proposes a fast, randomized tensor CP decomposition algorithm using sketching techniques that enable efficient computation of tensor contractions via FFTs without explicitly forming high-order tensors. The method achieves 10x–100x speedups over exact methods on dense and sparse tensors while maintaining theoretical guarantees independent of sparsity or entry distribution.

ABSTRACT

Tensor CANDECOMP/PARAFAC (CP) decomposition has wide applications in statistical learning of latent variable models and in data mining. In this paper, we propose fast and randomized tensor CP decomposition algorithms based on sketching. We build on the idea of count sketches, but introduce many novel ideas which are unique to tensors. We develop novel methods for randomized computation of tensor contractions via FFTs, without explicitly forming the tensors. Such tensor contractions are encountered in decomposition methods such as tensor power iterations and alternating least squares. We also design novel colliding hashes for symmetric tensors to further save time in computing the sketches. We then combine these sketching ideas with existing whitening and tensor power iterative techniques to obtain the fastest algorithm on both sparse and dense tensors. The quality of approximation under our method does not depend on properties such as sparsity, uniformity of elements, etc. We apply the method for topic modeling and obtain competitive results.

Motivation & Objective

  • Address the computational bottleneck in large-scale tensor CP decomposition for applications in machine learning and data mining.
  • Overcome limitations of prior methods that rely on restrictive assumptions such as sparsity or uniform entry distribution.
  • Develop a framework that enables fast, accurate tensor decomposition for both sparse and dense tensors using randomized sketching.
  • Provide theoretical guarantees on approximation quality that are independent of tensor properties like sparsity or entry distribution.
  • Enable practical deployment on billion-scale datasets by reducing computational complexity while preserving accuracy.

Proposed method

  • Use count sketch with FFT-based operations to compute tensor sketches in O(n + b log b) time per rank-1 component, where n is tensor dimension and b is sketch length.
  • Enable implicit tensor contraction computation via FFTs without explicitly forming the full tensor, reducing complexity from O(n^p) to O(n + b log b) for p-th order tensors.
  • Introduce novel colliding hash functions using the complex ring C instead of the Boolean ring to handle symmetric tensors efficiently and reduce redundant FFT operations.
  • Combine sketching with existing tensor decomposition techniques such as tensor power iteration and alternating least squares (ALS) for fast, scalable decomposition.
  • Leverage factored forms of empirical moment tensors (e.g., from data samples) to compute sketches directly from component vectors, avoiding full tensor construction.
  • Ensure theoretical stability by bounding approximation errors in eigenvalues and eigenvectors using concentration inequalities and spectral analysis.

Experimental results

Research questions

  • RQ1Can tensor CP decomposition be accelerated significantly for both sparse and dense tensors without sacrificing accuracy?
  • RQ2Can sketching techniques be adapted to tensor contractions to avoid explicit tensor formation and reduce computational cost?
  • RQ3How can symmetric tensor structures be exploited to further optimize sketching and FFT-based computation?
  • RQ4Does the proposed method maintain theoretical guarantees on approximation quality regardless of tensor sparsity or entry distribution?
  • RQ5Can the method scale to billion-scale data tensors while outperforming exact and existing randomized methods in practice?

Key findings

  • The proposed method achieves 10x to 100x speedup over exact tensor decomposition methods on dense, high-dimensional tensors.
  • The algorithm maintains high accuracy with only a small performance loss compared to exact methods, even on spiky or non-uniform tensors.
  • For topic modeling, the method reduces computational time significantly compared to existing spectral LDA implementations, while outperforming collapsed Gibbs sampling under time constraints.
  • Theoretical analysis shows that approximation error in eigenvalues and eigenvectors is bounded and independent of tensor sparsity or entry distribution.
  • The use of complex-ring colliding hashes reduces redundant FFT operations, resulting in substantial practical speedups despite same asymptotic complexity.
  • Empirical results confirm that the method scales well to large-scale datasets, including real-world topic modeling tasks with billions of training instances.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.