On Heuristic Reasoning, Reactivity, and Search

Susan L. EpsteinIJCAI 1995

Introduction

Artificial intelligence often faces a trade-off between the speed of reactive systems and the thoroughness of heuristic search. Reactive systems provide immediate responses but are prone to local minima and loops. Conversely, exhaustive search is often computationally prohibitive in real-time environments. This paper presents the FORR (FOr the Right Reasons) architecture, which integrates these paradigms through a hierarchical, situation-based approach. By triggering constrained searches only when specific environmental cues are recognized, FORR achieves a balance between efficiency and problem-solving capability.

The FORR Architecture

The core of the FORR architecture is a three-tiered hierarchy of decision-making "Advisors." This structure allows the system to prioritize guaranteed knowledge while falling back on heuristics or targeted search when necessary.

The FORR hierarchical architecture, showing the flow from Tier 1 (reactive) to Tier 1.5 (situation-based search) and Tier 2 (heuristic voting).
  1. Tier 1 (Reactive & Correct): Utilizes "perfect" knowledge to make immediate decisions. It executes moves that are guaranteed to lead to a win and vetoes those guaranteed to fail.
  2. Tier 1.5 (Situation-Based Search): The primary innovation of this work. These Advisors are triggered by specific environmental states—such as being stuck in a corner. They perform a limited, time-bounded search to generate a "solution fragment," a short sequence of moves to navigate out of a predicament.
  3. Tier 2 (Heuristic Rationales): If the upper tiers do not reach a decision, Tier 2 Advisors vote on legal moves based on "smart" but non-guaranteed heuristics (e.g., moving toward the goal's row or column).

This "search as a circuit breaker" approach ensures that search is only employed when reactivity fails, keeping the system computationally efficient.

Experimental Setup

The architecture was evaluated in Ariadne, a simulated 2D grid environment. The testbed consisted of 20x20 grids with 30% random obstructions. Problems were categorized by difficulty levels (6, 8, 10, and 12), representing the minimum number of turns required to reach the goal. The agents were tested across 10 randomly generated mazes, with 1000 problems per difficulty level to ensure statistical robustness.

Results and Discussion

The full FORR agent consistently outperformed ablated versions that lacked specific tiers, particularly as problem difficulty increased.

Performance comparison of different agent configurations across varying problem difficulties.

As shown in the results table, the FORR agent achieved an 80% success rate on the most difficult (Level 12) problems, significantly higher than the 64% achieved by the "Reactive+" agent (Tier 1 + Tier 1.5 only). Furthermore, FORR produced shorter path lengths and visited fewer distinct locations, indicating higher efficiency. The data suggests that as problems become more complex, the synergy between heuristic voting and situation-triggered search becomes increasingly critical.

Conclusion

The FORR architecture demonstrates that integrating reactive behavior with knowledge-guided, constrained search provides a robust framework for navigation in complex environments. While current triggers and advisor priorities are hand-coded, future work aims to automate this process through machine learning. Additionally, implementing path optimization to remove loops within solution fragments could further enhance the system's efficiency.

Summary updated

BibTeX
@inproceedings{epstein1995heuristic,
  author = {Susan L. Epstein},
  title = {{On Heuristic Reasoning, Reactivity, and Search}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {1995},
}
Figure