arXiv:2610.34643physics.soc-phOct 2026

Manuscript Offprint

arXiv:2610.34643

Competitive exploration in structured environments

James P. Wolfe, Joshua B. Plotkin

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Organisms must constantly weigh exploiting the resources they know against exploring for better ones. When foragers compete, the best behavior for each forager also depends on what its competitors do. How does competition change the strategic balance between exploration and exploitation? Here we address this question in a minimal model: two ε\varepsilon-greedy temporal-difference learners on a one-dimensional lattice, who start at a small reward at one end and are unaware of a larger reward at the other. For a lone forager, the optimal exploration rate increases monotonically with the value of the distant reward, and with its distance up to a critical distance. When two foragers share the lattice and split rewards, the choice of exploration rate becomes a game whose Nash equilibria have both foragers exploring, both staying, or one exploring while the other stays (anti-coordination). Under local best-response dynamics, pairs of foragers often converge on both exploring or both staying, even when anti-coordination would be socially optimal. This social dilemma arises for a wide range of parameters, and it persists even in a simplified model without explicit spatial structure. A minimal, naturalistic signal, in which one forager informs the other that it has found the distant reward, can remove many of the dilemmas in which both foragers explore, and can produce a Nash equilibrium whose collective payoff exceeds that of every outcome available without signaling.

Across species and timescales, organisms must balance exploiting the resources they already know against exploring for better ones they have not yet found. A bacterium performing chemotaxis alternates between swimming up an attractant gradient and tumbling to reorient at random (Berg and Brown 1972); a bee colony works its known flower patches while dispatching scouts in search of richer ones; and a person searching for information faces the same choice (Pirolli and Card 1999). The tradeoff has been studied for decades in behavioral ecology, where optimal foraging theory asks how an animal should time its departure from a depleting resource and divide its effort among sites of differing quality (Charnov 1976; Stephens and Krebs 1986; MacArthur and Pianka 1966). Whether the relevant timescale is a single lifetime or an evolutionary one, the balance that maximizes long-run reward is difficult to strike, and it depends both on the structure of the environment and on the behavior of others exploiting it.

Reinforcement learning provides a formal framework for managing the exploration-exploitation tradeoff (Sutton and Barto 2018). An agent that interacts repeatedly with its environment maintains value estimates for the states and actions available to it, and at each step chooses between the action favored by its current value estimates and an alternative that may prove better. The tension is sharpest in the multi-armed bandit problem (Robbins 1952), in which an agent chooses repeatedly among fixed options with unknown reward distributions. Most of the resulting theory pursues regret minimization—algorithms whose cumulative reward provably stays close to that of the best fixed option (Lai and Robbins 1985; Auer et al. 2002). These guarantees are worst-case: they bound performance across all environments rather than prescribe how much an agent should explore in a particular one. How humans and other animals in fact resolve the exploration-exploitation tradeoff has itself become an active question in cognitive science and neuroscience (Daw et al. 2005; Tavoni et al. 2022).

Animal foraging departs from the stylized bandit problem in one important respect: foraging options are not equally accessible. Reaching a distant resource takes time, during which the forager collects nothing, so exploration incurs an opportunity cost in travel time that a bandit model omits. We therefore study reinforcement learners in spatially structured environments, in which movement between options is itself costly. We adopt temporal-difference (TD) learning (Sutton 1988), in which an agent revises the value it assigns to a site using the values it has assigned to neighboring sites. TD learning is a standard model of animal reward learning, and it has a well-documented neural correlate: the phasic activity of midbrain dopamine neurons covaries with the reward-prediction error term of the TD update (Schultz et al. 1997; Montague et al. 1996), and the same signal has been identified in the human brain (O'Doherty et al. 2003). TD learning has been applied specifically to spatial foraging, such as bumblebees moving among flowers (Montague et al. 1995).

How much should a learner explore new territory versus exploit known resources? The simplest rule is ε\varepsilon-greedy, governed by a single exploration rate ε\varepsilon: with probability 1−ε1 - \varepsilon the agent takes the action it currently values most, and with probability ε\varepsilon it moves at random. Despite its simplicity, ε\varepsilon-greedy often matches or outperforms more elaborate algorithms with dynamic exploration rates and stronger convergence guarantees (Vermorel and Mohri 2005; Kuleshov and Precup 2014), and it requires no sophisticated cognition about the environment, unlike dynamic programming (Bellman 1957; Puterman 1994; Sutton and Barto 2018). But systematic guidance on which exploration rate ε\varepsilon performs best in a given environment remains scarce. A fixed rate is also the natural object of study for an evolved forager: an animal may be unable to adjust its exploration rate from moment to moment, and instead have an intrinsic rate shaped by natural selection to suit its ecology (Dingemanse and Wolf 2010; Wolf et al. 2007). Consistent with such intrinsic variation, ant colonies of different species differ in their exploitation intensity: species that commit most of their foragers to the better of two feeders are slow to reallocate when the poorer feeder improves, whereas species that spread foragers more evenly shift readily to the improved feeder (Latty and Beekman 2013). In the terms of our model, each species behaves as though it has a different fixed exploration rate.

Foragers are rarely alone, though, and competition changes what each of them should do (Giraldeau and Caraco 2018). Competitive multi-armed bandit models with shareable rewards address a version of this question: at the Nash equilibrium of such a game the number of agents at each option is roughly proportional to that option's value (Xu et al. 2023), recalling the ideal free distribution of classical foraging theory (Fretwell and Lucas 1969; Parker and Sutherland 1986). Our setting is neither ideal nor free: the agents lack perfect information, and although nothing prevents a forager from traveling to the distant reward, the opportunity cost of doing so can be large.

Here we ask what fixed exploration rates are individually and socially optimal when foragers compete for shared rewards in a spatially structured environment: a one-dimensional lattice with a small, known reward at one end and a larger, undiscovered reward at the other. We first find that, for a single forager, the reward-maximizing exploration rate is intermediate—rising with the value of the distant reward, and rising and then falling with the distance to it. We then find that competition makes the choice of rate a two-player game whose Nash equilibria include anti-coordination, in which two identical foragers adopt opposite behaviors, and that the Nash equilibria at which both foragers stay or both foragers explore are often collectively worse than anti-coordination, producing a social dilemma. Finally, we find that a simple, cognitively undemanding signal—one forager informing another that it has found the distant reward—can remove the suboptimal equilibrium at which both foragers explore and resolve the dilemma.

Model

References (45)