Towards Self-Assembling Artificial Neural Networks through Neural Developmental Programs

Elias Najarro, Shyam Sudhakaran, Sebastian Risi · DOI

Abstract

Modern artificial intelligence typically relies on static, hand-designed architectures that are fixed before training begins. In contrast, biological systems develop through a process of self-organization, where a "genomic bottleneck" of relatively few genes provides the instructions to grow complex neural structures. This paper introduces Neural Developmental Programs (NDPs), a framework for growing artificial neural networks from a single cell. By defining local rules for neuron replication and connection strength through small Multi-Layer Perceptrons (MLPs), NDPs can self-assemble functional networks for tasks ranging from reinforcement learning to image recognition. Our results demonstrate that these developmental programs can produce efficient, high-performing architectures with a fraction of the parameters required by traditional models.

1. Introduction

In contemporary deep learning, the architecture of a model—its layers, connections, and overall topology—is usually a static artifact. Whether designed by human experts or discovered via Neural Architecture Search (NAS), these structures do not change their fundamental wiring once training starts. Biological intelligence, however, is the product of development. The human brain, with its 100 trillion connections, is not explicitly mapped in the genome; instead, approximately 30,000 genes provide a set of self-organizing rules that allow the brain to grow, adapt, and repair itself.

This research addresses the gap between static engineered AI and the robust, self-assembling nature of biological systems. We propose the Neural Developmental Program (NDP), a method to create a "seed" program that governs the growth of a functional neural network. By shifting the focus from designing the final structure to designing the rules of growth, we move closer to artificial systems that mirror the efficiency and flexibility of biological development.

2. Methodology: The Neural Developmental Program

The core of our approach is the NDP, which acts as the "DNA" for every neuron in the system. Rather than defining a global architecture, we define a set of small MLPs that every individual neuron executes. The growth process is decentralized and iterative, following a three-stage cycle:

  1. Information Aggregation: Neurons communicate with their immediate neighbors via message passing, similar to the mechanisms found in Graph Neural Networks (GNNs). This allows neurons to sense their local environment.
  2. Replication: Based on its internal state and the information gathered from neighbors, a neuron decides whether to "replicate," creating a new child neuron and expanding the graph.
  3. Weight Prediction: A dedicated MLP examines pairs of neurons to determine the strength (weight) of the connection between them.

We explore two primary optimization strategies for these programs:

  • Evolutionary-based: Utilizing the Covariance Matrix Adaptation Evolution Strategy (CMA-ES) to evolve the growth rules.
  • Gradient-based: A fully differentiable version of the NDP that allows the system to use backpropagation to learn growth rules. This version can be integrated into standard Reinforcement Learning (e.g., PPO) or Supervised Learning pipelines, allowing the loss at the end of the network's "life" to inform the initial growth parameters.

3. Experimental Evaluation

We tested the NDP approach across a diverse set of benchmarks to evaluate its versatility and efficiency:

3.1 Reinforcement Learning and Logic

The NDP successfully grew networks from a single node to solve classic control problems. In the CartPole environment, the system achieved the maximum score of 500. It also demonstrated functional performance in LunarLander and HalfCheetah (using offline RL). Even basic logic problems, such as the non-linearly separable XOR gate, were solved through self-assembled structures.

3.2 Supervised Learning

Using the differentiable NDP, we grew a network for 8x8 MNIST digit recognition. Starting from a small seeding graph, the system scaled to over 100 nodes and achieved an accuracy of 91%. This demonstrates that developmental programs can scale beyond simple control tasks to handle high-dimensional input data.

3.3 Topological Analysis

Beyond task performance, we analyzed the structural properties of the grown networks. The NDPs successfully self-assembled graphs with "small-world" properties—characterized by high local clustering and short path lengths. These patterns are ubiquitous in biological brains and are thought to balance efficient global communication with specialized local processing.

4. Discussion: The Genomic Bottleneck

A key insight from this work is the utility of the "genomic bottleneck." By forcing a large, complex network to be generated by a tiny program (for example, a CartPole policy grown from just 162 parameters), the system is incentivized to learn general rules of wiring rather than memorizing specific weights. This decentralization means there is no "master architect"; every neuron runs the same code and reacts only to local stimuli, mirroring embryonic development.

5. Limitations and Future Work

While NDPs represent a significant step toward self-assembling AI, several challenges remain:

  • Activity-Independent Growth: Currently, the networks grow according to a fixed schedule regardless of sensory input. In nature, brain development is activity-dependent. Future iterations will incorporate environmental feedback into the growth phase.
  • Complexity Deterioration: We observed that growing a network for too many iterations can sometimes degrade performance, as the models do not yet have an innate "stopping criterion" to maintain peak efficiency.
  • Scaling: While successful on benchmarks, scaling these programs to the size of modern Large Language Models or complex 3D robotics remains an open research question.

6. Conclusion

Neural Developmental Programs offer a promising path toward more biological and efficient AI. By evolving or training the rules of growth rather than the final weights of a static structure, we can create systems that are compact, self-organizing, and capable of emerging from a single cellular seed. This shift from engineering to "growing" AI may be essential for achieving the next level of robust and adaptive machine intelligence.

Summary updated

BibTeX
@misc{najarro2023towards,
  author = {Elias Najarro and Shyam Sudhakaran and Sebastian Risi},
  title = {{Towards Self-Assembling Artificial Neural Networks through Neural Developmental Programs}},
  year = {2023},
  eprint = {2307.08197},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2307.08197},
}
Figure