p-j-r-1-2-3 commited on
Commit
9b5b1b8
·
verified ·
1 Parent(s): 122a388

update APPLIED run index

Browse files
Files changed (1) hide show
  1. applied/_index/APPLIED_RUNS_INDEX.json +1048 -744
applied/_index/APPLIED_RUNS_INDEX.json CHANGED
@@ -1,106 +1,89 @@
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 +111,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 +123,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 +137,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 +148,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 +171,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 +279,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 +293,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 +304,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 +423,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,171 +435,123 @@
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": "opt07_sfa_integer_train/storm_reg_0",
465
- "tag": "storm_reg_0",
466
- "script": "opt07_sfa_integer_train.py",
467
- "hf_folder": "applied/opt07_sfa_integer_train",
468
- "phase": 5,
469
  "status": "ok",
470
- "duration_s": 620.6,
471
  "optimization_summary": {
472
- "optimization": "sfa_integer_train",
473
- "research_section": "3. Training-Time Approximation for Fewer Timesteps (SFA) / spike-storm suppression",
474
- "reference": "Yao et al., Scaling Spike-driven Transformer with Efficient Spike Firing Approximation Training, arXiv:2411.16061",
475
- "script": "opt07_sfa_integer_train.py",
476
  "baseline_mode": false,
477
  "method": "harmonic_matched",
478
  "accuracy": {
479
- "test_acc": 0.93,
480
- "test_target_acc": 0.93,
481
- "best_val_acc": 0.9335714285714286
482
  },
483
  "efficiency": {
484
  "spikes_per_inference": null,
485
- "syn_ops_per_inference": 5285655.101461039,
486
  "dense_macs_per_inference": 122675200.0,
487
- "event_fraction_of_dense": 0.04308658230401123,
488
- "syn_ops_per_inference_dense_fanout": 66862272.88798702,
489
  "weight_sparsity": 0.7324707846410685,
490
- "effective_ticks": 4.083571428571428,
491
  "num_ticks": 100,
492
  "membrane_bytes_per_inference": 451200,
493
  "weight_bytes": 4907008,
494
  "input_raster_bytes": null,
495
- "train_ms_per_step": 104.8419256499983,
496
- "infer_ms_per_sample": 0.6984454099999482,
497
- "peak_vram_mb": 2830.736384
498
  },
499
  "optimization_specific": {
500
- "sfa_levels_D": 4,
501
- "soft_reset": true,
502
- "storm_reg": 0.0,
503
- "trained_T": 100,
504
- "infer_mode": "graded",
505
- "min_ticks_within_1pct_of_full": 100,
506
- "speedup_at_min_ticks": 1.0,
507
- "full_T_acc": 0.93,
508
- "t_sweep_rows": [
509
- {
510
- "T": 4,
511
- "acc": 0.12142857142857143,
512
- "syn_per_inference": 2814512.5584415584,
513
- "dense_per_inference": 4907008.0,
514
- "infer_mode": "graded",
515
- "ticks_speedup_vs_trained_T": 25.0
516
- },
517
- {
518
- "T": 8,
519
- "acc": 0.2307142857142857,
520
- "syn_per_inference": 3556388.2735389615,
521
- "dense_per_inference": 9814016.0,
522
- "infer_mode": "graded",
523
- "ticks_speedup_vs_trained_T": 12.5
524
- },
525
- {
526
- "T": 16,
527
- "acc": 0.5378571428571428,
528
- "syn_per_inference": 4167199.856331169,
529
- "dense_per_inference": 19628032.0,
530
- "infer_mode": "graded",
531
- "ticks_speedup_vs_trained_T": 6.25
532
- },
533
- {
534
- "T": 25,
535
- "acc": 0.7707142857142857,
536
- "syn_per_inference": 4437607.62012987,
537
- "dense_per_inference": 30668800.0,
538
- "infer_mode": "graded",
539
- "ticks_speedup_vs_trained_T": 4.0
540
- },
541
- {
542
- "T": 50,
543
- "acc": 0.8842857142857142,
544
- "syn_per_inference": 4779261.4342532465,
545
- "dense_per_inference": 61337600.0,
546
- "infer_mode": "graded",
547
- "ticks_speedup_vs_trained_T": 2.0
548
- },
549
- {
550
- "T": 100,
551
- "acc": 0.93,
552
- "syn_per_inference": 5285655.101461039,
553
- "dense_per_inference": 122675200.0,
554
- "infer_mode": "graded",
555
- "ticks_speedup_vs_trained_T": 1.0
556
- }
557
- ],
558
- "storm_ratio_peak_over_mean": 4.048530718036778,
559
- "tick_activity_cv": 0.5872231855348422,
560
- "mean_integer_activation": 0.10196488050743936,
561
- "frac_activations_gt1": 0.02114660758525133,
562
- "max_activation": 4.0,
563
- "per_layer_activity": [
564
  {
565
  "layer": 0,
566
- "mean_integer_activation": 0.18338739359751344,
567
- "peak_tick_activation": 0.6446411237120628,
568
- "storm_ratio": 3.515187773085857,
569
- "tick_activity_cv": 0.5872231855348422,
570
- "frac_activations_gt1": 0.02114660758525133,
571
- "max_activation": 4.0
572
  },
573
  {
574
  "layer": 1,
575
- "mean_integer_activation": 0.04924224853515625,
576
- "peak_tick_activation": 0.12945556640625,
577
- "storm_ratio": 2.6289531907509436,
578
- "tick_activity_cv": 0.3385586560128827,
579
- "frac_activations_gt1": 0.0011788940100814216,
580
- "max_activation": 4.0
581
  },
582
  {
583
  "layer": 2,
584
- "mean_integer_activation": 0.07326499938964844,
585
- "peak_tick_activation": 0.2966156005859375,
586
- "storm_ratio": 4.048530718036778,
587
- "tick_activity_cv": 0.5675882158492334,
588
- "frac_activations_gt1": 0.0014440917584579438,
589
- "max_activation": 4.0
 
 
 
 
 
590
  }
591
  ],
592
- "expanded_vs_graded_agreement": 1.0,
593
- "expanded_acc": 0.8984375,
594
- "graded_acc": 0.8984375,
595
- "syn_ratio_expanded_over_graded": 1.000382822740147,
596
- "expansion_caveat": "exact only at beta=1 (IAF); with beta<1 the expanded mode applies decay per sub-tick and drifts"
 
 
 
597
  },
598
  "config": {
599
  "method": "harmonic_matched",
@@ -621,11 +579,11 @@
621
  "no_batchnorm": false,
622
  "binary_input": false,
623
  "beta": 1.0,
624
- "thresh": 1.0,
625
  "window": 0.5,
626
  "gain": 1.0,
627
  "alpha": 0.9,
628
- "readout": "spikecount",
629
  "fake_quant": 0,
630
  "amp": false,
631
  "spike_reg": 0.0,
@@ -633,7 +591,7 @@
633
  "decision_margin": 2.0,
634
  "export": false,
635
  "seed": 1234,
636
- "hub_dir": "/kaggle/working/hub/opt07_sfa_integer_train/storm_reg_0",
637
  "repo_id": "UWU-R-13/SSVEP-SNN",
638
  "push_hf": false,
639
  "keep_epoch_weights": 1,
@@ -644,148 +602,153 @@
644
  "bench_warmup": 10,
645
  "bench_iters": 50,
646
  "bench_train_steps": 20,
647
- "sfa_levels": 4,
648
- "soft_reset": true,
649
- "storm_reg": 0.0,
650
- "infer_mode": "graded",
651
- "t_sweep": "4,8,16,25,50,100",
 
 
 
 
 
652
  "sampling_rate": 250.0
653
  }
654
  },
