What is heuristic search?

Definition

A heuristic guides which candidate or next step to examine rather than treating every possibility equally. The estimate can be hand-designed or learned from data, depending on the problem and search method.

Good guidance can make a large search more practical, but its guarantees depend on the algorithm and assumptions. A learned estimate does not remove the need for a clear objective and a way to evaluate candidate solutions.

ELI5

Heuristic search is looking first in places that seem most promising instead of checking every possibility in order.

For example, a game-playing system can use a learned position estimate to decide which moves deserve deeper investigation. The estimate guides the search but does not automatically prove that a move is best.

Is heuristic search just exhaustive search?

No. It prioritizes exploration using guidance, while exhaustive search attempts to cover all possibilities within its scope.

Can a heuristic be learned?

Yes. A model can estimate which candidates are promising, though the quality and guarantees still need to be understood for the chosen method.

  1. Demis Hassabis, Sebastian Mallaby, Tom Mackenzie beside the blue and white headline AI Search Science and Safety on a black background.
Definition card for heuristic search: What is heuristic search?

Heuristic search uses an estimate or rule of thumb to prioritize promising options when exploring a space of possible solutions.