A Probit Tensor Factorization Model For Relational Learning

Ye Liu, Rui Song, Wenbin Lu, Yanghua Xiao

TL;DR

The Probit Tensor Factorization (PTF) model offers a "best of both worlds" solution for link prediction in knowledge graphs. It combines the computational efficiency of classic Gaussian tensor models with the high prediction accuracy of binary-focused logistic models, while properly distinguishing between "missing" and "invalid" data under the Open World Assumption.

What Problem Does This Paper Address?

Relational learning involves predicting missing links in knowledge graphs—structured databases that store facts as triplets (subject, predicate, object). Traditionally, researchers have used tensor factorization to solve this, representing the graph as a 3D block of data.

However, two major hurdles remained:

  1. The Gaussian Trap: Most models assume the data follows a Gaussian (continuous) distribution. But relational data is inherently binary (a relation either exists or it doesn't). While logistic models exist to handle this binary nature, they are notoriously slow because they require calculating dense matrices, making them scale poorly to large datasets.
  2. The "Missing" vs. "Invalid" Confusion: Many models operate under the Closed World Assumption (CWA), treating unobserved relations as definitively false. In reality, many unobserved relations are simply "missing" (we don't know yet), while others are "invalid" (impossible based on entity types). Failing to distinguish between these leads to a significant loss of information.

Methods

The authors introduce Probit Tensor Factorization (PTF). Instead of a logistic link, they use a probit link to model the binary nature of the data.

The Core Mechanism: * Latent Variables: They introduce a latent (hidden) continuous variable $Z$. If $Z$ is positive, the relation exists; if negative, it doesn't. * EM Algorithm: To fit the model, they use an Expectation-Maximization (EM) algorithm. * The Sparsity Trick: This is the technical highlight. In the "M-step" of their algorithm, they show that they only need to compute sparse matrices ($M_k$) rather than the dense matrices required by logistic models. This allows the model to inherit the speed of the classic RESCAL model while maintaining the statistical rigor of a binary model. * Open World Assumption (OWA): The model treats known-to-be-invalid triplets differently from unknown triplets, allowing for more nuanced and accurate probabilistic inference.

Datasets

The model was evaluated on three standard benchmark datasets for relational learning:

  • UMLS: A medical semantic network containing 135 entities and 49 relation types (e.g., "affects", "causes").
  • Kinships: A dataset describing the Australian kinship system, featuring 104 tribe members and 26 types of relations.
  • Nations: A dataset of 56 binary relation types between 14 countries.

Key Insights and Ideas

  • Algorithmic Synergy: The choice of a probit link over a logistic link isn't just a statistical preference; it’s a strategic choice that enables the use of the EM algorithm in a way that preserves data sparsity. This is what allows the model to be both accurate and fast.
  • Probabilistic Interpretability: Unlike models that output arbitrary "scores," PTF outputs actual probabilities. This makes the results much easier for humans to interpret and use in downstream quantitative analysis.
  • Information Leverage: By adopting the Open World Assumption, the model extracts more "signal" from the data. It recognizes that "we don't know" is different from "this is impossible," leading to better generalization on unseen triplets.

Key Results

  • Superior Accuracy: PTF outperformed state-of-the-art models (including TransE, RESCAL, and RESCAL-Logit) across all three datasets. For example, it achieved a near-perfect AUC of 0.998 on the UMLS dataset.
  • Efficiency Gains: In simulation studies, PTF was significantly faster than the RESCAL-Logit model. As the proportion of missing data increased, PTF’s runtime dropped significantly because it only processes known facts, whereas the logistic competitor's complexity remained high.
  • Robustness: The model showed strong performance even when the factorization rank (the complexity of the latent representations) was mis-specified, suggesting it is practical for real-world use where the "true" rank is unknown.

Limitations and Future Work

  • Symmetric Relations: While the current model is designed for asymmetric relations (where A relates to B, but B might not relate to A), the authors note that handling symmetric relations requires additional constraints that turn the update rules into a quadratic programming problem.
  • Prior Knowledge: The authors suggest that the model could be further improved by incorporating "type constraints" (e.g., a "Mammal" cannot "Cause" a "Diagnostic Procedure") and logical rules directly into the factorization process.
  • Scaling to Massive Graphs: While more efficient than previous binary models, the cubic complexity relative to the factorization rank ($r^3$) means that very high-rank approximations of massive graphs (like the full Google Knowledge Graph) would still be computationally demanding.

Summary updated

BibTeX
@article{liu2022probit,
  author = {Ye Liu and Rui Song and Wenbin Lu and Yanghua Xiao},
  title = {{A Probit Tensor Factorization Model For Relational Learning}},
  journal = {J. Comput. Graph. Stat.},
  year = {2022},
  doi = {10.1080/10618600.2021.2003204},
}
Figure