655
  "zip": {
656
- "name": "storm_reg_0.zip",
657
- "files": 81,
658
- "bytes": 12259837,
659
- "MB": 12.3,
660
- "sha256": "194904e94dac6ff6cfd7ba1ce7a3b3ffeb09cd84de849835a09aaac3268a4a08"
661
  }
662
  },
663
  {
664
- "key": "opt08_mint_quant/u_bits_0",
665
- "tag": "u_bits_0",
666
- "script": "opt08_mint_quant.py",
667
- "hf_folder": "applied/opt08_mint_quant",
668
- "phase": 5,
669
  "status": "ok",
670
- "duration_s": 341.5,
671
  "optimization_summary": {
672
- "optimization": "mint_quant",
673
- "research_section": "4. Membrane-Potential Memory-Wall Optimizations (multiplier-less integer quantization)",
674
- "reference": "Yin et al., MINT: Multiplier-less INTeger Quantization for Energy Efficient Spiking Neural Networks, arXiv:2305.09850 (ASP-DAC 2024)",
675
- "script": "opt08_mint_quant.py",
676
  "baseline_mode": false,
677
  "method": "harmonic_matched",
678
  "accuracy": {
679
- "test_acc": 0.9407142857142857,
680
- "test_target_acc": 0.9407142857142857,
681
- "best_val_acc": 0.9421428571428572
682
  },
683
  "efficiency": {
684
  "spikes_per_inference": null,
685
- "syn_ops_per_inference": 2152696.525466721,
686
- "dense_macs_per_inference": 122675200.0,
687
- "event_fraction_of_dense": 0.0175479357316452,
688
- "syn_ops_per_inference_dense_fanout": 64922516.865259744,
689
- "weight_sparsity": 0.8335865765859767,
690
- "effective_ticks": 12.575,
691
  "num_ticks": 100,
692
  "membrane_bytes_per_inference": 451200,
693
- "weight_bytes": 613376,
694
  "input_raster_bytes": null,
695
- "train_ms_per_step": 99.00966735000338,
696
- "infer_ms_per_sample": 0.6622065121874954,
697
- "peak_vram_mb": 2833.092608
 
698
  },
699
  "optimization_specific": {
700
- "w_bits": 4,
701
- "u_bits": 0,
702
- "leak_shift": 0,
703
- "beta_eff": 1.0,
704
- "qat": true,
705
- "batchnorm": true,
706
- "membrane_memory_reduction_x": 1.0,
707
- "weight_memory_reduction_x": 8.0,
708
- "membrane_bytes_per_inference": 451200.0,
709
- "working_set_bytes": 617888.0,
710
- "baseline_working_set_bytes": 4911520.0,
711
- "l2_cache_fits": true,
712
- "baseline_l2_cache_fits": false,
713
- "l2_budget_bytes": 2097152,
714
- "membrane_saturation_frac": null,
715
- "acc_vs_ubits": {
716
- "2": 0.8964285714285715,
717
- "4": 0.9521428571428572,
718
- "8": 0.9521428571428572,
719
- "0": 0.9407142857142857
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
720
  },
721
- "bits_sweep_rows": [
722
- {
723
- "u_bits": 2,
724
- "acc": 0.8964285714285715,
725
- "target_acc": 0.8964285714285715,
726
- "membrane_bytes_per_neuron_per_tick": 0.25,
727
- "membrane_memory_reduction_x": 16.0,
728
- "membrane_saturation_frac": 0.09132064494680851,
729
- "acc_drop_vs_fp32": 0.04428571428571426
730
- },
 
 
 
731
  {
732
- "u_bits": 4,
733
- "acc": 0.9521428571428572,
734
- "target_acc": 0.9521428571428572,
735
- "membrane_bytes_per_neuron_per_tick": 0.5,
736
- "membrane_memory_reduction_x": 8.0,
737
- "membrane_saturation_frac": 0.2783921348625886,
738
- "acc_drop_vs_fp32": -0.011428571428571455
739
  },
740
  {
741
- "u_bits": 8,
742
- "acc": 0.9521428571428572,
743
- "target_acc": 0.9521428571428572,
744
- "membrane_bytes_per_neuron_per_tick": 1.0,
745
- "membrane_memory_reduction_x": 4.0,
746
- "membrane_saturation_frac": 0.32464220412234046,
747
- "acc_drop_vs_fp32": -0.011428571428571455
748
  },
749
  {
750
- "u_bits": 0,
751
- "acc": 0.9407142857142857,
752
- "target_acc": 0.9407142857142857,
753
- "membrane_bytes_per_neuron_per_tick": 4.0,
754
- "membrane_memory_reduction_x": 1.0,
755
- "membrane_saturation_frac": null,
756
- "acc_drop_vs_fp32": 0.0
757
- }
758
- ],
759
- "fp32_membrane_acc": 0.9407142857142857,
760
- "per_layer_scales": [
761
- {
762
- "layer": 0,
763
- "weight_scale": 0.034521830933434625,
764
- "membrane_scale": 1.0,
765
- "shared_scale_gauge_factor": 28.967177376200326
766
  },
767
  {
768
- "layer": 1,
769
- "weight_scale": 0.02071961760520935,
770
- "membrane_scale": 1.0,
771
- "shared_scale_gauge_factor": 48.263438981063956
772
  },
773
  {
774
- "layer": 2,
775
- "weight_scale": 0.013957016170024872,
776
- "membrane_scale": 1.0,
777
- "shared_scale_gauge_factor": 71.64855208433981
778
  },
779
  {
780
- "layer": 3,
781
- "weight_scale": 0.0242827194077628,
782
- "membrane_scale": 1.0,
783
- "shared_scale_gauge_factor": 41.18154903524997
784
  }
785
- ],
786
- "shared_scale_note": "weight grid and membrane grid are the same grid up to a per-layer positive scalar that BatchNorm absorbs exactly; exact only with --batchnorm on",
787
- "multiplier_less_compare": false,
788
- "wall_clock_caveat": "this reference kernel computes in fp32 registers, so the traffic win does not appear in train_ms_per_step; a fixed-point core is where it becomes energy"
789
  },
790
  "config": {
791
  "method": "harmonic_matched",
@@ -825,160 +788,163 @@
825
  "decision_margin": 2.0,
826
  "export": false,
827
  "seed": 1234,
828
- "hub_dir": "/kaggle/working/hub/opt08_mint_quant/u_bits_0",
829
- "repo_id": "UWU-R-13/SSVEP-SNN",
830
- "push_hf": false,
831
- "keep_epoch_weights": 1,
832
- "no_resume": true,
833
- "selftest": false,
834
  "baseline": false,
835
  "bench": true,
836
  "bench_warmup": 10,
837
  "bench_iters": 50,
838
  "bench_train_steps": 20,
839
- "w_bits": 4,
840
- "u_bits": 0,
841
- "leak_shift": 0,
842
- "qat": true,
843
- "bits_sweep": "2,4,8,0",
844
- "l2_bytes": 2097152,
 
 
 
 
 
 
 
 
 
845
  "sampling_rate": 250.0
846
  }
847
  },
848
  "zip": {
849
- "name": "u_bits_0.zip",
850
  "files": 81,
851
- "bytes": 12238321,
852
- "MB": 12.2,
853
- "sha256": "de8d0ec3134b59a7b9e26917542d60cf181033520d851a5638465f805487afa4"
854
  }
855
  },
