Papers
Topics
Authors
Recent
Search
2000 character limit reached

MadEvolve: LLM Evolutionary Code Optimizer

Updated 5 July 2026
  • MadEvolve is a general-purpose, LLM-driven framework that mutates marked regions of human algorithms and optimizes them through automated, task-specific fitness evaluations.
  • It employs hybrid candidate generation (diff patches, rewrites, synthesis), diversity-preserving population management, and nested optimization to refine both structure and parameters.
  • The framework demonstrates significant metric improvements in applications like cosmology and trading, underscored by reproducible reporting and explicit free-parameter handling.

MadEvolve is a general-purpose, LLM-driven evolutionary framework for optimizing algorithms as executable code. It begins from a baseline human algorithm implementation, mutates marked code regions, evaluates each candidate with a task-specific automated fitness, and retains high-performing variants in a diverse population. In the cosmology formulation, the framework emphasizes explicit free-parameter handling, nested optimization of structure and parameters, and automated scientific reporting; a later study adapts the same machinery to algorithmic trading, where the mutable code spans execution logic, target computation, limit-order placement, and feature pipelines (Li et al., 17 Feb 2026, Kvasiuk et al., 21 May 2026).

1. Scope, lineage, and defining characteristics

MadEvolve was introduced as a framework for LLM-driven discovery and optimization of scientific algorithms and was applied to three problems in computational cosmology: reconstruction of cosmological initial conditions, 21cm foreground contamination reconstruction, and effective baryonic physics in N-body simulations. The cosmology paper describes it as similar to Google’s AlphaEvolve, but with a stronger emphasis on free parameters and their optimization. The same framework was subsequently adapted to optimize algorithmic trading strategies and alpha-generation pipelines for Bitcoin minute bars (Li et al., 17 Feb 2026, Kvasiuk et al., 21 May 2026).

The defining design choice is to treat an algorithm as a program subject to iterative mutation, while a domain evaluator provides a verifiable reward signal. In the cosmology setting, this reward is a deterministic physics metric; in the trading setting, it is primarily impact-adjusted PnL on a held-out validation year, with a separate forecasting run scored by a weighted combination of R2R^2, IC, and ICIR. This yields a closed-loop propose–evaluate–refine system in which surrounding infrastructure is preserved and only explicitly marked code regions are evolved (Li et al., 17 Feb 2026, Kvasiuk et al., 21 May 2026).

Domain Representative tasks Reported emphasis
Computational cosmology BAO/IC reconstruction, 21 cm tidal reconstruction, LDL/tSZ prediction Free-parameter optimization, autodiff, automated scientific reports
Quantitative finance Target logic, order placement, joint strategy, feature evolution Impact-adjusted backtesting, parameter budgets, p-hacking evaluation

A plausible implication is that MadEvolve’s identity is best understood at the framework level rather than as a single domain-specific optimizer: the same population machinery, mutation loop, and evaluator-centered search are reused across substantially different scientific and engineering problems.

2. Evolutionary program architecture

MadEvolve starts from a baseline human algorithm implementation, designated as a seed program. The region subject to mutation is marked with EVOLVE-BLOCK-START/END, while the surrounding I/O and evaluation hooks are preserved. Parent selection draws from a hybrid population comprising islands, MAP-Elites, and a global elite archive. Inspiration retrieval then fetches exemplars such as the global best, recent top performers, and diverse neighbors; these are injected into a domain-specific prompt together with the parent code, metrics, and weaknesses (Li et al., 17 Feb 2026).

Candidate generation supports three modes: diff patches for incremental refinement, full rewrites for broader exploration, and synthesis from multiple references. The cosmology paper states that the proportions are configurable and defaults favor diffs at approximately 70%; the trading paper likewise reports roughly 70% patches and roughly 30% rewrites. Invalid or non-executable proposals are rejected after syntactic or runtime validation in a sandboxed evaluator, and tracebacks are logged (Li et al., 17 Feb 2026, Kvasiuk et al., 21 May 2026).

