Abstract
Graph-search algorithms are fundamental to AI planning but are often constrained by RAM limits due to the need for duplicate detection. This paper presents a domain-independent approach to Structured Duplicate Detection (SDD) that automatically discovers local problem structures to partition the search space. By leveraging external memory (disks) with minimal performance overhead, the proposed system enables solving massive planning problems that exceed physical memory capacities.
Introduction
Graph-search algorithms like A* or breadth-first search are the backbone of AI planning, but they face a significant bottleneck: memory consumption. To avoid redundant computations, these algorithms must store every visited node in a list for duplicate detection. For complex problems, this list quickly outgrows a computer's RAM. While external memory (disk space) offers a solution, disks are significantly slower than RAM. Previous attempts to use disk space often suffered from "disk thrashing" or required expensive "Delayed Duplicate Detection" sorting phases. This paper addresses the challenge of efficiently checking for duplicates against disk-stored nodes in real-time without compromising search speed.
Methods: Automated Abstraction Discovery
The authors build upon Structured Duplicate Detection (SDD), a technique that uses an abstraction of the search graph to partition nodes into "buckets." SDD identifies which buckets might contain a duplicate for a given node expansion; if the bucket is not in RAM, it is swapped from the disk.
The core innovation is making SDD domain-independent. Previously, these abstractions had to be hand-crafted. The authors introduce:
- XOR Constraint Discovery: Automated tools identify "XOR groups"—sets of facts where only one can be true at a time (e.g., a truck's location).
- Greedy Abstraction Algorithm: This algorithm selects optimal XOR groups to create an abstract graph, minimizing the "duplicate-detection scope" (RAM requirement) while keeping the number of buckets manageable.
- Breadth-First Heuristic Search (BFHS): A memory-efficient search strategy that maintains stable pointers between RAM and disk.
Key Insights
The effectiveness of this approach stems from the inherent "locality" in planning problems. By projecting the state space onto key variables, the search can be localized. Using XOR groups as anchors prevents the exponential "state explosion" that would occur with random variable selection, providing a compact and mathematically grounded abstraction. This creates a controllable tradeoff: finer abstractions reduce RAM per check but increase disk swapping frequency.
Results and Evaluation
The system was evaluated on eight standard domains from the International Planning Competition (IPC), including Logistics, Freecell, and Satellite.
Key findings include:
- Solving Large-Scale Problems: The SDD-enhanced planner successfully solved problems like Freecell-4 and Logistics-9 that required over 64 million nodes, far exceeding the 4GB RAM limit of the test hardware.
- Significant RAM Reduction: For problems fitting in RAM, SDD reduced peak usage by orders of magnitude. In Logistics-6, RAM usage dropped from 151,960 nodes to just 1,725.
- Efficiency: The overhead for automated abstraction discovery was negligible, typically under one second.
Conclusion
While currently optimized for STRIPS planning, the theory behind domain-independent SDD is generalizable. Future work aims to explore "operator abstraction" to find local structures in domains where state-based methods struggle and to leverage these structures for parallelized search across multiple processors.
Summary updated