Reference QD benchmark results

The Shoal sweep compares QDpy methods on shifted Sphere, LunarLander-v3, the Kheperax target maze, and seven QDax/Brax v1 tasks. It uses 24 paired seeds per task. Search budgets are 16,384 candidates for Sphere and 4,096 for each simulator. The simulator panels use evolutionary search over policy weights with one rollout per candidate.

Reference benchmark tutorial · Shared category benchmarks

Shoal results

All 1,344 trials finished at their full budgets, for 7,274,496 candidate evaluations and 594,843,012 simulator steps. The sweep ran on four Shoal nodes with up to 56 task-and-seed jobs in parallel. The last worker finished after 53 minutes. Rundra run run_89b1e412bb8d4ff0ace8714a11a3901e, Slurm job 4487, used QDpy 0.3.0 from revision 8fbc5c2458aff9e58d6b4fe3fc397f2addfeaf2f.

On Sphere, Differential MAP-Elites had both the highest median QD score and the broadest coverage. It filled 236.5 cells at the median, compared with 45 for grid MAP-Elites. CMA-MAE achieved a median best fitness of 99.38 out of 100 and filled 18 cells. The strongest single solution and the broadest high-quality archive came from different methods.

LM-MA-MAE improved the median offset QD score from 3,012 to 21,175 on Ant Maze and from 3,107 to 14,240 on Ant Trap. It outscored grid MAP-Elites on all 24 Ant Maze seeds and on 21 Ant Trap seeds. In Kheperax, CVT-MAP-Elites reached the highest median coverage during search with 74 cells and retained elites in 55 reporting cells. Its paired advantage in coverage during search was one cell, with a 95% interval of −10 to +4 cells.

The table compares the highest-median alternative on each task with grid MAP-Elites. Kheperax uses occupied cells and the other tasks use QD score. The last column counts paired seeds where the alternative won, tied, or lost. The paired difference can differ from subtracting the two displayed medians.

Task

Leading alternative

Alternative median

Grid MAP-Elites median

Median paired difference (95% interval)

Wins / ties / losses

Shifted Sphere

Differential MAP-Elites

16,511

3,604

+12,982 [+12,538, +13,441]

24 / 0 / 0

LunarLander-v3

CVT-MAP-Elites

82,719

85,754

−1,428 [−4,961, +4,185]

11 / 0 / 13

Kheperax

CVT-MAP-Elites

74.0

71.5

+1.0 [−10.0, +4.0]

13 / 1 / 10

Ant Omni

LM-MA-MAE

2,268

1,598

+667 [+530, +797]

23 / 0 / 1

Ant Uni

CVT-MAP-Elites

64,183

63,980

+1,265 [−669, +2,396]

16 / 0 / 8

Ant Maze

LM-MA-MAE

21,175

3,012

+17,493 [+12,030, +19,744]

24 / 0 / 0

Ant Trap

LM-MA-MAE

14,240

3,107

+11,151 [+5,386, +13,275]

21 / 0 / 3

HalfCheetah Uni

CVT-MAP-Elites

259,298

259,840

+102 [−750, +2,406]

13 / 0 / 11

Walker2D Uni

CVT-MAP-Elites

43,698

43,776

+544 [−1,209, +1,265]

14 / 0 / 10

Point Maze

Dominated Novelty Search

18,227

17,249

+961 [−362, +2,366]

15 / 0 / 9

Search curves and data

Primary scores over the evaluation budget for all ten benchmarks

Number of occupied reporting cells over the evaluation budget for all ten benchmarks

Per-seed scores and progress (gzip JSON) · Summary and paired comparisons (JSON) · Campaign design (JSON)

Protocol

Tasks

Policy or decision variables

Episode horizon

Reporting grid

Primary score

Sphere

100 real coordinates, shifted Sphere and two sum projections

—

16 × 16

Raw QD score

LunarLander-v3

32 linear policy weights, two ground-contact descriptors

Up to 1,000

16 × 16

Offset QD score

Kheperax

138 weights, final robot position

250

16 × 16

Occupied cells

Ant Uni

QDax MLP, four ground-contact proportions

100

4 × 4 × 4 × 4

Offset QD score

Ant Omni, Ant Maze, Ant Trap, and Point Maze

QDax MLP, final position

100

16 × 16

Offset QD score

HalfCheetah Uni and Walker2D Uni

QDax MLP, two ground-contact proportions

100

16 × 16

Offset QD score

Sphere uses the pyribs shifted objective and descriptor projection. Lunar Lander uses the v0.12.0 pyribs rollout definition. Kheperax uses the standard target maze and policy architecture in the pyribs tutorial. The Brax tasks use QDax 0.5.0’s v1 policy and scoring factories. pyribs Sphere · pyribs Lunar Lander example · pyribs Kheperax tutorial · QDax paper · QDax v1 task implementation

All methods propose batches of 64. Within each replicate, all Lunar Lander and Brax candidates use a common initial state from that replicate’s seed. Kheperax uses a matched sequence of per-batch keys for upstream reset sampling. Scores describe the search rollouts. A fresh-reset audit would test how well those policies generalize.