Population management is explicitly diversity-preserving. MAP-Elites retains the best program per cell, indexed by code complexity, diversity via embeddings, and performance in the trading paper, and by feature bin in the cosmology paper. A five-island model with ring migration every five generations at 10% transfer is reported for trading; the cosmology paper likewise uses islands, migration, and an elite archive, and reports global run statistics over four runs and 2,126 generations (Kvasiuk et al., 21 May 2026, Li et al., 17 Feb 2026).

MadEvolve also includes automated reporting. The cosmology paper specifies a three-stage pipeline: lineage extraction, comparative analysis, and synthesis. The generated report compares evolved and baseline algorithms, identifies innovations, lists free parameters and their meanings and values, includes code excerpts and metrics, and can contain full code for the baseline and best algorithm (Li et al., 17 Feb 2026).

3. Nested optimization, model routing, and evaluation

A central feature of MadEvolve is explicit free-parameter handling. Newly introduced tunable parameters are declared in code via a configuration block, with initial values, bounds, and an optimization method. The framework then optimizes those parameters before final fitness scoring, so algorithmic ideas are not judged at arbitrary defaults. In the cosmology formulation this is described as nested optimization: an outer evolutionary loop searches structural code changes, while an inner loop tunes continuous parameters by reverse-mode autodiff when possible, or by budgeted derivative-free search otherwise (Li et al., 17 Feb 2026).

For differentiable pipelines, MadEvolve uses JAX for BAO and 21 cm tasks and vmad for LDL/tSZ. The reported inner-loop optimizer is Adam for 10–50 iterations with η=0.1\eta=0.1, β1=0.9\beta_1=0.9, β2=0.999\beta_2=0.999, and early stopping when <105\|\nabla\|<10^{-5}. When operations are non-differentiable, newly introduced parameters are tuned once under a strict evaluation budget by grid search, Latin hypercube sampling, or Gaussian-process Bayesian optimization, then frozen in code unless the LLM later removes and reintroduces them (Li et al., 17 Feb 2026).

The general objective is to maximize a task-dependent fitness S(Aθ)S(A_\theta). For BAO, the paper gives a negated-plus-penalty objective

JBAO(θ)=rˉBAO(θ)+λmaxkKLS[rbase(k)rθ(k),0],J_{\mathrm{BAO}}(\theta)= -\bar r_{\mathrm{BAO}}(\theta) + \lambda \cdot \max_{k\in K_{\mathrm{LS}}}\left[r_{\mathrm{base}}(k)-r_\theta(k),0\right],

with KLS={k0.2 h Mpc1}K_{\mathrm{LS}}=\{k\le 0.2\ h\ \mathrm{Mpc}^{-1}\} and λ=10\lambda=10 (Li et al., 17 Feb 2026).

Model selection within the LLM ensemble is handled by a UCB1-style bandit:

UCBi=(rˉi+ctlnN/ni)wi,ct=c0γN.UCB_i=\left(\bar r_i + c_t \sqrt{\ln N / n_i}\right) w_i,\qquad c_t=c_0\gamma^N.

Here, η=0.1\eta=0.10 is the average fitness improvement from model η=0.1\eta=0.11, η=0.1\eta=0.12 is its usage count, η=0.1\eta=0.13 is the total number of queries, and η=0.1\eta=0.14 is a prior weight. This mechanism is reported in the cosmology paper; the trading paper similarly uses an LLM ensemble with routing across Gemini 3 Pro/Flash, GPT-5.2, o4-mini, and Claude Opus 4.6, and analyzes model-specific improvement rates and lineage contributions (Li et al., 17 Feb 2026, Kvasiuk et al., 21 May 2026).

In the trading adaptation, evaluation is backtester-centered rather than autodiff-centered. Fitness for strategy runs is impact-adjusted PnL on the 2024 validation year, not Sharpe, because Sharpe can be inflated by trading too selectively. The primary per-minute definition is

η=0.1\eta=0.15

