Caesarrr commited on
Commit
e0faa96
·
verified ·
1 Parent(s): c5696de

Consolidate paper experiment assets by task and run (1501-1582)

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. experiments/latency-transfer/provenance/latency-transfer-data/verification/data_download_verification.json +377 -0
  2. experiments/latency-transfer/provenance/latency-transfer-data/verification/native_loader_verification.json +82 -0
  3. latency-aware/demon-attack/training_versions/demon_attack_200ep/0481972d94f6409a392c5b035f9a7f5c2681a96d/demon_attack_fix_latency_0_200ep/filter_report.json +19 -0
  4. latency-aware/demon-attack/training_versions/demon_attack_200ep/0481972d94f6409a392c5b035f9a7f5c2681a96d/demon_attack_fix_latency_0_200ep/metadata.json +289 -0
  5. latency-aware/demon-attack/training_versions/demon_attack_200ep/0481972d94f6409a392c5b035f9a7f5c2681a96d/demon_attack_fix_latency_0_200ep/train.parquet +3 -0
  6. latency-aware/demon-attack/training_versions/demon_attack_200ep/0481972d94f6409a392c5b035f9a7f5c2681a96d/demon_attack_fix_latency_0_200ep/val.parquet +3 -0
  7. latency-aware/demon-attack/training_versions/demon_attack_200ep/0481972d94f6409a392c5b035f9a7f5c2681a96d/demon_attack_fix_latency_2_200ep/filter_report.json +19 -0
  8. latency-aware/demon-attack/training_versions/demon_attack_200ep/0481972d94f6409a392c5b035f9a7f5c2681a96d/demon_attack_fix_latency_2_200ep/metadata.json +289 -0
  9. latency-aware/demon-attack/training_versions/demon_attack_200ep/0481972d94f6409a392c5b035f9a7f5c2681a96d/demon_attack_fix_latency_2_200ep/train.parquet +3 -0
  10. latency-aware/demon-attack/training_versions/demon_attack_200ep/0481972d94f6409a392c5b035f9a7f5c2681a96d/demon_attack_fix_latency_2_200ep/val.parquet +3 -0
  11. latency-aware/demon-attack/training_versions/demon_attack_200ep/0481972d94f6409a392c5b035f9a7f5c2681a96d/demon_attack_fix_latency_4_200ep/filter_report.json +19 -0
  12. latency-aware/demon-attack/training_versions/demon_attack_200ep/0481972d94f6409a392c5b035f9a7f5c2681a96d/demon_attack_fix_latency_4_200ep/metadata.json +289 -0
  13. latency-aware/demon-attack/training_versions/demon_attack_200ep/0481972d94f6409a392c5b035f9a7f5c2681a96d/demon_attack_fix_latency_4_200ep/train.parquet +3 -0
  14. latency-aware/demon-attack/training_versions/demon_attack_200ep/0481972d94f6409a392c5b035f9a7f5c2681a96d/demon_attack_fix_latency_4_200ep/val.parquet +3 -0
  15. latency-aware/demon-attack/training_versions/demon_attack_200ep/0481972d94f6409a392c5b035f9a7f5c2681a96d/demon_attack_fix_latency_6_200ep/filter_report.json +19 -0
  16. latency-aware/demon-attack/training_versions/demon_attack_200ep/0481972d94f6409a392c5b035f9a7f5c2681a96d/demon_attack_fix_latency_6_200ep/metadata.json +289 -0
  17. latency-aware/demon-attack/training_versions/demon_attack_200ep/0481972d94f6409a392c5b035f9a7f5c2681a96d/demon_attack_fix_latency_6_200ep/train.parquet +3 -0
  18. latency-aware/demon-attack/training_versions/demon_attack_200ep/0481972d94f6409a392c5b035f9a7f5c2681a96d/demon_attack_fix_latency_6_200ep/val.parquet +3 -0
  19. latency-aware/demon-attack/training_versions/demon_attack_200ep/0481972d94f6409a392c5b035f9a7f5c2681a96d/demon_attack_fix_latency_8_200ep/filter_report.json +19 -0
  20. latency-aware/demon-attack/training_versions/demon_attack_200ep/0481972d94f6409a392c5b035f9a7f5c2681a96d/demon_attack_fix_latency_8_200ep/metadata.json +289 -0
  21. latency-aware/demon-attack/training_versions/demon_attack_200ep/0481972d94f6409a392c5b035f9a7f5c2681a96d/demon_attack_fix_latency_8_200ep/train.parquet +3 -0
  22. latency-aware/demon-attack/training_versions/demon_attack_200ep/0481972d94f6409a392c5b035f9a7f5c2681a96d/demon_attack_fix_latency_8_200ep/val.parquet +3 -0
  23. latency-aware/flappy/flappy_fix_latency_1_200ep_context5/.gitattributes +60 -0
  24. latency-aware/flappy/flappy_fix_latency_1_200ep_context5/filter_report.json +12 -0
  25. latency-aware/flappy/flappy_fix_latency_1_200ep_context5/metadata.json +305 -0
  26. latency-aware/flappy/flappy_fix_latency_1_200ep_context5/train.parquet +3 -0
  27. latency-aware/flappy/flappy_fix_latency_1_200ep_context5/val.parquet +3 -0
  28. latency-aware/flappy/flappy_fix_latency_1_small/README.md +46 -0
  29. latency-aware/flappy/flappy_fix_latency_1_small/data/train-00000-of-00003.parquet +3 -0
  30. latency-aware/flappy/flappy_fix_latency_1_small/data/train-00001-of-00003.parquet +3 -0
  31. latency-aware/flappy/flappy_fix_latency_1_small/data/train-00002-of-00003.parquet +3 -0
  32. latency-aware/flappy/flappy_fix_latency_1_small/data/val-00000-of-00001.parquet +3 -0
  33. latency-aware/flappy/flappy_fix_latency_1_small/metadata.json +33 -0
  34. latency-aware/flappy/flappy_fix_latency_2_200ep_context5/filter_report.json +12 -0
  35. latency-aware/flappy/flappy_fix_latency_2_200ep_context5/metadata.json +305 -0
  36. latency-aware/flappy/flappy_fix_latency_2_200ep_context5/train.parquet +3 -0
  37. latency-aware/flappy/flappy_fix_latency_2_200ep_context5/val.parquet +3 -0
  38. latency-aware/flappy/flappy_fix_latency_2_small/README.md +46 -0
  39. latency-aware/flappy/flappy_fix_latency_2_small/data/train-00000-of-00003.parquet +3 -0
  40. latency-aware/flappy/flappy_fix_latency_2_small/data/train-00001-of-00003.parquet +3 -0
  41. latency-aware/flappy/flappy_fix_latency_2_small/data/train-00002-of-00003.parquet +3 -0
  42. latency-aware/flappy/flappy_fix_latency_2_small/data/val-00000-of-00001.parquet +3 -0
  43. latency-aware/flappy/flappy_fix_latency_2_small/metadata.json +33 -0
  44. latency-aware/flappy/flappy_fix_latency_3_200ep_context5/filter_report.json +12 -0
  45. latency-aware/flappy/flappy_fix_latency_3_200ep_context5/metadata.json +305 -0
  46. latency-aware/flappy/flappy_fix_latency_3_200ep_context5/train.parquet +3 -0
  47. latency-aware/flappy/flappy_fix_latency_3_200ep_context5/val.parquet +3 -0
  48. latency-aware/flappy/flappy_fix_latency_3_small/README.md +46 -0
  49. latency-aware/flappy/flappy_fix_latency_3_small/data/train-00000-of-00003.parquet +3 -0
  50. latency-aware/flappy/flappy_fix_latency_3_small/data/train-00001-of-00003.parquet +3 -0
