Introduction
Probabilistic databases are essential for managing uncertain data in domains like bioinformatics and social network analysis. However, a persistent challenge is the calibration of the underlying probabilities of facts based on observed query results. This paper introduces LeProbLog, a gradient-based algorithm designed to bridge the gap between traditional logic programming and statistical optimization. By framing parameter learning as a least squares problem, the authors provide a discriminative approach to tuning probabilistic facts.
The Challenge of Parameter Calibration
In many real-world applications, data is inherently uncertain. Probabilistic databases represent this by attaching a probability to every fact—for example, an 80% likelihood of a specific gene interaction. While Statistical Relational Learning (SRL) tools often assume generative models where outcome probabilities sum to one, probabilistic databases do not follow this constraint. Multiple independent paths can lead to the same result, making standard Maximum Likelihood Estimation (MLE) difficult to apply. LeProbLog addresses this by minimizing the difference between predicted and observed query results.
Methodology: The LeProbLog Algorithm
The core of the proposed approach is the LeProbLog algorithm, which utilizes gradient descent to minimize the Mean Squared Error (MSE) between target probabilities in training data and the model's predicted success probabilities.
ProbLog and BDDs
The framework extends the Prolog language into ProbLog, where facts are probabilistic. The "success probability" of a query is the probability that it can be proven given the uncertain facts. Because calculating this probability is NP-complete, the authors leverage Binary Decision Diagrams (BDDs). BDDs provide an efficient data structure for representing Boolean functions and allow for the derivation of gradients by traversing the diagram.
Optimization Techniques
To ensure scalability and stability, the authors implement several key techniques:
- Sigmoid Mapping: Weights are reparameterized using a sigmoid function to keep probabilities bounded between 0 and 1.
- k-Probability Approximation: For massive datasets, the algorithm considers only the $k$ most likely proofs for a query, significantly reducing computational overhead with minimal loss in accuracy.
- Frozen BDDs: The BDD structure is kept fixed for several gradient descent iterations, providing a 10x speedup.
Experimental Evaluation
The authors evaluated LeProbLog on biological networks related to Alzheimer’s and Asthma, extracted from databases like EntrezGene and UniProt. The Alzheimer graph consisted of 122 nodes and 259 edges, while the Asthma graph contained 127 nodes and 241 edges.
The results demonstrated that:
- Effective Calibration: The algorithm successfully reduced MSE on both training and test sets.
- Parameter Recovery: Using the Mean Absolute Difference (MAD) metric, LeProbLog accurately recovered hidden edge probabilities.
- Scalability: The $k$-best proofs approximation allowed the system to remain performant even in complex networks with numerous potential paths.
Key Insights
A significant finding is the distinction between learning from queries ("What happened?") versus learning from proofs ("How did it happen?"). Learning from proofs provides a stronger signal, leading to faster convergence. Furthermore, the experiments showed that using only the top 100 proofs ($k=100$) yielded results nearly identical to exhaustive proof searches but at a fraction of the cost.
Conclusion and Future Work
LeProbLog provides a robust framework for discriminative learning in probabilistic databases. While the current approach effectively tunes fact probabilities, future work may address the challenge of local minima in the non-convex objective function and the potential for learning new logical rules (structure learning) rather than just parameters.
Summary updated