Skip to main content
QUICK REVIEW

[Paper Review] Near-Linear Time and Fixed-Parameter Tractable Algorithms for Tensor Decompositions

Arvind V. Mahankali, David P. Woodruff|arXiv (Cornell University)|Jul 15, 2022
Tensor decomposition and applicationsMathematics1 citations
TL;DR

This paper presents near-linear time and fixed-parameter tractable (FPT) algorithms for tensor decompositions, including Tensor Train, Tucker, and CP decompositions. It introduces a novel subspace embedding technique using Countsketch-based cores that enables (1+ε)-approximation with bicriteria rank O(qk/ε) and O(q·nnz(A)) time, achieving the first input-sparsity relative error approximation for Tensor Train decomposition.

ABSTRACT

We study low rank approximation of tensors, focusing on the Tensor Train and Tucker decompositions, as well as approximations with tree tensor networks and general tensor networks. As suggested by hardness results also shown in this work, obtaining (1+ε)-approximation algorithms for rank k tensor train and Tucker decompositions efficiently may be computationally hard for these problems. Therefore, we propose different algorithms that respectively satisfy some of the objectives above while violating some others within a bound, known as bicriteria algorithms. On the one hand, for rank-k tensor train decomposition for tensors with q modes, we give a (1 + ε)-approximation algorithm with a small bicriteria rank (O(qk/ε) up to logarithmic factors) and O(q ⋅ nnz(A)) running time, up to lower order terms. Here nnz(A) denotes the number of non-zero entries in the input tensor A. We also show how to convert the algorithm of [Huber et al., 2017] into a relative error approximation algorithm, but their algorithm necessarily has a running time of O(qr² ⋅ nnz(A)) + n ⋅ poly(qk/ε) when converted to a (1 + ε)-approximation algorithm with bicriteria rank r. Thus, the running time of our algorithm is better by at least a k² factor. To the best of our knowledge, our work is the first to achieve a near-input-sparsity time relative error approximation algorithm for tensor train decomposition. Our key technique is a method for efficiently obtaining subspace embeddings for a matrix which is the flattening of a Tensor Train of q tensors - the number of rows in the subspace embeddings is polynomial in q, thus avoiding the curse of dimensionality. We extend our algorithm to tree tensor networks and tensor networks on arbitrary graphs. Another way of coping with intractability is by looking at fixed-parameter tractable (FPT) algorithms. We give FPT algorithms for the tensor train, Tucker, and Canonical Polyadic (CP) decompositions, which are simpler than the FPT algorithms of [Song et al., 2019], since our algorithms do not make use of polynomial system solvers. Our technique of using an exponential number of Gaussian subspace embeddings with exactly k rows (and thus exponentially small success probability) may be of independent interest.

Motivation & Objective

  • Develop efficient algorithms for low-rank tensor decompositions that scale near-linearly with input sparsity.
  • Address the computational intractability of exact (1+ε)-approximation for tensor train and Tucker decompositions by introducing bicriteria algorithms with bounded rank blowup.
  • Provide fixed-parameter tractable (FPT) algorithms for tensor train, Tucker, and CP decompositions without relying on polynomial system solvers.
  • Design a novel subspace embedding method for tensor trains that avoids the curse of dimensionality by using polynomially-sized cores in q modes.
  • Extend the framework to tree tensor networks and general tensor networks on arbitrary graphs with structured embeddings.

Proposed method

  • Propose a Countsketch-based subspace embedding for tensor trains, where each core of the embedding is a Countsketch matrix, enabling efficient dimensionality reduction.
  • Construct a tensor network embedding with the same structure as the target decomposition, using i.i.d. Gaussian or Countsketch matrices in each core to preserve Frobenius norm up to (1±ε) error.
  • Use a bicriteria approach: allow the output rank to be O(qk/ε) to achieve (1+ε)-approximation while maintaining near-input-sparsity runtime.
  • Leverage randomized sketching to reduce the dimension of matricized tensors, avoiding expensive SVD computations and enabling O(q·nnz(A)) time complexity.
  • Apply exponential random embeddings with exactly k rows to achieve FPT algorithms for CP, Tucker, and TT decompositions, exploiting the small success probability for theoretical guarantees.
  • Generalize the embedding framework to tree-structured and arbitrary graph-structured tensor networks by recursively contracting edges and forming dual vertices to preserve structure.

Experimental results

Research questions

  • RQ1Can (1+ε)-approximation for tensor train decomposition be achieved in near-input-sparsity time with bounded rank blowup?
  • RQ2How can subspace embeddings be efficiently constructed for high-order tensor trains without incurring exponential dependence on the number of modes q?
  • RQ3Can FPT algorithms for tensor decompositions be designed without relying on polynomial system solvers, and what are their runtime and success probability trade-offs?
  • RQ4What is the minimal rank blowup required to achieve relative error approximation in tensor train and Tucker decompositions?
  • RQ5Can the framework be extended to general tensor networks beyond tree structures, and how does the embedding structure affect approximation quality?

Key findings

  • The proposed algorithm achieves a (1+ε)-approximation for tensor train decomposition in O(q·nnz(A)) time with bicriteria rank O(qk/ε), improving over prior O(qr²·nnz(A)) + n·poly(qk/ε) methods by at least a k² factor.
  • The method provides the first near-input-sparsity relative error approximation algorithm for tensor train decomposition, matching the best-known approximation quality with significantly better runtime.
  • For fixed-parameter tractable (FPT) algorithms, the approach achieves FPT runtime for CP, Tucker, and tensor train decompositions using only Gaussian subspace embeddings with k rows, avoiding complex polynomial system solvers used in prior work.
  • The subspace embedding technique avoids the curse of dimensionality by ensuring the number of rows in the embedding is polynomial in q, not exponential.
  • The framework generalizes to tree tensor networks and arbitrary graph-structured tensor networks, with embeddings constructed as structured tensor networks whose cores are Countsketch matrices.
  • The algorithm outperforms prior work such as [HSW17] and [LYB19] in both runtime and rank control, particularly by eliminating the need for iterative rank search and providing stronger theoretical guarantees.

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.