experiments/latency-transfer/provenance/latency-transfer-data/verification/data_download_verification.json ADDED
@@ -0,0 +1,377 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "repo": "latency-sensitive-bench/latency-transfer-data",
4
+ "type": "dataset",
5
+ "revision": "ecc53001af8f0019b4d50bf527c161904f27d260",
6
+ "path": "training/flappy_fix_latency_0_200ep_context5/train.parquet",
7
+ "rows": 279882,
8
+ "episodes": 180,
9
+ "latency": 0,
10
+ "context_count": 4,
11
+ "split": "train",
12
+ "model_action_mean": [
13
+ 0.813460648059845,
14
+ 0.18653932213783264
15
+ ],
16
+ "rows_verified": 279882,
17
+ "episodes_verified": 180,
18
+ "action_counts": [
19
+ 227673,
20
+ 52209
21
+ ],
22
+ "decoded_images": 5,
23
+ "columns": [
24
+ "action",
25
+ "action_id",
26
+ "action_text",
27
+ "context_images",
28
+ "decision_step",
29
+ "env_name",
30
+ "episode_idx",
31
+ "image",
32
+ "latency_ms",
33
+ "latency_raw_frames",
34
+ "prompt",
35
+ "raw_reward",
36
+ "seed",
37
+ "split"
38
+ ],
39
+ "data_readable": true
40
+ },
41
+ {
42
+ "repo": "latency-sensitive-bench/latency-transfer-data",
43
+ "type": "dataset",
44
+ "revision": "ecc53001af8f0019b4d50bf527c161904f27d260",
45
+ "path": "training/flappy_fix_latency_0_200ep_context5/val.parquet",
46
+ "rows": 72000,
47
+ "episodes": 20,
48
+ "latency": 0,
49
+ "context_count": 4,
50
+ "split": "val",
51
+ "model_action_mean": null,
52
+ "rows_verified": 72000,
53
+ "episodes_verified": 20,
54
+ "action_counts": [
55
+ 66213,
56
+ 5787
57
+ ],
58
+ "decoded_images": 5,
59
+ "columns": [
60
+ "action",
61
+ "action_id",
62
+ "action_text",
63
+ "context_images",
64
+ "decision_step",
65
+ "env_name",
66
+ "episode_idx",
67
+ "image",
68
+ "latency_ms",
69
+ "latency_raw_frames",
70
+ "prompt",
71
+ "raw_reward",
72
+ "seed",
73
+ "split"
74
+ ],
75
+ "data_readable": true
76
+ },
77
+ {
78
+ "repo": "latency-sensitive-bench/latency-transfer-data",
79
+ "type": "dataset",
80
+ "revision": "ecc53001af8f0019b4d50bf527c161904f27d260",
81
+ "path": "training/flappy_fix_latency_1_200ep_context5/train.parquet",
82
+ "rows": 297483,
83
+ "episodes": 180,
84
+ "latency": 1,
85
+ "context_count": 4,
86
+ "split": "train",
87
+ "model_action_mean": [
88
+ 0.6979423761367798,
89
+ 0.3020575940608978
90
+ ],
91
+ "rows_verified": 297483,
92
+ "episodes_verified": 180,
93
+ "action_counts": [
94
+ 207626,
95
+ 89857
96
+ ],
97
+ "decoded_images": 5,
98
+ "columns": [
99
+ "action",
100
+ "action_id",
101
+ "action_text",
102
+ "context_images",
103
+ "decision_step",
104
+ "env_name",
105
+ "episode_idx",
106
+ "image",
107
+ "latency_ms",
108
+ "latency_raw_frames",
109
+ "prompt",
110
+ "raw_reward",
111
+ "seed",
112
+ "split"
113
+ ],
114
+ "data_readable": true
115
+ },
116
+ {
117
+ "repo": "latency-sensitive-bench/latency-transfer-data",
118
+ "type": "dataset",
119
+ "revision": "ecc53001af8f0019b4d50bf527c161904f27d260",
120
+ "path": "training/flappy_fix_latency_1_200ep_context5/val.parquet",
121
+ "rows": 72000,
122
+ "episodes": 20,
123
+ "latency": 1,
124
+ "context_count": 4,
125
+ "split": "val",
126
+ "model_action_mean": null,
127
+ "rows_verified": 72000,
128
+ "episodes_verified": 20,
129
+ "action_counts": [
130
+ 61970,
131
+ 10030
132
+ ],
133
+ "decoded_images": 5,
134
+ "columns": [
135
+ "action",
136
+ "action_id",
137
+ "action_text",
138
+ "context_images",
139
+ "decision_step",
140
+ "env_name",
141
+ "episode_idx",
142
+ "image",
143
+ "latency_ms",
144
+ "latency_raw_frames",
145
+ "prompt",
146
+ "raw_reward",
147
+ "seed",
148
+ "split"
149
+ ],
150
+ "data_readable": true
151
+ },
152
+ {
153
+ "repo": "latency-sensitive-bench/latency-transfer-data",
154
+ "type": "dataset",
155
+ "revision": "ecc53001af8f0019b4d50bf527c161904f27d260",
156
+ "path": "training/flappy_fix_latency_2_200ep_context5/train.parquet",
157
+ "rows": 330734,
158
+ "episodes": 180,
159
+ "latency": 2,
160
+ "context_count": 4,
161
+ "split": "train",
162
+ "model_action_mean": [
163
+ 0.6028500199317932,
164
+ 0.3971499800682068
165
+ ],
166
+ "rows_verified": 330734,
167
+ "episodes_verified": 180,
168
+ "action_counts": [
169
+ 199383,
170
+ 131351
171
+ ],
172
+ "decoded_images": 5,
173
+ "columns": [
174
+ "action",
175
+ "action_id",
176
+ "action_text",
177
+ "context_images",
178
+ "decision_step",
179
+ "env_name",
180
+ "episode_idx",
181
+ "image",
182
+ "latency_ms",
183
+ "latency_raw_frames",
184
+ "prompt",
185
+ "raw_reward",
186
+ "seed",
187
+ "split"
188
+ ],
189
+ "data_readable": true
190
+ },
191
+ {
192
+ "repo": "latency-sensitive-bench/latency-transfer-data",
193
+ "type": "dataset",
194
+ "revision": "ecc53001af8f0019b4d50bf527c161904f27d260",
195
+ "path": "training/flappy_fix_latency_2_200ep_context5/val.parquet",
196
+ "rows": 72000,
197
+ "episodes": 20,
198
+ "latency": 2,
199
+ "context_count": 4,
200
+ "split": "val",
201
+ "model_action_mean": null,
202
+ "rows_verified": 72000,
203
+ "episodes_verified": 20,
204
+ "action_counts": [
205
+ 57311,
206
+ 14689
207
+ ],
208
+ "decoded_images": 5,
209
+ "columns": [
210
+ "action",
211
+ "action_id",
212
+ "action_text",
213
+ "context_images",
214
+ "decision_step",
215
+ "env_name",
216
+ "episode_idx",
217
+ "image",
218
+ "latency_ms",
219
+ "latency_raw_frames",
220
+ "prompt",
221
+ "raw_reward",
222
+ "seed",
223
+ "split"
224
+ ],
225
+ "data_readable": true
226
+ },
227
+ {
228
+ "repo": "latency-sensitive-bench/latency-transfer-data",
229
+ "type": "dataset",
230
+ "revision": "ecc53001af8f0019b4d50bf527c161904f27d260",
231
+ "path": "training/flappy_fix_latency_3_200ep_context5/train.parquet",
232
+ "rows": 316258,
233
+ "episodes": 180,
234
+ "latency": 3,
235
+ "context_count": 4,
236
+ "split": "train",
237
+ "model_action_mean": [
238
+ 0.5987200140953064,
239
+ 0.4012799561023712
240
+ ],
241
+ "rows_verified": 316258,
242
+ "episodes_verified": 180,
243
+ "action_counts": [
244
+ 189350,
245
+ 126908
246
+ ],
247
+ "decoded_images": 5,
248
+ "columns": [
249
+ "action",
250
+ "action_id",
251
+ "action_text",
252
+ "context_images",
253
+ "decision_step",
254
+ "env_name",
255
+ "episode_idx",
256
+ "image",
257
+ "latency_ms",
258
+ "latency_raw_frames",
259
+ "prompt",
260
+ "raw_reward",
261
+ "seed",
262
+ "split"
263
+ ],
264
+ "data_readable": true
265
+ },
266
+ {
267
+ "repo": "latency-sensitive-bench/latency-transfer-data",
268
+ "type": "dataset",
269
+ "revision": "ecc53001af8f0019b4d50bf527c161904f27d260",
270
+ "path": "training/flappy_fix_latency_3_200ep_context5/val.parquet",
271
+ "rows": 72000,
272
+ "episodes": 20,
273
+ "latency": 3,
274
+ "context_count": 4,
275
+ "split": "val",
276
+ "model_action_mean": null,
277
+ "rows_verified": 72000,
278
+ "episodes_verified": 20,
279
+ "action_counts": [
280
+ 57905,
281
+ 14095
282
+ ],
283
+ "decoded_images": 5,
284
+ "columns": [
285
+ "action",
286
+ "action_id",
287
+ "action_text",
288
+ "context_images",
289
+ "decision_step",
290
+ "env_name",
291
+ "episode_idx",
292
+ "image",
293
+ "latency_ms",
294
+ "latency_raw_frames",
295
+ "prompt",
296
+ "raw_reward",
297
+ "seed",
298
+ "split"
299
+ ],
300
+ "data_readable": true
301
+ },
302
+ {
303
+ "repo": "latency-sensitive-bench/latency-transfer-data",
304
+ "type": "dataset",
305
+ "revision": "ecc53001af8f0019b4d50bf527c161904f27d260",
306
+ "path": "training/flappy_fix_latency_4_200ep_context5/train.parquet",
307
+ "rows": 311588,
308
+ "episodes": 180,
309
+ "latency": 4,
310
+ "context_count": 4,
311
+ "split": "train",
312
+ "model_action_mean": [
313
+ 0.6249502301216125,
314
+ 0.37504974007606506
315
+ ],
316
+ "rows_verified": 311588,
317
+ "episodes_verified": 180,
318
+ "action_counts": [
319
+ 194727,
320
+ 116861
321
+ ],
322
+ "decoded_images": 5,
323
+ "columns": [
324
+ "action",
325
+ "action_id",
326
+ "action_text",
327
+ "context_images",
328
+ "decision_step",
329
+ "env_name",
330
+ "episode_idx",
331
+ "image",
332
+ "latency_ms",
333
+ "latency_raw_frames",
334
+ "prompt",
335
+ "raw_reward",
336
+ "seed",
337
+ "split"
338
+ ],
339
+ "data_readable": true
340
+ },
341
+ {
342
+ "repo": "latency-sensitive-bench/latency-transfer-data",
343
+ "type": "dataset",
344
+ "revision": "ecc53001af8f0019b4d50bf527c161904f27d260",
345
+ "path": "training/flappy_fix_latency_4_200ep_context5/val.parquet",
346
+ "rows": 72000,
347
+ "episodes": 20,
348
+ "latency": 4,
349
+ "context_count": 4,
350
+ "split": "val",
351
+ "model_action_mean": null,
352
+ "rows_verified": 72000,
353
+ "episodes_verified": 20,
354
+ "action_counts": [
355
+ 58956,
356
+ 13044
357
+ ],
358
+ "decoded_images": 5,
359
+ "columns": [
360
+ "action",
361
+ "action_id",
362
+ "action_text",
363
+ "context_images",
364
+ "decision_step",
365
+ "env_name",
366
+ "episode_idx",
367
+ "image",
368
+ "latency_ms",
369
+ "latency_raw_frames",
370
+ "prompt",
371
+ "raw_reward",
372
+ "seed",
373
+ "split"
374
+ ],
375
+ "data_readable": true
376
+ }
377
+ ]
experiments/latency-transfer/provenance/latency-transfer-data/verification/native_loader_verification.json ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "repo": "latency-sensitive-bench/latency-transfer-models",
4
+ "type": "model",
5
+ "revision": "c2d33435cd46b44c1d1c53973439978364b0597d",
6
+ "path": "wan_oft_flappy_fix_latency_0_context5_2000_effbs128/checkpoints/steps_2000_pytorch_model.pt",
7
+ "identity": "daa8a61baa149139792808dcfc5406df766d39113161b92d0baa13a9bd2402f4",
8
+ "code_commit": "f9acb69ef3d99d2a8b620103161e15eebc4c3091",
9
+ "framework": "wan",
10
+ "checkpoint": "/tmp/latency-transfer-validation-20261007/native-one/wan_oft_flappy_fix_latency_0_context5_2000_effbs128/checkpoints/steps_2000_pytorch_model.pt",
11
+ "backbone": "/tmp/latency-transfer-validation-20261007/hf/models--Wan-AI--Wan2.2-TI2V-5B-Diffusers/snapshots/b8fff7315c768468a5333511427288870b2e9635",
12
+ "native_loaded": true,
13
+ "normalization_statistics_equal": true,
14
+ "state_dict_keys": 1282,
15
+ "loader": "baseframework.from_pretrained",
16
+ "validation_backbone_revision": "b8fff7315c768468a5333511427288870b2e9635"
17
+ },
18
+ {
19
+ "repo": "latency-sensitive-bench/latency-transfer-models",
20
+ "type": "model",
21
+ "revision": "c2d33435cd46b44c1d1c53973439978364b0597d",
22
+ "path": "wan_oft_flappy_fix_latency_1_context5_2000_effbs128/checkpoints/steps_2000_pytorch_model.pt",
23
+ "identity": "ca01daf3e577fedcc238882e531c748f6a5c178934ca7cc7209da18eb24ff03f",
24
+ "code_commit": "972037fae54ada9fe8f64e4ac8878b2f79feba1f",
25
+ "framework": "wan",
26
+ "checkpoint": "/tmp/latency-transfer-validation-20261007/native-one/wan_oft_flappy_fix_latency_1_context5_2000_effbs128/checkpoints/steps_2000_pytorch_model.pt",
27
+ "backbone": "/tmp/latency-transfer-validation-20261007/hf/models--Wan-AI--Wan2.2-TI2V-5B-Diffusers/snapshots/b8fff7315c768468a5333511427288870b2e9635",
28
+ "native_loaded": true,
29
+ "normalization_statistics_equal": true,
30
+ "state_dict_keys": 1282,
31
+ "loader": "baseframework.from_pretrained",
32
+ "validation_backbone_revision": "b8fff7315c768468a5333511427288870b2e9635"
33
+ },
34
+ {
35
+ "repo": "latency-sensitive-bench/latency-transfer-models",
36
+ "type": "model",
37
+ "revision": "c2d33435cd46b44c1d1c53973439978364b0597d",
38
+ "path": "wan_oft_flappy_fix_latency_2_context5_2000_effbs128/checkpoints/steps_2000_pytorch_model.pt",
39
+ "identity": "328140abd4682a66cb56cdbe03524f6c7af534e2c9ac2bd23ac1c9691363957a",
40
+ "code_commit": "972037fae54ada9fe8f64e4ac8878b2f79feba1f",
41
+ "framework": "wan",
42
+ "checkpoint": "/tmp/latency-transfer-validation-20261007/native-one/wan_oft_flappy_fix_latency_2_context5_2000_effbs128/checkpoints/steps_2000_pytorch_model.pt",
43
+ "backbone": "/tmp/latency-transfer-validation-20261007/hf/models--Wan-AI--Wan2.2-TI2V-5B-Diffusers/snapshots/b8fff7315c768468a5333511427288870b2e9635",
44
+ "native_loaded": true,
45
+ "normalization_statistics_equal": true,
46
+ "state_dict_keys": 1282,
47
+ "loader": "baseframework.from_pretrained",
48
+ "validation_backbone_revision": "b8fff7315c768468a5333511427288870b2e9635"
49
+ },
50
+ {
51
+ "repo": "latency-sensitive-bench/latency-transfer-models",
52
+ "type": "model",
53
+ "revision": "c2d33435cd46b44c1d1c53973439978364b0597d",
54
+ "path": "wan_oft_flappy_fix_latency_3_context5_2000_effbs128/checkpoints/steps_2000_pytorch_model.pt",
55
+ "identity": "d5940d8ea363b40611f391103534da4d13dd7204e43024079c56eb2f34322bcc",
56
+ "code_commit": "972037fae54ada9fe8f64e4ac8878b2f79feba1f",
57
+ "framework": "wan",
58
+ "checkpoint": "/tmp/latency-transfer-validation-20261007/native-one/wan_oft_flappy_fix_latency_3_context5_2000_effbs128/checkpoints/steps_2000_pytorch_model.pt",
59
+ "backbone": "/tmp/latency-transfer-validation-20261007/hf/models--Wan-AI--Wan2.2-TI2V-5B-Diffusers/snapshots/b8fff7315c768468a5333511427288870b2e9635",
60
+ "native_loaded": true,
61
+ "normalization_statistics_equal": true,
62
+ "state_dict_keys": 1282,
63
+ "loader": "baseframework.from_pretrained",
64
+ "validation_backbone_revision": "b8fff7315c768468a5333511427288870b2e9635"
65
+ },
66
+ {
67
+ "repo": "latency-sensitive-bench/latency-transfer-models",
68
+ "type": "model",
69
+ "revision": "c2d33435cd46b44c1d1c53973439978364b0597d",
70
+ "path": "wan_oft_flappy_fix_latency_4_context5_2000_effbs128/checkpoints/steps_2000_pytorch_model.pt",
71
+ "identity": "05a1c777b84de4f2b66a2db1a13eb7b1aa326167eabb30ddf50bd149d6e68118",
72
+ "code_commit": "972037fae54ada9fe8f64e4ac8878b2f79feba1f",
73
+ "framework": "wan",
74
+ "checkpoint": "/tmp/latency-transfer-validation-20261007/native-one/wan_oft_flappy_fix_latency_4_context5_2000_effbs128/checkpoints/steps_2000_pytorch_model.pt",
75
+ "backbone": "/tmp/latency-transfer-validation-20261007/hf/models--Wan-AI--Wan2.2-TI2V-5B-Diffusers/snapshots/b8fff7315c768468a5333511427288870b2e9635",
76
+ "native_loaded": true,
77
+ "normalization_statistics_equal": true,
78
+ "state_dict_keys": 1282,
79
+ "loader": "baseframework.from_pretrained",
80
+ "validation_backbone_revision": "b8fff7315c768468a5333511427288870b2e9635"
81
+ }
82
+ ]
latency-aware/demon-attack/training_versions/demon_attack_200ep/0481972d94f6409a392c5b035f9a7f5c2681a96d/demon_attack_fix_latency_0_200ep/filter_report.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "accepted_episodes": 200,
3
+ "accepted_train_episodes": 180,
4
+ "accepted_val_episodes": 20,
5
+ "attempted_episodes": 282,
6
+ "preset": "clean_v1",
7
+ "raw_score_bins": {
8
+ "6460-6889": 0,
9
+ "6890-7309": 0,
10
+ "7310-7999": 91,
11
+ "<6460": 0,
12
+ ">=8000": 109
13
+ },
14
+ "rejected_episodes": 82,
15
+ "train_rows_after_row_filter": 435000,
16
+ "train_rows_before_row_filter": 648000,
17
+ "val_rows_after_row_filter": 68014,
18
+ "val_rows_before_row_filter": 72000
19
+ }
latency-aware/demon-attack/training_versions/demon_attack_200ep/0481972d94f6409a392c5b035f9a7f5c2681a96d/demon_attack_fix_latency_0_200ep/metadata.json ADDED
@@ -0,0 +1,289 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "action_labels": [
3
+ "NOOP",
4
+ "FIRE",
5
+ "RIGHT",
6
+ "LEFT",
7
+ "RIGHTFIRE",
8
+ "LEFTFIRE"
9
+ ],
10
+ "action_layout": "demon_attack_discrete",
11
+ "base_prompt": "You are playing Demon Attack from a single game image. Choose exactly one action from: NOOP, FIRE, RIGHT, LEFT, RIGHTFIRE, LEFTFIRE. Survive, avoid enemy fire, and shoot enemies to maximize score.",
12
+ "checkpoint_config": {
13
+ "action_repeat": 4,
14
+ "actor_critic_share_weights": true,
15
+ "actor_worker_gpus": [],
16
+ "adam_beta1": 0.9,
17
+ "adam_beta2": 0.999,
18
+ "adam_eps": 1e-05,
19
+ "adaptive_stddev": true,
20
+ "add_latency_info": false,
21
+ "algo": "APPO",
22
+ "async_rl": true,
23
+ "batch_size": 1024,
24
+ "batched_sampling": true,
25
+ "benchmark": false,
26
+ "cli_args": {
27
+ "action_repeat": 4,
28
+ "add_latency_info": false,
29
+ "algo": "APPO",
30
+ "async_rl": true,
31
+ "batch_size": 1024,
32
+ "batched_sampling": true,
33
+ "clip_reward": true,
34
+ "device": "gpu",
35
+ "env": "latency_demon_attack",
36
+ "env_id": "ALE/DemonAttack-v5",
37
+ "episode_metrics_path": "results/checkpoints/demon_attack_sf_same_latency_l0_seed0/episode_metrics.jsonl",
38
+ "episodes_per_stage": 10,
39
+ "eval_deterministic": true,
40
+ "eval_episodes": 20,
41
+ "eval_max_steps": 3600,
42
+ "eval_queue_latency_values": "0,1,2,3,4,5,10,15",
43
+ "eval_raw_reward": true,
44
+ "experiment": "demon_attack_sf_same_latency_l0_seed0",
45
+ "experiment_summaries_interval": 1,
46
+ "frame_stack": 4,
47
+ "full_action_space": false,
48
+ "gae_lambda": 0.95,
49
+ "gamma": 0.99,
50
+ "keep_checkpoints": 5,
51
+ "latency_mode": "episode_fixed",
52
+ "latency_sampling_mode": "uniform_all",
53
+ "learning_rate": 0.000303,
54
+ "max_episode_steps": 25000,
55
+ "max_grad_norm": 0.0,
56
+ "mode": "train",
57
+ "noop_max": 30,
58
+ "normalize_input": true,
59
+ "normalize_returns": true,
60
+ "num_batches_per_epoch": 2,
61
+ "num_envs_per_worker": 4,
62
+ "num_epochs": 2,
63
+ "num_policies": 1,
64
+ "num_workers": 16,
65
+ "ppo_clip_ratio": 0.1,
66
+ "ppo_clip_value": 0.2,
67
+ "queue_latency_values": "0",
68
+ "randomize_within_stage": false,
69
+ "recurrence": 32,
70
+ "repeat_action_probability": 0.0,
71
+ "restart_behavior": "overwrite",
72
+ "rollout": 128,
73
+ "save_every_sec": 600,
74
+ "screen_size": 84,
75
+ "seed": 0,
76
+ "stats_avg": 100,
77
+ "terminal_on_life_loss": true,
78
+ "train_dir": "results/checkpoints",
79
+ "train_for_env_steps": 50000000,
80
+ "use_rnn": false,
81
+ "value_loss_coeff": 0.5,
82
+ "wandb_group": "demon_attack",
83
+ "wandb_job_type": "sample_factory",
84
+ "wandb_project": "latency-sensitive-bench",
85
+ "with_wandb": true,
86
+ "within_episode_change_interval": 1,
87
+ "within_episode_change_prob": 1.0,
88
+ "worker_num_splits": 2
89
+ },
90
+ "clip_reward": true,
91
+ "command_line": "--mode train --algo APPO --env latency_demon_attack --experiment demon_attack_sf_same_latency_l0_seed0 --train_dir results/checkpoints --restart_behavior overwrite --device gpu --seed 0 --episode_metrics_path results/checkpoints/demon_attack_sf_same_latency_l0_seed0/episode_metrics.jsonl --train_for_env_steps 50000000 --num_workers 16 --num_envs_per_worker 4 --num_policies 1 --batch_size 1024 --rollout 128 --recurrence 32 --num_epochs 2 --num_batches_per_epoch 2 --worker_num_splits 2 --learning_rate 0.000303 --gamma 0.99 --gae_lambda 0.95 --ppo_clip_ratio 0.1 --ppo_clip_value 0.2 --value_loss_coeff 0.5 --max_grad_norm 0.0 --save_every_sec 600 --keep_checkpoints 5 --stats_avg 100 --experiment_summaries_interval 1 --async_rl True --batched_sampling True --use_rnn False --normalize_returns True --normalize_input True --queue-latency-values 0 --latency-mode episode_fixed --latency-sampling-mode uniform_all --episodes-per-stage 10 --randomize-within-stage False --within-episode-change-interval 1 --within-episode-change-prob 1.0 --add-latency-info False --eval-episodes 20 --eval-queue-latency-values 0,1,2,3,4,5,10,15 --eval-max-steps 3600 --eval-deterministic True --eval-raw-reward --with_wandb True --wandb_project latency-sensitive-bench --wandb_group demon_attack --wandb_job_type sample_factory --env_id ALE/DemonAttack-v5 --screen_size 84 --noop_max 30 --action_repeat 4 --frame_stack 4 --terminal_on_life_loss True --clip_reward True --repeat_action_probability 0.0 --full_action_space False --max_episode_steps 25000",
92
+ "continuous_tanh_scale": 0.0,
93
+ "decoder_mlp_layers": [],
94
+ "decorrelate_envs_on_one_worker": true,
95
+ "decorrelate_experience_max_seconds": 0,
96
+ "default_niceness": 0,
97
+ "device": "gpu",
98
+ "encoder_conv_architecture": "convnet_atari",
99
+ "encoder_conv_mlp_layers": [
100
+ 512
101
+ ],
102
+ "encoder_mlp_layers": [
103
+ 512,
104
+ 512
105
+ ],
106
+ "env": "latency_demon_attack",
107
+ "env_frameskip": 1,
108
+ "env_framestack": 1,
109
+ "env_gpu_actions": false,
110
+ "env_gpu_observations": true,
111
+ "env_id": "ALE/DemonAttack-v5",
112
+ "episode_metrics_path": "results/checkpoints/demon_attack_sf_same_latency_l0_seed0/episode_metrics.jsonl",
113
+ "episodes_per_stage": 10,
114
+ "eval_deterministic": true,
115
+ "eval_episodes": 20,
116
+ "eval_max_steps": 3600,
117
+ "eval_queue_latency_values": "0,1,2,3,4,5,10,15",
118
+ "eval_raw_reward": true,
119
+ "experiment": "demon_attack_sf_same_latency_l0_seed0",
120
+ "experiment_summaries_interval": 1,
121
+ "exploration_loss": "entropy",
122
+ "exploration_loss_coeff": 0.003,
123
+ "flush_summaries_interval": 30,
124
+ "force_envs_single_thread": false,
125
+ "frame_stack": 4,
126
+ "full_action_space": false,
127
+ "gae_lambda": 0.95,
128
+ "gamma": 0.99,
129
+ "git_hash": "41bc95edbf670a1190d128da22e9cd3777b87989",
130
+ "git_repo_name": "git@github.com:ZihanWang314/latency-sensitive-bench.git",
131
+ "heartbeat_interval": 20,
132
+ "heartbeat_reporting_interval": 180,
133
+ "help": false,
134
+ "initial_stddev": 1.0,
135
+ "keep_checkpoints": 5,
136
+ "kl_loss_coeff": 0.0,
137
+ "latency_mode": "episode_fixed",
138
+ "latency_sampling_mode": "uniform_all",
139
+ "learning_rate": 0.000303,
140
+ "load_checkpoint_kind": "latest",
141
+ "log_to_file": true,
142
+ "lr_adaptive_max": 0.01,
143
+ "lr_adaptive_min": 1e-06,
144
+ "lr_schedule": "linear_decay",
145
+ "lr_schedule_kl_threshold": 0.008,
146
+ "max_episode_steps": 25000,
147
+ "max_grad_norm": 0.0,
148
+ "max_policy_lag": 1000,
149
+ "mode": "train",
150
+ "nonlinearity": "elu",
151
+ "noop_max": 30,
152
+ "normalize_input": true,
153
+ "normalize_input_keys": null,
154
+ "normalize_returns": true,
155
+ "num_batches_per_epoch": 2,
156
+ "num_batches_to_accumulate": 2,
157
+ "num_envs_per_worker": 4,
158
+ "num_epochs": 2,
159
+ "num_policies": 1,
160
+ "num_workers": 16,
161
+ "obs_scale": 255.0,
162
+ "obs_subtract_mean": 0.0,
163
+ "optimizer": "adam",
164
+ "output_dir": "outputs/train/demon_attack/latency_0/seed_0",
165
+ "pbt_mix_policies_in_one_env": true,
166
+ "pbt_mutation_rate": 0.15,
167
+ "pbt_optimize_gamma": false,
168
+ "pbt_period_env_steps": 5000000,
169
+ "pbt_perturb_max": 1.5,
170
+ "pbt_perturb_min": 1.1,
171
+ "pbt_replace_fraction": 0.3,
172
+ "pbt_replace_reward_gap": 0.1,
173
+ "pbt_replace_reward_gap_absolute": 1e-06,
174
+ "pbt_start_mutation": 20000000,
175
+ "pbt_target_objective": "true_objective",
176
+ "pixel_format": "CHW",
177
+ "policy_init_gain": 1.0,
178
+ "policy_initialization": "orthogonal",
179
+ "policy_workers_per_policy": 1,
180
+ "ppo_clip_ratio": 0.1,
181
+ "ppo_clip_value": 0.2,
182
+ "queue_latency_values": "0",
183
+ "randomize_within_stage": false,
184
+ "recurrence": 32,
185
+ "repeat_action_probability": 0.0,
186
+ "restart_behavior": "overwrite",
187
+ "reward_clip": 1000.0,
188
+ "reward_scale": 1.0,
189
+ "rnn_num_layers": 1,
190
+ "rnn_size": 512,
191
+ "rnn_type": "gru",
192
+ "rollout": 128,
193
+ "save_best_after": 100000,
194
+ "save_best_every_sec": 5,
195
+ "save_best_metric": "reward",
196
+ "save_every_sec": 600,
197
+ "save_milestones_sec": -1,
198
+ "screen_size": 84,
199
+ "seed": 0,
200
+ "serial_mode": false,
201
+ "set_workers_cpu_affinity": true,
202
+ "shuffle_minibatches": false,
203
+ "stats_avg": 100,
204
+ "summaries_use_frameskip": true,
205
+ "terminal_on_life_loss": true,
206
+ "train_dir": "results/checkpoints",
207
+ "train_for_env_steps": 50000000,
208
+ "train_for_seconds": 10000000000,
209
+ "use_env_info_cache": false,
210
+ "use_record_episode_statistics": false,
211
+ "use_rnn": false,
212
+ "value_bootstrap": false,
213
+ "value_loss_coeff": 0.5,
214
+ "vtrace_c": 1.0,
215
+ "vtrace_rho": 1.0,
216
+ "wandb_group": "demon_attack",
217
+ "wandb_job_type": "sample_factory",
218
+ "wandb_project": "latency-sensitive-bench",
219
+ "wandb_tags": [],
220
+ "wandb_unique_id": "demon-attack-l0-s0",
221
+ "wandb_user": null,
222
+ "with_pbt": false,
223
+ "with_vtrace": false,
224
+ "with_wandb": true,
225
+ "within_episode_change_interval": 1,
226
+ "within_episode_change_prob": 1.0,
227
+ "worker_num_splits": 2
228
+ },
229
+ "checkpoint_experiment_dir": "/workspace/latency-sensitive-bench/checkpoints/demon_attack_sf_same_latency_l0_seed0",
230
+ "checkpoint_path": null,
231
+ "checkpoint_train_step": 97664,
232
+ "config_source": "/workspace/latency-sensitive-bench/checkpoints/demon_attack_sf_same_latency_l0_seed0/config.json",
233
+ "env_fps": 60.0,
234
+ "env_name": "demon_attack",
235
+ "episode_return_field": "episode_raw_return",
236
+ "filter_preset": "clean_v1",
237
+ "filter_report": {
238
+ "accepted_episodes": 200,
239
+ "accepted_train_episodes": 180,
240
+ "accepted_val_episodes": 20,
241
+ "attempted_episodes": 282,
242
+ "preset": "clean_v1",
243
+ "raw_score_bins": {
244
+ "6460-6889": 0,
245
+ "6890-7309": 0,
246
+ "7310-7999": 91,
247
+ "<6460": 0,
248
+ ">=8000": 109
249
+ },
250
+ "rejected_episodes": 82,
251
+ "train_rows_after_row_filter": 435000,
252
+ "train_rows_before_row_filter": 648000,
253
+ "val_rows_after_row_filter": 68014,
254
+ "val_rows_before_row_filter": 72000
255
+ },
256
+ "frame_stack": 4,
257
+ "image_resolution": [
258
+ 210,
259
+ 160,
260
+ 3
261
+ ],
262
+ "image_source": "env_raw_rgb",
263
+ "latency_override": {
264
+ "add_latency_info": false,
265
+ "fixed_latency_ms": 0.0,
266
+ "type": "fixed"
267
+ },
268
+ "latency_source": "legacy_checkpoint_name",
269
+ "max_episodes": 200,
270
+ "max_steps_per_episode": 3600,
271
+ "num_envs": 512,
272
+ "obs_fps": 15.0,
273
+ "obs_stride_raw_frames": 4,
274
+ "prompt_source": "latency_bench.data.prompts",
275
+ "prompt_timing_suffix": " Current action latency is {latency_raw_frames} raw frames ({latency_ms:.2f} ms). The environment runs at {env_fps:g} FPS and observations are emitted at {obs_fps:g} FPS. Choose the best next action.",
276
+ "replay_num_envs": 16,
277
+ "reward_field": "raw_reward",
278
+ "reward_semantics": "raw_reward",
279
+ "rows_unit": "decision_step",
280
+ "schema_version": 2,
281
+ "split_seed": 0,
282
+ "total_episodes": 200,
283
+ "total_rows": 503014,
284
+ "train_episodes": 180,
285
+ "train_rows": 435000,
286
+ "val_episodes": 20,
287
+ "val_fraction": 0.1,
288
+ "val_rows": 68014
289
+ }
latency-aware/demon-attack/training_versions/demon_attack_200ep/0481972d94f6409a392c5b035f9a7f5c2681a96d/demon_attack_fix_latency_0_200ep/train.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fcceb2dd4cfc7c2a088142612533e5bdbf65e61067f20e31928a0e30ab2d0958
3
+ size 256157082
latency-aware/demon-attack/training_versions/demon_attack_200ep/0481972d94f6409a392c5b035f9a7f5c2681a96d/demon_attack_fix_latency_0_200ep/val.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:900cebe2cd7ac9be11c1c80f1f7f0abf7243bb610d555567f006069b8b4a83c6
3
+ size 39825924
latency-aware/demon-attack/training_versions/demon_attack_200ep/0481972d94f6409a392c5b035f9a7f5c2681a96d/demon_attack_fix_latency_2_200ep/filter_report.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "accepted_episodes": 200,
3
+ "accepted_train_episodes": 180,
4
+ "accepted_val_episodes": 20,
5
+ "attempted_episodes": 904,
6
+ "preset": "clean_v1",
7
+ "raw_score_bins": {
8
+ "6460-6889": 0,
9
+ "6890-7309": 0,
10
+ "7310-7999": 128,
11
+ "<6460": 0,
12
+ ">=8000": 72
13
+ },
14
+ "rejected_episodes": 704,
15
+ "train_rows_after_row_filter": 349558,
16
+ "train_rows_before_row_filter": 611368,
17
+ "val_rows_after_row_filter": 52326,
18
+ "val_rows_before_row_filter": 69880
19
+ }
latency-aware/demon-attack/training_versions/demon_attack_200ep/0481972d94f6409a392c5b035f9a7f5c2681a96d/demon_attack_fix_latency_2_200ep/metadata.json ADDED
@@ -0,0 +1,289 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "action_labels": [
3
+ "NOOP",
4
+ "FIRE",
5
+ "RIGHT",
6
+ "LEFT",
7
+ "RIGHTFIRE",
8
+ "LEFTFIRE"
9
+ ],
10
+ "action_layout": "demon_attack_discrete",
11
+ "base_prompt": "You are playing Demon Attack from a single game image. Choose exactly one action from: NOOP, FIRE, RIGHT, LEFT, RIGHTFIRE, LEFTFIRE. Survive, avoid enemy fire, and shoot enemies to maximize score.",
12
+ "checkpoint_config": {
13
+ "action_repeat": 4,
14
+ "actor_critic_share_weights": true,
15
+ "actor_worker_gpus": [],
16
+ "adam_beta1": 0.9,
17
+ "adam_beta2": 0.999,
18
+ "adam_eps": 1e-05,
19
+ "adaptive_stddev": true,
20
+ "add_latency_info": false,
21
+ "algo": "APPO",
22
+ "async_rl": true,
23
+ "batch_size": 1024,
24
+ "batched_sampling": true,
25
+ "benchmark": false,
26
+ "cli_args": {
27
+ "action_repeat": 4,
28
+ "add_latency_info": false,
29
+ "algo": "APPO",
30
+ "async_rl": true,
31
+ "batch_size": 1024,
32
+ "batched_sampling": true,
33
+ "clip_reward": true,
34
+ "device": "gpu",
35
+ "env": "latency_demon_attack",
36
+ "env_id": "ALE/DemonAttack-v5",
37
+ "episode_metrics_path": "results/checkpoints/demon_attack_sf_same_latency_l2_seed0/episode_metrics.jsonl",
38
+ "episodes_per_stage": 10,
39
+ "eval_deterministic": true,
40
+ "eval_episodes": 20,
41
+ "eval_max_steps": 3600,
42
+ "eval_queue_latency_values": "0,1,2,3,4,5,10,15",
43
+ "eval_raw_reward": true,
44
+ "experiment": "demon_attack_sf_same_latency_l2_seed0",
45
+ "experiment_summaries_interval": 1,
46
+ "frame_stack": 4,
47
+ "full_action_space": false,
48
+ "gae_lambda": 0.95,
49
+ "gamma": 0.99,
50
+ "keep_checkpoints": 5,
51
+ "latency_mode": "episode_fixed",
52
+ "latency_sampling_mode": "uniform_all",
53
+ "learning_rate": 0.000303,
54
+ "max_episode_steps": 25000,
55
+ "max_grad_norm": 0.0,
56
+ "mode": "train",
57
+ "noop_max": 30,
58
+ "normalize_input": true,
59
+ "normalize_returns": true,
60
+ "num_batches_per_epoch": 2,
61
+ "num_envs_per_worker": 4,
62
+ "num_epochs": 2,
63
+ "num_policies": 1,
64
+ "num_workers": 16,
65
+ "ppo_clip_ratio": 0.1,
66
+ "ppo_clip_value": 0.2,
67
+ "queue_latency_values": "2",
68
+ "randomize_within_stage": false,
69
+ "recurrence": 32,
70
+ "repeat_action_probability": 0.0,
71
+ "restart_behavior": "overwrite",
72
+ "rollout": 128,
73
+ "save_every_sec": 600,
74
+ "screen_size": 84,
75
+ "seed": 0,
76
+ "stats_avg": 100,
77
+ "terminal_on_life_loss": true,
78
+ "train_dir": "results/checkpoints",
79
+ "train_for_env_steps": 50000000,
80
+ "use_rnn": false,
81
+ "value_loss_coeff": 0.5,
82
+ "wandb_group": "demon_attack",
83
+ "wandb_job_type": "sample_factory",
84
+ "wandb_project": "latency-sensitive-bench",
85
+ "with_wandb": true,
86
+ "within_episode_change_interval": 1,
87
+ "within_episode_change_prob": 1.0,
88
+ "worker_num_splits": 2
89
+ },
90
+ "clip_reward": true,
91
+ "command_line": "--mode train --algo APPO --env latency_demon_attack --experiment demon_attack_sf_same_latency_l2_seed0 --train_dir results/checkpoints --restart_behavior overwrite --device gpu --seed 0 --episode_metrics_path results/checkpoints/demon_attack_sf_same_latency_l2_seed0/episode_metrics.jsonl --train_for_env_steps 50000000 --num_workers 16 --num_envs_per_worker 4 --num_policies 1 --batch_size 1024 --rollout 128 --recurrence 32 --num_epochs 2 --num_batches_per_epoch 2 --worker_num_splits 2 --learning_rate 0.000303 --gamma 0.99 --gae_lambda 0.95 --ppo_clip_ratio 0.1 --ppo_clip_value 0.2 --value_loss_coeff 0.5 --max_grad_norm 0.0 --save_every_sec 600 --keep_checkpoints 5 --stats_avg 100 --experiment_summaries_interval 1 --async_rl True --batched_sampling True --use_rnn False --normalize_returns True --normalize_input True --queue-latency-values 2 --latency-mode episode_fixed --latency-sampling-mode uniform_all --episodes-per-stage 10 --randomize-within-stage False --within-episode-change-interval 1 --within-episode-change-prob 1.0 --add-latency-info False --eval-episodes 20 --eval-queue-latency-values 0,1,2,3,4,5,10,15 --eval-max-steps 3600 --eval-deterministic True --eval-raw-reward --with_wandb True --wandb_project latency-sensitive-bench --wandb_group demon_attack --wandb_job_type sample_factory --env_id ALE/DemonAttack-v5 --screen_size 84 --noop_max 30 --action_repeat 4 --frame_stack 4 --terminal_on_life_loss True --clip_reward True --repeat_action_probability 0.0 --full_action_space False --max_episode_steps 25000",
92
+ "continuous_tanh_scale": 0.0,
93
+ "decoder_mlp_layers": [],
94
+ "decorrelate_envs_on_one_worker": true,
95
+ "decorrelate_experience_max_seconds": 0,
96
+ "default_niceness": 0,
97
+ "device": "gpu",
98
+ "encoder_conv_architecture": "convnet_atari",
99
+ "encoder_conv_mlp_layers": [
100
+ 512
101
+ ],
102
+ "encoder_mlp_layers": [
103
+ 512,
104
+ 512
105
+ ],
106
+ "env": "latency_demon_attack",
107
+ "env_frameskip": 1,
108
+ "env_framestack": 1,
109
+ "env_gpu_actions": false,
110
+ "env_gpu_observations": true,
111
+ "env_id": "ALE/DemonAttack-v5",
112
+ "episode_metrics_path": "results/checkpoints/demon_attack_sf_same_latency_l2_seed0/episode_metrics.jsonl",
113
+ "episodes_per_stage": 10,
114
+ "eval_deterministic": true,
115
+ "eval_episodes": 20,
116
+ "eval_max_steps": 3600,
117
+ "eval_queue_latency_values": "0,1,2,3,4,5,10,15",
118
+ "eval_raw_reward": true,
119
+ "experiment": "demon_attack_sf_same_latency_l2_seed0",
120
+ "experiment_summaries_interval": 1,
121
+ "exploration_loss": "entropy",
122
+ "exploration_loss_coeff": 0.003,
123
+ "flush_summaries_interval": 30,
124
+ "force_envs_single_thread": false,
125
+ "frame_stack": 4,
126
+ "full_action_space": false,
127
+ "gae_lambda": 0.95,
128
+ "gamma": 0.99,
129
+ "git_hash": "41bc95edbf670a1190d128da22e9cd3777b87989",
130
+ "git_repo_name": "git@github.com:ZihanWang314/latency-sensitive-bench.git",
131
+ "heartbeat_interval": 20,
132
+ "heartbeat_reporting_interval": 180,
133
+ "help": false,
134
+ "initial_stddev": 1.0,
135
+ "keep_checkpoints": 5,
136
+ "kl_loss_coeff": 0.0,
137
+ "latency_mode": "episode_fixed",
138
+ "latency_sampling_mode": "uniform_all",
139
+ "learning_rate": 0.000303,
140
+ "load_checkpoint_kind": "latest",
141
+ "log_to_file": true,
142
+ "lr_adaptive_max": 0.01,
143
+ "lr_adaptive_min": 1e-06,
144
+ "lr_schedule": "linear_decay",
145
+ "lr_schedule_kl_threshold": 0.008,
146
+ "max_episode_steps": 25000,
147
+ "max_grad_norm": 0.0,
148
+ "max_policy_lag": 1000,
149
+ "mode": "train",
150
+ "nonlinearity": "elu",
151
+ "noop_max": 30,
152
+ "normalize_input": true,
153
+ "normalize_input_keys": null,
154
+ "normalize_returns": true,
155
+ "num_batches_per_epoch": 2,
156
+ "num_batches_to_accumulate": 2,
157
+ "num_envs_per_worker": 4,
158
+ "num_epochs": 2,
159
+ "num_policies": 1,
160
+ "num_workers": 16,
161
+ "obs_scale": 255.0,
162
+ "obs_subtract_mean": 0.0,
163
+ "optimizer": "adam",
164
+ "output_dir": "outputs/train/demon_attack/latency_2/seed_0",
165
+ "pbt_mix_policies_in_one_env": true,
166
+ "pbt_mutation_rate": 0.15,
167
+ "pbt_optimize_gamma": false,
168
+ "pbt_period_env_steps": 5000000,
169
+ "pbt_perturb_max": 1.5,
170
+ "pbt_perturb_min": 1.1,
171
+ "pbt_replace_fraction": 0.3,
172
+ "pbt_replace_reward_gap": 0.1,
173
+ "pbt_replace_reward_gap_absolute": 1e-06,
174
+ "pbt_start_mutation": 20000000,
175
+ "pbt_target_objective": "true_objective",
176
+ "pixel_format": "CHW",
177
+ "policy_init_gain": 1.0,
178
+ "policy_initialization": "orthogonal",
179
+ "policy_workers_per_policy": 1,
180
+ "ppo_clip_ratio": 0.1,
181
+ "ppo_clip_value": 0.2,
182
+ "queue_latency_values": "2",
183
+ "randomize_within_stage": false,
184
+ "recurrence": 32,
185
+ "repeat_action_probability": 0.0,
186
+ "restart_behavior": "overwrite",
187
+ "reward_clip": 1000.0,
188
+ "reward_scale": 1.0,
189
+ "rnn_num_layers": 1,
190
+ "rnn_size": 512,
191
+ "rnn_type": "gru",
192
+ "rollout": 128,
193
+ "save_best_after": 100000,
194
+ "save_best_every_sec": 5,
195
+ "save_best_metric": "reward",
196
+ "save_every_sec": 600,
197
+ "save_milestones_sec": -1,
198
+ "screen_size": 84,
199
+ "seed": 0,
200
+ "serial_mode": false,
201
+ "set_workers_cpu_affinity": true,
202
+ "shuffle_minibatches": false,
203
+ "stats_avg": 100,
204
+ "summaries_use_frameskip": true,
205
+ "terminal_on_life_loss": true,
206
+ "train_dir": "results/checkpoints",
207
+ "train_for_env_steps": 50000000,
208
+ "train_for_seconds": 10000000000,
209
+ "use_env_info_cache": false,
210
+ "use_record_episode_statistics": false,
211
+ "use_rnn": false,
212
+ "value_bootstrap": false,
213
+ "value_loss_coeff": 0.5,
214
+ "vtrace_c": 1.0,
215
+ "vtrace_rho": 1.0,
216
+ "wandb_group": "demon_attack",
217
+ "wandb_job_type": "sample_factory",
218
+ "wandb_project": "latency-sensitive-bench",
219
+ "wandb_tags": [],
220
+ "wandb_unique_id": "demon-attack-l2-s0",
221
+ "wandb_user": null,
222
+ "with_pbt": false,
223
+ "with_vtrace": false,
224
+ "with_wandb": true,
225
+ "within_episode_change_interval": 1,
226
+ "within_episode_change_prob": 1.0,
227
+ "worker_num_splits": 2
228
+ },
229
+ "checkpoint_experiment_dir": "/inspire/hdd/global_user/liumingyu-253208120284/lzj/latency-sensitive-bench/checkpoints/demon_attack_sf_same_latency_l2_seed0",
230
+ "checkpoint_path": null,
231
+ "checkpoint_train_step": 97664,
232
+ "config_source": "/inspire/hdd/global_user/liumingyu-253208120284/lzj/latency-sensitive-bench/checkpoints/demon_attack_sf_same_latency_l2_seed0/config.json",
233
+ "env_fps": 60.0,
234
+ "env_name": "demon_attack",
235
+ "episode_return_field": "episode_raw_return",
236
+ "filter_preset": "clean_v1",
237
+ "filter_report": {
238
+ "accepted_episodes": 200,
239
+ "accepted_train_episodes": 180,
240
+ "accepted_val_episodes": 20,
241
+ "attempted_episodes": 904,
242
+ "preset": "clean_v1",
243
+ "raw_score_bins": {
244
+ "6460-6889": 0,
245
+ "6890-7309": 0,
246
+ "7310-7999": 128,
247
+ "<6460": 0,
248
+ ">=8000": 72
249
+ },
250
+ "rejected_episodes": 704,
251
+ "train_rows_after_row_filter": 349558,
252
+ "train_rows_before_row_filter": 611368,
253
+ "val_rows_after_row_filter": 52326,
254
+ "val_rows_before_row_filter": 69880
255
+ },
256
+ "frame_stack": 4,
257
+ "image_resolution": [
258
+ 210,
259
+ 160,
260
+ 3
261
+ ],
262
+ "image_source": "env_raw_rgb",
263
+ "latency_override": {
264
+ "add_latency_info": false,
265
+ "fixed_latency_ms": 133.33333333333334,
266
+ "type": "fixed"
267
+ },
268
+ "latency_source": "legacy_checkpoint_name",
269
+ "max_episodes": 200,
270
+ "max_steps_per_episode": 3600,
271
+ "num_envs": 64,
272
+ "obs_fps": 15.0,
273
+ "obs_stride_raw_frames": 4,
274
+ "prompt_source": "latency_bench.data.prompts",
275
+ "prompt_timing_suffix": " Current action latency is {latency_raw_frames} raw frames ({latency_ms:.2f} ms). The environment runs at {env_fps:g} FPS and observations are emitted at {obs_fps:g} FPS. Choose the best next action.",
276
+ "replay_num_envs": 16,
277
+ "reward_field": "raw_reward",
278
+ "reward_semantics": "raw_reward",
279
+ "rows_unit": "decision_step",
280
+ "schema_version": 2,
281
+ "split_seed": 0,
282
+ "total_episodes": 200,
283
+ "total_rows": 401884,
284
+ "train_episodes": 180,
285
+ "train_rows": 349558,
286
+ "val_episodes": 20,
287
+ "val_fraction": 0.1,
288
+ "val_rows": 52326
289
+ }
latency-aware/demon-attack/training_versions/demon_attack_200ep/0481972d94f6409a392c5b035f9a7f5c2681a96d/demon_attack_fix_latency_2_200ep/train.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ed5ffa693f9dbbabc448992bd5b9cafcfc1c94fa7e173b0b3653e27d3699c552
3
+ size 204947383
latency-aware/demon-attack/training_versions/demon_attack_200ep/0481972d94f6409a392c5b035f9a7f5c2681a96d/demon_attack_fix_latency_2_200ep/val.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:78a1a4c69f601d9333ae092f69254233d66c48f39b804d0fbed619926f45771f
3
+ size 30312545
latency-aware/demon-attack/training_versions/demon_attack_200ep/0481972d94f6409a392c5b035f9a7f5c2681a96d/demon_attack_fix_latency_4_200ep/filter_report.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "accepted_episodes": 200,
3
+ "accepted_train_episodes": 180,
4
+ "accepted_val_episodes": 20,
5
+ "attempted_episodes": 1676,
6
+ "preset": "clean_v1",
7
+ "raw_score_bins": {
8
+ "6460-6889": 0,
9
+ "6890-7309": 0,
10
+ "7310-7999": 0,
11
+ "<6460": 200,
12
+ ">=8000": 0
13
+ },
14
+ "rejected_episodes": 1476,
15
+ "train_rows_after_row_filter": 332733,
16
+ "train_rows_before_row_filter": 644374,
17
+ "val_rows_after_row_filter": 60809,
18
+ "val_rows_before_row_filter": 71689
19
+ }
latency-aware/demon-attack/training_versions/demon_attack_200ep/0481972d94f6409a392c5b035f9a7f5c2681a96d/demon_attack_fix_latency_4_200ep/metadata.json ADDED
@@ -0,0 +1,289 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "action_labels": [
3
+ "NOOP",
4
+ "FIRE",
5
+ "RIGHT",
6
+ "LEFT",
7
+ "RIGHTFIRE",
8
+ "LEFTFIRE"
9
+ ],
10
+ "action_layout": "demon_attack_discrete",
11
+ "base_prompt": "You are playing Demon Attack from a single game image. Choose exactly one action from: NOOP, FIRE, RIGHT, LEFT, RIGHTFIRE, LEFTFIRE. Survive, avoid enemy fire, and shoot enemies to maximize score.",
12
+ "checkpoint_config": {
13
+ "action_repeat": 4,
14
+ "actor_critic_share_weights": true,
15
+ "actor_worker_gpus": [],
16
+ "adam_beta1": 0.9,
17
+ "adam_beta2": 0.999,
18
+ "adam_eps": 1e-05,
19
+ "adaptive_stddev": true,
20
+ "add_latency_info": false,
21
+ "algo": "APPO",
22
+ "async_rl": true,
23
+ "batch_size": 1024,
24
+ "batched_sampling": true,
25
+ "benchmark": false,
26
+ "cli_args": {
27
+ "action_repeat": 4,
28
+ "add_latency_info": false,
29
+ "algo": "APPO",
30
+ "async_rl": true,
31
+ "batch_size": 1024,
32
+ "batched_sampling": true,
33
+ "clip_reward": true,
34
+ "device": "gpu",
35
+ "env": "latency_demon_attack",
36
+ "env_id": "ALE/DemonAttack-v5",
37
+ "episode_metrics_path": "results/checkpoints/demon_attack_sf_same_latency_l4_seed0/episode_metrics.jsonl",
38
+ "episodes_per_stage": 10,
39
+ "eval_deterministic": true,
40
+ "eval_episodes": 20,
41
+ "eval_max_steps": 3600,
42
+ "eval_queue_latency_values": "0,1,2,3,4,5,10,15",
43
+ "eval_raw_reward": true,
44
+ "experiment": "demon_attack_sf_same_latency_l4_seed0",
45
+ "experiment_summaries_interval": 1,
46
+ "frame_stack": 4,
47
+ "full_action_space": false,
48
+ "gae_lambda": 0.95,
49
+ "gamma": 0.99,
50
+ "keep_checkpoints": 5,
51
+ "latency_mode": "episode_fixed",
52
+ "latency_sampling_mode": "uniform_all",
53
+ "learning_rate": 0.000303,
54
+ "max_episode_steps": 25000,
55
+ "max_grad_norm": 0.0,
56
+ "mode": "train",
57
+ "noop_max": 30,
58
+ "normalize_input": true,
59
+ "normalize_returns": true,
60
+ "num_batches_per_epoch": 2,
61
+ "num_envs_per_worker": 4,
62
+ "num_epochs": 2,
63
+ "num_policies": 1,
64
+ "num_workers": 16,
65
+ "ppo_clip_ratio": 0.1,
66
+ "ppo_clip_value": 0.2,
67
+ "queue_latency_values": "4",
68
+ "randomize_within_stage": false,
69
+ "recurrence": 32,
70
+ "repeat_action_probability": 0.0,
71
+ "restart_behavior": "overwrite",
72
+ "rollout": 128,
73
+ "save_every_sec": 600,
74
+ "screen_size": 84,
75
+ "seed": 0,
76
+ "stats_avg": 100,
77
+ "terminal_on_life_loss": true,
78
+ "train_dir": "results/checkpoints",
79
+ "train_for_env_steps": 50000000,
80
+ "use_rnn": false,
81
+ "value_loss_coeff": 0.5,
82
+ "wandb_group": "demon_attack",
83
+ "wandb_job_type": "sample_factory",
84
+ "wandb_project": "latency-sensitive-bench",
85
+ "with_wandb": true,
86
+ "within_episode_change_interval": 1,
87
+ "within_episode_change_prob": 1.0,
88
+ "worker_num_splits": 2
89
+ },
90
+ "clip_reward": true,
91
+ "command_line": "--mode train --algo APPO --env latency_demon_attack --experiment demon_attack_sf_same_latency_l4_seed0 --train_dir results/checkpoints --restart_behavior overwrite --device gpu --seed 0 --episode_metrics_path results/checkpoints/demon_attack_sf_same_latency_l4_seed0/episode_metrics.jsonl --train_for_env_steps 50000000 --num_workers 16 --num_envs_per_worker 4 --num_policies 1 --batch_size 1024 --rollout 128 --recurrence 32 --num_epochs 2 --num_batches_per_epoch 2 --worker_num_splits 2 --learning_rate 0.000303 --gamma 0.99 --gae_lambda 0.95 --ppo_clip_ratio 0.1 --ppo_clip_value 0.2 --value_loss_coeff 0.5 --max_grad_norm 0.0 --save_every_sec 600 --keep_checkpoints 5 --stats_avg 100 --experiment_summaries_interval 1 --async_rl True --batched_sampling True --use_rnn False --normalize_returns True --normalize_input True --queue-latency-values 4 --latency-mode episode_fixed --latency-sampling-mode uniform_all --episodes-per-stage 10 --randomize-within-stage False --within-episode-change-interval 1 --within-episode-change-prob 1.0 --add-latency-info False --eval-episodes 20 --eval-queue-latency-values 0,1,2,3,4,5,10,15 --eval-max-steps 3600 --eval-deterministic True --eval-raw-reward --with_wandb True --wandb_project latency-sensitive-bench --wandb_group demon_attack --wandb_job_type sample_factory --env_id ALE/DemonAttack-v5 --screen_size 84 --noop_max 30 --action_repeat 4 --frame_stack 4 --terminal_on_life_loss True --clip_reward True --repeat_action_probability 0.0 --full_action_space False --max_episode_steps 25000",
92
+ "continuous_tanh_scale": 0.0,
93
+ "decoder_mlp_layers": [],
94
+ "decorrelate_envs_on_one_worker": true,
95
+ "decorrelate_experience_max_seconds": 0,
96
+ "default_niceness": 0,
97
+ "device": "gpu",
98
+ "encoder_conv_architecture": "convnet_atari",
99
+ "encoder_conv_mlp_layers": [
100
+ 512
101
+ ],
102
+ "encoder_mlp_layers": [
103
+ 512,
104
+ 512
105
+ ],
106
+ "env": "latency_demon_attack",
107
+ "env_frameskip": 1,
108
+ "env_framestack": 1,
109
+ "env_gpu_actions": false,
110
+ "env_gpu_observations": true,
111
+ "env_id": "ALE/DemonAttack-v5",
112
+ "episode_metrics_path": "results/checkpoints/demon_attack_sf_same_latency_l4_seed0/episode_metrics.jsonl",
113
+ "episodes_per_stage": 10,
114
+ "eval_deterministic": true,
115
+ "eval_episodes": 20,
116
+ "eval_max_steps": 3600,
117
+ "eval_queue_latency_values": "0,1,2,3,4,5,10,15",
118
+ "eval_raw_reward": true,
119
+ "experiment": "demon_attack_sf_same_latency_l4_seed0",
120
+ "experiment_summaries_interval": 1,
121
+ "exploration_loss": "entropy",
122
+ "exploration_loss_coeff": 0.003,
123
+ "flush_summaries_interval": 30,
124
+ "force_envs_single_thread": false,
125
+ "frame_stack": 4,
126
+ "full_action_space": false,
127
+ "gae_lambda": 0.95,
128
+ "gamma": 0.99,
129
+ "git_hash": "41bc95edbf670a1190d128da22e9cd3777b87989",
130
+ "git_repo_name": "git@github.com:ZihanWang314/latency-sensitive-bench.git",
131
+ "heartbeat_interval": 20,
132
+ "heartbeat_reporting_interval": 180,
133
+ "help": false,
134
+ "initial_stddev": 1.0,
135
+ "keep_checkpoints": 5,
136
+ "kl_loss_coeff": 0.0,
137
+ "latency_mode": "episode_fixed",
138
+ "latency_sampling_mode": "uniform_all",
139
+ "learning_rate": 0.000303,
140
+ "load_checkpoint_kind": "latest",
141
+ "log_to_file": true,
142
+ "lr_adaptive_max": 0.01,
143
+ "lr_adaptive_min": 1e-06,
144
+ "lr_schedule": "linear_decay",
145
+ "lr_schedule_kl_threshold": 0.008,
146
+ "max_episode_steps": 25000,
147
+ "max_grad_norm": 0.0,
148
+ "max_policy_lag": 1000,
149
+ "mode": "train",
150
+ "nonlinearity": "elu",
151
+ "noop_max": 30,
152
+ "normalize_input": true,
153
+ "normalize_input_keys": null,
154
+ "normalize_returns": true,
155
+ "num_batches_per_epoch": 2,
156
+ "num_batches_to_accumulate": 2,
157
+ "num_envs_per_worker": 4,
158
+ "num_epochs": 2,
159
+ "num_policies": 1,
160
+ "num_workers": 16,
161
+ "obs_scale": 255.0,
162
+ "obs_subtract_mean": 0.0,
163
+ "optimizer": "adam",
164
+ "output_dir": "outputs/train/demon_attack/latency_4/seed_0",
165
+ "pbt_mix_policies_in_one_env": true,
166
+ "pbt_mutation_rate": 0.15,
167
+ "pbt_optimize_gamma": false,
168
+ "pbt_period_env_steps": 5000000,
169
+ "pbt_perturb_max": 1.5,
170
+ "pbt_perturb_min": 1.1,
171
+ "pbt_replace_fraction": 0.3,
172
+ "pbt_replace_reward_gap": 0.1,
173
+ "pbt_replace_reward_gap_absolute": 1e-06,
174
+ "pbt_start_mutation": 20000000,
175
+ "pbt_target_objective": "true_objective",
176
+ "pixel_format": "CHW",
177
+ "policy_init_gain": 1.0,
178
+ "policy_initialization": "orthogonal",
179
+ "policy_workers_per_policy": 1,
180
+ "ppo_clip_ratio": 0.1,
181
+ "ppo_clip_value": 0.2,
182
+ "queue_latency_values": "4",
183
+ "randomize_within_stage": false,
184
+ "recurrence": 32,
185
+ "repeat_action_probability": 0.0,
186
+ "restart_behavior": "overwrite",
187
+ "reward_clip": 1000.0,
188
+ "reward_scale": 1.0,
189
+ "rnn_num_layers": 1,
190
+ "rnn_size": 512,
191
+ "rnn_type": "gru",
192
+ "rollout": 128,
193
+ "save_best_after": 100000,
194
+ "save_best_every_sec": 5,
195
+ "save_best_metric": "reward",
196
+ "save_every_sec": 600,
197
+ "save_milestones_sec": -1,
198
+ "screen_size": 84,
199
+ "seed": 0,
200
+ "serial_mode": false,
201
+ "set_workers_cpu_affinity": true,
202
+ "shuffle_minibatches": false,
203
+ "stats_avg": 100,
204
+ "summaries_use_frameskip": true,
205
+ "terminal_on_life_loss": true,
206
+ "train_dir": "results/checkpoints",
207
+ "train_for_env_steps": 50000000,
208
+ "train_for_seconds": 10000000000,
209
+ "use_env_info_cache": false,
210
+ "use_record_episode_statistics": false,
211
+ "use_rnn": false,
212
+ "value_bootstrap": false,
213
+ "value_loss_coeff": 0.5,
214
+ "vtrace_c": 1.0,
215
+ "vtrace_rho": 1.0,
216
+ "wandb_group": "demon_attack",
217
+ "wandb_job_type": "sample_factory",
218
+ "wandb_project": "latency-sensitive-bench",
219
+ "wandb_tags": [],
220
+ "wandb_unique_id": "demon-attack-l4-s0",
221
+ "wandb_user": null,
222
+ "with_pbt": false,
223
+ "with_vtrace": false,
224
+ "with_wandb": true,
225
+ "within_episode_change_interval": 1,
226
+ "within_episode_change_prob": 1.0,
227
+ "worker_num_splits": 2
228
+ },
229
+ "checkpoint_experiment_dir": "/inspire/hdd/global_user/liumingyu-253208120284/lzj/latency-sensitive-bench/checkpoints/demon_attack_sf_same_latency_l4_seed0",
230
+ "checkpoint_path": null,
231
+ "checkpoint_train_step": 97664,
232
+ "config_source": "/inspire/hdd/global_user/liumingyu-253208120284/lzj/latency-sensitive-bench/checkpoints/demon_attack_sf_same_latency_l4_seed0/config.json",
233
+ "env_fps": 60.0,
234
+ "env_name": "demon_attack",
235
+ "episode_return_field": "episode_raw_return",
236
+ "filter_preset": "clean_v1",
237
+ "filter_report": {
238
+ "accepted_episodes": 200,
239
+ "accepted_train_episodes": 180,
240
+ "accepted_val_episodes": 20,
241
+ "attempted_episodes": 1676,
242
+ "preset": "clean_v1",
243
+ "raw_score_bins": {
244
+ "6460-6889": 0,
245
+ "6890-7309": 0,
246
+ "7310-7999": 0,
247
+ "<6460": 200,
248
+ ">=8000": 0
249
+ },
250
+ "rejected_episodes": 1476,
251
+ "train_rows_after_row_filter": 332733,
252
+ "train_rows_before_row_filter": 644374,
253
+ "val_rows_after_row_filter": 60809,
254
+ "val_rows_before_row_filter": 71689
255
+ },
256
+ "frame_stack": 4,
257
+ "image_resolution": [
258
+ 210,
259
+ 160,
260
+ 3
261
+ ],
262
+ "image_source": "env_raw_rgb",
263
+ "latency_override": {
264
+ "add_latency_info": false,
265
+ "fixed_latency_ms": 266.6666666666667,
266
+ "type": "fixed"
267
+ },
268
+ "latency_source": "legacy_checkpoint_name",
269
+ "max_episodes": 200,
270
+ "max_steps_per_episode": 3600,
271
+ "num_envs": 128,
272
+ "obs_fps": 15.0,
273
+ "obs_stride_raw_frames": 4,
274
+ "prompt_source": "latency_bench.data.prompts",
275
+ "prompt_timing_suffix": " Current action latency is {latency_raw_frames} raw frames ({latency_ms:.2f} ms). The environment runs at {env_fps:g} FPS and observations are emitted at {obs_fps:g} FPS. Choose the best next action.",
276
+ "replay_num_envs": 16,
277
+ "reward_field": "raw_reward",
278
+ "reward_semantics": "raw_reward",
279
+ "rows_unit": "decision_step",
280
+ "schema_version": 2,
281
+ "split_seed": 0,
282
+ "total_episodes": 200,
283
+ "total_rows": 393542,
284
+ "train_episodes": 180,
285
+ "train_rows": 332733,
286
+ "val_episodes": 20,
287
+ "val_fraction": 0.1,
288
+ "val_rows": 60809
289
+ }
latency-aware/demon-attack/training_versions/demon_attack_200ep/0481972d94f6409a392c5b035f9a7f5c2681a96d/demon_attack_fix_latency_4_200ep/train.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cbc9ea8ecc830e2f15042ef12ac52577c8db04d593047aec1e30e7f110f933a1
3
+ size 194112105
latency-aware/demon-attack/training_versions/demon_attack_200ep/0481972d94f6409a392c5b035f9a7f5c2681a96d/demon_attack_fix_latency_4_200ep/val.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8ea8cd47267494ef55f4d5e10595b5b4b2e73a51992f2fdcc910687c50fb6507
3
+ size 35026048
latency-aware/demon-attack/training_versions/demon_attack_200ep/0481972d94f6409a392c5b035f9a7f5c2681a96d/demon_attack_fix_latency_6_200ep/filter_report.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "accepted_episodes": 200,
3
+ "accepted_train_episodes": 180,
4
+ "accepted_val_episodes": 20,
5
+ "attempted_episodes": 1358,
6
+ "preset": "clean_v1",
7
+ "raw_score_bins": {
8
+ "6460-6889": 0,
9
+ "6890-7309": 0,
10
+ "7310-7999": 0,
11
+ "<6460": 200,
12
+ ">=8000": 0
13
+ },
14
+ "rejected_episodes": 1158,
15
+ "train_rows_after_row_filter": 310953,
16
+ "train_rows_before_row_filter": 619555,
17
+ "val_rows_after_row_filter": 54672,
18
+ "val_rows_before_row_filter": 68190
19
+ }
latency-aware/demon-attack/training_versions/demon_attack_200ep/0481972d94f6409a392c5b035f9a7f5c2681a96d/demon_attack_fix_latency_6_200ep/metadata.json ADDED
@@ -0,0 +1,289 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "action_labels": [
3
+ "NOOP",
4
+ "FIRE",
5
+ "RIGHT",
6
+ "LEFT",
7
+ "RIGHTFIRE",
8
+ "LEFTFIRE"
9
+ ],
10
+ "action_layout": "demon_attack_discrete",
11
+ "base_prompt": "You are playing Demon Attack from a single game image. Choose exactly one action from: NOOP, FIRE, RIGHT, LEFT, RIGHTFIRE, LEFTFIRE. Survive, avoid enemy fire, and shoot enemies to maximize score.",
12
+ "checkpoint_config": {
13
+ "action_repeat": 4,
14
+ "actor_critic_share_weights": true,
15
+ "actor_worker_gpus": [],
16
+ "adam_beta1": 0.9,
17
+ "adam_beta2": 0.999,
18
+ "adam_eps": 1e-05,
19
+ "adaptive_stddev": true,
20
+ "add_latency_info": false,
21
+ "algo": "APPO",
22
+ "async_rl": true,
23
+ "batch_size": 1024,
24
+ "batched_sampling": true,
25
+ "benchmark": false,
26
+ "cli_args": {
27
+ "action_repeat": 4,
28
+ "add_latency_info": false,
29
+ "algo": "APPO",
30
+ "async_rl": true,
31
+ "batch_size": 1024,
32
+ "batched_sampling": true,
33
+ "clip_reward": true,
34
+ "device": "gpu",
35
+ "env": "latency_demon_attack",
36
+ "env_id": "ALE/DemonAttack-v5",
37
+ "episode_metrics_path": "results/checkpoints/demon_attack_sf_same_latency_l6_seed0/episode_metrics.jsonl",
38
+ "episodes_per_stage": 10,
39
+ "eval_deterministic": true,
40
+ "eval_episodes": 20,
41
+ "eval_max_steps": 3600,
42
+ "eval_queue_latency_values": "0,1,2,3,4,5,10,15",
43
+ "eval_raw_reward": true,
44
+ "experiment": "demon_attack_sf_same_latency_l6_seed0",
45
+ "experiment_summaries_interval": 1,
46
+ "frame_stack": 4,
47
+ "full_action_space": false,
48
+ "gae_lambda": 0.95,
49
+ "gamma": 0.99,
50
+ "keep_checkpoints": 5,
51
+ "latency_mode": "episode_fixed",
52
+ "latency_sampling_mode": "uniform_all",
53
+ "learning_rate": 0.000303,
54
+ "max_episode_steps": 25000,
55
+ "max_grad_norm": 0.0,
56
+ "mode": "train",
57
+ "noop_max": 30,
58
+ "normalize_input": true,
59
+ "normalize_returns": true,
60
+ "num_batches_per_epoch": 2,
61
+ "num_envs_per_worker": 4,
62
+ "num_epochs": 2,
63
+ "num_policies": 1,
64
+ "num_workers": 16,
65
+ "ppo_clip_ratio": 0.1,
66
+ "ppo_clip_value": 0.2,
67
+ "queue_latency_values": "6",
68
+ "randomize_within_stage": false,
69
+ "recurrence": 32,
70
+ "repeat_action_probability": 0.0,
71
+ "restart_behavior": "overwrite",
72
+ "rollout": 128,
73
+ "save_every_sec": 600,
74
+ "screen_size": 84,
75
+ "seed": 0,
76
+ "stats_avg": 100,
77
+ "terminal_on_life_loss": true,
78
+ "train_dir": "results/checkpoints",
79
+ "train_for_env_steps": 50000000,
80
+ "use_rnn": false,
81
+ "value_loss_coeff": 0.5,
82
+ "wandb_group": "demon_attack",
83
+ "wandb_job_type": "sample_factory",
84
+ "wandb_project": "latency-sensitive-bench",
85
+ "with_wandb": true,
86
+ "within_episode_change_interval": 1,
87
+ "within_episode_change_prob": 1.0,
88
+ "worker_num_splits": 2
89
+ },
90
+ "clip_reward": true,
91
+ "command_line": "--mode train --algo APPO --env latency_demon_attack --experiment demon_attack_sf_same_latency_l6_seed0 --train_dir results/checkpoints --restart_behavior overwrite --device gpu --seed 0 --episode_metrics_path results/checkpoints/demon_attack_sf_same_latency_l6_seed0/episode_metrics.jsonl --train_for_env_steps 50000000 --num_workers 16 --num_envs_per_worker 4 --num_policies 1 --batch_size 1024 --rollout 128 --recurrence 32 --num_epochs 2 --num_batches_per_epoch 2 --worker_num_splits 2 --learning_rate 0.000303 --gamma 0.99 --gae_lambda 0.95 --ppo_clip_ratio 0.1 --ppo_clip_value 0.2 --value_loss_coeff 0.5 --max_grad_norm 0.0 --save_every_sec 600 --keep_checkpoints 5 --stats_avg 100 --experiment_summaries_interval 1 --async_rl True --batched_sampling True --use_rnn False --normalize_returns True --normalize_input True --queue-latency-values 6 --latency-mode episode_fixed --latency-sampling-mode uniform_all --episodes-per-stage 10 --randomize-within-stage False --within-episode-change-interval 1 --within-episode-change-prob 1.0 --add-latency-info False --eval-episodes 20 --eval-queue-latency-values 0,1,2,3,4,5,10,15 --eval-max-steps 3600 --eval-deterministic True --eval-raw-reward --with_wandb True --wandb_project latency-sensitive-bench --wandb_group demon_attack --wandb_job_type sample_factory --env_id ALE/DemonAttack-v5 --screen_size 84 --noop_max 30 --action_repeat 4 --frame_stack 4 --terminal_on_life_loss True --clip_reward True --repeat_action_probability 0.0 --full_action_space False --max_episode_steps 25000",
92
+ "continuous_tanh_scale": 0.0,
93
+ "decoder_mlp_layers": [],
94
+ "decorrelate_envs_on_one_worker": true,
95
+ "decorrelate_experience_max_seconds": 0,
96
+ "default_niceness": 0,
97
+ "device": "gpu",
98
+ "encoder_conv_architecture": "convnet_atari",
99
+ "encoder_conv_mlp_layers": [
100
+ 512
101
+ ],
102
+ "encoder_mlp_layers": [
103
+ 512,
104
+ 512
105
+ ],
106
+ "env": "latency_demon_attack",
107
+ "env_frameskip": 1,
108
+ "env_framestack": 1,
109
+ "env_gpu_actions": false,
110
+ "env_gpu_observations": true,
111
+ "env_id": "ALE/DemonAttack-v5",
112
+ "episode_metrics_path": "results/checkpoints/demon_attack_sf_same_latency_l6_seed0/episode_metrics.jsonl",
113
+ "episodes_per_stage": 10,
114
+ "eval_deterministic": true,
115
+ "eval_episodes": 20,
116
+ "eval_max_steps": 3600,
117
+ "eval_queue_latency_values": "0,1,2,3,4,5,10,15",
118
+ "eval_raw_reward": true,
119
+ "experiment": "demon_attack_sf_same_latency_l6_seed0",
120
+ "experiment_summaries_interval": 1,
121
+ "exploration_loss": "entropy",
122
+ "exploration_loss_coeff": 0.003,
123
+ "flush_summaries_interval": 30,
124
+ "force_envs_single_thread": false,
125
+ "frame_stack": 4,
126
+ "full_action_space": false,
127
+ "gae_lambda": 0.95,
128
+ "gamma": 0.99,
129
+ "git_hash": "41bc95edbf670a1190d128da22e9cd3777b87989",
130
+ "git_repo_name": "git@github.com:ZihanWang314/latency-sensitive-bench.git",
131
+ "heartbeat_interval": 20,
132
+ "heartbeat_reporting_interval": 180,
133
+ "help": false,
134
+ "initial_stddev": 1.0,
135
+ "keep_checkpoints": 5,
136
+ "kl_loss_coeff": 0.0,
137
+ "latency_mode": "episode_fixed",
138
+ "latency_sampling_mode": "uniform_all",
139
+ "learning_rate": 0.000303,
140
+ "load_checkpoint_kind": "latest",
141
+ "log_to_file": true,
142
+ "lr_adaptive_max": 0.01,
143
+ "lr_adaptive_min": 1e-06,
144
+ "lr_schedule": "linear_decay",
145
+ "lr_schedule_kl_threshold": 0.008,
146
+ "max_episode_steps": 25000,
147
+ "max_grad_norm": 0.0,
148
+ "max_policy_lag": 1000,
149
+ "mode": "train",
150
+ "nonlinearity": "elu",
151
+ "noop_max": 30,
152
+ "normalize_input": true,
153
+ "normalize_input_keys": null,
154
+ "normalize_returns": true,
155
+ "num_batches_per_epoch": 2,
156
+ "num_batches_to_accumulate": 2,
157
+ "num_envs_per_worker": 4,
158
+ "num_epochs": 2,
159
+ "num_policies": 1,
160
+ "num_workers": 16,
161
+ "obs_scale": 255.0,
162
+ "obs_subtract_mean": 0.0,
163
+ "optimizer": "adam",
164
+ "output_dir": "outputs/train/demon_attack/latency_6/seed_0",
165
+ "pbt_mix_policies_in_one_env": true,
166
+ "pbt_mutation_rate": 0.15,
167
+ "pbt_optimize_gamma": false,
168
+ "pbt_period_env_steps": 5000000,
169
+ "pbt_perturb_max": 1.5,
170
+ "pbt_perturb_min": 1.1,
171
+ "pbt_replace_fraction": 0.3,
172
+ "pbt_replace_reward_gap": 0.1,
173
+ "pbt_replace_reward_gap_absolute": 1e-06,
174
+ "pbt_start_mutation": 20000000,
175
+ "pbt_target_objective": "true_objective",
176
+ "pixel_format": "CHW",
177
+ "policy_init_gain": 1.0,
178
+ "policy_initialization": "orthogonal",
179
+ "policy_workers_per_policy": 1,
180
+ "ppo_clip_ratio": 0.1,
181
+ "ppo_clip_value": 0.2,
182
+ "queue_latency_values": "6",
183
+ "randomize_within_stage": false,
184
+ "recurrence": 32,
185
+ "repeat_action_probability": 0.0,
186
+ "restart_behavior": "overwrite",
187
+ "reward_clip": 1000.0,
188
+ "reward_scale": 1.0,
189
+ "rnn_num_layers": 1,
190
+ "rnn_size": 512,
191
+ "rnn_type": "gru",
192
+ "rollout": 128,
193
+ "save_best_after": 100000,
194
+ "save_best_every_sec": 5,
195
+ "save_best_metric": "reward",
196
+ "save_every_sec": 600,
197
+ "save_milestones_sec": -1,
198
+ "screen_size": 84,
199
+ "seed": 0,
200
+ "serial_mode": false,
201
+ "set_workers_cpu_affinity": true,
202
+ "shuffle_minibatches": false,
203
+ "stats_avg": 100,
204
+ "summaries_use_frameskip": true,
205
+ "terminal_on_life_loss": true,
206
+ "train_dir": "results/checkpoints",
207
+ "train_for_env_steps": 50000000,
208
+ "train_for_seconds": 10000000000,
209
+ "use_env_info_cache": false,
210
+ "use_record_episode_statistics": false,
211
+ "use_rnn": false,
212
+ "value_bootstrap": false,
213
+ "value_loss_coeff": 0.5,
214
+ "vtrace_c": 1.0,
215
+ "vtrace_rho": 1.0,
216
+ "wandb_group": "demon_attack",
217
+ "wandb_job_type": "sample_factory",
218
+ "wandb_project": "latency-sensitive-bench",
219
+ "wandb_tags": [],
220
+ "wandb_unique_id": "demon-attack-l6-s0",
221
+ "wandb_user": null,
222
+ "with_pbt": false,
223
+ "with_vtrace": false,
224
+ "with_wandb": true,
225
+ "within_episode_change_interval": 1,
226
+ "within_episode_change_prob": 1.0,
227
+ "worker_num_splits": 2
228
+ },
229
+ "checkpoint_experiment_dir": "/inspire/hdd/global_user/liumingyu-253208120284/lzj/latency-sensitive-bench/checkpoints/demon_attack_sf_same_latency_l6_seed0",
230
+ "checkpoint_path": null,
231
+ "checkpoint_train_step": 97664,
232
+ "config_source": "/inspire/hdd/global_user/liumingyu-253208120284/lzj/latency-sensitive-bench/checkpoints/demon_attack_sf_same_latency_l6_seed0/config.json",
233
+ "env_fps": 60.0,
234
+ "env_name": "demon_attack",
235
+ "episode_return_field": "episode_raw_return",
236
+ "filter_preset": "clean_v1",
237
+ "filter_report": {
238
+ "accepted_episodes": 200,
239
+ "accepted_train_episodes": 180,
240
+ "accepted_val_episodes": 20,
241
+ "attempted_episodes": 1358,
242
+ "preset": "clean_v1",
243
+ "raw_score_bins": {
244
+ "6460-6889": 0,
245
+ "6890-7309": 0,
246
+ "7310-7999": 0,
247
+ "<6460": 200,
248
+ ">=8000": 0
249
+ },
250
+ "rejected_episodes": 1158,
251
+ "train_rows_after_row_filter": 310953,
252
+ "train_rows_before_row_filter": 619555,
253
+ "val_rows_after_row_filter": 54672,
254
+ "val_rows_before_row_filter": 68190
255
+ },
256
+ "frame_stack": 4,
257
+ "image_resolution": [
258
+ 210,
259
+ 160,
260
+ 3
261
+ ],
262
+ "image_source": "env_raw_rgb",
263
+ "latency_override": {
264
+ "add_latency_info": false,
265
+ "fixed_latency_ms": 400.0,
266
+ "type": "fixed"
267
+ },
268
+ "latency_source": "legacy_checkpoint_name",
269
+ "max_episodes": 200,
270
+ "max_steps_per_episode": 3600,
271
+ "num_envs": 128,
272
+ "obs_fps": 15.0,
273
+ "obs_stride_raw_frames": 4,
274
+ "prompt_source": "latency_bench.data.prompts",
275
+ "prompt_timing_suffix": " Current action latency is {latency_raw_frames} raw frames ({latency_ms:.2f} ms). The environment runs at {env_fps:g} FPS and observations are emitted at {obs_fps:g} FPS. Choose the best next action.",
276
+ "replay_num_envs": 16,
277
+ "reward_field": "raw_reward",
278
+ "reward_semantics": "raw_reward",
279
+ "rows_unit": "decision_step",
280
+ "schema_version": 2,
281
+ "split_seed": 0,
282
+ "total_episodes": 200,
283
+ "total_rows": 365625,
284
+ "train_episodes": 180,
285
+ "train_rows": 310953,
286
+ "val_episodes": 20,
287
+ "val_fraction": 0.1,
288
+ "val_rows": 54672
289
+ }
latency-aware/demon-attack/training_versions/demon_attack_200ep/0481972d94f6409a392c5b035f9a7f5c2681a96d/demon_attack_fix_latency_6_200ep/train.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:191ed66ae8a15c7767a507e474311176d34cd78fbd14dc4edd5307296b7a005a
3
+ size 176346244
latency-aware/demon-attack/training_versions/demon_attack_200ep/0481972d94f6409a392c5b035f9a7f5c2681a96d/demon_attack_fix_latency_6_200ep/val.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1becbfeca092153c722db7d810ae5663e916761e4d143d22494acf3ad000cc5f
3
+ size 30637048
latency-aware/demon-attack/training_versions/demon_attack_200ep/0481972d94f6409a392c5b035f9a7f5c2681a96d/demon_attack_fix_latency_8_200ep/filter_report.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "accepted_episodes": 200,
3
+ "accepted_train_episodes": 180,
4
+ "accepted_val_episodes": 20,
5
+ "attempted_episodes": 2304,
6
+ "preset": "clean_v1",
7
+ "raw_score_bins": {
8
+ "6460-6889": 0,
9
+ "6890-7309": 0,
10
+ "7310-7999": 0,
11
+ "<6460": 200,
12
+ ">=8000": 0
13
+ },
14
+ "rejected_episodes": 2104,
15
+ "train_rows_after_row_filter": 282142,
16
+ "train_rows_before_row_filter": 646284,
17
+ "val_rows_after_row_filter": 40599,
18
+ "val_rows_before_row_filter": 71901
19
+ }
latency-aware/demon-attack/training_versions/demon_attack_200ep/0481972d94f6409a392c5b035f9a7f5c2681a96d/demon_attack_fix_latency_8_200ep/metadata.json ADDED
@@ -0,0 +1,289 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "action_labels": [
3
+ "NOOP",
4
+ "FIRE",
5
+ "RIGHT",
6
+ "LEFT",
7
+ "RIGHTFIRE",
8
+ "LEFTFIRE"
9
+ ],
10
+ "action_layout": "demon_attack_discrete",
11
+ "base_prompt": "You are playing Demon Attack from a single game image. Choose exactly one action from: NOOP, FIRE, RIGHT, LEFT, RIGHTFIRE, LEFTFIRE. Survive, avoid enemy fire, and shoot enemies to maximize score.",
12
+ "checkpoint_config": {
13
+ "action_repeat": 4,
14
+ "actor_critic_share_weights": true,
15
+ "actor_worker_gpus": [],
16
+ "adam_beta1": 0.9,
17
+ "adam_beta2": 0.999,
18
+ "adam_eps": 1e-05,
19
+ "adaptive_stddev": true,
20
+ "add_latency_info": false,
21
+ "algo": "APPO",
22
+ "async_rl": true,
23
+ "batch_size": 1024,
24
+ "batched_sampling": true,
25
+ "benchmark": false,
26
+ "cli_args": {
27
+ "action_repeat": 4,
28
+ "add_latency_info": false,
29
+ "algo": "APPO",
30
+ "async_rl": true,
31
+ "batch_size": 1024,
32
+ "batched_sampling": true,
33
+ "clip_reward": true,
34
+ "device": "gpu",
35
+ "env": "latency_demon_attack",
36
+ "env_id": "ALE/DemonAttack-v5",
37
+ "episode_metrics_path": "results/checkpoints/demon_attack_sf_same_latency_l8_seed0/episode_metrics.jsonl",
38
+ "episodes_per_stage": 10,
39
+ "eval_deterministic": true,
40
+ "eval_episodes": 20,
41
+ "eval_max_steps": 3600,
42
+ "eval_queue_latency_values": "0,1,2,3,4,5,10,15",
43
+ "eval_raw_reward": true,
44
+ "experiment": "demon_attack_sf_same_latency_l8_seed0",
45
+ "experiment_summaries_interval": 1,
46
+ "frame_stack": 4,
47
+ "full_action_space": false,
48
+ "gae_lambda": 0.95,
49
+ "gamma": 0.99,
50
+ "keep_checkpoints": 5,
51
+ "latency_mode": "episode_fixed",
52
+ "latency_sampling_mode": "uniform_all",
53
+ "learning_rate": 0.000303,
54
+ "max_episode_steps": 25000,
55
+ "max_grad_norm": 0.0,
56
+ "mode": "train",
57
+ "noop_max": 30,
58
+ "normalize_input": true,
59
+ "normalize_returns": true,
60
+ "num_batches_per_epoch": 2,
61
+ "num_envs_per_worker": 4,
62
+ "num_epochs": 2,
63
+ "num_policies": 1,
64
+ "num_workers": 16,
65
+ "ppo_clip_ratio": 0.1,
66
+ "ppo_clip_value": 0.2,
67
+ "queue_latency_values": "8",
68
+ "randomize_within_stage": false,
69
+ "recurrence": 32,
70
+ "repeat_action_probability": 0.0,
71
+ "restart_behavior": "overwrite",
72
+ "rollout": 128,
73
+ "save_every_sec": 600,
74
+ "screen_size": 84,
75
+ "seed": 0,
76
+ "stats_avg": 100,
77
+ "terminal_on_life_loss": true,
78
+ "train_dir": "results/checkpoints",
79
+ "train_for_env_steps": 50000000,
80
+ "use_rnn": false,
81
+ "value_loss_coeff": 0.5,
82
+ "wandb_group": "demon_attack",
83
+ "wandb_job_type": "sample_factory",
84
+ "wandb_project": "latency-sensitive-bench",
85
+ "with_wandb": true,
86
+ "within_episode_change_interval": 1,
87
+ "within_episode_change_prob": 1.0,
88
+ "worker_num_splits": 2
89
+ },
90
+ "clip_reward": true,
91
+ "command_line": "--mode train --algo APPO --env latency_demon_attack --experiment demon_attack_sf_same_latency_l8_seed0 --train_dir results/checkpoints --restart_behavior overwrite --device gpu --seed 0 --episode_metrics_path results/checkpoints/demon_attack_sf_same_latency_l8_seed0/episode_metrics.jsonl --train_for_env_steps 50000000 --num_workers 16 --num_envs_per_worker 4 --num_policies 1 --batch_size 1024 --rollout 128 --recurrence 32 --num_epochs 2 --num_batches_per_epoch 2 --worker_num_splits 2 --learning_rate 0.000303 --gamma 0.99 --gae_lambda 0.95 --ppo_clip_ratio 0.1 --ppo_clip_value 0.2 --value_loss_coeff 0.5 --max_grad_norm 0.0 --save_every_sec 600 --keep_checkpoints 5 --stats_avg 100 --experiment_summaries_interval 1 --async_rl True --batched_sampling True --use_rnn False --normalize_returns True --normalize_input True --queue-latency-values 8 --latency-mode episode_fixed --latency-sampling-mode uniform_all --episodes-per-stage 10 --randomize-within-stage False --within-episode-change-interval 1 --within-episode-change-prob 1.0 --add-latency-info False --eval-episodes 20 --eval-queue-latency-values 0,1,2,3,4,5,10,15 --eval-max-steps 3600 --eval-deterministic True --eval-raw-reward --with_wandb True --wandb_project latency-sensitive-bench --wandb_group demon_attack --wandb_job_type sample_factory --env_id ALE/DemonAttack-v5 --screen_size 84 --noop_max 30 --action_repeat 4 --frame_stack 4 --terminal_on_life_loss True --clip_reward True --repeat_action_probability 0.0 --full_action_space False --max_episode_steps 25000",
92
+ "continuous_tanh_scale": 0.0,
93
+ "decoder_mlp_layers": [],
94
+ "decorrelate_envs_on_one_worker": true,
95
+ "decorrelate_experience_max_seconds": 0,
96
+ "default_niceness": 0,
97
+ "device": "gpu",
98
+ "encoder_conv_architecture": "convnet_atari",
99
+ "encoder_conv_mlp_layers": [
100
+ 512
101
+ ],
102
+ "encoder_mlp_layers": [
103
+ 512,
104
+ 512
105
+ ],
106
+ "env": "latency_demon_attack",
107
+ "env_frameskip": 1,
108
+ "env_framestack": 1,
109
+ "env_gpu_actions": false,
110
+ "env_gpu_observations": true,
111
+ "env_id": "ALE/DemonAttack-v5",
112
+ "episode_metrics_path": "results/checkpoints/demon_attack_sf_same_latency_l8_seed0/episode_metrics.jsonl",
113
+ "episodes_per_stage": 10,
114
+ "eval_deterministic": true,
115
+ "eval_episodes": 20,
116
+ "eval_max_steps": 3600,
117
+ "eval_queue_latency_values": "0,1,2,3,4,5,10,15",
118
+ "eval_raw_reward": true,
119
+ "experiment": "demon_attack_sf_same_latency_l8_seed0",
120
+ "experiment_summaries_interval": 1,
121
+ "exploration_loss": "entropy",
122
+ "exploration_loss_coeff": 0.003,
123
+ "flush_summaries_interval": 30,
124
+ "force_envs_single_thread": false,
125
+ "frame_stack": 4,
126
+ "full_action_space": false,
127
+ "gae_lambda": 0.95,
128
+ "gamma": 0.99,
129
+ "git_hash": "41bc95edbf670a1190d128da22e9cd3777b87989",
130
+ "git_repo_name": "git@github.com:ZihanWang314/latency-sensitive-bench.git",
131
+ "heartbeat_interval": 20,
132
+ "heartbeat_reporting_interval": 180,
133
+ "help": false,
134
+ "initial_stddev": 1.0,
135
+ "keep_checkpoints": 5,
136
+ "kl_loss_coeff": 0.0,
137
+ "latency_mode": "episode_fixed",
138
+ "latency_sampling_mode": "uniform_all",
139
+ "learning_rate": 0.000303,
140
+ "load_checkpoint_kind": "latest",
141
+ "log_to_file": true,
142
+ "lr_adaptive_max": 0.01,
143
+ "lr_adaptive_min": 1e-06,
144
+ "lr_schedule": "linear_decay",
145
+ "lr_schedule_kl_threshold": 0.008,
146
+ "max_episode_steps": 25000,
147
+ "max_grad_norm": 0.0,
148
+ "max_policy_lag": 1000,
149
+ "mode": "train",
150
+ "nonlinearity": "elu",
151
+ "noop_max": 30,
152
+ "normalize_input": true,
153
+ "normalize_input_keys": null,
154
+ "normalize_returns": true,
155
+ "num_batches_per_epoch": 2,
156
+ "num_batches_to_accumulate": 2,
157
+ "num_envs_per_worker": 4,
158
+ "num_epochs": 2,
159
+ "num_policies": 1,
160
+ "num_workers": 16,
161
+ "obs_scale": 255.0,
162
+ "obs_subtract_mean": 0.0,
163
+ "optimizer": "adam",
164
+ "output_dir": "outputs/train/demon_attack/latency_8/seed_0",
165
+ "pbt_mix_policies_in_one_env": true,
166
+ "pbt_mutation_rate": 0.15,
167
+ "pbt_optimize_gamma": false,
168
+ "pbt_period_env_steps": 5000000,
169
+ "pbt_perturb_max": 1.5,
170
+ "pbt_perturb_min": 1.1,
171
+ "pbt_replace_fraction": 0.3,
172
+ "pbt_replace_reward_gap": 0.1,
173
+ "pbt_replace_reward_gap_absolute": 1e-06,
174
+ "pbt_start_mutation": 20000000,
175
+ "pbt_target_objective": "true_objective",
176
+ "pixel_format": "CHW",
177
+ "policy_init_gain": 1.0,
178
+ "policy_initialization": "orthogonal",
179
+ "policy_workers_per_policy": 1,
180
+ "ppo_clip_ratio": 0.1,
181
+ "ppo_clip_value": 0.2,
182
+ "queue_latency_values": "8",
183
+ "randomize_within_stage": false,
184
+ "recurrence": 32,
185
+ "repeat_action_probability": 0.0,
186
+ "restart_behavior": "overwrite",
187
+ "reward_clip": 1000.0,
188
+ "reward_scale": 1.0,
189
+ "rnn_num_layers": 1,
190
+ "rnn_size": 512,
191
+ "rnn_type": "gru",
192
+ "rollout": 128,
193
+ "save_best_after": 100000,
194
+ "save_best_every_sec": 5,
195
+ "save_best_metric": "reward",
196
+ "save_every_sec": 600,
197
+ "save_milestones_sec": -1,
198
+ "screen_size": 84,
199
+ "seed": 0,
200
+ "serial_mode": false,
201
+ "set_workers_cpu_affinity": true,
202
+ "shuffle_minibatches": false,
203
+ "stats_avg": 100,
204
+ "summaries_use_frameskip": true,
205
+ "terminal_on_life_loss": true,
206
+ "train_dir": "results/checkpoints",
207
+ "train_for_env_steps": 50000000,
208
+ "train_for_seconds": 10000000000,
209
+ "use_env_info_cache": false,
210
+ "use_record_episode_statistics": false,
211
+ "use_rnn": false,
212
+ "value_bootstrap": false,
213
+ "value_loss_coeff": 0.5,
214
+ "vtrace_c": 1.0,
215
+ "vtrace_rho": 1.0,
216
+ "wandb_group": "demon_attack",
217
+ "wandb_job_type": "sample_factory",
218
+ "wandb_project": "latency-sensitive-bench",
219
+ "wandb_tags": [],
220
+ "wandb_unique_id": "demon-attack-l8-s0",
221
+ "wandb_user": null,
222
+ "with_pbt": false,
223
+ "with_vtrace": false,
224
+ "with_wandb": true,
225
+ "within_episode_change_interval": 1,
226
+ "within_episode_change_prob": 1.0,
227
+ "worker_num_splits": 2
228
+ },
229
+ "checkpoint_experiment_dir": "/inspire/hdd/global_user/liumingyu-253208120284/lzj/latency-sensitive-bench/checkpoints/demon_attack_sf_same_latency_l8_seed0",
230
+ "checkpoint_path": null,
231
+ "checkpoint_train_step": 97664,
232
+ "config_source": "/inspire/hdd/global_user/liumingyu-253208120284/lzj/latency-sensitive-bench/checkpoints/demon_attack_sf_same_latency_l8_seed0/config.json",
233
+ "env_fps": 60.0,
234
+ "env_name": "demon_attack",
235
+ "episode_return_field": "episode_raw_return",
236
+ "filter_preset": "clean_v1",
237
+ "filter_report": {
238
+ "accepted_episodes": 200,
239
+ "accepted_train_episodes": 180,
240
+ "accepted_val_episodes": 20,
241
+ "attempted_episodes": 2304,
242
+ "preset": "clean_v1",
243
+ "raw_score_bins": {
244
+ "6460-6889": 0,
245
+ "6890-7309": 0,
246
+ "7310-7999": 0,
247
+ "<6460": 200,
248
+ ">=8000": 0
249
+ },
250
+ "rejected_episodes": 2104,
251
+ "train_rows_after_row_filter": 282142,
252
+ "train_rows_before_row_filter": 646284,
253
+ "val_rows_after_row_filter": 40599,
254
+ "val_rows_before_row_filter": 71901
255
+ },
256
+ "frame_stack": 4,
257
+ "image_resolution": [
258
+ 210,
259
+ 160,
260
+ 3
261
+ ],
262
+ "image_source": "env_raw_rgb",
263
+ "latency_override": {
264
+ "add_latency_info": false,
265
+ "fixed_latency_ms": 533.3333333333334,
266
+ "type": "fixed"
267
+ },
268
+ "latency_source": "legacy_checkpoint_name",
269
+ "max_episodes": 200,
270
+ "max_steps_per_episode": 3600,
271
+ "num_envs": 128,
272
+ "obs_fps": 15.0,
273
+ "obs_stride_raw_frames": 4,
274
+ "prompt_source": "latency_bench.data.prompts",
275
+ "prompt_timing_suffix": " Current action latency is {latency_raw_frames} raw frames ({latency_ms:.2f} ms). The environment runs at {env_fps:g} FPS and observations are emitted at {obs_fps:g} FPS. Choose the best next action.",
276
+ "replay_num_envs": 16,
277
+ "reward_field": "raw_reward",
278
+ "reward_semantics": "raw_reward",
279
+ "rows_unit": "decision_step",
280
+ "schema_version": 2,
281
+ "split_seed": 0,
282
+ "total_episodes": 200,
283
+ "total_rows": 322741,
284
+ "train_episodes": 180,
285
+ "train_rows": 282142,
286
+ "val_episodes": 20,
287
+ "val_fraction": 0.1,
288
+ "val_rows": 40599
289
+ }
latency-aware/demon-attack/training_versions/demon_attack_200ep/0481972d94f6409a392c5b035f9a7f5c2681a96d/demon_attack_fix_latency_8_200ep/train.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:04efa8cc7c30b52b8820a057825194edc793fbb20e0e2c214f09d11eb175fb2c
3
+ size 159016885
latency-aware/demon-attack/training_versions/demon_attack_200ep/0481972d94f6409a392c5b035f9a7f5c2681a96d/demon_attack_fix_latency_8_200ep/val.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:59080949006a7db9d6fd11affe01ca21ccd857b79ca9fd48d073e10015a1c334
3
+ size 22559655
latency-aware/flappy/flappy_fix_latency_1_200ep_context5/.gitattributes ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.avro filter=lfs diff=lfs merge=lfs -text
4
+ *.bin filter=lfs diff=lfs merge=lfs -text
5
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
6
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
7
+ *.ftz filter=lfs diff=lfs merge=lfs -text
8
+ *.gz filter=lfs diff=lfs merge=lfs -text
9
+ *.h5 filter=lfs diff=lfs merge=lfs -text
10
+ *.joblib filter=lfs diff=lfs merge=lfs -text
11
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
12
+ *.lz4 filter=lfs diff=lfs merge=lfs -text
13
+ *.mds filter=lfs diff=lfs merge=lfs -text
14
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
15
+ *.model filter=lfs diff=lfs merge=lfs -text
16
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
17
+ *.npy filter=lfs diff=lfs merge=lfs -text
18
+ *.npz filter=lfs diff=lfs merge=lfs -text
19
+ *.onnx filter=lfs diff=lfs merge=lfs -text
20
+ *.ot filter=lfs diff=lfs merge=lfs -text
21
+ *.parquet filter=lfs diff=lfs merge=lfs -text
22
+ *.pb filter=lfs diff=lfs merge=lfs -text
23
+ *.pickle filter=lfs diff=lfs merge=lfs -text
24
+ *.pkl filter=lfs diff=lfs merge=lfs -text
25
+ *.pt filter=lfs diff=lfs merge=lfs -text
26
+ *.pth filter=lfs diff=lfs merge=lfs -text
27
+ *.rar filter=lfs diff=lfs merge=lfs -text
28
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
29
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
30
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
31
+ *.tar filter=lfs diff=lfs merge=lfs -text
32
+ *.tflite filter=lfs diff=lfs merge=lfs -text
33
+ *.tgz filter=lfs diff=lfs merge=lfs -text
34
+ *.wasm filter=lfs diff=lfs merge=lfs -text
35
+ *.xz filter=lfs diff=lfs merge=lfs -text
36
+ *.zip filter=lfs diff=lfs merge=lfs -text
37
+ *.zst filter=lfs diff=lfs merge=lfs -text
38
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
39
+ # Audio files - uncompressed
40
+ *.pcm filter=lfs diff=lfs merge=lfs -text
41
+ *.sam filter=lfs diff=lfs merge=lfs -text
42
+ *.raw filter=lfs diff=lfs merge=lfs -text
43
+ # Audio files - compressed
44
+ *.aac filter=lfs diff=lfs merge=lfs -text
45
+ *.flac filter=lfs diff=lfs merge=lfs -text
46
+ *.mp3 filter=lfs diff=lfs merge=lfs -text
47
+ *.ogg filter=lfs diff=lfs merge=lfs -text
48
+ *.wav filter=lfs diff=lfs merge=lfs -text
49
+ # Image files - uncompressed
50
+ *.bmp filter=lfs diff=lfs merge=lfs -text
51
+ *.gif filter=lfs diff=lfs merge=lfs -text
52
+ *.png filter=lfs diff=lfs merge=lfs -text
53
+ *.tiff filter=lfs diff=lfs merge=lfs -text
54
+ # Image files - compressed
55
+ *.jpg filter=lfs diff=lfs merge=lfs -text
56
+ *.jpeg filter=lfs diff=lfs merge=lfs -text
57
+ *.webp filter=lfs diff=lfs merge=lfs -text
58
+ # Video files - compressed
59
+ *.mp4 filter=lfs diff=lfs merge=lfs -text
60
+ *.webm filter=lfs diff=lfs merge=lfs -text
latency-aware/flappy/flappy_fix_latency_1_200ep_context5/filter_report.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "accepted_episodes": 200,
3
+ "accepted_train_episodes": 180,
4
+ "accepted_val_episodes": 20,
5
+ "attempted_episodes": 200,
6
+ "preset": "clean_v1",
7
+ "rejected_episodes": 0,
8
+ "train_rows_after_row_filter": 297483,
9
+ "train_rows_before_row_filter": 648000,
10
+ "val_rows_after_row_filter": 72000,
11
+ "val_rows_before_row_filter": 72000
12
+ }
latency-aware/flappy/flappy_fix_latency_1_200ep_context5/metadata.json ADDED
@@ -0,0 +1,305 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "action_labels": [
3
+ "NOOP",
4
+ "FLAP"
5
+ ],
6
+ "action_layout": "flappy_discrete",
7
+ "base_prompt": "You are playing Flappy Bird. Pass through the pipe gaps and stay alive. Choose the action: NOOP, FLAP.",
8
+ "checkpoint_config": {
9
+ "actor_critic_share_weights": true,
10
+ "actor_worker_gpus": [
11
+ 0
12
+ ],
13
+ "adam_beta1": 0.9,
14
+ "adam_beta2": 0.999,
15
+ "adam_eps": 1e-05,
16
+ "adaptive_stddev": true,
17
+ "add_latency_info": false,
18
+ "algo": "APPO",
19
+ "async_rl": true,
20
+ "audio_on": false,
21
+ "background": "day",
22
+ "batch_size": 4096,
23
+ "batched_sampling": true,
24
+ "benchmark": false,
25
+ "bird_color": "yellow",
26
+ "cli_args": {
27
+ "actor_worker_gpus": [
28
+ 0
29
+ ],
30
+ "add_latency_info": false,
31
+ "algo": "APPO",
32
+ "async_rl": true,
33
+ "audio_on": false,
34
+ "background": "day",
35
+ "batch_size": 4096,
36
+ "batched_sampling": true,
37
+ "bird_color": "yellow",
38
+ "debug": false,
39
+ "debug_timelimit_diagnostics": false,
40
+ "device": "gpu",
41
+ "env": "latency_flappy",
42
+ "env_gpu_actions": false,
43
+ "env_gpu_observations": true,
44
+ "episode_metrics_path": "results/checkpoints/flappy_sf_same_latency_l1_seed0/episode_metrics.jsonl",
45
+ "episodes_per_stage": 10,
46
+ "eval_deterministic": true,
47
+ "eval_episodes": 20,
48
+ "eval_max_steps": 3600,
49
+ "eval_queue_latency_values": "0,1,2,3,4,5",
50
+ "experiment": "flappy_sf_same_latency_l1_seed0",
51
+ "experiment_summaries_interval": 1,
52
+ "frame_stack": 4,
53
+ "gae_lambda": 0.95,
54
+ "gamma": 0.99,
55
+ "gpu_render_batch_size": 64,
56
+ "gpu_render_device": "auto",
57
+ "gpu_render_profile": false,
58
+ "gpu_render_profile_interval": 200,
59
+ "gym_id": "FlappyBird-v0",
60
+ "keep_checkpoints": 5,
61
+ "latency_mode": "episode_fixed",
62
+ "latency_sampling_mode": "uniform_all",
63
+ "learning_rate": 0.00025,
64
+ "max_grad_norm": 0.5,
65
+ "mode": "train",
66
+ "normalize_input": true,
67
+ "normalize_obs": true,
68
+ "normalize_returns": true,
69
+ "num_batches_per_epoch": 8,
70
+ "num_envs_per_worker": 1,
71
+ "num_epochs": 8,
72
+ "num_policies": 1,
73
+ "num_workers": 2,
74
+ "obs_mode": "image_only",
75
+ "obs_resize": "84,84",
76
+ "pipe_color": "green",
77
+ "pipe_gap": 100,
78
+ "ppo_clip_ratio": 0.1,
79
+ "ppo_clip_value": 0.2,
80
+ "queue_latency_values": "1",
81
+ "randomize_within_stage": false,
82
+ "recurrence": 1,
83
+ "restart_behavior": "resume",
84
+ "rollout": 256,
85
+ "save_every_sec": 600,
86
+ "seed": 0,
87
+ "stats_avg": 100,
88
+ "train_dir": "results/checkpoints",
89
+ "train_for_env_steps": 15000000,
90
+ "use_gpu_render": true,
91
+ "use_lidar": false,
92
+ "use_rnn": false,
93
+ "value_loss_coeff": 0.5,
94
+ "wandb_group": "flappy-new(remove training episode limit)",
95
+ "wandb_job_type": "sample_factory",
96
+ "wandb_project": "latency-sensitive-bench",
97
+ "with_wandb": true,
98
+ "within_episode_change_interval": 1,
99
+ "within_episode_change_prob": 1.0,
100
+ "worker_num_splits": 1
101
+ },
102
+ "command_line": "--mode train --algo APPO --env latency_flappy --experiment flappy_sf_same_latency_l1_seed0 --train_dir results/checkpoints --restart_behavior resume --device gpu --actor_worker_gpus 0 --env_gpu_observations True --env_gpu_actions False --gpu-render-batch-size 64 --seed 0 --episode_metrics_path results/checkpoints/flappy_sf_same_latency_l1_seed0/episode_metrics.jsonl --train_for_env_steps 15000000 --num_workers 2 --num_envs_per_worker 1 --num_policies 1 --batch_size 4096 --rollout 256 --recurrence 1 --num_epochs 8 --num_batches_per_epoch 8 --worker_num_splits 1 --learning_rate 0.00025 --gamma 0.99 --gae_lambda 0.95 --ppo_clip_ratio 0.1 --ppo_clip_value 0.2 --value_loss_coeff 0.5 --max_grad_norm 0.5 --save_every_sec 600 --keep_checkpoints 5 --stats_avg 100 --experiment_summaries_interval 1 --batched_sampling True --async_rl True --use_rnn False --normalize_returns True --normalize_input True --queue-latency-values 1 --latency-mode episode_fixed --latency-sampling-mode uniform_all --episodes-per-stage 10 --randomize-within-stage False --within-episode-change-interval 1 --within-episode-change-prob 1.0 --add-latency-info False --eval-episodes 20 --eval-queue-latency-values 0,1,2,3,4,5 --eval-max-steps 3600 --eval-deterministic True --with_wandb True --wandb_project latency-sensitive-bench --wandb_group flappy-new(remove training episode limit) --wandb_job_type sample_factory --gym_id FlappyBird-v0 --use_lidar False --normalize_obs True --audio_on False --obs_resize 84,84 --obs_mode image_only --use-gpu-render True --gpu-render-device auto --gpu-render-profile False --gpu-render-profile-interval 200 --pipe_gap 100 --bird_color yellow --pipe_color green --background day --frame_stack 4 --debug False --debug-timelimit-diagnostics False",
103
+ "continuous_tanh_scale": 0.0,
104
+ "debug": false,
105
+ "debug_timelimit_diagnostics": false,
106
+ "decoder_mlp_layers": [],
107
+ "decorrelate_envs_on_one_worker": true,
108
+ "decorrelate_experience_max_seconds": 0,
109
+ "default_niceness": 0,
110
+ "device": "gpu",
111
+ "encoder_conv_architecture": "convnet_atari",
112
+ "encoder_conv_mlp_layers": [
113
+ 512
114
+ ],
115
+ "encoder_mlp_layers": [
116
+ 512,
117
+ 512
118
+ ],
119
+ "env": "latency_flappy",
120
+ "env_frameskip": 1,
121
+ "env_framestack": 1,
122
+ "env_gpu_actions": false,
123
+ "env_gpu_observations": true,
124
+ "episode_metrics_path": "results/checkpoints/flappy_sf_same_latency_l1_seed0/episode_metrics.jsonl",
125
+ "episodes_per_stage": 10,
126
+ "eval_deterministic": true,
127
+ "eval_episodes": 20,
128
+ "eval_max_steps": 3600,
129
+ "eval_queue_latency_values": "0,1,2,3,4,5",
130
+ "eval_raw_reward": false,
131
+ "experiment": "flappy_sf_same_latency_l1_seed0",
132
+ "experiment_summaries_interval": 1,
133
+ "exploration_loss": "entropy",
134
+ "exploration_loss_coeff": 0.003,
135
+ "flush_summaries_interval": 30,
136
+ "force_envs_single_thread": false,
137
+ "frame_stack": 4,
138
+ "gae_lambda": 0.95,
139
+ "gamma": 0.99,
140
+ "git_hash": "8b374967e3be2fdc51a3469ce7955c63e6cfa046",
141
+ "git_repo_name": "git@github.com:ZihanWang314/latency-sensitive-bench.git",
142
+ "gpu_render_batch_size": 64,
143
+ "gpu_render_device": "auto",
144
+ "gpu_render_profile": false,
145
+ "gpu_render_profile_interval": 200,
146
+ "gym_id": "FlappyBird-v0",
147
+ "heartbeat_interval": 20,
148
+ "heartbeat_reporting_interval": 180,
149
+ "help": false,
150
+ "initial_stddev": 1.0,
151
+ "keep_checkpoints": 5,
152
+ "kl_loss_coeff": 0.0,
153
+ "latency_mode": "episode_fixed",
154
+ "latency_sampling_mode": "uniform_all",
155
+ "learning_rate": 0.00025,
156
+ "load_checkpoint_kind": "latest",
157
+ "log_to_file": true,
158
+ "lr_adaptive_max": 0.01,
159
+ "lr_adaptive_min": 1e-06,
160
+ "lr_schedule": "linear_decay",
161
+ "lr_schedule_kl_threshold": 0.008,
162
+ "max_episode_steps": 0,
163
+ "max_grad_norm": 0.5,
164
+ "max_policy_lag": 1000,
165
+ "mode": "train",
166
+ "nonlinearity": "elu",
167
+ "normalize_input": true,
168
+ "normalize_input_keys": null,
169
+ "normalize_obs": true,
170
+ "normalize_returns": true,
171
+ "num_batches_per_epoch": 8,
172
+ "num_batches_to_accumulate": 2,
173
+ "num_envs_per_worker": 1,
174
+ "num_epochs": 8,
175
+ "num_policies": 1,
176
+ "num_workers": 2,
177
+ "obs_mode": "image_only",
178
+ "obs_resize": "84,84",
179
+ "obs_scale": 255.0,
180
+ "obs_subtract_mean": 0.0,
181
+ "optimizer": "adam",
182
+ "output_dir": "outputs/train/flappy/latency_1/seed_0",
183
+ "pbt_mix_policies_in_one_env": true,
184
+ "pbt_mutation_rate": 0.15,
185
+ "pbt_optimize_gamma": false,
186
+ "pbt_period_env_steps": 5000000,
187
+ "pbt_perturb_max": 1.5,
188
+ "pbt_perturb_min": 1.1,
189
+ "pbt_replace_fraction": 0.3,
190
+ "pbt_replace_reward_gap": 0.1,
191
+ "pbt_replace_reward_gap_absolute": 1e-06,
192
+ "pbt_start_mutation": 20000000,
193
+ "pbt_target_objective": "true_objective",
194
+ "pipe_color": "green",
195
+ "pipe_gap": 100,
196
+ "pixel_format": "CHW",
197
+ "policy_init_gain": 1.0,
198
+ "policy_initialization": "orthogonal",
199
+ "policy_workers_per_policy": 1,
200
+ "ppo_clip_ratio": 0.1,
201
+ "ppo_clip_value": 0.2,
202
+ "queue_latency_values": "1",
203
+ "randomize_within_stage": false,
204
+ "recurrence": 1,
205
+ "restart_behavior": "resume",
206
+ "reward_clip": 1000.0,
207
+ "reward_scale": 1.0,
208
+ "rnn_num_layers": 1,
209
+ "rnn_size": 512,
210
+ "rnn_type": "gru",
211
+ "rollout": 256,
212
+ "save_best_after": 100000,
213
+ "save_best_every_sec": 5,
214
+ "save_best_metric": "reward",
215
+ "save_every_sec": 600,
216
+ "save_milestones_sec": -1,
217
+ "score_limit": -1,
218
+ "screen_size": "",
219
+ "seed": 0,
220
+ "serial_mode": false,
221
+ "set_workers_cpu_affinity": true,
222
+ "shuffle_minibatches": false,
223
+ "stats_avg": 100,
224
+ "summaries_use_frameskip": true,
225
+ "train_dir": "results/checkpoints",
226
+ "train_for_env_steps": 15000000,
227
+ "train_for_seconds": 10000000000,
228
+ "use_env_info_cache": false,
229
+ "use_gpu_render": true,
230
+ "use_lidar": false,
231
+ "use_record_episode_statistics": false,
232
+ "use_rnn": false,
233
+ "value_bootstrap": false,
234
+ "value_loss_coeff": 0.5,
235
+ "vtrace_c": 1.0,
236
+ "vtrace_rho": 1.0,
237
+ "wandb_group": "flappy-new(remove training episode limit)",
238
+ "wandb_job_type": "sample_factory",
239
+ "wandb_project": "latency-sensitive-bench",
240
+ "wandb_tags": [],
241
+ "wandb_unique_id": "flappy-bird-l1-s0",
242
+ "wandb_user": null,
243
+ "with_pbt": false,
244
+ "with_vtrace": false,
245
+ "with_wandb": true,
246
+ "within_episode_change_interval": 1,
247
+ "within_episode_change_prob": 1.0,
248
+ "worker_num_splits": 1
249
+ },
250
+ "checkpoint_experiment_dir": "/workspace/latency-sensitive-bench/checkpoints/flappy_sf_same_latency_l1_seed0",
251
+ "checkpoint_path": null,
252
+ "checkpoint_train_step": 29328,
253
+ "config_source": "/workspace/latency-sensitive-bench/checkpoints/flappy_sf_same_latency_l1_seed0/config.json",
254
+ "context_image_count": 4,
255
+ "context_window": 5,
256
+ "env_fps": 30.0,
257
+ "env_name": "flappy",
258
+ "episode_return_field": "episode_raw_return",
259
+ "filter_preset": "clean_v1",
260
+ "filter_report": {
261
+ "accepted_episodes": 200,
262
+ "accepted_train_episodes": 180,
263
+ "accepted_val_episodes": 20,
264
+ "attempted_episodes": 200,
265
+ "preset": "clean_v1",
266
+ "rejected_episodes": 0,
267
+ "train_rows_after_row_filter": 297483,
268
+ "train_rows_before_row_filter": 648000,
269
+ "val_rows_after_row_filter": 72000,
270
+ "val_rows_before_row_filter": 72000
271
+ },
272
+ "frame_stack": 4,
273
+ "image_resolution": [
274
+ 512,
275
+ 288,
276
+ 3
277
+ ],
278
+ "image_source": "env_raw_rgb",
279
+ "latency_override": {
280
+ "add_latency_info": false,
281
+ "fixed_latency_ms": 33.333333333333336,
282
+ "type": "fixed"
283
+ },
284
+ "latency_source": "legacy_checkpoint_name",
285
+ "max_episodes": 200,
286
+ "max_steps_per_episode": 3600,
287
+ "num_envs": 2048,
288
+ "obs_fps": 30.0,
289
+ "obs_stride_raw_frames": 1,
290
+ "prompt_source": "latency_bench.data.prompts",
291
+ "prompt_timing_suffix": " Current action latency is {latency_raw_frames} raw frames ({latency_ms:.2f} ms). The environment runs at {env_fps:g} FPS and observations are emitted at {obs_fps:g} FPS. Choose the best next action.",
292
+ "replay_num_envs": 16,
293
+ "reward_field": "raw_reward",
294
+ "reward_semantics": "raw_reward",
295
+ "rows_unit": "decision_step",
296
+ "schema_version": 2,
297
+ "split_seed": 0,
298
+ "total_episodes": 200,
299
+ "total_rows": 369483,
300
+ "train_episodes": 180,
301
+ "train_rows": 297483,
302
+ "val_episodes": 20,
303
+ "val_fraction": 0.1,
304
+ "val_rows": 72000
305
+ }
latency-aware/flappy/flappy_fix_latency_1_200ep_context5/train.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a9c39c752822093a7210c2b95805833073f06cfa3eab49f8b40a28e8db322737
3
+ size 9179512383
latency-aware/flappy/flappy_fix_latency_1_200ep_context5/val.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ab9925fde9fe4976fffa30d8bf83e55273831de7e5181b38245418f0e98bb69f
3
+ size 1662470674
latency-aware/flappy/flappy_fix_latency_1_small/README.md ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ dataset_info:
3
+ features:
4
+ - name: image
5
+ dtype: image
6
+ - name: split
7
+ dtype: string
8
+ - name: prompt
9
+ dtype: string
10
+ - name: action_id
11
+ dtype: int64
12
+ - name: action_text
13
+ dtype: string
14
+ - name: latency
15
+ dtype: int64
16
+ - name: latency_ms
17
+ dtype: float64
18
+ - name: reward
19
+ dtype: float64
20
+ - name: done
21
+ dtype: bool
22
+ - name: episode_idx
23
+ dtype: int64
24
+ - name: t
25
+ dtype: int64
26
+ - name: seed
27
+ dtype: int64
28
+ - name: deterministic
29
+ dtype: bool
30
+ splits:
31
+ - name: train
32
+ num_bytes: 1009434936
33
+ num_examples: 97200
34
+ - name: val
35
+ num_bytes: 126493153
36
+ num_examples: 10800
37
+ download_size: 1266677976
38
+ dataset_size: 1135928089
39
+ configs:
40
+ - config_name: default
41
+ data_files:
42
+ - split: train
43
+ path: data/train-*
44
+ - split: val
45
+ path: data/val-*
46
+ ---
latency-aware/flappy/flappy_fix_latency_1_small/data/train-00000-of-00003.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:88186ce5dae7b00ffaf5518741f9f09190cc991c8bbc483a6567c5622575602f
3
+ size 377996230
latency-aware/flappy/flappy_fix_latency_1_small/data/train-00001-of-00003.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f5e611bb50bf679ee98706b97d4f9b921476f2becd9ffc7019e881d99e4c9a1c
3
+ size 382449970
latency-aware/flappy/flappy_fix_latency_1_small/data/train-00002-of-00003.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:73ab64af1ff56197361a9740156801d728723d7d2ece6406f4e2f50756747dd8
3
+ size 379423798
latency-aware/flappy/flappy_fix_latency_1_small/data/val-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:646c16683b87381e239f9072418e6598c4e15bb7bf155c0fbc74163e899e274c
3
+ size 126807978
latency-aware/flappy/flappy_fix_latency_1_small/metadata.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "action_labels": {
3
+ "1": {
4
+ "0": "NOOP",
5
+ "1": "FLAP"
6
+ }
7
+ },
8
+ "checkpoint_root": "/workspace/latency-sensitive-bench/checkpoints",
9
+ "collector_mode": "batched",
10
+ "dataset_mode": "fixed_latency",
11
+ "decision_period_ms": 33.333333333333336,
12
+ "deterministic": true,
13
+ "env_name": "flappy",
14
+ "export_image_size": null,
15
+ "image_source": "render",
16
+ "image_writer_workers": 32,
17
+ "jitter_latency": null,
18
+ "latencies": [
19
+ {
20
+ "best_checkpoint": "best_000029312_15007744_reward_1775.240.pth",
21
+ "episode_count": 30,
22
+ "experiment_dir": "/workspace/latency-sensitive-bench/checkpoints/flappy_sf_same_latency_l1_seed0",
23
+ "latency": 1,
24
+ "latency_ms": 33.333333333333336,
25
+ "val_episode_count": 3
26
+ }
27
+ ],
28
+ "max_steps_per_episode": 3600,
29
+ "mixed_prompt_template": "{prompt} Your actions take {latency_ms} milliseconds to take effect. Choose the best next action while accounting for the delay.",
30
+ "num_envs": 32,
31
+ "prompt": "You are playing Flappy Bird. Pass through the pipe gaps and stay alive. Choose the action: NOOP, FLAP.",
32
+ "row_buffer_size": 8192
33
+ }
latency-aware/flappy/flappy_fix_latency_2_200ep_context5/filter_report.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "accepted_episodes": 200,
3
+ "accepted_train_episodes": 180,
4
+ "accepted_val_episodes": 20,
5
+ "attempted_episodes": 204,
6
+ "preset": "clean_v1",
7
+ "rejected_episodes": 4,
8
+ "train_rows_after_row_filter": 330734,
9
+ "train_rows_before_row_filter": 648000,
10
+ "val_rows_after_row_filter": 72000,
11
+ "val_rows_before_row_filter": 72000
12
+ }
latency-aware/flappy/flappy_fix_latency_2_200ep_context5/metadata.json ADDED
@@ -0,0 +1,305 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "action_labels": [
3
+ "NOOP",
4
+ "FLAP"
5
+ ],
6
+ "action_layout": "flappy_discrete",
7
+ "base_prompt": "You are playing Flappy Bird. Pass through the pipe gaps and stay alive. Choose the action: NOOP, FLAP.",
8
+ "checkpoint_config": {
9
+ "actor_critic_share_weights": true,
10
+ "actor_worker_gpus": [
11
+ 0
12
+ ],
13
+ "adam_beta1": 0.9,
14
+ "adam_beta2": 0.999,
15
+ "adam_eps": 1e-05,
16
+ "adaptive_stddev": true,
17
+ "add_latency_info": false,
18
+ "algo": "APPO",
19
+ "async_rl": true,
20
+ "audio_on": false,
21
+ "background": "day",
22
+ "batch_size": 4096,
23
+ "batched_sampling": true,
24
+ "benchmark": false,
25
+ "bird_color": "yellow",
26
+ "cli_args": {
27
+ "actor_worker_gpus": [
28
+ 0
29
+ ],
30
+ "add_latency_info": false,
31
+ "algo": "APPO",
32
+ "async_rl": true,
33
+ "audio_on": false,
34
+ "background": "day",
35
+ "batch_size": 4096,
36
+ "batched_sampling": true,
37
+ "bird_color": "yellow",
38
+ "debug": false,
39
+ "debug_timelimit_diagnostics": false,
40
+ "device": "gpu",
41
+ "env": "latency_flappy",
42
+ "env_gpu_actions": false,
43
+ "env_gpu_observations": true,
44
+ "episode_metrics_path": "results/checkpoints/flappy_sf_same_latency_l2_seed0/episode_metrics.jsonl",
45
+ "episodes_per_stage": 10,
46
+ "eval_deterministic": true,
47
+ "eval_episodes": 20,
48
+ "eval_max_steps": 3600,
49
+ "eval_queue_latency_values": "0,1,2,3,4,5",
50
+ "experiment": "flappy_sf_same_latency_l2_seed0",
51
+ "experiment_summaries_interval": 1,
52
+ "frame_stack": 4,
53
+ "gae_lambda": 0.95,
54
+ "gamma": 0.99,
55
+ "gpu_render_batch_size": 64,
56
+ "gpu_render_device": "auto",
57
+ "gpu_render_profile": false,
58
+ "gpu_render_profile_interval": 200,
59
+ "gym_id": "FlappyBird-v0",
60
+ "keep_checkpoints": 5,
61
+ "latency_mode": "episode_fixed",
62
+ "latency_sampling_mode": "uniform_all",
63
+ "learning_rate": 0.00025,
64
+ "max_grad_norm": 0.5,
65
+ "mode": "train",
66
+ "normalize_input": true,
67
+ "normalize_obs": true,
68
+ "normalize_returns": true,
69
+ "num_batches_per_epoch": 8,
70
+ "num_envs_per_worker": 1,
71
+ "num_epochs": 8,
72
+ "num_policies": 1,
73
+ "num_workers": 2,
74
+ "obs_mode": "image_only",
75
+ "obs_resize": "84,84",
76
+ "pipe_color": "green",
77
+ "pipe_gap": 100,
78
+ "ppo_clip_ratio": 0.1,
79
+ "ppo_clip_value": 0.2,
80
+ "queue_latency_values": "2",
81
+ "randomize_within_stage": false,
82
+ "recurrence": 1,
83
+ "restart_behavior": "resume",
84
+ "rollout": 256,
85
+ "save_every_sec": 600,
86
+ "seed": 0,
87
+ "stats_avg": 100,
88
+ "train_dir": "results/checkpoints",
89
+ "train_for_env_steps": 15000000,
90
+ "use_gpu_render": true,
91
+ "use_lidar": false,
92
+ "use_rnn": false,
93
+ "value_loss_coeff": 0.5,
94
+ "wandb_group": "flappy-new(remove training episode limit)",
95
+ "wandb_job_type": "sample_factory",
96
+ "wandb_project": "latency-sensitive-bench",
97
+ "with_wandb": true,
98
+ "within_episode_change_interval": 1,
99
+ "within_episode_change_prob": 1.0,
100
+ "worker_num_splits": 1
101
+ },
102
+ "command_line": "--mode train --algo APPO --env latency_flappy --experiment flappy_sf_same_latency_l2_seed0 --train_dir results/checkpoints --restart_behavior resume --device gpu --actor_worker_gpus 0 --env_gpu_observations True --env_gpu_actions False --gpu-render-batch-size 64 --seed 0 --episode_metrics_path results/checkpoints/flappy_sf_same_latency_l2_seed0/episode_metrics.jsonl --train_for_env_steps 15000000 --num_workers 2 --num_envs_per_worker 1 --num_policies 1 --batch_size 4096 --rollout 256 --recurrence 1 --num_epochs 8 --num_batches_per_epoch 8 --worker_num_splits 1 --learning_rate 0.00025 --gamma 0.99 --gae_lambda 0.95 --ppo_clip_ratio 0.1 --ppo_clip_value 0.2 --value_loss_coeff 0.5 --max_grad_norm 0.5 --save_every_sec 600 --keep_checkpoints 5 --stats_avg 100 --experiment_summaries_interval 1 --batched_sampling True --async_rl True --use_rnn False --normalize_returns True --normalize_input True --queue-latency-values 2 --latency-mode episode_fixed --latency-sampling-mode uniform_all --episodes-per-stage 10 --randomize-within-stage False --within-episode-change-interval 1 --within-episode-change-prob 1.0 --add-latency-info False --eval-episodes 20 --eval-queue-latency-values 0,1,2,3,4,5 --eval-max-steps 3600 --eval-deterministic True --with_wandb True --wandb_project latency-sensitive-bench --wandb_group flappy-new(remove training episode limit) --wandb_job_type sample_factory --gym_id FlappyBird-v0 --use_lidar False --normalize_obs True --audio_on False --obs_resize 84,84 --obs_mode image_only --use-gpu-render True --gpu-render-device auto --gpu-render-profile False --gpu-render-profile-interval 200 --pipe_gap 100 --bird_color yellow --pipe_color green --background day --frame_stack 4 --debug False --debug-timelimit-diagnostics False",
103
+ "continuous_tanh_scale": 0.0,
104
+ "debug": false,
105
+ "debug_timelimit_diagnostics": false,
106
+ "decoder_mlp_layers": [],
107
+ "decorrelate_envs_on_one_worker": true,
108
+ "decorrelate_experience_max_seconds": 0,
109
+ "default_niceness": 0,
110
+ "device": "gpu",
111
+ "encoder_conv_architecture": "convnet_atari",
112
+ "encoder_conv_mlp_layers": [
113
+ 512
114
+ ],
115
+ "encoder_mlp_layers": [
116
+ 512,
117
+ 512
118
+ ],
119
+ "env": "latency_flappy",
120
+ "env_frameskip": 1,
121
+ "env_framestack": 1,
122
+ "env_gpu_actions": false,
123
+ "env_gpu_observations": true,
124
+ "episode_metrics_path": "results/checkpoints/flappy_sf_same_latency_l2_seed0/episode_metrics.jsonl",
125
+ "episodes_per_stage": 10,
126
+ "eval_deterministic": true,
127
+ "eval_episodes": 20,
128
+ "eval_max_steps": 3600,
129
+ "eval_queue_latency_values": "0,1,2,3,4,5",
130
+ "eval_raw_reward": false,
131
+ "experiment": "flappy_sf_same_latency_l2_seed0",
132
+ "experiment_summaries_interval": 1,
133
+ "exploration_loss": "entropy",
134
+ "exploration_loss_coeff": 0.003,
135
+ "flush_summaries_interval": 30,
136
+ "force_envs_single_thread": false,
137
+ "frame_stack": 4,
138
+ "gae_lambda": 0.95,
139
+ "gamma": 0.99,
140
+ "git_hash": "8b374967e3be2fdc51a3469ce7955c63e6cfa046",
141
+ "git_repo_name": "git@github.com:ZihanWang314/latency-sensitive-bench.git",
142
+ "gpu_render_batch_size": 64,
143
+ "gpu_render_device": "auto",
144
+ "gpu_render_profile": false,
145
+ "gpu_render_profile_interval": 200,
146
+ "gym_id": "FlappyBird-v0",
147
+ "heartbeat_interval": 20,
148
+ "heartbeat_reporting_interval": 180,
149
+ "help": false,
150
+ "initial_stddev": 1.0,
151
+ "keep_checkpoints": 5,
152
+ "kl_loss_coeff": 0.0,
153
+ "latency_mode": "episode_fixed",
154
+ "latency_sampling_mode": "uniform_all",
155
+ "learning_rate": 0.00025,
156
+ "load_checkpoint_kind": "latest",
157
+ "log_to_file": true,
158
+ "lr_adaptive_max": 0.01,
159
+ "lr_adaptive_min": 1e-06,
160
+ "lr_schedule": "linear_decay",
161
+ "lr_schedule_kl_threshold": 0.008,
162
+ "max_episode_steps": 0,
163
+ "max_grad_norm": 0.5,
164
+ "max_policy_lag": 1000,
165
+ "mode": "train",
166
+ "nonlinearity": "elu",
167
+ "normalize_input": true,
168
+ "normalize_input_keys": null,
169
+ "normalize_obs": true,
170
+ "normalize_returns": true,
171
+ "num_batches_per_epoch": 8,
172
+ "num_batches_to_accumulate": 2,
173
+ "num_envs_per_worker": 1,
174
+ "num_epochs": 8,
175
+ "num_policies": 1,
176
+ "num_workers": 2,
177
+ "obs_mode": "image_only",
178
+ "obs_resize": "84,84",
179
+ "obs_scale": 255.0,
180
+ "obs_subtract_mean": 0.0,
181
+ "optimizer": "adam",
182
+ "output_dir": "outputs/train/flappy/latency_2/seed_0",
183
+ "pbt_mix_policies_in_one_env": true,
184
+ "pbt_mutation_rate": 0.15,
185
+ "pbt_optimize_gamma": false,
186
+ "pbt_period_env_steps": 5000000,
187
+ "pbt_perturb_max": 1.5,
188
+ "pbt_perturb_min": 1.1,
189
+ "pbt_replace_fraction": 0.3,
190
+ "pbt_replace_reward_gap": 0.1,
191
+ "pbt_replace_reward_gap_absolute": 1e-06,
192
+ "pbt_start_mutation": 20000000,
193
+ "pbt_target_objective": "true_objective",
194
+ "pipe_color": "green",
195
+ "pipe_gap": 100,
196
+ "pixel_format": "CHW",
197
+ "policy_init_gain": 1.0,
198
+ "policy_initialization": "orthogonal",
199
+ "policy_workers_per_policy": 1,
200
+ "ppo_clip_ratio": 0.1,
201
+ "ppo_clip_value": 0.2,
202
+ "queue_latency_values": "2",
203
+ "randomize_within_stage": false,
204
+ "recurrence": 1,
205
+ "restart_behavior": "resume",
206
+ "reward_clip": 1000.0,
207
+ "reward_scale": 1.0,
208
+ "rnn_num_layers": 1,
209
+ "rnn_size": 512,
210
+ "rnn_type": "gru",
211
+ "rollout": 256,
212
+ "save_best_after": 100000,
213
+ "save_best_every_sec": 5,
214
+ "save_best_metric": "reward",
215
+ "save_every_sec": 600,
216
+ "save_milestones_sec": -1,
217
+ "score_limit": -1,
218
+ "screen_size": "",
219
+ "seed": 0,
220
+ "serial_mode": false,
221
+ "set_workers_cpu_affinity": true,
222
+ "shuffle_minibatches": false,
223
+ "stats_avg": 100,
224
+ "summaries_use_frameskip": true,
225
+ "train_dir": "results/checkpoints",
226
+ "train_for_env_steps": 15000000,
227
+ "train_for_seconds": 10000000000,
228
+ "use_env_info_cache": false,
229
+ "use_gpu_render": true,
230
+ "use_lidar": false,
231
+ "use_record_episode_statistics": false,
232
+ "use_rnn": false,
233
+ "value_bootstrap": false,
234
+ "value_loss_coeff": 0.5,
235
+ "vtrace_c": 1.0,
236
+ "vtrace_rho": 1.0,
237
+ "wandb_group": "flappy-new(remove training episode limit)",
238
+ "wandb_job_type": "sample_factory",
239
+ "wandb_project": "latency-sensitive-bench",
240
+ "wandb_tags": [],
241
+ "wandb_unique_id": "flappy-bird-l2-s0",
242
+ "wandb_user": null,
243
+ "with_pbt": false,
244
+ "with_vtrace": false,
245
+ "with_wandb": true,
246
+ "within_episode_change_interval": 1,
247
+ "within_episode_change_prob": 1.0,
248
+ "worker_num_splits": 1
249
+ },
250
+ "checkpoint_experiment_dir": "/workspace/latency-sensitive-bench/checkpoints/flappy_sf_same_latency_l2_seed0",
251
+ "checkpoint_path": null,
252
+ "checkpoint_train_step": 29312,
253
+ "config_source": "/workspace/latency-sensitive-bench/checkpoints/flappy_sf_same_latency_l2_seed0/config.json",
254
+ "context_image_count": 4,
255
+ "context_window": 5,
256
+ "env_fps": 30.0,
257
+ "env_name": "flappy",
258
+ "episode_return_field": "episode_raw_return",
259
+ "filter_preset": "clean_v1",
260
+ "filter_report": {
261
+ "accepted_episodes": 200,
262
+ "accepted_train_episodes": 180,
263
+ "accepted_val_episodes": 20,
264
+ "attempted_episodes": 204,
265
+ "preset": "clean_v1",
266
+ "rejected_episodes": 4,
267
+ "train_rows_after_row_filter": 330734,
268
+ "train_rows_before_row_filter": 648000,
269
+ "val_rows_after_row_filter": 72000,
270
+ "val_rows_before_row_filter": 72000
271
+ },
272
+ "frame_stack": 4,
273
+ "image_resolution": [
274
+ 512,
275
+ 288,
276
+ 3
277
+ ],
278
+ "image_source": "env_raw_rgb",
279
+ "latency_override": {
280
+ "add_latency_info": false,
281
+ "fixed_latency_ms": 66.66666666666667,
282
+ "type": "fixed"
283
+ },
284
+ "latency_source": "legacy_checkpoint_name",
285
+ "max_episodes": 200,
286
+ "max_steps_per_episode": 3600,
287
+ "num_envs": 2048,
288
+ "obs_fps": 30.0,
289
+ "obs_stride_raw_frames": 1,
290
+ "prompt_source": "latency_bench.data.prompts",
291
+ "prompt_timing_suffix": " Current action latency is {latency_raw_frames} raw frames ({latency_ms:.2f} ms). The environment runs at {env_fps:g} FPS and observations are emitted at {obs_fps:g} FPS. Choose the best next action.",
292
+ "replay_num_envs": 16,
293
+ "reward_field": "raw_reward",
294
+ "reward_semantics": "raw_reward",
295
+ "rows_unit": "decision_step",
296
+ "schema_version": 2,
297
+ "split_seed": 0,
298
+ "total_episodes": 200,
299
+ "total_rows": 402734,
300
+ "train_episodes": 180,
301
+ "train_rows": 330734,
302
+ "val_episodes": 20,
303
+ "val_fraction": 0.1,
304
+ "val_rows": 72000
305
+ }
latency-aware/flappy/flappy_fix_latency_2_200ep_context5/train.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fc31e0412737a3aac89c11de90aaed168bf481c070d1822d2311a8ad52d7ec4e
3
+ size 9688777652
latency-aware/flappy/flappy_fix_latency_2_200ep_context5/val.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:815316af196de27092880b4dbbf21bdde48f23a14987b39498e2978dd5360a1a
3
+ size 1663013357
latency-aware/flappy/flappy_fix_latency_2_small/README.md ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ dataset_info:
3
+ features:
4
+ - name: image
5
+ dtype: image
6
+ - name: split
7
+ dtype: string
8
+ - name: prompt
9
+ dtype: string
10
+ - name: action_id
11
+ dtype: int64
12
+ - name: action_text
13
+ dtype: string
14
+ - name: latency
15
+ dtype: int64
16
+ - name: latency_ms
17
+ dtype: float64
18
+ - name: reward
19
+ dtype: float64
20
+ - name: done
21
+ dtype: bool
22
+ - name: episode_idx
23
+ dtype: int64
24
+ - name: t
25
+ dtype: int64
26
+ - name: seed
27
+ dtype: int64
28
+ - name: deterministic
29
+ dtype: bool
30
+ splits:
31
+ - name: train
32
+ num_bytes: 1009459142
33
+ num_examples: 97200
34
+ - name: val
35
+ num_bytes: 123936544
36
+ num_examples: 10800
37
+ download_size: 1271808270
38
+ dataset_size: 1133395686
39
+ configs:
40
+ - config_name: default
41
+ data_files:
42
+ - split: train
43
+ path: data/train-*
44
+ - split: val
45
+ path: data/val-*
46
+ ---
latency-aware/flappy/flappy_fix_latency_2_small/data/train-00000-of-00003.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e3bc4f36d1b3776460f5cfc56254bd780a51ca77f0a5768fa71067235877dbf6
3
+ size 378685939
latency-aware/flappy/flappy_fix_latency_2_small/data/train-00001-of-00003.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5c6101a32b97e11bb8c5b89bad21b11bb6c88399b16de7d65bf817d8d01fa2c7
3
+ size 383763664
latency-aware/flappy/flappy_fix_latency_2_small/data/train-00002-of-00003.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7fdce857810d7aff25aae41e3e1e825b8e380b3f7529605133e8efa91e74d38d
3
+ size 381615970
latency-aware/flappy/flappy_fix_latency_2_small/data/val-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:444e4947d656feeae9da17c65f70d41764bf3b9800b4f2e5e8cc6d63d0f9205c
3
+ size 127742697
latency-aware/flappy/flappy_fix_latency_2_small/metadata.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "action_labels": {
3
+ "2": {
4
+ "0": "NOOP",
5
+ "1": "FLAP"
6
+ }
7
+ },
8
+ "checkpoint_root": "/inspire/hdd/global_user/liumingyu-253208120284/lzj/latency-sensitive-bench/checkpoints",
9
+ "collector_mode": "batched",
10
+ "dataset_mode": "fixed_latency",
11
+ "decision_period_ms": 33.333333333333336,
12
+ "deterministic": true,
13
+ "env_name": "flappy",
14
+ "export_image_size": null,
15
+ "image_source": "render",
16
+ "image_writer_workers": 32,
17
+ "jitter_latency": null,
18
+ "latencies": [
19
+ {
20
+ "best_checkpoint": "best_000029288_15007744_reward_3116.341.pth",
21
+ "episode_count": 30,
22
+ "experiment_dir": "/inspire/hdd/global_user/liumingyu-253208120284/lzj/latency-sensitive-bench/checkpoints/flappy_sf_same_latency_l2_seed0",
23
+ "latency": 2,
24
+ "latency_ms": 66.66666666666667,
25
+ "val_episode_count": 3
26
+ }
27
+ ],
28
+ "max_steps_per_episode": 3600,
29
+ "mixed_prompt_template": "{prompt} Your actions take {latency_ms} milliseconds to take effect. Choose the best next action while accounting for the delay.",
30
+ "num_envs": 32,
31
+ "prompt": "You are playing Flappy Bird. Pass through the pipe gaps and stay alive. Choose the action: NOOP, FLAP.",
32
+ "row_buffer_size": 8192
33
+ }
latency-aware/flappy/flappy_fix_latency_3_200ep_context5/filter_report.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "accepted_episodes": 200,
3
+ "accepted_train_episodes": 180,
4
+ "accepted_val_episodes": 20,
5
+ "attempted_episodes": 241,
6
+ "preset": "clean_v1",
7
+ "rejected_episodes": 41,
8
+ "train_rows_after_row_filter": 316258,
9
+ "train_rows_before_row_filter": 648000,
10
+ "val_rows_after_row_filter": 72000,
11
+ "val_rows_before_row_filter": 72000
12
+ }
latency-aware/flappy/flappy_fix_latency_3_200ep_context5/metadata.json ADDED
@@ -0,0 +1,305 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "action_labels": [
3
+ "NOOP",
4
+ "FLAP"
5
+ ],
6
+ "action_layout": "flappy_discrete",
7
+ "base_prompt": "You are playing Flappy Bird. Pass through the pipe gaps and stay alive. Choose the action: NOOP, FLAP.",
8
+ "checkpoint_config": {
9
+ "actor_critic_share_weights": true,
10
+ "actor_worker_gpus": [
11
+ 0
12
+ ],
13
+ "adam_beta1": 0.9,
14
+ "adam_beta2": 0.999,
15
+ "adam_eps": 1e-05,
16
+ "adaptive_stddev": true,
17
+ "add_latency_info": false,
18
+ "algo": "APPO",
19
+ "async_rl": true,
20
+ "audio_on": false,
21
+ "background": "day",
22
+ "batch_size": 4096,
23
+ "batched_sampling": true,
24
+ "benchmark": false,
25
+ "bird_color": "yellow",
26
+ "cli_args": {
27
+ "actor_worker_gpus": [
28
+ 0
29
+ ],
30
+ "add_latency_info": false,
31
+ "algo": "APPO",
32
+ "async_rl": true,
33
+ "audio_on": false,
34
+ "background": "day",
35
+ "batch_size": 4096,
36
+ "batched_sampling": true,
37
+ "bird_color": "yellow",
38
+ "debug": false,
39
+ "debug_timelimit_diagnostics": false,
40
+ "device": "gpu",
41
+ "env": "latency_flappy",
42
+ "env_gpu_actions": false,
43
+ "env_gpu_observations": true,
44
+ "episode_metrics_path": "results/checkpoints/flappy_sf_same_latency_l3_seed0/episode_metrics.jsonl",
45
+ "episodes_per_stage": 10,
46
+ "eval_deterministic": true,
47
+ "eval_episodes": 20,
48
+ "eval_max_steps": 3600,
49
+ "eval_queue_latency_values": "0,1,2,3,4,5",
50
+ "experiment": "flappy_sf_same_latency_l3_seed0",
51
+ "experiment_summaries_interval": 1,
52
+ "frame_stack": 4,
53
+ "gae_lambda": 0.95,
54
+ "gamma": 0.99,
55
+ "gpu_render_batch_size": 64,
56
+ "gpu_render_device": "auto",
57
+ "gpu_render_profile": false,
58
+ "gpu_render_profile_interval": 200,
59
+ "gym_id": "FlappyBird-v0",
60
+ "keep_checkpoints": 5,
61
+ "latency_mode": "episode_fixed",
62
+ "latency_sampling_mode": "uniform_all",
63
+ "learning_rate": 0.00025,
64
+ "max_grad_norm": 0.5,
65
+ "mode": "train",
66
+ "normalize_input": true,
67
+ "normalize_obs": true,
68
+ "normalize_returns": true,
69
+ "num_batches_per_epoch": 8,
70
+ "num_envs_per_worker": 1,
71
+ "num_epochs": 8,
72
+ "num_policies": 1,
73
+ "num_workers": 2,
74
+ "obs_mode": "image_only",
75
+ "obs_resize": "84,84",
76
+ "pipe_color": "green",
77
+ "pipe_gap": 100,
78
+ "ppo_clip_ratio": 0.1,
79
+ "ppo_clip_value": 0.2,
80
+ "queue_latency_values": "3",
81
+ "randomize_within_stage": false,
82
+ "recurrence": 1,
83
+ "restart_behavior": "resume",
84
+ "rollout": 256,
85
+ "save_every_sec": 600,
86
+ "seed": 0,
87
+ "stats_avg": 100,
88
+ "train_dir": "results/checkpoints",
89
+ "train_for_env_steps": 15000000,
90
+ "use_gpu_render": true,
91
+ "use_lidar": false,
92
+ "use_rnn": false,
93
+ "value_loss_coeff": 0.5,
94
+ "wandb_group": "flappy-new(remove training episode limit)",
95
+ "wandb_job_type": "sample_factory",
96
+ "wandb_project": "latency-sensitive-bench",
97
+ "with_wandb": true,
98
+ "within_episode_change_interval": 1,
99
+ "within_episode_change_prob": 1.0,
100
+ "worker_num_splits": 1
101
+ },
102
+ "command_line": "--mode train --algo APPO --env latency_flappy --experiment flappy_sf_same_latency_l3_seed0 --train_dir results/checkpoints --restart_behavior resume --device gpu --actor_worker_gpus 0 --env_gpu_observations True --env_gpu_actions False --gpu-render-batch-size 64 --seed 0 --episode_metrics_path results/checkpoints/flappy_sf_same_latency_l3_seed0/episode_metrics.jsonl --train_for_env_steps 15000000 --num_workers 2 --num_envs_per_worker 1 --num_policies 1 --batch_size 4096 --rollout 256 --recurrence 1 --num_epochs 8 --num_batches_per_epoch 8 --worker_num_splits 1 --learning_rate 0.00025 --gamma 0.99 --gae_lambda 0.95 --ppo_clip_ratio 0.1 --ppo_clip_value 0.2 --value_loss_coeff 0.5 --max_grad_norm 0.5 --save_every_sec 600 --keep_checkpoints 5 --stats_avg 100 --experiment_summaries_interval 1 --batched_sampling True --async_rl True --use_rnn False --normalize_returns True --normalize_input True --queue-latency-values 3 --latency-mode episode_fixed --latency-sampling-mode uniform_all --episodes-per-stage 10 --randomize-within-stage False --within-episode-change-interval 1 --within-episode-change-prob 1.0 --add-latency-info False --eval-episodes 20 --eval-queue-latency-values 0,1,2,3,4,5 --eval-max-steps 3600 --eval-deterministic True --with_wandb True --wandb_project latency-sensitive-bench --wandb_group flappy-new(remove training episode limit) --wandb_job_type sample_factory --gym_id FlappyBird-v0 --use_lidar False --normalize_obs True --audio_on False --obs_resize 84,84 --obs_mode image_only --use-gpu-render True --gpu-render-device auto --gpu-render-profile False --gpu-render-profile-interval 200 --pipe_gap 100 --bird_color yellow --pipe_color green --background day --frame_stack 4 --debug False --debug-timelimit-diagnostics False",
103
+ "continuous_tanh_scale": 0.0,
104
+ "debug": false,
105
+ "debug_timelimit_diagnostics": false,
106
+ "decoder_mlp_layers": [],
107
+ "decorrelate_envs_on_one_worker": true,
108
+ "decorrelate_experience_max_seconds": 0,
109
+ "default_niceness": 0,
110
+ "device": "gpu",
111
+ "encoder_conv_architecture": "convnet_atari",
112
+ "encoder_conv_mlp_layers": [
113
+ 512
114
+ ],
115
+ "encoder_mlp_layers": [
116
+ 512,
117
+ 512
118
+ ],
119
+ "env": "latency_flappy",
120
+ "env_frameskip": 1,
121
+ "env_framestack": 1,
122
+ "env_gpu_actions": false,
123
+ "env_gpu_observations": true,
124
+ "episode_metrics_path": "results/checkpoints/flappy_sf_same_latency_l3_seed0/episode_metrics.jsonl",
125
+ "episodes_per_stage": 10,
126
+ "eval_deterministic": true,
127
+ "eval_episodes": 20,
128
+ "eval_max_steps": 3600,
129
+ "eval_queue_latency_values": "0,1,2,3,4,5",
130
+ "eval_raw_reward": false,
131
+ "experiment": "flappy_sf_same_latency_l3_seed0",
132
+ "experiment_summaries_interval": 1,
133
+ "exploration_loss": "entropy",
134
+ "exploration_loss_coeff": 0.003,
135
+ "flush_summaries_interval": 30,
136
+ "force_envs_single_thread": false,
137
+ "frame_stack": 4,
138
+ "gae_lambda": 0.95,
139
+ "gamma": 0.99,
140
+ "git_hash": "8b374967e3be2fdc51a3469ce7955c63e6cfa046",
141
+ "git_repo_name": "git@github.com:ZihanWang314/latency-sensitive-bench.git",
142
+ "gpu_render_batch_size": 64,
143
+ "gpu_render_device": "auto",
144
+ "gpu_render_profile": false,
145
+ "gpu_render_profile_interval": 200,
146
+ "gym_id": "FlappyBird-v0",
147
+ "heartbeat_interval": 20,
148
+ "heartbeat_reporting_interval": 180,
149
+ "help": false,
150
+ "initial_stddev": 1.0,
151
+ "keep_checkpoints": 5,
152
+ "kl_loss_coeff": 0.0,
153
+ "latency_mode": "episode_fixed",
154
+ "latency_sampling_mode": "uniform_all",
155
+ "learning_rate": 0.00025,
156
+ "load_checkpoint_kind": "latest",
157
+ "log_to_file": true,
158
+ "lr_adaptive_max": 0.01,
159
+ "lr_adaptive_min": 1e-06,
160
+ "lr_schedule": "linear_decay",
161
+ "lr_schedule_kl_threshold": 0.008,
162
+ "max_episode_steps": 0,
163
+ "max_grad_norm": 0.5,
164
+ "max_policy_lag": 1000,
165
+ "mode": "train",
166
+ "nonlinearity": "elu",
167
+ "normalize_input": true,
168
+ "normalize_input_keys": null,
169
+ "normalize_obs": true,
170
+ "normalize_returns": true,
171
+ "num_batches_per_epoch": 8,
172
+ "num_batches_to_accumulate": 2,
173
+ "num_envs_per_worker": 1,
174
+ "num_epochs": 8,
175
+ "num_policies": 1,
176
+ "num_workers": 2,
177
+ "obs_mode": "image_only",
178
+ "obs_resize": "84,84",
179
+ "obs_scale": 255.0,
180
+ "obs_subtract_mean": 0.0,
181
+ "optimizer": "adam",
182
+ "output_dir": "outputs/train/flappy/latency_3/seed_0",
183
+ "pbt_mix_policies_in_one_env": true,
184
+ "pbt_mutation_rate": 0.15,
185
+ "pbt_optimize_gamma": false,
186
+ "pbt_period_env_steps": 5000000,
187
+ "pbt_perturb_max": 1.5,
188
+ "pbt_perturb_min": 1.1,
189
+ "pbt_replace_fraction": 0.3,
190
+ "pbt_replace_reward_gap": 0.1,
191
+ "pbt_replace_reward_gap_absolute": 1e-06,
192
+ "pbt_start_mutation": 20000000,
193
+ "pbt_target_objective": "true_objective",
194
+ "pipe_color": "green",
195
+ "pipe_gap": 100,
196
+ "pixel_format": "CHW",
197
+ "policy_init_gain": 1.0,
198
+ "policy_initialization": "orthogonal",
199
+ "policy_workers_per_policy": 1,
200
+ "ppo_clip_ratio": 0.1,
201
+ "ppo_clip_value": 0.2,
202
+ "queue_latency_values": "3",
203
+ "randomize_within_stage": false,
204
+ "recurrence": 1,
205
+ "restart_behavior": "resume",
206
+ "reward_clip": 1000.0,
207
+ "reward_scale": 1.0,
208
+ "rnn_num_layers": 1,
209
+ "rnn_size": 512,
210
+ "rnn_type": "gru",
211
+ "rollout": 256,
212
+ "save_best_after": 100000,
213
+ "save_best_every_sec": 5,
214
+ "save_best_metric": "reward",
215
+ "save_every_sec": 600,
216
+ "save_milestones_sec": -1,
217
+ "score_limit": -1,
218
+ "screen_size": "",
219
+ "seed": 0,
220
+ "serial_mode": false,
221
+ "set_workers_cpu_affinity": true,
222
+ "shuffle_minibatches": false,
223
+ "stats_avg": 100,
224
+ "summaries_use_frameskip": true,
225
+ "train_dir": "results/checkpoints",
226
+ "train_for_env_steps": 15000000,
227
+ "train_for_seconds": 10000000000,
228
+ "use_env_info_cache": false,
229
+ "use_gpu_render": true,
230
+ "use_lidar": false,
231
+ "use_record_episode_statistics": false,
232
+ "use_rnn": false,
233
+ "value_bootstrap": false,
234
+ "value_loss_coeff": 0.5,
235
+ "vtrace_c": 1.0,
236
+ "vtrace_rho": 1.0,
237
+ "wandb_group": "flappy-new(remove training episode limit)",
238
+ "wandb_job_type": "sample_factory",
239
+ "wandb_project": "latency-sensitive-bench",
240
+ "wandb_tags": [],
241
+ "wandb_unique_id": "flappy-bird-l3-s0",
242
+ "wandb_user": null,
243
+ "with_pbt": false,
244
+ "with_vtrace": false,
245
+ "with_wandb": true,
246
+ "within_episode_change_interval": 1,
247
+ "within_episode_change_prob": 1.0,
248
+ "worker_num_splits": 1
249
+ },
250
+ "checkpoint_experiment_dir": "/workspace/latency-sensitive-bench/checkpoints/flappy_sf_same_latency_l3_seed0",
251
+ "checkpoint_path": null,
252
+ "checkpoint_train_step": 29320,
253
+ "config_source": "/workspace/latency-sensitive-bench/checkpoints/flappy_sf_same_latency_l3_seed0/config.json",
254
+ "context_image_count": 4,
255
+ "context_window": 5,
256
+ "env_fps": 30.0,
257
+ "env_name": "flappy",
258
+ "episode_return_field": "episode_raw_return",
259
+ "filter_preset": "clean_v1",
260
+ "filter_report": {
261
+ "accepted_episodes": 200,
262
+ "accepted_train_episodes": 180,
263
+ "accepted_val_episodes": 20,
264
+ "attempted_episodes": 241,
265
+ "preset": "clean_v1",
266
+ "rejected_episodes": 41,
267
+ "train_rows_after_row_filter": 316258,
268
+ "train_rows_before_row_filter": 648000,
269
+ "val_rows_after_row_filter": 72000,
270
+ "val_rows_before_row_filter": 72000
271
+ },
272
+ "frame_stack": 4,
273
+ "image_resolution": [
274
+ 512,
275
+ 288,
276
+ 3
277
+ ],
278
+ "image_source": "env_raw_rgb",
279
+ "latency_override": {
280
+ "add_latency_info": false,
281
+ "fixed_latency_ms": 100.0,
282
+ "type": "fixed"
283
+ },
284
+ "latency_source": "legacy_checkpoint_name",
285
+ "max_episodes": 200,
286
+ "max_steps_per_episode": 3600,
287
+ "num_envs": 2048,
288
+ "obs_fps": 30.0,
289
+ "obs_stride_raw_frames": 1,
290
+ "prompt_source": "latency_bench.data.prompts",
291
+ "prompt_timing_suffix": " Current action latency is {latency_raw_frames} raw frames ({latency_ms:.2f} ms). The environment runs at {env_fps:g} FPS and observations are emitted at {obs_fps:g} FPS. Choose the best next action.",
292
+ "replay_num_envs": 16,
293
+ "reward_field": "raw_reward",
294
+ "reward_semantics": "raw_reward",
295
+ "rows_unit": "decision_step",
296
+ "schema_version": 2,
297
+ "split_seed": 0,
298
+ "total_episodes": 200,
299
+ "total_rows": 388258,
300
+ "train_episodes": 180,
301
+ "train_rows": 316258,
302
+ "val_episodes": 20,
303
+ "val_fraction": 0.1,
304
+ "val_rows": 72000
305
+ }
latency-aware/flappy/flappy_fix_latency_3_200ep_context5/train.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:afae72c8146b31e32be34b14a1e1c024ba775d364a03bd49fad05a42315513f2
3
+ size 9434088391
latency-aware/flappy/flappy_fix_latency_3_200ep_context5/val.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:50fd4ca0cc164760e04168b54b53ce03b0494a2a0411c77578e1202588f66c6d
3
+ size 1658111217
latency-aware/flappy/flappy_fix_latency_3_small/README.md ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ dataset_info:
3
+ features:
4
+ - name: image
5
+ dtype: image
6
+ - name: split
7
+ dtype: string
8
+ - name: prompt
9
+ dtype: string
10
+ - name: action_id
11
+ dtype: int64
12
+ - name: action_text
13
+ dtype: string
14
+ - name: latency
15
+ dtype: int64
16
+ - name: latency_ms
17
+ dtype: float64
18
+ - name: reward
19
+ dtype: float64
20
+ - name: done
21
+ dtype: bool
22
+ - name: episode_idx
23
+ dtype: int64
24
+ - name: t
25
+ dtype: int64
26
+ - name: seed
27
+ dtype: int64
28
+ - name: deterministic
29
+ dtype: bool
30
+ splits:
31
+ - name: train
32
+ num_bytes: 1014159433
33
+ num_examples: 97200
34
+ - name: val
35
+ num_bytes: 127292148
36
+ num_examples: 10800
37
+ download_size: 1272004102
38
+ dataset_size: 1141451581
39
+ configs:
40
+ - config_name: default
41
+ data_files:
42
+ - split: train
43
+ path: data/train-*
44
+ - split: val
45
+ path: data/val-*
46
+ ---
latency-aware/flappy/flappy_fix_latency_3_small/data/train-00000-of-00003.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dadeed8e7ed2d008b42f4c6314c366a754e0059626b0c3f72ce2a4687b562987
3
+ size 380525032
latency-aware/flappy/flappy_fix_latency_3_small/data/train-00001-of-00003.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e7d9239375fd17cbd580a888bed0ab17ec8ce698bc89d7079098f34783f2b8d6
3
+ size 382712552