Logistic Tensor Factorization for Multi-Relational Data

Maximilian Nickel, Volker TresparXiv 2013

Introduction

Multi-relational data, common in knowledge bases and social networks, consists of various types of connections between entities. Predicting missing links in these structures is a core challenge in machine learning. The state-of-the-art method, RESCAL, represents these relations as a three-dimensional adjacency tensor. However, the original RESCAL algorithm relies on a least-squares approach, which implicitly assumes that noise follows a Gaussian distribution. Since relational data is inherently binary (a relationship either exists or it does not), treating these values as continuous with Gaussian noise creates a fundamental model-data mismatch. This paper introduces RESCAL-Logit, which reformulates the problem using a logistic loss function to better align with the binary nature of the data.

Proposed Method: RESCAL-Logit

The authors propose a probabilistic interpretation of the RESCAL model to address the limitations of the squared-loss approach.

The Core Model

The model factorizes each slice of the tensor $X_k$ (representing the $k$-th relation) into the product $A R_k A^T$. Here, $A$ represents the latent representations of entities, while $R_k$ models the interactions between entities under a specific relation.

Plate notation for the probabilistic RESCAL model.

Logistic Shift and Optimization

Instead of minimizing squared differences, RESCAL-Logit uses a Bernoulli distribution to model the tensor entries. This leads to a logistic loss function (cross-entropy), which is more appropriate for binary classification. Because the logistic version lacks a closed-form solution like the original Alternating Least Squares (ALS) approach, the authors employ L-BFGS, a quasi-Newton optimization algorithm, to find optimal latent factors. To prevent overfitting, $L_2$ regularization is applied to both the entity matrix $A$ and the relation matrices $R_k$.

Experimental Evaluation

The performance of RESCAL-Logit was evaluated on four diverse benchmarks: Presidents (political relations), Kinships (tribal ties), Nations (international relations), and Bacteriome (protein interactions).

Key Results

Performance was measured using the Area Under the Precision-Recall Curve (AUPRC). As shown in the table below, RESCAL-Logit consistently outperformed the original RESCAL-ALS and other baseline methods like Markov Logic Networks (MLN) and Infinite Relational Models (IRM) in most scenarios.

Comparison of AUPRC scores across benchmark datasets.

The improvements were particularly significant in the Kinships and Bacteriome datasets. The model's strength lies in its ability to propagate information through latent variables—for instance, inferring a president's party based on their vice-president's affiliation—even when direct data is missing.

Discussion and Scalability

While RESCAL-Logit offers superior predictive accuracy, it introduces a trade-off in scalability. The logistic gradient requires the computation of a dense matrix ($A R_k A^T$), which prevents the algorithm from fully exploiting the sparsity of the adjacency tensor. Consequently, while the ALS version is highly efficient for massive datasets, the logistic version is currently more computationally expensive.

Conclusion

By aligning the statistical model with the binary nature of relational data, RESCAL-Logit significantly improves link prediction accuracy. Future work will focus on enhancing the scalability of this logistic approach, potentially through stochastic gradient methods, to enable its application to massive knowledge bases.

Summary updated

BibTeX
@misc{nickel2013logistic,
  author = {Maximilian Nickel and Volker Tresp},
  title = {{Logistic Tensor Factorization for Multi-Relational Data}},
  year = {2013},
  eprint = {1306.2084},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1306.2084},
}
Figure