Generalized Ordering-Search for Learning Directed Probabilistic Logical Models

Jan Ramon, Tom Croonenborghs, Daan Fierens, Hendrik Blockeel, Maurice Bruynooghe

TL;DR

This paper introduces Generalized Ordering-Search, an efficient algorithm for learning the structure and probability distributions of directed probabilistic logical models. By upgrading "ordering-search" from simple propositional variables to complex relational data, the authors bypass the computationally expensive acyclicity checks that plague traditional structure-learning methods.

What Problem Does This Paper Address?

In the world of machine learning, we often want to model domains that are both relational (objects have complex relationships) and stochastic (things happen with some probability). Directed models, like Bayesian Networks, are great for this, but they have a strict rule: no cycles allowed.

When you move from simple variables to logic-based models (like "Block A is on Block B"), learning the "structure"—who depends on whom—becomes a nightmare. Traditional algorithms use "structure search," which involves flipping edges and constantly checking if a cycle was accidentally created. In relational domains, a single rule can create thousands of dependencies at the "ground" level, making these checks incredibly slow. Furthermore, many domains have recursive dependencies (e.g., the position of one block depends on the block below it), which are notoriously difficult for directed models to represent without creating illegal loops.

Methods

The authors propose a two-step "Generalized Ordering-Search" algorithm that adapts a technique originally designed for propositional Bayesian networks.

  1. Learning Generalized Conditional Probability Functions (GCPFs): Instead of learning a specific probability table for every single object, the algorithm learns a general rule (a GCPF) using Relational Probability Trees. To make these rules robust, they are trained by sampling various random orderings of variables. This ensures the model knows how to predict an attribute regardless of which other objects it "sees" first in a sequence.
  2. Learning the Optimal Ordering: This is the "aha" moment of the paper. Rather than searching for a single fixed list of variables, the authors learn a relational regression tree that acts as a "sorting guide." Given two adjacent variables in an ordering, this model predicts whether swapping them will increase the overall likelihood of the data.

By using this learned sorting model, the algorithm can arrange variables into a valid, high-performing sequence (using a method like bubblesort) without ever needing to perform an explicit acyclicity check.

Datasets

The authors evaluated their approach on three distinct domains:

  • Genetics Domain: Modeling how a dominant gene is inherited through a family tree.
  • Blocks World: A classic AI testbed where blocks are stacked. They tested two variants: one with "earthquakes" (randomly flattening all blocks) and one with "unstable blocks" (blocks having a chance to fall).
  • Cora Dataset: A real-world dataset of scientific papers and citations, used to model dependencies between paper topics.

Key Insights and Ideas

  • Acyclicity by Design: By focusing on ordering rather than edges, the model is guaranteed to be a Directed Acyclic Graph (DAG). If $X$ comes before $Y$ in the order, $Y$ can depend on $X$, but $X$ can never depend on $Y$. No cycles, no problem.
  • Parameter Sharing: The use of GCPFs allows the model to generalize. A rule learned about one "parent-child" relationship in a family tree applies to all such pairs, making the learning process much more data-efficient.
  • Local Swaps, Global Gains: The idea of learning a regression tree to decide on "swaps" is powerful. It turns a global optimization problem (find the best ordering) into a local classification/regression problem (is A better than B?).

Key Results

  • Accuracy: In the genetics and blocks world domains, the "learned ordering" significantly outperformed random orderings and was often competitive with orderings designed by human experts.
  • Handling Recursion: The algorithm successfully learned dependencies in the blocks world that are cyclic at the "predicate level" (e.g., on(X,Y) depends on on(Y,Z)) but acyclic at the "ground level," a feat that breaks many simpler PRM (Probabilistic Relational Model) learners.
  • Compactness: The models produced by generalized ordering-search were generally simpler (fewer nodes in the decision trees) than those produced by random orderings, making them more interpretable.

Limitations and Future Work

The authors acknowledge a few areas for improvement:

  • Local Model Limitations: The regression tree used for ordering is "local"—it only looks at two adjacent variables at a time. This means the final result can be sensitive to the initial starting order (the "lexicographical" order).
  • Iterative Refinement: Currently, the GCPFs are learned first, followed by the ordering. The authors suggest that an iterative approach—learning an order, then refining the GCPFs based on that order, then re-sorting—might lead to even more accurate models.
  • Scaling to Multiple Predicates: The experiments focused largely on domains with one primary probabilistic predicate. Testing the system on more complex, multi-predicate real-world data remains a future challenge.

Summary updated

BibTeX
@inproceedings{ramon2006generalized,
  author = {Jan Ramon and Tom Croonenborghs and Daan Fierens and Hendrik Blockeel and Maurice Bruynooghe},
  title = {{Generalized Ordering-Search for Learning Directed Probabilistic Logical Models}},
  booktitle = {ILP},
  year = {2006},
  doi = {10.1007/978-3-540-73847-3\_10},
}
Figure