Abstract
Hyperparameters and learning algorithms for neuromorphic hardware are usually chosen by hand. In contrast, biological neural networks have been optimized through extensive evolutionary and developmental processes. We employ powerful gradient-free optimization tools, such as cross-entropy methods and evolutionary strategies, to port these biological optimization processes to neuromorphic hardware. We demonstrate that this "Learning-to-Learn" (L2L) framework produces neuromorphic agents that learn efficiently from rewards. Specifically, meta-plasticity—the optimization of the learning rule itself—substantially enhances reward-based learning. Furthermore, we show that this hardware can extract abstract knowledge from prior experiences to speed up learning on new, related tasks. The accelerated nature of neuromorphic hardware makes the large number of computations required for L2L feasible, achieving speedups of up to 100x over software simulations.
Introduction
Neuromorphic (NM) hardware aims to emulate the brain's energy efficiency and parallel processing by using spiking neural networks (SNNs). However, configuring these chips is a significant challenge. Unlike standard deep learning, which relies on backpropagation, NM hardware often uses complex SNNs with hyperparameters and plasticity rules that are typically hand-tuned.
This research addresses the difficulty of manual tuning by drawing inspiration from nature. Biological brains were shaped by evolution to be "ready to learn." By applying a Learning-to-Learn (L2L) framework, the authors automate the discovery of optimal configurations and learning rules for NM hardware, particularly for reinforcement learning (RL) tasks where feedback is sparse.
Methodology: The L2L Framework
The researchers implemented a nested optimization strategy to emulate evolutionary processes on the HICANN-DLSv2 neuromorphic chip.
The framework operates in two loops:
- The Inner Loop: A spiking neural network ($\mathcal{N}$) runs on the NM chip, interacting with an environment to learn a specific task using a learning algorithm.
- The Outer Loop: A host computer runs a gradient-free optimization algorithm (e.g., Cross-Entropy Method). It evaluates the inner loop's performance as a "fitness" score and adjusts the network's hyperparameters ($\Theta$) or the learning rule itself to maximize this score.
A significant innovation is Meta-plasticity. Rather than using a fixed learning rule, the plasticity rule is represented as a small artificial neural network (ANN). The outer loop optimizes the weights of this ANN, effectively "evolving" a custom learning rule tailored to the hardware's unique characteristics and the specific task.
Experimental Tasks
The system was evaluated using two fundamental reinforcement learning frameworks: Markov Decision Processes (MDPs) and Multi-armed Bandits (MABs).
- MDPs: Agents navigated through states to maximize discounted rewards. Tests included "small" (2 states, 4 actions) and "large" (6 states, 8 actions) environments.
- MABs: Agents chose between two "arms" with different reward probabilities. The study looked at both unstructured bandits (independent probabilities) and structured bandits (where probabilities were correlated).
Key Results and Insights
The L2L approach yielded several critical findings:
- Performance and Theoretical Limits: In MDP tasks, L2L significantly increased cumulative rewards compared to random hyperparameter selection. In structured bandit tasks, the meta-plasticity approach reached performance levels comparable to the Gittins Index, the theoretical gold standard.
- Hardware Acceleration: L2L requires thousands of iterations. The HICANN-DLS chip operates 1,000 times faster than biological time, making these massive searches computationally feasible. The hardware completed large MDP simulations roughly 100 times faster than the NEST software simulator.
- Transfer Learning: In structured tasks, the L2L process allowed agents to encode "abstract knowledge" (e.g., the relationship between arm probabilities) into evolved hyperparameters. This enabled faster adaptation to new tasks within the same family.
- Robustness to Analog Noise: Because optimization occurs directly on the physical chip, the L2L process naturally finds parameters that are robust to the inherent analog "noise" and imperfections of neuromorphic hardware.
Conclusion and Future Outlook
This work demonstrates that L2L is a powerful tool for programming neuromorphic hardware, moving beyond manual tuning toward automated, evolution-inspired optimization. While currently limited to a prototype chip with 32 neurons and relatively simple RL tasks, the results provide a roadmap for scaling to larger systems. Future research will focus on handling high-dimensional sensory inputs and moving the entire optimization process onto the neuromorphic chip itself to enable fully autonomous edge-learning devices.
Summary updated