Abstract
ProbLog is a recently introduced probabilistic extension of Prolog. A ProbLog program defines a distribution over logic programs by specifying for each clause the probability that it belongs to a randomly sampled program, and these probabilities are mutually independent. The semantics of ProbLog is then defined by the success probability of a query in a randomly sampled program. This paper introduces the theory compression task for ProbLog, which consists of selecting that subset of clauses of a given ProbLog program that maximizes the likelihood w.r.t. a set of positive and negative examples. Experiments in the context of discovering links in real biological networks demonstrate the practical applicability of the approach.
Introduction
In fields such as systems biology, researchers frequently encounter massive networks of interacting entities—genes, proteins, and phenotypes. These are often modeled as probabilistic graphs where edges represent the likelihood of a relationship. However, these models face two significant hurdles: extreme complexity and noise. A network with thousands of nodes is essentially a "black box," making it nearly impossible for humans to generate targeted hypotheses. Furthermore, public databases are often cluttered with low-probability or irrelevant links that obscure essential biological pathways.
To address these issues, this work introduces Theory Compression. Given a large probabilistic program (the "theory") and a set of positive and negative examples (known relationships), the goal is to find the smallest subset of rules that maximizes the likelihood of those examples.
Methodology: ProbLog and BDD-based Inference
The framework is built upon ProbLog, an extension of Prolog where each clause is labeled with a probability. Computing the success probability of a query in ProbLog is NP-hard because a single goal can have many overlapping proofs. To handle this efficiently, the authors utilize Binary Decision Diagrams (BDDs).
The compression process employs a greedy search strategy:
- Initialization: Identify all clauses involved in at least one proof of the examples (the "revision points").
- Iterative Deletion: In each step, the algorithm evaluates every remaining clause and deletes the one whose removal results in the highest likelihood for the example set.
- Termination: The process stops when the theory reaches a user-defined size $k$ or when further deletions no longer improve the likelihood.
A key efficiency gain is achieved by building the BDDs only once. To test the effect of deleting a clause, the algorithm simply sets the probability of that clause's variable to zero within the existing BDD and re-calculates the value—a significantly faster operation than re-running full inference.
Theory Compression in Practice
The utility of this approach is most evident when applied to probabilistic graphs. By pruning edges that do not contribute significantly to the likelihood of known examples, the algorithm extracts a concise "sub-theory" or summary of the most important connections.
Unlike traditional Inductive Logic Programming (ILP) which focuses on binary accuracy, this method maximizes likelihood. This allows the model to handle "noisy" data gracefully; it provides the best probabilistic fit rather than needing to explain every example perfectly. Negative examples (relationships known not to exist) are particularly powerful, guiding the algorithm to prune "false paths" early in the process.
Results and Evaluation
The method was evaluated using both real-world biological data and synthetic graphs.
- Biological Networks: On subgraphs related to Alzheimer’s disease, the algorithm successfully compressed a theory of 144 clauses down to fewer than 20 with minimal impact on the likelihood of positive examples.
- Generalization: In 3-fold cross-validation on synthetic graphs, compression improved the likelihood of unseen test examples in 68% of cases, with an average log-likelihood improvement of approximately 30%.
- Scalability: The system handled subgraphs of up to 1,400 edges in 3 to 40 minutes. Interestingly, larger graphs with "stronger" proofs sometimes converged faster due to the nature of the approximation algorithm.
Conclusion and Future Work
While the greedy approach is efficient, it does not guarantee a global optimum. Furthermore, the current framework is limited to the removal of clauses. Future work could expand this into a full "theory revision" system capable of adding new rules or fine-tuning existing probabilities. Nevertheless, the ability to distill massive, noisy networks into interpretable sub-theories represents a significant step forward for probabilistic logic programming in complex domains.
Summary updated