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

update APPLIED run index

Browse files
Files changed (1) hide show
  1. applied/_index/APPLIED_RUNS_INDEX.json +823 -1017
applied/_index/APPLIED_RUNS_INDEX.json CHANGED
@@ -1,245 +1,106 @@
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",
@@ -267,7 +128,7 @@
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,
@@ -279,13 +140,13 @@
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,
@@ -293,7 +154,7 @@
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,
@@ -304,21 +165,21 @@
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)",
@@ -327,74 +188,74 @@
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": {
@@ -435,7 +296,7 @@
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,
@@ -449,7 +310,7 @@
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,98 +321,75 @@
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)",
481
- "reference": "Software-Level Optimizations for Spiking Neural Network Inference on ARM Architectures: A Deep-Dive into the Jetson Nano Ecosystem (research.md SS2)",
482
- "script": "opt01_ttfs_dta.py",
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,
553
- "dta_thr_mean": 10.0,
554
- "base_thresh": 10.0
555
  },
556
  "config": {
557
  "method": "harmonic_matched",
@@ -579,11 +417,11 @@
579
  "no_batchnorm": false,
580
  "binary_input": false,
581
  "beta": 1.0,
582
- "thresh": 10.0,
583
  "window": 0.5,
584
  "gain": 1.0,
585
  "alpha": 0.9,
586
- "readout": "ttfs",
587
  "fake_quant": 0,
588
  "amp": false,
589
  "spike_reg": 0.0,
@@ -591,46 +429,45 @@
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,
598
  "no_resume": true,
599
  "selftest": false,
600
- "baseline": false,
601
- "bench": true,
602
- "bench_warmup": 10,
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,
610
- "ttfs_logit_scale": 10.0,
611
- "dta_momentum": 0.1,
612
- "dta_min": 0.2,
613
- "dta_max": 5.0,
614
- "dta_windup_patience": 200,
615
  "sampling_rate": 250.0
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",
@@ -639,46 +476,46 @@
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,
@@ -699,54 +536,54 @@
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
  },
