Gradient-based boosting for statistical relational learning: the Markov logic network and missing data cases

Tushar Khot, Sriraam Natarajan, Kristian Kersting, Jude W. ShavlikMachine Learning 2015 · DOI

Abstract

This paper introduces a functional-gradient boosting approach to learn Markov Logic Networks (MLNs) by optimizing structure and weights simultaneously, drastically reducing computational overhead. Furthermore, it presents an EM-based framework (RFGB-EM) that allows these models to handle missing data effectively, moving beyond the restrictive "closed-world" assumption common in relational learning.

Introduction

Statistical Relational Learning (SRL) aims to combine the formal logic of AI with the uncertainty-handling capabilities of probability. Markov Logic Networks (MLNs) are a flagship model in this field, but they are notoriously difficult to train.

Traditional MLN learning is a grueling two-step process: first, you search for a logical structure (clauses), and then you run a heavy gradient descent to optimize the weights for those clauses. If you change the structure, you usually have to relearn all the weights from scratch. This makes the search space for rules incredibly expensive to explore. Additionally, most SRL methods rely on the Closed-World Assumption (CWA)—the idea that if a fact isn't observed, it must be false. In real-world datasets with missing entries, this assumption leads to biased and inaccurate models.

Methodology

The authors propose a "boosted" approach to MLNs that tackles both efficiency and missing data through three primary innovations:

1. Functional-Gradient Boosting

Instead of the two-step structure/weight dance, the authors use functional-gradient boosting to learn both at once. They represent the MLN's potential function as a sum of relational regression trees (RRTs). Each tree added to the model represents a refinement of the structure, and the leaf values provide the weights. This non-parametric approach allows the model to grow in complexity as needed based on the data, rather than being constrained by a fixed set of initial formulas.

A Relational Regression Tree (RRT) representing a component of the boosted MLN model.

2. Pseudo-Likelihood Optimization

To avoid the "partition function" problem—a computationally impossible normalization constant in Markov Networks—the authors optimize for the pseudo-likelihood. This is defined as the probability of an atom given its Markov Blanket, providing a tractable objective for the boosting process.

3. RFGB-EM for Missing Data

To handle unobserved facts, the authors integrate boosting with Expectation-Maximization (EM).

  • E-Step: Possible assignments for hidden variables are sampled using the current model (often via Gibbs sampling).
  • M-Step: The model is updated by fitting new regression trees to the gradients of both the observed and the sampled hidden data.

Experimental Evaluation

The authors evaluated their approach on several standard and synthetic benchmarks:

  • UW-CSE: A dataset of the University of Washington CS department, used to predict "advisedBy" relationships between students and professors.
  • IMDB: Movie data used to predict relationships like "workedUnder" and attributes like "genre."
  • WebKB: A collection of university webpages where the goal is to classify pages (e.g., Student, Faculty, Course).
  • Synthetic Datasets: A "Disjunctive" dataset and a "Cancer" dataset specifically designed to test the EM algorithm's ability to recover hidden information.
  • Wumpus World: A classic AI environment used here for relational imitation learning under partial observability.

Key Results

  • Superior Accuracy: On the UW-CSE dataset, the boosted MLN (MLN-BT) achieved an AUC-PR (Area Under the Precision-Recall Curve) of 0.94, compared to just 0.42 for traditional state-of-the-art methods like LHL.
  • Massive Speedups: On the same dataset, the clause-based boosting method (MLN-BC) took only 33 seconds to train, while some traditional structure-learning algorithms took over an hour.
  • Handling Missingness: In the Wumpus World experiments, the EM-based approach (SEM-10) significantly outperformed the CWA baseline, proving that "opening the world" leads to much better imitation of human-like policies in partially observable environments.

Discussion and Future Work

The "aha moment" of this research is that structure and weights do not need to be decoupled. By treating the model as a sum of weak learners (trees), the weights and the logical rules emerge together, making the process orders of magnitude faster. Furthermore, by using EM to treat missing data as "unknown" rather than "false," the model can discover latent patterns that CWA-based models completely miss.

However, limitations remain. While pseudo-likelihood is efficient, it is still an approximation; deriving functional gradients for the full likelihood remains a challenging future direction. Additionally, while the learned trees represent logical rules, a model consisting of 20+ regression trees can be harder for a human to read than a few clean first-order logic formulas. Future work may involve "compressing" these trees into simpler MLNs or further optimizing grounding calculations for web-scale relational databases.

Summary updated

BibTeX
@article{khot2015gradient,
  author = {Tushar Khot and Sriraam Natarajan and Kristian Kersting and Jude W. Shavlik},
  title = {{Gradient-based boosting for statistical relational learning: the Markov logic network and missing data cases}},
  journal = {Machine Learning},
  year = {2015},
  doi = {10.1007/s10994-015-5481-4},
}
Figure