pith. sign in

arxiv: 2606.13639 · v1 · pith:3BQX447Znew · submitted 2026-06-11 · 💻 cs.MA

Tuning Agent-Based Predator-Prey Models Toward Lotka-Volterra Dynamics

Pith reviewed 2026-06-27 04:49 UTC · model grok-4.3

classification 💻 cs.MA
keywords agent-based modelspredator-prey dynamicsLotka-Volterra modelparameter optimizationpopulation cyclesneural network controllersmulti-agent systemsJAX simulation
0
0 comments X

The pith

Environmental and demographic parameters can be tuned so agent-based predator-prey models produce dynamics resembling classical Lotka-Volterra cycles.

A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.

The paper asks whether local rules in an agent-based predator-prey system can be adjusted through environmental and demographic parameters to generate the familiar oscillatory population patterns of the Lotka-Volterra model. Agents are sheep and wolves with internal energy, local sensing, and recurrent neural network controllers; parameters are optimized via a loss that scores sustained oscillations, phase lag between populations, bounded sizes, and long-term survival. A reader would care because this tuning bridges detailed, rule-driven simulations to a simple mathematical description, showing how complex local interactions might be made to recover classic global behavior. The optimization is performed first on random controllers and then on evolved ones inside a JAX-based batched simulator.

Core claim

Environmental and demographic parameters can be optimized with a feature-based loss rewarding sustained oscillations, phase lag, bounded populations, and long-term persistence so that the resulting population time series in an agent-based model with neural-controlled sheep and wolves resemble classical Lotka-Volterra cycles, both for random controllers and for evolved controllers in a more naturalistic setting.

What carries the argument

Feature-based loss function that scores population time series on oscillation sustainability, phase lag, boundedness, and persistence to guide parameter search.

If this is right

  • Tuned agent-based models can serve as microscopic realizations of the Lotka-Volterra equations for studying emergence of cycles from local rules.
  • The same parameter-tuning procedure can be applied to other agent-based systems to recover known macroscopic dynamics.
  • Efficient batched simulation on accelerators makes exhaustive search over environmental and demographic parameters practical.
  • The method works for both random and evolved neural controllers, indicating robustness across controller types.

Where Pith is reading between the lines

These are editorial extensions of the paper, not claims the author makes directly.

  • If the tuned models also match Lotka-Volterra responses to parameter perturbations or external shocks, the resemblance would be stronger than surface statistics alone.
  • The approach could be used to diagnose when an agent-based model has entered regimes that cannot be captured by simple differential equations.
  • Similar loss-driven tuning might help stabilize other multi-agent simulations that currently exhibit collapse or saturation.

Load-bearing premise

The chosen features in the loss function measure genuine dynamical resemblance rather than allowing the optimizer to discover superficial statistical matches that do not reflect the underlying cycle structure.

What would settle it

After optimization, simulate the agent-based model for many generations and verify whether the predator and prey population peaks maintain a consistent phase lag of roughly one quarter cycle while remaining bounded and non-collapsing.

Figures

Figures reproduced from arXiv: 2606.13639 by Corinna Mandl, Marcel van Gerven, Siddharth Chaturvedi.

Figure 1
Figure 1. Figure 1: (a) Snapshot of model with agent interactions. (b) Different sensing scenarios. (c) Energy during the birth-death process of agents. Population turnover follows threshold-based birth and death. Inspired by the canonical Wolf Sheep model [23], an agent i ∈ A is eliminated when its internal energy ei(t) remains below a death threshold ed for an uninterrupted interval td. In contrast to stochastic reproductio… view at source ↗
Figure 2
Figure 2. Figure 2: Lotka-Volterra tuning in the predator-prey ABM. (a) ABM-level loss during optimisation of ϕ (ABM) with fixed random or evolved controllers. Lines show means across four seeds and bands show one standard deviation. (b) Population trajectories under random ABM parameters. (c) Population trajectories after ABM-parameter optimisation. Fig. 2b shows the population trajectories over a rollout of T = 15000 steps … view at source ↗
Figure 3
Figure 3. Figure 3: Agent controller optimisation and spatial organisation. (a) Sheep and wolf fitness curves, shown as mean across three seeds with one-standard-deviation bands. (b) Optimised ABM rollout with evolved agents at t = 0. (c) Same rollout at t = 1000, showing wolf aggregation near the grass patch and broader sheep dispersion. 4 Discussion In this work, we showed that a continuous agent-based predator-prey model c… view at source ↗
read the original abstract

