Presented at the 22nd International Workshop on Nonmonotonic Reasoning (2024), this research explores methods to enhance the robustness of probabilistic logic programming (PLP) when encountering contradictory information. By employing L-stable semantics, the authors provide a framework that maintains logical utility even in the presence of paradoxes.
The Challenge of Contradiction in PLP
In traditional logic programming, a single contradiction—such as the Barber Paradox ("the barber shaves everyone who does not shave himself")—can render an entire knowledge base useless because no standard "stable model" exists. This issue is amplified in Probabilistic Logic Programming, where multiple "worlds" are evaluated. Existing approaches often struggle with this:
- Renormalization: Ignoring inconsistent worlds violates the fundamental independence of probabilistic choices.
- Well-founded Semantics: While always providing a model, it is often overly cautious, marking too many atoms as "undefined."
- smProbLog: This approach tends to mark the entire system as undefined as soon as a local contradiction appears.
To address these shortcomings, the authors advocate for L-stable (Least-undefined stable) semantics. This approach handles contradictions gracefully by minimizing the number of undefined atoms, allowing the consistent parts of the logic to function normally.
Methods and Theoretical Framework
The paper primarily conducts a theoretical study of computational complexity, supplemented by a proof-of-concept implementation. The authors analyze how L-stable semantics behaves under two different probabilistic interpretations:
- Credal Semantics: Provides a probability interval (lower and upper bounds) for an atom's truth.
- Maximum Entropy (MaxEnt) Semantics: Selects a single probability distribution by averaging models, aiming for the most "unbiased" representation.
To implement these inferences, the authors utilize a mathematical translation that converts "partial" (three-valued) stable models into "total" (two-valued) stable models. This allows the use of clingo, a state-of-the-art Answer Set Programming (ASP) solver, to perform L-stable inference.
Key Insights and Complexity Results
The research establishes that the robustness of L-stable semantics comes with a computational cost. For programs with bounded-arity predicates, inference moves one step higher in the polynomial hierarchy compared to standard stable models (e.g., from $\Sigma^p_2$ to $\Sigma^p_3$).
Complexity Bounds
- Logic Complexity: Deciding if an L-stable model exists for a normal program is $\Sigma^p_3$-hard. For disjunctive programs, it is $\Sigma^p_4$-hard.
- Probabilistic Complexity: Under Credal semantics, inference is $PP^{\Sigma^p_3}$-complete for normal programs.
- MaxEnt Complexity: The authors show that MaxEnt is significantly harder, lower-bounded by $PP^{NP}$ and upper-bounded by $PP^{PP}$.
Through examples like a modified "Asthma" argumentative model, the authors demonstrate that L-stable semantics is more "informative" than smProbLog. It differentiates the degree to which different atoms are involved in a contradiction rather than collapsing the entire model into an undefined state.
Implementation and Future Directions
The authors integrated these methods into the dPASP system, making L-stable probabilistic reasoning accessible to researchers. However, the current implementation is a proof-of-concept that enumerates all "total choices," which is exponentially expensive.
Future work will focus on:
- Scalability: Developing approximate inference and sampling strategies to handle larger knowledge bases.
- Closing the MaxEnt Gap: Narrowing the significant gap between the current lower and upper complexity bounds for Maximum Entropy semantics.
- Data Complexity: Investigating how the system scales specifically with the number of facts and constants (data complexity) versus the size of the rule set (expression complexity).
Summary updated