TL;DR
This paper presents a novel dynamic programming approach to solve hard problems in Reiter’s propositional default logic by exploiting the structural property of treewidth. The authors demonstrate that for input theories with bounded treewidth, deciding the existence of a stable extension can be achieved in linear time relative to the theory's size, significantly improving upon previous non-elementary complexity bounds.
What Problem Does This Paper Address?
Default Logic (DL) is a cornerstone of non-monotonic reasoning, allowing systems to make "tentative" conclusions (e.g., "Assume it's a bird, therefore it flies, unless you learn it's a penguin"). However, this flexibility comes at a high computational cost. The core problem—deciding if a set of facts and default rules has a consistent "stable extension" (Ext)—is $\Sigma_2^p$-complete. This makes it significantly harder than standard SAT problems.
Previous attempts to tackle this using parameterized complexity relied on Courcelle’s theorem, which provides a theoretical guarantee of linear time for bounded treewidth but results in "non-elementary" runtimes (e.g., quintuple exponential or worse). These are mathematically interesting but practically useless. This paper seeks to bridge that gap by providing a concrete algorithm with much tighter, albeit still high, worst-case bounds.
Methods
The authors employ a Dynamic Programming (DP) approach on Tree Decompositions (TD). Their method involves several key steps:
- Graph Representation: They represent the default theory as a semi-primal graph $S(D)$, where nodes are variables and defaults, and edges represent their co-occurrence in rules.
- Tree Decomposition: They decompose this graph into a tree of "bags" (sets of vertices). The "treewidth" is essentially the size of the largest bag minus one.
- Labeled Tree Decomposition (LTD): They introduce a specialized TD that labels specific nodes as the unique points where a default's prerequisite, justification, or conclusion can be fully evaluated.
- The SPRIM Algorithm: This is the core table-based DP algorithm. As it traverses the tree bottom-up (post-order), it maintains tables of "local partial solutions."
- Witnesses: These track potential satisfying sets of defaults.
- Counter-witnesses: Because DL requires subset-minimality for stable extensions, the algorithm must simultaneously track information to prove that no smaller set of defaults could have generated the same extension.
Datasets
The paper is a theoretical contribution to computational logic and does not utilize empirical datasets or benchmarks. The algorithms are validated through formal proofs of soundness, completeness, and runtime analysis.
Key Insights and Ideas
- Triple Exponential is a Win: While a runtime that is triple exponential in the treewidth ($2^{2^{2^k}}$) sounds daunting, it is a massive improvement over the "non-elementary" functions (towers of exponentials) produced by previous logic-based characterizations.
- Handling the $\Sigma_2^p$ Barrier: The main challenge was managing the "minimality" check inherent in Default Logic. The authors solved this by incorporating a "counter-witness" mechanism directly into the DP table states, allowing the algorithm to invalidate non-minimal sets locally.
- Linear Delay Enumeration: The paper shows that once the DP tables are built, all stable extensions can be output one by one with only a linear delay between them, which is ideal for search and configuration tasks.
Key Results
- Extension Existence (Ext): Solvable in $O(2^{2^{2^{k+4}}} \cdot \|S(D)\|)$ time. This is a "fixed-parameter linear" algorithm, meaning for a fixed treewidth $k$, the runtime scales linearly with the size of the input theory.
- Enumeration (EnumSE): Can be solved with a triple-exponential pre-computation step followed by a linear delay per solution.
- Counting (#SE): The number of stable extensions can be determined in triple-exponential time relative to $k$ and quadratic time relative to the input size.
Limitations and Future Work
- The Constant Factor: Even though the algorithm is linear in input size, the triple-exponential constant is very large. Practical implementations would likely be limited to theories with very small treewidth (e.g., $k \leq 4$).
- Graph Representation: The authors focused on the semi-primal graph. They suggest that extending this to incidence graphs might yield even smaller treewidths for some theories, though the DP states would become significantly more complex.
- Disjunctive Defaults: The current work applies to standard Reiter defaults. Extending this to disjunctive defaults (where a rule can have multiple possible conclusions) is a suggested next step.
- Implementation: The authors note that despite bad worst-case bounds, similar DP algorithms in related fields (like QBF solving) have proven useful in practice, suggesting that an implementation of this framework is a worthwhile research goal.
Summary updated