bioRxivEvolutionary Biology
A neural network model for the evolution of learning in changing environments
Abstract
The ability to learn from past experience is an important adaptation, but how natural selection shapes learning is not well understood. Here, we present a novel way of modelling learning using small neural networks and a simple, biology-inspired learning algorithm. Learning affects only part of the network, and it is governed by the difference between expectations and reality. We used this model to study the evolution of learning under various environmental conditions and different scenarios for the trade-off between exploration (learning) and exploitation (foraging). Efficient learning regularly evolved in our individual-based simulations. However, in line with previous studies, the evolution of learning was less likely in relatively constant environments (where genetic adaptation alone can lead to efficient foraging) or in the case of short-lived organisms (that cannot afford to spend much of their lifetime on exploration). Once learning did evolve, the characteristics of the learning strategy (the duration of the learning period and the learning rate) and the average performance after learning were surprisingly little affected by the frequency and/or magnitude of environmental change. In contrast, an organisms lifespan and the distribution of resources in the environment had a strong effect on the evolved learning strategy. Interestingly, a longer learning period did not always lead to better performance, indicating that the evolved neural networks differ in the effectiveness of learning. Overall, however, we showed that a biologically inspired, yet relatively simple, learning mechanism can evolve to lead to an efficient adaptation in a changing environment. Author SummaryThe ability to learn from experience is an important adaptation. However, it is still unclear how learning is shaped by natural selection. Here, we present a novel way of modelling the evolution of learning using small neural networks and a simple, biology-inspired learning mechanism. Computer simulations reveal that efficient learning readily evolves in this model. However, the evolution of learning is less likely in relatively constant environments (where evolved inborn preferences can guide animal behaviour) and in short-lived organisms (that cannot afford to spend much of their lifetime on learning). If learning does evolve, the evolved learning strategy is strongly affected by the lifespan and environmental richness but surprisingly little by the rate and degree of environmental change. In summary, we show that a simple and biologically plausible mechanism can help understand the evolution of learning and the structure of the evolved learning strategies.
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Environmental complexity favors the evolution of learning
Slimane Dridi, Laurent Lehmann·Behavioral EcologyPeer-reviewed·Jan 1, 2016
- Evolution imposes an inductive bias that alters and accelerates learning dynamics
Benjamin Midler, Alejandro Pan Vazquez·bioRxiv·May 7, 2026
- Neural network models for the evolution of associative learning
E. Mendez Salinas, F. J. Weissing, M. Kozielska·bioRxiv·Jul 21, 2023
- Quantifying the Fitness Benefit of Learning in Changing Environments
E. Arehart, F. Adler·bioRxiv·Dec 16, 2022
- A neural network model for the evolution of reconstructive social learning
Jacob Chisausky, Inès M. Daras, … Magdalena Kozielska·Scientific ReportsPeer-reviewed·Apr 29, 2025
- Environmental dynamics shape human learning: change points versus random walks
Cédric Foucault, Lilian A. E. Weber, Laurence Tudor Hunt·bioRxiv·Nov 26, 2025