Abstract
Scaling graph-search algorithms to massive state spaces requires efficient external-memory management. A primary bottleneck is duplicate detection, which often exceeds available RAM. This paper presents edge partitioning, a method that localizes memory references through incremental node expansion. By partitioning search operators based on abstract graph edges, the technique reduces the peak RAM footprint for duplicate detection by an average of 11 times. Experimental results on STRIPS planning benchmarks demonstrate that edge partitioning enables the solution of complex problems that were previously intractable due to memory constraints.
Introduction
In automated planning and model checking, searching massive graphs is a fundamental task. As the state space grows, the memory required for duplicate detection—storing every visited node to avoid redundant work—eventually exceeds physical RAM. External-memory search algorithms address this by utilizing disk storage. However, the vast disparity between RAM and disk access speeds necessitates strategies to minimize disk I/O.
Structured Duplicate Detection (SDD) was developed to mitigate this by using a state-space projection to predict which nodes might be duplicates. By partitioning the graph into abstract blocks, SDD only keeps a relevant "scope" of nodes in RAM. However, SDD's performance is highly sensitive to the graph's natural topology. In highly connected graphs, the required scope can still overwhelm internal memory.
Methodology: Edge Partitioning
The authors introduce edge partitioning to overcome the limitations of SDD. The core idea is to move from full node expansion to incremental node expansion.
In standard search, expanding a node generates all possible successors simultaneously. In the context of SDD, this requires all potential successor blocks to be present in RAM. Edge partitioning instead groups search operators based on the abstract edges they correspond to in a simplified version of the graph.
By expanding a node multiple times—once for each abstract edge—the algorithm ensures that the duplicate-detection scope is restricted to a single block of nodes in RAM at any given time. This effectively "creates" local structure through the expansion strategy, regardless of the underlying graph's inherent connectivity.
Experimental Evaluation
The approach was tested on domain-independent STRIPS planning problems from the International Planning Competitions (IPC). These benchmarks include logistics (Trucks, Driverlog), robotics (Gripper, Elevator), and resource management (Storage, Satellite) domains. The primary metrics for evaluation were peak RAM usage, disk usage, number of nodes expanded, and total execution time.
Results and Discussion
The experimental results demonstrate the significant memory efficiency gained through edge partitioning. On average, the peak RAM requirement was reduced by a factor of 11 compared to standard SDD.
As shown in the table, edge partitioning allowed the system to solve problems like "trucks-10" and "depots-10," which were unsolvable by standard SDD within a 2GB RAM limit. While incremental expansion increases the total number of node expansions and results in a roughly 53% increase in execution time, this trade-off is highly favorable. In external-memory search, the bottleneck is typically disk I/O rather than CPU-bound expansion; the massive reduction in RAM footprint far outweighs the moderate increase in processing time.
Conclusion
Edge partitioning represents a significant advancement in external-memory graph search. By decoupling memory requirements from the natural topology of the search graph, it provides a robust mechanism for scaling search to previously unreachable problem sizes. Future work may explore tuning the granularity of operator grouping to further optimize the balance between memory savings and computational overhead.
Summary updated