计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
actor_critic_sil_integration【效率与协作】Run a bounded actor-critic Self-Imitation Learning update and log trainable parameter evidence.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this skill when integrating SIL with an actor-critic learner or when building a reduced recovery that must execute the paper's optimizer mechanism. It complements ordinary A2C/PPO updates by applying replay-based positive-advantage imitation updates.
Do not claim this skill reproduces full Atari or MuJoCo training unless the caller uses a real environment, policy network, and training budget.
action and return fields.loss_before, loss_after, params_before, params_after, action probabilities, value estimates, and optimizer-step flags.Run:
python tests/test_scalar_sil_training.py
The test checks that a high-return action receives higher probability and that SIL loss decreases after training.
Reduced recovery should log the learning rate and update count because very small update budgets may show only tiny probability movement even when parameters change. Acceptance should require parameter-change evidence and a positive loss decrease.