EvoJAX: Hardware-Accelerated Neuroevolution

Yujin Tang, Yingtao Tian, David Ha
2/10/2022
cs.NE

Official code: google/evojax (952 stars, Jupyter Notebook, Apache-2.0, last commit 2024-06-27).

Abstract

Evolutionary computation has been shown to be a highly effective method for training neural networks, particularly when employed at scale on CPU clusters. Recent work have also showcased their effectiveness on hardware accelerators, such as GPUs, but so far such demonstrations are tailored for very specific tasks, limiting applicability to other domains.

Show full abstract

We present EvoJAX, a scalable, general purpose, hardware-accelerated neuroevolution toolkit. Building on top of the JAX library, our toolkit enables neuroevolution algorithms to work with neural networks running in parallel across multiple TPU/GPUs. EvoJAX achieves very high performance by implementing the evolution algorithm, neural network and task all in NumPy, which is compiled just-in-time to run on accelerators. We provide extensible examples of EvoJAX for a wide range of tasks, including supervised learning, reinforcement learning and generative art. Since EvoJAX can find solutions to most of these tasks within minutes on a single accelerator, compared to hours or days when using CPUs, our toolkit can significantly shorten the iteration cycle of evolutionary computation experiments. EvoJAX is available at https://github.com/google/evojax

View on arXivView PDF

Code Implementations(1)

google/evojaxOfficial100%
Apache-2.0
952110Jupyter Notebook, PythonDec 7, 20212 years agoApache-2.0

Similar Papers

Cite this paper

@article{tang2022evojax,
  title  = {EvoJAX: Hardware-Accelerated Neuroevolution},
  author = {Yujin Tang and Yingtao Tian and David Ha},
  year   = {2022},
  eprint = {2202.05008},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2202.05008}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2202.05008.svg)](https://codeofpaper.com/paper/2202.05008)

Discussion