Skip to content

Expected-Case Behavior of Greedy Best First Search

Masataro Asai

cs.DS

Abstract

We theoretically analyze the expected search effort of Greedy Best First Search (GBFS) measured by the number of state expansions, under two (plus one) heuristic noise models (Gaussian vs. Lomax ∈\in Regularly Varying ⊆\subseteq Heavy Tail) and two state space models (tree vs. digraph). Our analysis found that the runtime scale is governed by a quantity named the \emph{underestimation quantile} q(t)=Pr⁡[h(u)<h(v)∣h∗(u)=h∗(v)+t]q(t)=\Pr[h(u)<h(v)\mid h^*(u)=h^*(v)+t] for two nodes u,vu, v and a gap tt, which is unique to the tail distribution of each noise distribution. Our result is summarized as follows: For a tree-shaped search space with branching factor bb and solution depth dd, where heuristic h(s)h(s) follows a Gaussian distribution with mean h∗(s)h^*(s) and variance Var[h]\textrm{Var}[h], we derive a closed-form lower bound of expected runtime d⋅exp⁡(Ω(Var[h] (ln⁡b)32))d\cdot\exp(Ω(\sqrt{\textrm{Var}[h]}\,(\ln b)^{\frac{3}{2}})). In contrast, with the same mean and variance, a Lomax distribution instead gives d⋅exp⁡(Ω(Var[h] b1/α))d\cdot\exp(Ω(\sqrt{\textrm{Var}[h]}\, b^{1/α})), quantifying how the tail distribution governs the runtime. We further show two more general results: First, we expand the Lomax result to the general regularly varying distributions with tail index αα, which is the smallest subclass of heavy-tailed distributions. Second, we extend the analyses above to directed graphs, deriving a similar bound under the effective branching factor beffb_{\textrm{eff}}.

Create a lesson