Abstract
Canonical Polyadic (or CANDECOMP/PARAFAC, CP) decompositions (CPD) are widely applied to analyze high order tensors. Existing CPD methods use alternating least square (ALS) iterations and hence need to unfold tensors to each of the $N$ modes frequently, which is one major bottleneck of efficiency for large-scale data and especially when $N$ is large. To overcome this problem, in this paper we proposed a new CPD method which converts the original $N$th ($N>3$) order tensor to a 3rd-order tensor first. Then the full CPD is realized by decomposing this mode reduced tensor followed by a Khatri-Rao product projection procedure. This way is quite efficient as unfolding to each of the $N$ modes are avoided, and dimensionality reduction can also be easily incorporated to further improve the efficiency. We show that, under mild conditions, any $N$th-order CPD can be converted into a 3rd-order case but without destroying the essential uniqueness, and theoretically gives the same results as direct $N$-way CPD methods. Simulations show that, compared with state-of-the-art CPD methods, the proposed method is more efficient and escape from local solutions more easily.
Introduction
Canonical Polyadic Decomposition (CPD), also known as PARAFAC, is a cornerstone of tensor analysis used to find latent patterns in multi-dimensional data, such as space-time-frequency-subject data in neuroscience. The standard approach to solving CPD is through Alternating Least Squares (ALS). However, ALS has a major flaw: for an $N$-th order tensor, it must "unfold" (flatten) the tensor into $N$ different matrix representations in every single iteration. When $N$ is large or the data is massive, this constant memory shuffling becomes a significant performance bottleneck. Furthermore, if the components in the data are highly correlated (collinear), standard algorithms often get stuck in "local minima," failing to find the true underlying patterns.
Methods: Mode Reduction CPD (MRCPD)
The authors propose a framework called MRCPD (Mode Reduction CPD). Instead of tackling the $N$-th order tensor head-on, the process follows three main steps:
- Mode Reduction: The $N$ modes of the original tensor are merged into just three modes using the Khatri-Rao product. For example, a 5th-order tensor is reshaped into a 3rd-order tensor where some dimensions are combinations of the originals.
- Core Decomposition: A standard, highly optimized 3rd-order CPD algorithm is run on this reduced tensor to find three "merged" factor matrices.
- Khatri-Rao Product Projection (KRProj): The merged factor matrices are then "unpacked" back into the original $N$ factor matrices using an efficient procedure based on Singular Value Decomposition (SVD) or power iterations.
The key mathematical innovation is proving that this reduction preserves the "essential uniqueness" of the decomposition. Surprisingly, merging modes actually makes the problem easier to solve; the columns of the merged factor matrices become less collinear than the original ones, helping the algorithm escape local solutions.
Key Results
The paper evaluates MRCPD using synthetic 5th-order tensors and the real-world COIL-100 image database. The results demonstrate that by reducing the problem to three modes, the algorithm avoids the "frequent unfolding" problem and only deals with high-dimensional complexity during the final, computationally cheap "unpacking" step.
- Speed: In 5th-order synthetic tests, MRCPD was approximately 42 times faster than standard CP-ALS (1.4 seconds vs. 59.2 seconds). On the COIL-100 image clustering task, MRCPD was over 12 times faster than standard ALS while providing slightly higher clustering accuracy (67% vs 63.8%).
- Reliability: MRCPD achieved a 100% Global Convergence Rate, meaning it found the correct solution in every trial. In contrast, standard methods like nPARAFAC and CP-ALS only converged globally 30-34% of the time on the same data.
Conclusion and Future Work
MRCPD provides a robust and efficient alternative to standard CPD methods, particularly for high-order tensors. The primary limitation involves Truncated CPD; when seeking a low-rank approximation for noisy data, the mode reduction approach might yield a slightly different error bound than direct $N$-way decomposition. Future work could involve extending this logic to other tensor decompositions like Tucker or exploring adaptive ways to choose which modes to merge based on the data's signal-to-noise ratio.
Summary updated