Multi-Dimensional Heuristic Searching

TL;DR

This paper introduces "Multi-Dimensional Heuristics" (MDHs), a novel technique to improve search algorithms by evaluating states against multiple reference points instead of just the goal. MDHs map the search space into an N-dimensional space, where N is the number of reference states, leading to more accurate distance estimates and significantly reducing the number of nodes expanded in complex search problems like the 15-puzzle.

What Problem Does This Paper Address?

In heuristic search algorithms (like A*), the efficiency heavily relies on the quality of the heuristic function, which estimates the cost to reach the goal. A common heuristic estimates the distance from a current state (X) to the goal (G). However, for complex problems, simple heuristics can be inaccurate, leading to the exploration of many unnecessary states. This paper addresses the challenge of improving existing heuristics, particularly when they are weak or when even good heuristics can be made more efficient. The core problem is how to derive a more informed estimate of the distance between two states, especially when direct comparison to the goal is insufficient.

Methods

The paper proposes "Multi-Dimensional Heuristics" (MDHs). Instead of a standard heuristic $h(X, G)$ estimating the distance from state X to goal G, MDHs use a set of $n$ reference states ($R_1, R_2, ..., R_n$). The heuristic is redefined to estimate the distance between X and G by considering their relative distances to these reference states.

Specifically, for each reference state $R_i$, the algorithm computes the absolute difference between the estimated distance from X to $R_i$ and from G to $R_i$: $\Delta R_i = |h(X, R_i) - h(G, R_i)|$. These $\Delta R_i$ values are then used to form an N-dimensional vector. The new heuristic, $H_n$, is proportional to these $\Delta R_i$ values. This approach effectively maps the search space into an N-dimensional space, where each dimension corresponds to a reference state. The paper also discusses a "learning procedure" to automatically select effective reference states by evaluating their predictive accuracy on known puzzle solutions.

Datasets

The paper uses the 15-puzzle as its benchmark.

  • For training/selecting reference states:
    • For the tile reversal heuristic, they generated "several hundred legal states (i.e. reachable from the goal)" and evaluated them.
  • For the Manhattan distance heuristic, they used "100 randomly generated nodes" from [Korf, 1985] as a superset for selecting reference nodes.
  • For evaluation:
    • 30 puzzles with solution paths of length 10.
  • 10 puzzles with solution paths of length 15.
  • 75 randomly generated puzzles (pre-screened for lower bound path length < 20).

Key Insights and Ideas

  • Reference states provide perspective: The core idea is that comparing a state's distance to a reference state, rather than just the goal, can reveal subtle differences that a direct heuristic might miss. If two states are close to each other, they should also be approximately equidistant to a third reference state.
  • N-dimensional mapping: MDHs transform the search problem into an N-dimensional space, where N is the number of reference states. This provides a unique distance estimate and avoids the ambiguity of planar projections.
  • Automated heuristic improvement: The paper demonstrates a "learning procedure" to automatically select reference states, making MDHs applicable even when simple heuristic information is available but a good heuristic is not.
  • Improving weak heuristics: MDHs can significantly boost the performance of simple, weak heuristics (like tile reversals) by providing a more robust evaluation.
  • Improving strong heuristics: Surprisingly, MDHs also offer improvements even for strong, admissible heuristics like the Manhattan distance, suggesting their utility extends beyond fixing flawed heuristics.
  • Optimal solutions found: In some cases, MDHs led to finding optimal solutions, even when the MDH itself was not strictly admissible (i.e., it might overestimate distances).

Key Results

  • Tile Reversals:
    • MDHs significantly reduced the number of nodes expanded compared to a standard tile reversal heuristic.
  • With 1 to 13 reference states, the number of nodes expanded generally decreased, with notable improvements in the first few dimensions. For 30 puzzles of length 10, the number of nodes expanded was inversely proportional to the number of dimensions.
  • For longer puzzles (length 15), MDHs still showed a downward trend in nodes expanded, though memory limitations became a factor for lower dimensions.
  • Manhattan Distance:
    • MDHs improved the performance of the Manhattan distance heuristic, reducing the number of nodes expanded.
  • Figure 6 shows a consistent decrease in nodes expanded as more reference nodes were added (up to 7).
  • Figure 7, using randomly generated puzzles, also showed a significant downward trend in nodes expanded with increasing dimensions.
  • Optimal path lengths were often found, even with non-admissible MDHs.

Limitations and Future Work

  • Reference State Selection: The paper acknowledges that the selection of reference states is crucial. The "learning procedure" for tile reversals was effective, but a different approach was needed for the Manhattan distance heuristic. The process of picking reference nodes can be computationally expensive.
  • Computational Overhead: While MDHs reduce search nodes, the overhead of computing the multi-dimensional heuristic itself needs to be considered.
  • Generalizability: The paper tested MDHs on the 15-puzzle. Further research is needed to explore their effectiveness on other problem domains.
  • Future Work:
    • Investigating alternative models for representing reference states.
  • Developing new and improved learning procedures for selecting reference states.
  • Identifying other problem domains where MDHs could offer improvements.

Summary updated

BibTeX
@inproceedings{1989multi,
  title = {{Multi-Dimensional Heuristic Searching}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {1989},
}
Figure