Bounded Error Heuristic Search

This direction is merged into another direction: epsilon-admissible search. Its last version stays readable and citable here.

Version 1 of 113 papers21 conceptsfrozen 2026-10-04

In classical computer science, the search for the "best" solution—the shortest path, the most relevant recommendation, or the exact data point—often comes with an "optimality tax." Algorithms like A* are mathematically guaranteed to find the absolute shortest path, but they pay for this certainty with exponential time and memory consumption.

The core insight across decades of research is that we can often trade a tiny, controlled amount of optimality for a massive, often exponential, increase in speed. By defining a bounded error, we can stop searching once we find a solution that is "good enough," transforming intractable problems into efficient ones.

The Optimality Tax

The fundamental bottleneck in optimal search is not finding a good solution; it is proving that no better solution exists. In a standard A* search, the algorithm must expand every node whose estimated cost is less than the optimal path cost. As Andreas L. Köll and Hermann Kaindl point out in Bidirectional Best-First Search with Bounded Error: Summary of Results, this requirement forces the algorithm to explore a massive portion of the state space just to verify its result.

By relaxing this requirement to $\epsilon$-admissibility, we allow the algorithm to accept any solution within a factor of $(1 + \epsilon)$ of the optimum. This simple relaxation allows the search to prune vast branches of the search tree that it would otherwise be forced to explore. Malik Ghallab and Dennis G. Allard demonstrated in Aepsilon - An Efficient Near Admissible Heuristic Search Algorithm that this shift can collapse exponential computational complexity into near-linear complexity.

The Bandwidth of Acceptability

Traditional search requires "admissible" heuristics—rules of thumb that never overestimate the cost to the goal. However, many powerful real-world heuristics are highly accurate on average but might occasionally overestimate.

Larry R. Harris introduced the Bandwidth Heuristic Search to solve this. Instead of discarding these "inadmissible" heuristics, we define a bandwidth—a range of acceptable error. If we know our heuristic overestimates by at most a fixed amount, we can still provide formal guarantees on the final solution quality. This allows us to use more "informed" heuristics that guide the search toward the goal much faster than cautious, strictly admissible ones.

This concept extends beyond simple pathfinding. In A-Tree: A Bounded Approximate Index Structure, Alex Galakatos and colleagues apply this to database indexing. By using a "search corridor"—a guaranteed error bound around a predicted data location—they can replace massive index trees with tiny, learned linear functions, trading a small amount of local search for a massive reduction in memory.

Error as a Statistical Buffer

In modern machine learning, the trade-off between speed and error takes on a statistical flavor. In recommendation systems, "linear bandit" algorithms try to find the best item to show a user. Normally, this requires scanning every single item ($O(K)$ complexity).

However, Shuo Yang, Eric Price, and their collaborators argue in Linear Bandit Algorithms with Sublinear Time Complexity that exact search is often a waste of time. If the reward estimates for the items are already noisy (statistical uncertainty), then an approximate search that introduces a small amount of additional error won't actually hurt the system's performance.

As long as the search error remains below the model's statistical uncertainty, the approximation is essentially "free." This allows the system to use approximate Maximum Inner Product Search (MIPS) to find items in sublinear time, achieving massive speedups (up to 72x) without losing accuracy.

Why It Works: Pruning the Frontier

Whether in pathfinding, multiobjective optimization, or online learning, the intuition remains the same: strict optimality is a local constraint that causes global inefficiency.

  1. Early Termination: In bidirectional search, Hermann Kaindl showed that search fronts often meet early, but the algorithm keeps running to prove no better meeting point exists. Bounded error allows the algorithm to stop the moment the fronts meet within the tolerance MBBS.
  2. Aggressive Pruning: In multiobjective search, Nawal Benabbou and Patrice Perny found that allowing a small error in "dominance checks" (comparing two possible paths) allows the algorithm to discard thousands of "nearly-as-good" paths, leading to speedups of over 1,000x Combining Preference Elicitation and Search.
  3. Feasibility over Optimality: As Michael Fink explores in Online Learning of Search Heuristics, shifting the goal from "optimal" to "feasible within a bound" allows the search to focus on reaching the goal rather than obsessing over the cost, making complex problems computationally tractable.

By embracing a controlled amount of error, these researchers move search from a theoretical ideal to a practical tool capable of handling the scale of modern data.

Papers in this version

History & citationVersion 1 · 2026-10-04

Merged into another direction · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_bounded_error_heuristic_search_b1a319e9,
  title = {Bounded Error Heuristic Search},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/bounded-error-heuristic-search/rdr_b1a319e94df548df905a8859c9b13d17},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-25},
}

This exact version (version 1, frozen text):

@misc{lacuna_bounded_error_heuristic_search_b1a319e9_v1,
  title = {Bounded Error Heuristic Search},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/bounded-error-heuristic-search/rdr_b1a319e94df548df905a8859c9b13d17/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-25},
}