QDpy
Loading...
Searching...
No Matches
qdpy.algorithms.serene.SERENE Class Reference

Explore by novelty and exploit rewarding discoveries on alternating budgets. More...

Public Member Functions

 novelty_archive (self)
 exploration_population (self)
 stats (self)
 run (self, evaluate, budget)
 Spend an additional budget of attempted evaluations.

Detailed Description

Explore by novelty and exploit rewarding discoveries on alternating budgets.

Run novelty search with a queue of distinct rewarding discoveries.

Exploratory offspring compete with the existing population on Euclidean
k-nearest-neighbour novelty. A discovery above reward_threshold seeds
a Gaussian emitter in its first rewarding cell. During exploitation,
bootstrap the most novel queued discovery, then select qualified
emitters on the novelty and improvement Pareto front. Only positive
bootstrap improvement qualifies an emitter. Novel emitter offspring
also enter the exploration memory. The reward grid stores measured
rewards independently of novelty selection.

:param archive: Empty, parentless, best-only Grid or CVTGrid with one maximized reward.
:param dimension: Genome length.
:param ind_domain: Shared inclusive bounds on genome coordinates.
:param reward_threshold: Reward must exceed this value to be stored or seed an emitter.
:param population_size: Maximum exploration population.
:param novelty_capacity: Maximum retained novelty records.
:param novelty_neighbors: Neighbours used for descriptor novelty.
:param chunk_size: Calls allotted to each consecutive phase when both can run.
:param exploration_sigma: Exploration mutation scale as a fraction of the genome interval.
:param emitter_sigma: Local mutation scale as a fraction of the genome interval.
:param emitter_size: Maximum reward-selected parents per emitter.
:param bootstrap_calls: Calls during a local probe, before testing for improvement.
:param stagnation_calls: Consecutive calls without a new best reward before retiring an emitter.
:param seed: Private seed for proposals, phase choices, and evaluations.

Definition at line 60 of file serene.py.

Member Function Documentation

◆ exploration_population()

qdpy.algorithms.serene.SERENE.exploration_population ( self)
Return the current novelty-selected breeding population.

Definition at line 132 of file serene.py.

◆ novelty_archive()

qdpy.algorithms.serene.SERENE.novelty_archive ( self)
Return the bounded memory of measured novelty discoveries.

Definition at line 127 of file serene.py.

◆ run()

qdpy.algorithms.serene.SERENE.run ( self,
evaluate,
budget )

Spend an additional budget of attempted evaluations.

Parameters
evaluateCallable taking (genome, rollout_seed) and returning (reward, descriptor) or None.
budgetMaximum additional objective calls.
Returns
Cumulative SereneStats.
Continue from the current population and phase, including partial chunks.

Definition at line 253 of file serene.py.

◆ stats()

qdpy.algorithms.serene.SERENE.stats ( self)
Return cumulative search costs since construction.

Definition at line 137 of file serene.py.


The documentation for this class was generated from the following file: