What Neuroscience Can Teach AI About Learning in Continuously Changing Environments

Daniel Durstewitz, Bruno Averbeck, Georgia Koppe

TL;DR

Modern AI struggles to adapt to changing environments without facing slow retraining costs or massive resource consumption. This perspective paper argues that AI can achieve rapid, flexible, and resource-efficient adaptation by adopting neuro-dynamical mechanisms (like attractor states) and multi-timescale synaptic plasticity found in animal brains.

What Problem Does This Paper Address?

State-of-the-art AI models, including Large Language Models (LLMs), are typically trained once on massive datasets and deployed with fixed parameters. When the real world changes—a phenomenon known as non-stationarity—these models face a harsh trade-off. If we fine-tune their weights on new data, they suffer from catastrophic forgetting (erasing previously learned skills). If we rely on in-context learning (prompting the model with examples), the process becomes highly resource-intensive, bounded by a rigid context window, and limited by what the model saw during pre-training.

Animals face non-stationary environments constantly (e.g., shifting seasons, changing predator strategies) and adapt almost instantly. They don't require millions of repetitions; they learn from a few experiences and show sudden, sharp jumps in performance. This paper explores how the intersection of computational neuroscience and machine learning—NeuroAI—can port the brain's underlying mechanisms into AI architecture to solve the "plasticity-stability dilemma."

Methods

As a Perspective article, this paper does not introduce a new empirical algorithm. Instead, it synthesizes literature from machine learning and computational neuroscience to propose a conceptual framework for the next generation of "agentic AI."

The authors organize biological solutions into two main pillars:

  1. Neuro-Dynamical Mechanisms: Utilizing Dynamical Systems Theory (DST) to understand how the brain computes via trajectories through state space. This includes manifold attractors (which sustain working memory without changing weights) and bifurcations (mathematical tipping points that allow for sudden rule switches).
  2. Plasticity Mechanisms: Exploring the brain's diverse, local, and unsupervised learning rules. A prime focus is Behavioral Time Scale Plasticity (BTSP), a recently discovered hippocampal mechanism that allows for one-shot learning by bridging the time gap between sensory inputs and behavioral outcomes.

The paper also highlights Dynamical Systems Reconstruction (DSR)—an AI tool that can learn generative surrogate models directly from observed neural and behavioral data, effectively allowing AI to inherit biological computation principles.

Datasets

Because this is a review and perspective paper, no new datasets were introduced. However, the authors critique and compare the standard benchmarks used in both fields:

  • AI Benchmarks: The paper discusses standard continual learning testbeds like class-incremental CIFAR, noting that simple image classification tasks fail to capture the complexity of real-world, dynamic environments.
  • Neuroscience Paradigms: The authors highlight animal behavioral tasks that could serve as better AI benchmarks, such as rule-shifting tasks (where an animal must infer an un-signaled change from a visual rule to a spatial rule), drifting n-armed bandit tasks, and gambling tasks in rodents and primates.

Key Insights and Ideas

  • Learning is Not a Smooth Gradient: Unlike the gradual error reduction seen in gradient descent, animal learning is characterized by sudden behavioral jumps. These jumps perfectly correlate with rapid, abrupt transitions in prefrontal cortex neural population activity, mapping onto mathematical bifurcations.
  • Memory Without Weight Changes: The brain uses manifold attractors to maintain a sort of "long context window." External inputs push network states along a continuous manifold, storing information indefinitely without needing to update synaptic weights.
  • BTSP as an Alternative to Transformers: Transformers suffer from quadratic scaling issues as context windows grow. In contrast, BTSP allows the hippocampus to record one-time experiences within seconds using highly resource-efficient, local, and unsupervised mechanisms.
  • Time as an Inbuilt Prior: Biological systems possess an inherent hierarchy of timescales (from milliseconds to days) distributed across different brain regions. This acts as a natural prior for predicting a world that also evolves across multiple timescales.

Key Results

While the paper focuses on conceptual integration, it highlights several key quantitative and qualitative findings from cited literature:

  • It notes that while machine learning fixes like continual backpropagation reduce catastrophic forgetting by resetting underutilized units, they remain fundamentally limited by slow, gradual gradient descent.
  • It showcases how models implementing biological BTSP (e.g., Wu & Maass, 2025) achieve instantaneous, robust storage of associative memories that are uniquely resilient against being overwritten.
  • It demonstrates that DSR models (like the Multimodal Teacher Forcing architecture) can successfully replicate true biological spike trains on independent test sets, proving that AI can directly absorb neuro-dynamical principles from data.

Limitations and Future Work

The authors acknowledge that the exact mathematical mechanics of in-context learning in AI and rule-inference in animals are still not fully understood. Furthermore, translating complex biological phenomena—like chaotic itinerancy (wandering between ghost attractors) or structural synaptic changes—into stable, scalable machine learning code remains a massive engineering hurdle.

For future work, the authors call for a tighter alignment of task designs. AI researchers should move away from static classification benchmarks and adopt the dynamic, exploratory task designs used in animal research. Concurrently, neuroscientists can use AI optimization objectives to form testable hypotheses about the brain's plasticity rules.

Summary updated

Abstract

Modern AI models, such as large language models, are usually trained once on a huge corpus of data, potentially fine-tuned for a specific task, and then deployed with fixed parameters. Their training is costly, slow, and gradual, requiring billions of repetitions. In stark contrast, animals continuously adapt to the ever-changing contingencies in their environments. This is particularly important for social species, where behavioral policies and reward outcomes may frequently change in interaction with peers. The underlying computational processes are often marked by rapid shifts in an animal's behaviour and rather sudden transitions in neuronal population activity. Such computational capacities are of growing importance for AI systems operating in the real world, like those guiding robots or autonomous vehicles, or for agentic AI interacting with humans online. Can AI learn from neuroscience? This Perspective explores this question, integrating the literature on continual and in-context learning in AI with the neuroscience of learning on behavioral tasks with shifting rules, reward probabilities, or outcomes. We will outline an agenda for how specifically insights from neuroscience may inform current developments in AI in this area, and - vice versa - what neuroscience may learn from AI, contributing to the evolving field of NeuroAI.
BibTeX
@misc{durstewitz2025what,
  author = {Daniel Durstewitz and Bruno Averbeck and Georgia Koppe},
  title = {{What Neuroscience Can Teach AI About Learning in Continuously Changing Environments}},
  year = {2025},
  eprint = {2507.02103},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.02103},
}
Figure