# Differential evolution, mixed variables, and learned preferences These CPU pilots used seeds 7, 13, and 23. Tables report medians by method. The [run records](benchmarks/mixed_preference.jsonl) give the per-seed metrics and elapsed times. Search and held-out budgets are reported separately. ```bash export OPENBLAS_NUM_THREADS=1 OMP_NUM_THREADS=1 MKL_NUM_THREADS=1 python examples/differential_mixed_preference.py differential --seeds 7 13 23 python examples/differential_mixed_preference.py mixed --seeds 7 13 23 python examples/differential_mixed_preference.py preference --seeds 7 13 23 python examples/dqs.py --seeds 7 13 23 ``` ## Differential MAP-Elites Both methods used 480 evaluations per landscape, including 24 shared initial candidates. The decision vectors had ten coordinates, and the first two coordinates determined cell membership in a fixed 64-centroid CVT. The task error was computed after a seeded orthogonal rotation and converted to fitness as `1 / (1 + error)`. The ellipsoid weights ranged from 1 to 10,000. Proposals used one evaluation per archive update. | Landscape | Method | Coverage | QD score | Best fitness | | --- | --- | ---: | ---: | ---: | | Ellipsoid | Differential MAP-Elites | 1.000 | 0.00413 | 0.000255 | | Ellipsoid | Iso+LineDD | 0.859 | 0.00478 | 0.000663 | | Rastrigin | Differential MAP-Elites | 1.000 | 0.43798 | 0.010443 | | Rastrigin | Iso+LineDD | 0.938 | 0.49755 | 0.012854 | Differential MAP-Elites covered all 64 cells at the median on both landscapes. Iso+LineDD achieved higher median QD scores and better peak fitness at this budget. Its independent mutation scale was 0.15. ## Mixed-variable Bayesian QD The synthetic beam design used a real width, an integer rib count, and three unordered materials. Width and rib count set the reporting cell. Mass and load constraints determined exact feasibility. Each search made 96 exact measurements in batches of four. After an initial design of 12 measurements, each Bayesian batch spent 96 inexpensive predictions illuminating an auxiliary archive. | Method | Exact measurements | Surrogate predictions | Feasible measurements | Coverage | QD score | | --- | ---: | ---: | ---: | ---: | ---: | | Mixed Bayesian QD | 96 | 2,016 | 73 | 0.844 | 16.489 | | Constrained MAP-Elites | 96 | 0 | 53 | 0.625 | 12.120 | The GP-assisted search spent more wall time on this cheap analytic fixture and produced more feasible measurements. The raw records make it possible to compare that overhead with the cost of real evaluations in a different application. ## Preference-learning emitters All searches saw the same 20 initial points for a seed. A simulated user chose one displayed elite before each of 12 automated batches. The user's ranking favored large values of the second descriptor. The reported fraction counts subsequent candidates with user utility at least 0.85, using the example's utility `y + 0.2 * x`. All methods spent 164 evaluations in total. | Parent selection | Feedback rounds | Fraction of favored proposals | Coverage | QD score | | --- | ---: | ---: | ---: | ---: | | Ridge model | 12 | 0.292 | 0.720 | 61.028 | | Tabular counts | 12 | 0.896 | 0.410 | 33.971 | | Uniform | 12 | 0.222 | 0.750 | 63.342 | Tabular counts concentrated the search in the user's preferred area and covered fewer of the 100 cells. The ridge model shifted proposals more modestly and preserved more coverage. These results measure one scripted preference, with visible feedback at every batch. ## Diverse Quality Species The environment had two rewarding directions along a line. Reward depended on proximity to either target, and each episode lasted 12 steps. Each method trained for 1,440 environment steps. DQS trained four species of three policies. The audit compared each species' best training-ranked member with the four DOMiNO skills on five common held-out resets per policy. This spent 240 additional steps per method. The descriptor was mean pre-action position. A direction counted as rewarding when its mean position had magnitude at least 0.2 and reward per step was at least 0.55. | Method | Occupied cells | Rewarding directions | Mean return | Achieved-cell score | Optimizer steps | | --- | ---: | ---: | ---: | ---: | ---: | | DQS | 2 | 2 | 6.653 | 14.354 | 2,274 | | DQS, zero bonus | 2 | 2 | 6.653 | 14.353 | 2,274 | | DOMiNO | 1 | 1 | 7.149 | 7.268 | 360 | The DQS runs took 449 critic updates and refined 72 policies. The equal-step control found both directions without the diversity bonus. DOMiNO achieved higher median return with fewer optimizer steps on this task. A harder task with fewer naturally distinct initial policies would be needed to measure the value of the discriminator.