Recent growth in compute power has made it increasingly feasible to use large-scale agent-based models to simulate complex adaptive systems. A central difficulty is that such models contain many local rules and parameters, where small changes can lead to runaway behaviour, population collapse, or saturation at artificial bounds. We study this problem in a continuous predator-prey system where sheep and wolves are active agents with local sensing, internal energy, and recurrent neural network-based controllers. We ask whether environmental and demographic parameters can be tuned so that the resulting population dynamics resemble classical Lotka-Volterra cycles. We optimise these parameters with a feature-based loss that rewards sustained oscillations, phase lag, bounded populations, and long-term persistence, first for random controllers and then for evolved controllers in a more naturalistic setting. The model is implemented in ABMax, a JAX-based agent-based modelling framework that enables efficient batched simulation on hardware accelerators.

Editorial analysis

A structured set of objections, weighed in public.

Desk editor's note, referee report, simulated authors' rebuttal, and a circularity audit. Tearing a paper down is the easy half of reading it; the pith above is the substance, this is the friction.

Referee Report

2 major / 2 minor

Summary. The paper studies an agent-based predator-prey model (sheep and wolves as agents with local sensing, internal energy, and RNN controllers) implemented in the JAX-based ABMax framework. It claims that environmental and demographic parameters can be tuned, via a feature-based loss rewarding sustained oscillations, ~90° phase lag, bounded populations, and long-term persistence, to produce population dynamics resembling classical Lotka-Volterra cycles; the optimization is performed first on random controllers and then on evolved controllers in a more naturalistic setting.

Significance. If the tuned trajectories are shown to approximately obey the LV vector field (rather than merely matching generic oscillation statistics), the work would offer a practical calibration method for complex ABMs to match known analytical models, improving their reliability for studying adaptive systems. The efficient batched simulation on accelerators is a clear technical strength.

major comments (2)
  1. [Abstract / loss definition] The feature-based loss (defined on four scalar statistics: sustained oscillations, phase lag, boundedness, persistence) is necessary but not sufficient to establish resemblance to Lotka-Volterra dynamics. Any stable limit cycle with appropriate lag can score highly; the manuscript must include post-hoc verification that the resulting trajectories approximately satisfy the LV ODEs or exhibit the conserved quantity, otherwise the central claim rests on superficial matches.
  2. [Abstract] No quantitative results, error bars, or validation metrics are reported in the abstract, and the full text provides no indication of whether the optimization was run with multiple random seeds or whether the reported resemblance survives out-of-sample parameter perturbations. This leaves open the possibility of post-hoc selection.
minor comments (2)
  1. Clarify the exact mathematical definition of the four loss terms and the relative weighting used during optimization.
  2. Specify the architecture and training details of the RNN controllers (number of hidden units, initialization, etc.) so that the distinction between random and evolved controllers is reproducible.

Simulated Author's Rebuttal

2 responses · 0 unresolved

We thank the referee for the constructive feedback on our manuscript. The comments highlight important ways to strengthen the central claim of resemblance to Lotka-Volterra dynamics and to improve reporting standards. We respond to each major comment below and indicate the revisions we will make.

