Abstract: Tensor decomposition is a fundamental tool for analyzing multi-dimensional data, typically requiring complete index information for each observation. However, real-world data often contain missing indices, such as tweets without location tags. This paper presents a probabilistic tensor decomposition framework that treats missing indices as latent variables. Using a variational MAP-EM algorithm, the proposed method leverages incomplete samples to improve decomposition accuracy. Experiments on synthetic and Twitter datasets demonstrate that this approach significantly outperforms baselines that discard or mismanage incomplete data.
Introduction
In multi-dimensional data analysis, tensors represent complex relationships between entities, such as (User, Keyword, Location). Standard tensor decomposition techniques, like CP decomposition, are widely used for data completion and pattern discovery. These methods typically assume that for every observed value, the corresponding indices (coordinates) are known.
In practice, however, indices are frequently missing. For example, in a Twitter dataset, while user and hashtag information is usually available, location data is often absent. Traditional approaches face a dilemma: they either discard these incomplete samples, losing valuable partial information, or simplify the model by removing the missing dimension entirely, losing the ability to analyze that mode. This paper addresses the challenge of performing tensor decomposition when indices are partially missing, proposing a method to utilize the "unknown" as a source of signal rather than noise.
Methodology
The authors propose a probabilistic generative model where missing indices are treated as latent variables. Unlike standard models where indices $i, j, k$ are fixed for an observation $x$, this framework assumes that if an index is missing, it is drawn from a latent distribution (initially categorical uniform).
As shown in Figure 1, the model incorporates observed indices ($\hat{i}, \hat{j}, \hat{k}$) and latent indices ($i, j, k$) that generate the observed value $x$ based on latent factors $\Theta$. To perform inference, the authors derive a Variational MAP-EM (Expectation-Maximization) algorithm:
- E-step: The model estimates the probability distribution ($q$) of the missing indices. It essentially asks: "Given what I know about this user and this hashtag, which location was this tweet most likely from?"
- M-step: The model updates the latent factors (the underlying patterns for Users, Hashtags, and Locations) by maximizing the Variational Lower Bound (VLB).
This approach is highly flexible; while the authors use CP decomposition as their primary example, the framework can theoretically be integrated into various tensor models.
Experimental Evaluation
The model was evaluated using two primary sources: synthetic datasets and a real-world Twitter dataset. Synthetic tests involved $10 \times 10 \times 10$ tensors with varying sample densities ($S=1$ for sparse, $S=10$ for dense). The missing ratio $\alpha$ was varied from 0 to 0.9 to assess robustness. The Twitter dataset comprised approximately 13 million geotagged tweets, processed into a $25,297 \times 2,616 \times 49$ tensor (User x Hashtag x State).
Figure 2 illustrates the results. In the large synthetic dataset (a), the proposed MAP-EM method consistently achieved the lowest Root Mean Square Error (RMSE), significantly outperforming Coupled Matrix-Tensor Factorization (CMTF) and the "Minimal" baseline which only uses complete samples.
In the sparse synthetic case (b), the results highlight a "small data trap" where simpler assumptions (Uniform or Prior distributions) can sometimes match or exceed full EM inference due to the difficulty of estimating latent distributions from very few samples. On the Twitter data (c), the proposed methods maintained higher AUC scores compared to baselines as the missing ratio increased, proving the utility of incomplete samples in real-world scenarios. Even when 50% of location indices were missing, the model maintained high predictive accuracy.
Conclusion
This research demonstrates that incomplete data samples with missing indices contain significant information that can be recovered through probabilistic modeling. By treating missing indices as latent variables, the proposed framework improves tensor completion accuracy and provides a more robust analysis of sparse, real-world datasets. Future work includes exploring different noise distributions, such as Poisson for count data, and establishing theoretical bounds for index recovery.
Summary updated