Scalable Structure Learning for Probabilistic Soft Logic

Varun Embar, Dhanya Sridhar, Golnoosh Farnadi, Lise GetoorarXiv 2018

Introduction

Statistical Relational Learning (SRL) frameworks, such as Probabilistic Soft Logic (PSL), provide powerful tools for modeling uncertain, relational data using weighted first-order logic. However, a significant barrier to their widespread adoption has been the reliance on manual rule definition by domain experts. Automating this process through "structure learning" is traditionally computationally intensive, involving a combinatorial "propose-and-score" search that re-optimizes the entire model for every candidate rule. This paper presents a scalable approach to structure learning for PSL, transforming the search process into a highly parallelizable optimization problem.

Methodology

The proposed framework introduces a two-stage pipeline designed for efficiency and scalability:

  1. Path-Constrained Clause Generation: To avoid the combinatorial explosion of searching all possible logical combinations, the authors employ a data-driven strategy. By executing a breadth-first search (BFS) on the relational data graph, the system identifies meaningful paths between entities and converts them into candidate logical rules (Horn clauses).
  2. Piecewise Pseudolikelihood (PPLL) Optimization: The core innovation is the use of a PPLL objective for rule selection. Unlike Greedy Local Search (GLS), which iteratively adds and evaluates rules, PPLL factorizes the objective function. This allows the importance of all candidate rules to be determined in a single weight-learning task. Rules assigned a weight of zero are discarded. Crucially, the piecewise nature of the objective enables massive parallelization, as calculations for different clauses are decoupled.

Experimental Evaluation

The authors evaluated the performance and scalability of PPLL against a standard GLS baseline across five real-world relational datasets: biological citation networks (Fly-GENE and Yeast-GENE), drug-drug interaction prediction (DDI-INTERACTS), and knowledge base completion tasks within the Freebase graph (Freebase-FILMRATING and Freebase-BOOKAUTHOR).

Results and Discussion

Predictive Performance

The experimental results demonstrate that the PPLL approximation not only improves efficiency but often enhances predictive accuracy. As shown in the performance table below, PPLL outperformed GLS in three of the five tasks. Most notably, in the Drug-Drug Interaction (DDI) task, PPLL achieved a 15% improvement in AUC (0.76 compared to 0.66).

Table 1: Predictive performance (AUC) comparison between GLS and PPLL across five relational datasets.

Computational Efficiency and Scalability

The most dramatic advantage of the PPLL approach is its computational speed. On the Freebase datasets, PPLL achieved an order-of-magnitude speedup. For a model considering 200 candidate clauses, GLS required nearly two days to converge, whereas PPLL completed the task in approximately four minutes.

Figure 1: Comparison of running times (seconds in log scale) for Freebase datasets as the number of candidate clauses increases.

As illustrated in Figure 1, the runtime for PPLL remains relatively stable as the number of candidate clauses increases, demonstrating superior scalability compared to the exponential growth seen with GLS. This efficiency stems from the decoupling of dependencies during the learning phase, allowing the algorithm to scale linearly with available processing cores.

Conclusion

By reframing structure learning as a continuous optimization problem rather than a discrete search, this work enables automated rule discovery for PSL at a scale previously unattainable. While current experiments focus on binary predicates and Horn clauses, the underlying PPLL framework is theoretically extensible to more complex logical structures. Future research will explore L1-regularization for sharper feature selection and functional gradient boosting to further refine learned structures.

Summary updated

BibTeX
@misc{embar2018scalable,
  author = {Varun Embar and Dhanya Sridhar and Golnoosh Farnadi and Lise Getoor},
  title = {{Scalable Structure Learning for Probabilistic Soft Logic}},
  year = {2018},
  eprint = {1807.00973},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1807.00973},
}
Figure