read point-by-point responses
  1. Referee: [Abstract / loss definition] The feature-based loss (defined on four scalar statistics: sustained oscillations, phase lag, boundedness, persistence) is necessary but not sufficient to establish resemblance to Lotka-Volterra dynamics. Any stable limit cycle with appropriate lag can score highly; the manuscript must include post-hoc verification that the resulting trajectories approximately satisfy the LV ODEs or exhibit the conserved quantity, otherwise the central claim rests on superficial matches.

    Authors: We agree that the feature-based loss targets statistical signatures rather than directly enforcing the Lotka-Volterra ODE structure, and that other limit cycles could achieve high scores. The ~90° phase lag and sustained bounded oscillations are core LV signatures, but this does not substitute for explicit verification. In the revised manuscript we will add post-hoc analysis on the optimized trajectories, including checks against the LV vector field and approximate conservation of the quantity V = x − ln(x) + y − ln(y), to demonstrate that the resemblance is not merely superficial. revision: yes

  2. Referee: [Abstract] No quantitative results, error bars, or validation metrics are reported in the abstract, and the full text provides no indication of whether the optimization was run with multiple random seeds or whether the reported resemblance survives out-of-sample parameter perturbations. This leaves open the possibility of post-hoc selection.

    Authors: We accept that the abstract should report quantitative outcomes and that robustness details belong in the main text. In revision we will update the abstract with key performance metrics (e.g., achieved loss values and population statistics) together with variability measures. We will also add explicit reporting of results across multiple random seeds for the optimization procedure and include an out-of-sample perturbation test to address selection concerns. revision: yes

Circularity Check

0 steps flagged

No significant circularity; optimization matches independent features by design but claims no tautological derivation

full rationale

The paper describes an empirical optimization procedure using a feature-based loss on oscillations, phase lag, boundedness and persistence to tune ABM parameters toward LV-like statistics. These features are defined externally to the LV equations themselves and serve as an optimization target rather than a self-referential derivation. No equations, self-citations, or uniqueness theorems are presented in the available text that would reduce a claimed result to its own inputs by construction. The central result is simply that the optimizer can achieve the specified feature targets; this does not constitute a first-principles derivation that collapses into the loss definition.

Axiom & Free-Parameter Ledger

1 free parameters · 1 axioms · 0 invented entities

The central claim rests on the assumption that the optimization process can find parameters that make the ABM behave like the LV model, with the loss function as the key mechanism.

free parameters (1)
  • environmental and demographic parameters
    These are optimized to achieve the desired dynamics.
axioms (1)
  • domain assumption The feature-based loss captures the essential properties of Lotka-Volterra dynamics.
    Invoked in the optimization approach described in the abstract.

pith-pipeline@v0.9.1-grok · 5689 in / 1149 out tokens · 35120 ms · 2026-06-27T04:49:01.299734+00:00 · methodology

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Reference graph

Works this paper leans on

