Abstract
Probabilistic logic programming (PLP) frameworks like ProbLog typically represent the probability of facts as fixed scalar values. However, in many real-world applications—ranging from intelligence analysis to medical diagnosis—data is often sparse or conflicting, leading to "second-order uncertainty" (uncertainty about the probability itself). This paper presents a novel extension to the aProbLog framework that replaces fixed probabilities with Beta-distributed random variables. By leveraging a moment-matching approach within an algebraic semiring, the authors enable programs to reason more accurately in data-sparse environments. Experimental results demonstrate that this approach consistently outperforms standard Subjective Logic operators in both error reduction and calibration, matching the performance of specialized Bayesian network algorithms while retaining the expressive power of relational logic.
Introduction: The Challenge of Second-Order Uncertainty
In traditional probabilistic logic, a fact might be labeled with a probability $p=0.1$. This representation assumes that $p$ is known exactly. In practice, this probability is often an estimate derived from a finite number of observations. When observations are few, our confidence in $p$ should be low. This is known as second-order uncertainty: we aren't just unsure if an event will happen; we are unsure about how unsure we are.
While specialized tools like Subjective Bayesian Networks (SBNs) can model this uncertainty using Subjective Logic, they are often restricted to specific graph topologies, such as singly-connected networks. The challenge addressed in this research is to bring robust second-order uncertainty reasoning into a general-purpose relational logic framework without sacrificing computational tractability or predictive accuracy.
Methodology: The $\mathcal{S}^\beta$ Semiring
The authors build their solution on aProbLog (algebraic ProbLog), a generalization of Prolog where logic facts are labeled with elements from a semiring. A semiring defines how these labels are combined during logical inference: multiplication for conjunction and addition for disjunction.
Beta-Distribution Parameterization
The core innovation is the Beta-Distribution Parameterization ($\mathcal{S}^\beta$). Instead of a single number, each fact is labeled with a Beta distribution, which is naturally bounded between 0 and 1. This distribution is parameterized by values that can be interpreted as counts of positive and negative evidence, making it ideal for mapping the range of possible probability values.
Moment Matching and Operators
A significant technical hurdle is that the standard algebraic operations on Beta-distributed variables do not generally result in another Beta distribution. To maintain a closed system that can scale, the authors employ moment matching. For every operation, they calculate the exact mean (first moment) and variance (second moment) of the resulting distribution and then find the specific Beta distribution that most closely matches those two moments.
This approach allows for the derivation of new algebraic operators that are more "calibrated" than those used in standard Subjective Logic. Traditional SL operators often rely on uncertainty maximization principles that can lead to systematic overconfidence or underconfidence in final predictions.
Experimental Evaluation
The researchers evaluated the $\mathcal{S}^\beta$ framework against several benchmarks, including the "Friends & Smokers" social network model and three synthetic Bayesian networks (Net1, Net2, and Net3) of varying complexity.
To test the impact of data sparsity, the team generated "ground truth" labels and then simulated varying levels of evidence ($N_{ins} = 10, 50, 100$ observations). This allowed them to observe how well the model captured uncertainty when evidence was scarce versus when it was abundant.
Key Results and Discussion
The proposed $\mathcal{S}^\beta$ parameterization demonstrated clear advantages over standard Subjective Logic (SL) operators across all experimental settings.
Accuracy and Calibration
The framework consistently achieved a lower Root Mean Square Error (RMSE) compared to standard SL operators. More importantly, the model exhibited superior calibration. This was measured using "significance plots," which track whether the true probability of an event falls within the model's predicted confidence interval at various levels of desired confidence.
As shown in the plots, the SL Beta approach follows the diagonal line closely. This means that if the model predicts a 90% confidence interval, the true value falls within that interval approximately 90% of the time. Standard SL operators, by contrast, tend to be overconfident, with actual confidence falling significantly below the desired level.
Conclusion and Future Work
By implementing this as an aProbLog semiring, the authors demonstrate that a general logic framework can match or exceed the performance of highly engineered, specialized algorithms for uncertainty reasoning. While complexity in dense graphs remains a challenge due to independence assumptions, the system provides a powerful tool for reasoning in complex relational domains with sparse data. Future work will focus on developing Expectation-Maximization (EM) algorithms to learn Beta-distributed labels directly from noisy or partial real-world datasets.
Summary updated