Structure Learning for Relational Logistic Regression: An Ensemble Approach

Nandini Ramanan, Gautam Kunapuli, Tushar Khot, Bahare Fatemi, Seyed Mehran Kazemi, David Poole, Kristian Kersting, Sriraam Natarajan · DOI

TL;DR

This paper introduces a novel method for "structure learning" in Relational Logistic Regression (RLR), a powerful framework for modeling complex relationships. By adapting functional gradient boosting, they enable simultaneous learning of both the logical rules (structure) and their associated weights, outperforming existing methods on various real-world datasets.

What Problem Does This Paper Address?

Statistical Relational Learning (SRL) models aim to combine the expressive power of logic with the uncertainty handling of probabilistic models. Relational Logistic Regression (RLR) is a prominent directed SRL model that scales well with population size. However, learning RLR models, particularly learning the logical rules (structure) themselves, is computationally challenging. Traditional approaches often separate rule learning from parameter learning, leading to suboptimal performance. This paper tackles the problem of "full model learning" for RLR, where both the logical structure and the parameters (weights) are learned concurrently.

Methods

The core contribution is an adaptation of Functional Gradient Boosting (FGB) for RLR. FGB works by iteratively adding "weak learners" that correct the errors of the current model. In this context, the weak learners are vector-weighted clauses.

Here's a breakdown of the novel aspects:

  • Vector-Weighted Clauses: Unlike traditional weighted clauses (used in models like Markov Logic Networks) which have a single weight, these clauses have a weight vector. This vector captures the influence of both true and false groundings of the clause, allowing for a more nuanced representation.
  • Simultaneous Structure and Parameter Learning: The FGB framework naturally allows for learning the structure (by adding new clauses) and parameters (the weights within the vector) simultaneously in each boosting iteration.
  • Functional Gradients: The paper derives the specific functional gradients for RLR, which guide the boosting process. These gradients are essentially adjustments needed to match the model's predictions to the true labels.
  • Algorithm B-RLR: The proposed algorithm, Boosted Relational Logistic Regression (B-RLR), iteratively learns these vector-weighted clauses. In each step, it computes gradients based on the current model, then uses a specialized regression function (FITREGRESSION) to learn a new vector-weighted clause that best approximates these gradients. This FITREGRESSION function itself involves learning the weights for the clause by minimizing a regularized squared error.

Datasets

The paper evaluates their approach on a variety of datasets:

  • Synthetic Data: Smokes-Cancer-Friends (predicting cancer based on social networks and smoking habits).
  • Real-World Data:
    • UW-CSE (predicting student-professor advising relationships).
  • IMDB (predicting actor-director "worked under" relationships).
  • WebKB (predicting faculty status on university websites).
  • MovieLens (predicting gender based on movie ratings).

Key Insights and Ideas

  • Vector-weighted clauses are more expressive: By allowing separate weights for true and false groundings, these clauses can capture more complex relationships than single-weighted clauses.
  • Boosting is a natural fit for RLR structure learning: The iterative nature of FGB allows for the gradual discovery and refinement of logical rules, making it suitable for the complex search space of RLR structures.
  • Simultaneous learning is key: Separating structure and parameter learning, as done in some prior methods, leads to suboptimal performance. Their integrated approach addresses this.
  • RLR as a powerful aggregator: For unary predicates (predicting an attribute of an object), RLR models with count-based features act as natural aggregators, outperforming traditional methods.

Key Results

  • Performance: The proposed B-RLR method consistently performs on par with or better than state-of-the-art methods like MLN-B (boosted Markov Logic Networks) across various datasets, particularly in Precision-Recall space.
  • Comparison to AGG-LR: B-RLR significantly outperforms AGG-LR (standard logistic regression with relational features), demonstrating the advantage of learning richer relational structures.
  • Comparison to ILP-RLR: B-RLR is significantly better than ILP-RLR (a two-step approach of learning rules then weights), highlighting the benefits of simultaneous learning.
  • Efficiency: The learning time for B-RLR is comparable to other methods, indicating that the increased expressiveness does not come at a prohibitive computational cost.
  • Sensitivity to Regularization: The approach shows reasonable robustness to the regularization parameter ($\lambda$) across most domains, with $\lambda$ values around $10^3$ performing well.

Limitations and Future Work

  • Single Target Predicate: The current method learns a model for a single target predicate deterministically.
  • Joint Models: Extending the approach to learn joint models across multiple predicates (akin to Relational Dependency Networks) is a promising direction.
  • Hybrid Data: Learning from truly hybrid data (combining different types of information) remains a challenge.
  • Relational Reinforcement Learning: RLR can be viewed as a function approximator for relational Markov Decision Processes (MDPs), suggesting its application in relational reinforcement learning.

Summary updated

BibTeX
@article{ramanan2018structure,
  author = {Nandini Ramanan and Gautam Kunapuli and Tushar Khot and Bahare Fatemi and Seyed Mehran Kazemi and David Poole and Kristian Kersting and Sriraam Natarajan},
  title = {{Structure Learning for Relational Logistic Regression: An Ensemble Approach}},
  journal = {Data Min. Knowl. Discov.},
  year = {2018},
  doi = {10.1007/s10618-021-00770-8},
}
Figure