@@ -799,10 +636,10 @@
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,531 +649,70 @@
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
  {
823
- "key": "opt02_seenn_bayes/conf_0.7",
824
- "tag": "conf_0.7",
825
- "script": "opt02_seenn_bayes.py",
826
- "hf_folder": "applied/opt02_seenn_bayes",
827
- "phase": 3,
828
  "status": "ok",
829
- "duration_s": 596.1,
830
  "optimization_summary": {
831
- "optimization": "seenn_early_exit_bayesian_fusion",
832
- "research_section": "2. Temporal-dimension reduction",
833
- "reference": "SEENN: Towards Temporal Spiking Early-Exit Neural Networks, arXiv:2304.01230 (NeurIPS 2023); BayesianSpikeFusion, Front. Neurosci. 2024 (PMC11330889)",
834
- "script": "opt02_seenn_bayes.py",
835
- "baseline_mode": false,
836
  "method": "harmonic_matched",
837
  "accuracy": {
838
- "test_acc": 0.9235714285714286,
839
- "test_target_acc": 0.9235714285714286,
840
- "best_val_acc": 0.9307142857142857
841
  },
842
  "efficiency": {
843
  "spikes_per_inference": null,
844
- "syn_ops_per_inference": 3646728.713474026,
845
- "dense_macs_per_inference": 123955200.0,
846
- "event_fraction_of_dense": 0.02941973159233357,
847
- "syn_ops_per_inference_dense_fanout": 65223346.5,
848
  "weight_sparsity": 0.7324707846410685,
849
- "effective_ticks": 5.101428571428571,
850
  "num_ticks": 100,
851
  "membrane_bytes_per_inference": 451200,
852
  "weight_bytes": 4907008,
853
  "input_raster_bytes": null,
854
- "train_ms_per_step": 179.2108416557312,
855
- "infer_ms_per_sample": 0.6331442738298195,
856
- "peak_vram_mb": 10914.71616,
857
- "syn_ops_per_inference_early_exit": 1786668.6314935065
858
  },
859
  "optimization_specific": {
860
- "seenn_enabled": true,
861
- "bayes_fusion_enabled": true,
862
- "conf_threshold": 0.7,
863
- "conf_temp": 2.0,
864
- "anytime_fracs": "0.25,0.5,1.0",
865
- "anytime_weights": "0.3,0.3,1.0",
866
- "ic_loss_weight": 0.3,
867
- "ic_layer": 0,
868
- "mean_exit_tick": 5.101428571428571,
869
- "mean_exit_ms": 255.07142857142856,
870
- "ticks_saved_frac": 0.9489857142857143,
871
- "exit_tick_histogram": {
872
- "counts": [
873
- 1307,
874
- 85,
875
- 5,
876
- 2,
877
- 1,
878
- 0,
879
- 0,
880
- 0,
881
- 0,
882
- 0
883
- ],
884
- "edges": [
885
- 0.0,
886
- 10.0,
887
- 20.0,
888
- 30.0,
889
- 40.0,
890
- 50.0,
891
- 60.0,
892
- 70.0,
893
- 80.0,
894
- 90.0,
895
- 100.0
896
- ]
897
- },
898
- "acc_fc_only": 0.9235714285714286,
899
- "acc_ic_only": 0.9385714285714286,
900
- "acc_fused": 0.9328571428571428,
901
- "acc_early_exit": 0.27071428571428574,
902
- "syn_ops_saved_frac": 0.5100626419256037,
903
- "syn_per_inference_early_exit": 1786668.6314935065,
904
- "anytime_acc": {
905
- "0.25": 0.6235714285714286,
906
- "0.5": 0.8142857142857143,
907
- "0.75": 0.8857142857142857,
908
- "1.0": 0.9235714285714286
909
- },
910
- "pareto": [
911
- {
912
- "conf": 0.5,
913
- "mean_ticks": 4.373571428571428,
914
- "acc": 0.245,
915
- "syn_ops": 1757887.0267857143
916
- },
917
- {
918
- "conf": 0.7,
919
- "mean_ticks": 5.101428571428571,
920
- "acc": 0.27071428571428574,
921
- "syn_ops": 1786668.6030844154
922
- },
923
- {
924
- "conf": 0.8,
925
- "mean_ticks": 6.018571428571429,
926
- "acc": 0.3078571428571429,
927
- "syn_ops": 1823311.8506493508
928
- },
929
- {
930
- "conf": 0.9,
931
- "mean_ticks": 8.03357142857143,
932
- "acc": 0.38357142857142856,
933
- "syn_ops": 1892237.018668831
934
- },
935
- {
936
- "conf": 0.95,
937
- "mean_ticks": 10.159285714285714,
938
- "acc": 0.45785714285714285,
939
- "syn_ops": 1951178.429383117
940
- },
941
- {
942
- "conf": 0.99,
943
- "mean_ticks": 14.51,
944
- "acc": 0.575,
945
- "syn_ops": 2049664.4594155846
946
- }
947
- ]
948
- },
949
- "config": {
950
- "method": "harmonic_matched",
951
- "data_root": "/kaggle/working/data",
952
- "subjects": "",
953
- "blocks": "",
954
- "limit": 0,
955
- "drop_rest": true,
956
- "resplit": "block",
957
- "test_blocks": "6",
958
- "class_weight": false,
959
- "epochs": 60,
960
- "batch_size": 64,
961
- "lr": 0.002,
962
- "weight_decay": 0.0005,
963
- "grad_clip": 5.0,
964
- "num_bins": 100,
965
- "window_sec": 5.0,
966
- "hidden": "512,256",
967
- "freq_groups": 8,
968
- "dropout": 0.3,
969
- "spike_drop": 0.1,
970
- "time_jitter": 2,
971
- "label_smoothing": 0.05,
972
- "no_batchnorm": false,
973
- "binary_input": false,
974
- "beta": 1.0,
975
- "thresh": 1.0,
976
- "window": 0.5,
977
- "gain": 1.0,
978
- "alpha": 0.9,
979
- "readout": "spikecount",
980
- "fake_quant": 0,
981
- "amp": false,
982
- "spike_reg": 0.0,
983
- "event_eval": true,
984
- "decision_margin": 2.0,
985
- "export": false,
986
- "seed": 1234,
987
- "baseline": false,
988
- "bench": true,
989
- "bench_warmup": 10,
990
- "bench_iters": 50,
991
- "bench_train_steps": 20,
992
- "anytime_fracs": "0.25,0.5,1.0",
993
- "anytime_weights": "0.3,0.3,1.0",
994
- "ic_layer": 0,
995
- "ic_loss_weight": 0.3,
996
- "bayes_fusion": true,
997
- "fusion_prior_weight": 1.0,
998
- "conf_threshold": 0.7,
999
- "conf_temp": 2.0,
1000
- "conf_sweep": "0.5,0.7,0.8,0.9,0.95,0.99",
1001
- "hub_dir": "/kaggle/working/hub/opt02_seenn_bayes/conf_0.7",
1002
- "repo_id": "UWU-R-13/SSVEP-SNN",
1003
- "push_hf": false,
1004
- "keep_epoch_weights": 1,
1005
- "no_resume": true,
1006
- "selftest": false,
1007
- "sampling_rate": 250.0
1008
- }
1009
- },
1010
- "zip": {
1011
- "name": "conf_0.7.zip",
1012
- "files": 81,
1013
- "bytes": 12639521,
1014
- "MB": 12.6,
1015
- "sha256": "06560b9ecd3e68cfa941be25d487165bfc2c44307143706a744998bafbbdbdd6"
1016
- }
1017
- },
1018
- {
1019
- "key": "opt02_seenn_bayes/conf_0.95",
1020
- "tag": "conf_0.95",
1021
- "script": "opt02_seenn_bayes.py",
1022
- "hf_folder": "applied/opt02_seenn_bayes",
1023
- "phase": 3,
1024
- "status": "ok",
1025
- "duration_s": 595.7,
1026
- "optimization_summary": {
1027
- "optimization": "seenn_early_exit_bayesian_fusion",
1028
- "research_section": "2. Temporal-dimension reduction",
1029
- "reference": "SEENN: Towards Temporal Spiking Early-Exit Neural Networks, arXiv:2304.01230 (NeurIPS 2023); BayesianSpikeFusion, Front. Neurosci. 2024 (PMC11330889)",
1030
- "script": "opt02_seenn_bayes.py",
1031
- "baseline_mode": false,
1032
- "method": "harmonic_matched",
1033
- "accuracy": {
1034
- "test_acc": 0.9242857142857143,
1035
- "test_target_acc": 0.9242857142857143,
1036
- "best_val_acc": 0.9271428571428572
1037
- },
1038
- "efficiency": {
1039
- "spikes_per_inference": null,
1040
- "syn_ops_per_inference": 3638148.597402598,
1041
- "dense_macs_per_inference": 123955200.0,
1042
- "event_fraction_of_dense": 0.02935051209955369,
1043
- "syn_ops_per_inference_dense_fanout": 65214766.38392857,
1044
- "weight_sparsity": 0.7324707846410685,
1045
- "effective_ticks": 10.347142857142858,
1046
- "num_ticks": 100,
1047
- "membrane_bytes_per_inference": 451200,
1048
- "weight_bytes": 4907008,
1049
- "input_raster_bytes": null,
1050
- "train_ms_per_step": 178.97343635559082,
1051
- "infer_ms_per_sample": 0.6334354829548592,
1052
- "peak_vram_mb": 10914.694144,
1053
- "syn_ops_per_inference_early_exit": 1957780.4618506492
1054
- },
1055
- "optimization_specific": {
1056
- "seenn_enabled": true,
1057
- "bayes_fusion_enabled": true,
1058
- "conf_threshold": 0.95,
1059
- "conf_temp": 2.0,
1060
- "anytime_fracs": "0.25,0.5,1.0",
1061
- "anytime_weights": "0.3,0.3,1.0",
1062
- "ic_loss_weight": 0.3,
1063
- "ic_layer": 0,
1064
- "mean_exit_tick": 10.347142857142858,
1065
- "mean_exit_ms": 517.357142857143,
1066
- "ticks_saved_frac": 0.8965285714285715,
1067
- "exit_tick_histogram": {
1068
- "counts": [
1069
- 775,
1070
- 521,
1071
- 82,
1072
- 15,
1073
- 6,
1074
- 1,
1075
- 0,
1076
- 0,
1077
- 0,
1078
- 0
1079
- ],
1080
- "edges": [
1081
- 0.0,
1082
- 10.0,
1083
- 20.0,
1084
- 30.0,
1085
- 40.0,
1086
- 50.0,
1087
- 60.0,
1088
- 70.0,
1089
- 80.0,
1090
- 90.0,
1091
- 100.0
1092
- ]
1093
- },
1094
- "acc_fc_only": 0.9242857142857143,
1095
- "acc_ic_only": 0.9392857142857143,
1096
- "acc_fused": 0.9357142857142857,
1097
- "acc_early_exit": 0.45357142857142857,
1098
- "syn_ops_saved_frac": 0.4618745195706472,
1099
- "syn_per_inference_early_exit": 1957780.4618506492,
1100
- "anytime_acc": {
1101
- "0.25": 0.6142857142857143,
1102
- "0.5": 0.8142857142857143,
1103
- "0.75": 0.8892857142857142,
1104
- "1.0": 0.9242857142857143
1105
- },
1106
- "pareto": [
1107
- {
1108
- "conf": 0.5,
1109
- "mean_ticks": 4.299285714285714,
1110
- "acc": 0.2342857142857143,
1111
- "syn_ops": 1760335.4797077922
1112
- },
1113
- {
1114
- "conf": 0.7,
1115
- "mean_ticks": 5.031428571428571,
1116
- "acc": 0.25642857142857145,
1117
- "syn_ops": 1790720.1217532465
1118
- },
1119
- {
1120
- "conf": 0.8,
1121
- "mean_ticks": 6.082857142857143,
1122
- "acc": 0.3028571428571429,
1123
- "syn_ops": 1831832.4009740262
1124
- },
1125
- {
1126
- "conf": 0.9,
1127
- "mean_ticks": 8.172142857142857,
1128
- "acc": 0.37357142857142855,
1129
- "syn_ops": 1899309.7069805192
1130
- },
1131
- {
1132
- "conf": 0.95,
1133
- "mean_ticks": 10.347142857142858,
1134
- "acc": 0.45357142857142857,
1135
- "syn_ops": 1957780.672077922
1136
- },
1137
- {
1138
- "conf": 0.99,
1139
- "mean_ticks": 14.625,
1140
- "acc": 0.5785714285714286,
1141
- "syn_ops": 2047858.3961038962
1142
- }
1143
- ]
1144
- },
1145
- "config": {
1146
- "method": "harmonic_matched",
1147
- "data_root": "/kaggle/working/data",
1148
- "subjects": "",
1149
- "blocks": "",
1150
- "limit": 0,
1151
- "drop_rest": true,
1152
- "resplit": "block",
1153
- "test_blocks": "6",
1154
- "class_weight": false,
1155
- "epochs": 60,
1156
- "batch_size": 64,
1157
- "lr": 0.002,
1158
- "weight_decay": 0.0005,
1159
- "grad_clip": 5.0,
1160
- "num_bins": 100,
1161
- "window_sec": 5.0,
1162
- "hidden": "512,256",
1163
- "freq_groups": 8,
1164
- "dropout": 0.3,
1165
- "spike_drop": 0.1,
1166
- "time_jitter": 2,
1167
- "label_smoothing": 0.05,
1168
- "no_batchnorm": false,
1169
- "binary_input": false,
1170
- "beta": 1.0,
1171
- "thresh": 1.0,
1172
- "window": 0.5,
1173
- "gain": 1.0,
1174
- "alpha": 0.9,
1175
- "readout": "spikecount",
1176
- "fake_quant": 0,
1177
- "amp": false,
1178
- "spike_reg": 0.0,
1179
- "event_eval": true,
1180
- "decision_margin": 2.0,
1181
- "export": false,
1182
- "seed": 1234,
1183
- "baseline": false,
1184
- "bench": true,
1185
- "bench_warmup": 10,
1186
- "bench_iters": 50,
1187
- "bench_train_steps": 20,
1188
- "anytime_fracs": "0.25,0.5,1.0",
1189
- "anytime_weights": "0.3,0.3,1.0",
1190
- "ic_layer": 0,
1191
- "ic_loss_weight": 0.3,
1192
- "bayes_fusion": true,
1193
- "fusion_prior_weight": 1.0,
1194
- "conf_threshold": 0.95,
1195
- "conf_temp": 2.0,
1196
- "conf_sweep": "0.5,0.7,0.8,0.9,0.95,0.99",
1197
- "hub_dir": "/kaggle/working/hub/opt02_seenn_bayes/conf_0.95",
1198
- "repo_id": "UWU-R-13/SSVEP-SNN",
1199
- "push_hf": false,
1200
- "keep_epoch_weights": 1,
1201
- "no_resume": true,
1202
- "selftest": false,
1203
- "sampling_rate": 250.0
1204
- }
1205
- },
1206
- "zip": {
1207
- "name": "conf_0.95.zip",
1208
- "files": 81,
1209
- "bytes": 12639768,
1210
- "MB": 12.6,
1211
- "sha256": "00cab3b3a3532412c189f9cb233e45acabc4376d5c7de1cbe54d5c25d6f2d53f"
1212
- }
1213
- },
1214
- {
1215
- "key": "opt02_seenn_bayes/conf_0.99",
1216
- "tag": "conf_0.99",
1217
- "script": "opt02_seenn_bayes.py",
1218
- "hf_folder": "applied/opt02_seenn_bayes",
1219
- "phase": 3,
1220
- "status": "ok",
1221
- "duration_s": 597.8,
1222
- "optimization_summary": {
1223
- "optimization": "seenn_early_exit_bayesian_fusion",
1224
- "research_section": "2. Temporal-dimension reduction",
1225
- "reference": "SEENN: Towards Temporal Spiking Early-Exit Neural Networks, arXiv:2304.01230 (NeurIPS 2023); BayesianSpikeFusion, Front. Neurosci. 2024 (PMC11330889)",
1226
- "script": "opt02_seenn_bayes.py",
1227
- "baseline_mode": false,
1228
- "method": "harmonic_matched",
1229
- "accuracy": {
1230
- "test_acc": 0.9257142857142857,
1231
- "test_target_acc": 0.9257142857142857,
1232
- "best_val_acc": 0.9285714285714286
1233
- },
1234
- "efficiency": {
1235
- "spikes_per_inference": null,
1236
- "syn_ops_per_inference": 3663273.849837662,
1237
- "dense_macs_per_inference": 123955200.0,
1238
- "event_fraction_of_dense": 0.029553208335250658,
1239
- "syn_ops_per_inference_dense_fanout": 65239891.63636363,
1240
- "weight_sparsity": 0.7324707846410685,
1241
- "effective_ticks": 14.498571428571429,
1242
- "num_ticks": 100,
1243
- "membrane_bytes_per_inference": 451200,
1244
- "weight_bytes": 4907008,
1245
- "input_raster_bytes": null,
1246
- "train_ms_per_step": 179.46667671203613,
1247
- "infer_ms_per_sample": 0.6342180559982606,
1248
- "peak_vram_mb": 10914.656256,
1249
- "syn_ops_per_inference_early_exit": 2044428.423701299
1250
- },
1251
- "optimization_specific": {
1252
- "seenn_enabled": true,
1253
- "bayes_fusion_enabled": true,
1254
- "conf_threshold": 0.99,
1255
- "conf_temp": 2.0,
1256
- "anytime_fracs": "0.25,0.5,1.0",
1257
- "anytime_weights": "0.3,0.3,1.0",
1258
- "ic_loss_weight": 0.3,
1259
- "ic_layer": 0,
1260
- "mean_exit_tick": 14.498571428571429,
1261
- "mean_exit_ms": 724.9285714285714,
1262
- "ticks_saved_frac": 0.8550142857142857,
1263
- "exit_tick_histogram": {
1264
- "counts": [
1265
- 466,
1266
- 636,
1267
- 198,
1268
- 69,
1269
- 24,
1270
- 6,
1271
- 1,
1272
- 0,
1273
- 0,
1274
- 0
1275
- ],
1276
- "edges": [
1277
- 0.0,
1278
- 10.0,
1279
- 20.0,
1280
- 30.0,
1281
- 40.0,
1282
- 50.0,
1283
- 60.0,
1284
- 70.0,
1285
- 80.0,
1286
- 90.0,
1287
- 100.0
1288
- ]
1289
- },
1290
- "acc_fc_only": 0.9257142857142857,
1291
- "acc_ic_only": 0.9364285714285714,
1292
- "acc_fused": 0.9357142857142857,
1293
- "acc_early_exit": 0.5828571428571429,
1294
- "syn_ops_saved_frac": 0.4419122054465304,
1295
- "syn_per_inference_early_exit": 2044428.423701299,
1296
- "anytime_acc": {
1297
- "0.25": 0.6142857142857143,
1298
- "0.5": 0.8257142857142857,
1299
- "0.75": 0.8942857142857142,
1300
- "1.0": 0.9257142857142857
1301
- },
1302
- "pareto": [
1303
- {
1304
- "conf": 0.5,
1305
- "mean_ticks": 4.36,
1306
- "acc": 0.24928571428571428,
1307
- "syn_ops": 1750927.5121753246
1308
- },
1309
- {
1310
- "conf": 0.7,
1311
- "mean_ticks": 5.107857142857143,
1312
- "acc": 0.2792857142857143,
1313
- "syn_ops": 1781408.5868506492
1314
- },
1315
- {
1316
- "conf": 0.8,
1317
- "mean_ticks": 6.007857142857143,
1318
- "acc": 0.3142857142857143,
1319
- "syn_ops": 1818025.2240259738
1320
- },
1321
- {
1322
- "conf": 0.9,
1323
- "mean_ticks": 8.105,
1324
- "acc": 0.39571428571428574,
1325
- "syn_ops": 1888108.6534090908
1326
- },
1327
- {
1328
- "conf": 0.95,
1329
- "mean_ticks": 10.308571428571428,
1330
- "acc": 0.4735714285714286,
1331
- "syn_ops": 1948837.3271103897
1332
- },
1333
- {
1334
- "conf": 0.99,
1335
- "mean_ticks": 14.498571428571429,
1336
- "acc": 0.5828571428571429,
1337
- "syn_ops": 2044428.5941558443
1338
- }
1339
- ]
1340
  },
1341
  "config": {
1342
  "method": "harmonic_matched",
@@ -1370,51 +746,50 @@
1370
  "alpha": 0.9,
1371
  "readout": "spikecount",
1372
  "fake_quant": 0,
1373
- "amp": false,
1374
- "spike_reg": 0.0,
1375
- "event_eval": true,
1376
- "decision_margin": 2.0,
1377
- "export": false,
1378
- "seed": 1234,
1379
- "baseline": false,
1380
- "bench": true,
1381
- "bench_warmup": 10,
1382
- "bench_iters": 50,
1383
- "bench_train_steps": 20,
1384
- "anytime_fracs": "0.25,0.5,1.0",
1385
- "anytime_weights": "0.3,0.3,1.0",
1386
- "ic_layer": 0,
1387
- "ic_loss_weight": 0.3,
1388
- "bayes_fusion": true,
1389
- "fusion_prior_weight": 1.0,
1390
- "conf_threshold": 0.99,
1391
- "conf_temp": 2.0,
1392
- "conf_sweep": "0.5,0.7,0.8,0.9,0.95,0.99",
1393
- "hub_dir": "/kaggle/working/hub/opt02_seenn_bayes/conf_0.99",
1394
  "repo_id": "UWU-R-13/SSVEP-SNN",
1395
  "push_hf": false,
1396
  "keep_epoch_weights": 1,
1397
  "no_resume": true,
1398
  "selftest": false,
 
 
 
 
 
 
 
 
 
 
 
 
 
1399
  "sampling_rate": 250.0
1400
  }
1401
  },
1402
  "zip": {
1403
- "name": "conf_0.99.zip",
1404
- "files": 81,
1405
- "bytes": 12639694,
1406
- "MB": 12.6,
1407
- "sha256": "2673af6c589e17720b6676d7f3eec3a62019f7a4cad5c0e7a45b974cf0f77f76"
1408
  }
1409
  },
