MadEvolve: Evolutionary Optimization of Cosmological Algorithms with Large Language Models
Tianyi Li, Shihui Zang, Moritz M\"unchmeyer

TL;DR
MadEvolve is a framework that uses evolutionary algorithms and large language models to optimize scientific algorithms in cosmology, demonstrating significant improvements across multiple complex tasks.
Contribution
It introduces MadEvolve, a novel tool combining evolutionary optimization with LLMs to enhance cosmological algorithms, supporting both gradient-based and gradient-free methods.
Findings
Substantial performance improvements in all three cosmological tasks
Automated generation of detailed reports comparing algorithms
Effective optimization of free parameters in complex models
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsGalaxies: Formation, Evolution, Phenomena · Astronomy and Astrophysical Research · Computational Physics and Python Applications
