Skip to main content
QUICK REVIEW

[Paper Review] Fast and Accurate Randomized Algorithms for Low-rank Tensor Decompositions

Linjian Ma, Edgar Solomonik|arXiv (Cornell University)|Apr 2, 2021
Tensor decomposition and applicationsMathematics51 references10 citations
TL;DR

This paper proposes a fast and accurate randomized algorithm for low-rank Tucker tensor decomposition using sketched alternating least squares (ALS), where each subproblem is a rank-constrained linear least squares solved via TensorSketch or leverage score sampling. The method achieves up to 22.0% relative residual improvement over state-of-the-art methods and accelerates CP decomposition through Tucker compression, yielding faster convergence and higher accuracy.

ABSTRACT

Low-rank Tucker and CP tensor decompositions are powerful tools in data analytics. The widely used alternating least squares (ALS) method, which solves a sequence of over-determined least squares subproblems, is costly for large and sparse tensors. We propose a fast and accurate sketched ALS algorithm for Tucker decomposition, which solves a sequence of sketched rank-constrained linear least squares subproblems. Theoretical sketch size upper bounds are provided to achieve $O(ε)$ relative error for each subproblem with two sketching techniques, TensorSketch and leverage score sampling. Experimental results show that this new ALS algorithm, combined with a new initialization scheme based on randomized range finder, yields up to $22.0\%$ relative decomposition residual improvement compared to the state-of-the-art sketched randomized algorithm for Tucker decomposition of various synthetic and real datasets. This Tucker-ALS algorithm is further used to accelerate CP decomposition, by using randomized Tucker compression followed by CP decomposition of the Tucker core tensor. Experimental results show that this algorithm not only converges faster, but also yields more accurate CP decompositions.

Motivation & Objective

  • To address the high computational cost of traditional ALS for large, sparse tensors in Tucker and CP decompositions.
  • To develop a sketched ALS algorithm for Tucker decomposition that maintains accuracy while reducing per-sweep cost below O(nnz(T)R).
  • To provide tighter theoretical sketch size bounds for relative error in rank-constrained least squares subproblems.
  • To improve the accuracy of randomized Tucker decomposition for high-coherence, sparse tensors through a new randomized range finder initialization.
  • To accelerate CP decomposition by first applying randomized Tucker compression to the core tensor.

Proposed method

  • Uses a modified ALS scheme identical to HOOI, updating one factor matrix and the core tensor per subproblem, but solves each via sketching.
  • Applies sketching to rank-constrained linear least squares subproblems with left-hand-side matrices of size s^{N-1} × R^{N-1} and orthonormal columns.
  • Employs two sketching techniques: TensorSketch and leverage score sampling, both proven to achieve O(ε) relative error.
  • Derives theoretical sketch size upper bounds: O(R^{N-1}/(ε²δ)) for leverage score sampling and O((R^{N-1}·3^{N-1})/δ·(R^{N-1}+1/ε²)) for TensorSketch.
  • Introduces a randomized range finder-based initialization to enhance accuracy of leverage score sampling on high-coherence tensors.
  • Accelerates CP decomposition by first compressing the input tensor via randomized Tucker decomposition, then applying CP-ALS to the smaller core tensor.

Experimental results

Research questions

  • RQ1Can sketching be effectively applied to rank-constrained least squares subproblems in Tucker ALS while maintaining accuracy?
  • RQ2What sketch size is theoretically sufficient to achieve O(ε) relative error in Tucker ALS subproblems using TensorSketch and leverage score sampling?
  • RQ3How does the proposed sketched Tucker-ALS algorithm compare in accuracy and speed to existing randomized and classical Tucker decomposition methods?
  • RQ4Can Tucker compression followed by CP decomposition yield faster and more accurate CP results than direct CP-ALS?
  • RQ5Does a randomized range finder initialization improve the performance of leverage score sampling in Tucker decomposition of sparse, high-coherence tensors?

Key findings

  • The proposed sketched ALS algorithm for Tucker decomposition achieves up to 22.0% relative residual improvement over the state-of-the-art sketched randomized algorithm on synthetic and real datasets.
  • Theoretical sketch size bounds are tighter than prior work, with leverage score sampling requiring O(R^{N-1}/(ε²δ)) sketch size to achieve O(ε) relative error.
  • TensorSketch requires a larger sketch size of O((R^{N-1}·3^{N-1})/δ·(R^{N-1}+1/ε²)) but still achieves O(ε) relative error.
  • The Tucker + CP decomposition pipeline, using sketched Tucker-ALS followed by CP-ALS, converges in fewer than 5 Tucker sweeps compared to over 10 sweeps for direct CP-ALS.
  • For sparse tensors (p = 0.1 and p = 0.02), the Tucker + CP method shows a greater performance advantage, especially in residual accuracy.
  • Despite tighter theoretical bounds, experimental performance of leverage score sampling and TensorSketch is similar under the same sketch size across multiple tensor types.

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.