Multi-Dimensional Heuristic Searching

Peter C. Nelson, Lawrence J. Henschen

Abstract

Traditional heuristic search algorithms like A rely on a single distance estimate from a current state to the goal. This paper introduces Multi-Dimensional Heuristics (MDH)*, a technique that enhances search efficiency by evaluating states relative to multiple reference points. By mapping the search space into an $N$-dimensional coordinate system, MDH significantly reduces the number of nodes expanded during search, demonstrating effectiveness even with strong base heuristics in the 15-puzzle domain.

Introduction

In heuristic search, the performance of algorithms such as A* is dictated by the quality of the heuristic function $h(n)$. A "weak" heuristic, which significantly underestimates the true distance to the goal, leads to an exponential explosion in the number of nodes expanded, often rendering the search impractical.

The authors propose that the limitation of standard heuristics lies in their narrow focus on the relationship between a single state $X$ and the goal $G$. By incorporating the "perspective" of additional reference states distributed throughout the search space, one can obtain a more constrained and accurate estimate of the true distance.

Methodology: Multi-Dimensional Heuristics (MDH)

The core of the MDH approach involves transforming the search space into a multi-dimensional coordinate system.

  1. Reference State Selection: A set of $n$ reference states ($R_1, R_2, \dots, R_n$) is chosen within the search space.
  2. Coordinate Mapping: Each state $X$ is assigned a coordinate in an $N$-dimensional space. The $i$-th coordinate is defined as the heuristic distance from $X$ to the $i$-th reference state: $x_i = h(X, R_i)$.
  3. Distance Metric: The MDH value $H_n$ is calculated as the Euclidean distance between the mapped coordinates of the current state $X$ and the goal state $G$: $$H_n(X, G) = \sqrt{\sum_{i=1}^{n} (h(X, R_i) - h(G, R_i))^2}$$
Figure 3: Geometric representation of distance estimation using two reference points $R_1$ and $R_2$ to triangulate the distance between $X$ and $G$.

The intuition behind MDH is analogous to triangulation or GPS. While a single distance estimate provides a broad range of possible locations, multiple estimates from distinct "landmarks" (reference states) significantly narrow down the state's relative position, leading to a more informed search.

Experimental Evaluation

The researchers evaluated MDH using the 15-puzzle, a classic benchmark for AI search algorithms. They tested the method against both weak heuristics (tile reversals) and strong heuristics (Manhattan distance).

The experimental datasets included:

  • Tile Reversal Tests: 30 puzzles with solution lengths of 10 and 15.
  • Manhattan Distance Tests: A set of 10 "tuned" puzzles and 75 randomly generated puzzles.
  • Reference Node Selection: 100 randomly generated puzzles were used as a pool to learn optimal reference nodes through a correlation-based scoring procedure.

Results and Discussion

The primary finding was a consistent and substantial reduction in search effort as the number of dimensions (reference points) increased.

Figure 4: Reduction in nodes expanded for 30 puzzles of length 10 as the number of dimensions increases, showing the efficiency gains of MDH.

Key Findings:

  • Search Space Reduction: For weak heuristics, the first three dimensions alone were sufficient to halve the number of nodes expanded.
  • Boosting Strong Heuristics: MDH surprisingly improved the Manhattan distance heuristic, which is already highly effective for the 15-puzzle.
  • Path Optimality: Despite MDH occasionally overestimating distances (making it technically inadmissible), it consistently found optimal path lengths in the tested scenarios.
  • Generalization: Reference nodes optimized on a small training set proved effective for a larger, unrelated set of random puzzles.

Conclusion and Future Work

Multi-Dimensional Heuristics offer a powerful way to "boost" existing search algorithms. By leveraging multiple perspectives within the search space, MDH provides a more robust distance estimate.

However, the method introduces computational overhead, as $h$ must be calculated for each reference state at every node expansion. Future work should focus on optimizing reference state selection and exploring MDH in other complex domains. Additionally, the parallel nature of MDH calculations suggests significant potential for speedups on multi-core architectures.

Summary updated

BibTeX
@inproceedings{nelson1989multi,
  author = {Peter C. Nelson and Lawrence J. Henschen},
  title = {{Multi-Dimensional Heuristic Searching}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {1989},
}
Figure