Interactive and repertoire workflow benchmarks¶
The CPU pilots use seeds 11, 22, and 33. Values are medians unless otherwise stated. The tasks are small enough to run the examples locally. All 39 run records matched on repeat runs.
Interactive Bayesian illumination¶
Both methods spend 36 real evaluations on a two-variable design problem with a nonlinear descriptor. BOIL spends 12 on global illumination and six on two selected cells, then refines descriptor 0.83 with distance weight 3. BOP-Elites spends all 36 on global illumination. The audit selects the best measured utility under the same trade-off for both searches.
Method |
Occupied cells |
Absolute descriptor error |
Target utility |
|---|---|---|---|
BOIL |
5 |
0.00019 |
0.74821 |
BOP-Elites |
5 |
0.00573 |
0.73044 |
The model preview covered all five cells at the median after the first 12 evaluations. Preview candidates cost no real evaluations.
Scheduling QD-GP¶
Both searches score 144 paired rules on the same five dynamic flexible job shops. The single-niche control uses the same expression language and variation but retains one training winner throughout the run. Report that winner’s mean score on eight held-out instances. Cost is total tardiness plus 0.1 times makespan.
Method |
Occupied cells |
Training cost |
Held-out cost |
|---|---|---|---|
QD-GP |
39 |
30.60 |
40.38 |
Single niche |
1 |
31.94 |
43.55 |
Each search uses 720 training simulations and eight held-out simulations. The rule probes are fixed, separate from the simulator’s scoring panel. Scheduling records
Reset-free repertoire planning¶
Both planners have a cap of 16 live skills and 96 simulated rollouts per plan. In the drift scenario, horizontal motion slows and adds a vertical component after two live skills. In the reversal scenario, the horizontal axis flips at the same point. The fixed planner keeps the same prior throughout the run.
Scenario |
Planner |
Goals reached (of 3) |
Live trials |
Final distance |
|---|---|---|---|---|
Drift |
Reset-free Trial-and-Error |
3 |
9 |
0.00 |
Drift |
Fixed planner |
3 |
9 |
0.00 |
Reversal |
Reset-free Trial-and-Error |
0 |
16 |
7.00 |
Reversal |
Fixed planner |
0 |
16 |
17.12 |
The hard reversal exposes a limit of the stationary residual model in this pilot. Updating the model reduced the final distance. Both planners ran out of trials before reaching the goal.
QD Meta-Evolution¶
Both methods use 264 base evaluations and a seven-cell archive. QD-Meta also scores 20 archives during feature-map selection. Its meta-objective evaluates archived solutions on three shifted tasks, using a median of 405 additional task measurements. Audit each final archive with four different shifts. Each audit independently tests all seven elites, then takes the best score per shift.
Method |
Occupied cells |
Selection task measurements |
Held-out score |
|---|---|---|---|
QD-Meta |
7 |
405 |
1.96084 |
Fixed projection |
7 |
0 |
1.91302 |
Quality-Diversity Transformer¶
The sign-memory task shows the relevant state on the first step and hides it on later steps. Teacher data contain 56 trajectories and 280 transitions shared by the offline learners. The Transformer and feed-forward baselines each use 385 optimizer steps. All three policy sources are audited on eight requested descriptors between teacher targets and six fresh resets per target. Lower absolute descriptor error is better.
Policy |
Audit transitions |
Mean absolute descriptor error |
|---|---|---|
QD Transformer |
240 |
0.0390 |
Feed-forward imitation |
240 |
0.4856 |
Nearest teacher |
240 |
0.1188 |
The core and scheduling runs used Python 3.11.16, NumPy 2.4.6, and SciPy 1.17.1, with DEAP 1.4.4 for scheduling. The policy run used Python 3.12.14, NumPy 2.5.5, PyTorch 2.15.0+cpu, and Gymnasium 1.4.0.
export OPENBLAS_NUM_THREADS=1 OMP_NUM_THREADS=1
python examples/repertoire_workflows.py all
python examples/qdgp_schedule.py
python examples/qdt_distillation.py