Few-shot priors, basin search, and semantic trade-offs¶
Each comparison uses seeds 11, 22, and 33. Tables report the median across runs unless stated otherwise.
Few-shot transfer¶
Each design has two physical coordinates and an independent style descriptor. A design succeeds within 0.095 units of the target. Eight held-out targets receive 20 evaluations each, including five starting genomes. Failed tasks count as 21 when computing the median time to first success. The source-archive control warm-starts from the highest-fitness elite per style, then takes the best five.
Initialization |
Source-task evaluations |
Held-out tasks solved |
Evaluations to first success |
Mean distinct successes per task |
|---|---|---|---|---|
FAERY |
2,880 |
7/8 |
5 |
3.625 |
Random prior |
0 |
5/8 |
15.5 |
1.250 |
Source elites |
2,880 |
7/8 |
6 |
2.250 |
FAERY and the source-archive control solved the same median number of tasks. FAERY found more distinct successful designs per task on this fixture. Both warm-start methods spend a separate source budget.
Fitness-only basin discovery¶
Three equally good minima have analytically known coordinates. Count a minimum as recovered if a retained point lies within 0.04 Euclidean units of it. Each method spends 540 objective calls. DNS uses raw decision coordinates as behavior descriptors.
Method |
Basins recovered by seed |
Best cost |
Probes |
|---|---|---|---|
HillVallEA |
3, 3, 3 |
8.58e-7 |
76 |
Multistart CMA-ES |
2, 2, 2 |
8.44e-7 |
0 |
Decision-space DNS |
3, 2, 3 |
4.16e-5 |
0 |
HillVallEA recovered all three optima on every seed. The median search spent 270 calls in local optimizers. The remaining calls went to random samples and the line probes used for clustering and deduplication.
Semantic scheduling fronts¶
Each method evaluates 42 rules on eight training schedules. It embeds each rule by its job orders on six separate schedules. The objectives are normalized weighted tardiness and a deterministic count of priority terms evaluated. We measure both objectives again on 12 unseen schedules for each retained rule. Hypervolume uses reference values of 1.0 and 1.05 for the two minimized objectives.
Survival |
Niches |
Rules retained |
Audit calls |
Held-out hypervolume |
|---|---|---|---|---|
QDEvo-style local fronts |
7 |
26 |
312 |
0.85394 |
Global Pareto front |
1 |
9 |
108 |
0.85234 |
The methods found the same median best held-out tardiness (0.08261). Semantic clustering retained more kinds of rules and required more audit calls. The hypervolume difference was small on this fixture.
Reproduce¶
Run from the repository root. The basin comparison uses the cma extra.
OPENBLAS_NUM_THREADS=1 OMP_NUM_THREADS=1 python -m examples.few_shot_qd transfer
OPENBLAS_NUM_THREADS=1 OMP_NUM_THREADS=1 python -m examples.few_shot_qd basins
OPENBLAS_NUM_THREADS=1 OMP_NUM_THREADS=1 python -m examples.few_shot_qd semantic
All 24 records reproduced exactly. Transfer and scheduling used CPython 3.14.4. The basin comparison used CPython 3.12.14 and pycma 4.6.0. Both environments used NumPy 2.5.5 and SciPy 1.18.1. Raw benchmark records