where η=0.1\eta=0.16 is the interval impact charge from a propagator impact model. The forecasting-only run instead optimizes a composite score over validation η=0.1\eta=0.17, IC, and ICIR, with weights η=0.1\eta=0.18, η=0.1\eta=0.19, and β1=0.9\beta_1=0.90 respectively, after clamping each metric to bounded ranges (Kvasiuk et al., 21 May 2026).

4. Cosmological instantiations

The cosmology paper evaluates MadEvolve on three tasks with deterministic metrics and fixed simulation pipelines: BAO/initial-condition reconstruction on Quijote simulations, 21 cm tidal reconstruction on degraded Quijote boxes, and LDL/tSZ prediction on CAMELS paired DM–hydro boxes (Li et al., 17 Feb 2026).

For BAO/IC reconstruction, the primary metric is the Fourier-space cross-correlation coefficient

β1=0.9\beta_1=0.91

averaged over β1=0.9\beta_1=0.92, together with a large-scale safeguard that penalizes degradation for β1=0.9\beta_1=0.93. Starting from a standard Zel’dovich baseline, the reported best evolved algorithm improves β1=0.9\beta_1=0.94 from β1=0.9\beta_1=0.95 to β1=0.9\beta_1=0.96 β1=0.9\beta_1=0.97. Starting from an iterative reconstruction baseline, the best evolved algorithm improves β1=0.9\beta_1=0.98 from β1=0.9\beta_1=0.99 to β2=0.999\beta_2=0.9990 β2=0.999\beta_2=0.9991, with a modest runtime increase of approximately β2=0.999\beta_2=0.9992 (Li et al., 17 Feb 2026).

The discovered BAO innovations are described as tensor-invariant augmentation, spectral “de-warping,” and coherence-gated fusion in the standard-baseline setting, and as guided anisotropic diffusion, residual advection, a 2LPT source, and an EFT-like counterterm with a hard spectral gate in the iterative-baseline setting. The paper also notes that the stronger algorithm evolved from standard reconstruction is approximately β2=0.999\beta_2=0.9993 slower than baseline because of FFT-heavy invariants and multi-pass filtering (Li et al., 17 Feb 2026).

For 21 cm tidal reconstruction, the degraded field is constructed with a foreground high-pass along the line of sight, a shortest-baseline cutoff, and thermal noise. The metric is the cylindrical correlation coefficient

β2=0.999\beta_2=0.9994

averaged over designated wedge bins. The reported best evolved algorithm improves β2=0.999\beta_2=0.9995 from β2=0.999\beta_2=0.9996 to β2=0.999\beta_2=0.9997 β2=0.999\beta_2=0.9998; a compact 9-parameter variant reaches β2=0.999\beta_2=0.9999, or <105\|\nabla\|<10^{-5}0 of the 64-parameter best, and runs approximately <105\|\nabla\|<10^{-5}1 faster (Li et al., 17 Feb 2026).

For LDL/tSZ prediction, the baseline uses three displacement-field layers followed by a scalar mapping from the third density field to a tSZ proxy. Evolution uses mean <105\|\nabla\|<10^{-5}2 across validation realizations as fitness, while also monitoring the transfer function

<105\|\nabla\|<10^{-5}3

The best evolved model reduces test <105\|\nabla\|<10^{-5}4 loss from <105\|\nabla\|<10^{-5}5 to <105\|\nabla\|<10^{-5}6 <105\|\nabla\|<10^{-5}7, improves <105\|\nabla\|<10^{-5}8 from <105\|\nabla\|<10^{-5}9 to S(Aθ)S(A_\theta)0 S(Aθ)S(A_\theta)1, and reduces mean amplitude-calibration error S(Aθ)S(A_\theta)2 from S(Aθ)S(A_\theta)3 to S(Aθ)S(A_\theta)4 (Li et al., 17 Feb 2026).

