An Empirical Study of the Effects of Spurious Transitions on Abstraction-based Heuristics

Mehdi Sadeqi, Robert C. Holte, Sandra ZillesarXiv 2017

Introduction

Abstraction is a fundamental technique in AI planning and state-space search, used to derive heuristics that guide search algorithms like A or IDA. By simplifying a complex state space—for example, by grouping multiple distinct objects into a single abstract category—researchers can pre-calculate distances to a goal and store them in a Pattern Database (PDB). For these heuristics to remain "admissible" (guaranteeing optimal solutions), they must never overestimate the true distance to the goal.

However, the process of abstraction frequently introduces "spurious transitions"—paths in the abstract state space that have no corresponding sequence of actions in the original, concrete problem. This study provides the first comprehensive quantitative analysis of how these "fake paths" impact search performance, specifically focusing on memory consumption and heuristic quality.

The Mechanics of Spurious Transitions

When a state space is abstracted, the resulting simplification often ignores constraints present in the real world. Imagine a map where walls are removed; a path suddenly appears where none existed before. In AI search, these spurious transitions manifest in two primary ways:

  1. Type 1 Transitions: These are fake transitions that occur between two "real" (reachable) states. They act as shortcuts, artificially lowering the heuristic value and misleading the search algorithm.
  2. Type 2 Transitions: These involve at least one "spurious state"—a state that can be represented in the abstract model but is physically impossible to reach in the real problem.
An illustration of abstraction in the Towers of Hanoi domain, where disks are grouped into sets (e.g., {1,3,5} and {2,4}) to simplify the state space.

The researchers evaluated 66 different abstractions across benchmarks including Blocks World, the Sliding-Tile Puzzle, and Towers of Hanoi. They compared three types of PDBs:

  • ORGN (Original): The raw abstract state space, including all spurious elements.
  • MTX (Mutex-filtered): A PDB where states containing "mutex pairs" (mutually exclusive variable assignments detected via the $h^2$ algorithm) are removed.
  • TRUE: A "perfect" PDB where all spurious states are manually identified and purged.

The results highlight two major penalties. First is Memory Bloat. Spurious states can dominate a PDB; in extreme cases like the Constrained-Movement Sliding-Tile Puzzle, spurious states accounted for over 98% of the database. Second, and more critically, is Search Degradation. In nearly 40% of the test cases, spurious transitions caused IDA* to take more than twice as long to find a solution compared to using a "TRUE" PDB. These "shortcuts" cause the algorithm to explore vast numbers of unnecessary nodes because it believes the goal is closer than it truly is.

Various configurations in the Towers of Hanoi domain. Spurious transitions can create "ghost" versions of these states or impossible links between them, bloating memory and degrading heuristic accuracy.

The Role of Mutex Detection

One of the study's key findings is the high return on investment (ROI) of mutex detection. While the $h^2$ algorithm only identifies pairs of variables that cannot co-occur, it is remarkably effective at pruning Type 2 transitions. In many domains, applying $h^2$ filtering eliminated the search speed penalty entirely.

However, mutex detection has limits. It is often blind to Type 1 transitions—fake edges between valid states—and "higher-order" mutexes involving three or more variables. For instance, in the 8-puzzle (dual representation), Type 1 transitions alone were shown to drop average heuristic values from 21.97 to 13.99, even without any spurious states present.

Conclusion

This empirical study underscores that the "cost" of abstraction is not just the loss of detail, but the active introduction of harmful misinformation. While mutex detection is a powerful tool for mitigating these effects, future research must address the more elusive Type 1 transitions and higher-order constraints. Improving the "explication" of implicit preconditions in problem operators remains a vital path toward more robust and efficient AI search heuristics.

Summary updated

Abstract

The efficient solution of state space search problems is often attempted by guiding search algorithms with heuristics (estimates of the distance from any state to the goal). A popular way for creating heuristic functions is by using an abstract version of the state space. However, the quality of abstraction-based heuristic functions, and thus the speed of search, can suffer from spurious transitions, i.e., state transitions in the abstract state space for which no corresponding transitions in the reachable component of the original state space exist. Our first contribution is a quantitative study demonstrating that the harmful effects of spurious transitions on heuristic functions can be substantial, in terms of both the increase in the number of abstract states and the decrease in the heuristic values, which may slow down search. Our second contribution is an empirical study on the benefits of removing a certain kind of spurious transition, namely those that involve states with a pair of mutually exclusive (mutex) variablevalue assignments. In the context of state space planning, a mutex pair is a pair of variable-value assignments that does not occur in any reachable state. Detecting mutex pairs is a problem that has been addressed frequently in the planning literature. Our study shows that there are cases in which mutex detection helps to eliminate harmful spurious transitions to a large extent and thus to speed up search substantially.
BibTeX
@misc{sadeqi2017empirical,
  author = {Mehdi Sadeqi and Robert C. Holte and Sandra Zilles},
  title = {{An Empirical Study of the Effects of Spurious Transitions on Abstraction-based Heuristics}},
  year = {2017},
  eprint = {1711.05105},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1711.05105},
}
Figure