1410
  {
1411
- "key": "opt03_ftbc_threshold_balance/calib_p95",
1412
- "tag": "calib_p95",
1413
  "script": "opt03_ftbc_threshold_balance.py",
1414
  "hf_folder": "applied/opt03_ftbc_threshold_balance",
1415
- "phase": 3,
1416
  "status": "ok",
1417
- "duration_s": 378.3,
1418
  "optimization_summary": {
1419
  "optimization": "ftbc_threshold_balance",
1420
  "research_section": "2. Temporal-Dimension Reduction (threshold balancing + FTBC)",
@@ -1423,30 +798,30 @@
1423
  "baseline_mode": false,
1424
  "method": "harmonic_matched",
1425
  "accuracy": {
1426
- "test_acc": 0.9321428571428572,
1427
- "test_target_acc": 0.9321428571428572,
1428
- "best_val_acc": 0.9428571428571428
1429
  },
1430
  "efficiency": {
1431
  "spikes_per_inference": null,
1432
- "syn_ops_per_inference": 3264047.4829545454,
1433
  "dense_macs_per_inference": 122675200.0,
1434
- "event_fraction_of_dense": 0.026607231803612675,
1435
- "syn_ops_per_inference_dense_fanout": 64840665.26948052,
1436
  "weight_sparsity": 0.7324707846410685,
1437
- "effective_ticks": 11.949285714285715,
1438
  "num_ticks": 100,
1439
  "membrane_bytes_per_inference": 451200,
1440
  "weight_bytes": 4907008,
1441
  "input_raster_bytes": null,
1442
- "train_ms_per_step": 101.53206159998263,
1443
- "infer_ms_per_sample": 0.6751663200000735,
1444
- "peak_vram_mb": 2832.422912
1445
  },
1446
  "optimization_specific": {
1447
  "calibrate_thresh": true,
1448
  "ftbc": true,
1449
- "calib_percentile": 95.0,
1450
  "calib_batches": 8,
1451
  "ftbc_target_ticks": 8,
1452
  "ftbc_ref_ticks": 100,
@@ -1458,212 +833,212 @@
1458
  1.0
1459
  ],
1460
  "thresh_after": [
1461
- 0.5629911422729492,
1462
- 0.4806070923805237,
1463
- 0.8457203507423401,
1464
- 1.6999517679214478
1465
  ],
1466
  "min_ticks_within_1pct_of_full": null,
1467
  "min_ticks_within_1pct_per_arm": {
1468
  "raw": 50,
1469
- "thresh": null,
1470
  "ftbc": 100,
1471
  "both": null
1472
  },
1473
  "speedup_at_min_ticks": null,
1474
- "full_T_acc": 0.9428571428571428,
1475
  "t_sweep_rows": [
1476
  {
1477
  "T": 4,
1478
  "arm": "raw",
1479
- "acc": 0.305,
1480
- "syn_per_inference": 1871713.2256493508,
1481
  "dense_per_inference": 4907008.0,
1482
- "event_fraction_of_dense": 0.3814367585398986
1483
  },
1484
  {
1485
  "T": 4,
1486
  "arm": "thresh",
1487
- "acc": 0.3335714285714286,
1488
- "syn_per_inference": 1909303.75487013,
1489
  "dense_per_inference": 4907008.0,
1490
- "event_fraction_of_dense": 0.38909733892223736
1491
  },
1492
  {
1493
  "T": 4,
1494
  "arm": "ftbc",
1495
- "acc": 0.23357142857142857,
1496
- "syn_per_inference": 1938631.2873376624,
1497
  "dense_per_inference": 4907008.0,
1498
- "event_fraction_of_dense": 0.39507400178228
1499
  },
1500
  {
1501
  "T": 4,
1502
  "arm": "both",
1503
- "acc": 0.31785714285714284,
1504
- "syn_per_inference": 2003910.9650974027,
1505
  "dense_per_inference": 4907008.0,
1506
- "event_fraction_of_dense": 0.40837735848350004
1507
  },
1508
  {
1509
  "T": 8,
1510
  "arm": "raw",
1511
- "acc": 0.6157142857142858,
1512
- "syn_per_inference": 2054740.7784090908,
1513
  "dense_per_inference": 9814016.0,
1514
- "event_fraction_of_dense": 0.20936798741810597
1515
  },
1516
  {
1517
  "T": 8,
1518
  "arm": "thresh",
1519
- "acc": 0.535,
1520
- "syn_per_inference": 2140106.012987013,
1521
  "dense_per_inference": 9814016.0,
1522
- "event_fraction_of_dense": 0.21806628529921013
1523
  },
1524
  {
1525
  "T": 8,
1526
  "arm": "ftbc",
1527
- "acc": 0.5135714285714286,
1528
- "syn_per_inference": 2244092.827922078,
1529
  "dense_per_inference": 9814016.0,
1530
- "event_fraction_of_dense": 0.22866203070405405
1531
  },
1532
  {
1533
  "T": 8,
1534
  "arm": "both",
1535
- "acc": 0.4642857142857143,
1536
- "syn_per_inference": 2392016.2751623373,
1537
  "dense_per_inference": 9814016.0,
1538
- "event_fraction_of_dense": 0.2437347030168218
1539
  },
1540
  {
1541
  "T": 16,
1542
  "arm": "raw",
1543
- "acc": 0.8264285714285714,
1544
- "syn_per_inference": 2346062.1858766233,
1545
  "dense_per_inference": 19628032.0,
1546
- "event_fraction_of_dense": 0.11952610357862792
1547
  },
1548
  {
1549
  "T": 16,
1550
  "arm": "thresh",
1551
- "acc": 0.7228571428571429,
1552
- "syn_per_inference": 2542097.0625,
1553
  "dense_per_inference": 19628032.0,
1554
- "event_fraction_of_dense": 0.1295135988416974
1555
  },
1556
  {
1557
  "T": 16,
1558
  "arm": "ftbc",
1559
- "acc": 0.7578571428571429,
1560
- "syn_per_inference": 2610952.6550324676,
1561
  "dense_per_inference": 19628032.0,
1562
- "event_fraction_of_dense": 0.13302162208786228
1563
  },
1564
  {
1565
  "T": 16,
1566
  "arm": "both",
1567
- "acc": 0.6342857142857142,
1568
- "syn_per_inference": 2888513.6176948054,
1569
  "dense_per_inference": 19628032.0,
1570
- "event_fraction_of_dense": 0.14716267110705777
1571
  },
1572
  {
1573
  "T": 25,
1574
  "arm": "raw",
1575
- "acc": 0.89,
1576
- "syn_per_inference": 2567979.000811688,
1577
  "dense_per_inference": 30668800.0,
1578
- "event_fraction_of_dense": 0.08373262080067326
1579
  },
1580
  {
1581
  "T": 25,
1582
  "arm": "thresh",
1583
- "acc": 0.8221428571428572,
1584
- "syn_per_inference": 2890386.8092532465,
1585
  "dense_per_inference": 30668800.0,
1586
- "event_fraction_of_dense": 0.09424518759303417
1587
  },
1588
  {
1589
  "T": 25,
1590
  "arm": "ftbc",
1591
- "acc": 0.8642857142857143,
1592
- "syn_per_inference": 2876722.585227273,
1593
  "dense_per_inference": 30668800.0,
1594
- "event_fraction_of_dense": 0.09379964606464136
1595
  },
1596
  {
1597
  "T": 25,
1598
  "arm": "both",
1599
- "acc": 0.7692857142857142,
1600
- "syn_per_inference": 3290927.121753247,
1601
  "dense_per_inference": 30668800.0,
1602
- "event_fraction_of_dense": 0.10730537620491336
1603
  },
1604
  {
1605
  "T": 50,
1606
  "arm": "raw",
1607
- "acc": 0.9328571428571428,
1608
- "syn_per_inference": 2922163.6103896103,
1609
  "dense_per_inference": 61337600.0,
1610
- "event_fraction_of_dense": 0.04764065777581142
1611
  },
1612
  {
1613
  "T": 50,
1614
  "arm": "thresh",
1615
- "acc": 0.9135714285714286,
1616
- "syn_per_inference": 3546637.237824675,
1617
  "dense_per_inference": 61337600.0,
1618
- "event_fraction_of_dense": 0.05782158476733154
1619
  },
1620
  {
1621
  "T": 50,
1622
  "arm": "ftbc",
1623
- "acc": 0.9292857142857143,
1624
- "syn_per_inference": 3297052.6079545454,
1625
  "dense_per_inference": 61337600.0,
1626
- "event_fraction_of_dense": 0.053752553212948424
1627
  },
1628
  {
1629
  "T": 50,
1630
  "arm": "both",
1631
- "acc": 0.9007142857142857,
1632
- "syn_per_inference": 4030732.6136363638,
1633
  "dense_per_inference": 61337600.0,
1634
- "event_fraction_of_dense": 0.06571389512527982
1635
  },
1636
  {
1637
  "T": 100,
1638
  "arm": "raw",
1639
- "acc": 0.9428571428571428,
1640
- "syn_per_inference": 3264047.5113636362,
1641
  "dense_per_inference": 122675200.0,
1642
- "event_fraction_of_dense": 0.026607232035192413
1643
  },
1644
  {
1645
  "T": 100,
1646
  "arm": "thresh",
1647
- "acc": 0.9321428571428572,
1648
- "syn_per_inference": 4339798.512987013,
1649
  "dense_per_inference": 122675200.0,
1650
- "event_fraction_of_dense": 0.03537633126326277
1651
  },
1652
  {
1653
  "T": 100,
1654
  "arm": "ftbc",
1655
- "acc": 0.9407142857142857,
1656
- "syn_per_inference": 3693235.9448051946,
1657
  "dense_per_inference": 122675200.0,
1658
- "event_fraction_of_dense": 0.03010580740691839
1659
  },
1660
  {
1661
  "T": 100,
1662
  "arm": "both",
1663
- "acc": 0.9292857142857143,
1664
- "syn_per_inference": 4875421.047077922,
1665
  "dense_per_inference": 122675200.0,
1666
- "event_fraction_of_dense": 0.03974251557835587
1667
  }
1668
  ],
1669
  "calibration_reference": "same network at full T (NOT a source ANN)"
@@ -1706,7 +1081,7 @@
1706
  "decision_margin": 2.0,
1707
  "export": false,
1708
  "seed": 1234,
1709
- "hub_dir": "/kaggle/working/hub/opt03_ftbc_threshold_balance/calib_p95",
1710
  "repo_id": "UWU-R-13/SSVEP-SNN",
1711
  "push_hf": false,
1712
  "keep_epoch_weights": 1,
@@ -1718,7 +1093,7 @@
1718
  "bench_iters": 50,
1719
  "bench_train_steps": 20,
1720
  "calibrate_thresh": true,
1721
- "calib_percentile": 95.0,
1722
  "calib_batches": 8,
1723
  "ftbc": true,
1724
  "ftbc_target_ticks": 8,
@@ -1729,11 +1104,442 @@
1729
  }
1730
  },
