Brain-like neural dynamics for behavioral control develop through reinforcement learning

Olivier Codol, Nanda H. Krishna, Guillaume Lajoie, Matthew G. PerichbioRxiv 2024

TL;DR

This paper investigates how neural circuits develop skilled motor control by comparing two learning theories: supervised learning (SL) and reinforcement learning (RL). They found that RL-trained neural networks, unlike SL-trained ones, exhibit brain-like neural dynamics and behavioral adaptation, suggesting RL is a key mechanism for shaping neural control.

What Problem Does This Paper Address?

The development of skilled motor control in the brain is a complex process. While we know that neural circuits learn to control our bodies from infancy, the exact "teaching signal" that guides this learning remains unclear. Two prominent theories are supervised learning (SL), where learning is driven by direct error signals, and reinforcement learning (RL), where learning is guided by reward signals. This paper aims to determine which of these learning paradigms best explains the neural dynamics observed in biological brains during motor control.

Methods

The researchers used recurrent neural networks (RNNs) to control a biomechanical model of a primate arm. They trained these networks using two distinct learning rules:

  • Supervised Learning (SL): This involved direct gradient descent on an error function, aiming to minimize the difference between intended and performed actions.
  • Reinforcement Learning (RL): This used Proximal Policy Optimization (PPO) with a reward function that approximated the task's success.

They then compared the neural activity of these trained networks to neural recordings from monkeys performing similar reaching tasks. Key analytical techniques included:

  • Principal Component Analysis (PCA): To reduce the dimensionality of neural activity and identify key patterns.
  • Canonical Correlation Analysis (CCA): To quantify the geometric similarity between neural population activity.
  • Dynamical Similarity Analysis (DSA): To compare the underlying dynamical rules governing neural activity.
  • Fixed-point analysis and Lyapunov exponents: To characterize the dynamical regimes (e.g., contractive, expansive, "edge of chaos").

Datasets

The study utilized two main sources of data:

  • Simulated Data: Recurrent neural networks trained using SL and RL on a biomechanical model of a primate arm.
  • Biological Data: Neural recordings from the primary motor (M1) and premotor (PMd) cortex of two macaque monkeys performing center-out reaching and random target tasks.

No new benchmarks were introduced; rather, the study aimed to compare existing learning theories against established biological data.

Key Insights and Ideas

  • RL's Biological Resonance: The most striking finding is that RL-trained networks, not SL-trained ones, produced neural activity that closely matched the geometric and dynamical properties of monkey motor cortex. This suggests RL is a more biologically plausible learning mechanism for motor control.
  • Biomechanics Matter: The similarity between RL models and biological brains was critically dependent on the biomechanical complexity of the simulated effector. Simplifying the arm model significantly reduced this similarity, highlighting the importance of realistic embodiment in shaping neural control.
  • "Edge of Chaos" Dynamics: RL-trained networks operated at the "edge of chaos," a dynamical regime known for its computational richness, memory capacity, and plasticity. This contrasts with SL-trained networks, which tended towards contractive dynamics.
  • Adaptation Parity: Both monkeys and RL-trained networks showed a similar capacity for robust short-term adaptation to movement perturbations, a trait not observed in SL-trained networks. This points to a fundamental commonality in their control policies.

Key Results

  • Geometric Similarity: RL-trained networks showed significantly higher canonical correlation scores with monkey neural recordings compared to SL-trained networks.
  • Dynamical Similarity: RL-trained networks exhibited significantly lower dynamical dissimilarity scores when compared to monkey motor cortex, indicating more brain-like dynamics.
  • Behavioral Adaptation: Monkeys and RL-trained networks demonstrated comparable adaptation to visuomotor rotations, while SL-trained networks showed poorer performance and less brain-like neural reorganization.
  • "Edge of Chaos": Analysis of Lyapunov exponents revealed that RL-trained networks operated at the edge of chaos, while SL-trained networks tended towards contractive dynamics.

Limitations and Future Work

  • Model Simplification: While the biomechanical model was sophisticated, it is still a simplification of a real primate arm. Future work could explore even more complex biomechanical models.
  • Generalizability of RL: The study focused on de novo learning. Future research could explore how RL and SL compare in other learning scenarios, such as adaptation or skill refinement.
  • Credit Assignment: The paper proposes RL as the dominant teaching signal but notes that the specific mechanisms of credit assignment and synaptic update rules at the local circuitry level remain open questions.
  • "Edge of Chaos" Nuance: While RL models operated at the edge of chaos, the paper acknowledges that this regime has different interpretations and further work is needed to fully elucidate its role in neural computation.
  • Future Research Avenues: The authors suggest exploring how RL interacts with different plasticity and update rule hypotheses, and investigating the role of unsupervised learning in shaping neural activity. They also highlight the importance of developmental trajectories and effector biomechanics in shaping computational solutions.

Summary updated

Abstract

Abstract During development, neural circuits are shaped continuously as we learn to control our bodies. The ultimate goal of this process is to produce neural dynamics that enable the rich repertoire of behaviors we perform. What begins as a series of “babbles” coalesces into skilled motor output as the brain rapidly learns to control the body. However, the nature of the teaching signal underlying this normative learning process remains elusive. Here, we test two well-established and biologically plausible theories—supervised learning (SL) and reinforcement learning (RL)—that could explain how neural circuits develop the capacity for skilled movements. We trained recurrent neural networks to control a biomechanical model of a primate arm using either SL or RL and compared the resulting neural dynamics to populations of neurons recorded from the motor cortex of monkeys performing the same movements. Intriguingly, only RL-trained networks produced neural activity that matched their biological counterparts in terms of both the geometry and dynamics of population activity. We show that this similarity with biological brains depends critically on matching biomechanical properties of the limb. Dynamical analysis on network activity revealed that our RL-trained networks operate at the “edge of chaos”, a dynamical regime known for its computational richness, greater memory capacity, and robust plasticity properties. We then demonstrated that monkeys and RL-trained networks, but not SL-trained networks, show a strikingly similar capacity for robust short-term behavioral adaptation to a movement perturbation, indicating a fundamental and general commonality in the neural control policy. Together, our results support the hypothesis that neural dynamics for behavioral control emerge through a process akin to reinforcement learning. The resulting neural circuits offer numerous advantages for adaptable behavioral control over simpler and more efficient learning rules and expand our understanding of how developmental processes shape neural dynamics.
BibTeX
@misc{codol2024brain,
  author = {Olivier Codol and Nanda H. Krishna and Guillaume Lajoie and Matthew G. Perich},
  title = {{Brain-like neural dynamics for behavioral control develop through reinforcement learning}},
  year = {2024},
  doi = {10.1101/2024.10.04.616712},
  howpublished = {bioRxiv},
}
Figure