AI Glossary / Graphs and symbolic AI / Advanced
B*
Definition
B* is a best-first tree-search procedure that seeks to establish which choice at the root is better than its alternatives. It uses lower and upper bounds on node values to focus further exploration where it can help separate the leading choice from competing choices.
What it means
The method is associated with Hans Berliner's work on adversarial search. Instead of searching every branch to the same predetermined depth, it aims to gather enough evidence to justify a root decision. Its value estimates represent a range of possibilities rather than a single number.
For a maximizing choice, a lower bound expresses a pessimistic value and an upper bound expresses an optimistic value. A candidate becomes decisively preferable when its supported lower bound exceeds the upper bounds of the alternatives. Overlapping ranges signal that the available evidence has not yet separated the choices.
The name can be confusing. This B* is a search algorithm, not the B* tree data structure used in storage and indexing. It also should not be treated as another spelling of A*.
How it works
The search maintains a tree whose frontier nodes have value bounds. Information is propagated upward according to the decision structure, including maximizing and minimizing roles in adversarial settings. Expansion refines the information available about selected branches.
The central strategy is to work on proving a promising root choice or showing that a competing choice cannot overtake it. This makes the order of exploration depend on the current uncertainty and the evidence needed for a decision.
The strength of the conclusion depends on bound validity. If heuristic intervals exclude the true values, apparently decisive separation may be misleading. Berliner's stated correctness condition requires valid bounds within the relevant subtree. Estimated ranges therefore should not be advertised as unconditional mathematical guarantees.
Three practical examples
- A game-playing research system directs analysis toward moves whose value ranges still overlap, rather than extending every move equally.
- A teaching tool visualizes how narrowing one rival's upper bound can resolve a decision without fully evaluating the favorite.
- A planning experiment studies whether valid lower and upper bounds can reduce the search needed to select an initial action under a clearly defined objective.
Think of it this way
Think of comparing several bids when each has a defensible minimum and maximum total value. You may not need an exact appraisal of every bid if one bid's worst supported value is better than every rival's best supported value.
The limit is the word “defensible.” A hopeful estimate is not a valid bound. The analogy illustrates decision separation, not a promise that uncertain business valuations satisfy the mathematical conditions required by the search procedure.
Worked example
When the ranges finally separate
Suppose a maximizing root has three choices with valid value intervals: A is between 7 and 12, B between 5 and 10, and C between 2 and 6. Higher values are better.
C cannot beat A because its upper bound, 6, is below A's lower bound, 7. A and B remain unresolved: B could be worth 10 while A is worth 7. Selecting A solely because its upper bound is largest would not establish that it is best.
Further exploration narrows B to between 5 and 6.5. A's lower bound of 7 now exceeds both rival upper bounds. The decision can be justified without knowing whether A's exact value is 8 or 11.
If B's true value were actually 9 despite the reported upper bound of 6.5, that conclusion would fail. The error would lie in the invalid bound, illustrating the condition behind the proof claim.
Illustrative case study
Fictional case: Cedar Games experiments with interval-based search for a small strategy game. The team initially labels evaluation ranges as “guaranteed,” although they were produced by a heuristic calibrated on a limited collection of positions.
An unusual position places the eventual value outside a reported range. The developers revise their documentation and distinguish proven bounds from heuristic estimates. They also compare decisions with exhaustive search on small positions where exact results are available.
The experiment can still investigate whether the search strategy uses computation effectively. What it cannot claim is unconditional correctness from ranges that have not been shown to contain the true values.
Common misconceptions and mistakes
- B* is the same as a B* indexing tree. The shared name refers to different computational ideas.
- The highest upper bound identifies the best move. It identifies an optimistic possibility, which may not survive further analysis.
- Every branch needs an exact value. Separating valid bounds can be enough for the root decision.
- Heuristic ranges automatically confer proof. The guarantee depends on their validity.
- Best-first means universally fastest. Performance depends on the problem, bound quality and implementation.
Business use
B* is most useful to business readers as an example of decision-focused search: spend computation on uncertainty that can still change the choice. That principle can inform evaluation of planning and game-search systems without assuming that the historical algorithm fits every commercial problem.
When assessing such a system, ask what the values represent, how bounds are obtained and what happens when they overlap at the resource limit. Separate an exact decision under valid assumptions from a practical choice made using estimates.
People also ask
Does B* require exact leaf evaluations everywhere?
No. Its purpose is to use bounds to establish a root choice without fully resolving every alternative.
Can it stop with overlapping ranges?
A resource-limited implementation may choose to stop, but that does not itself provide the same separation-based justification.
Is B* a learning algorithm?
The search procedure itself is not synonymous with learning. Learned or hand-designed evaluations could supply information, with their own limitations.
Check your understanding
A has a valid interval [4, 9] and B has [5, 8]. Is A proved better because 9 is larger than 8?
Answer: No. The intervals overlap. A could be worth 4 while B is worth 8. Further evidence is needed to establish which choice is better.
Related terms
- Best-first search
- Adversarial search
- Minimax
- branch and bound
- heuristic evaluation
- upper bound
- lower bound
- A*
Learn next
Create three alternative actions with explicit value intervals and practice identifying which comparisons are settled. Change one bound at a time and observe when the preferred choice becomes provable. Then study minimax to understand how values propagate through alternating decisions before examining B* implementation details.
More in Graphs and symbolic AI
- Average degree connectivity - Average degree connectivity describes the average degree of neighbors of nodes that share a particular degree.
- Average neighbor degree - Average neighbor degree is the mean number of connections held by a node's immediate neighbors.
- Axiom - An axiom is a statement accepted as a starting assumption within a formal theory or knowledge system.
- Back-propagation through time - Backpropagation through time, or BPTT, computes training gradients for a recurrent model by treating its successive time steps as an unfolded computational...
- Background knowledge - Background knowledge is information already available to an AI system that helps it interpret observations, reason about a domain or learn new relationships.
- Backjumping - Backjumping is a constraint-search technique that responds to a dead end by returning to an earlier decision relevant to the conflict, potentially skipping...
Sources
Hans Berliner, The B* Tree Search Algorithm: A Best-First Proof Procedure, Artificial Intelligence, 1979, publisher abstract describing bounds and the validity condition: https://www.sciencedirect.com/science/article/pii/0004370279900031
Russell and Norvig, official bibliography, records the historical paper: https://people.eecs.berkeley.edu/~russell/aima1e/aima-bib.html
The interval calculation and fictional research case are original illustrations; the full paper was not independently audited for this entry.
Previous: Axis-aligned condition Next: B-frame