Task Baseline to evolved outcome Noted innovations
BAO/IC reconstruction S(Aθ)S(A_\theta)5; iterative S(Aθ)S(A_\theta)6 Tensor-invariant augmentation, spectral “de-warping,” coherence-gated fusion
21 cm tidal reconstruction S(Aθ)S(A_\theta)7 Anisotropic filtering, generalized anisotropic potential, split-weight tensor projection
LDL/tSZ prediction S(Aθ)S(A_\theta)8; S(Aθ)S(A_\theta)9 Hybrid thermo-virial factorization, screened virial temperature, gated “shock” temperature

These results are paired with explicit generalization protocols: one training realization for evolution and nine held-out test simulations for the Quijote tasks, and a single CAMELS training realization with separate validation and six held-out test realizations for tSZ. This suggests that MadEvolve is being evaluated not only as a generator of high in-sample programs but as a search process whose outputs are expected to transfer across simulation instances (Li et al., 17 Feb 2026).

5. Trading adaptation

The trading paper applies MadEvolve to Bitcoin trading on exchange-aggregated Polygon BTCUSD 1-minute OHLCV candles, with train data from 2022–2023 for forecaster fitting, validation data from 2024 for evolutionary fitness, and an out-of-sample test window from 2025-01-01 to 2025-10-10. The execution model uses passive limit orders, one-minute decision cadence, a stale-information correction, one resting order at a time, and cancel/replace each minute. Fees are fixed at 15 bps of notional, and market impact is modeled by a propagator with defaults JBAO(θ)=rˉBAO(θ)+λmaxkKLS[rbase(k)rθ(k),0],J_{\mathrm{BAO}}(\theta)= -\bar r_{\mathrm{BAO}}(\theta) + \lambda \cdot \max_{k\in K_{\mathrm{LS}}}\left[r_{\mathrm{base}}(k)-r_\theta(k),0\right],02BJBAO(θ)=rˉBAO(θ)+λmaxkKLS[rbase(k)rθ(k),0],J_{\mathrm{BAO}}(\theta)= -\bar r_{\mathrm{BAO}}(\theta) + \lambda \cdot \max_{k\in K_{\mathrm{LS}}}\left[r_{\mathrm{base}}(k)-r_\theta(k),0\right],1\alpha_{\mathrm{perm}}=0.005JBAO(θ)=rˉBAO(θ)+λmaxkKLS[rbase(k)rθ(k),0],J_{\mathrm{BAO}}(\theta)= -\bar r_{\mathrm{BAO}}(\theta) + \lambda \cdot \max_{k\in K_{\mathrm{LS}}}\left[r_{\mathrm{base}}(k)-r_\theta(k),0\right],2\alpha_{\mathrm{trans}}=0.010JBAO(θ)=rˉBAO(θ)+λmaxkKLS[rbase(k)rθ(k),0],J_{\mathrm{BAO}}(\theta)= -\bar r_{\mathrm{BAO}}(\theta) + \lambda \cdot \max_{k\in K_{\mathrm{LS}}}\left[r_{\mathrm{base}}(k)-r_\theta(k),0\right],3\tau_0=300\,\mathrm{s}JBAO(θ)=rˉBAO(θ)+λmaxkKLS[rbase(k)rθ(k),0],J_{\mathrm{BAO}}(\theta)= -\bar r_{\mathrm{BAO}}(\theta) + \lambda \cdot \max_{k\in K_{\mathrm{LS}}}\left[r_{\mathrm{base}}(k)-r_\theta(k),0\right],4\beta=0.5JBAO(θ)=rˉBAO(θ)+λmaxkKLS[rbase(k)rθ(k),0],J_{\mathrm{BAO}}(\theta)= -\bar r_{\mathrm{BAO}}(\theta) + \lambda \cdot \max_{k\in K_{\mathrm{LS}}}\left[r_{\mathrm{base}}(k)-r_\theta(k),0\right],5\delta=0.5(<ahref="/papers/2605.23007"title=""rel="nofollow"dataturbo="false"class="assistantlink"xdataxtooltip.raw="">Kvasiuketal.,21May2026</a>).</p><p>Themutableprogramregionsdifferbyrun.Run1evolves<code>settarget()</code>,Run2evolves<code>setlimitorder()</code>,Run3evolves<code>setpassiveorderdata()</code>,Run4evolves<code>defaultcalcset()</code>forthefeaturepipeline,andRun5jointlyevolvesthefeaturepipelinetogetherwiththestrategy.Thebaselineforecasterisridgeregressiononthree<ahref="https://www.emergentmind.com/topics/eulermarginattentionema"title=""rel="nofollow"dataturbo="false"class="assistantlink"xdataxtooltip.raw="">EMA</a>featureswithhalflivesof1,5,and10minutes;evolvedcalcsetsexpandtomultiscalemomentum,meanreversionstate,volumeandorderflowproxies,volatilityregimecontext,candleshapederivatives,VWAPdeviations,Donchian/Bollinger/RSI/MACDvariants,andtimeofdayperiodics(<ahref="/papers/2605.23007"title=""rel="nofollow"dataturbo="false"class="assistantlink"xdataxtooltip.raw="">Kvasiuketal.,21May2026</a>).</p><p>ThecommonbaselineacrossRuns13and5isreportedasvalidationSharpe (<a href="/papers/2605.23007" title="" rel="nofollow" data-turbo="false" class="assistant-link" x-data x-tooltip.raw="">Kvasiuk et al., 21 May 2026</a>).</p> <p>The mutable program regions differ by run. Run 1 evolves <code>set_target()</code>, Run 2 evolves <code>set_limit_order()</code>, Run 3 evolves <code>set_passive_order_data()</code>, Run 4 evolves <code>default_calcset()</code> for the feature pipeline, and Run 5 jointly evolves the feature pipeline together with the strategy. The baseline forecaster is ridge regression on three <a href="https://www.emergentmind.com/topics/euler-margin-attention-ema" title="" rel="nofollow" data-turbo="false" class="assistant-link" x-data x-tooltip.raw="">EMA</a> features with halflives of 1, 5, and 10 minutes; evolved calcsets expand to multi-scale momentum, mean-reversion state, volume and order-flow proxies, volatility regime context, candle-shape derivatives, VWAP deviations, Donchian/Bollinger/RSI/MACD variants, and time-of-day periodics (<a href="/papers/2605.23007" title="" rel="nofollow" data-turbo="false" class="assistant-link" x-data x-tooltip.raw="">Kvasiuk et al., 21 May 2026</a>).</p> <p>The common baseline across Runs 1–3 and 5 is reported as validation Sharpe J_{\mathrm{BAO}}(\theta)= -\bar r_{\mathrm{BAO}}(\theta) + \lambda \cdot \max_{k\in K_{\mathrm{LS}}}\left[r_{\mathrm{base}}(k)-r_\theta(k),0\right],$6, impact-adjusted PnL $J_{\mathrm{BAO}}(\theta)= -\bar r_{\mathrm{BAO}}(\theta) + \lambda \cdot \max_{k\in K_{\mathrm{LS}}}\left[r_{\mathrm{base}}(k)-r_\theta(k),0\right],$783$J_{\mathrm{BAO}}(\theta)= -\bar r_{\mathrm{BAO}}(\theta) + \lambda \cdot \max_{k\in K_{\mathrm{LS}}}\left[r_{\mathrm{base}}(k)-r_\theta(k),0\right],$8\$J_{\mathrm{BAO}}(\theta)= -\bar r_{\mathrm{BAO}}(\theta) + \lambda \cdot \max_{k\in K_{\mathrm{LS}}}\left[r_{\mathrm{base}}(k)-r_\theta(k),0\right],$9M; test Sharpe $K_{\mathrm{LS}}=\{k\le 0.2\ h\ \mathrm{Mpc}^{-1}\}$0, impact-adjusted PnL %%%%71$\|\nabla\|<10^{-5}772772%%%%60.1\%K_{\mathrm{LS}}=\{k\le 0.2\ h\ \mathrm{Mpc}^{-1}\}$3\$K_{\mathrm{LS}}=\{k\le 0.2\ h\ \mathrm{Mpc}^{-1}\}$4M and test impact-adjusted PnL of $K_{\mathrm{LS}}=\{k\le 0.2\ h\ \mathrm{Mpc}^{-1}\}$51.205$K_{\mathrm{LS}}=\{k\le 0.2\ h\ \mathrm{Mpc}^{-1}\}$65.12$K_{\mathrm{LS}}=\{k\le 0.2\ h\ \mathrm{Mpc}^{-1}\}$7(+1.29)$K_{\mathrm{LS}}=\{k\le 0.2\ h\ \mathrm{Mpc}^{-1}\}$8\$K_{\mathrm{LS}}=\{k\le 0.2\ h\ \mathrm{Mpc}^{-1}\}$9M, validation Sharpe $\lambda=10$0, test impact-adjusted PnL of $\lambda=10$1724$\lambda=10$25.65$\lambda=10$3(+1.83)$ (Kvasiuk et al., 21 May 2026).

