Shared QD benchmark panels¶
Each workload compares representative methods on the same task. Every method in a panel has the same search budget and reporting metric, with the same list of seeds. The six catalog categories use different units and metrics. Read the comparisons within each workload. Algorithm catalog
Shoal results¶
Rundra ran the standard CPU suite on Shoal with seeds 1000–1127 and both
the CMA and RL panels enabled. All 3,712 trials across the ten workloads
completed at their full search budgets. Four Slurm workers ran on
shoal1 and shoal3, with up to 80 independent seeds running at once.
The median time to run one seed’s full suite was 22.34 seconds. Slurm job
4325 corresponds to Rundra run run_ef6cf80d16e04d5d8fd2f75bc1d49ec0.
Rundra cluster tutorial
Each dot is one seed’s primary score. Diamonds show the method medians. Each workload has its own scale and search budget. The rows below give the highest median in each panel and its paired comparison with the listed reference. The paired difference is the median of the 128 within-seed differences. Wins, ties, and losses compare the two scores on each seed.

Full-resolution figure ·
Per-seed scores and paired differences (gzip JSON) ·
Search and audit counts (JSON) ·
Reanalysis for every method pair (JSON)
Workload |
Highest method median |
Reference |
Median paired difference |
95% interval |
Wins / ties / losses |
|---|---|---|---|---|---|
Rastrigin |
CMA-MAE (42.88) |
Grid MAP-Elites |
+0.94 |
[−0.05, +1.51] |
74 / 0 / 54 |
Bayesian |
Sequential BOP-Elites (10.53) |
Joint batches |
+0.21 |
[+0.19, +0.23] |
119 / 0 / 9 |
Noisy Rastrigin |
Single rollout (7.90) |
Extract-ME |
+0.39 |
[+0.15, +0.64] |
85 / 0 / 43 |
Dynamic sphere |
No refresh (24.86) |
Local refresh |
+2.45 |
[+1.95, +3.34] |
97 / 0 / 31 |
Pareto |
MOME (5.27) |
Scalar MAP-Elites |
+0.79 |
[+0.66, +0.86] |
125 / 0 / 3 |
Fixed tasks |
Shared MTMB parents (7.59) |
Independent parents |
+4.82 |
[+4.68, +5.02] |
127 / 0 / 1 |
Constraints |
FINS (23.00) |
Constrained MAP-Elites |
+7 cells |
[+6, +9] |
105 / 3 / 20 |
Trajectories |
Path signature (4.06) |
Endpoint |
+3.21 |
[+3.07, +3.37] |
128 / 0 / 0 |
Binary designs |
Bit flips (35.00) |
Learned linkage |
+3 cells |
[+1, +4] |
78 / 3 / 47 |
Tracking |
PGA-MAP-Elites (96.91) |
Neural MAP-Elites |
−0.24 |
[−10.32, +1.51] |
62 / 0 / 66 |
The tracking medians favor PGA-MAP-Elites by 2.39 points. At the matched 512-step budget, neural MAP-Elites scored higher on 66 of the 128 seeds, and the paired confidence interval spans zero. The larger sweep also changed the ordering of the noisy and dynamic variants seen in the three-seed pilot. These comparisons are specific to the synthetic tasks, budgets, and audit protocols below.
The run imported QDpy 0.2.1 from source revision d34c6f1 with CPython
3.12.14, NumPy 2.5.5, SciPy 1.18.1, scikit-learn 1.9.1, CMA 4.6.0,
Gymnasium 1.4.0, and PyTorch 2.15.0+cpu. In the report, packages.qdpy
records the 0.2.0 distribution installed in the worker environment.
source_revision identifies the benchmark code. To rerun the same seed
set locally, use that checkout and the thread limits below.
python -m scripts.benchmark_categories --cma --rl --plot \
--seeds $(seq 1000 1127) --output-dir build/categories-shoal-replay
To regenerate the paired statistics from the saved scores, run the command below. The analysis records the input SHA-256 and its historical environment.
python -m scripts.benchmark_categories \
--reanalyze docs/benchmarks/category-benchmarks-shoal.json.gz \
--output-dir build/categories-shoal-analysis
Run the suite¶
Run from a checkout or an unpacked source distribution with QDpy installed. Use a fresh output directory for each run. The default command runs the base panels with seeds 11, 23, and 47.
export OMP_NUM_THREADS=1 MKL_NUM_THREADS=1 OPENBLAS_NUM_THREADS=1
python -m scripts.benchmark_categories --output-dir build/categories --plot
python -m scripts.benchmark_categories --quick --seeds 11 --output-dir build/categories-smoke
Install qdpy[cma,rl] and pass --cma --rl to include CMA-MAE, AURORA-XCon,
and continuous-control methods. Use --categories or --tasks to select
panels, and --seeds to replace the seed list.
python -m scripts.benchmark_categories --cma --rl --plot --timing --output-dir build/categories-all
python -m scripts.benchmark_categories --tasks noisy-rastrigin dynamic-sphere --output-dir build/categories-noisy
Catalog category |
Task |
Methods |
Standard and quick search budgets |
Primary metric |
|---|---|---|---|---|
Core |
|
Grid MAP-Elites, CVT-MAP-Elites, optional CMA-MAE |
384 / 64 candidates |
Reprojected QD score |
Costly, noisy, changing |
|
Sequential BOP-Elites, independent top-k batches, joint batches |
48 / 16 exact calls |
QD score |
Costly, noisy, changing |
|
Single rollout, fixed five rollouts, Extract-ME |
256 / 64 raw rollouts |
Corrected QD score |
Costly, noisy, changing |
|
No, local, or full archive refresh |
384 / 160 attempts |
Corrected QD score |
Multiple objectives, tasks, constraints |
|
Equal-weight scalar MAP-Elites and MOME |
256 / 48 candidates |
QD hypervolume |
Multiple objectives, tasks, constraints |
|
Independent and shared MTMB parent pools |
256 / 64 candidates |
Mean QD score across tasks |
Multiple objectives, tasks, constraints |
|
Constrained MAP-Elites, FINS, FI2NS |
360 / 80 candidates |
Feasible cells |
Learned descriptors, variation, selection |
|
Endpoint, occupancy, path signature, optional AURORA-XCon |
192 / 48 trajectories |
Common-grid QD score |
Discrete designs, rules, planning |
|
Bit flips, singleton mixing, learned linkage |
256 / 64 designs |
Cells at the exact optimum |
Reinforcement learning |
|
Neural MAP-Elites, PPO-assisted MAP-Elites, PGA-MAP-Elites |
512 / 128 environment steps |
Held-out archive QD score |
Resume a sweep¶
Each sweep writes sweep.json and saves every finished trial atomically
under trials/. If the process stops partway through a panel, repeat the
command with --resume and the same output directory.
python -m scripts.benchmark_categories --tasks noisy-rastrigin --progress \
--seeds 11 23 47 53 71 89 --output-dir build/categories-resume
python -m scripts.benchmark_categories --tasks noisy-rastrigin --progress \
--seeds 11 23 47 53 71 89 --output-dir build/categories-resume --resume
Resume checks the saved seed list, methods, budgets, workload settings,
runner and protocol hashes, and runtime environment. It reuses successful
trials whose identity and checksum match. Missing, failed, or invalid
trials run again from their original seed. The earlier attempts remain
in the output directory for inspection. The runner rebuilds report.json
in the original trial order. If you request --timing, reused rows keep
their original wall time.
Use one coordinator per output directory and keep the same benchmark inputs when resuming. Start a new sweep in a fresh directory for a new configuration. The per-trial records cover the measured results, so keep any exported policy files alongside them if you need those artifacts.
What the report measures¶
report.json includes the environment, budget units, actual search work,
audit work, raw per-seed metrics, and paired differences for each method
pair. Differences subtract the first method’s metric from the second.
Pairs require successful trials with the same seed, budget unit,
configured budget, and measured search work. Unused budget stays visible.
The two-sided 95% percentile interval resamples the matched differences
10,000 times with a fixed RNG seed and takes the median of each draw.
At least two matched seeds are required to compute an interval.
SciPy bootstrap reference
The environment records the imported version in qdpy_version, the
installed distribution version in packages.qdpy, and the commit and
checkout status in source_revision when available.
Full-budget successful trials contribute to the plots and method medians.
The command saves failed runs and exits with a nonzero status when a trial
fails. --timing also writes end-to-end wall time to timings.json.
The core panel audits every retained genome on one fixed rectangular reporting grid. The noisy panel gives every method the same warm-up and uses eight fresh rollouts per audited cell. The dynamic panel remeasures final elites at the same final tick. Search and audit calls have separate counters, so retaining more elites can raise audit costs. Baseline comparison · Noisy evaluation · Dynamic and fixed-task protocols
The Pareto panel keeps both raw objectives for every measured genome.
It uses the same descriptor bins and reference point (1, 1) for both
methods. Scalar MAP-Elites keeps one representative per cell. MOME can
retain up to eight trade-offs. The fixed-task panel reports attempts
per task and computes an unweighted mean across tasks. The feasibility
panel uses the same residuals and reporting grid for all methods.
MOME · Feasibility pilot
The trajectory panel reports all methods on the same 18 bins of loop direction and size, using their retained trajectories. The discrete panel compares retained fitness with a shared, separately computed exhaustive reference of 4,096 designs. The tracking panel replays each retained policy on a held-out reset seed, reassigns moved policies to cells, and sums raw returns of the best policies in the new cells. It also replays the selected actor and records those steps separately from training. Trajectory protocol · Linked binary protocol · Continuous-control protocol
Progress at matched budgets¶
The --progress pilot follows each search continuously and measures its
archive at fixed checkpoints. At zero search work, the empty archive has
score and audit cost zero. Each later checkpoint audits the current
archive on the workload’s fixed reporting grid. Audits use held-out
seeds, leave the search state alone, and report their cost in a separate
counter. The total tracking audit count includes the final best-policy
replay as well as the archive audits.
Workload |
Methods |
Checkpoints |
Audit at each checkpoint |
|---|---|---|---|
Noisy Rastrigin |
Single rollout, fixed five rollouts |
0, 16, 116, 216, 316, 416 raw rollouts |
Eight fresh rollouts per occupied source cell, followed by median rebinning on the same 4×4 grid. |
Continuous tracking |
Neural MAP-Elites, PGA-MAP-Elites |
0, 512, 1,024, 1,536, 2,048 environment steps |
One held-out episode per retained policy, rebinned on the same 8×8 grid. |
The noisy methods share the 16-rollout warm-up. Subsequent checkpoints
land on completed sampling iterations. Tracking checkpoints land on
completed candidate episodes. The area under the curve uses the
trapezoidal rule on these measured scores. progress_auc stores the
integral and mean_score_over_budget divides it by the full search budget.
The latter uses the same units as the original score. Both summaries
pair seeds within each workload.
export OMP_NUM_THREADS=1 MKL_NUM_THREADS=1 OPENBLAS_NUM_THREADS=1
python -m scripts.benchmark_categories --progress --rl \
--tasks noisy-rastrigin tracking --seeds 11 23 47 53 71 89 101 127 \
--plot --output-dir build/categories-progress

