p-j-r-1-2-3 commited on
Commit
6ed0b04
·
verified ·
1 Parent(s): 6957824

update APPLIED run index

Browse files
Files changed (1) hide show
  1. applied/_index/APPLIED_RUNS_INDEX.json +632 -634
applied/_index/APPLIED_RUNS_INDEX.json CHANGED
@@ -1,106 +1,245 @@
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 +267,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 +279,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 +293,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 +304,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,74 +327,74 @@
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,7 +435,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,
@@ -310,7 +449,7 @@
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,75 +460,98 @@
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,11 +579,11 @@
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,45 +591,46 @@
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,46 +639,46 @@
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,54 +699,54 @@
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,10 +799,10 @@
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,70 +812,139 @@
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",
@@ -752,296 +984,163 @@
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)",
796
- "reference": "Rueckauer et al. arXiv:1612.04052; Sengupta et al. arXiv:1802.02627; FTBC: Forward Temporal Bias Correction, ECCV 2024",
797
- "script": "opt03_ftbc_threshold_balance.py",
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,
828
- "trained_T": 100,
829
- "thresh_before": [
830
- 1.0,
831
- 1.0,
832
- 1.0,
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)"
1045
  },
1046
  "config": {
1047
  "method": "harmonic_matched",
@@ -1081,136 +1180,35 @@
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,
1088
- "no_resume": true,
1089
- "selftest": false,
1090
  "baseline": false,
1091
  "bench": true,
1092
  "bench_warmup": 10,
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,
1100
- "ftbc_ref_ticks": 0,
1101
- "ftbc_lr": 1.0,
1102
- "t_sweep": "4,8,16,25,50,100",
1103
- "sampling_rate": 250.0
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
  ]
 
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
  "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
  "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
  "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
  }
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
  "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
  "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
  "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)",
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
  "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
  "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
  "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
  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
  "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
  {
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",
 
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",
 
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
  ]