Run Evolved component Reported test outcome
Run 1 Target only PnL λ=10\lambda=104271λ=10\lambda=1054.45</td></tr><tr><td>Run2</td><td>Orderonly</td><td>PnL</td> </tr> <tr> <td>Run 2</td> <td>Order only</td> <td>PnL \lambda=10$61.205$\lambda=10$75.12$
Run 3 Joint strategy PnL λ=10\lambda=108473λ=10\lambda=1095.11</td></tr><tr><td>Run5</td><td>Jointfeatures+strategy</td><td>PnL</td> </tr> <tr> <td>Run 5</td> <td>Joint features + strategy</td> <td>PnL UCB_i=\left(\bar r_i + c_t \sqrt{\ln N / n_i}\right) w_i,\qquad c_t=c_0\gamma^N.$0724$UCB_i=\left(\bar r_i + c_t \sqrt{\ln N / n_i}\right) w_i,\qquad c_t=c_0\gamma^N.$15.65$

The forecasting-only run reports that an evolved 77-feature calcset improves the validation combined score by UCBi=(rˉi+ctlnN/ni)wi,ct=c0γN.UCB_i=\left(\bar r_i + c_t \sqrt{\ln N / n_i}\right) w_i,\qquad c_t=c_0\gamma^N.2 from UCBi=(rˉi+ctlnN/ni)wi,ct=c0γN.UCB_i=\left(\bar r_i + c_t \sqrt{\ln N / n_i}\right) w_i,\qquad c_t=c_0\gamma^N.3 to UCBi=(rˉi+ctlnN/ni)wi,ct=c0γN.UCB_i=\left(\bar r_i + c_t \sqrt{\ln N / n_i}\right) w_i,\qquad c_t=c_0\gamma^N.4, doubles 10-minute-horizon validation UCBi=(rˉi+ctlnN/ni)wi,ct=c0γN.UCB_i=\left(\bar r_i + c_t \sqrt{\ln N / n_i}\right) w_i,\qquad c_t=c_0\gamma^N.5 from UCBi=(rˉi+ctlnN/ni)wi,ct=c0γN.UCB_i=\left(\bar r_i + c_t \sqrt{\ln N / n_i}\right) w_i,\qquad c_t=c_0\gamma^N.6 to UCBi=(rˉi+ctlnN/ni)wi,ct=c0γN.UCB_i=\left(\bar r_i + c_t \sqrt{\ln N / n_i}\right) w_i,\qquad c_t=c_0\gamma^N.7, and improves IC from UCBi=(rˉi+ctlnN/ni)wi,ct=c0γN.UCB_i=\left(\bar r_i + c_t \sqrt{\ln N / n_i}\right) w_i,\qquad c_t=c_0\gamma^N.8 to UCBi=(rˉi+ctlnN/ni)wi,ct=c0γN.UCB_i=\left(\bar r_i + c_t \sqrt{\ln N / n_i}\right) w_i,\qquad c_t=c_0\gamma^N.9 and ICIR from η=0.1\eta=0.100 to η=0.1\eta=0.101. Out of sample, η=0.1\eta=0.102 doubles from η=0.1\eta=0.103 to η=0.1\eta=0.104, IC rises from η=0.1\eta=0.105 to η=0.1\eta=0.106, and ICIR improves from η=0.1\eta=0.107 to η=0.1\eta=0.108 (Kvasiuk et al., 21 May 2026).