24 extracted references · 11 canonical work pages

  1. [1]

    http://github.com/jax-ml/jax (2018)

    Bradbury, J., Frostig, R., Hawkins, P., Johnson, M.J., Leary, C., Maclau- rin, D., Necula, G., Paszke, A., VanderPlas, J., Wanderman-Milne, S., Zhang, Q.: Jax: Composable transformations of python+numpy programs. http://github.com/jax-ml/jax (2018)

  2. [2]

    Chaturvedi, S., El-Gazzar, A., van Gerven, M.: Abmax: A jax-based agent- based modeling framework (2025)

  3. [3]

    ArXiv preprint arXiv:2510.18886 (2025)

    Chaturvedi, S., El-Gazzar, A., van Gerven, M.: Emergence of internal state- modulated swarming in multi-agent patch foraging system. ArXiv preprint arXiv:2510.18886 (2025)

  4. [4]

    ArXiv preprint arXiv:2604.00810 (2026)

    Chaturvedi, S., El-Gazzar, A., van Gerven, M.: Role differentiation in a coupled resource ecology under multi-level selection. ArXiv preprint arXiv:2604.00810 (2026)

  5. [5]

    2009 , journal =

    Clauset, A., Shalizi, C.R., Newman, M.E.J.: Power-law distribu- tions in empirical data. SIAM Review51(4), 661–703 (2009). https://doi.org/10.1137/070710111

  6. [6]

    Annual Review Of Ecology, Evolution, And Systematics36, 147–168 (2005)

    DeAngelis, D.L., Mooij, W.M.: Individual-based modeling of ecological and evolutionary processes. Annual Review Of Ecology, Evolution, And Systematics36, 147–168 (2005). https://doi.org/10.1146/annurev.ecolsys.36.102003.152644

  7. [7]

    Crc Press (2004)

    Ericson, C.: Real-Time Collision Detection. Crc Press (2004)

  8. [8]

    ArXiv preprint arXiv:1604.00772 (2016) 12 C

    Hansen, N.: The cma evolution strategy: A tutorial. ArXiv preprint arXiv:1604.00772 (2016) 12 C. Mandl et al

  9. [9]

    In: Social self-organization: Agent- based simulations and experiments to study emergent social behavior, pp

    Helbing, D.: Agent-based modeling. In: Social self-organization: Agent- based simulations and experiments to study emergent social behavior, pp. 25–70. Springer (2012)

  10. [10]

    Periodicals Of Engineering And Natural Sciences4(1), 44–50 (2016)

    Hodzic, M., Selman, S., Hadzikadic, M.: Complex ecological system model- ing. Periodicals Of Engineering And Natural Sciences4(1), 44–50 (2016). https://doi.org/10.21533/pen.v4i1.9

  11. [11]

    Daedalus121(1), 17–30 (1992)

    Holland, J.H.: Complex adaptive systems. Daedalus121(1), 17–30 (1992)

  12. [12]

    Idema, T.: The Behaviour and Attractiveness of the Lotka-Volterra Equa- tions. Ph.D. thesis, Universiteit Leiden (2005)

  13. [13]

    In: Proceedings of the Companion Conference On Genetic And Evolutionary Computation

    Lange, R.T.: Evosax: Jax-based evolution strategies. In: Proceedings of the Companion Conference On Genetic And Evolutionary Computation. pp. 659–662

  14. [14]

    The American Statistician42(1), 59–66 (1988)

    Lee Rodgers, J., Nicewander, W.A.: Thirteen ways to look at the correlation coefficient. The American Statistician42(1), 59–66 (1988)

  15. [15]

    Scientific Reports13, 9268 (2023)

    Monti, C., Pangallo, M., De Francisci Morales, G., Bonchi, F.: On learn- ing agent-based models from data. Scientific Reports13, 9268 (2023). https://doi.org/10.1038/s41598-023-35536-3

  16. [16]

    strug- gle for existence

    Mühlbauer, L.K., Schulze, A.D., Harpole, W.S., Clark, A.T.: gauser: Sim- ple methods for fitting Lotka-Volterra models describing Gause’s “strug- gle for existence”. Ecology And Evolution10(24), 13275–13283 (2020). https://doi.org/10.1002/ece3.6926

  17. [17]

    PLOS ONE16(5), e0250970 (2021)

    Niemann, J.H., Klus, S., Schütte, C.: Data-driven model reduction of agent- based systems using the koopman generator. PLOS ONE16(5), e0250970 (2021). https://doi.org/10.1371/journal.pone.0250970

  18. [18]

    Scientific Reports16, 10342 (2026)

    Quan, Q., Yu, X., Li, Y., Qi, G.: Macroscopic modelling and analysis based on microscopic models for swarm systems. Scientific Reports16, 10342 (2026). https://doi.org/10.1038/s41598-026-38163-w

  19. [19]

    Philosophy Of Science84(2), 209–229 (2017)

    Räz, T.: The volterra principle generalized. Philosophy Of Science84(2), 209–229 (2017). https://doi.org/10.1086/690717

  20. [20]

    Current Opinion In Neurobiology25, 156–163 (2014)

    Sussillo, D.: Neural circuits as computational dynamical systems. Current Opinion In Neurobiology25, 156–163 (2014)

  21. [21]

    Nature 118, 558–560

    Volterra, V.: Fluctuations in the abundance of a species con- sidered mathematically. Nature118(2972), 558–560 (1926). https://doi.org/10.1038/118558a0

  22. [22]

    Annual Review Of Ecology And Systematics9, 189–218 (1978)

    Wangersky, P.J.: Lotka-Volterra population models. Annual Review Of Ecology And Systematics9, 189–218 (1978). https://doi.org/10.1146/annurev.es.09.110178.001201

  23. [23]

    Wilensky, U.: Netlogo wolf sheep predation model (1997), http://ccl.northwestern.edu/netlogo/models/WolfSheepPredation

  24. [24]

    Computer Sciences & Mathematics Forum 7(1), 50 (2023)

    Yaya, Y.Y.: A predator–prey model from a collective dynamics and self- propelled particles approach. Computer Sciences & Mathematics Forum 7(1), 50 (2023). https://doi.org/10.3390/iocma2023-14375