856
  {
857
- "key": "opt08_mint_quant/u_bits_3",
858
- "tag": "u_bits_3",
859
- "script": "opt08_mint_quant.py",
860
- "hf_folder": "applied/opt08_mint_quant",
861
- "phase": 5,
862
  "status": "ok",
863
- "duration_s": 341.6,
864
  "optimization_summary": {
865
- "optimization": "mint_quant",
866
- "research_section": "4. Membrane-Potential Memory-Wall Optimizations (multiplier-less integer quantization)",
867
- "reference": "Yin et al., MINT: Multiplier-less INTeger Quantization for Energy Efficient Spiking Neural Networks, arXiv:2305.09850 (ASP-DAC 2024)",
868
- "script": "opt08_mint_quant.py",
869
  "baseline_mode": false,
870
  "method": "harmonic_matched",
871
  "accuracy": {
872
- "test_acc": 0.9578571428571429,
873
- "test_target_acc": 0.9578571428571429,
874
- "best_val_acc": 0.9628571428571429
875
  },
876
  "efficiency": {
877
  "spikes_per_inference": null,
878
- "syn_ops_per_inference": 1648163.6732954546,
879
- "dense_macs_per_inference": 122675200.0,
880
- "event_fraction_of_dense": 0.013435182280489085,
881
- "syn_ops_per_inference_dense_fanout": 64593181.90016234,
882
- "weight_sparsity": 0.8624946199394825,
883
- "effective_ticks": 11.785714285714286,
884
  "num_ticks": 100,
885
- "membrane_bytes_per_inference": 0,
886
- "weight_bytes": 613376,
887
  "input_raster_bytes": null,
888
- "train_ms_per_step": 98.38904980000507,
889
- "infer_ms_per_sample": 0.6557833990625284,
890
- "peak_vram_mb": 2840.912896
 
891
  },
892
  "optimization_specific": {
893
- "w_bits": 4,
894
- "u_bits": 3,
895
- "leak_shift": 0,
896
- "beta_eff": 1.0,
897
- "qat": true,
898
- "batchnorm": true,
899
- "membrane_memory_reduction_x": 10.666666666666666,
900
- "weight_memory_reduction_x": 8.0,
901
- "membrane_bytes_per_inference": 42300.0,
902
- "working_set_bytes": 613799.0,
903
- "baseline_working_set_bytes": 4911520.0,
904
- "l2_cache_fits": true,
905
- "baseline_l2_cache_fits": false,
906
- "l2_budget_bytes": 2097152,
907
- "membrane_saturation_frac": 0.14972666638962767,
908
- "acc_vs_ubits": {
909
- "2": 0.5942857142857143,
910
- "4": 0.9564285714285714,
911
- "8": 0.955,
912
- "0": 0.9528571428571428
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
913
  },
914
- "bits_sweep_rows": [
915
- {
916
- "u_bits": 2,
917
- "acc": 0.5942857142857143,
918
- "target_acc": 0.5942857142857143,
919
- "membrane_bytes_per_neuron_per_tick": 0.25,
920
- "membrane_memory_reduction_x": 16.0,
921
- "membrane_saturation_frac": 0.019098722850177306,
922
- "acc_drop_vs_fp32": 0.35857142857142854
923
- },
 
 
 
924
  {
925
- "u_bits": 4,
926
- "acc": 0.9564285714285714,
927
- "target_acc": 0.9564285714285714,
928
- "membrane_bytes_per_neuron_per_tick": 0.5,
929
- "membrane_memory_reduction_x": 8.0,
930
- "membrane_saturation_frac": 0.20831449468085106,
931
- "acc_drop_vs_fp32": -0.0035714285714285587
932
  },
933
  {
934
- "u_bits": 8,
935
- "acc": 0.955,
936
- "target_acc": 0.955,
937
- "membrane_bytes_per_neuron_per_tick": 1.0,
938
- "membrane_memory_reduction_x": 4.0,
939
- "membrane_saturation_frac": 0.2674735427748227,
940
- "acc_drop_vs_fp32": -0.002142857142857113
941
  },
942
  {
943
- "u_bits": 0,
944
- "acc": 0.9528571428571428,
945
- "target_acc": 0.9528571428571428,
946
- "membrane_bytes_per_neuron_per_tick": 4.0,
947
- "membrane_memory_reduction_x": 1.0,
948
- "membrane_saturation_frac": null,
949
- "acc_drop_vs_fp32": 0.0
950
- }
951
- ],
952
- "fp32_membrane_acc": 0.9528571428571428,
953
- "per_layer_scales": [
954
- {
955
- "layer": 0,
956
- "weight_scale": 0.03138868297849383,
957
- "membrane_scale": 0.3333333333333333,
958
- "shared_scale_gauge_factor": 10.619538690480226
959
  },
960
  {
961
- "layer": 1,
962
- "weight_scale": 0.019679610218320574,
963
- "membrane_scale": 0.3333333333333333,
964
- "shared_scale_gauge_factor": 16.93800485047307
965
  },
966
  {
967
- "layer": 2,
968
- "weight_scale": 0.009625924485070365,
969
- "membrane_scale": 0.3333333333333333,
970
- "shared_scale_gauge_factor": 34.62870853083538
971
  },
972
  {
973
- "layer": 3,
974
- "weight_scale": 0.015539673822266715,
975
- "membrane_scale": 0.3333333333333333,
976
- "shared_scale_gauge_factor": 21.45047168594374
977
  }
978
- ],
979
- "shared_scale_note": "weight grid and membrane grid are the same grid up to a per-layer positive scalar that BatchNorm absorbs exactly; exact only with --batchnorm on",
980
- "multiplier_less_compare": true,
981
- "wall_clock_caveat": "this reference kernel computes in fp32 registers, so the traffic win does not appear in train_ms_per_step; a fixed-point core is where it becomes energy"
982
  },
983
  "config": {
984
  "method": "harmonic_matched",
@@ -1018,160 +984,163 @@
1018
  "decision_margin": 2.0,
1019
  "export": false,
1020
  "seed": 1234,
1021
- "hub_dir": "/kaggle/working/hub/opt08_mint_quant/u_bits_3",
1022
- "repo_id": "UWU-R-13/SSVEP-SNN",
1023
- "push_hf": false,
1024
- "keep_epoch_weights": 1,
1025
- "no_resume": true,
1026
- "selftest": false,
1027
  "baseline": false,
1028
  "bench": true,
1029
  "bench_warmup": 10,
1030
  "bench_iters": 50,
1031
  "bench_train_steps": 20,
1032
- "w_bits": 4,
1033
- "u_bits": 3,
1034
- "leak_shift": 0,
1035
- "qat": true,
1036
- "bits_sweep": "2,4,8,0",
1037
- "l2_bytes": 2097152,
 
 
 
 
 
 
 
 
 
1038
  "sampling_rate": 250.0
1039
  }
1040
  },
1041
  "zip": {
1042
- "name": "u_bits_3.zip",
1043
  "files": 81,
1044
- "bytes": 12230314,
1045
- "MB": 12.2,
1046
- "sha256": "59408685a190f6abc9f857e49ce34938251b9d14b3cc1bd8192fc8a52b9a9882"
1047
  }
1048
  },
