Tensorized NeuroEvolution of Augmenting Topologies for GPU Acceleration

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Wang, Lishuang, Zhao, Mengfei, Liu, Enyu, Sun, Kebin, Cheng, Ran
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916200764669952
author Wang, Lishuang
Zhao, Mengfei
Liu, Enyu
Sun, Kebin
Cheng, Ran
author_facet Wang, Lishuang
Zhao, Mengfei
Liu, Enyu
Sun, Kebin
Cheng, Ran
contents The NeuroEvolution of Augmenting Topologies (NEAT) algorithm has received considerable recognition in the field of neuroevolution. Its effectiveness is derived from initiating with simple networks and incrementally evolving both their topologies and weights. Although its capability across various challenges is evident, the algorithm's computational efficiency remains an impediment, limiting its scalability potential. In response, this paper introduces a tensorization method for the NEAT algorithm, enabling the transformation of its diverse network topologies and associated operations into uniformly shaped tensors for computation. This advancement facilitates the execution of the NEAT algorithm in a parallelized manner across the entire population. Furthermore, we develop TensorNEAT, a library that implements the tensorized NEAT algorithm and its variants, such as CPPN and HyperNEAT. Building upon JAX, TensorNEAT promotes efficient parallel computations via automated function vectorization and hardware acceleration. Moreover, the TensorNEAT library supports various benchmark environments including Gym, Brax, and gymnax. Through evaluations across a spectrum of robotics control environments in Brax, TensorNEAT achieves up to 500x speedups compared to the existing implementations such as NEAT-Python. Source codes are available at: https://github.com/EMI-Group/tensorneat.
format Preprint
id arxiv_https___arxiv_org_abs_2404_01817
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Tensorized NeuroEvolution of Augmenting Topologies for GPU Acceleration
Wang, Lishuang
Zhao, Mengfei
Liu, Enyu
Sun, Kebin
Cheng, Ran
Neural and Evolutionary Computing
The NeuroEvolution of Augmenting Topologies (NEAT) algorithm has received considerable recognition in the field of neuroevolution. Its effectiveness is derived from initiating with simple networks and incrementally evolving both their topologies and weights. Although its capability across various challenges is evident, the algorithm's computational efficiency remains an impediment, limiting its scalability potential. In response, this paper introduces a tensorization method for the NEAT algorithm, enabling the transformation of its diverse network topologies and associated operations into uniformly shaped tensors for computation. This advancement facilitates the execution of the NEAT algorithm in a parallelized manner across the entire population. Furthermore, we develop TensorNEAT, a library that implements the tensorized NEAT algorithm and its variants, such as CPPN and HyperNEAT. Building upon JAX, TensorNEAT promotes efficient parallel computations via automated function vectorization and hardware acceleration. Moreover, the TensorNEAT library supports various benchmark environments including Gym, Brax, and gymnax. Through evaluations across a spectrum of robotics control environments in Brax, TensorNEAT achieves up to 500x speedups compared to the existing implementations such as NEAT-Python. Source codes are available at: https://github.com/EMI-Group/tensorneat.
title Tensorized NeuroEvolution of Augmenting Topologies for GPU Acceleration
topic Neural and Evolutionary Computing
url https://arxiv.org/abs/2404.01817