Conditional designs and task repertoire benchmarks¶
The examples use three CPU seeds (11, 22, 33). The tables give medians across those seeds. The tasks are small checks of behavior and accounting.
Conditional support design¶
Each search spends 96 exact calls on two synthetic support families. The reinforced family activates two extra genes and has an extra inequality constraint. The common report grid has 64 possible cells and holds feasible designs. QD score is the sum of retained fitness.
Method |
Feasible cells |
QD score |
Surrogate predictions |
|---|---|---|---|
HiGeME |
30 |
28.24 |
0 |
Conditional Bayesian QD |
52 |
52.15 |
2,758 |
The extra predictions are cheap analytic operations in this example. The design scores stand in for an expensive simulator. These runs compare exact-call efficiency.
Multimodal bit-string search¶
A controller has four six-bit segments. Each segment receives a deceptive score with a local optimum at all zeros and the global optimum at all ones. Both CMOEA searches and the ε-lexicase control use 720 candidate evaluations, 60 offspring per generation, and the same initial sampling and mutation operators. The two CMOEA searches have 60 survivor slots in total. The lexicase pool retains the preceding generation. The best candidate is selected first by worst-task score and then by mean task score.
Method |
Task populations |
Best candidate’s worst-task score |
Mean across its tasks |
Subtasks solved |
|---|---|---|---|---|
CMOEA |
15 |
0.80 |
0.95 |
3 |
Single-bin CMOEA |
1 |
0.64 |
0.73 |
1 |
ε-Lexicase |
— |
0.80 |
0.85 |
1 |
Recovery under altered actuator gains¶
Each repertoire uses 240 search evaluations. QED draws actuator gains from a uniform range and bins them as environmental descriptors. Nominal MAP-Elites fixes both gains at one and uses the controller’s two outputs as descriptors. Both repertoires are offered to the same M-BOA adapter on four held-out gain pairs, with eight trials per pair. Recovery means measuring a true fitness of at least 0.84 on a trial.
Source repertoire |
Held-out faults recovered out of 4 |
Mean best held-out fitness |
|---|---|---|
Nominal MAP-Elites |
0 |
0.796 |
QED |
3 |
0.871 |
QED recovered in nine of the twelve seed–fault pairs, with a median of three trials among those recoveries. Nominal MAP-Elites recovered in one pair, on its fourth trial. Every seed–method pair spent 32 trials, counted separately from training.
Gradient-assisted model search¶
Each method trains for 1,152 real steps of a continuous control task. Each retained actor is then evaluated on two fresh resets. Rebinning uses the mean measured descriptor and retains the highest true return per verified cell.
Method |
Verified cells |
Verified QD score |
Imagined steps |
Real gradient transfers |
|---|---|---|---|---|
Dynamics-Aware QD |
26 |
290.88 |
5,760 |
0 |
Seeded model-only control |
25 |
270.37 |
7,920 |
0 |
GDA-QD |
27 |
290.76 |
6,720 |
45 |
PGA-MAP-Elites |
18 |
197.90 |
0 |
— |
The seeded model-only control copies the verified archive into each model cycle, as GDA-QD does. GDA-QD improved coverage and QD score over this control in the pilot. Ordinary Dynamics-Aware QD reached a similar verified QD score with fewer imagined steps. PGA-MAP-Elites has its own gradient offspring and uses direct real rollouts.
Reproduce¶
Run from the repository root. The GDA-QD example uses qdpy[rl].
OPENBLAS_NUM_THREADS=1 OMP_NUM_THREADS=1 python -m examples.conditional_task_search
OPENBLAS_NUM_THREADS=1 OMP_NUM_THREADS=1 python -m examples.gda_qd
The records were generated with Python 3.12.14, NumPy 2.5.5, SciPy 1.18.1, Gymnasium 1.4.0, and CPU PyTorch 2.15.0. Design, subtask, and environment records · Control records