Abstract
Traditional neuroevolution maintains a strict separation between the optimization algorithm and the neural model. This work introduces Self-Referential Graph HyperNetworks (GHNs), a novel architecture that internalizes the evolutionary process. By embedding mutation and evaluation mechanisms within the network itself, GHNs treat evolvability as a learnable trait. This allows for rapid adaptation to non-stationary environments, where the network autonomously adjusts its exploration-exploitation balance in response to task shifts.
Introduction: The Optimizer-Model Divide
In standard machine learning, the optimizer (e.g., Adam, CMA-ES) is an external entity that dictates how a model's parameters should change. In the context of neuroevolution, this separation often leads to rigid adaptation schedules. If an environment undergoes a sudden, drastic change—a "non-stationary" task—fixed mutation rates can leave a model stranded in a local optimum.
This research explores a paradigm shift: what if the network itself controlled its own evolution? By collapsing the boundary between the optimizer and the substrate, we can create agents that are more autonomous and biologically flexible, capable of deciding when to explore new behaviors and when to refine existing ones.
Methods: Self-Referential Graph HyperNetworks
The core of this approach is the Self-Referential Graph HyperNetwork (GHN). A hypernetwork is a neural network designed to generate the weights for another network. In this self-referential setup, the GHN is responsible for generating its own updates and the weights of a task-specific policy network.
The architecture consists of two primary hypernetwork modules:
- Stochastic Hypernetwork: This module generates parameter updates for offspring copies of the GHN. It predicts state-dependent mutation rates, effectively allowing the network to control its own level of exploration.
- Deterministic Hypernetwork: This module produces the weights for a separate policy network that executes the target task (e.g., robot control).
To address the "circularity problem"—the potential for infinite growth if a network must output its own entire parameter set—the authors utilize a fixed random basis for the final output layer. This ensures the network can generate its own parameters without increasing its own architectural complexity.
Experimental Evaluation
The GHNs were evaluated on several reinforcement learning benchmarks, specifically focusing on "Switch" tasks designed to test adaptation:
- CartPole-Switch & LunarLander-Switch: Classic control tasks where input mappings or engine commands are suddenly reordered mid-evolution.
- 2D Switching Task: A grid-world environment where the goal location shifts.
- Ant-v5: A complex continuous control task requiring a four-legged robot to learn locomotion.
Key Insights and Results
Evolvability as a Heritable Trait
Because the GHN predicts its own mutation rates, "evolvability" becomes a selectable trait. In environments that change, individuals with higher mutation rates are more likely to find new solutions and survive, passing that "tendency to explore" to their offspring.
Rapid Adaptation and Recovery
In the "Switch" benchmarks, Self-Referential GHNs demonstrated superior recovery compared to traditional evolutionary strategies like OpenES. While baselines often failed to regain performance after an environmental flip, GHNs reached near-optimal scores within a few generations.
Emergent Exploration Cycles
The researchers observed an emergent cycle of exploration and exploitation. Following an environmental change, population diversity spikes as the GHNs increase their mutation rates. Once a high-fitness solution is discovered, the mutation rates contract, signaling a shift toward fine-tuning and exploitation.
Conclusion and Future Directions
Self-Referential GHNs represent a significant step toward autonomous AI systems that can manage their own learning and evolution. While currently computationally intensive and limited to fixed architectures, future work may integrate Neural Architecture Search (NAS) and developmental programs, allowing these networks to not only evolve their weights but also their physical structure over time.
Summary updated