Cognitive Scaffold

Preparing your thinking workspace

arrow_back_ios_new
MENTAL MODEL · M8434

Heuristic Search

Heuristic Search
TechnicalHigh supportArtificial Intelligence
Included
account_tree

Updated 2026-08-15

Loading revision record…

Summary

A search strategy that uses an estimate of remaining distance to explore the most promising paths first, rather than expanding every possibility in order.

Definition

Heuristic search is a central technique in artificial intelligence, formalized in algorithms such as A* and in the branch-and-bound methods of operations research. Its core proposition is that when exhaustive enumeration is infeasible, an estimate of how close a state is to the goal can order the exploration so that promising paths are examined first and resources are spent where they are most likely to pay. The key qualification is admissibility: if the estimate can exceed the true remaining cost, the search may return a path that is not optimal, so the quality of the heuristic bounds the quality of the result.

How to use

- Use heuristic design: define a cheap estimate of the remaining distance to the goal. - Use ordering rule: expand the node with the best estimated total cost next. - Use admissibility check: confirm the estimate never exceeds the true remaining cost.

Mechanism

Uniform search spends the same effort everywhere, so most of the work goes into regions that cannot contain a solution. An estimate of remaining distance reorders the queue, so the frontier moves toward the goal and the wasted expansion falls. If the estimate never overstates the remaining cost, the first solution found is optimal, because any lower path would have had a lower estimate and been expanded earlier. When the estimate is optimistic in the other direction, the search becomes faster but loses that guarantee, which is the trade the designer chooses.

Practice

In progress 0/1

Practice this model in one real situation:

Check to track your progress (stored locally)
Learning progress0%

Cases

  • A* path planning on a map, where straight-line distance orders which routes are explored first.
  • Branch-and-bound optimization using a relaxation of the problem to decide which subproblems to pursue.

Common pitfalls

  • Using a heuristic that overstates the remaining cost, which speeds the search but forfeits the optimality guarantee.
  • Designing an estimate that is as expensive to compute as the search itself, which removes the benefit.
  • Trusting the heuristic so completely that alternatives are never examined, so a misleading estimate leads the search astray.
Sources

Source support: Explicit

References currently contain only Wikipedia links; primary sources still need review.

  • link
    en.wikipedia.orghttps://en.wikipedia.org/wiki/Heuristic_(computer_scienceZH · Explicit
    verified
account_treeGenealogyexpand_more

RELATED MODELS