Repertoire adaptation, gradient search, and exploration benchmarks

These small CPU pilots check five workflows on tasks with measurable outcomes. Results are means over seeds 11, 22, and 33 unless given as a count. Each comparison uses the same candidate or simulator budget within its task. The NumPy examples used Python 3.11.16, NumPy 2.4.6, and SciPy 1.17.1, with pycma 4.6.0 for covariance search. The BRPG example used Python 3.12.14, PyTorch 2.15.0+cpu with one Torch thread, and Gymnasium 1.4.0. See the per-run data for seeds, counts, metrics, and local runtimes. These tasks check the implementations. The published performance comparisons use other domains and larger budgets.

Run the examples from a checkout after installing QDpy. MO-CMA-MAE uses the optional cma extra. BRPG-MAP-Elites uses rl.

python examples/mboa.py --budget 8 --seeds 11 22 33
python examples/mo_cma_mae.py --budget 768 --seeds 11 22 33
python examples/me_gide.py --budget 768 --seeds 11 22 33
python examples/brpg_map_elites.py --steps 6400 --seeds 11 22 33
python examples/go_explore.py --budget 1600 --seeds 11 22 33

M-BOA

The nominal grid stores 41 equally spaced scalar designs. Deployment shifts the optimum from 0.22 to a seeded value between 0.65 and 0.78. Each method spends eight trials. Regret is the difference between the best available deployment score and the best score actually measured. The target is a score of 0.99.

Trial selection

Mean regret ↓

Seeds reaching target

M-BOA

0.00000

3/3

Nominal fitness order

0.45865

0/3

Random without replacement

0.00551

2/3

M-BOA reached the target in six trials on average. The smooth objective shift fits the residual model’s assumptions. Tutorial

MO-CMA-MAE

Two competing quadratic losses have optima at opposite ends of a four-dimensional design’s first two coordinates. The other two coordinates determine the cell. Each search spends 768 evaluations on the same task. Report each method on a 6 × 6 grid with at most 16 solutions per cell and reference point (2, 2). For MOUR-QD, project only the solutions retained by its radius-0.12 archive. Coverage counts occupied cells, and QD hypervolume sums their individual hypervolumes.

Method

Coverage ↑

QD hypervolume ↑

Global hypervolume ↑

MO-CMA-MAE

100.0%

136.51

3.9092

MOME

100.0%

136.31

3.9100

MOUR-QD

99.1%

133.61

3.9088

The three methods had similar global hypervolume. MO-CMA-MAE had slightly higher summed cell hypervolume in this pilot. Tutorial

ME-GIDE

Searches spend 768 attempts on mixed two-, three-, and four-category coordinates. The linear one-hot model supplies both the exact discrete measurements and Jacobian. Both emitters use the same grid and include unchanged edits. Their entropy fractions are 0.65 and 1.0.

Emitter

Coverage ↑

QD score ↑

Best fitness ↑

ME-GIDE

100.0%

22.85

0.694

Uniform category selection

81.5%

18.14

0.693

Gradient guidance filled more bins. The entropy solve makes guided proposal generation more expensive on this cheap objective. Tutorial

BRPG-MAP-Elites

An eight-step Box-control task rewards tracking an alternating input and favors a positive actuator setting. The descriptor is the mean of that setting over the rollout. Both searches use 6,400 environment steps and the same policy layout and offspring allocation. Each trained actor gets a separate 80-step assessment at five targets between −0.8 and 0.8. Descriptor MAE measures mean absolute error on these targets.

Method

Coverage ↑

Archive QD score ↑

Descriptor MAE ↓

Conditioned return ↑

Optimizer steps

BRPG-MAP-Elites

100%

81.32

0.231

6.50

1,274

DCRL-MAP-Elites

100%

81.70

0.519

7.34

882

BRPG tracked the requested descriptors more closely. DCRL earned higher return and used fewer optimizer steps. Tutorial

Go-Explore

A seeded puzzle contains a hidden sequence of 12 actions drawn from three possible inputs. A wrong action resets progress. Each method has 1,600 simulator steps. Go-Explore branches for up to six new steps at a time. The task and action sampling use independent seed streams.

Return mode

Solved

Cells reached ↑

Mean first solution step ↓

Mean replay steps

Seeded replay

3/3

13.00

674

749

State snapshots

3/3

13.00

400

0

Random restarts

0/3

7.33

—

0

The step count includes replay prefixes. The snapshot method spends time on restoration and cell selection with zero replay steps. Both Go-Explore modes solved all three puzzles; the random restarts reached six to eight of the 13 cells. Tutorial