A General Theory of Additive State Space Abstractions

Fan Yang, Joseph Culberson, Robert Holte, Uzi Zahavi, Ariel FelnerarXiv 2011 · DOI

TL;DR

This paper introduces a generalized theory of additive state space abstractions, allowing multiple heuristic values to be summed together admissibly even when operators change multiple state variables simultaneously. By breaking the historical limitation that restricted additive heuristics to simple "one-operator-one-group" domains, the authors achieve up to a three-orders-of-magnitude search speedup in complex combinatorial domains like the Pancake puzzle and TopSpin.

What Problem Does This Paper Address?

In heuristic search algorithms like A and IDA, the efficiency of finding an optimal path depends heavily on the quality of the heuristic function. A common way to build accurate, admissible (never overestimating) heuristics is through state space abstraction, often stored in Pattern Databases (PDBs).

To get a stronger heuristic, researchers combine multiple abstractions. While taking the maximum value ($h_{max}$) among abstractions is always safe, summing them ($h_{add}$) provides much stronger search guidance. However, summing heuristics is only admissible if the abstractions are "additive."

Historically, additive abstractions were restricted to domains with strict structural properties—specifically, where an operator only moves a single tile or affects a single independent group at a time (like the sliding tile puzzle). This completely precluded additive abstractions from being used in popular benchmarks like Rubik's Cube, TopSpin, or the Pancake puzzle, where a single move alters multiple tiles across different groups simultaneously.

Figure 4: In the 4-Pancake puzzle each state has three successors.

Methods

The authors overcome this limitation by formalizing a new mathematical framework for abstractions using digraph homomorphisms. Crucially, they redefine abstract state spaces by assigning two weights to every abstract edge: a primary cost ($C_i$) and a residual cost ($R_i$).

An abstraction system is proven to be additive as long as the sum of the primary costs of an operator across all abstract spaces does not exceed the operator's true cost in the original space. The authors propose two practical techniques to distribute these costs:

  1. Cost-Splitting: The cost of an operator is divided fractionally among the abstractions based on the proportion of distinguished (tracked) tiles it moves.
  2. Location-Based Costs: The full cost of an operator is assigned entirely to the abstraction that tracks the tile moving into a specific "reference location" (e.g., the leftmost slot in the Pancake puzzle, which changes on every move).
Additive abstractions assign costs of 0 to "don't care" moves, allowing the total distinguished moves to be summed admissibly.

Additionally, they introduce an Infeasibility Check. By leveraging the residual costs (which track the moves of "don't care" tiles), the search algorithm can detect if the optimal paths assumed by different abstractions are physically incompatible. If an incompatibility is found, the heuristic value is provably too low and can be safely boosted without losing admissibility.

Datasets

The authors evaluated their generalized theory on four classic combinatorial puzzle testbeds:

  • Sliding Tile Puzzles: 8-puzzle and 15-puzzle.
  • TopSpin Puzzle: Specifically the $(N, K)$-TopSpin variant, varying $N$ (total tiles) and $K$ (tokens reversed per move).
  • Pancake Puzzle: 13-Pancake and 17-Pancake puzzles.
  • Rubik's Cube: Standard $3 \times 3 \times 3$ cube.

Key Insights and Ideas

  • Fractional and Contextual Costs: The core breakthrough is realizing that operator costs do not have to be discrete integers tied to a single partition. They can be split fractionally or assigned dynamically based on spatial context (locations).
  • Residuals as Compatibility Trackers: Introducing a secondary residual cost allows the system to remember how much work was done on "don't care" variables. This provides a generic, problem-independent way to identify when an additive heuristic is underestimating the true cost.
  • Domain Sensitivity: The choice of cost-distribution method matters immensely. For instance, cost-splitting failed on the Pancake puzzle because abstractions found artificially cheap paths by abusing "don't care" moves, whereas location-based costs excelled.

Key Results

  • 17-Pancake Puzzle: Combining location-based additive abstractions with Dual IDA ($DIDA^*$) reduced the number of nodes searched and CPU time by three orders of magnitude* compared to the previous state-of-the-art single-large-PDB approach, all while using just 1/5th of the memory.
  • TopSpin: For the $(18,4)$-TopSpin puzzle, the cost-splitting additive heuristic outperformed $h_{max}$ by reducing the expanded nodes by a factor of 25.
  • Infeasibility Checking: Activating the infeasibility test successfully halved the nodes generated and the total search time for both the 15-puzzle and TopSpin.

Limitations and Future Work

  • Operator Dilution: Cost-splitting loses its edge when an operator moves too many tiles relative to the partition size (e.g., Rubik's Cube or large $K$ values in TopSpin), as the fractional costs become too small to provide meaningful guidance.
  • Memory Overhead: Storing the optimal residual costs ($R^*$) for the infeasibility check effectively doubles the memory footprint of the pattern databases, presenting a classic space-time tradeoff.
  • Future Directions: The authors suggest exploring automated methods for finding optimal variable partitions when fractional costs are involved, as well as developing more compact representations for storing residual costs.

Summary updated

BibTeX
@misc{yang2011general,
  author = {Fan Yang and Joseph Culberson and Robert Holte and Uzi Zahavi and Ariel Felner},
  title = {{A General Theory of Additive State Space Abstractions}},
  year = {2011},
  eprint = {1111.0067},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1111.0067},
}
Figure