Uninformed search, also called blind search, is a class of state-space search algorithms that find a path from an initial state to a goal state using only the information in the problem definition: the states, the actions, the transition model, the goal test and the step costs. In Symbolic AI & reasoning, and in artificial intelligence more broadly, it is the baseline against which every heuristic or informed method is measured.
An uninformed algorithm cannot tell whether one non-goal state is closer to the goal than another. It differs from its siblings only in the order in which it expands nodes, and that order alone determines whether it is complete, whether it returns an optimal solution and how much time and memory it consumes.
How uninformed search explores a state space
Every uninformed algorithm follows the same generic tree or graph search loop. It keeps a frontier (also called the open list) of generated but unexpanded nodes, removes one node according to its strategy, applies the goal test, and expands the node by generating its successors. A graph search variant also keeps an explored set (closed list) so that repeated states are not expanded twice.
The data structure of the frontier defines the strategy. A first-in, first-out queue produces breadth-first search, a last-in, first-out stack produces depth-first search, and a priority queue ordered by path cost g(n) produces uniform-cost search. The goal test may be applied when a node is generated (early goal test) or when it is selected for expansion (late goal test); the late test is required for optimality whenever step costs differ.
Complexity analysis is expressed through three parameters of the search tree. The following table defines them, because every comparison of uninformed strategies depends on these symbols.
| Symbol | Meaning | Effect on cost |
|---|---|---|
| b | Branching factor: maximum successors per node | Drives exponential growth of the tree |
| d | Depth of the shallowest goal | Sets the minimum work for breadth-first methods |
| m | Maximum depth of the state space | Can be infinite; dominates depth-first time |
| C* | Cost of the optimal solution | Bounds uniform-cost search effort |
| ε | Smallest positive step cost | Small values inflate uniform-cost search depth |
The main uninformed search strategies
Six classic strategies make up the family, and each represents a different trade-off between memory, completeness and optimality. The table summarizes their behavior under the standard assumptions of a finite branching factor and positive step costs.
| Strategy | Complete | Optimal | Time | Space |
|---|---|---|---|---|
| Breadth-first search | Yes | Yes, with unit step costs | O(b^d) | O(b^d) |
| Uniform-cost search | Yes, if costs ≥ ε > 0 | Yes | O(b^(1+C*/ε)) | O(b^(1+C*/ε)) |
| Depth-first search | No in infinite spaces | No | O(b^m) | O(bm) |
| Depth-limited search | No if limit < d | No | O(b^l) | O(bl) |
| Iterative deepening | Yes | Yes, with unit step costs | O(b^d) | O(bd) |
| Bidirectional search | Yes, with breadth-first halves | Yes, with unit step costs | O(b^(d/2)) | O(b^(d/2)) |
Breadth-first search expands the shallowest node first and therefore finds the solution with the fewest actions. Uniform-cost search, which is equivalent to Dijkstra’s algorithm with a single target, expands the node with the lowest accumulated cost and returns the cheapest path when costs vary. Depth-first search follows one branch to its end and backtracks, which keeps memory linear but can wander forever in an infinite or cyclic space.
Iterative deepening depth-first search runs depth-limited search with limits 0, 1, 2 and so on. Re-expanding shallow levels looks wasteful, yet with a branching factor of 10 the overhead is only about 11 percent, because most nodes sit at the deepest level. For this reason iterative deepening is the preferred uninformed method when the state space is large and the solution depth is unknown. Bidirectional search runs two simultaneous searches, one forward from the start and one backward from the goal, and stops when the frontiers meet; it requires that predecessors can be computed.
Uninformed search compared with informed methods
The defining contrast is with informed (heuristic) search, such as greedy best-first search and A*, which uses an estimate h(n) of the remaining cost to the goal. A good heuristic can cut the explored portion of the space by several orders of magnitude, while an uninformed method treats every frontier node as equally promising apart from depth or accumulated cost.
| Aspect | Uninformed search | Informed search |
|---|---|---|
| Knowledge used | Problem definition only | Problem definition plus heuristic h(n) |
| Node ordering | Depth or path cost g(n) | h(n) or g(n) + h(n) |
| Design effort | None beyond the model | Requires a valid heuristic |
| Typical efficiency | Exponential in solution depth | Often far smaller effective branching |
| Guarantees | Simple and easy to prove | Depend on admissibility and consistency |
Uninformed search is not obsolete. A* with the zero heuristic reduces exactly to uniform-cost search, so the uninformed method is the limiting case of informed search. It also remains the right tool when no admissible heuristic exists, when the space is small, or when a guaranteed baseline is needed to validate a heuristic solver.
Choosing a strategy in practice
The choice depends mainly on memory limits, cost structure and knowledge of solution depth. Memory is usually the binding constraint: a breadth-first search that generates one million nodes per second can exhaust gigabytes of memory in minutes, long before time becomes the problem.
| Situation | Recommended strategy | Reason |
|---|---|---|
| Unit costs, shallow goal, ample memory | Breadth-first search | Simple, complete and optimal |
| Varying step costs | Uniform-cost search | Only uninformed method optimal for general costs |
| Huge space, unknown depth | Iterative deepening | Optimal for unit costs with linear memory |
| Known maximum depth, many solutions | Depth-limited search | Low memory and quick first solution |
| Single explicit goal, reversible actions | Bidirectional search | Square-root reduction in explored nodes |
Implementation details matter as much as the strategy. Graph search with an explored set avoids exponential blow-up on spaces with many paths to the same state, while tree search on such spaces can repeat work endlessly. Depth-first implementations should at least check for cycles along the current path when a full explored set is too expensive.
Limitations and common mistakes
The central limitation is the combinatorial explosion: with b = 10 and d = 12, breadth-first search may generate on the order of a trillion nodes. Uninformed search is therefore practical only for small or well-structured spaces, or as a component inside larger systems.
- Assuming breadth-first search is optimal with unequal step costs; it minimizes the number of actions, not total cost.
- Applying the goal test at generation time in uniform-cost search, which can return a suboptimal path.
- Running depth-first tree search on a cyclic graph without cycle checks, which may never terminate.
- Ignoring zero-cost actions, which break the completeness guarantee of uniform-cost search.
Understanding it simply
Imagine looking for a friend in a large building with no map and no signs. You have no clue where the friend is. You can only follow a fixed plan. You might check every room on the first floor before going up. Or you might follow one corridor to its end and then come back.
Uninformed search works the same way. A computer explores possible steps in a set order. It does not guess which direction looks better. The order it picks decides how fast it finishes and how much it must remember. The key point is simple: it is reliable, but it can be very slow.
Applied in practice
A warehouse robotics team models its floor as a grid of about 40,000 cells, where each move between adjacent cells costs one unit. Before deploying a tuned A* planner, the engineers need a trusted reference solver to check that every route the heuristic planner returns is truly the shortest.
They implement breadth-first graph search with an explored set, which is complete and optimal for unit costs. On this grid it finishes in well under a second per query and uses a few megabytes. Comparing its results with A* on 10,000 random start and goal pairs reveals two cases where a faulty heuristic overestimated distances near loading docks. After the fix, both planners agree on every test, and the A* planner ships with verified optimal routes.