A diversity-enhanced genetic algorithm for efficient exploration of parameter spaces
Jonas Wessén, Eliel Camargo-Molina
TL;DR
This work tackles the challenge of exploring high-dimensional parameter spaces by seeking multiple viable regions under experimental and theoretical constraints. It introduces a diversity-enhanced genetic algorithm that couples elitist survival with a distance-based diversity penalty, supporting both numerical and categorical genes, and provides a lightweight Python package for easy adoption. Benchmarking on a type-I 2HDM parameter space shows robust performance across population sizes and crossovers, with clear advantages over random scans and competitive diversity relative to SciPy’s Differential Evolution. The accompanying lightweight-genetic-algorithm package offers practical guidelines, multiprocessing support, and a menu of customizable options, enabling broad application to parameter-space exploration tasks beyond particle physics.
Abstract
We present a Python package together with a practical guide for the implementation of a lightweight diversity-enhanced genetic algorithm (GA) approach for the exploration of multi-dimensional parameter spaces. Searching a parameter space for regions with desirable properties, e.g. compatibility with experimental data, poses a type of optimization problem wherein the focus lies on pinpointing all "good enough" solutions, rather than a single "best solution". Our approach dramatically outperforms random scans and other GA-based implementations in this aspect. We validate the effectiveness of our approach by applying it to a particle physics problem, showcasing its ability to identify promising parameter points in isolated, viable regions meeting experimental constraints. The companion Python package is applicable to optimization problems beyond those considered in this work, including scanning over discrete parameters (categories). A detailed guide for its usage is provided.
