Random Tensor Theory for Tensor Decomposition

Mohamed Ouerfelli, Mohamed Tamaazousti, Vincent RivasseauAAAI 2022

Abstract

We propose a new framework for tensor decomposition based on trace invariants, which are particular cases of tensor networks. In general, tensor networks are diagrams/graphs that specify a way to "multiply" a collection of tensors together to produce another tensor, matrix or scalar. The particularity of trace invariants is that the operation of multiplying copies of a certain input tensor that produces a scalar obeys specific symmetry constraints. In other words, the scalar resulting from this multiplication is invariant under some specific transformations of the involved tensor. We focus our study on the O(N)-invariant graphs, i.e. invariant under orthogonal transformations of the input tensor. The proposed approach is novel and versatile since it allows to address different theoretical and practical aspects of both CANDECOMP/PARAFAC (CP) and Tucker decomposition models. In particular we obtain several results: (i) we generalize the computational limit of Tensor PCA (a rank-one tensor decomposition) to the case of a tensor with axes of different dimensions (ii) we introduce new algorithms for both decomposition models (iii) we obtain theoretical guarantees for these algorithms and (iv) we show improvements with respect to state of the art on synthetic and real data which also highlights a promising potential for practical applications.

Introduction

Tensors, or multi-dimensional arrays, are fundamental in modern artificial intelligence, serving roles from multi-modal data fusion to neural network compression. However, decomposing a noisy tensor to uncover its latent structure is a notoriously difficult task, often classified as NP-hard. While matrix decomposition tools like Singular Value Decomposition (SVD) are robust, tensors present unique challenges because their "eigenvalues" are mathematically complex and computationally expensive to determine. Traditional methods such as Higher-Order SVD (HOSVD) or CP decomposition frequently fail in low signal-to-noise ratio (SNR) environments. This research bridges the gap between theoretical physics and practical data science by introducing a framework based on Random Tensor Theory (RTT) to extract signals from extreme noise.

Methodology: Trace Invariants and Graph Theory

The core innovation of this work is the application of Trace Invariants from Random Tensor Theory. This approach represents complex tensor contractions—the process of multiplying tensors and summing over their indices—as colored graphs.

Examples of trace invariants as graphs, including the Melon (b) and Tetrahedral (c) structures.

In this framework, different graph topologies correspond to different invariant operations. For instance, a "Melon" graph represents a simple contraction, while a "Tetrahedral" graph represents a more complex, highly symmetric interaction. To transform a tensor problem into a solvable matrix problem, the authors employ an "edge cutting" technique. By "cutting" an edge of a graph, they produce an $n \times n$ matrix $M_{G,e}$. The spectral properties of this matrix, specifically its eigenvalues and eigenvectors, encode the hidden signal of the original tensor.

This methodology reveals that standard techniques like "Tensor Unfolding" are essentially the simplest instances of this graph-based approach (corresponding to the Melon graph). By moving to more complex structures like the Tetrahedral graph, the authors developed algorithms that are significantly more resilient to noise.

Experimental Results and Insights

The framework was validated using both synthetic and real-world datasets. Synthetic experiments focused on high-dimensional tensors corrupted with Gaussian noise to identify the "Phase Transition"—the threshold where an algorithm can successfully distinguish signal from noise.

Comparison of signal recovery performance between tetrahedral and melon-based algorithms across varying signal-to-noise ratios.

Key findings include:

  • Breaking the Noise Barrier: In Tensor PCA tasks, the Tetrahedral method successfully recovered signals at SNR levels where traditional unfolding methods failed.
  • Superior Denoising: On the Yale Face Database B, the proposed Tetra-HOOI algorithm consistently achieved lower Frobenius norm error than standard HOOI and HOSVD methods across various noise intensities.
  • Asymmetric Phase Transitions: A new theoretical threshold was discovered for asymmetric tensors. When one dimension is significantly larger than others, signal recovery follows a different mathematical law, which this framework successfully predicts.

Conclusion

This research provides a unified "recipe" for designing tensor decomposition algorithms. By selecting different graph topologies, researchers can tailor algorithms to specific noise profiles or tensor structures. While the Tetrahedral approach is more computationally intensive than simple unfolding, its resilience in high-noise regimes offers a significant advantage. Future work will explore even more complex graph topologies and non-Gaussian noise distributions to further push the boundaries of tensor recovery.

Summary updated

BibTeX
@inproceedings{ouerfelli2022random,
  author = {Mohamed Ouerfelli and Mohamed Tamaazousti and Vincent Rivasseau},
  title = {{Random Tensor Theory for Tensor Decomposition}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2022},
  url = {https://openreview.net/forum?id=tlFoTwIbf9y},
}
Figure