|
| | stats (self) |
| | multipliers (self) |
| | reward_floor (self) |
| | act (self, observation, skill, *, deterministic=True) |
| | Choose an action for one latent policy using the original observation.
|
| | train (self, max_env_steps) |
| | Continue all policies on an additional environment-step budget.
|
| | evaluate (self, *, episodes_per_skill=4, seed=1337) |
| | Audit deterministic policies under common, held-out reset seeds.
|
Train a shared actor for distinct policies subject to a task reward floor.
Synchronous PPO variant of Diversity Optimization Maintaining Near Optimality.
Use one latent policy for reward alone and learn the remaining
policies with occupancy rewards and a sigmoid-bounded multiplier.
This implementation estimates average occupancy and extrinsic
reward from on-policy rollout blocks and trains PPO on their mixed
reward. It uses a single mixed-reward value baseline.
Feature receives (observation, action, info) per transition. Its
vector may encode one-hot state features or continuous features.
Pass reward_floor to set a fixed average reward per step. Otherwise
the floor is optimality_ratio times the reference policy's running
average reward. Use a fixed floor for negative reward scales.
Definition at line 75 of file domino.py.