p-j-r-1-2-3 commited on
Commit
c6b7bd9
·
verified ·
1 Parent(s): ac95b4a

update APPLIED run index

Browse files
Files changed (1) hide show
  1. applied/_index/APPLIED_RUNS_INDEX.json +504 -145
applied/_index/APPLIED_RUNS_INDEX.json CHANGED
@@ -1,106 +1,401 @@
1
  [
2
  {
3
- "key": "original/baseline_reference",
4
- "tag": "baseline_reference",
5
- "script": "train_ssvep_event_snn.py",
6
- "hf_folder": "applied/original",
7
- "phase": 1,
8
  "status": "ok",
9
- "duration_s": 576.1,
10
- "optimization_summary": null,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11
  "zip": {
12
- "name": "baseline_reference.zip",
13
- "files": 79,
14
- "bytes": 12229960,
15
- "MB": 12.2,
16
- "sha256": "dbfae2e27e7c61c5d2a5e5d1d0a60eeeb5cac65dca488af8d9e07e91fe8a6bf2"
17
  }
18
  },
19
  {
20
- "key": "opt01_ttfs_dta/control_baseline",
21
- "tag": "control_baseline",
22
  "script": "opt01_ttfs_dta.py",
23
  "hf_folder": "applied/opt01_ttfs_dta",
24
- "phase": 1,
25
  "status": "ok",
26
- "duration_s": 324.9,
27
  "optimization_summary": {
28
  "optimization": "ttfs_dta",
29
  "research_section": "2. Temporal-Dimension Reduction (TTFS coding / DTA-TTFS)",
30
  "reference": "Software-Level Optimizations for Spiking Neural Network Inference on ARM Architectures: A Deep-Dive into the Jetson Nano Ecosystem (research.md SS2)",
31
  "script": "opt01_ttfs_dta.py",
32
- "baseline_mode": true,
33
  "method": "harmonic_matched",
34
  "accuracy": {
35
- "test_acc": 0.9435714285714286,
36
- "test_target_acc": 0.9435714285714286,
37
- "best_val_acc": 0.9485714285714286
38
  },
39
  "efficiency": {
40
  "spikes_per_inference": null,
41
- "syn_ops_per_inference": 3231983.9886363638,
42
  "dense_macs_per_inference": 122675200.0,
43
- "event_fraction_of_dense": 0.026345862803862263,
44
- "syn_ops_per_inference_dense_fanout": 64808601.77516234,
45
  "weight_sparsity": 0.7324707846410685,
46
- "effective_ticks": 12.076428571428572,
47
  "num_ticks": 100,
48
  "membrane_bytes_per_inference": 451200,
49
  "weight_bytes": 4907008,
50
  "input_raster_bytes": null,
51
- "train_ms_per_step": 95.4652436500055,
52
- "infer_ms_per_sample": 0.632198698124995,
53
- "peak_vram_mb": 2914.106368
54
  },
55
  "optimization_specific": {
56
- "ttfs": false,
57
- "dta": false,
58
- "readout": "spikecount",
59
  "ttfs_halt_k": 1,
60
- "dta_target_rate": null,
61
- "dta_momentum": null,
62
- "spikes_per_neuron_per_inference": 6.773503672745694,
63
- "ttfs_budget_respected": false,
64
- "frac_neurons_that_ever_fire": 0.7111518490374873,
65
- "mean_first_spike_tick": 13.85866447739239,
66
  "per_layer_ttfs": [
67
  {
68
  "layer": 0,
69
  "neurons": 320,
70
- "spikes_per_neuron_per_inference": 6.179979910714286,
71
- "frac_neurons_that_ever_fire": 0.7382388392857143,
72
- "mean_first_spike_tick": 13.402922616869903
73
  },
74
  {
75
  "layer": 1,
76
  "neurons": 512,
77
- "spikes_per_neuron_per_inference": 3.8403431919642856,
78
- "frac_neurons_that_ever_fire": 0.5913783482142857,
79
- "mean_first_spike_tick": 19.06668789808917
80
  },
81
  {
82
  "layer": 2,
83
  "neurons": 256,
84
- "spikes_per_neuron_per_inference": 13.378063616071428,
85
- "frac_neurons_that_ever_fire": 0.8717215401785714,
86
- "mean_first_spike_tick": 9.758566055853406
87
  },
88
  {
89
  "layer": 3,
90
  "neurons": 40,
91
- "spikes_per_neuron_per_inference": 6.796964285714286,
92
- "frac_neurons_that_ever_fire": 0.9999107142857143,
93
- "mean_first_spike_tick": 0.0006429145459416019
94
  }
95
  ],
96
- "mean_halt_tick": 100.0,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
97
  "effective_ticks": 100.0,
98
- "ticks_saved_frac": 0.0,
99
  "num_ticks": 100,
100
- "dta_thr_min": 1.0,
101
- "dta_thr_max": 1.0,
102
- "dta_thr_mean": 1.0,
103
- "base_thresh": 1.0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
104
  },
105
  "config": {
106
  "method": "harmonic_matched",
@@ -128,7 +423,7 @@
128
  "no_batchnorm": false,
129
  "binary_input": false,
130
  "beta": 1.0,
131
- "thresh": 1.0,
132
  "window": 0.5,
133
  "gain": 1.0,
134
  "alpha": 0.9,
@@ -140,13 +435,13 @@
140
  "decision_margin": 2.0,
141
  "export": false,
142
  "seed": 1234,
143
- "hub_dir": "/kaggle/working/hub/opt01_ttfs_dta/control_baseline",
144
  "repo_id": "UWU-R-13/SSVEP-SNN",
145
  "push_hf": false,
146
  "keep_epoch_weights": 1,
147
  "no_resume": true,
148
  "selftest": false,
149
- "baseline": true,
150
  "bench": true,
151
  "bench_warmup": 10,
152
  "bench_iters": 50,
@@ -154,7 +449,7 @@
154
  "ttfs": true,
155
  "ttfs_halt_k": 1,
156
  "dta": true,
157
- "dta_target_rate": 0.05,
158
  "dta_readout_rate": 0.95,
159
  "ttfs_logit_scale": 10.0,
160
  "dta_momentum": 0.1,
@@ -165,21 +460,21 @@
165
  }
166
  },
167
  "zip": {
168
- "name": "control_baseline.zip",
169
  "files": 80,
170
- "bytes": 12262646,
171
- "MB": 12.3,
172
- "sha256": "c4997d83edc40f945e2bde2e023fbe4d8722960cb38b6b4896a15611c735e03a"
173
  }
174
  },
175
  {
176
- "key": "opt01_ttfs_dta/default",
177
- "tag": "default",
178
  "script": "opt01_ttfs_dta.py",
179
  "hf_folder": "applied/opt01_ttfs_dta",
180
- "phase": 1,
181
  "status": "ok",
182
- "duration_s": 306.3,
183
  "optimization_summary": {
184
  "optimization": "ttfs_dta",
185
  "research_section": "2. Temporal-Dimension Reduction (TTFS coding / DTA-TTFS)",
@@ -188,70 +483,70 @@
188
  "baseline_mode": false,
189
  "method": "harmonic_matched",
190
  "accuracy": {
191
- "test_acc": 0.10785714285714286,
192
- "test_target_acc": 0.10785714285714286,
193
- "best_val_acc": 0.12642857142857142
194
  },
195
  "efficiency": {
196
  "spikes_per_inference": null,
197
- "syn_ops_per_inference": 883000.9488636364,
198
  "dense_macs_per_inference": 122675200.0,
199
- "event_fraction_of_dense": 0.007197876578669824,
200
- "syn_ops_per_inference_dense_fanout": 28456441.155032467,
201
  "weight_sparsity": 0.7324707846410685,
202
  "effective_ticks": 100.0,
203
  "num_ticks": 100,
204
  "membrane_bytes_per_inference": 451200,
205
  "weight_bytes": 4907008,
206
  "input_raster_bytes": null,
207
- "train_ms_per_step": 92.62014005000765,
208
- "infer_ms_per_sample": 0.5975575340625028,
209
- "peak_vram_mb": 2909.198336
210
  },
211
  "optimization_specific": {
212
  "ttfs": true,
213
  "dta": true,
214
  "readout": "ttfs",
215
- "ttfs_halt_k": 1,
216
  "dta_target_rate": 0.05,
217
  "dta_momentum": 0.1,
218
- "spikes_per_neuron_per_inference": 0.6025234295845998,
219
  "ttfs_budget_respected": true,
220
- "frac_neurons_that_ever_fire": 0.6025234295845998,
221
- "mean_first_spike_tick": 24.776728445988198,
222
  "per_layer_ttfs": [
223
  {
224
  "layer": 0,
225
  "neurons": 320,
226
- "spikes_per_neuron_per_inference": 0.8747723214285714,
227
- "frac_neurons_that_ever_fire": 0.8747723214285714,
228
- "mean_first_spike_tick": 8.497346248258475
229
  },
230
  {
231
  "layer": 1,
232
  "neurons": 512,
233
- "spikes_per_neuron_per_inference": 0.47708565848214285,
234
- "frac_neurons_that_ever_fire": 0.47708565848214285,
235
- "mean_first_spike_tick": 31.723123035309598
236
  },
237
  {
238
  "layer": 2,
239
  "neurons": 256,
240
- "spikes_per_neuron_per_inference": 0.45130301339285717,
241
- "frac_neurons_that_ever_fire": 0.45130301339285717,
242
- "mean_first_spike_tick": 42.55322200720879
243
  },
244
  {
245
  "layer": 3,
246
  "neurons": 40,
247
- "spikes_per_neuron_per_inference": 0.9979464285714286,
248
- "frac_neurons_that_ever_fire": 0.9979464285714286,
249
- "mean_first_spike_tick": 44.9801735707256
250
  }
251
  ],
252
- "mean_halt_tick": 26.95642857142857,
253
- "effective_ticks": 26.95642857142857,
254
- "ticks_saved_frac": 0.7304357142857143,
255
  "num_ticks": 100,
256
  "dta_thr_min": 10.0,
257
  "dta_thr_max": 10.0,
@@ -296,7 +591,7 @@
296
  "decision_margin": 2.0,
297
  "export": false,
298
  "seed": 1234,
299
- "hub_dir": "/kaggle/working/hub/opt01_ttfs_dta/default",
300
  "repo_id": "UWU-R-13/SSVEP-SNN",
301
  "push_hf": false,
302
  "keep_epoch_weights": 1,
@@ -308,7 +603,7 @@
308
  "bench_iters": 50,
309
  "bench_train_steps": 20,
310
  "ttfs": true,
311
- "ttfs_halt_k": 1,
312
  "dta": true,
313
  "dta_target_rate": 0.05,
314
  "dta_readout_rate": 0.95,
@@ -321,75 +616,139 @@
321
  }
322
  },
323
  "zip": {
324
- "name": "default.zip",
325
  "files": 80,
326
- "bytes": 12567506,
327
  "MB": 12.6,
328
- "sha256": "fb707a74ab8ec231a6758240a7f7a2c3ea3f3546dffe53f2c0f20ce254a090c9"
329
  }
330
  },
331
  {
332
- "key": "opt02_seenn_bayes/control_baseline",
333
- "tag": "control_baseline",
334
  "script": "opt02_seenn_bayes.py",
335
  "hf_folder": "applied/opt02_seenn_bayes",
336
- "phase": 1,
337
  "status": "ok",
338
- "duration_s": 320.9,
339
  "optimization_summary": {
340
  "optimization": "seenn_early_exit_bayesian_fusion",
341
  "research_section": "2. Temporal-dimension reduction",
342
  "reference": "SEENN: Towards Temporal Spiking Early-Exit Neural Networks, arXiv:2304.01230 (NeurIPS 2023); BayesianSpikeFusion, Front. Neurosci. 2024 (PMC11330889)",
343
  "script": "opt02_seenn_bayes.py",
344
- "baseline_mode": true,
345
  "method": "harmonic_matched",
346
  "accuracy": {
347
- "test_acc": 0.9421428571428572,
348
- "test_target_acc": 0.9421428571428572,
349
- "best_val_acc": 0.9464285714285714
350
  },
351
  "efficiency": {
352
  "spikes_per_inference": null,
353
- "syn_ops_per_inference": 3244711.4707792206,
354
- "dense_macs_per_inference": 122675200.0,
355
- "event_fraction_of_dense": 0.026449612234414294,
356
- "syn_ops_per_inference_dense_fanout": 64821329.2573052,
357
  "weight_sparsity": 0.7324707846410685,
358
- "effective_ticks": 12.099285714285715,
359
  "num_ticks": 100,
360
  "membrane_bytes_per_inference": 451200,
361
  "weight_bytes": 4907008,
362
  "input_raster_bytes": null,
363
- "train_ms_per_step": 91.90045595169067,
364
- "infer_ms_per_sample": 0.6131382294036635,
365
- "peak_vram_mb": 10744.00512
 
366
  },
367
  "optimization_specific": {
368
- "seenn_enabled": false,
369
- "bayes_fusion_enabled": false,
370
- "conf_threshold": 0.9,
371
  "conf_temp": 2.0,
372
- "anytime_fracs": "1.0",
373
- "anytime_weights": "1.0",
374
- "ic_loss_weight": 0.0,
375
  "ic_layer": 0,
376
- "mean_exit_tick": null,
377
- "mean_exit_ms": null,
378
- "ticks_saved_frac": null,
379
- "exit_tick_histogram": null,
380
- "acc_fc_only": 0.9421428571428572,
381
- "acc_ic_only": null,
382
- "acc_fused": 0.9421428571428572,
383
- "acc_early_exit": null,
384
- "syn_ops_saved_frac": null,
385
- "syn_per_inference_early_exit": null,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
386
  "anytime_acc": {
387
- "0.25": 0.6221428571428571,
388
- "0.5": 0.8442857142857143,
389
- "0.75": 0.9164285714285715,
390
- "1.0": 0.9421428571428572
391
  },
392
- "pareto": null
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
393
  },
394
  "config": {
395
  "method": "harmonic_matched",
@@ -429,7 +788,7 @@
429
  "decision_margin": 2.0,
430
  "export": false,
431
  "seed": 1234,
432
- "baseline": true,
433
  "bench": true,
434
  "bench_warmup": 10,
435
  "bench_iters": 50,
@@ -438,12 +797,12 @@
438
  "anytime_weights": "0.3,0.3,1.0",
439
  "ic_layer": 0,
440
  "ic_loss_weight": 0.3,
441
- "bayes_fusion": false,
442
  "fusion_prior_weight": 1.0,
443
- "conf_threshold": 0.9,
444
  "conf_temp": 2.0,
445
  "conf_sweep": "0.5,0.7,0.8,0.9,0.95,0.99",
446
- "hub_dir": "/kaggle/working/hub/opt02_seenn_bayes/control_baseline",
447
  "repo_id": "UWU-R-13/SSVEP-SNN",
448
  "push_hf": false,
449
  "keep_epoch_weights": 1,
@@ -453,11 +812,11 @@
453
  }
454
  },
455
  "zip": {
456
- "name": "control_baseline.zip",
457
- "files": 80,
458
- "bytes": 12251539,
459
- "MB": 12.3,
460
- "sha256": "7e217471fe06675f01d799cc760f6565432d57e42b13f0c8e1d11077507709cf"
461
  }
462
  }
463
  ]
 