Each in-domain candidate is offered to a separate reporting grid of 256 cells using the task’s reference descriptor limits. Each cell keeps the highest observed fitness. A candidate with an out-of-bounds descriptor consumes its evaluation slot and contributes no score. In this sweep, 19.0% of Lunar Lander candidates and 1.3% of Kheperax candidates fell outside the reference limits. Every other task stayed within them. CVT and novelty search use their own populations for selecting parents. Their final populations are also projected onto the reporting grid in the downloads, so the retained repertoire can be compared to the best results found during the run.

The raw QD score sums the best raw return in each occupied cell. Lunar Lander adds 600 per occupied cell. Each Brax task uses its upstream per-step offset multiplied by the full episode horizon, including for policies that terminate early. Kheperax’s reward at each step is the negative distance to the target. Its raw QD score can decrease as the search fills cells, so the main comparison uses occupied cells. The downloads also contain raw scores and the best in-domain return. Compare each task in its own units.

Methods and settings

Method

Reference

Tasks

Settings

Random search

—

All ten

The task’s reference initializer supplies every proposal.

Grid MAP-Elites

Mouret2015, Vassiliades2018

All ten

Uniform elite selection and Iso+LineDD with scales 0.01 and 0.2. The first batch uses the reference initializer.

CVT-MAP-Elites

Vassiliades2018

All ten

The same initializer and variation as grid MAP-Elites. The search uses 256 fixed centroids from 8,192 uniform points and Euclidean distance in descriptor units. Centroid seed 2026.

Differential MAP-Elites

Choi2021

All ten

Scaling factor 0.5, crossover rate 0.9, and uniform proposals until the grid holds four elites. Uses the Sphere domain or [−1, 1] for policy weights.

LM-MA-MAE

Tjanaka2023

All ten

The limited-memory optimizer adapts one emitter. The learning rate is 0.01.

CMA-MAE

Fontaine2023

Sphere and Lunar Lander

The full covariance optimizer adapts one emitter. The learning rate is 0.01.

Dominated Novelty Search

Bahlous-Boldi2025

Kheperax, Ant Maze, Ant Trap, Point Maze

256 survivors, five strictly fitter neighbours, and Iso+LineDD variation within [−1, 1].

The CMA methods start from zero on Sphere and Lunar Lander. LM-MA-MAE starts at a reference-initialized network on the other tasks. Their initial standard deviation is 0.5 on Sphere and 0.1 elsewhere. The initial threshold is −1,000 on Kheperax and the negative of the per-cell score offset elsewhere. Search bounds are [−5.12, 5.12] on Sphere and [−3, 3] on the other CMA panels. Grid and CVT MAP-Elites use the Sphere bounds on that task and no weight clipping on the simulators. These settings compare complete search strategies, including their initializers and bounds. See the individual method references in the algorithm catalog.

The sweep uses one configuration per method and task. Interpret rankings at these horizons, budgets, reporting resolutions, and search settings. In particular, a method can optimize well in a small reachable part of a wide reference descriptor domain.

Median curves show the middle 50% of seeds as shaded bands. An endpoint comparison pairs outcomes by seed, takes the median of the differences from Grid MAP-Elites, and uses 10,000 paired bootstrap resamples for a pointwise 95% interval. The summary also compares the area under each primary-score curve divided by its evaluation budget. This is the average score over search, in the original score’s units, using linear interpolation between checkpoints and an empty archive at evaluation zero.

Reproduce the sweep

Use the revision given in the summary. The optional CPU simulator stack was tested on Linux with Python 3.11. Install it in a separate environment with the Box2D and CMA extras.

uv venv --python 3.11 build/reference-env
source build/reference-env/bin/activate
uv pip install . -r examples/reference_jax_requirements.txt \
  'gymnasium[box2d]==1.4.0' 'cma==4.6.0' 'scipy==1.17.1' 'scikit-learn==1.9.1'
export OMP_NUM_THREADS=1 OPENBLAS_NUM_THREADS=1 MKL_NUM_THREADS=1 JAX_PLATFORMS=cpu
export XLA_FLAGS='--xla_cpu_multi_thread_eigen=false intra_op_parallelism_threads=1'
python -m scripts.benchmark_reference \
  --design docs/benchmarks/reference-sweep-design.json \
  --job 0 --revision "$(git rev-parse HEAD)" \
  --output build/reference-replay/0/results.json

Jobs 0–239 enumerate the ten tasks for seed 1200, then repeat that task order for seeds 1201–1223. Run them independently on Slurm or locally, with a distinct output directory for each job. Each job reuses a scorer across all methods for its task and writes one JSON file when all methods finish.

From the checkout containing this page, regenerate the figures and summary from the published records without the simulator dependencies. The analyzer checks that every declared task, seed, and method finished at its prescribed budget.

MPLBACKEND=Agg python -m scripts.report_reference_benchmarks \
  --design docs/benchmarks/reference-sweep-design.json \
  --reanalyze docs/benchmarks/reference-sweep.json.gz \
  --output-dir build/reference-reanalysis