1049
  {
1050
- "key": "opt08_mint_quant/u_bits_4",
1051
- "tag": "u_bits_4",
1052
- "script": "opt08_mint_quant.py",
1053
- "hf_folder": "applied/opt08_mint_quant",
1054
- "phase": 5,
1055
  "status": "ok",
1056
- "duration_s": 344.8,
1057
  "optimization_summary": {
1058
- "optimization": "mint_quant",
1059
- "research_section": "4. Membrane-Potential Memory-Wall Optimizations (multiplier-less integer quantization)",
1060
- "reference": "Yin et al., MINT: Multiplier-less INTeger Quantization for Energy Efficient Spiking Neural Networks, arXiv:2305.09850 (ASP-DAC 2024)",
1061
- "script": "opt08_mint_quant.py",
1062
  "baseline_mode": false,
1063
  "method": "harmonic_matched",
1064
  "accuracy": {
1065
- "test_acc": 0.965,
1066
- "test_target_acc": 0.965,
1067
- "best_val_acc": 0.9628571428571429
1068
  },
1069
  "efficiency": {
1070
  "spikes_per_inference": null,
1071
- "syn_ops_per_inference": 1883576.624797078,
1072
- "dense_macs_per_inference": 122675200.0,
1073
- "event_fraction_of_dense": 0.015354176107290455,
1074
- "syn_ops_per_inference_dense_fanout": 64875275.42613637,
1075
- "weight_sparsity": 0.854853303683222,
1076
- "effective_ticks": 12.19,
1077
  "num_ticks": 100,
1078
- "membrane_bytes_per_inference": 0,
1079
- "weight_bytes": 613376,
1080
  "input_raster_bytes": null,
1081
- "train_ms_per_step": 99.37113355001657,
1082
- "infer_ms_per_sample": 0.6619073024999977,
1083
- "peak_vram_mb": 2841.84576
 
1084
  },
1085
  "optimization_specific": {
1086
- "w_bits": 4,
1087
- "u_bits": 4,
1088
- "leak_shift": 0,
1089
- "beta_eff": 1.0,
1090
- "qat": true,
1091
- "batchnorm": true,
1092
- "membrane_memory_reduction_x": 8.0,
1093
- "weight_memory_reduction_x": 8.0,
1094
- "membrane_bytes_per_inference": 56400.0,
1095
- "working_set_bytes": 613940.0,
1096
- "baseline_working_set_bytes": 4911520.0,
1097
- "l2_cache_fits": true,
1098
- "baseline_l2_cache_fits": false,
1099
- "l2_budget_bytes": 2097152,
1100
- "membrane_saturation_frac": 0.2496060505319149,
1101
- "acc_vs_ubits": {
1102
- "2": 0.7471428571428571,
1103
- "4": 0.965,
1104
- "8": 0.9657142857142857,
1105
- "0": 0.9592857142857143
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1106
  },
1107
- "bits_sweep_rows": [
1108
- {
1109
- "u_bits": 2,
1110
- "acc": 0.7471428571428571,
1111
- "target_acc": 0.7471428571428571,
1112
- "membrane_bytes_per_neuron_per_tick": 0.25,
1113
- "membrane_memory_reduction_x": 16.0,
1114
- "membrane_saturation_frac": 0.032914381094858156,
1115
- "acc_drop_vs_fp32": 0.2121428571428572
1116
- },
 
 
 
1117
  {
1118
- "u_bits": 4,
1119
- "acc": 0.965,
1120
- "target_acc": 0.965,
1121
- "membrane_bytes_per_neuron_per_tick": 0.5,
1122
- "membrane_memory_reduction_x": 8.0,
1123
- "membrane_saturation_frac": 0.2418986868351064,
1124
- "acc_drop_vs_fp32": -0.005714285714285672
1125
  },
1126
  {
1127
- "u_bits": 8,
1128
- "acc": 0.9657142857142857,
1129
- "target_acc": 0.9657142857142857,
1130
- "membrane_bytes_per_neuron_per_tick": 1.0,
1131
- "membrane_memory_reduction_x": 4.0,
1132
- "membrane_saturation_frac": 0.296513671875,
1133
- "acc_drop_vs_fp32": -0.00642857142857145
1134
  },
1135
  {
1136
- "u_bits": 0,
1137
- "acc": 0.9592857142857143,
1138
- "target_acc": 0.9592857142857143,
1139
- "membrane_bytes_per_neuron_per_tick": 4.0,
1140
- "membrane_memory_reduction_x": 1.0,
1141
- "membrane_saturation_frac": null,
1142
- "acc_drop_vs_fp32": 0.0
1143
- }
1144
- ],
1145
- "fp32_membrane_acc": 0.9592857142857143,
1146
- "per_layer_scales": [
1147
- {
1148
- "layer": 0,
1149
- "weight_scale": 0.03545519496713366,
1150
- "membrane_scale": 0.14285714285714285,
1151
- "shared_scale_gauge_factor": 4.0292302154753035
1152
  },
1153
  {
1154
- "layer": 1,
1155
- "weight_scale": 0.020786042724336897,
1156
- "membrane_scale": 0.14285714285714285,
1157
- "shared_scale_gauge_factor": 6.872743636280589
1158
  },
1159
  {
1160
- "layer": 2,
1161
- "weight_scale": 0.010473860161645072,
1162
- "membrane_scale": 0.14285714285714285,
1163
- "shared_scale_gauge_factor": 13.639397571898177
1164
  },
1165
  {
1166
- "layer": 3,
1167
- "weight_scale": 0.017392768391541073,
1168
- "membrane_scale": 0.14285714285714285,
1169
- "shared_scale_gauge_factor": 8.213594273274003
1170
  }
1171
- ],
1172
- "shared_scale_note": "weight grid and membrane grid are the same grid up to a per-layer positive scalar that BatchNorm absorbs exactly; exact only with --batchnorm on",
1173
- "multiplier_less_compare": true,
1174
- "wall_clock_caveat": "this reference kernel computes in fp32 registers, so the traffic win does not appear in train_ms_per_step; a fixed-point core is where it becomes energy"
1175
  },
1176
  "config": {
1177
  "method": "harmonic_matched",
@@ -1211,160 +1180,493 @@
1211
  "decision_margin": 2.0,
1212
  "export": false,
1213
  "seed": 1234,
1214
- "hub_dir": "/kaggle/working/hub/opt08_mint_quant/u_bits_4",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1215
  "repo_id": "UWU-R-13/SSVEP-SNN",
1216
  "push_hf": false,
1217
  "keep_epoch_weights": 1,
1218
  "no_resume": true,
1219
  "selftest": false,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1220
  "baseline": false,
1221
  "bench": true,
1222
  "bench_warmup": 10,
1223
  "bench_iters": 50,
1224
  "bench_train_steps": 20,
1225
- "w_bits": 4,
1226
- "u_bits": 4,
1227
- "leak_shift": 0,
1228
- "qat": true,
1229
- "bits_sweep": "2,4,8,0",
1230
- "l2_bytes": 2097152,
 
 
 
 
 
 
 
 
 
1231
  "sampling_rate": 250.0
1232
  }
1233
  },
1234
  "zip": {
1235
- "name": "u_bits_4.zip",
1236
  "files": 81,
1237
- "bytes": 12211406,
1238
- "MB": 12.2,
1239
- "sha256": "fa14fb4378b6e3737d3d49ed8bf58b569e33a530256e925d6c0ec6d07495a44d"
1240
  }
1241
  },
