Introduction
Presented at IJCAI 1993, this research addresses a fundamental challenge in automated reasoning: the scaling problem. As knowledge bases (KBs) expand, inference engines often become bogged down by irrelevant data. This paper formalizes a framework for "strong irrelevance" to identify and prune parts of a KB that can never contribute to a specific query's derivation.
Problem Statement: The Cost of Irrelevance
Automated reasoners, particularly backward chainers, frequently explore "dead ends"—rules or facts that are logically incapable of satisfying a query but are technically part of the KB. Previous definitions of irrelevance were often meta-theoretic and lacked efficient algorithms for automatic detection. Moreover, removing information isn't always beneficial; sometimes redundancy aids performance. The authors sought a proof-theoretic definition of irrelevance that is both computationally decidable and guaranteed to improve search efficiency.
Methodology: Strong Irrelevance and Query Trees
The authors distinguish between Weak Irrelevance (formulas not appearing in some derivations) and Strong Irrelevance (formulas that cannot appear in any derivation). Pruning strongly irrelevant formulas is "safe," as it preserves all solutions while almost always increasing speed.
To detect these formulas, the paper introduces the Query Tree, a symbolic AND-OR tree encoding all possible derivations. Unlike methods that look at individual facts, this approach analyzes constraints on facts (e.g., coordinate ranges). By propagating these constraints through the tree, the algorithm identifies rules whose requirements contradict known data constraints.
Experimental Evaluation
The approach was tested across diverse KBs, including synthetic Horn-rule sets, airline travel data, wine/food compatibility systems, and academic databases. The "filtering" algorithm was compared against a standard backward chainer.
Key Results
The results demonstrated significant performance gains. The ratio of time taken on the original KB (BC1) versus the filtered KB (BC2) showed speedups typically ranging from 3x to 31x, with a mean speedup of 10.8x.
The "Filtering Time" required to build the query tree and prune the KB was generally negligible compared to the search time saved. In extreme cases, such as the Travel KB where 90% of facts were irrelevant, speedups reached as high as 280x.
Discussion and Insights
- Decidability: While weak irrelevance is undecidable, strong irrelevance is decidable for function-free Horn rules.
- Amortized Cost: Analysis relies on high-level constraints rather than ground facts, meaning irrelevance claims remain valid even as data is updated.
- Constraint Integration: The method handles interpreted predicates (e.g., $<, >$) by treating variable patterns as semantic constraints.
Conclusion and Future Work
This framework provides a robust method for pruning search spaces without risking the loss of helpful redundancies. While the current model excels with Horn rules, future work could extend these techniques to handle function symbols in recursive KBs more comprehensively or explore probabilistic quantification over derivations.
Summary updated