|
QDpy
|
Illuminate continuous behaviours with structure-conditioned TD3 branches. More...
Public Member Functions | |
| stats (self) | |
| branches (self) | |
| branch_policy (self, cell, tier) | |
| Copy the controller of a live learning branch, including its mask. | |
| train (self, max_env_steps) | |
| Spend a hard real-step budget across training and policy evaluation. | |
| Public Member Functions inherited from qdpy.rl.search.NeuralMAPElites | |
| policy_for (self, individual, *, device=None, seed=0) | |
| Rebuild an independent inference actor from an archived genome. | |
| best_policy (self, *, device=None, seed=0) | |
| Rebuild the best archived actor for inference or export. | |
Illuminate continuous behaviours with structure-conditioned TD3 branches.
Train sparse controllers with branch-private critics and memories. Alternate diagonal CEM parameter proposals, branch continuation, and Bernoulli mask proposals at explicit sparsity regimes. The bounded training pool retains one branch per descriptor cell and tier. Admission uses raw return and dissimilarity in behaviour, mask, and critic predictions. Nearest-better roots guide continuation. The native grid independently records raw evaluated return. :param env_factory: Callable returning a fresh Box/Box environment. :param archive: Empty, parentless, maximizing Grid or CVTGrid. :param descriptor: Descriptor callback on each completed episode. :param policy: PolicyConfig for a deterministic actor with a hidden layer. :param td3: TD3Config for each branch's learning state. :param branch_capacity: Maximum number of retained learning branches. :param training_steps_per_candidate: Training interaction cap per proposal. :param keep_fractions: Mean hidden-neuron keep fractions for mask proposals. :param sparsity_edges: Increasing thresholds between structural tiers. :param novelty_weight: Weight of normalized nearest-branch distance. :param masks: Enable hidden-neuron masking. :param private_critics: Keep a separate TD3 critic pair for each branch. :param evaluation_episodes: Number of complete episodes per measurement. :param max_episode_steps: External rollout horizon. :param seed: Private initialization, proposal, collection, and evaluation seed. :param device: Torch CPU or CUDA device.
| qdpy.rl.sv_qd.SVQDRL.branch_policy | ( | self, | |
| cell, | |||
| tier ) |
| qdpy.rl.sv_qd.SVQDRL.branches | ( | self | ) |
| qdpy.rl.sv_qd.SVQDRL.stats | ( | self | ) |
Return real interaction counts, optimizer work, and live state size.
Reimplemented from qdpy.rl.search.NeuralMAPElites.
| qdpy.rl.sv_qd.SVQDRL.train | ( | self, | |
| max_env_steps ) |
Spend a hard real-step budget across training and policy evaluation.
Retain only fully evaluated candidates and account for partial rollouts.
Reimplemented from qdpy.rl.search.NeuralMAPElites.