Published in 1987, this paper represents a pivotal moment in the history of Symbolic AI. It bridges the gap between high-level machine learning theory and the practical constraints of logic programming, offering a robust framework for systems to learn from single examples.
TL;DR
This paper introduces a domain-independent implementation of Explanation-Based Generalization (EBG) within a logic-programming environment (MRS). By interleaving the explanation and generalization steps and treating "operationality" as a provable property, the author provides a framework that handles search control and imperfect domain theories more effectively than previous sequential models.
What Problem Does This Paper Address?
In the 1980s, Explanation-Based Generalization (EBG) was a popular method for "speed-up learning." The core concept involved taking a single positive example of a concept, using a "domain theory" (a set of rules) to prove why that example fits the concept, and then generalizing that proof into a new, efficient rule.
However, early EBG systems faced three major hurdles:
- Sequential Inefficiency: They typically created a full proof first and then generalized it in a second pass.
- Rigid Operationality: They relied on a static list of "operational" predicates (predicates that are easy to evaluate). In reality, what is "easy to evaluate" might change depending on the context.
- Imperfect Domain Theories: If a domain theory used "default rules" or relied on the order of rules (nonmonotonic logic), EBG would often produce "overgeneral" rules that were technically incorrect.
Methods
The author implemented EBG within MRS (Meta-level Reasoning System), a logic-programming environment developed at Stanford. Key methodological shifts include:
- Interleaved Processing: Instead of a two-stage process, the system performs backward-chaining on the specific training instance and a variablized version of the goal simultaneously. As the proof for the specific case is built, the generalized rule is constructed in parallel.
- Meta-level Reasoning for Operationality: Rather than stopping the proof at a hard-coded list of predicates, the system uses meta-rules to prove whether a sub-goal is operational. This allows for "dynamic operationality"—for example, a predicate might become operational only after the system has cached its results a certain number of times.
- Uniform Representation: The author argues for representing everything—operators, states, and domain rules—as logical rules. This allows a single mechanism (logical regression) to handle both concept learning and search-control learning.
Datasets
As was standard for AI research at the time, the paper utilizes classic symbolic AI benchmarks rather than large-scale modern datasets:
- Safe-To-Stack: A toy problem involving objects (boxes, endtables) with properties like weight, volume, and fragility, used to learn the conditions under which one object can be safely placed on another.
- Integration Operators: A symbolic integration task used to demonstrate how the system learns search-control rules for mathematical problem-solving.
Key Insights and Ideas
- Generalization as a Side Effect: By interleaving the two stages, the author shows that generalization isn't a separate "learning" step but a natural byproduct of the inference process itself.
- The "Hidden Information" Problem: The most profound insight relates to "imperfect" theories. Hirsh points out that EBG often fails because it doesn't "see" the implicit logic of the system, such as rule ordering. If a system uses Rule B only because Rule A failed, EBG needs to know why Rule A failed to create a correct generalization.
- Making Negation Explicit: To fix overgeneralization, the author suggests making conflict resolution explicit. By adding
Unprovable(Rule_A)as a condition to the generalized rule, the learner captures the "default" nature of the logic, ensuring the new rule only fires when it is supposed to.
Key Results
- Integration with MRS: The paper successfully demonstrates that EBG can be implemented as just another form of inference (like forward or backward chaining) within a standard logic toolkit.
- Unified Search Control: The author proves that by using a uniform logical representation, EBG can replicate the search-control learning of more complex architectures like Soar, simplifying the requirements for building intelligent agents.
- Correcting Overgeneralization: The paper provides a formal method for reformulating domain theories to remove nonmonotonic inconsistencies, allowing EBG to learn "correct" rules even when the underlying theory relies on defaults.
Limitations and Future Work
- Over-specialization: While making conflict resolution explicit prevents overgeneralization, it can lead to "over-specialized" rules that are too narrow to be useful in many contexts.
- Manual Reformulation: The paper suggests reformulating domain theories to make them monotonic, but doing this manually for complex, real-world systems is a daunting task.
- Incompleteness and Incorrectness: The author acknowledges that while this approach helps with "defeasibility" (rules that can be overridden), it doesn't fully solve the problems of truly "incorrect" theories or "incomplete" theories where the system lacks the knowledge to complete a proof.
Reference: Hirsh, H. (1987). Explanation-Based Generalization in a Logic-Programming Environment. Proceedings of the Tenth International Joint Conference on Artificial Intelligence (IJCAI-87), 221-227.
Summary updated