# CPU pilots for reference repertoires and model-based skills These pilots use seeds 11, 23, and 47. The tables are means over the three seeds. Each task has its own budget unit. [Tutorial](tutorial_reference_skills.rst) · [Archive pilot records](benchmarks/reference-niches.jsonl) · [Skill audit records](benchmarks/qdac-mb.jsonl) ```console python examples/reference_niches.py --dms --output build/reference-skills/reference-niches.jsonl python examples/qdac_mb.py --steps 2048 --output-dir build/reference-skills/qdac-mb ``` Use the base installation for greedy repertoire selection and scheduled switching. The QDDM comparison with Discount Model Search uses the `dms` extra. Skill training uses the `rl` extra. ## Reference niches from rendered disks The archive has 18 targets drawn from a grid of disk positions and two sizes. Each candidate renders an 8-by-8 grayscale image. The two searches use the same Euclidean nearest-target geometry and spend 192 evaluations. Fitness rewards lower brightness and placement near the middle. Matched coverage uses a pixel-space radius of 0.65. | Search | Cell coverage | Matched coverage | Mean target distance | Archive QD score | | --- | ---: | ---: | ---: | ---: | | Iso+LineDD MAP-Elites | 87.0% | 11.1% | 0.912 | 15.38 | | Discount Model Search | 100.0% | 16.7% | 0.885 | 17.56 | DMS filled all cells at this budget. Most targets still had no elite within the audit radius because the objective and target fidelity measure different things. ## Fixed-size repertoire selection Select eight candidates from a measured pool of 64 points along a perturbed ring. Quality is highest on one part of the ring. Each selector uses the same pool and spends zero further evaluations. Panel distance is the mean Euclidean distance from each pool member to its nearest selected alternative. | Selection | Mean fitness | Minimum pairwise separation | Mean distance to panel | | --- | ---: | ---: | ---: | | Greedy DPP | 0.493 | 0.344 | 0.303 | | Top fitness | 0.943 | 0.113 | 1.048 | | Farthest-first | 0.378 | 0.693 | 0.251 | DPP retained higher mean fitness than farthest-first and sampled more of the ring than sorting solely by fitness. These differences depend on the kernel bandwidth and quality strength. ## Scheduled descriptor switching Each method uses the same variation and 192 candidate evaluations. The first view uses the first two genome coordinates. The mixed view uses their average and the third coordinate. A pair of passive reporting CVTs receives every evaluated candidate in all three controls, so coverage uses identical geometry. The active parent view switches every 48 attempts in both switching runs. | Search | Axis-view coverage | Mixed-view coverage | Axis-view QD score | Mixed-view QD score | | --- | ---: | ---: | ---: | ---: | | Scheduled transfer | 52.0% | 61.3% | 12.71 | 14.58 | | Fixed view | 61.3% | 62.7% | 14.94 | 15.11 | | Simultaneous feedback | 66.7% | 69.3% | 16.07 | 16.63 | The active-only schedule made an average of 16 transfer admissions at no evaluation cost. Sharing each evaluation with both live views performed best on this task. ## QDAC-MB versus model-free QDAC The Box action controls a damped scalar velocity. Task reward favours the episode's preferred velocity. Skill evaluation asks for nine fixed velocities and uses three held-out episodes of 16 steps each per skill. Satisfaction is the fraction of episodes whose mean velocity is within a normalized distance of 0.23 from the requested velocity. The audit adds 432 steps per trained policy. | Search | Real training steps | Imagined steps | Actor updates | Skill satisfaction | Mean skill distance | Mean return | Achieved-cell coverage | | --- | ---: | ---: | ---: | ---: | ---: | ---: | ---: | | QDAC | 2,048 | 0 | 1,985 | 86.4% | 0.126 | 14.52 | 77.8% | | QDAC-MB | 2,048 | 107,352 | 497 | 59.3% | 0.297 | 14.11 | 81.5% | QDAC-MB ranked higher on skill satisfaction for seed 11 and lower for seeds 23 and 47. Its mean achieved-cell coverage was slightly higher, while model-free QDAC matched the requested skills more reliably. They share the same real interaction budget and spend different optimizer work. The model-based run sampled 31,808 real replay rows per seed and performed 497 joint updates. These are vector-control pilots. The per-seed audit records include achieved descriptors and both desired-skill and achieved-cell QD scores.