Abstract
Probabilistic approaches for tensor factorization aim to extract meaningful structure from incomplete data by postulating low-rank constraints. Recently, variational Bayesian (VB) inference techniques have successfully been applied to large-scale models. This paper presents full Bayesian inference via VB on both single and coupled tensor factorization models. Our method can be run even for very large models and is easily implemented. It exhibits better prediction performance than existing approaches based on maximum likelihood on several real-world datasets for the missing link prediction problem.
Introduction
In many real-world scenarios, such as recommender systems or social network analysis, data is inherently multi-way. Instead of a simple 2D matrix (e.g., User x Item), we often encounter tensors (e.g., User x Item x Context). A primary goal in analyzing these structures is Link Prediction: predicting missing entries, such as whether a user will visit a specific location for a particular activity.
Traditional methods like Non-negative Matrix Factorization (NMF) or CP/Tucker decomposition typically rely on Maximum Likelihood (ML) estimation via Expectation-Maximization (EM). However, these point-estimate methods face significant hurdles, including overfitting when the model rank is too high and difficulty converging on meaningful structures when data is extremely sparse (often 99% empty).
Methodology
This work extends the Probabilistic Latent Tensor Factorization (PLTF) and Generalized Coupled Tensor Factorization (GCTF) frameworks into the Bayesian domain using Variational Inference (VB).
The Probabilistic Model
The authors utilize a Poisson observation model, which is mathematically equivalent to minimizing Kullback-Leibler divergence. To ensure non-negativity and conjugacy, Gamma priors are placed on the latent factors. Unlike EM, which finds a single "best" value for factors, VB approximates the entire posterior distribution. The derived fixed-point update equations incorporate expectations via digamma functions, maintaining a structure similar to standard EM rules.
Coupled Factorization
The GCTF-VB model allows multiple tensors to share latent factors. For example, a "User-Location-Activity" tensor can be factorized simultaneously with a "User-User" friendship matrix. This coupling allows information to "leak" from auxiliary datasets to improve predictions in the primary tensor, particularly in cold-start scenarios.
Datasets and Experimental Setup
The model was evaluated on both real-world and synthetic datasets:
- UCLAF: A GPS dataset containing User-Location-Activity triplets, supplemented by user preferences and location features.
- Digg: A large-scale social news dataset used to predict user comments and "diggs."
- Synthetic Tensors: Large-scale arrays (up to $1000 \times 1000 \times 1000$) used to benchmark computational scalability and stability.
Key Results
Superior Accuracy and Robustness
The VB approach exhibits implicit self-regularization, making it naturally immune to overfitting. While EM performance degrades significantly if the latent rank ($R$) is set too high, the VB model's performance remains stable. In the UCLAF dataset with 90% missing data, GCTF-VB achieved an AUC of 0.939, significantly outperforming GCTF-EM's 0.869.
Scalability
Despite being a full Bayesian method, the VB update rules have a computational complexity of $O(N)$, where $N$ is the number of non-missing entries. This efficiency allows the model to scale to massive datasets.
As demonstrated in synthetic benchmarks, the algorithm successfully factorized a $1000^3$ tensor with 12.5 million known values in approximately 3 hours, maintaining a consistently low RMSE (~0.20) across multiple test runs.
Conclusion
Variational Bayesian inference for tensor factorization provides a robust, scalable alternative to traditional maximum likelihood methods. By integrating out parameters, the model avoids overfitting and handles extreme sparsity effectively. While hyperparameter sensitivity remains a consideration, the ability to incorporate side information through coupling makes this framework highly effective for complex link prediction tasks. Future research may explore extending this framework to other divergences and automating latent rank selection.
Summary updated