English

Genetic algorithm demystified for cosmological parameter estimation

Cosmology and Nongalactic Astrophysics 2025-12-15 v2 Computational Physics Physics Education

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 Λ\LambdaCDM 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.

Cite

@article{arxiv.2505.10450,
  title  = {Genetic algorithm demystified for cosmological parameter estimation},
  author = {Reginald Christian Bernardo and Yun Chen},
  journal= {arXiv preprint arXiv:2505.10450},
  year   = {2025}
}

Comments

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

R2 v1 2026-06-28T23:34:43.463Z