Metric archives, peer exchange, and structured variation

The comparisons use Linux CPU runs with seeds 11, 22, and 33. Tables give medians across seeds. The runs used CPython 3.12.14, NumPy 2.5.5, scikit-learn 1.9.1, and pycma 4.6.0.

Set descriptors

Twelve niches are fitted to the same 120 sets of two to five elements. Medoid MAP-Elites uses Jaccard distance. CVT uses Euclidean distance on indicator vectors. Both mutate by toggling one element and spend 192 candidate calls, including the identical measured starts. The audit uses a separate panel of 128 sets and measures the mean Jaccard distance to the nearest retained descriptor.

Archive

Starting calls

Occupied niches

Audit mean distance

Mean elite fitness

Medoid MAP-Elites

1

4

0.6141

1.0000

Euclidean CVT

1

11

0.5189

1.0965

Medoid MAP-Elites

16

11

0.4804

1.0381

Euclidean CVT

16

12

0.4923

1.0627

With one starting measurement, one medoid run remained in its first niche. With 16 starting measurements, the medoid archives had slightly closer median descriptors on the common panel.

Peer exchange

Six peers start at different locations on a synthetic quality ridge. Each strategy gets 240 exact calls across the peers. A communication slot transfers one measured elite. The peers retain their own archives throughout training. The reported union selects the best measured elite per cell across all peers.

Topology

Elite messages

Admitted migrants

Mean cells per peer

Union cells

Union QD score

Ring

48

37

14.50

24

23.7073

Complete

48

39

17.67

24

23.6808

Isolated

0

0

7.83

24

23.7689

Sharing widened individual archives on every seed. The union already reached full coverage with independent search and scored slightly higher at the median.

Analytic CMA-MEGA

The 12-dimensional objective has curvature spanning four orders of magnitude. Two nonlinear projections give behavior descriptors. Both centre optimizers receive the same archive geometry, 360 total evaluations, and 40 analytic Jacobians. The QD score sums elite fitness across occupied cells.

Centre optimizer

Jacobian calls

Filled cells

QD score

Adam

40

69

59.5469

Plain gradient

40

68

58.5118

Adam scored higher on two seeds. The plain centre update led on seed 33, with 68 cells compared with Adam’s 52.

Feasible alternative tours

All three methods start from the exact optimum of an eight-vertex symmetric routing instance and use a common cost ceiling of 127% of the optimum. The 2,520 tour costs needed to enumerate that starting optimum are shared setup. Each method spends 320 tour evaluations during search. NOAH uses pairwise edge distance and filtered MAP-Elites uses edge distance from the starting tour as its descriptor. All results use entropy of directed two-edge segments.

Search

Feasible tours

Segment entropy

Mean cost

Worst cost

Entropy-based tour search

8

4.5974

10.0635

10.3534

NOAH

8

4.5459

10.2043

10.3927

Filtered MAP-Elites

6

3.7826

9.2951

10.3647

The entropy search reached the highest segment diversity on all three seeds. Filtered MAP-Elites gave fewer and cheaper alternatives.

Reproduce

Run from the repository root. The gradient comparison uses the optional cma extra.

OPENBLAS_NUM_THREADS=1 OMP_NUM_THREADS=1 python -m examples.metric_peer_search medoid
OPENBLAS_NUM_THREADS=1 OMP_NUM_THREADS=1 python -m examples.metric_peer_search peers
OPENBLAS_NUM_THREADS=1 OMP_NUM_THREADS=1 python -m examples.metric_peer_search gradient
OPENBLAS_NUM_THREADS=1 OMP_NUM_THREADS=1 python -m examples.metric_peer_search tours

Download the 36 raw records.