Offline search, learned niches, and cooperating policies benchmarks

The tutorial introduces the four methods. These CPU pilots use CPython 3.11 with one numerical library thread and seeds 7, 13, and 23. Tables report medians. The JSONL records include individual runs, their accounting, and elapsed times.

export OMP_NUM_THREADS=1 OPENBLAS_NUM_THREADS=1 MKL_NUM_THREADS=1
python examples/offline_cardinality.py offline --seeds 7 13 23
python examples/offline_cardinality.py cardinality --seeds 7 13 23
python examples/vq_ccqd.py vq --seeds 7 13 23
python examples/vq_ccqd.py ccqd --seeds 7 13 23

Offline MAP-Elites

A synthetic design log contains 64 genomes sampled from a restricted region. A frozen GP rates 360 proposals per search on a six-by-six grid. The mean rule selects by predicted quality. The lower-confidence rule subtracts 0.6 times the predicted standard deviation. The logged baseline bins the original measurements. Each audit can independently remeasure up to 20 elites and assigns measured cells in a fresh grid.

Method

Candidate cells

Audit calls

Verified cells

Cell matches

Measured QD score, raw

Predicted mean

15

15

14

11

12.066

Lower confidence

14

14

13

12

10.690

Logged archive

16

16

16

16

11.823

The predicted mean produced the highest median measured QD score despite reaching fewer verified cells than the logged baseline. The mean rule also misplaced more candidates before verification. All audits completed without failed or out-of-domain measurements. The audit repeated the same deterministic measurement function.

Cardinality-indexed MAP-Elites

Twelve items cover overlapping subsets of 30 points. Search reports one solution at each exact size from zero through five. The greedy control adds one item at a time and records each prefix. Both methods spend 51 objective calls. Complete enumeration provides the exact score for every size with a separate, larger budget. Mean optimal fraction averages the score divided by the optimum over sizes one through five and counts a missing size as zero.

Method

Objective calls

Mean optimal fraction

Covered points at size five

MAP-Elites

51

0.899

24

Greedy prefixes

51

1.000

27

Exhaustive enumeration

1,586

1.000

27

Greedy found the optimal coverage at every size on all three seeds. MAP-Elites supports revising earlier item choices, at a cost in sample efficiency on this small monotone objective.

VQ-Elites

Both methods place the same 128 measured trajectories in archives with 16 learned cells. Each applies 72 optimizer steps over four refits to the same sequence of observations. The control uses a continuous two-dimensional autoencoder with a four-by-four grid over its bounded latent range, following the AURORA idea. It shares the encoder and decoder widths. The networks have independent initializations and VQ-Elites seeds its codes with warm-up clustering. Both methods rebuild the archive from the first refit’s training buffer and then reassign the incumbents at later refits. The final elites are placed in a common four-by-four grid using their two original controls as descriptors.

Method

Learned cells

Common grid cells

Common grid QD score, raw

VQ-Elites

3

3

4.815

Continuous autoencoder

1

1

1.800

The continuous codes clustered within one fixed-width cell at all three seeds, while the learned discrete codes separated some of the trajectories. This pilot isolates archive placement. It uses a fixed trajectory stream and does not measure search performance. Scaling the continuous grid to the empirical latent range would give a different control.

CCQD

Both methods spend 576 environment steps on a two-axis control task. Episodes end after eight steps. Average action selects a cell in a five-by-five grid. CCQD uses two representations and takes two critic updates per representation after warm-up. RefQD uses one representation and takes four critic updates. Its training budget also pays for remeasurement of archived heads. An audit uses a separate reset stream under a cap of 200 steps.

Method

New policy episodes

Refresh steps

Critic updates

Audit steps

Audit cells

Audit QD score, normalized

Best audit return

CCQD

72

0

44

48

6

5.509

15.489

RefQD

62

80

40

48

5

4.529

15.390

Both CCQD representations contributed elites in all three runs. CCQD also used more decision-gradient and critic updates within the same interaction cost. Audited coverage was close, and the two methods differ in both archive maintenance and optimizer work. A larger comparison could equalize those costs and vary the control task.