Discriminative structure and parameter learning for Markov logic networks

Tuyen N. Huynh, Raymond J. MooneyICML 2008

Introduction: The Challenge with MLNs

Markov Logic Networks (MLNs) are powerful tools that combine the formal logic of "if-then" rules with the probabilistic "softness" of graphical models. However, they face a significant learning hurdle. Standard MLN algorithms are typically generative: they attempt to learn a structure that explains the truth values of all predicates simultaneously.

In many real-world scenarios—such as predicting whether a chemical compound is toxic—we only care about one specific target predicate. When standard MLNs are applied to these "discriminative" tasks, they often perform poorly compared to traditional Inductive Logic Programming (ILP) systems. The core challenge is that while ILP excels at finding logical rules for a specific target, it struggles with uncertainty. Conversely, MLNs handle uncertainty beautifully but have lacked efficient ways to discriminatively learn their logical structure.

Methods: The ALEPH++ Approach

To bridge the gap between logic and probability, the authors propose a two-step approach called ALEPH++:

  1. Discriminative Structure Learning: Instead of performing a greedy search for a few "perfect" rules, the researchers use a modified version of the ILP system ALEPH. They configure it to generate a massive pool of potentially useful candidate clauses (using the induce_cover command and an m-estimate threshold).
  2. Discriminative Parameter Learning: They then "sift" through these thousands of candidate clauses using two key technical upgrades:
  3. Exact Inference: Because the generated clauses are non-recursive (they do not loop back on themselves), the authors can calculate probabilities exactly and quickly. This avoids the noisy approximations (like MCMC) usually required for MLNs.
  4. $L_1$-Regularization: They apply a Laplacian prior to the weights. This acts as a "sparsity filter," forcing the weights of useless or redundant clauses to exactly zero, effectively performing feature selection during the learning process.

Datasets

The researchers evaluated their system on four benchmark Alzheimer’s drug datasets (Acetyl, Amine, Memory, and Toxic).

  • Task: Predict biochemical activities (e.g., low toxicity, high inhibition) based on the physical and chemical properties of drug substituents.
  • Nature of Data: These are "structured prediction" problems involving pairwise comparisons of drugs, which should ideally form a partial ordering (transitivity).

Key Insights and Ideas

  • Quantity over Quality (Initially): A major takeaway is that it is often better to generate a huge, noisy set of candidate rules and let a sophisticated weight learner pick the winners, rather than trying to find the "best" rules one by one.
  • The Power of Sparsity: Using $L_1$ regularization (instead of the standard $L_2$) was crucial. It significantly reduced the number of active clauses, resulting in simpler, more interpretable, and more accurate models.
Clause Reduction via L1 Regularization
  • Exactness Wins: By restricting the structure to non-recursive clauses, the authors could use exact gradients for optimization. This removed the "optimization noise" that often plagues MLN training, leading to much more stable and effective learning.

Key Results

The proposed system, ALEPH++ExactL1, significantly outperformed existing MLN and ILP methods across the board.

Accuracy Results
  • Accuracy Jumps: On the "Alzheimer toxic" dataset, standard MLN learners (like ALCHEMY) hovered around 55% accuracy—barely better than a coin flip. The new method achieved an impressive 91.3% accuracy.
  • Beating the Specialists: The system outperformed traditional ILP (ALEPH) and was competitive with or superior to advanced relational learners like kFOIL and TFOIL.
  • Structured Prediction: By adding a "hard" transitivity rule to the final MLN, the system could perform collective classification, ensuring that if Drug A > B and B > C, the system correctly inferred A > C.

Limitations and Future Work

  • Recursion: The exact inference trick relies on the clauses being non-recursive. While this covers many ILP problems, it limits the model's ability to represent complex recursive relationships (like "ancestor of").
  • Continuous Data: At the time of publication, the underlying software (ALCHEMY) did not support real-valued variables, forcing the authors to ignore some standard benchmark datasets in molecular biology.
  • Scalability: While exact inference is fast for these specific structures, generating and weighting thousands of clauses could become a computational bottleneck for much larger datasets.

Summary updated

BibTeX
@inproceedings{huynh2008discriminative,
  author = {Tuyen N. Huynh and Raymond J. Mooney},
  title = {{Discriminative structure and parameter learning for Markov logic networks}},
  booktitle = {International Conference on Machine Learning},
  year = {2008},
  doi = {10.1145/1390156.1390209},
}
Figure