Case-wise search and policy repertoire benchmarks¶
These CPU pilots compare three seeds (11, 22, 33) on small tasks. The tables give the median across seeds.
Symbolic regression¶
All four searches use 384 tree proposals and the same structural reporting grid. The grid stores training-RMSE winners. The held-out RMSE comes from the grid’s training winner on 28 fresh points, some outside the training interval. Proposal counts match. Numerical work varies because the methods propose different trees and reuse duplicate fits. A case pass evaluates the final fitted expression on the training rows to build its per-case errors.
Search |
Occupied cells |
Held-out RMSE |
Fit evaluations |
Case passes |
|---|---|---|---|---|
Structural MAP-Elites |
95 |
0.257 |
5,069 |
0 |
Aggregate-error GP |
88 |
0.164 |
5,744 |
0 |
Lexicase |
80 |
0.247 |
3,357 |
326 |
Epsilon-lexicase |
85 |
0.491 |
5,551 |
303 |
Aggregate-error GP extrapolated best on this task. Structural MAP-Elites covered the most reporting cells.
Offspring of evolved centers¶
Both optimizers use 384 training evaluations and 256 fresh mutations from the final center at the same Gaussian scale. The task’s descriptor changes most rapidly away from its fitness optimum.
Search |
Mean offspring fitness |
Offspring descriptor variance |
|---|---|---|
Fitness-only ES |
0.99550 |
0.001463 |
Quality Evolvability ES |
0.99489 |
0.002713 |
Multi-objective control¶
Each candidate uses six simulator steps. All searches use 1,152 steps,
eight descriptor cells, and front capacity eight. Hypervolume uses
the raw reference point (0, 0). Summed hypervolume counts each cell’s
trade-offs. Global hypervolume combines all discovered trade-offs.
Standard MOME uses its bounded genome initialization and random
truncation. The two policy-gradient algorithms use Torch initialization
and crowding truncation.
Search |
Occupied cells |
Summed hypervolume |
Global hypervolume |
|---|---|---|---|
MOME |
8 |
272.74 |
35.35 |
MOME-PGX |
8 |
226.35 |
34.44 |
MOME-P2C |
8 |
249.67 |
33.91 |
MOME led in both hypervolume measures on this small task. The example records gradient allocation, optimizer counts, and replay size for the two learning methods.
Imitation from imbalanced demonstrations¶
The training environment hides the true reward. Each method uses 1,152 search steps and the same 84 demonstration rows from four distinct 12-step episodes. The first episode is repeated three times. Each retained actor then runs on two fresh resets with the true reward. The reporting grid bins the mean verified descriptor, retaining the best verified return per cell. Verification steps are counted separately.
Search |
Verified cells |
Verified QD score |
Best verified return |
|---|---|---|---|
GAIL-EBC |
22 |
226.10 |
11.92 |
WQDIL with bonus disabled |
22 |
234.31 |
11.86 |
WQDIL |
24 |
245.17 |
11.87 |
The WQDIL bonus increased median verified coverage in this pilot. The small tasks and seeds support implementation checks and local comparisons. The papers cover separate tasks and training scales.
Reproduce¶
Run these commands from the repository root. The policy example uses
qdpy[rl].
python -m examples.case_evolvability > case-evolvability.jsonl
python -m examples.policy_repertoires > policy-repertoires.jsonl
Recorded with Python 3.12.14, NumPy 2.5.5, SciPy 1.18.1, Gymnasium 1.4.0 and PyTorch 2.15.0+cpu. The original outputs are available as case-wise search and ES data and policy repertoire data.