Skip to main content
QUICK REVIEW

[Paper Review] HyperNCA: Growing Developmental Networks with Neural Cellular Automata

Elias Najarro, Sudhakaran, Shyam|IT University Of Copenhagen (IT University of Copenhagen)|Apr 25, 2022
Ferroelectric and Negative Capacitance DevicesEngineering36 references6 citations
TL;DR

HyperNCA introduces a novel hypernetwork framework that uses Neural Cellular Automata (NCA) to grow artificial neural networks through a self-organizing, developmental process inspired by biological systems. It enables the generation of policy networks with significantly more parameters than the NCA itself, achieving strong performance on reinforcement learning tasks like Lunar Lander and quadruped locomotion, and demonstrates metamorphosis by adapting weights across different morphologies with preserved performance.

ABSTRACT

In contrast to deep reinforcement learning agents, biological neural networks are grown through a self-organized developmental process. Here we propose a new hypernetwork approach to grow artificial neural networks based on neural cellular automata (NCA). Inspired by self-organising systems and information-theoretic approaches to developmental biology, we show that our HyperNCA method can grow neural networks capable of solving common reinforcement learning tasks. Finally, we explore how the same approach can be used to build developmental metamorphosis networks capable of transforming their weights to solve variations of the initial RL task.

Motivation & Objective

  • To develop a novel indirect encoding method for reinforcement learning that mimics biological neural development through self-organization.
  • To explore whether a computationally irreducible, local interaction-based growth process can generate complex, high-parameter policy networks without direct weight optimization.
  • To investigate the feasibility of developmental metamorphosis in artificial agents, where a single NCA generates multiple task-adapted policy networks through weight morphing.
  • To evaluate whether such a developmental approach improves generalization and robustness in the face of morphological changes or damage.
  • To provide a biologically inspired framework for growing neural networks that respects the 'genomic bottleneck' principle, where minimal genetic information yields complex functional systems.

Proposed method

  • HyperNCA employs a Neural Cellular Automaton (NCA) as a hypernetwork that generates the weights of a policy network through a developmental process.
  • The NCA evolves over time using local update rules defined by a learned neural network, applying these rules iteratively to a latent grid representing the developmental state.
  • The final policy network is generated by decoding the NCA's final state into a fully connected or convolutional neural network architecture.
  • The method leverages computational irreducibility: the final network structure emerges only after full developmental simulation, not through analytical computation.
  • A metamorphosis mechanism is implemented by applying the same NCA to different morphological configurations, allowing the same developmental process to generate distinct, task-specific policy networks.
  • Weight trajectories across developmental steps are visualized via PCA to confirm that policy weights morph systematically in response to morphological changes.

Experimental results

Research questions

  • RQ1Can a Neural Cellular Automaton serve as a hypernetwork to grow deep, high-parameter policy networks for reinforcement learning tasks through a self-organizing developmental process?
  • RQ2Does the developmental process guided by an NCA lead to better generalization when the agent's morphology changes, compared to fixed policy networks?
  • RQ3To what extent do the weights of the generated policy networks morph in a structured, continuous way across different morphologies, indicating true developmental adaptation?
  • RQ4Can the same NCA model generate multiple, distinct, and effective policy networks for different morphologies, demonstrating the potential for metamorphosis in artificial agents?
  • RQ5How does the performance of NCA-generated policies compare to standard direct-encoding RL methods, particularly in terms of robustness to morphological damage?

Key findings

  • The HyperNCA method successfully generated policy networks with 1,792 parameters using an NCA with only 1,480 trainable parameters, demonstrating effective indirect encoding.
  • On the standard Mujoco Ant morphology (M1), the policy achieved a reward of 1,329, indicating strong performance on the original task.
  • When evaluated on a damaged morphology (M2, one front and back leg removed), the policy trained via HyperNCA achieved 1,343 reward, outperforming the standard baseline in this challenging condition.
  • For the M3 morphology (two front legs removed), the policy achieved 1,266 reward, showing robust adaptation to structural changes.
  • Cross-evaluation revealed that policies trained on one morphology performed poorly on mismatched morphologies (e.g., 21 reward on M2 when policy was trained on M1), confirming that the weights had genuinely morphed.
  • PCA visualization of weight trajectories confirmed continuous, non-random morphing of policy weights across developmental steps, supporting the existence of a coherent developmental pathway.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.