Checkpoint scores, audits, and paired results (JSON) ·
Full-resolution progress plot
All 32 pilot trials used their full search budgets on revision
f1637a1 with Python 3.12.14 and PyTorch 2.15.0+cpu. The plotted
curves show the median score across eight seeds at each checkpoint.
The intervals below use each seed’s final score or its entire curve.
Comparison |
Metric |
Median paired difference |
95% interval |
Wins / ties / losses |
|---|---|---|---|---|
Fixed five minus single rollout |
Final corrected QD score |
−1.28 |
[−2.18, −0.58] |
1 / 0 / 7 |
Fixed five minus single rollout |
Mean score over budget |
−0.97 |
[−1.56, −0.47] |
0 / 0 / 8 |
PGA minus neural MAP-Elites |
Final audited QD score |
−28.60 |
[−42.02, +33.54] |
3 / 0 / 5 |
PGA minus neural MAP-Elites |
Mean score over budget |
−25.23 |
[−44.52, +5.56] |
3 / 0 / 5 |
The single-rollout baseline led in mean score over budget on all eight noisy Rastrigin seeds. Tracking intervals span zero for both metrics. The results describe these seeds, budgets, and synthetic workloads.
Pilot results¶
The standard CPU run used seeds 11, 23, and 47, CPython 3.12.14,
CMA 4.6.0, and PyTorch 2.15.0+cpu on revision ad7ddb4. All 87 trials
used their full search budgets. Repeating the suite on the same
environment reproduced the report byte for byte. The dots show the
individual seeds and the diamonds show the medians.
Raw measurements and paired comparisons

Sharing MTMB parents raised mean QD score by a median of 4.68 in the paired comparison. Both variants received the same number of attempts per task for each seed.
Extract-ME raised corrected QD score by a median of 0.31 over the single-rollout baseline on noisy Rastrigin. Local refresh gave the highest median corrected QD score on the shifting sphere.
MOME raised QD hypervolume by a median of 0.52 over the single-elite scalar baseline. Its larger fronts are part of this comparison.
Path signatures raised common-grid QD score by a median of 2.72 over endpoints on the reversed loops. Learned linkage filled a median of nine fewer exact cells than bit flips on the binary task.
Neural MAP-Elites had the highest median held-out tracking QD score at 512 environment steps. The RL report records training, evaluation, optimiser, and held-out work separately.