1731
  "zip": {
1732
- "name": "calib_p95.zip",
1733
  "files": 81,
1734
- "bytes": 12247718,
1735
- "MB": 12.2,
1736
- "sha256": "7bfd3a9ba5be867423a06c63cc3e7652e2784be8ea2ed7f3064997e028337fd1"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1737
  }
1738
  }
1739
  ]
 
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
  "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
  "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
  "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
  }
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
  "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,
258
+ "dta_thr_mean": 10.0,
259
  "base_thresh": 10.0
260
  },
261
  "config": {
 
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,
 
310
  "ttfs": true,
311
  "ttfs_halt_k": 1,
312
  "dta": true,
313
+ "dta_target_rate": 0.05,
314
  "dta_readout_rate": 0.95,
315
  "ttfs_logit_scale": 10.0,
316
  "dta_momentum": 0.1,
 
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",
 
417
  "no_batchnorm": false,
418
  "binary_input": false,
419
  "beta": 1.0,
420
+ "thresh": 1.0,
421
  "window": 0.5,
422
  "gain": 1.0,
423
  "alpha": 0.9,
424
+ "readout": "spikecount",
425
  "fake_quant": 0,
426
  "amp": false,
427
  "spike_reg": 0.0,
 
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,
436
+ "bench_train_steps": 20,
437
+ "anytime_fracs": "0.25,0.5,1.0",
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,
450
  "no_resume": true,
451
  "selftest": false,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
452
  "sampling_rate": 250.0
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
  {
464
+ "key": "opt02_seenn_bayes/default",
465
+ "tag": "default",
466
  "script": "opt02_seenn_bayes.py",
467
  "hf_folder": "applied/opt02_seenn_bayes",
468
+ "phase": 1,
469
  "status": "ok",
470
+ "duration_s": 586.1,
471
  "optimization_summary": {
472
  "optimization": "seenn_early_exit_bayesian_fusion",
473
  "research_section": "2. Temporal-dimension reduction",
 
476
  "baseline_mode": false,
477
  "method": "harmonic_matched",
478
  "accuracy": {
479
+ "test_acc": 0.9278571428571428,
480
+ "test_target_acc": 0.9278571428571428,
481
+ "best_val_acc": 0.9307142857142857
482
  },
483
  "efficiency": {
484
  "spikes_per_inference": null,
485
+ "syn_ops_per_inference": 3638362.4326298703,
486
  "dense_macs_per_inference": 123955200.0,
487
+ "event_fraction_of_dense": 0.029352237200455246,
488
+ "syn_ops_per_inference_dense_fanout": 65214980.21915584,
489
  "weight_sparsity": 0.7324707846410685,
490
+ "effective_ticks": 7.985,
491
  "num_ticks": 100,
492
  "membrane_bytes_per_inference": 451200,
493
  "weight_bytes": 4907008,
494
  "input_raster_bytes": null,
495
+ "train_ms_per_step": 174.30670261383057,
496
+ "infer_ms_per_sample": 0.6237456846476799,
497
+ "peak_vram_mb": 10914.396672,
498
+ "syn_ops_per_inference_early_exit": 1846599.2897727273
499
  },
500
  "optimization_specific": {
501
  "seenn_enabled": true,
502
  "bayes_fusion_enabled": true,
503
+ "conf_threshold": 0.9,
504
  "conf_temp": 2.0,
505
  "anytime_fracs": "0.25,0.5,1.0",
506
  "anytime_weights": "0.3,0.3,1.0",
507
  "ic_loss_weight": 0.3,
508
  "ic_layer": 0,
509
+ "mean_exit_tick": 7.985,
510
+ "mean_exit_ms": 399.25000000000006,
511
+ "ticks_saved_frac": 0.92015,
512
  "exit_tick_histogram": {
513
  "counts": [
514
+ 1040,
515
+ 316,
516
+ 39,
517
  4,
518
+ 1,
 
519
  0,
520
  0,
521
  0,
 
536
  100.0
537
  ]
538
  },
539
+ "acc_fc_only": 0.9278571428571428,
540
  "acc_ic_only": 0.935,
541
+ "acc_fused": 0.9378571428571428,
542
+ "acc_early_exit": 0.3578571428571429,
543
+ "syn_ops_saved_frac": 0.49246417200994075,
544
+ "syn_per_inference_early_exit": 1846599.2897727273,
545
  "anytime_acc": {
546
+ "0.25": 0.6228571428571429,
547
+ "0.5": 0.8078571428571428,
548
+ "0.75": 0.8885714285714286,
549
+ "1.0": 0.9278571428571428
550
  },
551
  "pareto": [
552
  {
553
  "conf": 0.5,
554
+ "mean_ticks": 4.405,
555
+ "acc": 0.22785714285714287,
556
+ "syn_ops": 1715995.05762987
557
  },
558
  {
559
  "conf": 0.7,
560
+ "mean_ticks": 5.097857142857142,
561
+ "acc": 0.25285714285714284,
562
+ "syn_ops": 1744549.8368506492
563
  },
564
  {
565
  "conf": 0.8,
566
+ "mean_ticks": 5.984285714285714,
567
+ "acc": 0.28285714285714286,
568
+ "syn_ops": 1779479.5024350649
569
  },
570
  {
571
  "conf": 0.9,
572
+ "mean_ticks": 7.984285714285714,
573
+ "acc": 0.3578571428571429,
574
+ "syn_ops": 1846555.8522727273
575
  },
576
  {
577
  "conf": 0.95,
578
+ "mean_ticks": 10.01142857142857,
579
+ "acc": 0.42857142857142855,
580
+ "syn_ops": 1902723.0324675327
581
  },
582
  {
583
  "conf": 0.99,
584
+ "mean_ticks": 14.458571428571428,
585
+ "acc": 0.5621428571428572,
586
+ "syn_ops": 2004484.2800324673
587
  }
588
  ]
589
  },
 
636
  "ic_loss_weight": 0.3,
637
  "bayes_fusion": true,
638
  "fusion_prior_weight": 1.0,
639
+ "conf_threshold": 0.9,
640
  "conf_temp": 2.0,
641
  "conf_sweep": "0.5,0.7,0.8,0.9,0.95,0.99",
642
+ "hub_dir": "/kaggle/working/hub/opt02_seenn_bayes/default",
643
  "repo_id": "UWU-R-13/SSVEP-SNN",
644
  "push_hf": false,
645
  "keep_epoch_weights": 1,
 
649
  }
650
  },
651
  "zip": {
652
+ "name": "default.zip",
653
  "files": 81,
654
+ "bytes": 12636571,
655
  "MB": 12.6,
656
+ "sha256": "1c64c6704af63b5eec37b2f1d2e824ba1c5c3c28328c5b1c03089bd12b4cc747"
657
  }
658
  },
