Skip to main content
QUICK REVIEW

[논문 리뷰] Near-Linear Time and Fixed-Parameter Tractable Algorithms for Tensor Decompositions

Arvind V. Mahankali, David P. Woodruff|arXiv (Cornell University)|2022. 07. 15.
Tensor decomposition and applicationsMathematics인용 수 1
한 줄 요약

이 논문은 텐서 분해, 특히 텐서 트레인, 터커, 그리고 CP 분해에 대해 근선형 시간 및 고정 매개변수 가역성(FPT) 알고리즘을 제안한다. Countsketch 기반 코어를 사용하는 새로운 부분공간 임bedding 기법을 도입하여 (1+ε)-근사값을 얻을 수 있으며, 이는 이중기준 랭크 O(qk/ε)와 O(q·nnz(A)) 시간을 제공한다. 이는 텐서 트레인 분해에 대해 입력 희소성에 가까운 상대 오차 근사값을 얻는 최초의 방법이다.

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.

연구 동기 및 목표

  • 입력 희소성에 비례하는 근선형 시간으로 작동하는 저랭크 텐서 분해 알고리즘을 개발한다.
  • 텐서 트레인 및 터커 분해에 대해 정확한 (1+ε)-근사값을 계산하는 것이 계산적으로 불가능한 문제를 해결하기 위해, 랭크 증가가 제한된 이중기준 알고리즘을 도입한다.
  • 다항식 시스템 해법기반 의존 없이도 텐서 트레인, 터커, CP 분해에 대해 고정 매개변수 가역성(FPT) 알고리즘을 제공한다.
  • 다항식 크기의 코어를 사용하는 방식으로 차원의 저주를 피하면서, 다항식적으로 크기가 커지는 q 모드에서의 텐서 트레인에 대한 새로운 부분공간 임bedding 방법을 설계한다.
  • 프레임워크를 트리 텐서 네트워크 및 임의의 그래프에 기반한 구조적 임bedding을 갖는 일반 텐서 네트워크로 확장한다.

제안 방법

  • 각 코어가 Countsketch 행렬인 Countsketch 기반 부분공간 임bedding을 제안하여 효율적인 차원 축소를 가능하게 한다.
  • 목표 분해 구조와 동일한 구조를 갖는 텐서 네트워크 임bedding을 구성하며, 각 코어에 독립적 동일분포(i.i.d.)의 가우시안 또는 Countsketch 행렬을 사용하여 프로베니우스 노름을 (1±ε) 오차 내에서 유지한다.
  • 이중기준 접근법을 사용: 출력 랭크를 O(qk/ε)로 허용함으로써 (1+ε)-근사값을 달성하면서도 입력 희소성에 가까운 런타임을 유지한다.
  • 랜덤 스케칭을 활용해 매트리시제이션된 텐서의 차원을 줄여 SVD 계산의 고비용을 피하고 O(q·nnz(A))의 시간 복잡도를 달성한다.
  • 정확히 k개의 행을 갖는 지수적 랜덤 임bedding을 적용하여 CP, 터커, TT 분해에 대해 FPT 알고리즘을 달성하며, 이론적 보장을 위해 작은 성공 확률을 활용한다.
  • 구조적 임bedding을 사용해 트리 구조 및 임의의 그래프 기반 텐서 네트워크로 프레임워크를 일반화하며, 간선을 재귀적으로 수축하고 이중 정점(dual vertices)을 형성하여 구조를 유지한다.

실험 결과

연구 질문

  • RQ1입력 희소성에 가까운 시간 내에서 랭크 증가가 제한된 조건에서 텐서 트레인 분해에 대해 (1+ε)-근사값을 달성할 수 있는가?
  • RQ2모드 수 q에 대해 지수적 의존 없이 고차원 텐서 트레인에 대해 부분공간 임bedding을 효율적으로 구성할 수 있는가?
  • RQ3다항식 시스템 해법기반 의존 없이도 텐서 분해에 대해 FPT 알고리즘을 설계할 수 있으며, 이들의 런타임과 성공 확률 간의 상호 교환 관계는 어떠한가?
  • RQ4텐서 트레인 및 터커 분해에서 상대 오차 근사값을 달성하기 위해 필요한 최소한의 랭크 증가량은 얼마인가?
  • RQ5프레임워크는 트리 구조를 초월한 일반 텐서 네트워크로 확장할 수 있으며, 임bedding의 구조는 근사 품질에 어떤 영향을 미치는가?

주요 결과

  • 제안된 알고리즘은 O(q·nnz(A)) 시간 내에서 이중기준 랭크 O(qk/ε)를 사용해 텐서 트레인 분해에 대해 (1+ε)-근사값을 달성하며, 이는 이전의 O(qr²·nnz(A)) + n·poly(qk/ε) 방법보다 최소 k² 배 이상 향상된다.
  • 이 방법은 텐서 트레인 분해에 대해 입력 희소성에 가까운 상대 오차 근사값 알고리즘을 제공하며, 이는 기존의 최고 수준의 근사 품질을 유지하면서도 훨씬 빠른 런타임을 제공한다.
  • 고정 매개변수 가역성(FPT) 알고리즘의 경우, 단지 k개의 행을 갖는 가우시안 부분공간 임bedding만을 사용하여 CP, 터커, 텐서 트레인 분해에 대해 FPT 런타임을 달성하며, 이전 연구에서 사용된 복잡한 다항식 시스템 해법기반 방법을 피한다.
  • 부분공간 임bedding 기법은 랭크 수가 q에 대해 다항식으로 증가함으로써 차원의 저주를 피한다.
  • 프레임워크는 트리 텐서 네트워크 및 임의의 그래프 기반 텐서 네트워크로 일반화되며, 임bedding의 코어가 Countsketch 행렬인 구조적 텐서 네트워크로 구성된다.
  • 특히 반복적 랭크 탐색이 필요 없고 더 강력한 이론적 보장을 제공함으로써, 이전의 [HSW17] 및 [LYB19] 연구 대비 런타임과 랭크 제어 측면에서 뛰어난 성능을 보인다.

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.