Bounded-suboptimal search finds a path whose cost is guaranteed to be within a factor $w$ of the best possible. It does this by only expanding nodes whose admissible cost estimate (one that never overestimates) lies within $w$ times the current lower bound. The set of such nodes is the "focal list." Inside that list, the search greedily follows a second, faster guide, usually an estimate of how many steps remain. Like any greedy search, it gets stuck in heuristic local minima: regions where the guide says the goal is close but every way out first requires moving to states that look worse. This note starts from one structural fact the literature has not exploited. In bounded search, a trap can have two different kinds of exit. Sometimes the exit is inside the focal list but sits behind a "hill" in the guide, so the search must climb out. Sometimes the exit has already been generated but is temporarily forbidden, because its cost estimate exceeds the current bound. In that case, no amount of local exploration helps, and the only remedy is to raise the lower bound until the exit becomes eligible.
We propose to measure how often each kind of trap occurs on standard planning benchmarks and to build a bounded search that tells them apart online. When the search stagnates, it checks whether a lower-guide node is waiting just outside the focal list. If one is, it spends effort raising the bound. If none is, it spends effort exploring locally within the focal list. Every expansion still comes from the focal list or from the lowest-cost node, so the $w$ guarantee is untouched. The contribution is both a diagnosis and an algorithm. The diagnosis extends the finding that search effort grows exponentially with trap depth to the bounded setting. The algorithm gives that diagnosis a direct behavioral use. A case where the diagnosis turns out not to matter is reported as a result, not hidden.
Core Claim
Current bounded-suboptimal algorithms divide effort between "find a goal" and "raise the bound" either on a fixed schedule or by reasoning about cost estimates. None of them asks why goal-finding has stalled. The round-robin scheme of New Results in Bounded-Suboptimal Search gives one third of all expansions to each of three queues:
- a focal queue ordered by distance-to-go $d$;
- an inadmissible-estimate queue $\hat f$;
- a cleanup queue ordered by admissible $f$.
That scheme beat EES and DPS. Its authors note that its allocation cannot adapt, and that it does not approach pure greedy search as $w$ grows. Type-WA* restricts expansions to the focal list and alternates 50/50 between greedy steps and uniform sampling over buckets of nodes that share the same $(h, g)$ values. That sampling ignores whether the search is trapped at all.
Our claim is that stagnation in bounded search splits into two observable classes, which call for opposite responses. Let $d^\star_t$ be the lowest distance-to-go among focal nodes expanded so far at expansion $t$. Call the search stagnant when $d^\star_t$ has not improved for $k$ expansions. A stagnation episode is bound-gated when
$$\min_{n \in \text{Open} \setminus F_t} d(n) \;<\; d^\star_t ,$$
where $F_t$ is the focal list (nodes with $f(n) \le w \cdot f_{\min}$). In words, a node that looks closer to the goal than anything reached so far has already been generated but is excluded by the bound. Otherwise the episode is an ordinary local minimum, of the kind studied for greedy search by Local Minima, Heavy Tails, and Search Effort for GBFS.
The test costs one extra heap ordered by $d$ over all of Open. We predict three things:
- Effort tracks gated depth. In domains with large cost variance and tight bounds, total effort is explained better by the depth of the deepest gated episode than by plain trap depth.
- Diagnosis changes outcomes. Routing effort by the diagnosis beats both fixed schedules and stagnation-triggered exploration that does not diagnose.
- The search becomes greedier as $w$ grows. At large $w$ gated episodes become rare, so the controller naturally shifts effort away from cleanup.
Research Program
Instrumenting existing algorithms
The first stage is measurement. We will instrument focal search with a $d$ guide and RR-d in Fast Downward. For every run we log each stagnation episode with the following quantities:
- its depth, defined as the gap between the guide value at the episode's exit and its minimum inside the episode, following Cohen and Beck's $h$-depth;
- its size in expansions;
- whether the test above declared it gated;
- how it actually ended.
The last item gives post-hoc ground truth. An episode truly ended "by the bound" if the node that broke stagnation entered the focal list because $f_{\min}$ rose. It ended "by climbing" if that node was focal when it was generated. This lets us check how accurate the online test is, separately from whether the algorithm built on it performs well.
The algorithm
The second stage is a diagnostic round-robin. It keeps RR-d's three queues and its default one-third split, so with no stagnation it is RR-d. During a stagnation episode, it responds according to the diagnosis:
- Gated episode. The cleanup share rises toward a cap (we will sweep the cap, starting at two thirds), because raising $f_{\min}$ is the only way to admit the waiting exit.
- Ungated episode. The cleanup share drops. The freed effort goes to exploration within the focal list, using buckets keyed on $(d, g)$ rather than $(h, g)$.
The bucket choice follows Speedy versus Greedy Search. That paper showed that step-count guides produce far smaller local minima than cost-based guides when action costs vary: the largest local minimum on the inverse-cost 15-puzzle shrank from 51,532 to 392 nodes. Bucket sampling itself is the device from Type-Based Exploration with Multiple Search Queues. Its point is that sampling buckets uniformly, rather than nodes, keeps the huge interior of a bad region from swamping the samples.
The bound is preserved by construction. Every expansion comes either from $F_t$ or from the minimum-$f$ node, and a goal is returned only when $g(\text{goal}) \le w \cdot f_{\min}$, exactly as in focal search Aepsilon. The same controller carries over to additive bounds $f(n) \le f_{\min} + \gamma$ in the style of Using Alternative Suboptimality Bounds in Heuristic Search. We will test that version only on the 15-puzzle.
How the cited work positions this
Several papers supply the motivation and the tools:
- Cohen and Beck showed that the deepest trap governs greedy-search effort, and they used $h$-backtracks to detect traps. We reuse their depth measurement but do not adopt their restart remedy, because a restart throws away the open list that certifies $f_{\min}$.
- Adding Local Exploration to GBFS supplies the stagnation trigger. Its focused local search escaped one notankage plateau in under a second, against 763 seconds for plain greedy search. However, it gives no guarantee on solution quality and has no notion of a gated exit.
Other work constrains the design:
- The weight paradox documented in Type-WA* rules out "just raise $w$" as an escape.
- The overhead lesson of Simpler Bounded Suboptimal Search caps how much per-node bookkeeping we can afford. That paper replaced EES's synchronized queues and gained about 2.5× in speed per expansion. This is why the test uses a single extra heap and no meta-reasoning.
A Multi-Heuristic A* Algorithm Based on Stagnation Detection also switches behavior on stagnation, but it switches among heuristics in manipulator planning. It has no bound-gating notion.
Baselines
Naive reference: weighted A*. Weighted A* at the same $w$ is the default a practitioner would use. It shows the size of the problem: per Hatem and Ruml, it solved no inverse-tile instances in the time limit, while SEES solved them in under a second.
Strongest general competitor: round-robin. RR-d and RR-DXES are the methods to beat, since the proposal deliberately reduces to RR-d when no trap is present. New Results in Bounded-Suboptimal Search reports normalized coverage at $w = 1.5$ on 1,652 IPC instances from 48 domains of 62.5% for RR-DXES and 60.7% for RR-d, against 57.0% for EES and 60.0% for DPS. We will rerun both on that same suite and bound, with the same heuristics, time and memory limits, and machine.
Strongest trap-aware competitor: Type-WA*. Type-WA is the closest method aimed specifically at traps. Type-WA* reports average coverage of 301.2 out of 456 IPC instances with the landmark-count heuristic at $w = 3$, versus 245 for weighted A. We will rerun it at both $w = 1.5$ and $w = 3$, so that each paper's reported setting appears in our comparison.
Fair tuning. Each of these baselines receives the same number of configuration trials for its free parameters as our method. That means the exploration ratio for Type-WA*, and the stagnation window $k$ and cleanup cap for ours, all tuned on a held-out set of domains.
Beating them. We count a method as winning if it gains normalized coverage over RR-DXES at $w = 1.5$ and coverage over Type-WA* at $w = 3$, with no loss of more than one instance on any domain family where gating is rare. A gain confined to trap-heavy domains such as NoMystery also counts, provided we report it as such.
Key ablations. Three ablations isolate where any gain comes from:
- Undiagnosed trigger: the same stagnation trigger always routes effort to focal exploration. This isolates the value of the diagnosis.
- Gated-only response: only the cleanup boost is used.
- Oracle diagnosis: each episode is labeled post hoc from a first run, and that label drives a second run. This bounds how much an accurate diagnosis could possibly buy.
Why not just…?
Why not just add $\epsilon$-greedy random selection inside the focal list? A Comparison of Knowledge-Based GBFS Enhancements and Knowledge-Free Exploration found that random node selection is a strong baseline, raising greedy-search coverage from 528 to 585.1 at $\epsilon = 0.2$. However, Xie et al. showed that sampling nodes uniformly fails in NoMystery: Type-GBFS solved 17 of 20 instances where plain GBFS solved 9, because the bad region holds most of the nodes. More fundamentally, random focal selection cannot help a gated episode, since the exit is not in the focal list at all. We include $\epsilon$-focal as a baseline. If it matches our method on domains with a high gated fraction, the gating thesis is wrong.
Why not just keep static RR-d? RR-d already spends a third of its effort raising the bound, so it handles gated traps passively. This is the most serious threat. If gated episodes are frequent everywhere, a fixed third may already be close to the right amount. The diagnostic study settles the question directly. The method can only win if the gated fraction varies across episodes and domains, so that a fixed split is wrong in both directions. We will report that distribution before any algorithm comparison.
Why not just stagnation-triggered local exploration, as in GBFS with local exploration, carried over to focal lists? This idea is simpler and closely resembles ours, which is why it is our main ablation rather than an alternative we argue against. If it ties the diagnostic version, the honest conclusion is that stagnation detection, not diagnosis, carries the gain. We would then present a bounded version of local exploration as the result.
Why not just raise $w$? Type-WA documents that weighted A can expand more nodes as $w$ grows inside regions where the heuristic is uninformative. Separately, the user's quality requirement fixes $w$.
Proposed Experiments and Decisive Checks
Benchmarks and metrics. We use the 48-domain IPC suite in Fast Downward at $w \in \{1.5, 2, 3, 5\}$. We add the heavy-cost and inverse-cost 15-puzzle, the heavy pancake puzzle, and Towers of Hanoi with reverse-square costs. These are the cost-variance domains in which Wilt and Ruml found that greedy search needed over 559,000 expansions and speedy search 36,000. Metrics are coverage, normalized coverage, expansions, wall time including heap overhead, the ratio of achieved cost to best known cost, and the 90th-percentile runtime, which captures the heavy tail.
First check: diagnosis. Across instances, does log effort correlate more strongly with the depth of the deepest gated episode than with plain trap depth? We compare against the 0.73–0.98 range Cohen and Beck report for greedy search, while recognizing that no bounded-search figure exists. How accurate is the online gated test against the post-hoc labels? If the gated fraction is near zero on most IPC domains, the proposal narrows to cost-variance domains, and we say so.
Second check: per-domain value of diagnosis. On each domain, compare the diagnostic controller with the undiagnosed trigger and with the oracle. The diagnosis should matter exactly where the gated fraction is high, and should be neutral elsewhere.
Third check: behavior as $w$ grows. Track the controller's cleanup share across $w$. A falling share that approaches pure speedy search would address the limitation Fickert et al. raise about round-robin.
References
- New Results in Bounded-Suboptimal Search
- Type-WA*: Using Exploration in Bounded Suboptimal Planning
- Local Minima, Heavy Tails, and Search Effort for GBFS
- Speedy versus Greedy Search
- Type-Based Exploration with Multiple Search Queues for Satisficing Planning
- Aepsilon - An Efficient Near Admissible Heuristic Search Algorithm
- Using Alternative Suboptimality Bounds in Heuristic Search
- Adding Local Exploration to Greedy Best-First Search in Satisficing Planning
- Simpler Bounded Suboptimal Search
- A Multi-Heuristic A* Algorithm Based on Stagnation Detection for Path Planning of Manipulators in Cluttered Environments
- A Comparison of Knowledge-Based GBFS Enhancements and Knowledge-Free Exploration