Optimal foraging strategies can be learned

Gorka Muñoz-Gil, Andrea López-Incera, Lukas J. Fiderer, Hans J. Briegel
3/10/2023
cond-mat.stat-mechcs.AIphysics.bio-ph

No official code found. Best implementation: gorkamunoz/rl_opts (6 stars, last commit 2026-04-29).

Abstract

The foraging behavior of animals is a paradigm of target search in nature. Understanding which foraging strategies are optimal and how animals learn them are central challenges in modeling animal foraging. While the question of optimality has wide-ranging implications across fields such as economy, physics, and ecology, the question of learnability is a topic of ongoing debate in evolutionary biology. Recognizing the interconnected nature of these challenges, this work addresses them simultaneously by exploring optimal foraging strategies through a reinforcement learning framework. To this end, we model foragers as learning agents. We first prove theoretically that maximizing rewards in our reinforcement learning model is equivalent to optimizing foraging efficiency. We then show with numerical experiments that, in the paradigmatic model of non-destructive search, our agents learn foraging strategies which outperform the efficiency of some of the best known strategies such as Lévy walks. These findings highlight the potential of reinforcement learning as a versatile framework not only for optimizing search strategies but also to model the learning process, thus shedding light on the role of learning in natural optimization processes.

View on arXivView PDF

Code Implementations(1)

gorkamunoz/rl_optsCommunity100%

Train, benchmark and analyze reinforcement learning agents for optimal searching and foraging

64CSS, PythonNov 5, 20215 months ago

Cite this paper

@article{muozgil2023optimal,
  title  = {Optimal foraging strategies can be learned},
  author = {Gorka Muñoz-Gil and Andrea López-Incera and Lukas J. Fiderer and Hans J. Briegel},
  year   = {2023},
  eprint = {2303.06050},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2303.06050v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2303.06050.svg)](https://codeofpaper.com/paper/2303.06050)

Discussion