TL;DR
This paper introduces a formal framework for "irrelevance reasoning" in knowledge bases (KBs) to improve the efficiency of problem solvers. They propose a distinction between "weak" and "strong" irrelevance, focusing on the latter, which allows for efficient derivation of claims that guarantee performance improvements when irrelevant parts are removed.
What Problem Does This Paper Address?
Problem solvers that use declarative representations, like knowledge bases, can become very slow as the size of the KB increases. A major cause of this slowdown is the inference engine searching through parts of the KB that are irrelevant to the specific query at hand. KBs are often designed for multiple tasks, leading to a level of detail that is too fine-grained for any single query. The authors aim to address this by developing methods to identify and utilize knowledge about irrelevance, allowing problem solvers to prune irrelevant parts of the KB and thus speed up inference.
Methods
The core of the paper is a proof-theoretic framework for formalizing irrelevance. They introduce a space of definitions, distinguishing between:
- Derivation Irrelevance (DI): Conditions that define when a formula is irrelevant with respect to a specific derivation. Examples include a formula not being in the base of a derivation (DI₁) or not appearing in the derivation at all (DI₂).
- Weak Irrelevance (WI): A formula is weakly irrelevant to a query if there exists at least one derivation where the DI condition holds.
- Strong Irrelevance (SI): A formula is strongly irrelevant to a query if the DI condition holds for every possible derivation.
The authors argue that strong irrelevance is more useful for practical problem solving because removing strongly irrelevant formulas guarantees improved performance. They focus on deriving strong irrelevance claims efficiently, particularly for Horn-rule knowledge bases. A key technique is the query tree, which compactly represents all possible derivations of a query, even in the presence of recursion and interpreted predicates (like order constraints). This allows for efficient identification of irrelevant rules and ground facts. They also propose a method for deriving new irrelevance claims from user-supplied ones.
Datasets
Not discussed in the paper. The paper focuses on a theoretical framework and uses examples to illustrate its concepts.
Key Insights and Ideas
- Strong vs. Weak Irrelevance: The distinction is crucial. Weak irrelevance might not lead to performance gains (e.g., redundant rules can sometimes speed things up), while strong irrelevance provides a guarantee.
- Proof-Theoretic Approach: Analyzing derivations, rather than just the KB content, allows for finer distinctions and more powerful irrelevance reasoning.
- Query Trees: This is a powerful data structure that encodes all possible derivations of a query, handling recursion and interpreted predicates, making strong irrelevance reasoning tractable.
- Efficiency and Independence: Irrelevance reasoning can be done efficiently by considering only a small part of the KB (rules and constraints, not all ground facts). Derived irrelevance claims are often independent of changes to other parts of the KB, amortizing the cost of reasoning.
- Guaranteed Performance Gains: Removing strongly irrelevant formulas is shown to lead to significant speedups, not just space savings.
Key Results
- Decidability: Strong irrelevance is decidable for function-free Horn rules, even with interpreted predicates. Weak irrelevance, however, is shown to be undecidable in some restricted cases.
- Efficient Algorithms: The paper presents algorithms for efficiently deriving strong irrelevance claims, often by analyzing query trees.
- Experimental Validation: Experiments on various domains showed significant speedups (mean factor of 10.8, up to 31) when removing irrelevant facts, with filtering time being negligible compared to query answering time. Speedups increased with the percentage of irrelevant facts removed.
Limitations and Future Work
- Undecidability: While strong irrelevance is decidable for function-free Horn rules, determining logical consequences of strong irrelevance claims can be undecidable in general.
- Function Symbols and Recursion: For KBs with function symbols and recursion, the query tree provides a sound but not necessarily complete inference mechanism for strong irrelevance.
- Future Work: The paper suggests exploring other ways of quantifying over sets of derivations and further investigating the utility of irrelevance reasoning, particularly in the context of explanation-based learning. The authors also note that their framework can be extended to handle negated EDB literals.
Summary updated