Hypernetworks That Evolve Themselves
Joachim Winther Pedersen, Erwan Plantec, Eleni Nisioti, Marcello Barylli, Milton Montero, Kathrin Korte, Sebastian Risi
TL;DR
The paper addresses the limitations of gradient-based optimization by embedding evolutionary dynamics inside neural networks through Self-Referential Graph HyperNetworks (Self-Referential GHNs) that jointly generate and mutate their own weights. It combines a stochastic hypernetwork for variation with a deterministic hypernetwork for task-specific weight generation, enabling derivative-free optimization and rapid adaptation to non-stationary environments. Across CartPole-Switch, LunarLander-Switch, and Ant-v5 benchmarks, the approach yields swift recovery after environmental shifts and emergent control of mutation rates, leading to improved open-ended learning. This work advances toward autonomous agents whose evolvability itself evolves, bridging artificial evolution with biological concepts and offering a path to self-sustaining, open-ended learning systems.
Abstract
How can neural networks evolve themselves without relying on external optimizers? We propose Self-Referential Graph HyperNetworks, systems where the very machinery of variation and inheritance is embedded within the network. By uniting hypernetworks, stochastic parameter generation, and graph-based representations, Self-Referential GHNs mutate and evaluate themselves while adapting mutation rates as selectable traits. Through new reinforcement learning benchmarks with environmental shifts (CartPoleSwitch, LunarLander-Switch), Self-Referential GHNs show swift, reliable adaptation and emergent population dynamics. In the locomotion benchmark Ant-v5, they evolve coherent gaits, showing promising fine-tuning capabilities by autonomously decreasing variation in the population to concentrate around promising solutions. Our findings support the idea that evolvability itself can emerge from neural self-reference. Self-Referential GHNs reflect a step toward synthetic systems that more closely mirror biological evolution, offering tools for autonomous, open-ended learning agents.