1
  [
2
  {
3
+ "key": "opt01_ttfs_dta/dta_rate_0.02",
4
+ "tag": "dta_rate_0.02",
5
+ "script": "opt01_ttfs_dta.py",
6
+ "hf_folder": "applied/opt01_ttfs_dta",
7
+ "phase": 3,
8
  "status": "ok",
9
+ "duration_s": 592.4,
10
+ "optimization_summary": {
11
+ "optimization": "ttfs_dta",
12
+ "research_section": "2. Temporal-Dimension Reduction (TTFS coding / DTA-TTFS)",
13
+ "reference": "Software-Level Optimizations for Spiking Neural Network Inference on ARM Architectures: A Deep-Dive into the Jetson Nano Ecosystem (research.md SS2)",
14
+ "script": "opt01_ttfs_dta.py",
15
+ "baseline_mode": false,
16
+ "method": "harmonic_matched",
17
+ "accuracy": {
18
+ "test_acc": 0.22214285714285714,
19
+ "test_target_acc": 0.22214285714285714,
20
+ "best_val_acc": 0.23857142857142857
21
+ },
22
+ "efficiency": {
23
+ "spikes_per_inference": null,
24
+ "syn_ops_per_inference": 1370895.7012987013,
25
+ "dense_macs_per_inference": 122675200.0,
26
+ "event_fraction_of_dense": 0.01117500278213283,
27
+ "syn_ops_per_inference_dense_fanout": 46072438.1176948,
28
+ "weight_sparsity": 0.7324707846410685,
29
+ "effective_ticks": 100.0,
30
+ "num_ticks": 100,
31
+ "membrane_bytes_per_inference": 451200,
32
+ "weight_bytes": 4907008,
33
+ "input_raster_bytes": null,
34
+ "train_ms_per_step": 95.69850345000077,
35
+ "infer_ms_per_sample": 0.6107303025000022,
36
+ "peak_vram_mb": 2908.478464
37
+ },
38
+ "optimization_specific": {
39
+ "ttfs": true,
40
+ "dta": true,
41
+ "readout": "ttfs",
42
+ "ttfs_halt_k": 1,
43
+ "dta_target_rate": 0.02,
44
+ "dta_momentum": 0.1,
45
+ "spikes_per_neuron_per_inference": 0.666733789260385,
46
+ "ttfs_budget_respected": true,
47
+ "frac_neurons_that_ever_fire": 0.666733789260385,
48
+ "mean_first_spike_tick": 22.77649856682363,
49
+ "per_layer_ttfs": [
50
+ {
51
+ "layer": 0,
52
+ "neurons": 320,
53
+ "spikes_per_neuron_per_inference": 0.8998928571428572,
54
+ "frac_neurons_that_ever_fire": 0.8998928571428572,
55
+ "mean_first_spike_tick": 8.32483529785292
56
+ },
57
+ {
58
+ "layer": 1,
59
+ "neurons": 512,
60
+ "spikes_per_neuron_per_inference": 0.5788044084821429,
61
+ "frac_neurons_that_ever_fire": 0.5788044084821429,
62
+ "mean_first_spike_tick": 32.204212231282256
63
+ },
64
+ {
65
+ "layer": 2,
66
+ "neurons": 256,
67
+ "spikes_per_neuron_per_inference": 0.6099832589285714,
68
+ "frac_neurons_that_ever_fire": 0.6099832589285714,
69
+ "mean_first_spike_tick": 27.42329085436698
70
+ },
71
+ {
72
+ "layer": 3,
73
+ "neurons": 40,
74
+ "spikes_per_neuron_per_inference": 0.29016071428571427,
75
+ "frac_neurons_that_ever_fire": 0.29016071428571427,
76
+ "mean_first_spike_tick": 78.09735983752846
77
+ }
78
+ ],
79
+ "mean_halt_tick": 65.40357142857142,
80
+ "effective_ticks": 65.40357142857142,
81
+ "ticks_saved_frac": 0.3459642857142857,
82
+ "num_ticks": 100,
83
+ "dta_thr_min": 10.0,
84
+ "dta_thr_max": 10.0,
85
+ "dta_thr_mean": 10.0,
86
+ "base_thresh": 10.0
87
+ },
88
+ "config": {
89
+ "method": "harmonic_matched",
90
+ "data_root": "/kaggle/working/data",
91
+ "subjects": "",
92
+ "blocks": "",
93
+ "limit": 0,
94
+ "drop_rest": true,
95
+ "resplit": "block",
96
+ "test_blocks": "6",
97
+ "class_weight": false,
98
+ "epochs": 60,
99
+ "batch_size": 64,
100
+ "lr": 0.002,
101
+ "weight_decay": 0.0005,
102
+ "grad_clip": 5.0,
103
+ "num_bins": 100,
104
+ "window_sec": 5.0,
105
+ "hidden": "512,256",
106
+ "freq_groups": 8,
107
+ "dropout": 0.3,
108
+ "spike_drop": 0.1,
109
+ "time_jitter": 2,
110
+ "label_smoothing": 0.05,
111
+ "no_batchnorm": false,
112
+ "binary_input": false,
113
+ "beta": 1.0,
114
+ "thresh": 10.0,
115
+ "window": 0.5,
116
+ "gain": 1.0,
117
+ "alpha": 0.9,
118
+ "readout": "ttfs",
119
+ "fake_quant": 0,
120
+ "amp": false,
121
+ "spike_reg": 0.0,
122
+ "event_eval": true,
123
+ "decision_margin": 2.0,
124
+ "export": false,
125
+ "seed": 1234,
126
+ "hub_dir": "/kaggle/working/hub/opt01_ttfs_dta/dta_rate_0.02",
127
+ "repo_id": "UWU-R-13/SSVEP-SNN",
128
+ "push_hf": false,
129
+ "keep_epoch_weights": 1,
130
+ "no_resume": true,
131
+ "selftest": false,
132
+ "baseline": false,
133
+ "bench": true,
134
+ "bench_warmup": 10,
135
+ "bench_iters": 50,
136
+ "bench_train_steps": 20,
137
+ "ttfs": true,
138
+ "ttfs_halt_k": 1,
139
+ "dta": true,
140
+ "dta_target_rate": 0.02,
141
+ "dta_readout_rate": 0.95,
142
+ "ttfs_logit_scale": 10.0,
143
+ "dta_momentum": 0.1,
144
+ "dta_min": 0.2,
145
+ "dta_max": 5.0,
146
+ "dta_windup_patience": 200,
147
+ "sampling_rate": 250.0
148
+ }
149
+ },
150
  "zip": {
151
+ "name": "dta_rate_0.02.zip",
152
+ "files": 80,
153
+ "bytes": 12510253,
154
+ "MB": 12.5,
155
+ "sha256": "1243e55e5fd4e4197a0db50663cc4eaf49e0a10a9ad59a34c29305a28a06856f"
156
  }
157
  },
158
  {
159
+ "key": "opt01_ttfs_dta/dta_rate_0.10",
160
+ "tag": "dta_rate_0.10",
161
  "script": "opt01_ttfs_dta.py",
162
  "hf_folder": "applied/opt01_ttfs_dta",
163
+ "phase": 3,
164
  "status": "ok",
165
+ "duration_s": 314.3,
166
  "optimization_summary": {
167
  "optimization": "ttfs_dta",
168
  "research_section": "2. Temporal-Dimension Reduction (TTFS coding / DTA-TTFS)",
169
  "reference": "Software-Level Optimizations for Spiking Neural Network Inference on ARM Architectures: A Deep-Dive into the Jetson Nano Ecosystem (research.md SS2)",
170
  "script": "opt01_ttfs_dta.py",
171
+ "baseline_mode": false,
172
  "method": "harmonic_matched",
173
  "accuracy": {
174
+ "test_acc": 0.1392857142857143,
175
+ "test_target_acc": 0.1392857142857143,
176
+ "best_val_acc": 0.17
177
  },
178
  "efficiency": {
179
  "spikes_per_inference": null,
180
+ "syn_ops_per_inference": 1411658.4545454546,
181
  "dense_macs_per_inference": 122675200.0,
182
+ "event_fraction_of_dense": 0.011507284720509561,
183
+ "syn_ops_per_inference_dense_fanout": 47245923.233766235,
184
  "weight_sparsity": 0.7324707846410685,
185
+ "effective_ticks": 100.0,
186
  "num_ticks": 100,
187
  "membrane_bytes_per_inference": 451200,
188
  "weight_bytes": 4907008,
189
  "input_raster_bytes": null,
190
+ "train_ms_per_step": 95.29285290000189,
191
+ "infer_ms_per_sample": 0.6113808478124838,
192
+ "peak_vram_mb": 2909.302784
193
  },
194
  "optimization_specific": {
195
+ "ttfs": true,
196
+ "dta": true,
197
+ "readout": "ttfs",
198
  "ttfs_halt_k": 1,
199
+ "dta_target_rate": 0.1,
200
+ "dta_momentum": 0.1,
201
+ "spikes_per_neuron_per_inference": 0.6239190729483283,
202
+ "ttfs_budget_respected": true,
203
+ "frac_neurons_that_ever_fire": 0.6239190729483283,
204
+ "mean_first_spike_tick": 19.628332891840294,
205
  "per_layer_ttfs": [
206
  {
207
  "layer": 0,
208
  "neurons": 320,
209
+ "spikes_per_neuron_per_inference": 0.8614040178571428,
210
+ "frac_neurons_that_ever_fire": 0.8614040178571428,
211
+ "mean_first_spike_tick": 9.993713543866559
212
  },
213
  {
214
  "layer": 1,
215
  "neurons": 512,
216
+ "spikes_per_neuron_per_inference": 0.7464453125,
217
+ "frac_neurons_that_ever_fire": 0.7464453125,
218
+ "mean_first_spike_tick": 22.917884616822292
219
  },
220
  {
221
  "layer": 2,
222
  "neurons": 256,
223
+ "spikes_per_neuron_per_inference": 0.10224888392857143,
224
+ "frac_neurons_that_ever_fire": 0.10224888392857143,
225
+ "mean_first_spike_tick": 31.868034710473175
226
  },
227
  {
228
  "layer": 3,
229
  "neurons": 40,
230
+ "spikes_per_neuron_per_inference": 0.49439285714285713,
231
+ "frac_neurons_that_ever_fire": 0.49439285714285713,
232
+ "mean_first_spike_tick": 74.14935346384455
233
  }
234
  ],
235
+ "mean_halt_tick": 68.85428571428571,
236
+ "effective_ticks": 68.85428571428571,
237
+ "ticks_saved_frac": 0.3114571428571429,
238
+ "num_ticks": 100,
239
+ "dta_thr_min": 10.0,
240
+ "dta_thr_max": 31.87553596496582,
241
+ "dta_thr_mean": 15.468883514404297,
242
+ "base_thresh": 10.0
243
+ },
244
+ "config": {
245
+ "method": "harmonic_matched",
246
+ "data_root": "/kaggle/working/data",
247
+ "subjects": "",
248
+ "blocks": "",
249
+ "limit": 0,
250
+ "drop_rest": true,
251
+ "resplit": "block",
252
+ "test_blocks": "6",
253
+ "class_weight": false,
254
+ "epochs": 60,
255
+ "batch_size": 64,
256
+ "lr": 0.002,
257
+ "weight_decay": 0.0005,
258
+ "grad_clip": 5.0,
259
+ "num_bins": 100,
260
+ "window_sec": 5.0,
261
+ "hidden": "512,256",
262
+ "freq_groups": 8,
263
+ "dropout": 0.3,
264
+ "spike_drop": 0.1,
265
+ "time_jitter": 2,
266
+ "label_smoothing": 0.05,
267
+ "no_batchnorm": false,
268
+ "binary_input": false,
269
+ "beta": 1.0,
270
+ "thresh": 10.0,
271
+ "window": 0.5,
272
+ "gain": 1.0,
273
+ "alpha": 0.9,
274
+ "readout": "ttfs",
275
+ "fake_quant": 0,
276
+ "amp": false,
277
+ "spike_reg": 0.0,
278
+ "event_eval": true,
279
+ "decision_margin": 2.0,
280
+ "export": false,
281
+ "seed": 1234,
282
+ "hub_dir": "/kaggle/working/hub/opt01_ttfs_dta/dta_rate_0.10",
283
+ "repo_id": "UWU-R-13/SSVEP-SNN",
284
+ "push_hf": false,
285
+ "keep_epoch_weights": 1,
286
+ "no_resume": true,
287
+ "selftest": false,
288
+ "baseline": false,
289
+ "bench": true,
290
+ "bench_warmup": 10,
291
+ "bench_iters": 50,
292
+ "bench_train_steps": 20,
293
+ "ttfs": true,
294
+ "ttfs_halt_k": 1,
295
+ "dta": true,
296
+ "dta_target_rate": 0.1,
297
+ "dta_readout_rate": 0.95,
298
+ "ttfs_logit_scale": 10.0,
299
+ "dta_momentum": 0.1,
300
+ "dta_min": 0.2,
301
+ "dta_max": 5.0,
302
+ "dta_windup_patience": 200,
303
+ "sampling_rate": 250.0
304
+ }
305
+ },
306
+ "zip": {
307
+ "name": "dta_rate_0.10.zip",
308
+ "files": 77,
309
+ "bytes": 8117390,
310
+ "MB": 8.1,
311
+ "sha256": "149684ff3bdd640115b26d39a54bdaa9ae99619a8672a7ea6fcd59fc99345a27"
312
+ }
313
+ },
314
+ {
315
+ "key": "opt01_ttfs_dta/dta_rate_0.20",
316
+ "tag": "dta_rate_0.20",
317
+ "script": "opt01_ttfs_dta.py",
318
+ "hf_folder": "applied/opt01_ttfs_dta",
319
+ "phase": 3,
320
+ "status": "ok",
321
+ "duration_s": 315.0,
322
+ "optimization_summary": {
323
+ "optimization": "ttfs_dta",
324
+ "research_section": "2. Temporal-Dimension Reduction (TTFS coding / DTA-TTFS)",
325
+ "reference": "Software-Level Optimizations for Spiking Neural Network Inference on ARM Architectures: A Deep-Dive into the Jetson Nano Ecosystem (research.md SS2)",
326
+ "script": "opt01_ttfs_dta.py",
327
+ "baseline_mode": false,
328
+ "method": "harmonic_matched",
329
+ "accuracy": {
330
+ "test_acc": 0.30142857142857143,
331
+ "test_target_acc": 0.30142857142857143,
332
+ "best_val_acc": 0.3442857142857143
333
+ },
334
+ "efficiency": {
335
+ "spikes_per_inference": null,
336
+ "syn_ops_per_inference": 1268561.1761363635,
337
+ "dense_macs_per_inference": 122675200.0,
338
+ "event_fraction_of_dense": 0.010340811966366173,
339
+ "syn_ops_per_inference_dense_fanout": 40907301.49837662,
340
+ "weight_sparsity": 0.7324707846410685,
341
  "effective_ticks": 100.0,
 
342
  "num_ticks": 100,
343
+ "membrane_bytes_per_inference": 451200,
344
+ "weight_bytes": 4907008,
345
+ "input_raster_bytes": null,
346
+ "train_ms_per_step": 95.75917180000033,
347
+ "infer_ms_per_sample": 0.6131969368749424,
348
+ "peak_vram_mb": 2909.376512
349
+ },
350
+ "optimization_specific": {
351
+ "ttfs": true,
352
+ "dta": true,
353
+ "readout": "ttfs",
354
+ "ttfs_halt_k": 1,
355
+ "dta_target_rate": 0.2,
356
+ "dta_momentum": 0.1,
357
+ "spikes_per_neuron_per_inference": 0.6888367527862209,
358
+ "ttfs_budget_respected": true,
359
+ "frac_neurons_that_ever_fire": 0.6888367527862209,
360
+ "mean_first_spike_tick": 17.83636679533485,
361
+ "per_layer_ttfs": [
362
+ {
363
+ "layer": 0,
364
+ "neurons": 320,
365
+ "spikes_per_neuron_per_inference": 0.9109776785714285,
366
+ "frac_neurons_that_ever_fire": 0.9109776785714285,
367
+ "mean_first_spike_tick": 7.660495248923105
368
+ },
369
+ {
370
+ "layer": 1,
371
+ "neurons": 512,
372
+ "spikes_per_neuron_per_inference": 0.8185337611607143,
373
+ "frac_neurons_that_ever_fire": 0.8185337611607143,
374
+ "mean_first_spike_tick": 22.096457454514464
375
+ },
376
+ {
377
+ "layer": 2,
378
+ "neurons": 256,
379
+ "spikes_per_neuron_per_inference": 0.19032366071428572,
380
+ "frac_neurons_that_ever_fire": 0.19032366071428572,
381
+ "mean_first_spike_tick": 19.373438691139388
382
+ },
383
+ {
384
+ "layer": 3,
385
+ "neurons": 40,
386
+ "spikes_per_neuron_per_inference": 0.44207142857142856,
387
+ "frac_neurons_that_ever_fire": 0.44207142857142856,
388
+ "mean_first_spike_tick": 80.39121829051543
389
+ }
390
+ ],
391
+ "mean_halt_tick": 54.479285714285716,
392
+ "effective_ticks": 54.479285714285716,
393
+ "ticks_saved_frac": 0.4552071428571428,
394
+ "num_ticks": 100,
395
+ "dta_thr_min": 10.0,
396
+ "dta_thr_max": 36.44102096557617,
397
+ "dta_thr_mean": 16.610254287719727,
398
+ "base_thresh": 10.0
399
  },
400
  "config": {
401
  "method": "harmonic_matched",
 
423
  "no_batchnorm": false,
424
  "binary_input": false,
425
  "beta": 1.0,
426
+ "thresh": 10.0,
427
  "window": 0.5,
428
  "gain": 1.0,
429
  "alpha": 0.9,
 
435
  "decision_margin": 2.0,
436
  "export": false,
437
  "seed": 1234,
438
+ "hub_dir": "/kaggle/working/hub/opt01_ttfs_dta/dta_rate_0.20",
439
  "repo_id": "UWU-R-13/SSVEP-SNN",
440
  "push_hf": false,
441
  "keep_epoch_weights": 1,
442
  "no_resume": true,
443
  "selftest": false,
444
+ "baseline": false,
445
  "bench": true,
446
  "bench_warmup": 10,
447
  "bench_iters": 50,
 
449
  "ttfs": true,
450
  "ttfs_halt_k": 1,
451
  "dta": true,
452
+ "dta_target_rate": 0.2,
453
  "dta_readout_rate": 0.95,
454
  "ttfs_logit_scale": 10.0,
455
  "dta_momentum": 0.1,
 
460
  }
461
  },
462
  "zip": {
463
+ "name": "dta_rate_0.20.zip",
464
  "files": 80,
465
+ "bytes": 12365506,
466
+ "MB": 12.4,
467
+ "sha256": "0ff95b27869b51aaa9e93834f86b2558421ee7616d9cb9562165f0e64df9f734"
468
  }
469
  },
470
  {
471
+ "key": "opt01_ttfs_dta/ttfs_halt_k2",
472
+ "tag": "ttfs_halt_k2",
473
  "script": "opt01_ttfs_dta.py",
474
  "hf_folder": "applied/opt01_ttfs_dta",
475
+ "phase": 3,
476
  "status": "ok",
477
+ "duration_s": 313.4,
478
  "optimization_summary": {
479
  "optimization": "ttfs_dta",
480
  "research_section": "2. Temporal-Dimension Reduction (TTFS coding / DTA-TTFS)",
 
483
  "baseline_mode": false,
484
  "method": "harmonic_matched",
485
  "accuracy": {
486
+ "test_acc": 0.19142857142857142,
487
+ "test_target_acc": 0.19142857142857142,
488
+ "best_val_acc": 0.19071428571428573
489
  },
490
  "efficiency": {
491
  "spikes_per_inference": null,
492
+ "syn_ops_per_inference": 1146300.0625,
493
  "dense_macs_per_inference": 122675200.0,
494
+ "event_fraction_of_dense": 0.009344187435602306,
495
+ "syn_ops_per_inference_dense_fanout": 38370359.65827922,
496
  "weight_sparsity": 0.7324707846410685,
497
  "effective_ticks": 100.0,
498
  "num_ticks": 100,
499
  "membrane_bytes_per_inference": 451200,
500
  "weight_bytes": 4907008,
501
  "input_raster_bytes": null,
502
+ "train_ms_per_step": 95.0974763999966,
503
+ "infer_ms_per_sample": 0.608219999062527,
504
+ "peak_vram_mb": 2909.190656
505
  },
506
  "optimization_specific": {
507
  "ttfs": true,
508
  "dta": true,
509
  "readout": "ttfs",
510
+ "ttfs_halt_k": 2,
511
  "dta_target_rate": 0.05,
512
  "dta_momentum": 0.1,
513
+ "spikes_per_neuron_per_inference": 0.5998423252279635,
514
  "ttfs_budget_respected": true,
515
+ "frac_neurons_that_ever_fire": 0.5998423252279635,
516
+ "mean_first_spike_tick": 22.474675145760823,
517
  "per_layer_ttfs": [
518
  {
519
  "layer": 0,
520
  "neurons": 320,
521
+ "spikes_per_neuron_per_inference": 0.8544263392857143,
522
+ "frac_neurons_that_ever_fire": 0.8544263392857143,
523
+ "mean_first_spike_tick": 8.993144941128525
524
  },
525
  {
526
  "layer": 1,
527
  "neurons": 512,
528
+ "spikes_per_neuron_per_inference": 0.4505161830357143,
529
+ "frac_neurons_that_ever_fire": 0.4505161830357143,
530
+ "mean_first_spike_tick": 27.44062180658347
531
  },
532
  {
533
  "layer": 2,
534
  "neurons": 256,
535
+ "spikes_per_neuron_per_inference": 0.52904296875,
536
+ "frac_neurons_that_ever_fire": 0.52904296875,
537
+ "mean_first_spike_tick": 29.398224767811655
538
  },
539
  {
540
  "layer": 3,
541
  "neurons": 40,
542
+ "spikes_per_neuron_per_inference": 0.9276607142857143,
543
+ "frac_neurons_that_ever_fire": 0.9276607142857143,
544
+ "mean_first_spike_tick": 65.67242872817572
545
  }
546
  ],
547
+ "mean_halt_tick": 47.255714285714284,
548
+ "effective_ticks": 47.255714285714284,
549
+ "ticks_saved_frac": 0.5274428571428571,
550
  "num_ticks": 100,
551
  "dta_thr_min": 10.0,
552
  "dta_thr_max": 10.0,
 
591
  "decision_margin": 2.0,
592
  "export": false,
593
  "seed": 1234,
594
+ "hub_dir": "/kaggle/working/hub/opt01_ttfs_dta/ttfs_halt_k2",
595
  "repo_id": "UWU-R-13/SSVEP-SNN",
596
  "push_hf": false,
597
  "keep_epoch_weights": 1,
 
603
  "bench_iters": 50,
604
  "bench_train_steps": 20,
605
  "ttfs": true,
606
+ "ttfs_halt_k": 2,
607
  "dta": true,
608
  "dta_target_rate": 0.05,
609
  "dta_readout_rate": 0.95,
 
616
  }
617
  },
618
  "zip": {
619
+ "name": "ttfs_halt_k2.zip",
620
  "files": 80,
621
+ "bytes": 12550233,
622
  "MB": 12.6,
623
+ "sha256": "a2405580d698ac72ad152755bc18092b397e88e06d8b67b05ce9fe8a7ae6d838"
624
  }
625
  },
626
  {
627
+ "key": "opt02_seenn_bayes/conf_0.5",
628
+ "tag": "conf_0.5",
629
  "script": "opt02_seenn_bayes.py",
630
  "hf_folder": "applied/opt02_seenn_bayes",
631
+ "phase": 3,
632
  "status": "ok",
633
+ "duration_s": 597.8,
634
  "optimization_summary": {
635
  "optimization": "seenn_early_exit_bayesian_fusion",
636
  "research_section": "2. Temporal-dimension reduction",
637
  "reference": "SEENN: Towards Temporal Spiking Early-Exit Neural Networks, arXiv:2304.01230 (NeurIPS 2023); BayesianSpikeFusion, Front. Neurosci. 2024 (PMC11330889)",
638
  "script": "opt02_seenn_bayes.py",
639
+ "baseline_mode": false,
640
  "method": "harmonic_matched",
641
  "accuracy": {
642
+ "test_acc": 0.9257142857142857,
643
+ "test_target_acc": 0.9257142857142857,
644
+ "best_val_acc": 0.9278571428571428
645
  },
646
  "efficiency": {
647
  "spikes_per_inference": null,
648
+ "syn_ops_per_inference": 3667001.4423701297,
649
+ "dense_macs_per_inference": 123955200.0,
650
+ "event_fraction_of_dense": 0.029583280430108053,
651
+ "syn_ops_per_inference_dense_fanout": 65243619.22889611,
652
  "weight_sparsity": 0.7324707846410685,
653
+ "effective_ticks": 4.38,
654
  "num_ticks": 100,
655
  "membrane_bytes_per_inference": 451200,
656
  "weight_bytes": 4907008,
657
  "input_raster_bytes": null,
658
+ "train_ms_per_step": 179.7092080116272,
659
+ "infer_ms_per_sample": 0.6336252293994079,
660
+ "peak_vram_mb": 10914.760704,
661
+ "syn_ops_per_inference_early_exit": 1701440.4342532465
662
  },
663
  "optimization_specific": {
664
+ "seenn_enabled": true,
665
+ "bayes_fusion_enabled": true,
666
+ "conf_threshold": 0.5,
667
  "conf_temp": 2.0,
668
+ "anytime_fracs": "0.25,0.5,1.0",
669
+ "anytime_weights": "0.3,0.3,1.0",
670
+ "ic_loss_weight": 0.3,
671
  "ic_layer": 0,
672
+ "mean_exit_tick": 4.38,
673
+ "mean_exit_ms": 219.0,
674
+ "ticks_saved_frac": 0.9562,
675
+ "exit_tick_histogram": {
676
+ "counts": [
677
+ 1371,
678
+ 25,
679
+ 4,
680
+ 0,
681
+ 0,
682
+ 0,
683
+ 0,
684
+ 0,
685
+ 0,
686
+ 0
687
+ ],
688
+ "edges": [
689
+ 0.0,
690
+ 10.0,
691
+ 20.0,
692
+ 30.0,
693
+ 40.0,
694
+ 50.0,
695
+ 60.0,
696
+ 70.0,
697
+ 80.0,
698
+ 90.0,
699
+ 100.0
700
+ ]
701
+ },
702
+ "acc_fc_only": 0.9257142857142857,
703
+ "acc_ic_only": 0.935,
704
+ "acc_fused": 0.9342857142857143,
705
+ "acc_early_exit": 0.2257142857142857,
706
+ "syn_ops_saved_frac": 0.5360131538007966,
707
+ "syn_per_inference_early_exit": 1701440.4342532465,
708
  "anytime_acc": {
709
+ "0.25": 0.6078571428571429,
710
+ "0.5": 0.8221428571428572,
711
+ "0.75": 0.8957142857142857,
712
+ "1.0": 0.9257142857142857
713
  },
714
+ "pareto": [
715
+ {
716
+ "conf": 0.5,
717
+ "mean_ticks": 4.38,
718
+ "acc": 0.2257142857142857,
719
+ "syn_ops": 1701440.4301948054
720
+ },
721
+ {
722
+ "conf": 0.7,
723
+ "mean_ticks": 5.145714285714286,
724
+ "acc": 0.25642857142857145,
725
+ "syn_ops": 1733398.2719155846
726
+ },
727
+ {
728
+ "conf": 0.8,
729
+ "mean_ticks": 6.0442857142857145,
730
+ "acc": 0.295,
731
+ "syn_ops": 1770153.554383117
732
+ },
733
+ {
734
+ "conf": 0.9,
735
+ "mean_ticks": 8.140714285714285,
736
+ "acc": 0.3757142857142857,
737
+ "syn_ops": 1843691.239448052
738
+ },
739
+ {
740
+ "conf": 0.95,
741
+ "mean_ticks": 10.122857142857143,
742
+ "acc": 0.44357142857142856,
743
+ "syn_ops": 1899936.8051948054
744
+ },
745
+ {
746
+ "conf": 0.99,
747
+ "mean_ticks": 14.419285714285714,
748
+ "acc": 0.5728571428571428,
749
+ "syn_ops": 2001693.648538961
750
+ }
751
+ ]
752
  },
753
  "config": {
754
  "method": "harmonic_matched",
 
788
  "decision_margin": 2.0,
789
  "export": false,
790
  "seed": 1234,
791
+ "baseline": false,
792
  "bench": true,
793
  "bench_warmup": 10,
794
  "bench_iters": 50,
 
797
  "anytime_weights": "0.3,0.3,1.0",
798
  "ic_layer": 0,
799
  "ic_loss_weight": 0.3,
800
+ "bayes_fusion": true,
801
  "fusion_prior_weight": 1.0,
802
+ "conf_threshold": 0.5,
803
  "conf_temp": 2.0,
804
  "conf_sweep": "0.5,0.7,0.8,0.9,0.95,0.99",
805
+ "hub_dir": "/kaggle/working/hub/opt02_seenn_bayes/conf_0.5",
806
  "repo_id": "UWU-R-13/SSVEP-SNN",
807
  "push_hf": false,
808
  "keep_epoch_weights": 1,
 
812
  }
813
  },
814
  "zip": {
815
+ "name": "conf_0.5.zip",
816
+ "files": 81,
817
+ "bytes": 12639386,
818
+ "MB": 12.6,
819
+ "sha256": "162ddbf03a10a75e5294c6ce6b8d399325b51f498ed3c54f52d6f80ee3ea4097"
820
  }
821
  }
822
  ]