CPU pilots for batch acquisition, benchmark instances, feasibility, and risk¶
The comparisons use seeds 11, 23, and 47 on an Intel Xeon E5-2630 v4 with CPython 3.14.4, NumPy 2.5.5, SciPy 1.18.1, and scikit-learn 1.9.1. BLAS and OpenMP thread counts were capped at one. The quality results are means across the three seeds. Tutorial · Quality records · Timing records
export OMP_NUM_THREADS=1 MKL_NUM_THREADS=1 OPENBLAS_NUM_THREADS=1
python examples/batch_risk.py
python examples/batch_risk.py --task bayesian --width 8 --workers 4 --delay .025 --timing
Bayesian archive improvement¶
All methods evaluate 48 designs, including eight Sobol starts, on the same smooth two-dimensional task. The descriptors warp the decision coordinates. The batch methods score the same number of Sobol proposals at each model update with the same posterior sampling settings. The sequential method also performs local acquisition restarts. The QD score is the sum of normalized elite quality over the 5 × 5 grid.
Method |
Batch size |
Generations |
Filled cells |
QD score |
|---|---|---|---|---|
Sequential BOP-Elites |
1 |
48 |
25 |
10.567 |
Independent BOP-Elites |
4 |
12 |
25 |
10.285 |
Joint BOP-Elites |
4 |
12 |
25 |
10.303 |
Joint selection had a small average advantage over independent top-k at this width. It improved on the independent control for two of the three seeds. Sequential BOP-Elites had the highest QD score on all three.
Wall time and worker scaling¶
The timing experiment fixes the batch width at eight and varies worker count. One worker evaluates in the calling thread. Multiple workers use a thread pool. Each method still makes 48 true calls. Times below are the median elapsed search time across the three seeds, in seconds.
Simulated delay per evaluation |
Workers |
Sequential |
Independent |
Joint |
|---|---|---|---|---|
0 ms |
1 |
1.409 |
0.047 |
0.055 |
0 ms |
2 |
1.383 |
0.058 |
0.057 |
0 ms |
4 |
1.486 |
0.056 |
0.058 |
0 ms |
8 |
1.277 |
0.055 |
0.056 |
25 ms |
1 |
2.582 |
1.317 |
1.320 |
25 ms |
2 |
2.633 |
0.710 |
0.715 |
25 ms |
4 |
2.773 |
0.398 |
0.415 |
25 ms |
8 |
2.584 |
0.260 |
0.266 |
With 25 ms of simulated waiting, going from one to eight workers cut joint search time from 1.320 to 0.266 seconds. Worker count produced identical coverage and QD scores for a given seed and method. At width eight, mean QD scores were 10.567 for sequential BOP-Elites, 10.053 for independent top-k, and 10.180 for joint acquisition. Much of the difference from the sequential baseline at zero delay comes from fewer model fits and the finite candidate pool. The delay simulates evaluator waiting and the thread results give no measurement of CPU-bound simulator speedup.
Discriminatory knapsack instances¶
Each instance has eight items and a capacity of one third of the total item weight, rounded down. The fixed panel packs greedily by value per weight, by value, or from lightest to heaviest. Quality is the fraction of total item value collected. A margin of at least 0.01 earns an opportunity to enter the reporting grids. Each run evaluates 160 instances at a cost of 480 individual solver calls. The instance grid bins average weight and value. The performance grid bins winners and raw margins.
Selection |
Discriminatory instances |
Instance cells |
Performance cells |
Mean archived margin |
|---|---|---|---|---|
Random generation |
59.00 |
9.33 |
7.00 |
0.094 |
Margin only |
106.00 |
6.67 |
7.33 |
0.109 |
Margin and novelty |
106.00 |
7.67 |
7.67 |
0.093 |
Combining margin and novelty found as many discriminatory instances as margin-only selection and filled one more instance cell on average. Random generation covered the most instance cells. Only the density and value heuristics won in the final instance grids on these runs.
Disconnected feasible regions¶
The unit square contains four separated disks of different sizes. All methods evaluate 360 proposals and report by measured position, with the same 18 × 18 grid. The constrained MAP-Elites baseline uses its native mixed-variable mutation rule. FINS and FI2NS share the same initializer and Gaussian mutation callback.
Search |
Attempt of first feasible result |
Feasible evaluations |
Feasible cells |
Regions found |
|---|---|---|---|---|
Constrained MAP-Elites |
15.67 |
66.33 |
22.00 |
3.00 |
FINS |
6.00 |
105.67 |
24.33 |
2.67 |
FI2NS |
6.00 |
74.67 |
21.67 |
3.00 |
Both novelty methods reached feasibility during the common random starts. FINS obtained more feasible measurements and filled more cells on average. It found just one region for one seed. FI2NS found at least two regions for every seed, including all four for one seed.
Held-out stress scenarios¶
Each method evaluates 60 designs on the same 12 training stress levels for 720 raw calls. Mean and CVaR searches keep one design per cell. The Pareto grid holds up to three per cell. Every retained design is scored on 24 separately seeded stress levels. The held-out columns average the best measured mean or lower-tail quality in each occupied cell. In the Pareto archive those can come from different designs.
Search objective |
Audited cells |
Held-out calls |
Held-out mean |
Held-out CVaR |
|---|---|---|---|---|
Mean |
8.00 |
192 |
0.498 |
0.312 |
Worst 20% CVaR |
7.67 |
184 |
0.477 |
0.320 |
Mean and CVaR Pareto fronts |
7.67 |
344 |
0.518 |
0.378 |
CVaR search traded mean quality for a modest increase in held-out tail quality. Pareto fronts offered more choices per cell and required more held-out calls. These pilots use one task per workflow and three seeds. Use the raw records to inspect variation across seeds.