1242
  {
1243
- "key": "opt08_mint_quant/u_bits_8",
1244
- "tag": "u_bits_8",
1245
- "script": "opt08_mint_quant.py",
1246
- "hf_folder": "applied/opt08_mint_quant",
1247
- "phase": 5,
1248
  "status": "ok",
1249
- "duration_s": 346.7,
1250
  "optimization_summary": {
1251
- "optimization": "mint_quant",
1252
- "research_section": "4. Membrane-Potential Memory-Wall Optimizations (multiplier-less integer quantization)",
1253
- "reference": "Yin et al., MINT: Multiplier-less INTeger Quantization for Energy Efficient Spiking Neural Networks, arXiv:2305.09850 (ASP-DAC 2024)",
1254
- "script": "opt08_mint_quant.py",
1255
  "baseline_mode": false,
1256
  "method": "harmonic_matched",
1257
  "accuracy": {
1258
- "test_acc": 0.9664285714285714,
1259
- "test_target_acc": 0.9664285714285714,
1260
- "best_val_acc": 0.9628571428571429
1261
  },
1262
  "efficiency": {
1263
  "spikes_per_inference": null,
1264
- "syn_ops_per_inference": 2087678.7174310065,
1265
  "dense_macs_per_inference": 122675200.0,
1266
- "event_fraction_of_dense": 0.017017936122631194,
1267
- "syn_ops_per_inference_dense_fanout": 65242462.345779225,
1268
- "weight_sparsity": 0.8476187526085142,
1269
- "effective_ticks": 12.227857142857143,
1270
  "num_ticks": 100,
1271
- "membrane_bytes_per_inference": 112800,
1272
- "weight_bytes": 613376,
1273
  "input_raster_bytes": null,
1274
- "train_ms_per_step": 100.49617395000041,
1275
- "infer_ms_per_sample": 0.6706169215624413,
1276
- "peak_vram_mb": 2844.865024
1277
  },
1278
  "optimization_specific": {
1279
- "w_bits": 4,
1280
- "u_bits": 8,
1281
- "leak_shift": 0,
1282
- "beta_eff": 1.0,
1283
- "qat": true,
1284
- "batchnorm": true,
1285
- "membrane_memory_reduction_x": 4.0,
1286
- "weight_memory_reduction_x": 8.0,
1287
- "membrane_bytes_per_inference": 112800.0,
1288
- "working_set_bytes": 614504.0,
1289
- "baseline_working_set_bytes": 4911520.0,
1290
- "l2_cache_fits": true,
1291
- "baseline_l2_cache_fits": false,
1292
- "l2_budget_bytes": 2097152,
1293
- "membrane_saturation_frac": 0.32682918467420213,
1294
- "acc_vs_ubits": {
1295
- "2": 0.8592857142857143,
1296
- "4": 0.965,
1297
- "8": 0.9664285714285714,
1298
- "0": 0.9521428571428572
 
 
 
 
 
1299
  },
1300
- "bits_sweep_rows": [
1301
- {
1302
- "u_bits": 2,
1303
- "acc": 0.8592857142857143,
1304
- "target_acc": 0.8592857142857143,
1305
- "membrane_bytes_per_neuron_per_tick": 0.25,
1306
- "membrane_memory_reduction_x": 16.0,
1307
- "membrane_saturation_frac": 0.050917691710992904,
1308
- "acc_drop_vs_fp32": 0.09285714285714286
 
1309
  },
1310
  {
1311
- "u_bits": 4,
1312
- "acc": 0.965,
1313
- "target_acc": 0.965,
1314
- "membrane_bytes_per_neuron_per_tick": 0.5,
1315
- "membrane_memory_reduction_x": 8.0,
1316
- "membrane_saturation_frac": 0.26607622728280145,
1317
- "acc_drop_vs_fp32": -0.01285714285714279
1318
  },
1319
  {
1320
- "u_bits": 8,
1321
- "acc": 0.9664285714285714,
1322
- "target_acc": 0.9664285714285714,
1323
- "membrane_bytes_per_neuron_per_tick": 1.0,
1324
- "membrane_memory_reduction_x": 4.0,
1325
- "membrane_saturation_frac": 0.3181812389184397,
1326
- "acc_drop_vs_fp32": -0.014285714285714235
1327
  },
1328
  {
1329
- "u_bits": 0,
1330
- "acc": 0.9521428571428572,
1331
- "target_acc": 0.9521428571428572,
1332
- "membrane_bytes_per_neuron_per_tick": 4.0,
1333
- "membrane_memory_reduction_x": 1.0,
1334
- "membrane_saturation_frac": null,
1335
- "acc_drop_vs_fp32": 0.0
1336
- }
1337
- ],
1338
- "fp32_membrane_acc": 0.9521428571428572,
1339
- "per_layer_scales": [
1340
  {
1341
- "layer": 0,
1342
- "weight_scale": 0.04109285133225577,
1343
- "membrane_scale": 0.007874015748031496,
1344
- "shared_scale_gauge_factor": 0.19161521998963355
 
 
1345
  },
1346
  {
1347
- "layer": 1,
1348
- "weight_scale": 0.020464909928185598,
1349
- "membrane_scale": 0.007874015748031496,
1350
- "shared_scale_gauge_factor": 0.38475692175839443
 
 
1351
  },
1352
  {
1353
- "layer": 2,
1354
- "weight_scale": 0.01011819179568972,
1355
- "membrane_scale": 0.007874015748031496,
1356
- "shared_scale_gauge_factor": 0.7782038438316392
 
 
1357
  },
1358
  {
1359
- "layer": 3,
1360
- "weight_scale": 0.01918845304421016,
1361
- "membrane_scale": 0.007874015748031496,
1362
- "shared_scale_gauge_factor": 0.41035177405337353
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1363
  }
1364
  ],
1365
- "shared_scale_note": "weight grid and membrane grid are the same grid up to a per-layer positive scalar that BatchNorm absorbs exactly; exact only with --batchnorm on",
1366
- "multiplier_less_compare": true,
1367
- "wall_clock_caveat": "this reference kernel computes in fp32 registers, so the traffic win does not appear in train_ms_per_step; a fixed-point core is where it becomes energy"
1368
  },
1369
  "config": {
1370
  "method": "harmonic_matched",
@@ -1404,7 +1706,7 @@
1404
  "decision_margin": 2.0,
1405
  "export": false,
1406
  "seed": 1234,
1407
- "hub_dir": "/kaggle/working/hub/opt08_mint_quant/u_bits_8",
1408
  "repo_id": "UWU-R-13/SSVEP-SNN",
1409
  "push_hf": false,
1410
  "keep_epoch_weights": 1,
@@ -1415,21 +1717,23 @@
1415
  "bench_warmup": 10,
1416
  "bench_iters": 50,
1417
  "bench_train_steps": 20,
1418
- "w_bits": 4,
1419
- "u_bits": 8,
1420
- "leak_shift": 0,
1421
- "qat": true,
1422
- "bits_sweep": "2,4,8,0",
1423
- "l2_bytes": 2097152,
 
 
1424
  "sampling_rate": 250.0
1425
  }
1426
  },
1427
  "zip": {
1428
- "name": "u_bits_8.zip",
1429
  "files": 81,
1430
- "bytes": 12213011,
1431
  "MB": 12.2,
1432
- "sha256": "63dd1fe2bcaf39fb5ab00bb833afca7ab94b1ab1e3556da5782d622e248c8bd7"
1433
  }
1434
  }
