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.
An Efficient Application of Neuroevolution for Competitive Multiagent Learning
Vellore Institute of Technology(韦洛尔理工学院)
多智能体系统为使用强化学习算法评估和分析现实世界的问题提供了一个理想的环境。大多数传统的多智能体学习方法都受到长训练周期和高计算复杂性的影响。NEAT(NeuroEvolution of Augmenting Topologies)是一种流行的进化策略,用于获得最佳性能的神经网络架构,通常用于解决人工智能领域的优化问题。本文利用NEAT算法实现竞争性多智能体学习的修改乒乓游戏环境中的有效方式。竞争主体遵守不同的规则,但具有相似的观测空间参数。该算法利用环境的这一属性来定义一个奇异的神经进化过程,获得所有代理的最优策略。编译的结果表明,所提出的实现在一个非常短的训练期内达到理想的行为相比,现有的多智能体强化学习模型。
Evolving Neural Networks through a Reverse Encoding Tree
BGI-Shenzhen(深圳华大基因研究院);Georgia Institute of Technology(佐治亚理工学院);Oxford Immune Algorithmics(牛津免疫算法公司);Karolinska Institute(卡罗林斯卡学院);King Abdullah University of Science and Technology(阿卜杜拉国王科技大学)