Brain Inspired Reinforcement Learning

François Rivest, Yoshua Bengio, John Kalaska

Classical reinforcement learning (RL) agents often struggle to learn efficiently in environments with high-dimensional or continuous state spaces. To succeed, these algorithms typically rely on "hand-crafted" features—human-engineered mathematical transformations of raw data that make the underlying value function easier to learn. While non-linear function approximators like standard backpropagation neural networks can theoretically learn these features autonomously, they are notoriously unstable in RL settings and frequently fail to converge.

In contrast, the mammalian brain solves this "feature construction" problem effortlessly. Authored by François Rivest, Yoshua Bengio, and John Kalaska, this research explores how the architecture of the brain can inspire more stable and efficient RL algorithms. By mimicking the interaction between the frontal cortex (which handles complex feature processing) and the basal ganglia (which handles reward-based learning), the researchers developed biologically plausible RL algorithms that autonomously learn complex features guided by a reinforcement signal.

Architecture and Methods

The authors propose a multi-layer neural architecture designed to abstract the key components of the brain's learning centers:

  1. Layer I (Input): Represents the raw sensory state of the environment.
  2. Layer H (Hidden): Represents the frontal cortex, responsible for finding and constructing non-linear features.
  3. Layers A & V (Actor-Critic): Represent the striatal matriosome and striosome in the basal ganglia, handling action selection and reward prediction.
The proposed biologically inspired multi-layer architecture.

The core innovation of this paper lies in how the Hidden Layer (H) learns. The authors tested several biologically plausible update rules:

  • Fixed Random (Baseline): Features are initialized randomly and never trained.
  • ICA (Independent Component Analysis): A purely unsupervised rule where the cortex learns to distinguish independent signals in the environment without reward feedback.
  • Adaptive ICA (e-ICA): The ICA update is modulated by the Temporal Difference (TD) error signal e. If a reward is better than expected, feature learning is accelerated; if worse, it is inhibited.
  • e-Gradient Method: A "quasi-local" rule derived from the gradient of the TD error. It adjusts hidden weights to minimize prediction error and includes an inhibitory mechanism to prevent all neurons from learning identical features.

Experimental Setup

The models were evaluated on the Acrobot task, a classic continuous-state RL benchmark. The environment consists of a two-link pendulum (similar to a gymnast on a high bar) where the goal is to swing the tip of the lower link above a specific height. The agent receives 50 non-negative inputs representing joint angles and angular velocities, and can apply three possible torque actions (-1, 0, 1). A sparse reward of 1 is given only when the goal is reached.

Key Insights and Results

The brain-inspired models demonstrated significant improvements in stability, learning speed, and parameter efficiency.

The Synergy of the Error Signal (e) Purely unsupervised learning (standard ICA) initially slowed down the RL agent. Because the learned features were constantly shifting independently of the task goal, the RL agent was forced to chase a "moving target." However, when learning was modulated by the reinforcement signal e (as in e-ICA), the features adapted synergistically with the agent's needs, leading to vastly improved start-up times.

Superior Learning and Stability The "quasi-local" rules proved much more stable than standard backpropagation, which often fails in RL because it attempts to minimize a constantly changing global error. When compared to standard backpropagation with TD learning, the brain-inspired models were vastly superior. The backprop model often failed to improve over time—a common pitfall in non-linear RL.

Averaged learning curves across different hidden layer update rules.

As shown in the learning curves, the e-Gradient(0) and e-ICA models were significantly faster at reaching the goal than the baseline and standard ICA. The e-Gradient method was particularly effective at "early learning," drastically reducing the number of steps required to succeed in the initial episodes.

Efficiency Remarkably, the brain-inspired models achieved high performance using only about 2,900 weights. In contrast, some state-of-the-art linear methods in the literature required roughly 75,000 weights (using techniques like tile coding) to solve the exact same Acrobot task.

Limitations and Future Work

While promising, the authors acknowledge several limitations:

  • Task Diversity: The study was limited to the Acrobot task. These algorithms must be evaluated on a wider variety of environments to prove broader generalizability.
  • Biological Simplification: The interaction between the cortex and basal ganglia is incredibly complex. The proposed model is a simplified abstraction. Future work should explore recursive "loops" where actor units feed back into the hidden layer, more closely mimicking real brain circuits.
  • Parameter Sensitivity: While the e-Gradient method performed best, it required specific hyperparameter tuning—such as setting the discount factor ($\gamma$) to 0 for the hidden layer—to achieve optimal results.

Summary updated

BibTeX
@inproceedings{rivest2004brain,
  author = {François Rivest and Yoshua Bengio and John Kalaska},
  title = {{Brain Inspired Reinforcement Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2004},
}
Figure