1435
  ]
 
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",
 
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,
 
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,
 
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,
 
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)",
 
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": {
 
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,
 
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)",
325
+ "reference": "Software-Level Optimizations for Spiking Neural Network Inference on ARM Architectures: A Deep-Dive into the Jetson Nano Ecosystem (research.md SS2)",
326
+ "script": "opt01_ttfs_dta.py",
327
+ "baseline_mode": false,
328
  "method": "harmonic_matched",
329
  "accuracy": {
330
+ "test_acc": 0.30142857142857143,
331
+ "test_target_acc": 0.30142857142857143,
332
+ "best_val_acc": 0.3442857142857143
333
  },
334
  "efficiency": {
335
  "spikes_per_inference": null,
336
+ "syn_ops_per_inference": 1268561.1761363635,
337
  "dense_macs_per_inference": 122675200.0,
338
+ "event_fraction_of_dense": 0.010340811966366173,
339
+ "syn_ops_per_inference_dense_fanout": 40907301.49837662,
340
  "weight_sparsity": 0.7324707846410685,
341
+ "effective_ticks": 100.0,
342
  "num_ticks": 100,
343
  "membrane_bytes_per_inference": 451200,
344
  "weight_bytes": 4907008,
345
  "input_raster_bytes": null,
346
+ "train_ms_per_step": 95.75917180000033,
347
+ "infer_ms_per_sample": 0.6131969368749424,
348
+ "peak_vram_mb": 2909.376512
349
  },
