# Differentiable, Bayesian, and high-dimensional QD pilots These pilots used seeds 0 through 4 and completed 40 runs with 19,360 attempted evaluations. Each table reports medians across the five seeds. The evaluator ran sequentially on a Linux Xeon E5-2630 v4 host with CPython 3.12, pycma 4.6.0, and PyTorch 2.15.0 CPU. PyTorch used one thread. Coverage counts occupied cells, and QD score sums their normalised elite quality. Best fitness is the raw objective, which every search minimises. Search time excludes setup and reporting. Evaluator time includes gradient calls where applicable. The script saves each seed's results as JSON. ```sh python -m pip install ".[dms]" python scripts/benchmark_specialized_qd.py --output build/specialized-qd-pilot.json ``` ## Analytic sphere The objective is the mean squared distance from 0.25 in six unit-bounded variables. The two descriptors are the means of the first and last three coordinates. Both searches use a 12 × 12 grid and attempt 256 evaluations. CMA-MAEGA spends 29 of those attempts on centre evaluations that return the objective and descriptor gradients together. | Method | Coverage | QD score | Best fitness | Search seconds | Evaluator seconds | | --- | ---: | ---: | ---: | ---: | ---: | | CMA-MAEGA | 37.5% | 52.22 | 0.000029 | 0.077 | 0.0068 | | CMA-MAE | 31.3% | 43.06 | 0.003992 | 0.085 | 0.0062 | CMA-MAEGA reached a lower median fitness and higher median coverage on this smooth problem with inexpensive analytic gradients. [CMA-MAEGA tutorial](tutorial_cma_maega.rst) ## Nonlinear descriptors under a small budget A quadratic objective in three unit-bounded variables is paired with a sinusoidal descriptor and a product of two variables. The searches use a 6 × 6 grid and 96 attempts. BOP-Elites starts with 30 Sobol evaluations, then uses a 32-point candidate pool and two Powell restarts. The Sobol baseline covers the same input space, and MAP-Elites uses the QDpy convenience factory. | Method | Coverage | QD score | Best fitness | Search seconds | Evaluator seconds | | --- | ---: | ---: | ---: | ---: | ---: | | BOP-Elites | 100.0% | 33.47 | 0.001734 | 6.918 | 0.00043 | | Sobol | 72.2% | 23.55 | 0.012292 | 0.007 | 0.00030 | | MAP-Elites | 58.3% | 18.21 | 0.006323 | 0.009 | 0.00023 | BOP-Elites filled more cells at this budget. Model fitting and acquisition search took a median 6.897 seconds, so the gain in sample efficiency came with a much longer runtime for this inexpensive evaluator. [BOP-Elites tutorial](tutorial_bop_elites.rst) ## Eight descriptors The objective is normalised Rastrigin in 16 unit-bounded variables. The first eight variables serve as descriptors. DMS and CMA-MAE use the same 128 fixed Sobol centroids and CMA batch size of 16. DNS uses a population of 128, scored afterward on the same centroids. Each method attempts 1,024 evaluations. | Method | Coverage | QD score | Best fitness | Search seconds | Evaluator seconds | | --- | ---: | ---: | ---: | ---: | ---: | | DMS | 63.3% | 57.49 | 0.1728 | 0.537 | 0.0110 | | CMA-MAE | 72.7% | 66.35 | 0.1628 | 0.358 | 0.0111 | | DNS | 35.2% | 31.07 | 0.1829 | 0.274 | 0.0124 | CMA-MAE achieved the highest median coverage and QD score. DMS model fitting took a median 0.182 seconds. The short budget and direct coordinate descriptors constrain what this comparison can say about learned discounts on more complex problems. [Discount Model Search tutorial](tutorial_discount_model_search.rst)