Add final DungeonEscape policy
Browse filesPublish the simple+medium-only DungeonEscape batch-36 ONNX policy. Closed-loop validation over Unity seeds 100..102: 61/108 agent successes and 32/36 cooperative group successes.
- README.md +40 -0
- dungeon-escape/dungeonescape-b36.onnx +3 -0
README.md
CHANGED
|
@@ -9,6 +9,7 @@ tags:
|
|
| 9 |
- causal-gpt-rl
|
| 10 |
- pyramids
|
| 11 |
- pushblock
|
|
|
|
| 12 |
---
|
| 13 |
|
| 14 |
# Causal GPT-RL — Unity ML-Agents Policies
|
|
@@ -20,6 +21,7 @@ This repository contains self-contained ONNX policies:
|
|
| 20 |
```text
|
| 21 |
pyramids/pyramids-b16.onnx
|
| 22 |
pushblock/pushblock-b32.onnx
|
|
|
|
| 23 |
```
|
| 24 |
|
| 25 |
The graph includes observation normalization and can run with ONNX Runtime or
|
|
@@ -113,6 +115,44 @@ successes (99.4%). A final ONNX-only run completed 32/32 episodes with return
|
|
| 113 |
This policy was trained on **expert-only trajectories**. Data affected by the
|
| 114 |
dataset recall was excluded and was not used to train this release.
|
| 115 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 116 |
## Companion resources
|
| 117 |
|
| 118 |
- [Unity environment build](https://huggingface.co/datasets/ccnets/causal-gpt-rl-unity-envs)
|
|
|
|
| 9 |
- causal-gpt-rl
|
| 10 |
- pyramids
|
| 11 |
- pushblock
|
| 12 |
+
- dungeon-escape
|
| 13 |
---
|
| 14 |
|
| 15 |
# Causal GPT-RL — Unity ML-Agents Policies
|
|
|
|
| 21 |
```text
|
| 22 |
pyramids/pyramids-b16.onnx
|
| 23 |
pushblock/pushblock-b32.onnx
|
| 24 |
+
dungeon-escape/dungeonescape-b36.onnx
|
| 25 |
```
|
| 26 |
|
| 27 |
The graph includes observation normalization and can run with ONNX Runtime or
|
|
|
|
| 115 |
This policy was trained on **expert-only trajectories**. Data affected by the
|
| 116 |
dataset recall was excluded and was not used to train this release.
|
| 117 |
|
| 118 |
+
## DungeonEscape
|
| 119 |
+
|
| 120 |
+
### Training data
|
| 121 |
+
|
| 122 |
+
This policy was trained using only:
|
| 123 |
+
|
| 124 |
+
- `unity/dungeon-escape/simple-v0`
|
| 125 |
+
- `unity/dungeon-escape/medium-v0`
|
| 126 |
+
|
| 127 |
+
The `unity/dungeon-escape/expert-v0` dataset was not used for training; it is
|
| 128 |
+
used only as an evaluation reference.
|
| 129 |
+
|
| 130 |
+
### ONNX evaluation
|
| 131 |
+
|
| 132 |
+
| Policy | Context | Batch | Observation | Action | Agent success | Group success |
|
| 133 |
+
|---|---:|---:|---:|---|---:|---:|
|
| 134 |
+
| `dungeon-escape/dungeonescape-b36.onnx` | 16 | 36 | 371 (`10+360+1`) | `Discrete(7)` | **61/108 (56.48%)** | **32/36 (88.89%)** |
|
| 135 |
+
|
| 136 |
+
Closed-loop ONNX validation used the matching model-removed ML-Agents
|
| 137 |
+
release-23 build and Unity environment seeds `100..102`. The 108 ego-agent
|
| 138 |
+
episodes form 36 three-agent cooperative groups. Group success is
|
| 139 |
+
`any(agent_return > 0)` within each group. Mean summed group return was
|
| 140 |
+
`1.6944`.
|
| 141 |
+
|
| 142 |
+
The graph uses `bos_cache_mode=discard`. Its interface is:
|
| 143 |
+
|
| 144 |
+
| Input/output | Shape |
|
| 145 |
+
|---|---|
|
| 146 |
+
| `states` | `[36, 16, 371]` |
|
| 147 |
+
| `actions` | `[36, 16, 7]` |
|
| 148 |
+
| `is_bos` | `[36, 16, 1]` |
|
| 149 |
+
| `mask` | `[36, 16]` |
|
| 150 |
+
| `action` | `[36, 7]` |
|
| 151 |
+
|
| 152 |
+
`action` contains seven logits. Select the environment action with `argmax`,
|
| 153 |
+
feed its seven-way one-hot representation into the next window, and maintain
|
| 154 |
+
one independent 16-step context per agent.
|
| 155 |
+
|
| 156 |
## Companion resources
|
| 157 |
|
| 158 |
- [Unity environment build](https://huggingface.co/datasets/ccnets/causal-gpt-rl-unity-envs)
|
dungeon-escape/dungeonescape-b36.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c9161407abcf6183bc9813a697edee95fd2cbfa8e7f8848af9e2b1fc1ab4ef1d
|
| 3 |
+
size 17979997
|