Hebbian Attractor Networks for Robot Locomotion
Organizations: Laboratory of Intelligent Systems, EPFL, Switzerland
Abstract
Biological neural networks continuously adapt and modify themselves in response to experiences throughout their lifetime - a capability largely absent in artificial neural networks. Hebbian plasticity offers a promising path toward rapid adaptation in changing environments. Here, we introduce Hebbian Attractor Networks (HAN), a class of plastic neural networks in which local weight update normalization induces emergent attractor dynamics. Unlike prior approaches, HANs employ dual-timescale plasticity and temporal averaging of pre- and postsynaptic activations to induce either co-dynamic limit cycles or fixed-point weight attractors. Using simulated locomotion benchmarks, we gain insight into how Hebbian update frequency and activation averaging influence weight dynamics and control performance. Our results show that slower updates, combined with averaged pre- and postsynaptic activations, promote convergence to stable weight configurations, while faster updates yield oscillatory co-dynamic systems. We further demonstrate that these findings generalize to high-dimensional quadrupedal locomotion with a simulated Unitree Go1 robot. These results highlight how the timing of plasticity shapes neural dynamics in embodied systems, providing a principled characterization of the attractor regimes that emerge in self-modifying networks.
Figures & tables
| Condition | MN | ||
|---|---|---|---|
| (A) HNN | ✗ | 1 | 1 |
| (B) HAN | ✓ | 1 | 1 |
| (C) HAN | ✓ | 1 | 4 |
| (D) HAN | ✓ | 10 | 1 |
| (E) HAN | ✓ | 10 | 4 |
| Algorithm | Fitness (-) | |||
|---|---|---|---|---|
| Swimmer | Hopper | HalfCheetah | Walker2D | |
| PPO ‡ | ||||
| PPO | ||||
| MLP † | ||||
| MLP | ||||
| GRU | ||||
| Hebbian update frequency | ||||
| 1 | ||||
| 2 | ||||
| 4 | ||||
| 10 | ||||
| 20 | ||||
Appendix figures & tables18 assets
Supplementary material from the paper’s appendix.
Appendix
| Hyperparameter | Value |
|---|---|
| Training settings | |
| Number of generations | (Swimmer) / (rest) |
| Repeats | |
| Action clipping | |
| Observation normalization | Running standard normalization (Chan’s online algorithm) |
| Evolutionary Algorithm | |
| Controller | Architecture | Bias | Swimmer-v5 | Hopper-v5 | HalfCheetah-v5 | Walker2d-v5 |
|---|---|---|---|---|---|---|
| HNN / HAN | MLP (16) | ✗ | 800 | 1120 | 1840 | 1840 |
| PPO tiny | MLP (16) | ✓ | 178 | 243 | 390 | 390 |
| PPO default | MLP (64, 64) | ✓ | 4866 | 5123 | 5702 | 5702 |
| ES MLP | MLP (80) | ✗ | 800 | 1120 | 1840 | 1840 |
| ES MLP | MLP (variable) | ✓ | 805 | 1113 | 1830 | 1830 |
| ES GRU | GRU (variable) | ✓ | 782 | 1137 | 1893 | 1893 |
| Hyperparameter | Value |
|---|---|
| Learning rate | 3e-4 |
| Number of steps per rollout ( ) | 2048 |
| Minibatch size | 64 |
| Number of epochs | 10 |
| Discount factor ( ) | 0.99 |
| GAE lambda | 0.95 |
| Parameter | Value |
|---|---|
| Population Size | |
| Optimizer | Adam |
| Momentum coefficient ( ) | |
| Second moment coefficient ( ) | |
| Epsilon | |
| Learning Rate Schedule | Exponential Decay |
| Size | Hidden layer size | Optimization parameters | Network parameters |
|---|---|---|---|
| XXXS | 2 | 184 | 46 |
| XXS | 4 | 368 | 92 |
| XS | 8 | 736 | 184 |
| S | 16 | 1472 | 368 |
| M | 32 | 2944 | 736 |
| L | 32, 32 | 7040 | 1760 |
Hebbian Learning
Hebbian learning studies how synapses adapt through correlations between neural activity, enabling local learning, memory, and adaptation.
See all 21 papers