Pareto fronts, noisy elites, and policy gradients on CPU¶
The comparisons use three seeds (11, 23, 47) on a Linux Xeon E5-2630 v4 with one BLAS thread. Versions were CPython 3.12.14, NumPy 2.5.5, SciPy 1.18.1, scikit-learn 1.9.1, pycma 4.6.0, Gymnasium 1.4.0, and PyTorch 2.15.0+cpu. Tables show medians. These small problems test the evaluation and selection paths.
Bayesian Pareto illumination¶
Six cells share a crowding depth of five. Two conflicting objectives and one nonlinear descriptor are evaluated at 48 designs per method. The scalarized BOP-Elites control uses an equal-weight sum for selection. A separate ParetoGrid sees the two measured objectives of every proposal and has the same geometry and capacity as the other reporting archives. Hypervolume uses a reference of (0, 0). Wall time includes search, surrogate fitting, and acquisition optimization.
Search |
Occupied cells |
Sum of cell hypervolumes |
Seconds |
|---|---|---|---|
Bayesian Pareto illumination |
6 |
2.864 |
3.02 |
Scalarized BOP-Elites |
6 |
2.606 |
1.05 |
MOME |
6 |
2.529 |
0.010 |
The EHVI acquisition produced higher local hypervolume on each seed. Its acquisition cost dominated these inexpensive evaluations.
AS-Delta¶
The noise variance grows with candidate fitness. Both searches have five cells, depth two, and a cap of 720 raw rollouts each. They refresh incumbents once per generation and use the same mutation settings. The fitness-only control uses the same schedule and a constant reproducibility score. A final generation needs room for a complete archive refresh and one new candidate, so actual calls varied. After search, the first solution in each preference stack receives 48 fresh rollouts on shared held-out seeds.
Search |
Search attempts |
Incumbent attempts |
Audit attempts |
Mean audit fitness |
Mean audit descriptor standard deviation |
|---|---|---|---|---|---|
AS-Delta |
715 |
285 |
240 |
0.8455 |
0.1557 |
Fitness-only AS |
712 |
277 |
240 |
0.8999 |
0.2287 |
Both methods filled all five cells on all seeds. AS-Delta reduced held-out descriptor spread on all three seeds and gave up fitness on all three. There were no failed rollouts.
CPDEA¶
Two line segments have the same Pareto front, with a steeper penalty around one segment. Both algorithms spend 360 evaluations and keep up to 16 solutions. Decision-descriptor MOME receives the branch coordinate as a descriptor. The distance is the mean Euclidean distance from 41 target designs on each true segment to their nearest stored decision vector. A branch is recovered when a stored design lies within 0.04 of its branch coordinate.
Search |
Recovered branches |
Mean target distance |
Narrow branch distance |
|---|---|---|---|
CPDEA |
2 |
0.0497 |
0.0587 |
Decision-descriptor MOME |
2 |
0.0852 |
0.0831 |
Both searches recovered both branches on every seed. CPDEA covered the reference decisions more closely on each seed.
CMA-MEGA (TD3, ES)¶
A six-step Gymnasium task rewards approaching either end of a corridor. Both searches use the final location as a descriptor and spend 600 search steps. The mean training QD score is the raw step-weighted area under the live archive score divided by 600. The audit replays each retained actor four times on fresh seeds and projects its mean measurements into an independent grid.
Search |
Probe steps |
Scored policies |
Mean training QD score |
Audit steps |
Audit cells |
Audit QD score |
|---|---|---|---|---|---|---|
CMA-MEGA (TD3, ES) |
216 |
64 |
31.78 |
240 |
8 |
31.63 |
PGA-MAP-Elites |
0 |
100 |
33.95 |
216 |
8 |
30.31 |
CMA-MEGA used eight reward gradient estimates per seed. PGA scored more archive policies and led on the training curve on two seeds. CMA-MEGA had the higher final held-out QD score on two seeds. These tests cover the environment step and replay accounting on a small control problem. The paper’s locomotion experiments use a different simulator, architecture, and budget.
Reproduce the runs¶
Run the first three tasks with the base install and use
qdpy[rl,cma] for the control task. Add --timings to the
pareto command to report wall time.
export OPENBLAS_NUM_THREADS=1 OMP_NUM_THREADS=1
python -m examples.pareto_gradients pareto --budget 48 --seeds 11 23 47
python -m examples.pareto_gradients noise --budget 720 --seeds 11 23 47
python -m examples.pareto_gradients multimodal --budget 360 --seeds 11 23 47
python -m examples.pareto_gradients control --budget 600 --seeds 11 23 47