paper

Genetic algorithm demystified for cosmological parameter estimation

arXiv:2505.10450 · doi:10.1016/j.ascom.2025.101041

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.

12 pages + refs, 6 figures, discussion improved, our codes in https://github.com/reggiebernardo/ga_demystified

Genetic algorithm demystified for cosmological parameter estimation · wovepaper