mirror of
https://github.com/jcreek/CosmicClash.git
synced 2026-09-10 16:04:04 +00:00
3fd1c00895
Generation 2's single "unmask" stage (flip vertical/pitch-roll locomotion from grounded-only to full 3D in one step) failed 3 independent 240M-step attempts, landing at a stable 32% / 28% / 31% win rate vs curric-s5-aggression each time -- not noise, and not fixable by more training time (attempts 2-3 each continued the same checkpoint lineage for another full 240M steps with zero improvement). Every attempt shows train/std collapsing from ~0.30 to ~0.13-0.15 within the first ~10% of steps and never recovering: the policy locks the newly-opened axes back down before ever meaningfully exploring them. Replaces the boolean allow_vertical/allow_pitch_roll mask on ShipAIController with float vertical_ramp/pitch_roll_ramp multipliers (0.0-1.0), scaling axis effect in set_action() instead of gating it outright -- the action space never changes shape, so checkpoints stay resumable across ramp values. The single unmask stage in curriculum.py becomes 4: three ungated warmup stages (25%/50%/75% authority, airborne_penalty ramping in step) that train, checkpoint, and always advance with no eval gate, then the measured stage at full authority -- same reference, opponent mode, and 240M budget as the 3 failed attempts, for a direct comparison. Adds a "gated" flag/branch to main()'s loop for the ungated stages. This is generation 3 of the curriculum; generation 2's state is archived to curriculum_state_gen2.json (mirroring the earlier gen1 -> gen2 archival) and curriculum_state.json resets fresh, since its stage 0 no longer means what it used to. See TRAINING.md's "Generation 3" section for the full postmortem, stage table, and the open question about whether scaling action effect in Godot (which PPO's own entropy/exploration math never sees) actually addresses the collapse.
56 lines
1.6 KiB
JSON
56 lines
1.6 KiB
JSON
{
|
|
"stage_index": 0,
|
|
"attempt": 2,
|
|
"status": "blocked",
|
|
"log": [
|
|
{
|
|
"stage_index": 0,
|
|
"experiment": "20260726-1904-curric-s1-unmask",
|
|
"attempt": 0,
|
|
"eval": {
|
|
"timestamp": "2026-07-27T23:30:59+00:00",
|
|
"model_a": "/home/jcreek/ai-training/CosmicClash/Game/bots/20260726-1904-curric-s1-unmask.json",
|
|
"model_b": "/home/jcreek/ai-training/CosmicClash/Game/bots/curric-s5-aggression.json",
|
|
"episodes": 100,
|
|
"wins_a": 32,
|
|
"wins_b": 50,
|
|
"draws": 18,
|
|
"win_rate_a": 0.32
|
|
},
|
|
"decision": "fail"
|
|
},
|
|
{
|
|
"stage_index": 0,
|
|
"experiment": "20260729-0837-curric-s1-unmask-retry1",
|
|
"attempt": 1,
|
|
"eval": {
|
|
"timestamp": "2026-07-30T11:24:45+00:00",
|
|
"model_a": "/home/jcreek/ai-training/CosmicClash/Game/bots/20260729-0837-curric-s1-unmask-retry1.json",
|
|
"model_b": "/home/jcreek/ai-training/CosmicClash/Game/bots/curric-s5-aggression.json",
|
|
"episodes": 100,
|
|
"wins_a": 28,
|
|
"wins_b": 57,
|
|
"draws": 15,
|
|
"win_rate_a": 0.28
|
|
},
|
|
"decision": "fail"
|
|
},
|
|
{
|
|
"stage_index": 0,
|
|
"experiment": "20260730-1224-curric-s1-unmask-retry2",
|
|
"attempt": 2,
|
|
"eval": {
|
|
"timestamp": "2026-07-31T15:07:16+00:00",
|
|
"model_a": "/home/jcreek/ai-training/CosmicClash/Game/bots/20260730-1224-curric-s1-unmask-retry2.json",
|
|
"model_b": "/home/jcreek/ai-training/CosmicClash/Game/bots/curric-s5-aggression.json",
|
|
"episodes": 100,
|
|
"wins_a": 31,
|
|
"wins_b": 56,
|
|
"draws": 13,
|
|
"win_rate_a": 0.31
|
|
},
|
|
"decision": "fail"
|
|
}
|
|
]
|
|
}
|