Kozax: Flexible and Scalable Genetic Programming in JAX

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: de Vries, Sigur, Keemink, Sander W., van Gerven, Marcel A. J.
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866915242660855808
author de Vries, Sigur
Keemink, Sander W.
van Gerven, Marcel A. J.
author_facet de Vries, Sigur
Keemink, Sander W.
van Gerven, Marcel A. J.
contents Genetic programming is an optimization algorithm inspired by evolution which automatically evolves the structure of interpretable computer programs. The fitness evaluation in genetic programming suffers from high computational requirements, limiting the performance on difficult problems. Consequently, there is no efficient genetic programming framework that is usable for a wide range of tasks. To this end, we developed Kozax, a genetic programming framework that evolves symbolic expressions for arbitrary problems. We implemented Kozax using JAX, a framework for high-performance and scalable machine learning, which allows the fitness evaluation to scale efficiently to large populations or datasets on GPU. Furthermore, Kozax offers constant optimization, custom operator definition and simultaneous evolution of multiple trees. We demonstrate successful applications of Kozax to discover equations of natural laws, recover equations of hidden dynamic variables, evolve a control policy and optimize an objective function. Overall, Kozax provides a general, fast, and scalable library to optimize white-box solutions in the realm of scientific computing.
format Preprint
id arxiv_https___arxiv_org_abs_2502_03047
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Kozax: Flexible and Scalable Genetic Programming in JAX
de Vries, Sigur
Keemink, Sander W.
van Gerven, Marcel A. J.
Neural and Evolutionary Computing
Artificial Intelligence
Genetic programming is an optimization algorithm inspired by evolution which automatically evolves the structure of interpretable computer programs. The fitness evaluation in genetic programming suffers from high computational requirements, limiting the performance on difficult problems. Consequently, there is no efficient genetic programming framework that is usable for a wide range of tasks. To this end, we developed Kozax, a genetic programming framework that evolves symbolic expressions for arbitrary problems. We implemented Kozax using JAX, a framework for high-performance and scalable machine learning, which allows the fitness evaluation to scale efficiently to large populations or datasets on GPU. Furthermore, Kozax offers constant optimization, custom operator definition and simultaneous evolution of multiple trees. We demonstrate successful applications of Kozax to discover equations of natural laws, recover equations of hidden dynamic variables, evolve a control policy and optimize an objective function. Overall, Kozax provides a general, fast, and scalable library to optimize white-box solutions in the realm of scientific computing.
title Kozax: Flexible and Scalable Genetic Programming in JAX
topic Neural and Evolutionary Computing
Artificial Intelligence
url https://arxiv.org/abs/2502.03047