Tensor Factorization via Matrix Factorization

Volodymyr Kuleshov, Arun Tejasvi Chaganty, Percy Liang

Abstract

Tensor factorization arises in many machine learning applications, such as knowledge base modeling and parameter estimation in latent variable models. However, numerical methods for tensor factorization are often computationally expensive and sensitive to noise. This paper introduces a simple yet powerful framework that reduces tensor factorization to a set of matrix factorization problems. By using random projections followed by a "plug-in" refinement step, the authors leverage mature, highly optimized matrix diagonalization algorithms to outperform traditional tensor-based methods in both accuracy and speed, even for noisy, non-orthogonal, and asymmetric data.

Introduction

Tensors—multi-dimensional arrays—are vital for capturing high-order relationships in data, such as those found in topic modeling, community detection, and latent variable models. However, factorizing a tensor into its constituent factors is notoriously difficult. Unlike matrix factorization, tensor problems are often NP-hard, sensitive to noise, and plagued by "identifiability" issues. Existing methods like the Tensor Power Method (TPM) or Alternating Least Squares (ALS) often struggle with local optima or require the factors to be perfectly orthogonal. Previous attempts to simplify tensors into matrices were criticized for being overly sensitive to the "eigengap"—the distance between eigenvalues—meaning a tiny bit of noise could lead to a total failure in recovery.

Methodology: From Tensors to Matrices

The authors propose a two-stage algorithm that transforms the 3D tensor problem into a 2D matrix problem:

  1. Random Projections: They first project the tensor onto a small set of random vectors. This "flattens" the tensor into several matrices. Because these matrices share the same underlying factors, they can be simultaneously diagonalized.
  2. Plug-in Refinement: The first step provides a rough estimate of the factors. In the second stage, they project the tensor again, but this time using their estimated factors instead of random ones. This "plug-in" approach significantly sharpens the accuracy.
Comparison of random vs. plug-in projections in orthogonal and non-orthogonal cases.

To handle the matrix math, they use the Jacobi method for orthogonal cases and the QRJ1D algorithm for non-orthogonal cases. This allows them to benefit from decades of research into stable, efficient matrix computations. A key theoretical insight is that just $O(\log k)$ random projections are enough to guarantee a healthy eigengap, bypassing the stability issues that hindered earlier matrix-reduction methods.

Experimental Evaluation

The researchers evaluated their approach on both synthetic and real-world data:

  • Synthetic Tensors: Randomly generated orthogonal and non-orthogonal tensors with varying noise levels.
  • Community Detection: A real-world Facebook friend network from an American university, where the goal was to identify student communities (dorms, majors, etc.).
  • Crowdsourcing: Four datasets (Web, RTE, Birds, and Dogs) containing annotations from multiple workers, used to predict the "true" labels of data points.

Key Results

The proposed method demonstrated significant improvements across several benchmarks:

  • Accuracy Boost: In non-orthogonal synthetic tests, their method was up to 3x more accurate than alternative state-of-the-art methods.
  • Community Detection: On the Facebook dataset, they achieved a 15% reduction in error compared to recent spectral approaches.
  • Crowdsourcing: Their algorithm (NOJD1) outperformed other tensor-based methods on three out of four datasets and even matched or beat complex Expectation-Maximization (EM) estimators.
Performance comparison on real-world crowdsourcing datasets.
  • Robustness: Unlike TPM, which requires strict orthogonality, this method handles "incoherent" (nearly overlapping) factors gracefully.

Conclusion and Future Work

While the method is robust, the authors note a few areas for improvement. The non-orthogonal version (QRJ1D) can still occasionally hit local optima, as general CP decomposition remains NP-hard. Additionally, as the order of the tensor increases, statistical noise may eventually limit the effectiveness of this reduction technique. Future research will also focus on providing a formal proof of global convergence for simultaneous diagonalization in all settings.

Summary updated

BibTeX
@inproceedings{kuleshov2015tensor,
  author = {Volodymyr Kuleshov and Arun Tejasvi Chaganty and Percy Liang},
  title = {{Tensor Factorization via Matrix Factorization}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2015},
  url = {https://openreview.net/forum?id=UIdhX2FOCu5},
}
Figure