Abstract
Tensor decomposition is a fundamental tool in data science, yet most variants are notoriously NP-hard. This paper proves that finding the rank-one "principal component" of a nonnegative tensor using Kullback-Leibler (KL) divergence is actually computationally easy. We provide a closed-form solution for the rank-one case and an efficient, parallelizable Expectation-Maximization (EM) algorithm for higher-rank approximations. Our results on real-world data demonstrate that this approach effectively captures latent structures in an unsupervised manner.
Introduction
Tensors, or multi-dimensional arrays, are essential for modeling complex, multi-way interactions in datasets ranging from genomics to recommendation systems. However, the computational complexity of tensor problems often limits their application. While Least-Squares (L2) loss is standard due to its mathematical convenience, Kullback-Leibler (KL) divergence is statistically superior for nonnegative data like counts or intensities. This work addresses whether KL-based tensor approximation inherits the NP-hardness typical of the field.
Theoretical Breakthrough: Rank-One Convexity
The authors focus on Nonnegative Canonical Polyadic Decomposition (NCPD). By imposing a sum-to-one constraint on the columns of the factor matrices—a standard technique to resolve scaling ambiguity—they reveal that the rank-one ($K=1$) optimization problem is convex. This finding fundamentally distinguishes KL-based rank-one approximation from other tensor problems that remain NP-hard even at rank one.
The optimal "principal component" in this case is remarkably intuitive: it is simply the product of the tensor's marginals (sums along each dimension). Thus, the best single-component summary under KL loss can be computed directly through normalization.
The Naive Bayes Connection
A key theoretical contribution is the formal link established between tensor decomposition and probabilistic modeling. The paper proves that minimizing the generalized KL divergence of a tensor is mathematically equivalent to performing Maximum Likelihood Estimation (MLE) on a Naive Bayes model.
In this model, a latent variable $\Xi$ governs the observed features $X_1, \dots, X_N$. This connection allows tensor decomposition to be viewed through the lens of well-understood statistical inference techniques.
EM Algorithm for Higher-Rank Approximations
For approximations with rank $K > 1$, the problem loses its simple convexity. To address this, the authors derive an Expectation-Maximization (EM) algorithm. Unlike traditional alternating least squares or multiplicative update rules that update factors sequentially, this EM algorithm allows for simultaneous updates of all factors. This "embarrassingly parallelizable" property makes it highly suitable for modern multi-core architectures, enabling the processing of massive datasets.
Experimental Evaluation
The proposed methods were tested on the Iris dataset from the UCI Machine Learning repository. The 150 samples were discretized into a 4-way count tensor of dimensions $37 \times 25 \times 60 \times 25$.
In a completely unsupervised setting, the EM algorithm learned conditional probability distributions that were strikingly close to those obtained via supervised learning. This suggests that the KL-based decomposition is highly effective at recovering the true underlying structure of the data without requiring labels.
Conclusion
This work demonstrates that KL-based tensor decomposition is more computationally tractable than previously assumed. By proving the convexity of the rank-one case and providing an efficient EM algorithm for higher ranks, the authors provide a robust framework for unsupervised learning on multi-dimensional data. Future research will explore the application of these methods to large-scale, sparse tensors in genomics and web-scale analytics.
Summary updated