Abstract
Artificial agents typically struggle with out-of-distribution (OOD) scenarios, such as unexpected physical changes to their morphology. This paper introduces "Evolve & Merge," a method inspired by the biological "genomic bottleneck" that forces thousands of neural connections to share a compact set of evolved Hebbian learning rules. By iteratively clustering and merging similar rules, the researchers demonstrate that reducing the rule count from over 12,000 to just 384 significantly improves a robot's ability to walk with unseen physical deformities. This compression acts as a powerful regularizer, preventing overfitting and encouraging the discovery of generic, robust adaptation strategies.
Introduction
The ability of biological organisms to adapt to physical changes—such as growth or injury—remains a benchmark for artificial intelligence. While reinforcement learning agents can achieve high performance in static environments, they often fail catastrophically when faced with out-of-distribution (OOD) scenarios, such as a change in leg length. Plastic neural networks, which adapt their weights during their lifetime, offer a potential solution, but previous approaches often assigned a unique learning rule to every connection. This high dimensionality leads to overfitting, where evolution "hacks" specific rules for specific connections that do not generalize. This paper proposes the "Evolve & Merge" framework to find a compressed set of general-purpose learning rules, mimicking the genomic bottleneck seen in nature where a relatively small genome encodes the rules for a vastly more complex brain.
The Evolve & Merge Framework
To address the limitations of high-parameter plasticity, the authors propose the Evolve & Merge approach. This method seeks to find a highly compressed set of general-purpose learning rules that can be shared across the entire network.
The process follows three main stages:
- Hebbian Plasticity: Instead of evolving static weights, the parameters of the "ABCD" Hebbian rule are evolved: $\Delta w_{ij} = \eta(A o_i o_j + B o_i + C o_j + D)$, where $o$ represents neuron activations.
- Initial Evolution: The system starts with a unique rule for every connection (12,288 rules total) and evolves them using an Evolution Strategy (ES) for 600 generations.
- Iterative Merging: Periodically, K-Means clustering is used to group similar rules. The number of rules is halved (e.g., from 12,288 to 6,144), and the network continues to evolve with this more constrained set. This cycle repeats until a target number of rules (as low as 384) is reached.
Experimental Setup
The method was evaluated in the AntBullet environment, featuring a 3D four-legged robot. While training occurred on a standard morphology, generalization was tested on a "Novel" set of 30 unseen morphologies. These variations involved shrinking the "ankle" segments of different legs by varying amounts (from the standard 0.4 down to 0.35), forcing the agent to adapt to a body it had never encountered during training.
Results and Key Insights
The "Evolve & Merge" approach achieved a massive reduction in trainable parameters—from 61,440 down to just 1,920 (a 96.8% reduction). Remarkably, this compression did not hinder performance; instead, it acted as a powerful regularizer.
Key findings include:
- Superior Robustness: The 384-rule model achieved a "Novel Score" of 2,267, significantly outperforming standard static networks (2,095) and showing much lower variance with fewer catastrophic failures.
- The Genomic Bottleneck as a Regularizer: Forcing multiple connections to share rules prevents evolution from fine-tuning specific connections, encouraging the discovery of generic, robust rules that work across different parts of the network.
- Winning the Lottery: The authors link their findings to the Lottery Ticket Hypothesis. Starting with a massive pool of rules makes it highly likely that a few "winning" rules will emerge. Merging allows the network to keep these winners while discarding the noise.
- Discovery of Rule Types: Analysis showed evolution discovered distinct rule types: some that keep weights near zero, some that provide strong updates, and some that act as sign-specific updates.
Conclusion
By mimicking the biological genomic bottleneck, the Evolve & Merge technique demonstrates that "less is more" when it comes to learning rules. Reducing the number of rules forces the discovery of fundamental principles of adaptation, leading to agents that are significantly more robust to morphological changes. Future work may explore adding neuromodulation for global reward signals and testing the approach on more radical architectural changes, such as recurrent connections or limb removal.
Summary updated