Efficient Tensor Decomposition via Moment Matrix Extension

Bobby Shi, Julia Lindberg, Joe KileelarXiv 2025 · DOI

Abstract

Tensor decomposition, specifically Canonical Polyadic (CP) decomposition, is a fundamental tool in signal processing, medical imaging, and latent variable estimation. While matrix factorization is computationally efficient, tensor decomposition is generally NP-hard. Traditional efficient algorithms often rely on simultaneous diagonalization, which is limited to low-rank, identifiable tensors. This paper presents a significant advancement in the Moment Matrix Extension (MME) framework, demonstrating that the decomposition problem can often be reduced to a system of linear equations. By leveraging the regularity of decompositions, the authors provide proofs for increased rank thresholds and propose a conjecture that pushes the efficiency boundary for order-4 tensors to $O(n^2)$.

Introduction

Canonical Polyadic (CP) decomposition serves as the multi-dimensional analogue to matrix factorization. Despite its broad utility across scientific disciplines, the transition from two-dimensional matrices to higher-order tensors introduces significant computational complexity. While matrix rank is easily handled in polynomial time, determining tensor rank and finding the corresponding decomposition is NP-hard in the general case.

Existing "efficient" methods typically utilize simultaneous diagonalization. While these methods are fast, they are constrained by strict requirements: they generally only function when the rank $r$ is less than the dimension $n$ ($r < n$) and require the decomposition to be unique (identifiable). This research addresses these limitations by revisiting and optimizing the Moment Matrix Extension (MME) algorithm, originally proposed by Brachat et al. (2010), to handle higher-rank and non-unique cases.

Methodology: The MME Framework

The core of the MME approach involves "extending" a given tensor into a higher-order structure by filling in missing entries (moment variables). This extension is performed such that the resulting structure—a Hankel matrix—maintains a specific rank. The authors introduce several technical innovations to make this process computationally viable:

Regularity-Based Complexity

The researchers identify that the true bottleneck for decomposition is not simply the rank $r$, but the "regularity" of the decomposition. Regularity measures the linear independence of components when raised to higher powers. By focusing on regularity, the authors can more accurately predict when a tensor can be efficiently decomposed.

Linearization of Polynomial Systems

Perhaps the most significant insight of the paper is that for even-order tensors (such as order-4), if the regularity is sufficiently low, the complex polynomial equations typically required by MME collapse into a system of linear equations. This transformation allows the use of standard, high-performance linear algebra solvers instead of heavy symbolic algebra packages.

Algorithmic Workflow

The paper introduces Algorithm 4 (Efficient Minimal Rank Decomposition). This workflow identifies a valid basis, establishes linear determinantal relations, and solves for the components. Additionally, the authors developed a specialized algorithm for Monomial Decomposition, addressing tensors that are single monomials—cases that are notoriously difficult due to their non-unique (nonidentifiable) nature.

Theoretical Contributions and Rank Thresholds

The paper establishes new benchmarks for the density of tensors that can be decomposed efficiently:

  1. Proven Bounds: For order-4 tensors, the authors prove that decomposition generically reduces to a linear system for ranks $r \leq 2n+1$. This effectively doubles the capacity of standard simultaneous diagonalization methods.
  2. The $O(n^2)$ Conjecture: Based on numerical evidence, the authors formulate a conjecture that the threshold for efficient decomposition of order-4 tensors is actually $O(n^2)$. Specifically, they suggest a leading coefficient of approximately $0.43$. This represents a substantial improvement over previous state-of-the-art estimates, which hovered around $0.16n^2$.
  3. Handling Nonidentifiability: The research demonstrates that MME can explicitly parameterize the entire space of possible decompositions for non-unique cases, proving that lack of uniqueness is not an inherent barrier to algorithmic efficiency.

Numerical Verification

To validate their theoretical findings, the authors conducted extensive numerical experiments using the Nemo.jl Julia package. They performed exact arithmetic over finite fields to verify rank conjectures for dimensions $n=2$ through $n=17$. These computer-assisted proofs confirm that the linear system approach remains valid and efficient within the predicted thresholds. The authors have provided an open-source Julia implementation that relies exclusively on linear algebra, ensuring the method is accessible for practical applications.

Limitations and Future Directions

While the paper marks a significant step forward, several areas remain for future exploration:

  • Generalizing the Conjecture: While the $O(n^2)$ threshold is supported by evidence up to $n=17$, a general mathematical proof for all $n$ is still required.
  • Higher-Order Complexity: The current analysis is most refined for order-4 tensors. Extending these precise counts of equations and variables to order-6 and beyond presents significant combinatorial challenges.
  • Numerical Stability: The current study assumes exact arithmetic. Future work must investigate the sensitivity of these linear systems (condition numbers) when applied to noisy, real-world data.
  • Alternative Flattenings: The authors suggest that "Young flattenings" may provide even more powerful defining equations than the Hankel matrices used in this study, potentially further raising the rank thresholds for efficient decomposition.

Summary updated

BibTeX
@misc{shi2025efficient,
  author = {Bobby Shi and Julia Lindberg and Joe Kileel},
  title = {{Efficient Tensor Decomposition via Moment Matrix Extension}},
  year = {2025},
  eprint = {2506.22564},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2506.22564},
}
Figure