Abstract
Multi-relational networks, where objects share multiple types of relationships, are common in real-world data. Predicting missing links in these networks is challenging due to data sparsity and the presence of mixed relationship types (e.g., binary and continuous). This paper presents Multi-relational Weighted Tensor Decomposition (MrWTD), a modular framework that addresses these challenges. By employing a weighted objective function that ignores unobserved data and allowing for task-specific loss functions, MrWTD achieves superior accuracy and scalability compared to traditional tensor factorization methods.
Introduction
Real-world networks are often multi-relational. For instance, in a social network, two individuals might be colleagues, family members, and friends simultaneously. Such data is naturally represented as a 3D tensor (objects $\times$ objects $\times$ relations). The primary task is link prediction: identifying unobserved relationships based on a sparse set of known ones.
Existing methods like RESCAL often struggle with two issues: first, naively treating unobserved entries as zeros (negative examples) can bias the model; second, using a single loss function (typically Mean Squared Error) is sub-optimal for tensors containing both binary and continuous relations.
The MrWTD Framework
MrWTD models the multi-relational tensor using a low-rank decomposition with shared latent factors.
As shown in Figure 1, the model learns a global latent factor matrix $A$ for all objects. Each relation $k$ is characterized by an interaction matrix $R_k$ and a bias term $b_k$. A key innovation is the mapping function $\Phi_k$, which allows the application of modular loss functions tailored to the data type of each relation slice. For example, a smooth hinge loss can be used for binary slices, while quadratic loss is applied to continuous ones.
Furthermore, MrWTD introduces a weighting tensor $W$. By setting weights to zero for unobserved entries, the model avoids fitting "phantom zeros," focusing only on known data. This weighted approach also enables efficient optimization via L-BFGS, as gradients are only computed for observed entries.
Evaluation and Results
The authors evaluated MrWTD on synthetic and real-world datasets, including Kinship, Reality Mining, and Social Evolution.
Key findings include:
- Improved Accuracy in Sparse Regimes: As seen in Figure 4, MrWTD variants (Hinge and Logistic) consistently outperform baselines like RESCAL and MMMF, especially when training data is limited (e.g., 5-10%).
- Effective Information Transfer: In mixed datasets, the shared latent factors allow MrWTD to leverage information from continuous relations to improve predictions on sparse binary relations.
- Scalability: By exploiting sparsity, MrWTD scales significantly better than competitors. In tests with up to 8,000 objects, MrWTD-H was nearly 4x faster than RESCAL, while Bayesian methods like BPTF failed due to memory constraints.
Conclusion
MrWTD provides a flexible and efficient framework for multi-relational learning. Its ability to handle mixed data types through modular loss functions and its robustness to sparsity through weighted decomposition make it a powerful tool for large-scale link prediction tasks. Future work includes exploring hashing techniques for even greater scalability and establishing theoretical bounds on generalization error.
Summary updated