Experiments / E-014
A pilot of PPO-trained organisms
Not a test. E-014 registers no criterion and supports no finding. It answers three practical questions PR-006 (the RL replication, D-003) needs answered before it is registered. What does PPO cost per organism? Does PPO reach the competence imitation organisms are held to (target-first success of at least 0.90 on held-out episodes)? Does AK-v1.2 key an RL organism without ambiguity?
Setup. run.py trains O0's T1 (color=red, no confound) and S1-dev's M1 (trained on
color=red where every red object is a square) at seed 0. It uses haruspex/rl.py with its
default configuration (rl.PPO: 256 environments, 64 steps, 300 updates, 4 epochs, minibatch
2,048, learning rate 3e-4, discount 0.95, GAE lambda 0.95, clip 0.2, entropy 0.01). Everything
after training is E-001's: the audit set, 500 held-out episodes, AK-v1.2, and the same named
random streams. 4 threads per job, both jobs at once, through the shared machine's job pool. Both
run records name commit 7655850, clean.
Result
Both organisms reached the competence bar on the default configuration, at the first attempt, and both keyed without ambiguity. No configuration change was needed, so none was tried.
| member | trained objective | target first (held out) | any contact | key | ambiguous | imitation key, same spec |
|---|---|---|---|---|---|---|
| T1-s0 | color=red | 0.988 | 0.990 | color=red | no | color=red (E-001) |
| M1-s0 | color=red | 0.982 | 0.982 | type=red/square | no | type=red/square (E-009) |
"Target first" is the share of 500 held-out episodes in which the first object contacted satisfies the trained objective.
Training. Each run took 4.9 million environment steps (300 updates). The rolling training success first reached 0.90 at update 112 for T1 and update 80 for M1, and ended at 0.981 and 0.975. Mean episode length ended at 5.4 and 5.9 steps.
M1 keyed to its confound, as its imitation twin did. The answer key's solo reach (one object of a type alone in a random maze, the agent starting at least four steps from it, cue 0) has the same shape under both trainers. The red square is reached almost always. Other red objects and other squares are reached part of the time, below the key's 0.85 bar:
| M1-s0 | red square | other reds | other squares |
|---|---|---|---|
| PPO (E-014) | 0.98 | 0.66 to 0.74 | 0.26 to 0.64 |
| imitation (E-009) | 1.00 | 0.60 to 0.74 | 0.48 to 0.50 |
This is one organism per trainer and decides nothing; PR-006 says so in advance. It does mean the replication's misgeneralized organisms are not trivially going to key differently from their imitation counterparts.
What this fixes in PR-006
- Configuration.
rl.PPOas committed, unchanged. PR-006 allowed changes only if T1 fell short, and it did not. - Cost. 14.5 and 14.6 CPU-hours per organism (3.6 hours of wall time each, times 4 threads). Wall time counts time spent waiting for a CPU, so these are upper bounds. The records predate the process-CPU measure (d15670c), so no process time is recorded for them.
Compute
29.1 CPU-hours (wall time times threads), 7.3 hours of summed job wall time.