659
  {
660
+ "key": "opt03_ftbc_threshold_balance/control_baseline",
661
+ "tag": "control_baseline",
662
+ "script": "opt03_ftbc_threshold_balance.py",
663
+ "hf_folder": "applied/opt03_ftbc_threshold_balance",
664
+ "phase": 1,
665
  "status": "ok",
666
+ "duration_s": 321.7,
667
  "optimization_summary": {
668
+ "optimization": "ftbc_threshold_balance",
669
+ "research_section": "2. Temporal-Dimension Reduction (threshold balancing + FTBC)",
670
+ "reference": "Rueckauer et al. arXiv:1612.04052; Sengupta et al. arXiv:1802.02627; FTBC: Forward Temporal Bias Correction, ECCV 2024",
671
+ "script": "opt03_ftbc_threshold_balance.py",
672
+ "baseline_mode": true,
673
  "method": "harmonic_matched",
674
  "accuracy": {
675
+ "test_acc": 0.9421428571428572,
676
+ "test_target_acc": 0.9421428571428572,
677
+ "best_val_acc": 0.945
678
  },
679
  "efficiency": {
680
  "spikes_per_inference": null,
681
+ "syn_ops_per_inference": 3271536.9975649347,
682
+ "dense_macs_per_inference": 122675200.0,
683
+ "event_fraction_of_dense": 0.026668283382174512,
684
+ "syn_ops_per_inference_dense_fanout": 64848154.78409091,
685
  "weight_sparsity": 0.7324707846410685,
686
+ "effective_ticks": 12.079285714285714,
687
  "num_ticks": 100,
688
  "membrane_bytes_per_inference": 451200,
689
  "weight_bytes": 4907008,
690
  "input_raster_bytes": null,
691
+ "train_ms_per_step": 94.71398885000326,
692
+ "infer_ms_per_sample": 0.6264105418749466,
693
+ "peak_vram_mb": 2828.282368
 
694
  },
695
  "optimization_specific": {
696
+ "calibrate_thresh": false,
697
+ "ftbc": false,
698
+ "calib_percentile": 99.9,
699
+ "calib_batches": 8,
700
+ "ftbc_target_ticks": 8,
701
+ "ftbc_ref_ticks": 100,
702
+ "trained_T": 100,
703
+ "thresh_before": [
704
+ 1.0,
705
+ 1.0,
706
+ 1.0,
707
+ 1.0
708
+ ],
709
+ "thresh_after": null,
710
+ "min_ticks_within_1pct_of_full": null,
711
+ "min_ticks_within_1pct_per_arm": null,
712
+ "speedup_at_min_ticks": null,
713
+ "full_T_acc": null,
714
+ "t_sweep_rows": null,
715
+ "calibration_reference": "same network at full T (NOT a source ANN)"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
716
  },
717
  "config": {
718
  "method": "harmonic_matched",
 
746
  "alpha": 0.9,
747
  "readout": "spikecount",
748
  "fake_quant": 0,
749
+ "amp": false,
750
+ "spike_reg": 0.0,
751
+ "event_eval": true,
752
+ "decision_margin": 2.0,
753
+ "export": false,
754
+ "seed": 1234,
755
+ "hub_dir": "/kaggle/working/hub/opt03_ftbc_threshold_balance/control_baseline",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
756
  "repo_id": "UWU-R-13/SSVEP-SNN",
757
  "push_hf": false,
758
  "keep_epoch_weights": 1,
759
  "no_resume": true,
760
  "selftest": false,
761
+ "baseline": true,
762
+ "bench": true,
763
+ "bench_warmup": 10,
764
+ "bench_iters": 50,
765
+ "bench_train_steps": 20,
766
+ "calibrate_thresh": true,
767
+ "calib_percentile": 99.9,
768
+ "calib_batches": 8,
769
+ "ftbc": true,
770
+ "ftbc_target_ticks": 8,
771
+ "ftbc_ref_ticks": 0,
772
+ "ftbc_lr": 1.0,
773
+ "t_sweep": "4,8,16,25,50,100",
774
  "sampling_rate": 250.0
775
  }
776
  },
777
  "zip": {
778
+ "name": "control_baseline.zip",
779
+ "files": 80,
780
+ "bytes": 12244248,
781
+ "MB": 12.2,
782
+ "sha256": "c24f218a83b9e351cc6d43ef1b51d7b3f9e3bfa86c64ae22f40bc90ce4f087a4"
783
  }
784
  },
