What is a search algorithm?

Definition

A search algorithm determines which candidate to inspect next, how to use observed results and when to stop. Depending on the problem, candidates may be documents, plans, parameter settings or possible experimental choices.

Search quality depends on the available evidence, evaluation criteria and resource budget. A strategy that performs well on recorded cases may need fresh testing before its benefits are assumed to transfer. Improving the search process does not necessarily change the underlying model.

ELI5

A search algorithm is a method for deciding where to look next. It helps organize exploration instead of trying possibilities without a plan.

For example, a program testing different settings might begin with a few broad choices, then spend more effort near promising results. It still needs to check whether the selected settings work on new cases.

Is search limited to finding web pages?

No. Search procedures can explore many kinds of candidates, including plans, configurations and experimental options.

Does a better search strategy mean a better trained model?

Not necessarily. The surrounding process can explore more effectively while the model's learned parameters remain unchanged.

  1. Three flat search icons linked by a replay loop below the blue-and-white headline "REPLAY BETTER SEARCH" on a black background.
  2. Wes Roth is shown beside the blue-and-white headline LEARN FROM HISTORY on a black background.
Definition card for search algorithm: What is a search algorithm?

A search algorithm uses a defined procedure to explore possible candidates and find one that meets a goal.