peter-ch/MultiNEAT
Portable NeuroEvolution Library
What it solves
MultiNEAT automates the design of neural networks by evolving them through a genetic algorithm. Instead of manually defining a network's architecture, this library allows the structure and complexity of the network to grow and adapt over generations, starting from minimal configurations.
How it works
It implements the NeuroEvolution of Augmenting Topologies (NEAT) algorithm. The library maintains a population of neural networks, dividing them into "species" to ensure that new, innovative structures have time to improve before competing with established ones. It supports advanced variations like HyperNEAT and ES-HyperNEAT, which use evolved patterns to create large, complex geometric networks. The core is written in high-performance C++17 with Python bindings, allowing you to define evaluation logic in Python while benefiting from fast execution.
Who it’s for
This library is for researchers and developers interested in neuroevolution, evolutionary robotics, or automated machine learning. It is well-suited for those who need to evolve controllers for simulated agents or explore complex network topologies that are difficult to design by hand.
Highlights
- Supports standard NEAT, HyperNEAT, and ES-HyperNEAT algorithms.
- Includes built-in novelty search and behavior-based speciation.
- Features a 2D physics engine for testing simulated agents.
- Highly flexible, supporting recurrent networks, leaky integrator neurons, and Hebbian plasticity.
- Fully picklable objects, enabling easy parallel evaluation of genomes across multiple processes.
- Dependency-free, lightweight C++17 core with simple Python installation.
Related
- Project
- Project
- Project
- Project