Lookahead Pathologies for Single Agent Search

Vadim Bulitko, Lihong Li, Russell Greiner, Ilya LevnerIJCAI 2003

Introduction

In artificial intelligence search, a long-standing intuition suggests that looking further into the future leads to better decision-making. This principle underlies many real-time search algorithms used in robotics and gaming, such as Real-Time A (RTA). However, this paper demonstrates that "lookahead pathologies"—scenarios where deeper search actually increases the likelihood of making a mistake—are not only possible but can occur even under ideal conditions in single-agent search.

The Myth of Immunity

While pathologies were previously identified in adversarial two-player games (like Chess), it was widely believed that single-agent search was immune, especially when using admissible (never overestimating cost) and consistent (satisfying the triangle inequality) heuristics. This research challenges that assumption, proving that even "perfect" heuristic properties do not guarantee that deeper search is beneficial.

Modeling the Pathology

To investigate this phenomenon, the authors developed a mathematical framework using a discrete state domain. They focused on a 7-node, 2-ply binary lookahead tree. To simulate a "best-case" scenario for heuristics, they modeled heuristic values as random variables drawn from uniform distributions. These distributions were strictly constrained to ensure the resulting heuristics remained both admissible and monotonically non-decreasing (consistent).

A 7-node binary lookahead tree used to model heuristic values as random variables within admissible and consistent constraints.

The core of their analysis involved calculating the "error probability" ($Err(p)$), defined as the probability of choosing a suboptimal action at a given lookahead depth $p$. A pathology is confirmed if $Err(p_1) < Err(p_2)$ for $p_1 < p_2$.

Key Results and Evidence

Through a combination of formal proofs and Monte Carlo simulations involving 10 million trials, the authors identified specific tree configurations where deeper search was detrimental. In their primary pathological example, the error probability rose from 0.4607 at 1-ply lookahead to 0.4861 at 2-ply lookahead.

Comparison of tree configurations used to demonstrate pathological (left) versus non-pathological (right) search behavior.

This finding proves that spending more computational resources to look deeper can sometimes lead an agent to choose a worse path. The study also highlighted that these pathologies can occur in simple environments with a branching factor of only two and even when state values are correlated, contradicting previous theories that blamed pathology on leaf-node independence.

Conclusion and Future Directions

While these pathologies may be infrequent in common benchmarks like the 8-puzzle, their existence represents a fundamental risk in heuristic search. Future research aims to identify the specific properties of practical heuristics (like Manhattan distance) that might prevent these issues and to develop "on-the-fly" detection methods to correct misleading lookahead information in real-time.

Summary updated

BibTeX
@inproceedings{bulitko2003lookahead,
  author = {Vadim Bulitko and Lihong Li and Russell Greiner and Ilya Levner},
  title = {{Lookahead Pathologies for Single Agent Search}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2003},
  url = {https://openreview.net/forum?id=LrWSkukIZ5},
}
Figure