350
  "optimization_specific": {
351
+ "ttfs": true,
352
+ "dta": true,
353
+ "readout": "ttfs",
354
+ "ttfs_halt_k": 1,
355
+ "dta_target_rate": 0.2,
356
+ "dta_momentum": 0.1,
357
+ "spikes_per_neuron_per_inference": 0.6888367527862209,
358
+ "ttfs_budget_respected": true,
359
+ "frac_neurons_that_ever_fire": 0.6888367527862209,
360
+ "mean_first_spike_tick": 17.83636679533485,
361
+ "per_layer_ttfs": [
362
+ {
363
+ "layer": 0,
364
+ "neurons": 320,
365
+ "spikes_per_neuron_per_inference": 0.9109776785714285,
366
+ "frac_neurons_that_ever_fire": 0.9109776785714285,
367
+ "mean_first_spike_tick": 7.660495248923105
368
+ },
369
+ {
370
+ "layer": 1,
371
+ "neurons": 512,
372
+ "spikes_per_neuron_per_inference": 0.8185337611607143,
373
+ "frac_neurons_that_ever_fire": 0.8185337611607143,
374
+ "mean_first_spike_tick": 22.096457454514464
375
+ },
376
+ {
377
+ "layer": 2,
378
+ "neurons": 256,
379
+ "spikes_per_neuron_per_inference": 0.19032366071428572,
380
+ "frac_neurons_that_ever_fire": 0.19032366071428572,
381
+ "mean_first_spike_tick": 19.373438691139388
382
+ },
383
+ {
384
+ "layer": 3,
385
+ "neurons": 40,
386
+ "spikes_per_neuron_per_inference": 0.44207142857142856,
387
+ "frac_neurons_that_ever_fire": 0.44207142857142856,
388
+ "mean_first_spike_tick": 80.39121829051543
389
+ }
390
+ ],
391
+ "mean_halt_tick": 54.479285714285716,
392
+ "effective_ticks": 54.479285714285716,
393
+ "ticks_saved_frac": 0.4552071428571428,
394
+ "num_ticks": 100,
395
+ "dta_thr_min": 10.0,
396
+ "dta_thr_max": 36.44102096557617,
397
+ "dta_thr_mean": 16.610254287719727,
398
+ "base_thresh": 10.0
399
  },
