Evolving Plasticity for Autonomous Learning under Changing Environmental Conditions

Anil Yaman, Giovanni Iacca, Decebal Constantin Mocanu, Matt Coler, George Fletcher, Mykola PechenizkiyEvol. Comput 2019

TL;DR

This paper introduces a novel approach to evolve interpretable "plasticity rules" for artificial neural networks (ANNs) using genetic algorithms. These rules enable ANNs to learn and adapt autonomously in changing environments, achieving performance comparable to traditional offline learning methods.

What Problem Does This Paper Address?

Biological brains are remarkably adept at learning and adapting throughout their lives, a property known as plasticity. While artificial neural networks (ANNs) can learn, they often do so in a fixed manner after training. Mimicking biological plasticity in ANNs, particularly through mechanisms like Hebbian learning, is a promising but challenging area. A key difficulty is understanding how simple, local learning rules can lead to complex, coherent global behavior, and how to discover these rules in a way that is both effective and interpretable. This paper aims to bridge this gap by evolving interpretable Hebbian-based plasticity rules that allow ANNs to learn continuously and adapt to dynamic environments.

Methods

The core of this work lies in evolving Evolved Synaptic Plasticity (ESP) rules. Instead of directly evolving network weights, the authors use a genetic algorithm (GA) to evolve the rules that govern how synaptic weights change over time.

Here's a breakdown of their approach:

  • Discrete Plasticity Rules: The plasticity rules are represented in a discrete, interpretable form. Each rule dictates how a synaptic weight should change based on the pre- and post-synaptic neuron activations and a reinforcement signal (reward/punishment). This discrete representation significantly reduces the search space and aids interpretability.
  • Hebbian/Anti-Hebbian Learning: The rules are based on the principles of Hebbian learning (strengthening connections when neurons fire together) and anti-Hebbian learning (weakening connections). A modulatory signal (m) determines whether to apply Hebbian or anti-Hebbian learning.
  • Genetic Algorithm (GA) for Evolution: A GA is employed to search for optimal plasticity rules. The "genotype" of an individual in the GA encodes the learning rate and the specific synaptic update outcome (increase, decrease, or stable) for each possible combination of neuron activations and reinforcement signals.
  • Lifetime Learning: The evolved ANNs are trained and evaluated in "online lifetime learning" settings. This means the ANN's weights are continuously updated based on the evolved plasticity rules as the agent interacts with its environment.
  • Network Architecture: The ANNs used are fully connected feed-forward networks with binary neuron activations (0 or 1). This binary nature simplifies the analysis of plasticity rules.
  • Weight Normalization: To prevent unbounded weight growth and encourage specialization, a normalization step is applied to the synaptic weights after each update.

Datasets

The paper does not introduce new datasets. Instead, it uses two custom-designed simulation environments for evaluating the learned behaviors:

  • Foraging Task: An agent navigates a grid-based environment, collecting specific items (green) and avoiding others (blue), with the desired items reversing each season.
  • Prey-Predator Task: An agent must catch preys (green) and avoid predators (blue), with their roles reversing each season.

Both tasks are designed to test the agent's ability to adapt to changing environmental conditions (seasonal changes in reward functions).

Key Insights and Ideas

  • Interpretable Plasticity Rules: The discrete representation of plasticity rules allows for clear interpretation. The authors show that evolved rules often converge to specific, understandable patterns, providing insights into how learning occurs.
  • Autonomous Adaptation: The evolved plasticity rules enable ANNs to learn and adapt autonomously during their "lifetime," without requiring pre-training or fixed weights. This is crucial for agents operating in dynamic or unknown environments.
  • Seasonal Adaptation: The ability of the evolved agents to adapt to seasonal changes in task objectives (e.g., switching which item to collect) demonstrates the effectiveness of the learned plasticity rules in handling environmental shifts.
  • "Catastrophic Forgetting" Mitigation: The paper hints at the issue of catastrophic forgetting, where learning new information can lead to forgetting previously learned skills. Some evolved rules appear to mitigate this by only updating weights under specific conditions (e.g., negative reinforcement), preventing disruption of learned behaviors.
  • Local Rules, Global Behavior: The research demonstrates that simple, local Hebbian-based rules, when evolved appropriately, can lead to sophisticated and effective global behaviors in complex tasks.

Key Results

  • Competitive Performance: The agents trained with the best evolved plasticity rules achieved performance comparable to, though slightly lower than, offline optimization methods like Hill Climbing. This is attributed to the lifetime learning aspect, where mistakes during learning are penalized in the fitness score.
  • Foraging Task: The best ESP rule (ID:1) achieved a fitness of around 48-55 across different seasons, comparable to Hill Climbing's 59. The agents learned to adapt to seasonal changes, collecting the correct items faster with rule ID:1 than with rule ID:6.
  • Prey-Predator Task: The best ESP rule (ID:1) achieved a fitness of 31.88, while Hill Climbing achieved 41.9. The increased stochasticity of this task led to higher evolved learning rates.
  • Rule Convergence: Across multiple GA runs, the evolved plasticity rules tended to converge into a few distinct types, indicating robustness in the evolutionary process.
  • Sensitivity Analysis: The number of hidden neurons had a moderate impact on performance, with a significant increase in fitness observed up to 20 hidden neurons.

Limitations and Future Work

  • Scalability: The authors acknowledge that investigating the scalability of ESP rules to larger networks and more complex tasks is a key area for future work.
  • Catastrophic Forgetting: While hinted at, a deeper investigation into avoiding catastrophic forgetting in continuous learning scenarios is suggested.
  • Comparison with Offline Methods: While performance is comparable, the paper notes that offline methods like Hill Climbing still outperform the evolved lifetime learning agents. Future work could explore ways to further close this gap.
  • Interpretability vs. Performance Trade-off: The paper focuses on interpretable rules. Future work could explore the trade-off between interpretability and achieving peak performance, potentially by evolving more complex, less interpretable rules.

Summary updated

BibTeX
@inproceedings{yaman2019evolving,
  author = {Anil Yaman and Giovanni Iacca and Decebal Constantin Mocanu and Matt Coler and George Fletcher and Mykola Pechenizkiy},
  title = {{Evolving Plasticity for Autonomous Learning under Changing Environmental Conditions}},
  booktitle = {Evol. Comput},
  year = {2019},
  url = {https://openreview.net/forum?id=_ZfsnjPNnS},
}
Figure