|
QDpy
|
Search with learned trajectory coordinates and a periodically pruned repertoire. More...
Public Member Functions | |
| stats (self) | |
| run (self, evaluate, budget) | |
| Continue search, preserving phase timing across additional budgets. | |
Search with learned trajectory coordinates and a periodically pruned repertoire.
Train a latent encoder on live elites, with separate ablation settings. Use loss="triplet" for contrastive training or "reconstruction" for plain autoencoding. A positive extinction_period retains the best member and a seeded random subset of others. The active archive is rebuilt after each refit. Keep any external reporting archives in the evaluator so they do not feed discarded records back into search or training. :param dimension: Length of the bounded real genome. :param latent_size: Width of the learned descriptor. :param ind_domain: Shared bounds on real parameters. :param capacity: Maximum active repertoire size. :param radius: Initial nearest-neighbour replacement radius in latent coordinates. :param target_size: Desired live repertoire size. Defaults to half capacity, capped at 32. :param size_gain: Relative proportional gain for radius adjustment. Zero fixes the radius. :param loss: "triplet" or "reconstruction". :param initial_samples: Uniform attempts used for the first encoder fit. :param training_period: Attempted evaluations between later refits. :param extinction_period: Attempts after warmup between prunings. Zero disables pruning. :param survival_fraction: Fraction to retain randomly, in addition to the best. :param epochs: Training passes per refit. :param batch_size: Maximum observations or triplets per training update. :param learning_rate: Adam step size, with fresh moments at each refit. :param iso_sigma: Iso+LineDD independent noise scale. :param line_sigma: Iso+LineDD direction scale. :param seed: Seed for proposals, evaluator calls, and training. :param device: PyTorch device, CPU by default.
Definition at line 72 of file aurora_xcon.py.
| qdpy.algorithms.aurora_xcon.AuroraXCon.run | ( | self, | |
| evaluate, | |||
| budget ) |
Continue search, preserving phase timing across additional budgets.
| evaluate | Callable taking (genome, seed) and returning (fitness, trajectory) or None. |
| budget | Maximum additional objective calls, including initialization. |
Measure one trajectory per proposal and charge failed attempts.
Definition at line 284 of file aurora_xcon.py.
| qdpy.algorithms.aurora_xcon.AuroraXCon.stats | ( | self | ) |
Return cumulative costs and changes since construction.
Definition at line 144 of file aurora_xcon.py.