400
  "config": {
401
  "method": "harmonic_matched",
 
423
  "no_batchnorm": false,
424
  "binary_input": false,
425
  "beta": 1.0,
426
+ "thresh": 10.0,
427
  "window": 0.5,
428
  "gain": 1.0,
429
  "alpha": 0.9,
430
+ "readout": "ttfs",
431
  "fake_quant": 0,
432
  "amp": false,
433
  "spike_reg": 0.0,
 
435
  "decision_margin": 2.0,
436
  "export": false,
437
  "seed": 1234,
438
+ "hub_dir": "/kaggle/working/hub/opt01_ttfs_dta/dta_rate_0.20",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
439
  "repo_id": "UWU-R-13/SSVEP-SNN",
440
  "push_hf": false,
441
  "keep_epoch_weights": 1,
442
  "no_resume": true,
443
  "selftest": false,
444
+ "baseline": false,
445
+ "bench": true,
446
+ "bench_warmup": 10,
447
+ "bench_iters": 50,
448
+ "bench_train_steps": 20,
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,
456
+ "dta_min": 0.2,
457
+ "dta_max": 5.0,
458
+ "dta_windup_patience": 200,
459
  "sampling_rate": 250.0
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,
 
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",
637
+ "reference": "SEENN: Towards Temporal Spiking Early-Exit Neural Networks, arXiv:2304.01230 (NeurIPS 2023); BayesianSpikeFusion, Front. Neurosci. 2024 (PMC11330889)",
638
+ "script": "opt02_seenn_bayes.py",
639
  "baseline_mode": false,
640
  "method": "harmonic_matched",
641
  "accuracy": {
642
+ "test_acc": 0.9257142857142857,
643
+ "test_target_acc": 0.9257142857142857,
644
+ "best_val_acc": 0.9278571428571428
645
  },
646
  "efficiency": {
647
  "spikes_per_inference": null,
648
+ "syn_ops_per_inference": 3667001.4423701297,
649
+ "dense_macs_per_inference": 123955200.0,
650
+ "event_fraction_of_dense": 0.029583280430108053,
651
+ "syn_ops_per_inference_dense_fanout": 65243619.22889611,
652
+ "weight_sparsity": 0.7324707846410685,
653
+ "effective_ticks": 4.38,
654
  "num_ticks": 100,
655
  "membrane_bytes_per_inference": 451200,
656
+ "weight_bytes": 4907008,
657
  "input_raster_bytes": null,
658
+ "train_ms_per_step": 179.7092080116272,
659
+ "infer_ms_per_sample": 0.6336252293994079,
660
+ "peak_vram_mb": 10914.760704,
661
+ "syn_ops_per_inference_early_exit": 1701440.4342532465
662
  },
663
  "optimization_specific": {
664
+ "seenn_enabled": true,
665
+ "bayes_fusion_enabled": true,
666
+ "conf_threshold": 0.5,
667
+ "conf_temp": 2.0,
668
+ "anytime_fracs": "0.25,0.5,1.0",
669
+ "anytime_weights": "0.3,0.3,1.0",
670
+ "ic_loss_weight": 0.3,
671
+ "ic_layer": 0,
672
+ "mean_exit_tick": 4.38,
673
+ "mean_exit_ms": 219.0,
674
+ "ticks_saved_frac": 0.9562,
675
+ "exit_tick_histogram": {
676
+ "counts": [
677
+ 1371,
678
+ 25,
679
+ 4,
680
+ 0,
681
+ 0,
682
+ 0,
683
+ 0,
684
+ 0,
685
+ 0,
686
+ 0
687
+ ],
688
+ "edges": [
689
+ 0.0,
690
+ 10.0,
691
+ 20.0,
692
+ 30.0,
693
+ 40.0,
694
+ 50.0,
695
+ 60.0,
696
+ 70.0,
697
+ 80.0,
698
+ 90.0,
699
+ 100.0
700
+ ]
701
  },
702
+ "acc_fc_only": 0.9257142857142857,
703
+ "acc_ic_only": 0.935,
704
+ "acc_fused": 0.9342857142857143,
705
+ "acc_early_exit": 0.2257142857142857,
706
+ "syn_ops_saved_frac": 0.5360131538007966,
707
+ "syn_per_inference_early_exit": 1701440.4342532465,
708
+ "anytime_acc": {
709
+ "0.25": 0.6078571428571429,
710
+ "0.5": 0.8221428571428572,
711
+ "0.75": 0.8957142857142857,
712
+ "1.0": 0.9257142857142857
713
+ },
714
+ "pareto": [
715
  {
716
+ "conf": 0.5,
717
+ "mean_ticks": 4.38,
718
+ "acc": 0.2257142857142857,
719
+ "syn_ops": 1701440.4301948054
 
 
 
720
  },
721
  {
722
+ "conf": 0.7,
723
+ "mean_ticks": 5.145714285714286,
724
+ "acc": 0.25642857142857145,
725
+ "syn_ops": 1733398.2719155846
 
 
 
726
  },
727
  {
728
+ "conf": 0.8,
729
+ "mean_ticks": 6.0442857142857145,
730
+ "acc": 0.295,
731
+ "syn_ops": 1770153.554383117
 
 
 
 
 
 
 
 
 
 
 
 
732
  },
733
  {
734
+ "conf": 0.9,
735
+ "mean_ticks": 8.140714285714285,
736
+ "acc": 0.3757142857142857,
737
+ "syn_ops": 1843691.239448052
738
  },
739
  {
740
+ "conf": 0.95,
741
+ "mean_ticks": 10.122857142857143,
742
+ "acc": 0.44357142857142856,
743
+ "syn_ops": 1899936.8051948054
744
  },
745
  {
746
+ "conf": 0.99,
747
+ "mean_ticks": 14.419285714285714,
748
+ "acc": 0.5728571428571428,
749
+ "syn_ops": 2001693.648538961
750
  }
751
+ ]
 
 
 
752
  },
753
  "config": {
754
  "method": "harmonic_matched",
 
788
  "decision_margin": 2.0,
789
  "export": false,
790
  "seed": 1234,
 
 
 
 
 
 
791
  "baseline": false,
792
  "bench": true,
793
  "bench_warmup": 10,
794
  "bench_iters": 50,
795
  "bench_train_steps": 20,
796
+ "anytime_fracs": "0.25,0.5,1.0",
797
+ "anytime_weights": "0.3,0.3,1.0",
798
+ "ic_layer": 0,
799
+ "ic_loss_weight": 0.3,
800
+ "bayes_fusion": true,
801
+ "fusion_prior_weight": 1.0,
802
+ "conf_threshold": 0.5,
803
+ "conf_temp": 2.0,
804
+ "conf_sweep": "0.5,0.7,0.8,0.9,0.95,0.99",
805
+ "hub_dir": "/kaggle/working/hub/opt02_seenn_bayes/conf_0.5",
806
+ "repo_id": "UWU-R-13/SSVEP-SNN",
807
+ "push_hf": false,
808
+ "keep_epoch_weights": 1,
809
+ "no_resume": true,
810
+ "selftest": false,
811
  "sampling_rate": 250.0
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
+ {
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",
1343
+ "data_root": "/kaggle/working/data",
1344
+ "subjects": "",
1345
+ "blocks": "",
1346
+ "limit": 0,
1347
+ "drop_rest": true,
1348
+ "resplit": "block",
1349
+ "test_blocks": "6",
1350
+ "class_weight": false,
1351
+ "epochs": 60,
1352
+ "batch_size": 64,
1353
+ "lr": 0.002,
1354
+ "weight_decay": 0.0005,
1355
+ "grad_clip": 5.0,
1356
+ "num_bins": 100,
1357
+ "window_sec": 5.0,
1358
+ "hidden": "512,256",
1359
+ "freq_groups": 8,
1360
+ "dropout": 0.3,
1361
+ "spike_drop": 0.1,
1362
+ "time_jitter": 2,
1363
+ "label_smoothing": 0.05,
1364
+ "no_batchnorm": false,
1365
+ "binary_input": false,
1366
+ "beta": 1.0,
1367
+ "thresh": 1.0,
1368
+ "window": 0.5,
1369
+ "gain": 1.0,
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)",
1421
+ "reference": "Rueckauer et al. arXiv:1612.04052; Sengupta et al. arXiv:1802.02627; FTBC: Forward Temporal Bias Correction, ECCV 2024",
1422
+ "script": "opt03_ftbc_threshold_balance.py",
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,
1453
+ "trained_T": 100,
1454
+ "thresh_before": [
1455
+ 1.0,
1456
+ 1.0,
1457
+ 1.0,
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)"
 
 
1670
  },
1671
  "config": {
1672
  "method": "harmonic_matched",
 
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,
 
1717
  "bench_warmup": 10,
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,
1725
+ "ftbc_ref_ticks": 0,
1726
+ "ftbc_lr": 1.0,
1727
+ "t_sweep": "4,8,16,25,50,100",
1728
  "sampling_rate": 250.0
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
  ]