785
  {
786
+ "key": "opt03_ftbc_threshold_balance/default",
787
+ "tag": "default",
788
  "script": "opt03_ftbc_threshold_balance.py",
789
  "hf_folder": "applied/opt03_ftbc_threshold_balance",
790
+ "phase": 1,
791
  "status": "ok",
792
+ "duration_s": 372.1,
793
  "optimization_summary": {
794
  "optimization": "ftbc_threshold_balance",
795
  "research_section": "2. Temporal-Dimension Reduction (threshold balancing + FTBC)",
 
798
  "baseline_mode": false,
799
  "method": "harmonic_matched",
800
  "accuracy": {
801
+ "test_acc": 0.9292857142857143,
802
+ "test_target_acc": 0.9292857142857143,
803
+ "best_val_acc": 0.945
804
  },
805
  "efficiency": {
806
  "spikes_per_inference": null,
807
+ "syn_ops_per_inference": 3270969.221590909,
808
  "dense_macs_per_inference": 122675200.0,
809
+ "event_fraction_of_dense": 0.026663655095658365,
810
+ "syn_ops_per_inference_dense_fanout": 64847587.008116886,
811
  "weight_sparsity": 0.7324707846410685,
812
+ "effective_ticks": 12.059285714285714,
813
  "num_ticks": 100,
814
  "membrane_bytes_per_inference": 451200,
815
  "weight_bytes": 4907008,
816
  "input_raster_bytes": null,
817
+ "train_ms_per_step": 92.7018213500105,
818
+ "infer_ms_per_sample": 0.6145065031248009,
819
+ "peak_vram_mb": 2825.316864
820
  },
821
  "optimization_specific": {
822
  "calibrate_thresh": true,
823
  "ftbc": true,
824
+ "calib_percentile": 99.9,
825
  "calib_batches": 8,
826
  "ftbc_target_ticks": 8,
827
  "ftbc_ref_ticks": 100,
 
833
  1.0
834
  ],
835
  "thresh_after": [
836
+ 2.353323459625244,
837
+ 0.8474444150924683,
838
+ 1.1090540885925293,
839
+ 2.6859006881713867
840
  ],
841
  "min_ticks_within_1pct_of_full": null,
842
  "min_ticks_within_1pct_per_arm": {
843
  "raw": 50,
844
+ "thresh": 50,
845
  "ftbc": 100,
846
  "both": null
847
  },
848
  "speedup_at_min_ticks": null,
849
+ "full_T_acc": 0.9442857142857143,
850
  "t_sweep_rows": [
851
  {
852
  "T": 4,
853
  "arm": "raw",
854
+ "acc": 0.2621428571428571,
855
+ "syn_per_inference": 1869022.726461039,
856
  "dense_per_inference": 4907008.0,
857
+ "event_fraction_of_dense": 0.38088846124991826
858
  },
859
  {
860
  "T": 4,
861
  "arm": "thresh",
862
+ "acc": 0.40214285714285714,
863
+ "syn_per_inference": 1828094.6006493508,
864
  "dense_per_inference": 4907008.0,
865
+ "event_fraction_of_dense": 0.37254771148719357
866
  },
867
  {
868
  "T": 4,
869
  "arm": "ftbc",
870
+ "acc": 0.18285714285714286,
871
+ "syn_per_inference": 1982641.3717532465,
872
  "dense_per_inference": 4907008.0,
873
+ "event_fraction_of_dense": 0.4040428244162729
874
  },
875
  {
876
  "T": 4,
877
  "arm": "both",
878
+ "acc": 0.27714285714285714,
879
+ "syn_per_inference": 1953169.6939935065,
880
  "dense_per_inference": 4907008.0,
881
+ "event_fraction_of_dense": 0.3980367861624653
882
  },
883
  {
884
  "T": 8,
885
  "arm": "raw",
886
+ "acc": 0.5942857142857143,
887
+ "syn_per_inference": 2050550.6517857143,
888
  "dense_per_inference": 9814016.0,
889
+ "event_fraction_of_dense": 0.20894103410731288
890
  },
891
  {
892
  "T": 8,
893
  "arm": "thresh",
894
+ "acc": 0.7785714285714286,
895
+ "syn_per_inference": 1952516.9748376624,
896
  "dense_per_inference": 9814016.0,
897
+ "event_fraction_of_dense": 0.19895188420700174
898
  },
899
  {
900
  "T": 8,
901
  "arm": "ftbc",
902
+ "acc": 0.375,
903
+ "syn_per_inference": 2353354.2873376627,
904
  "dense_per_inference": 9814016.0,
905
+ "event_fraction_of_dense": 0.2397952364595353
906
  },
907
  {
908
  "T": 8,
909
  "arm": "both",
910
+ "acc": 0.53,
911
+ "syn_per_inference": 2284980.627435065,
912
  "dense_per_inference": 9814016.0,
913
+ "event_fraction_of_dense": 0.23282829653375997
914
  },
915
  {
916
  "T": 16,
917
  "arm": "raw",
918
+ "acc": 0.8028571428571428,
919
+ "syn_per_inference": 2341053.414772727,
920
  "dense_per_inference": 19628032.0,
921
+ "event_fraction_of_dense": 0.11927091899853878
922
  },
923
  {
924
  "T": 16,
925
  "arm": "thresh",
926
+ "acc": 0.8985714285714286,
927
+ "syn_per_inference": 2125678.341720779,
928
  "dense_per_inference": 19628032.0,
929
+ "event_fraction_of_dense": 0.10829808825055813
930
  },
931
  {
932
  "T": 16,
933
  "arm": "ftbc",
934
+ "acc": 0.645,
935
+ "syn_per_inference": 2743122.541396104,
936
  "dense_per_inference": 19628032.0,
937
+ "event_fraction_of_dense": 0.13975535302755282
938
  },
939
  {
940
  "T": 16,
941
  "arm": "both",
942
+ "acc": 0.7207142857142858,
943
+ "syn_per_inference": 2544346.234577922,
944
  "dense_per_inference": 19628032.0,
945
+ "event_fraction_of_dense": 0.12962818863235612
946
  },
947
  {
948
  "T": 25,
949
  "arm": "raw",
950
+ "acc": 0.8764285714285714,
951
+ "syn_per_inference": 2563596.2670454546,
952
  "dense_per_inference": 30668800.0,
953
+ "event_fraction_of_dense": 0.08358971551040323
954
  },
955
  {
956
  "T": 25,
957
  "arm": "thresh",
958
+ "acc": 0.9285714285714286,
959
+ "syn_per_inference": 2243644.229707792,
960
  "dense_per_inference": 30668800.0,
961
+ "event_fraction_of_dense": 0.07315722264020086
962
  },
963
  {
964
  "T": 25,
965
  "arm": "ftbc",
966
+ "acc": 0.8257142857142857,
967
+ "syn_per_inference": 3023309.375,
968
  "dense_per_inference": 30668800.0,
969
+ "event_fraction_of_dense": 0.09857931758008139
970
  },
971
  {
972
  "T": 25,
973
  "arm": "both",
974
+ "acc": 0.81,
975
+ "syn_per_inference": 2707661.5560064935,
976
  "dense_per_inference": 30668800.0,
977
+ "event_fraction_of_dense": 0.08828716989274095
978
  },
979
  {
980
  "T": 50,
981
  "arm": "raw",
982
+ "acc": 0.935,
983
+ "syn_per_inference": 2919362.8060064935,
984
  "dense_per_inference": 61337600.0,
985
+ "event_fraction_of_dense": 0.047594995663451024
986
  },
987
  {
988
  "T": 50,
989
  "arm": "thresh",
990
+ "acc": 0.9371428571428572,
991
+ "syn_per_inference": 2426220.323051948,
992
  "dense_per_inference": 61337600.0,
993
+ "event_fraction_of_dense": 0.039555188384481105
994
  },
995
  {
996
  "T": 50,
997
  "arm": "ftbc",
998
+ "acc": 0.9107142857142857,
999
+ "syn_per_inference": 3453336.166396104,
1000
  "dense_per_inference": 61337600.0,
1001
+ "event_fraction_of_dense": 0.05630047746237388
1002
  },
1003
  {
1004
  "T": 50,
1005
  "arm": "both",
1006
+ "acc": 0.905,
1007
+ "syn_per_inference": 2956368.487824675,
1008
  "dense_per_inference": 61337600.0,
1009
+ "event_fraction_of_dense": 0.04819830720185784
1010
  },
1011
  {
1012
  "T": 100,
1013
  "arm": "raw",
1014
+ "acc": 0.9442857142857143,
1015
+ "syn_per_inference": 3270968.9375,
1016
  "dense_per_inference": 122675200.0,
1017
+ "event_fraction_of_dense": 0.026663652779860967
1018
  },
1019
  {
1020
  "T": 100,
1021
  "arm": "thresh",
1022
+ "acc": 0.9292857142857143,
1023
+ "syn_per_inference": 2701710.5844155843,
1024
  "dense_per_inference": 122675200.0,
1025
+ "event_fraction_of_dense": 0.02202328249243192
1026
  },
1027
  {
1028
  "T": 100,
1029
  "arm": "ftbc",
1030
+ "acc": 0.9342857142857143,
1031
+ "syn_per_inference": 3888789.481331169,
1032
  "dense_per_inference": 122675200.0,
1033
+ "event_fraction_of_dense": 0.031699882953776876
1034
  },
1035
  {
1036
  "T": 100,
1037
  "arm": "both",
1038
+ "acc": 0.9207142857142857,
1039
+ "syn_per_inference": 3266400.9139610385,
1040
  "dense_per_inference": 122675200.0,
1041
+ "event_fraction_of_dense": 0.02662641604791383
1042
  }
1043
  ],
1044
  "calibration_reference": "same network at full T (NOT a source ANN)"
 
1081
  "decision_margin": 2.0,
1082
  "export": false,
1083
  "seed": 1234,
1084
+ "hub_dir": "/kaggle/working/hub/opt03_ftbc_threshold_balance/default",
1085
  "repo_id": "UWU-R-13/SSVEP-SNN",
1086
  "push_hf": false,
1087
  "keep_epoch_weights": 1,
 
1093
  "bench_iters": 50,
1094
  "bench_train_steps": 20,
1095
  "calibrate_thresh": true,
1096
+ "calib_percentile": 99.9,
1097
  "calib_batches": 8,
1098
  "ftbc": true,
1099
  "ftbc_target_ticks": 8,
 
1104
  }
1105
  },
