Optimizing the success of random searches¶
Citation
- Viswanathan, G. M., Buldyrev, S. V., Havlin, S., da Luz, M. G. E., Raposo, E. P. & Stanley, H. E. (1999). Optimizing the success of random searches. Nature.
- DOI
Abstract¶
The letter's opening paragraph, which serves as its abstract (reference numbers omitted):
We address the general question of what is the best statistical strategy to adapt in order to search efficiently for randomly located objects ('target sites'). It is often assumed in foraging theory that the flight lengths of a forager have a characteristic scale: from this assumption gaussian, Rayleigh and other classical distributions with well-defined variances have arisen. However, such theories cannot explain the long-tailed power-law distributions of flight lengths or flight times that are observed experimentally. Here we study how the search efficiency depends on the probability distribution of flight lengths taken by a forager that can detect target sites only in its limited vicinity. We show that, when the target sites are sparse and can be visited any number of times, an inverse square power-law distribution of flight lengths, corresponding to Lévy flight motion, is an optimal strategy. We test the theory by analysing experimental foraging data on selected insect, mammal and bird species, and find that they are consistent with the predicted inverse square power-law distributions.
Relevance to Hifuku¶
Hifuku's levy_jump_move relocates a tree by a heavy-tailed jump. Its length
is drawn from the Lévy flight-length distribution
\( P(l) \sim l^{-\mu} \) of Viswanathan et al. (1999), who show that, when
targets are sparse and can be revisited, a searcher maximizes its search
efficiency at \( \mu = 2 \). The move uses \( \mu = 2 \) and applies
\( \mathrm{round}(l) \) subtree-prune-and-regraft moves for a drawn length
\( l \), capped at INTEREST_LEVY_MAX_MOVES. Heavy tails give many short
relocations and a few long ones.
The move is not in the survey's move mix. The archive varies a tree by SPR,
nearest-neighbor interchange, branch slide and branch scale only, and
levy_jump_move is exercised by its tests alone. This review and the sampler
derivation below document the move as it exists in the code.
Drawing flight lengths by inverse transform¶
Hifuku draws \( l \) from \( P(l) \sim l^{-\mu} \) on \( [1, \infty) \) by inverse transform. Normalizing the density gives \( p(l) = (\mu - 1)\, l^{-\mu} \), with cumulative distribution \( F(l) = 1 - l^{-(\mu - 1)} \). Inverting \( U = F(l) \) with \( V = 1 - U \), which is itself uniform, gives the sampler
The sampled length then has survival \( P(L > x) = x^{-(\mu - 1)} \) and density
tail \( x^{-\mu} \), recovering the target exponent. The normalization, the
cumulative distribution, the inversion, the tail exponent, and a numeric check
at \( \mu = 2 \) are in
viswanathan1999levy-flight-length.py.