Genetic algorithm demystified for cosmological parameter estimation
Reginald Christian Bernardo, Yun Chen
TL;DR
This work investigates genetic algorithms (GA) as a supplementary tool to Markov chain Monte Carlo (MCMC) for cosmological parameter estimation in a curved ΛCDM framework. By using cosmic chronometers (CC) and Pantheon+ Type Ia supernovae (SNe) data, the authors study how GA hyperparameters—particularly the fitness function and mutation rate—shape the evolved parameter distributions and how GA results compare with MCMC posteriors. They show that a carefully chosen fitness function (FF$_3$) yields highly localized, non-Gaussian parameter sets that align with MCMC estimates when SNe data are included, and demonstrate that GA–Fisher uncertainty estimates can reproduce MCMC-like constraints under informative data. The study concludes that GA can provide valuable, complementary insights to MCMC for cosmological analysis, with practical guidance on hyperparameter tuning, and suggests extensions to more complex cosmologies and alternative sampling/optimization strategies.
Abstract
Genetic algorithm (GA) belongs to a class of nature-inspired evolutionary algorithms that leverage concepts from natural selection to perform optimization tasks. In cosmology, the standard method for estimating parameters is the Markov chain Monte Carlo (MCMC) approach, renowned for its reliability in determining cosmological parameters. This paper presents a pedagogical examination of GA as a potential corroborative tool to MCMC for cosmological parameter estimation. Utilizing data sets from cosmic chronometers and supernovae with a curved $Λ$CDM model, we explore the impact of GA's key hyperparameters -- such as the fitness function, crossover rate, and mutation rate -- on the population of cosmological parameters determined by the evolutionary process. We compare the results obtained with GA to those by MCMC, analyzing their effectiveness and viability for cosmological application.
