Probabilistic Latent-Factor Database Models

Denis Krompass, Xueyan Jiang, Maximilian Nickel, Volker Tresp

Introduction

Relational learning research has traditionally concentrated on "triple stores," which represent simple subject-predicate-object relationships (e.g., Alice knows Bob). However, real-world databases frequently involve more complex structures, including relations with higher arity (more than two entities) and target variables that are not strictly binary. Predicting numerical ratings, medication dosages, or event frequencies requires a more flexible framework. This paper introduces a unified approach for modeling probabilistic databases using latent-factor methods, such as tensor factorization and neural networks, capable of handling diverse data types while maintaining computational scalability.

Methodology

The proposed framework treats database relations as tensors or neural network inputs, employing several key components:

  • Generalized Likelihood Models: To accommodate various data types, the authors utilize the exponential family of distributions. This includes Bernoulli distributions for binary existence, Gaussian distributions for continuous values, and Poisson or Binomial distributions for count data.
  • Factorization Framework: The models extend RESCAL, a state-of-the-art tensor factorization technique, to both multi-task settings (unique parameters per relation) and single-task settings (shared latent space).
  • Neural Extensions: The framework incorporates Neural Tensor Networks and the "Google Vault" model, demonstrating that these can be interpreted as specific instances of a general latent-factor approach.
  • Optimization Strategies: The authors evaluate various optimization methods, noting that Alternating Least Squares (ALS) is particularly effective for Gaussian models, while Stochastic Gradient Descent (SGD) is preferred for ranking-based models.

Experimental Setup

The models were evaluated on three standard relational learning benchmarks:

  1. Kinship: 104 entities and 26 relations describing social structures in the Alwayarra tribe.
  2. Nations: 14 entities and 56 relations concerning international interactions.
  3. UMLS: 135 entities and 49 relations from the Unified Medical Language System.

Results and Discussion

Efficiency and the "Gaussian Shortcut"

A significant practical finding is the efficiency of the "Gaussian shortcut"—using a Gaussian likelihood (squared error) with ALS optimization. Despite being a theoretical mismatch for binary or count data, this approach provides excellent predictive results and is orders of magnitude faster than more complex likelihood models. For instance, on the Kinship dataset, RESCAL with Gaussian loss trained in just 1.9 seconds, compared to approximately 300 seconds for exponential family models using natural parameters.

Predictive Accuracy

While Gaussian-based models are efficient, the Bernoulli model with natural parameters ("natBern") achieved superior Area Under the Precision-Recall Curve (AUPRC) on the Nations (0.850) and Kinship (0.980) datasets.

AUPRC results for binary data across Nations, Kinship, and UMLS datasets.

For count data, Poisson and Binomial models using natural parameters yielded the best results. However, a log-transformed RESCAL model ("RES-P") served as a highly competitive and faster alternative.

Model Ensembles and Combined Power

The research indicates that no single model is universally superior. The highest predictive accuracy was often achieved by combining RESCAL with "SUNS" models, which capture local interactions like subject-predicate correlations. The "Combined" model reached top scores across all benchmarks, including an AUPRC of 0.886 on the Nations dataset.

Predictive performance of combined models (RESCAL + SUNS) compared to individual components.

Conclusion

This work demonstrates that latent-factor models can be generalized to handle the complexities of real-world probabilistic databases. While specialized likelihood models offer peak accuracy, the Gaussian shortcut provides a compelling balance of speed and performance. Future work will explore the integration of "local rules" and hard type-constraints directly into the factorization process to further enhance scalability and accuracy.

Summary updated

BibTeX
@inproceedings{krompass2014probabilistic,
  author = {Denis Krompass and Xueyan Jiang and Maximilian Nickel and Volker Tresp},
  title = {{Probabilistic Latent-Factor Database Models}},
  booktitle = {LD4KD},
  year = {2014},
}
Figure