The paper explicitly distinguishes sizing from algorithmic improvement. A counterfactual sized baseline under the same impact model shows that evolved PnL exceeds pure rescaling by η=0.1\eta=0.109–η=0.1\eta=0.110 on test and η=0.1\eta=0.111–η=0.1\eta=0.112 on validation, while out-of-sample Sharpe improves by η=0.1\eta=0.113, η=0.1\eta=0.114, η=0.1\eta=0.115, and η=0.1\eta=0.116 across Runs 1–3 and 5. It also reports a comparison with Claude Code: that approach attains strong feature-evolution results and, after Optuna recalibration, test impact-adjusted PnL of η=0.1\eta=0.117235η=0.1\eta=0.1185.27$, but the MadEvolve trading study argues that structured population search, parameter budgets, and IS-to-OOS retention analysis are central in the high-noise setting of finance (Kvasiuk et al., 21 May 2026).

6. Reproducibility, limitations, and naming

MadEvolve is accompanied by explicit reproducibility infrastructure. The cosmology paper describes a program database that stores source code, diffs, parameter specifications and values, metrics.json, LLM model used, generation mode, MAP-Elites cell, island id, and timestamps for each generation. Deterministic evaluators, explicit seeds, and full code snapshots in reports are intended to facilitate reproducibility. The reported cosmology environment includes Ubuntu 20.04, CUDA 11.4, Python 3.12, and PyTorch 2.3, with runs performed on a workstation containing a 24-core CPU, 256 GB RAM, and 2×RTX 3090. Public resources include madevolve.org, the framework repository, and the cosmology-task repository (Li et al., 17 Feb 2026).