1106
  "zip": {
1107
+ "name": "default.zip",
1108
  "files": 81,
1109
+ "bytes": 12251189,
1110
+ "MB": 12.3,
1111
+ "sha256": "a2408411059da5b902543faccd650a7826414bf770223e315a19896579a36f61"
1112
+ }
1113
+ },
1114
+ {
1115
+ "key": "opt04_cudagraph_unroll/control_baseline",
1116
+ "tag": "control_baseline",
1117
+ "script": "opt04_cudagraph_unroll.py",
1118
+ "hf_folder": "applied/opt04_cudagraph_unroll",
1119
+ "phase": 1,
1120
+ "status": "ok",
1121
+ "duration_s": 320.6,
1122
+ "optimization_summary": {
1123
+ "optimization": "cudagraph_static_unroll",
1124
+ "research_section": "2. Temporal-dimension reduction / 5. OS & runtime",
1125
+ "reference": "CUDA Graphs static capture/replay applied to the unrolled T-tick event-driven inference loop",
1126
+ "script": "opt04_cudagraph_unroll.py",
1127
+ "baseline_mode": true,
1128
+ "method": "harmonic_matched",
1129
+ "accuracy": {
1130
+ "test_acc": 0.9385714285714286,
1131
+ "test_target_acc": 0.9385714285714286,
1132
+ "best_val_acc": 0.9464285714285714
1133
+ },
1134
+ "efficiency": {
1135
+ "spikes_per_inference": null,
1136
+ "syn_ops_per_inference": 3254834.5267857146,
1137
+ "dense_macs_per_inference": 122675200.0,
1138
+ "event_fraction_of_dense": 0.02653213140704653,
1139
+ "syn_ops_per_inference_dense_fanout": 64831452.31331169,
1140
+ "weight_sparsity": 0.7324707846410685,
1141
+ "effective_ticks": 12.097857142857142,
1142
+ "num_ticks": 100,
1143
+ "membrane_bytes_per_inference": 451200,
1144
+ "weight_bytes": 4907008,
1145
+ "input_raster_bytes": null,
1146
+ "train_ms_per_step": 92.22967624664307,
1147
+ "infer_ms_per_sample": 0.6272434443235397,
1148
+ "peak_vram_mb": 2804.347904
1149
+ },
1150
+ "optimization_specific": {
1151
+ "graph_enabled": false
1152
+ },
1153
+ "config": {
1154
+ "method": "harmonic_matched",
1155
+ "data_root": "/kaggle/working/data",
1156
+ "subjects": "",
1157
+ "blocks": "",
1158
+ "limit": 0,
1159
+ "drop_rest": true,
1160
+ "resplit": "block",
1161
+ "test_blocks": "6",
1162
+ "class_weight": false,
1163
+ "epochs": 60,
1164
+ "batch_size": 64,
1165
+ "lr": 0.002,
1166
+ "weight_decay": 0.0005,
1167
+ "grad_clip": 5.0,
1168
+ "num_bins": 100,
1169
+ "window_sec": 5.0,
1170
+ "hidden": "512,256",
1171
+ "freq_groups": 8,
1172
+ "dropout": 0.3,
1173
+ "spike_drop": 0.1,
1174
+ "time_jitter": 2,
1175
+ "label_smoothing": 0.05,
1176
+ "no_batchnorm": false,
1177
+ "binary_input": false,
1178
+ "beta": 1.0,
1179
+ "thresh": 1.0,
1180
+ "window": 0.5,
1181
+ "gain": 1.0,
1182
+ "alpha": 0.9,
1183
+ "readout": "spikecount",
1184
+ "fake_quant": 0,
1185
+ "amp": false,
1186
+ "spike_reg": 0.0,
1187
+ "event_eval": true,
1188
+ "decision_margin": 2.0,
1189
+ "export": false,
1190
+ "seed": 1234,
1191
+ "hub_dir": "/kaggle/working/hub/opt04_cudagraph_unroll/control_baseline",
1192
+ "repo_id": "UWU-R-13/SSVEP-SNN",
1193
+ "push_hf": false,
1194
+ "keep_epoch_weights": 1,
1195
+ "no_resume": true,
1196
+ "selftest": false,
1197
+ "baseline": true,
1198
+ "bench": true,
1199
+ "bench_warmup": 10,
1200
+ "bench_iters": 50,
1201
+ "bench_train_steps": 20,
1202
+ "event_capacity": 0,
1203
+ "graph_warmup": 3,
1204
+ "bench_batches": "1,8,32,128",
1205
+ "sampling_rate": 250.0
1206
+ }
1207
+ },
1208
+ "zip": {
1209
+ "name": "control_baseline.zip",
1210
+ "files": 80,
1211
+ "bytes": 12254389,
1212
+ "MB": 12.3,
1213
+ "sha256": "90228451e4506fa57fd18dda54312748f259653c71dda8725406593029e0c194"
1214
+ }
1215
+ },
1216
+ {
1217
+ "key": "opt04_cudagraph_unroll/default",
1218
+ "tag": "default",
1219
+ "script": "opt04_cudagraph_unroll.py",
1220
+ "hf_folder": "applied/opt04_cudagraph_unroll",
1221
+ "phase": 1,
1222
+ "status": "ok",
1223
+ "duration_s": 501.8,
1224
+ "optimization_summary": {
1225
+ "optimization": "cudagraph_static_unroll",
1226
+ "research_section": "2. Temporal-dimension reduction / 5. OS & runtime",
1227
+ "reference": "CUDA Graphs static capture/replay applied to the unrolled T-tick event-driven inference loop",
1228
+ "script": "opt04_cudagraph_unroll.py",
1229
+ "baseline_mode": false,
1230
+ "method": "harmonic_matched",
1231
+ "accuracy": {
1232
+ "test_acc": 0.9435714285714286,
1233
+ "test_target_acc": 0.9435714285714286,
1234
+ "best_val_acc": 0.95
1235
+ },
1236
+ "efficiency": {
1237
+ "spikes_per_inference": null,
1238
+ "syn_ops_per_inference": 3255047.327922078,
1239
+ "dense_macs_per_inference": 122675200.0,
1240
+ "event_fraction_of_dense": 0.026533866078246277,
1241
+ "syn_ops_per_inference_dense_fanout": 64831665.11444805,
1242
+ "weight_sparsity": 0.7324707846410685,
1243
+ "effective_ticks": 11.80642857142857,
1244
+ "num_ticks": 100,
1245
+ "membrane_bytes_per_inference": 451200,
1246
+ "weight_bytes": 4907008,
1247
+ "input_raster_bytes": null,
1248
+ "train_ms_per_step": 92.52521991729736,
1249
+ "infer_ms_per_sample": 0.6286457926034927,
1250
+ "peak_vram_mb": 2803.899904
1251
+ },
1252
+ "optimization_specific": {
1253
+ "graph_enabled": true,
1254
+ "event_capacity_scan": {
1255
+ "cap_scan": 98901,
1256
+ "batch_size_scan": 64,
1257
+ "n_batches_scanned": 20,
1258
+ "density_per_sample": 1545.328125,
1259
+ "per_layer_caps": [
1260
+ 98901,
1261
+ 7501,
1262
+ 3379,
1263
+ 3291
1264
+ ]
1265
+ },
1266
+ "capacity": 98901,
1267
+ "overflow_ticks_frac": 0.0,
1268
+ "graph_vs_eager_pred_agreement": 1.0,
1269
+ "graph_capture_ms": 233.42132568359375,
1270
+ "graphed_acc": 0.9435714285714286,
1271
+ "kernel_launches_eager": 400,
1272
+ "kernel_launches_graphed": 2,
1273
+ "launch_reduction_x": 200.0,
1274
+ "bench_batches": {
1275
+ "1": {
1276
+ "ms_per_sample_eager": 157.8002643585205,
1277
+ "ms_per_sample_graphed": 32.571964263916016,
1278
+ "throughput_eager_samples_per_s": 6.337124998270032,
1279
+ "throughput_graphed_samples_per_s": 30.701249451750854,
1280
+ "speedup_x": 4.844665279623167,
1281
+ "capacity": 1546
1282
+ },
1283
+ "8": {
1284
+ "ms_per_sample_eager": 20.341086983680725,
1285
+ "ms_per_sample_graphed": 12.358421683311462,
1286
+ "throughput_eager_samples_per_s": 49.161581227310094,
1287
+ "throughput_graphed_samples_per_s": 80.91648153990228,
1288
+ "speedup_x": 1.645929189416548,
1289
+ "capacity": 12363
1290
+ },
1291
+ "32": {
1292
+ "ms_per_sample_eager": 5.914023816585541,
1293
+ "ms_per_sample_graphed": 10.751050561666489,
1294
+ "throughput_eager_samples_per_s": 169.08961326729144,
1295
+ "throughput_graphed_samples_per_s": 93.01416584957377,
1296
+ "speedup_x": 0.5500879921142168,
1297
+ "capacity": 49451
1298
+ },
1299
+ "128": {
1300
+ "ms_per_sample_eager": 1.9992999359965324,
1301
+ "ms_per_sample_graphed": 9.524058550596237,
1302
+ "throughput_eager_samples_per_s": 500.17507728351893,
1303
+ "throughput_graphed_samples_per_s": 104.99725455146395,
1304
+ "speedup_x": 0.20992100430455352,
1305
+ "capacity": 197802
1306
+ }
1307
+ },
1308
+ "speedup_x_at_batch1": 4.844665279623167
1309
+ },
1310
+ "config": {
1311
+ "method": "harmonic_matched",
1312
+ "data_root": "/kaggle/working/data",
1313
+ "subjects": "",
1314
+ "blocks": "",
1315
+ "limit": 0,
1316
+ "drop_rest": true,
1317
+ "resplit": "block",
1318
+ "test_blocks": "6",
1319
+ "class_weight": false,
1320
+ "epochs": 60,
1321
+ "batch_size": 64,
1322
+ "lr": 0.002,
1323
+ "weight_decay": 0.0005,
1324
+ "grad_clip": 5.0,
1325
+ "num_bins": 100,
1326
+ "window_sec": 5.0,
1327
+ "hidden": "512,256",
1328
+ "freq_groups": 8,
1329
+ "dropout": 0.3,
1330
+ "spike_drop": 0.1,
1331
+ "time_jitter": 2,
1332
+ "label_smoothing": 0.05,
1333
+ "no_batchnorm": false,
1334
+ "binary_input": false,
1335
+ "beta": 1.0,
1336
+ "thresh": 1.0,
1337
+ "window": 0.5,
1338
+ "gain": 1.0,
1339
+ "alpha": 0.9,
1340
+ "readout": "spikecount",
1341
+ "fake_quant": 0,
1342
+ "amp": false,
1343
+ "spike_reg": 0.0,
1344
+ "event_eval": true,
1345
+ "decision_margin": 2.0,
1346
+ "export": false,
1347
+ "seed": 1234,
1348
+ "hub_dir": "/kaggle/working/hub/opt04_cudagraph_unroll/default",
1349
+ "repo_id": "UWU-R-13/SSVEP-SNN",
1350
+ "push_hf": false,
1351
+ "keep_epoch_weights": 1,
1352
+ "no_resume": true,
1353
+ "selftest": false,
1354
+ "baseline": false,
1355
+ "bench": true,
1356
+ "bench_warmup": 10,
1357
+ "bench_iters": 50,
1358
+ "bench_train_steps": 20,
1359
+ "event_capacity": 0,
1360
+ "graph_warmup": 3,
1361
+ "bench_batches": "1,8,32,128",
1362
+ "sampling_rate": 250.0
1363
+ }
1364
+ },
1365
+ "zip": {
1366
+ "name": "default.zip",
1367
+ "files": 81,
1368
+ "bytes": 12253126,
1369
+ "MB": 12.3,
1370
+ "sha256": "dd13cd46e7240e145c6dd659b20ff6be55136f94e8e39058663d3ccbf1811fac"
1371
+ }
1372
+ },
1373
+ {
1374
+ "key": "opt05_bitpack_popcount/control_baseline",
1375
+ "tag": "control_baseline",
1376
+ "script": "opt05_bitpack_popcount.py",
1377
+ "hf_folder": "applied/opt05_bitpack_popcount",
1378
+ "phase": 1,
1379
+ "status": "ok",
1380
+ "duration_s": 584.8,
1381
+ "optimization_summary": {
1382
+ "optimization": "bitpack_popcount",
1383
+ "research_section": "3. Spike-Sparsity & MAC->AC Restructuring",
1384
+ "reference": "SATA, arXiv:2204.05422; BMXNet/BiFSMNv2 popcount GEMM",
1385
+ "script": "opt05_bitpack_popcount.py",
1386
+ "baseline_mode": true,
1387
+ "method": "harmonic_matched",
1388
+ "accuracy": {
1389
+ "test_acc": 0.9392857142857143,
1390
+ "test_target_acc": 0.9392857142857143,
1391
+ "best_val_acc": 0.945
1392
+ },
1393
+ "efficiency": {
1394
+ "spikes_per_inference": null,
1395
+ "syn_ops_per_inference": 3259960.8547077924,
1396
+ "dense_macs_per_inference": 122675200.0,
1397
+ "event_fraction_of_dense": 0.02657391921682453,
1398
+ "syn_ops_per_inference_dense_fanout": 64836578.64123377,
1399
+ "weight_sparsity": 0.7324707846410685,
1400
+ "effective_ticks": 11.83,
1401
+ "num_ticks": 100,
1402
+ "membrane_bytes_per_inference": 451200,
1403
+ "weight_bytes": 4907008,
1404
+ "input_raster_bytes": 403200000,
1405
+ "train_ms_per_step": 94.69575869998152,
1406
+ "infer_ms_per_sample": 0.6265434059375252,
1407
+ "peak_vram_mb": 2827.963904
1408
+ },
1409
+ "optimization_specific": {
1410
+ "bitpack": false,
1411
+ "pack_hidden": false,
1412
+ "popcount_readout": false,
1413
+ "n_channels": 2880,
1414
+ "packed_words_per_tick": 90,
1415
+ "input_raster_bytes_uint8": 403200000,
1416
+ "input_raster_bytes_packed": null,
1417
+ "memory_reduction_x": 1.0,
1418
+ "mults_eliminated_per_inference": null,
1419
+ "pred_agreement_packed_vs_float": null,
1420
+ "popcount_counts_exact": null,
1421
+ "crossover_density": 0.01,
1422
+ "packed_ever_wins": true,
1423
+ "packed_vs_scatter_ms": [
1424
+ {
1425
+ "density": 0.01,
1426
+ "measured_density": 0.00997178815305233,
1427
+ "scatter_ms": 0.1802825927734375,
1428
+ "packed_ms": 0.046405792236328125,
1429
+ "pack_ms": 0.1291036605834961,
1430
+ "speedup_x": 3.8849157418824496,
1431
+ "packed_wins": true,
1432
+ "matches_scatter": true
1433
+ },
1434
+ {
1435
+ "density": 0.05,
1436
+ "measured_density": 0.0490993931889534,
1437
+ "scatter_ms": 0.2356719970703125,
1438
+ "packed_ms": 0.06339550018310547,
1439
+ "pack_ms": 0.13286590576171875,
1440
+ "speedup_x": 3.7174877773599095,
1441
+ "packed_wins": true,
1442
+ "matches_scatter": true
1443
+ },
1444
+ {
1445
+ "density": 0.1,
1446
+ "measured_density": 0.10040690004825592,
1447
+ "scatter_ms": 0.42845726013183594,
1448
+ "packed_ms": 0.08290290832519531,
1449
+ "pack_ms": 0.12605667114257812,
1450
+ "speedup_x": 5.168181295295065,
1451
+ "packed_wins": true,
1452
+ "matches_scatter": true
1453
+ },
1454
+ {
1455
+ "density": 0.25,
1456
+ "measured_density": 0.24960395693778992,
1457
+ "scatter_ms": 1.0294532775878906,
1458
+ "packed_ms": 0.14525413513183594,
1459
+ "pack_ms": 0.12697696685791016,
1460
+ "speedup_x": 7.087256253693126,
1461
+ "packed_wins": true,
1462
+ "matches_scatter": true
1463
+ },
1464
+ {
1465
+ "density": 0.5,
1466
+ "measured_density": 0.49802517890930176,
1467
+ "scatter_ms": 1.3754749298095703,
1468
+ "packed_ms": 0.2714681625366211,
1469
+ "pack_ms": 0.1302051544189453,
1470
+ "speedup_x": 5.0668001615991285,
1471
+ "packed_wins": true,
1472
+ "matches_scatter": true
1473
+ }
1474
+ ],
1475
+ "popcount_vs_loop_ms": {
1476
+ "loop_ms": 0.013265609741210938,
1477
+ "popcount_ms": 0.03826141357421875,
1478
+ "speedup_x": 0.3467098703888335
1479
+ }
1480
+ },
1481
+ "config": {
1482
+ "method": "harmonic_matched",
1483
+ "data_root": "/kaggle/working/data",
1484
+ "subjects": "",
1485
+ "blocks": "",
1486
+ "limit": 0,
1487
+ "drop_rest": true,
1488
+ "resplit": "block",
1489
+ "test_blocks": "6",
1490
+ "class_weight": false,
1491
+ "epochs": 60,
1492
+ "batch_size": 64,
1493
+ "lr": 0.002,
1494
+ "weight_decay": 0.0005,
1495
+ "grad_clip": 5.0,
1496
+ "num_bins": 100,
1497
+ "window_sec": 5.0,
1498
+ "hidden": "512,256",
1499
+ "freq_groups": 8,
1500
+ "dropout": 0.3,
1501
+ "spike_drop": 0.1,
1502
+ "time_jitter": 2,
1503
+ "label_smoothing": 0.05,
1504
+ "no_batchnorm": false,
1505
+ "binary_input": false,
1506
+ "beta": 1.0,
1507
+ "thresh": 1.0,
1508
+ "window": 0.5,
1509
+ "gain": 1.0,
1510
+ "alpha": 0.9,
1511
+ "readout": "spikecount",
1512
+ "fake_quant": 0,
1513
+ "amp": false,
1514
+ "spike_reg": 0.0,
1515
+ "event_eval": true,
1516
+ "decision_margin": 2.0,
1517
+ "export": false,
1518
+ "seed": 1234,
1519
+ "hub_dir": "/kaggle/working/hub/opt05_bitpack_popcount/control_baseline",
1520
+ "repo_id": "UWU-R-13/SSVEP-SNN",
1521
+ "push_hf": false,
1522
+ "keep_epoch_weights": 1,
1523
+ "no_resume": true,
1524
+ "selftest": false,
1525
+ "baseline": true,
1526
+ "bench": true,
1527
+ "bench_warmup": 10,
1528
+ "bench_iters": 50,
1529
+ "bench_train_steps": 20,
1530
+ "bitpack": true,
1531
+ "pack_hidden": false,
1532
+ "popcount_readout": true,
1533
+ "sparsity_sweep": "0.01,0.05,0.1,0.25,0.5",
1534
+ "sampling_rate": 250.0
1535
+ }
1536
+ },
1537
+ "zip": {
1538
+ "name": "control_baseline.zip",
1539
+ "files": 81,
1540
+ "bytes": 12250994,
1541
+ "MB": 12.3,
1542
+ "sha256": "ef07404573217d6615260626d16d6c3baa237388a674cc6f4fc50b4f57d95eb3"
1543
  }
1544
  }
1545
  ]