MadEvolve: Evolutionary Optimization of Cosmological Algorithms with Large Language Models

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Li, Tianyi, Zang, Shihui, Münchmeyer, Moritz
Formato: Preprint
Publicado: 2026
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866918343649263616
author Li, Tianyi
Zang, Shihui
Münchmeyer, Moritz
author_facet Li, Tianyi
Zang, Shihui
Münchmeyer, Moritz
contents We develop a general framework to discover scientific algorithms and apply it to three problems in computational cosmology. Our code, MadEvolve, is similar to Google's AlphaEvolve, but places a stronger emphasis on free parameters and their optimization. Our code starts with a baseline human algorithm implementation, and then optimizes its performance metrics by making iterative changes to its code. As a further convenient feature, MadEvolve automatically generates a report that compares the input algorithm with the evolved algorithm, describes the algorithmic innovations and lists the free parameters and their function. Our code supports both auto-differentiable, gradient-based parameter optimization and gradient-free optimization methods. We apply MadEvolve to the reconstruction of cosmological initial conditions, 21cm foreground contamination reconstruction and effective baryonic physics in N-body simulations. In all cases, we find substantial improvements over the base algorithm. We make MadEvolve and our three tasks publicly available at madevolve.org.
format Preprint
id arxiv_https___arxiv_org_abs_2602_15951
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle MadEvolve: Evolutionary Optimization of Cosmological Algorithms with Large Language Models
Li, Tianyi
Zang, Shihui
Münchmeyer, Moritz
Cosmology and Nongalactic Astrophysics
Machine Learning
We develop a general framework to discover scientific algorithms and apply it to three problems in computational cosmology. Our code, MadEvolve, is similar to Google's AlphaEvolve, but places a stronger emphasis on free parameters and their optimization. Our code starts with a baseline human algorithm implementation, and then optimizes its performance metrics by making iterative changes to its code. As a further convenient feature, MadEvolve automatically generates a report that compares the input algorithm with the evolved algorithm, describes the algorithmic innovations and lists the free parameters and their function. Our code supports both auto-differentiable, gradient-based parameter optimization and gradient-free optimization methods. We apply MadEvolve to the reconstruction of cosmological initial conditions, 21cm foreground contamination reconstruction and effective baryonic physics in N-body simulations. In all cases, we find substantial improvements over the base algorithm. We make MadEvolve and our three tasks publicly available at madevolve.org.
title MadEvolve: Evolutionary Optimization of Cosmological Algorithms with Large Language Models
topic Cosmology and Nongalactic Astrophysics
Machine Learning
url https://arxiv.org/abs/2602.15951