The trading paper likewise gives concrete reproduction guidance: use Polygon BTCUSD minute bars with the stated train/validation/test splits; implement the Appendix backtester with the specified fee and impact parameters; mark the same EVOLVE-BLOCKs; configure MAP-Elites, islands, migration, and the LLM ensemble; optimize on validation and evaluate the best program unchanged on test. Reported trading runs span 743–1,059 candidates over approximately 8.5–19 hours, depending on the run (Kvasiuk et al., 21 May 2026).

Limitations are explicit in both domains. In cosmology, failure modes include syntactic and type errors, increasing difficulty with non-differentiable operations, reward hacking without task-aware penalties, interpretability problems arising from patchworks of sensible but eclectic components, and generalization limits from simulation-only evaluation. Proposed future directions include an automated repair agent, reference mining, Pareto optimization such as NSGA-III, cross-task transfer, interactive steering, and faster operator libraries. In trading, the reported risks include overfitting to passive limit-only fill assumptions, fee and impact misspecification, aggregated Polygon data, latency and lookahead artifacts, regime shifts, and venue-specific deviations in live microstructure. Recommended best practices are to hold out an independent test split, limit free parameters, prefer impact-adjusted PnL over Sharpe as the search objective, recalibrate execution when alpha scale changes, and use ensembles for mutation diversity (Li et al., 17 Feb 2026, Kvasiuk et al., 21 May 2026).

A recurrent source of confusion is the name itself. A separate multi-agent-systems paper explicitly states that it does not mention a system named “MadEvolve”; that work introduces Meta-Team for collaborative self-evolution of LLM-based multi-agent systems and is relevant only by analogy, not by nomenclature. Accordingly, in the literature represented here, “MadEvolve” refers to the executable-code evolutionary optimization framework instantiated in cosmology and trading, rather than to a multi-agent self-evolution framework (Hao et al., 28 May 2026).

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to MadEvolve.