Abstract
General Problem Solvers (GPS) often struggle with the "combinatorial explosion" as problem complexity increases. This paper introduces FM, a heuristic learning problem solver shell that bridges the gap between general-purpose search and domain-specific efficiency. By combining macros—which shorten search paths—with b-chunks—which prune search branches—the system learns to navigate complex problem spaces effectively. We evaluate FM in classic AI micro-worlds, demonstrating that a general system can automatically acquire "strong" heuristics through practice.
Introduction
Early AI research focused on General Problem Solvers designed to handle any task given a formal set of rules. However, these systems were frequently hampered by the exponential growth of possible moves in complex domains. To mitigate this, researchers shifted toward "strong" heuristics: specialized knowledge tailored to specific domains like chess. The FM system addresses a fundamental challenge: how can a general-purpose solver automatically learn these strong heuristics by interacting with a new domain?
Methodology
The FM system utilizes two complementary learning techniques to enhance search efficiency:
1. Closed Macro Creation
When FM identifies a successful sequence of operators, it "compiles" them into a single macro-operator. This functions as a shortcut, reducing the depth of the search path. However, macros introduce a "Macro Paradox": while they shorten the path to the goal, they increase the branching factor (the "bushiness" of the search tree) because the system has more options at each step.
2. B-Chunk Creation
To counteract the increased branching factor, FM generates b-chunks. These are search control rules that act as advisors, suggesting which specific macro or operator is most likely to lead to the goal based on the current state. B-chunks utilize "association chains" to identify relevant environmental features, such as room layouts, to prune undesirable search paths.
FM represents states and goals using first-order logic, ensuring the underlying solver remains interchangeable across different domains, such as robot navigation or logic puzzles.
Experimental Setup
The FM system was evaluated using classic AI "micro-worlds," specifically designed to test search efficiency and heuristic learning.
The primary testing ground was the Robot World (illustrated in Figure 1), similar to the STRIPS domain. In these tasks, a robot must move boxes between various rooms. The system was also tested in Puzzle Worlds to verify its generality across different logical structures.
Results and Discussion
The implementation of FM yielded several key insights into the synergy of learning heuristics:
- Heuristic Synergy: The combination of macros and b-chunks proved more effective than either method alone. Macros provide the "leaps" through the search space, while chunks provide the "map" to ensure those leaps are directed toward the goal.
- Effective Pruning: In the robot-world tasks, FM successfully created complex macros (e.g.,
macro21) combining five primitive actions. B-chunks allowed the system to filter out irrelevant instantiations, such as ignoring doors that did not lead toward the target room. - Across-Task Transfer: B-chunks demonstrated powerful generalization capabilities. A chunk learned while moving "Box A" could often be applied to "Box B" because the system learned the underlying relationships between goals and environmental constraints rather than just memorizing specific paths.
Conclusion and Future Work
The FM system demonstrates that a general solver can gain domain-specific "strength" through experience. However, challenges remain in managing the growing library of macros; rarely used shortcuts may need to be pruned to maintain efficiency. Future work should explore the scaling of these heuristics to massive, real-world state spaces and refine the logic required for robust generalization in more complex environments.
Summary updated