p-j-r-1-2-3 commited on
Commit
11a6d12
·
verified ·
1 Parent(s): 035ba31

update APPLIED run index

Browse files
Files changed (1) hide show
  1. applied/_index/APPLIED_RUNS_INDEX.json +733 -1381
applied/_index/APPLIED_RUNS_INDEX.json CHANGED
@@ -657,391 +657,155 @@
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",
719
- "data_root": "/kaggle/working/data",
720
- "subjects": "",
721
- "blocks": "",
722
- "limit": 0,
723
- "drop_rest": true,
724
- "resplit": "block",
725
- "test_blocks": "6",
726
- "class_weight": false,
727
- "epochs": 60,
728
- "batch_size": 64,
729
- "lr": 0.002,
730
- "weight_decay": 0.0005,
731
- "grad_clip": 5.0,
732
- "num_bins": 100,
733
- "window_sec": 5.0,
734
- "hidden": "512,256",
735
- "freq_groups": 8,
736
- "dropout": 0.3,
737
- "spike_drop": 0.1,
738
- "time_jitter": 2,
739
- "label_smoothing": 0.05,
740
- "no_batchnorm": false,
741
- "binary_input": false,
742
- "beta": 1.0,
743
- "thresh": 1.0,
744
- "window": 0.5,
745
- "gain": 1.0,
746
- "alpha": 0.9,
747
- "readout": "spikecount",
748
- "fake_quant": 0,
749
- "amp": false,
750
- "spike_reg": 0.0,
751
- "event_eval": true,
752
- "decision_margin": 2.0,
753
- "export": false,
754
- "seed": 1234,
755
- "hub_dir": "/kaggle/working/hub/opt03_ftbc_threshold_balance/control_baseline",
756
- "repo_id": "UWU-R-13/SSVEP-SNN",
757
- "push_hf": false,
758
- "keep_epoch_weights": 1,
759
- "no_resume": true,
760
- "selftest": false,
761
- "baseline": true,
762
- "bench": true,
763
- "bench_warmup": 10,
764
- "bench_iters": 50,
765
- "bench_train_steps": 20,
766
- "calibrate_thresh": true,
767
- "calib_percentile": 99.9,
768
- "calib_batches": 8,
769
- "ftbc": true,
770
- "ftbc_target_ticks": 8,
771
- "ftbc_ref_ticks": 0,
772
- "ftbc_lr": 1.0,
773
- "t_sweep": "4,8,16,25,50,100",
774
- "sampling_rate": 250.0
775
- }
776
- },
777
- "zip": {
778
- "name": "control_baseline.zip",
779
- "files": 80,
780
- "bytes": 12244248,
781
- "MB": 12.2,
782
- "sha256": "c24f218a83b9e351cc6d43ef1b51d7b3f9e3bfa86c64ae22f40bc90ce4f087a4"
783
- }
784
- },
785
- {
786
- "key": "opt03_ftbc_threshold_balance/default",
787
- "tag": "default",
788
- "script": "opt03_ftbc_threshold_balance.py",
789
- "hf_folder": "applied/opt03_ftbc_threshold_balance",
790
- "phase": 1,
791
  "status": "ok",
792
- "duration_s": 372.1,
793
  "optimization_summary": {
794
- "optimization": "ftbc_threshold_balance",
795
- "research_section": "2. Temporal-Dimension Reduction (threshold balancing + FTBC)",
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,231 +845,163 @@
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
  {
1217
- "key": "opt04_cudagraph_unroll/default",
1218
- "tag": "default",
1219
- "script": "opt04_cudagraph_unroll.py",
1220
- "hf_folder": "applied/opt04_cudagraph_unroll",
1221
- "phase": 1,
1222
  "status": "ok",
1223
- "duration_s": 501.8,
1224
  "optimization_summary": {
1225
- "optimization": "cudagraph_static_unroll",
1226
- "research_section": "2. Temporal-dimension reduction / 5. OS & runtime",
1227
- "reference": "CUDA Graphs static capture/replay applied to the unrolled T-tick event-driven inference loop",
1228
- "script": "opt04_cudagraph_unroll.py",
1229
  "baseline_mode": false,
1230
  "method": "harmonic_matched",
1231
  "accuracy": {
1232
- "test_acc": 0.9435714285714286,
1233
- "test_target_acc": 0.9435714285714286,
1234
- "best_val_acc": 0.95
1235
  },
1236
  "efficiency": {
1237
  "spikes_per_inference": null,
1238
- "syn_ops_per_inference": 3255047.327922078,
1239
- "dense_macs_per_inference": 122675200.0,
1240
- "event_fraction_of_dense": 0.026533866078246277,
1241
- "syn_ops_per_inference_dense_fanout": 64831665.11444805,
1242
  "weight_sparsity": 0.7324707846410685,
1243
- "effective_ticks": 11.80642857142857,
1244
  "num_ticks": 100,
1245
  "membrane_bytes_per_inference": 451200,
1246
  "weight_bytes": 4907008,
1247
  "input_raster_bytes": null,
1248
- "train_ms_per_step": 92.52521991729736,
1249
- "infer_ms_per_sample": 0.6286457926034927,
1250
- "peak_vram_mb": 2803.899904
 
1251
  },
1252
  "optimization_specific": {
1253
- "graph_enabled": true,
1254
- "event_capacity_scan": {
1255
- "cap_scan": 98901,
1256
- "batch_size_scan": 64,
1257
- "n_batches_scanned": 20,
1258
- "density_per_sample": 1545.328125,
1259
- "per_layer_caps": [
1260
- 98901,
1261
- 7501,
1262
- 3379,
1263
- 3291
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1264
  ]
1265
  },
1266
- "capacity": 98901,
1267
- "overflow_ticks_frac": 0.0,
1268
- "graph_vs_eager_pred_agreement": 1.0,
1269
- "graph_capture_ms": 233.42132568359375,
1270
- "graphed_acc": 0.9435714285714286,
1271
- "kernel_launches_eager": 400,
1272
- "kernel_launches_graphed": 2,
1273
- "launch_reduction_x": 200.0,
1274
- "bench_batches": {
1275
- "1": {
1276
- "ms_per_sample_eager": 157.8002643585205,
1277
- "ms_per_sample_graphed": 32.571964263916016,
1278
- "throughput_eager_samples_per_s": 6.337124998270032,
1279
- "throughput_graphed_samples_per_s": 30.701249451750854,
1280
- "speedup_x": 4.844665279623167,
1281
- "capacity": 1546
 
 
1282
  },
1283
- "8": {
1284
- "ms_per_sample_eager": 20.341086983680725,
1285
- "ms_per_sample_graphed": 12.358421683311462,
1286
- "throughput_eager_samples_per_s": 49.161581227310094,
1287
- "throughput_graphed_samples_per_s": 80.91648153990228,
1288
- "speedup_x": 1.645929189416548,
1289
- "capacity": 12363
1290
  },
1291
- "32": {
1292
- "ms_per_sample_eager": 5.914023816585541,
1293
- "ms_per_sample_graphed": 10.751050561666489,
1294
- "throughput_eager_samples_per_s": 169.08961326729144,
1295
- "throughput_graphed_samples_per_s": 93.01416584957377,
1296
- "speedup_x": 0.5500879921142168,
1297
- "capacity": 49451
1298
  },
1299
- "128": {
1300
- "ms_per_sample_eager": 1.9992999359965324,
1301
- "ms_per_sample_graphed": 9.524058550596237,
1302
- "throughput_eager_samples_per_s": 500.17507728351893,
1303
- "throughput_graphed_samples_per_s": 104.99725455146395,
1304
- "speedup_x": 0.20992100430455352,
1305
- "capacity": 197802
 
 
 
 
 
 
 
 
 
 
1306
  }
1307
- },
1308
- "speedup_x_at_batch1": 4.844665279623167
1309
  },
1310
  "config": {
1311
  "method": "harmonic_matched",
@@ -1345,138 +1041,163 @@
1345
  "decision_margin": 2.0,
1346
  "export": false,
1347
  "seed": 1234,
1348
- "hub_dir": "/kaggle/working/hub/opt04_cudagraph_unroll/default",
1349
- "repo_id": "UWU-R-13/SSVEP-SNN",
1350
- "push_hf": false,
1351
- "keep_epoch_weights": 1,
1352
- "no_resume": true,
1353
- "selftest": false,
1354
  "baseline": false,
1355
  "bench": true,
1356
  "bench_warmup": 10,
1357
  "bench_iters": 50,
1358
  "bench_train_steps": 20,
1359
- "event_capacity": 0,
1360
- "graph_warmup": 3,
1361
- "bench_batches": "1,8,32,128",
 
 
 
 
 
 
 
 
 
 
 
 
1362
  "sampling_rate": 250.0
1363
  }
1364
  },
1365
  "zip": {
1366
- "name": "default.zip",
1367
  "files": 81,
1368
- "bytes": 12253126,
1369
- "MB": 12.3,
1370
- "sha256": "dd13cd46e7240e145c6dd659b20ff6be55136f94e8e39058663d3ccbf1811fac"
1371
  }
1372
  },
1373
  {
1374
- "key": "opt05_bitpack_popcount/control_baseline",
1375
- "tag": "control_baseline",
1376
- "script": "opt05_bitpack_popcount.py",
1377
- "hf_folder": "applied/opt05_bitpack_popcount",
1378
- "phase": 1,
1379
  "status": "ok",
1380
- "duration_s": 584.8,
1381
  "optimization_summary": {
1382
- "optimization": "bitpack_popcount",
1383
- "research_section": "3. Spike-Sparsity & MAC->AC Restructuring",
1384
- "reference": "SATA, arXiv:2204.05422; BMXNet/BiFSMNv2 popcount GEMM",
1385
- "script": "opt05_bitpack_popcount.py",
1386
- "baseline_mode": true,
1387
  "method": "harmonic_matched",
1388
  "accuracy": {
1389
- "test_acc": 0.9392857142857143,
1390
- "test_target_acc": 0.9392857142857143,
1391
- "best_val_acc": 0.945
1392
  },
1393
  "efficiency": {
1394
  "spikes_per_inference": null,
1395
- "syn_ops_per_inference": 3259960.8547077924,
1396
- "dense_macs_per_inference": 122675200.0,
1397
- "event_fraction_of_dense": 0.02657391921682453,
1398
- "syn_ops_per_inference_dense_fanout": 64836578.64123377,
1399
  "weight_sparsity": 0.7324707846410685,
1400
- "effective_ticks": 11.83,
1401
  "num_ticks": 100,
1402
  "membrane_bytes_per_inference": 451200,
1403
  "weight_bytes": 4907008,
1404
- "input_raster_bytes": 403200000,
1405
- "train_ms_per_step": 94.69575869998152,
1406
- "infer_ms_per_sample": 0.6265434059375252,
1407
- "peak_vram_mb": 2827.963904
 
1408
  },
1409
  "optimization_specific": {
1410
- "bitpack": false,
1411
- "pack_hidden": false,
1412
- "popcount_readout": false,
1413
- "n_channels": 2880,
1414
- "packed_words_per_tick": 90,
1415
- "input_raster_bytes_uint8": 403200000,
1416
- "input_raster_bytes_packed": null,
1417
- "memory_reduction_x": 1.0,
1418
- "mults_eliminated_per_inference": null,
1419
- "pred_agreement_packed_vs_float": null,
1420
- "popcount_counts_exact": null,
1421
- "crossover_density": 0.01,
1422
- "packed_ever_wins": true,
1423
- "packed_vs_scatter_ms": [
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1424
  {
1425
- "density": 0.01,
1426
- "measured_density": 0.00997178815305233,
1427
- "scatter_ms": 0.1802825927734375,
1428
- "packed_ms": 0.046405792236328125,
1429
- "pack_ms": 0.1291036605834961,
1430
- "speedup_x": 3.8849157418824496,
1431
- "packed_wins": true,
1432
- "matches_scatter": true
 
 
1433
  },
1434
  {
1435
- "density": 0.05,
1436
- "measured_density": 0.0490993931889534,
1437
- "scatter_ms": 0.2356719970703125,
1438
- "packed_ms": 0.06339550018310547,
1439
- "pack_ms": 0.13286590576171875,
1440
- "speedup_x": 3.7174877773599095,
1441
- "packed_wins": true,
1442
- "matches_scatter": true
1443
  },
1444
  {
1445
- "density": 0.1,
1446
- "measured_density": 0.10040690004825592,
1447
- "scatter_ms": 0.42845726013183594,
1448
- "packed_ms": 0.08290290832519531,
1449
- "pack_ms": 0.12605667114257812,
1450
- "speedup_x": 5.168181295295065,
1451
- "packed_wins": true,
1452
- "matches_scatter": true
1453
  },
1454
  {
1455
- "density": 0.25,
1456
- "measured_density": 0.24960395693778992,
1457
- "scatter_ms": 1.0294532775878906,
1458
- "packed_ms": 0.14525413513183594,
1459
- "pack_ms": 0.12697696685791016,
1460
- "speedup_x": 7.087256253693126,
1461
- "packed_wins": true,
1462
- "matches_scatter": true
1463
  },
1464
  {
1465
- "density": 0.5,
1466
- "measured_density": 0.49802517890930176,
1467
- "scatter_ms": 1.3754749298095703,
1468
- "packed_ms": 0.2714681625366211,
1469
- "pack_ms": 0.1302051544189453,
1470
- "speedup_x": 5.0668001615991285,
1471
- "packed_wins": true,
1472
- "matches_scatter": true
1473
  }
1474
- ],
1475
- "popcount_vs_loop_ms": {
1476
- "loop_ms": 0.013265609741210938,
1477
- "popcount_ms": 0.03826141357421875,
1478
- "speedup_x": 0.3467098703888335
1479
- }
1480
  },
1481
  "config": {
1482
  "method": "harmonic_matched",
@@ -1516,576 +1237,163 @@
1516
  "decision_margin": 2.0,
1517
  "export": false,
1518
  "seed": 1234,
1519
- "hub_dir": "/kaggle/working/hub/opt05_bitpack_popcount/control_baseline",
1520
- "repo_id": "UWU-R-13/SSVEP-SNN",
1521
- "push_hf": false,
1522
- "keep_epoch_weights": 1,
1523
- "no_resume": true,
1524
- "selftest": false,
1525
- "baseline": true,
1526
  "bench": true,
1527
  "bench_warmup": 10,
1528
  "bench_iters": 50,
1529
  "bench_train_steps": 20,
1530
- "bitpack": true,
1531
- "pack_hidden": false,
1532
- "popcount_readout": true,
1533
- "sparsity_sweep": "0.01,0.05,0.1,0.25,0.5",
1534
- "sampling_rate": 250.0
1535
- }
1536
- },
1537
- "zip": {
1538
- "name": "control_baseline.zip",
1539
- "files": 81,
1540
- "bytes": 12250994,
1541
- "MB": 12.3,
1542
- "sha256": "ef07404573217d6615260626d16d6c3baa237388a674cc6f4fc50b4f57d95eb3"
1543
- }
1544
- },
1545
- {
1546
- "key": "opt05_bitpack_popcount/default",
1547
- "tag": "default",
1548
- "script": "opt05_bitpack_popcount.py",
1549
- "hf_folder": "applied/opt05_bitpack_popcount",
1550
- "phase": 1,
1551
- "status": "failed",
1552
- "duration_s": 280.1,
1553
- "optimization_summary": null,
1554
- "zip": {
1555
- "name": "FAILED_default.zip",
1556
- "files": 76,
1557
- "bytes": 10446958,
1558
- "MB": 10.4,
1559
- "sha256": "a05cd25014d037d0284290f3d579a1d933984716eb304384946909de3e297d93"
1560
- }
1561
- },
1562
- {
1563
- "key": "opt06_uticket_prune/control_baseline",
1564
- "tag": "control_baseline",
1565
- "script": "opt06_uticket_prune.py",
1566
- "hf_folder": "applied/opt06_uticket_prune",
1567
- "phase": 1,
1568
- "status": "ok",
1569
- "duration_s": 323.1,
1570
- "optimization_summary": {
1571
- "optimization": "uticket_workload_balanced_pruning",
1572
- "research_section": "3. Spike sparsity & MAC->AC restructuring",
1573
- "reference": "u-Ticket: Workload-Balanced Pruning for Sparse SNNs, arXiv:2302.06746",
1574
- "script": "opt06_uticket_prune.py",
1575
- "baseline_mode": true,
1576
- "method": "harmonic_matched",
1577
- "accuracy": {
1578
- "test_acc": 0.945,
1579
- "test_target_acc": 0.945,
1580
- "best_val_acc": 0.945
1581
- },
1582
- "efficiency": {
1583
- "spikes_per_inference": null,
1584
- "syn_ops_per_inference": 3269036.607142857,
1585
- "dense_macs_per_inference": 122675200.0,
1586
- "event_fraction_of_dense": 0.026647901182495378,
1587
- "syn_ops_per_inference_dense_fanout": 64845654.39366884,
1588
- "weight_sparsity": 0.7324707846410685,
1589
- "effective_ticks": 11.901428571428571,
1590
- "num_ticks": 100,
1591
- "membrane_bytes_per_inference": 451200,
1592
- "weight_bytes": 4907008,
1593
- "input_raster_bytes": null,
1594
- "train_ms_per_step": 95.36304565003775,
1595
- "infer_ms_per_sample": 0.6318974475001937,
1596
- "peak_vram_mb": 2828.277248
1597
- },
1598
- "optimization_specific": {
1599
- "pruning_enabled": false,
1600
- "balance_enabled": false
1601
- },
1602
- "config": {
1603
- "method": "harmonic_matched",
1604
- "data_root": "/kaggle/working/data",
1605
- "subjects": "",
1606
- "blocks": "",
1607
- "limit": 0,
1608
- "drop_rest": true,
1609
- "resplit": "block",
1610
- "test_blocks": "6",
1611
- "class_weight": false,
1612
- "epochs": 60,
1613
- "batch_size": 64,
1614
- "lr": 0.002,
1615
- "weight_decay": 0.0005,
1616
- "grad_clip": 5.0,
1617
- "num_bins": 100,
1618
- "window_sec": 5.0,
1619
- "hidden": "512,256",
1620
- "freq_groups": 8,
1621
- "dropout": 0.3,
1622
- "spike_drop": 0.1,
1623
- "time_jitter": 2,
1624
- "label_smoothing": 0.05,
1625
- "no_batchnorm": false,
1626
- "binary_input": false,
1627
- "beta": 1.0,
1628
- "thresh": 1.0,
1629
- "window": 0.5,
1630
- "gain": 1.0,
1631
- "alpha": 0.9,
1632
- "readout": "spikecount",
1633
- "fake_quant": 0,
1634
- "amp": false,
1635
- "spike_reg": 0.0,
1636
- "event_eval": true,
1637
- "decision_margin": 2.0,
1638
- "export": false,
1639
- "seed": 1234,
1640
- "hub_dir": "/kaggle/working/hub/opt06_uticket_prune/control_baseline",
1641
  "repo_id": "UWU-R-13/SSVEP-SNN",
1642
- "push_hf": false,
1643
- "keep_epoch_weights": 1,
1644
- "no_resume": true,
1645
- "selftest": false,
1646
- "baseline": true,
1647
- "bench": true,
1648
- "bench_warmup": 10,
1649
- "bench_iters": 50,
1650
- "bench_train_steps": 20,
1651
- "prune_rounds": 5,
1652
- "prune_rate": 0.5,
1653
- "rewind_epoch": 1,
1654
- "balance": true,
1655
- "balance_iters": 2,
1656
- "prune_readout": false,
1657
  "sampling_rate": 250.0
1658
  }
1659
  },
1660
  "zip": {
1661
- "name": "control_baseline.zip",
1662
- "files": 80,
1663
- "bytes": 12237618,
1664
- "MB": 12.2,
1665
- "sha256": "b3bf34aaf9578d97fb975b4f1ed60ef42bf6884b49c48fbdd831889668315689"
1666
  }
1667
  },
1668
  {
1669
- "key": "opt06_uticket_prune/default",
1670
- "tag": "default",
1671
- "script": "opt06_uticket_prune.py",
1672
- "hf_folder": "applied/opt06_uticket_prune",
1673
- "phase": 1,
1674
  "status": "ok",
1675
- "duration_s": 325.4,
1676
  "optimization_summary": {
1677
- "optimization": "uticket_workload_balanced_pruning",
1678
- "research_section": "3. Spike sparsity & MAC->AC restructuring",
1679
- "reference": "u-Ticket: Workload-Balanced Pruning for Sparse SNNs, arXiv:2302.06746",
1680
- "script": "opt06_uticket_prune.py",
1681
  "baseline_mode": false,
1682
  "method": "harmonic_matched",
1683
  "accuracy": {
1684
- "test_acc": 0.7885714285714286,
1685
- "test_target_acc": 0.7885714285714286,
1686
- "best_val_acc": 0.935
1687
  },
1688
  "efficiency": {
1689
  "spikes_per_inference": null,
1690
- "syn_ops_per_inference": 218011.0174512987,
1691
- "dense_macs_per_inference": 122675200.0,
1692
- "event_fraction_of_dense": 0.0017771401020850075,
1693
- "syn_ops_per_inference_dense_fanout": 65250329.547077924,
1694
- "weight_sparsity": 0.983618530884808,
1695
- "effective_ticks": 12.822142857142858,
1696
  "num_ticks": 100,
1697
  "membrane_bytes_per_inference": 451200,
1698
  "weight_bytes": 4907008,
1699
  "input_raster_bytes": null,
1700
- "train_ms_per_step": 96.64661480001087,
1701
- "infer_ms_per_sample": 0.6332334065623968,
1702
- "peak_vram_mb": 2837.834752,
1703
- "weight_bytes_nonzero": 39755
1704
  },
1705
  "optimization_specific": {
1706
- "pruning_enabled": true,
1707
- "balance_enabled": true,
1708
- "rounds": 5,
1709
- "final_sparsity": 0.9918981481481481,
1710
- "nnz_per_layer": {
1711
- "layer0": 640,
1712
- "layer1": 5120,
1713
- "layer2": 4096
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1714
  },
1715
- "pe_stats_per_layer": {
1716
- "layer0": {
1717
- "mean_nnz": 2.0,
1718
- "max_nnz": 2.0,
1719
- "min_nnz": 2.0,
1720
- "total_nnz": 640,
1721
- "numel": 921600,
1722
- "sparsity": 0.9993055555555556,
1723
- "utilization": 1.0
1724
- },
1725
- "layer1": {
1726
- "mean_nnz": 10.0,
1727
- "max_nnz": 10.0,
1728
- "min_nnz": 10.0,
1729
- "total_nnz": 5120,
1730
- "numel": 163840,
1731
- "sparsity": 0.96875,
1732
- "utilization": 1.0
1733
- },
1734
- "layer2": {
1735
- "mean_nnz": 16.0,
1736
- "max_nnz": 16.0,
1737
- "min_nnz": 16.0,
1738
- "total_nnz": 4096,
1739
- "numel": 131072,
1740
- "sparsity": 0.96875,
1741
- "utilization": 1.0
1742
- }
1743
  },
1744
- "pe_utilization_final": 1.0,
1745
- "pe_utilization_lth": 0.5739893211289092,
1746
- "pe_utilization_uticket": 1.0,
1747
- "latency_proxy_dense": 3712,
1748
- "latency_proxy_final": 28,
1749
- "latency_reduction_frac": 0.9924568965517241,
1750
- "rounds_history": [
1751
  {
1752
- "round": 1,
1753
- "layers": {
1754
- "layer0": {
1755
- "lth": {
1756
- "mean_nnz": 36.0,
1757
- "max_nnz": 46.0,
1758
- "min_nnz": 24.0,
1759
- "total_nnz": 11520,
1760
- "numel": 921600,
1761
- "sparsity": 0.9875,
1762
- "utilization": 0.782608695652174
1763
- },
1764
- "uticket": {
1765
- "mean_nnz": 36.0,
1766
- "max_nnz": 36.0,
1767
- "min_nnz": 36.0,
1768
- "total_nnz": 11520,
1769
- "numel": 921600,
1770
- "sparsity": 0.9875,
1771
- "utilization": 1.0
1772
- }
1773
- },
1774
- "layer1": {
1775
- "lth": {
1776
- "mean_nnz": 160.0,
1777
- "max_nnz": 184.0,
1778
- "min_nnz": 119.0,
1779
- "total_nnz": 81920,
1780
- "numel": 163840,
1781
- "sparsity": 0.5,
1782
- "utilization": 0.8695652173913043
1783
- },
1784
- "uticket": {
1785
- "mean_nnz": 160.0,
1786
- "max_nnz": 160.0,
1787
- "min_nnz": 160.0,
1788
- "total_nnz": 81920,
1789
- "numel": 163840,
1790
- "sparsity": 0.5,
1791
- "utilization": 1.0
1792
- }
1793
- },
1794
- "layer2": {
1795
- "lth": {
1796
- "mean_nnz": 256.0,
1797
- "max_nnz": 284.0,
1798
- "min_nnz": 226.0,
1799
- "total_nnz": 65536,
1800
- "numel": 131072,
1801
- "sparsity": 0.5,
1802
- "utilization": 0.9014084507042254
1803
- },
1804
- "uticket": {
1805
- "mean_nnz": 256.0,
1806
- "max_nnz": 256.0,
1807
- "min_nnz": 256.0,
1808
- "total_nnz": 65536,
1809
- "numel": 131072,
1810
- "sparsity": 0.5,
1811
- "utilization": 1.0
1812
- }
1813
- }
1814
- },
1815
- "latency_proxy": 452,
1816
- "sparsity": 0.8693181818181819
1817
  },
1818
  {
1819
- "round": 2,
1820
- "layers": {
1821
- "layer0": {
1822
- "lth": {
1823
- "mean_nnz": 18.0,
1824
- "max_nnz": 27.0,
1825
- "min_nnz": 8.0,
1826
- "total_nnz": 5760,
1827
- "numel": 921600,
1828
- "sparsity": 0.99375,
1829
- "utilization": 0.6666666666666666
1830
- },
1831
- "uticket": {
1832
- "mean_nnz": 18.0,
1833
- "max_nnz": 18.0,
1834
- "min_nnz": 18.0,
1835
- "total_nnz": 5760,
1836
- "numel": 921600,
1837
- "sparsity": 0.99375,
1838
- "utilization": 1.0
1839
- }
1840
- },
1841
- "layer1": {
1842
- "lth": {
1843
- "mean_nnz": 80.0,
1844
- "max_nnz": 109.0,
1845
- "min_nnz": 30.0,
1846
- "total_nnz": 40960,
1847
- "numel": 163840,
1848
- "sparsity": 0.75,
1849
- "utilization": 0.7339449541284404
1850
- },
1851
- "uticket": {
1852
- "mean_nnz": 80.0,
1853
- "max_nnz": 80.0,
1854
- "min_nnz": 80.0,
1855
- "total_nnz": 40960,
1856
- "numel": 163840,
1857
- "sparsity": 0.75,
1858
- "utilization": 1.0
1859
- }
1860
- },
1861
- "layer2": {
1862
- "lth": {
1863
- "mean_nnz": 128.0,
1864
- "max_nnz": 162.0,
1865
- "min_nnz": 95.0,
1866
- "total_nnz": 32768,
1867
- "numel": 131072,
1868
- "sparsity": 0.75,
1869
- "utilization": 0.7901234567901234
1870
- },
1871
- "uticket": {
1872
- "mean_nnz": 128.0,
1873
- "max_nnz": 128.0,
1874
- "min_nnz": 128.0,
1875
- "total_nnz": 32768,
1876
- "numel": 131072,
1877
- "sparsity": 0.75,
1878
- "utilization": 1.0
1879
- }
1880
- }
1881
- },
1882
- "latency_proxy": 226,
1883
- "sparsity": 0.9346590909090909
1884
  },
1885
  {
1886
- "round": 3,
1887
- "layers": {
1888
- "layer0": {
1889
- "lth": {
1890
- "mean_nnz": 9.0,
1891
- "max_nnz": 17.0,
1892
- "min_nnz": 3.0,
1893
- "total_nnz": 2880,
1894
- "numel": 921600,
1895
- "sparsity": 0.996875,
1896
- "utilization": 0.5294117647058824
1897
- },
1898
- "uticket": {
1899
- "mean_nnz": 9.0,
1900
- "max_nnz": 9.0,
1901
- "min_nnz": 9.0,
1902
- "total_nnz": 2880,
1903
- "numel": 921600,
1904
- "sparsity": 0.996875,
1905
- "utilization": 1.0
1906
- }
1907
- },
1908
- "layer1": {
1909
- "lth": {
1910
- "mean_nnz": 40.0,
1911
- "max_nnz": 60.0,
1912
- "min_nnz": 0.0,
1913
- "total_nnz": 20480,
1914
- "numel": 163840,
1915
- "sparsity": 0.875,
1916
- "utilization": 0.6666666666666666
1917
- },
1918
- "uticket": {
1919
- "mean_nnz": 40.0,
1920
- "max_nnz": 40.0,
1921
- "min_nnz": 40.0,
1922
- "total_nnz": 20480,
1923
- "numel": 163840,
1924
- "sparsity": 0.875,
1925
- "utilization": 1.0
1926
- }
1927
- },
1928
- "layer2": {
1929
- "lth": {
1930
- "mean_nnz": 64.0,
1931
- "max_nnz": 85.0,
1932
- "min_nnz": 37.0,
1933
- "total_nnz": 16384,
1934
- "numel": 131072,
1935
- "sparsity": 0.875,
1936
- "utilization": 0.7529411764705882
1937
- },
1938
- "uticket": {
1939
- "mean_nnz": 64.0,
1940
- "max_nnz": 64.0,
1941
- "min_nnz": 64.0,
1942
- "total_nnz": 16384,
1943
- "numel": 131072,
1944
- "sparsity": 0.875,
1945
- "utilization": 1.0
1946
- }
1947
- }
1948
- },
1949
- "latency_proxy": 113,
1950
- "sparsity": 0.9673295454545454
1951
  },
1952
  {
1953
- "round": 4,
1954
- "layers": {
1955
- "layer0": {
1956
- "lth": {
1957
- "mean_nnz": 4.5,
1958
- "max_nnz": 9.0,
1959
- "min_nnz": 0.0,
1960
- "total_nnz": 1440,
1961
- "numel": 921600,
1962
- "sparsity": 0.9984375,
1963
- "utilization": 0.5
1964
- },
1965
- "uticket": {
1966
- "mean_nnz": 4.0,
1967
- "max_nnz": 4.0,
1968
- "min_nnz": 4.0,
1969
- "total_nnz": 1280,
1970
- "numel": 921600,
1971
- "sparsity": 0.9986111111111111,
1972
- "utilization": 1.0
1973
- }
1974
- },
1975
- "layer1": {
1976
- "lth": {
1977
- "mean_nnz": 20.0,
1978
- "max_nnz": 33.0,
1979
- "min_nnz": 0.0,
1980
- "total_nnz": 10240,
1981
- "numel": 163840,
1982
- "sparsity": 0.9375,
1983
- "utilization": 0.6060606060606061
1984
- },
1985
- "uticket": {
1986
- "mean_nnz": 20.0,
1987
- "max_nnz": 20.0,
1988
- "min_nnz": 20.0,
1989
- "total_nnz": 10240,
1990
- "numel": 163840,
1991
- "sparsity": 0.9375,
1992
- "utilization": 1.0
1993
- }
1994
- },
1995
- "layer2": {
1996
- "lth": {
1997
- "mean_nnz": 32.0,
1998
- "max_nnz": 44.0,
1999
- "min_nnz": 18.0,
2000
- "total_nnz": 8192,
2001
- "numel": 131072,
2002
- "sparsity": 0.9375,
2003
- "utilization": 0.7272727272727273
2004
- },
2005
- "uticket": {
2006
- "mean_nnz": 32.0,
2007
- "max_nnz": 32.0,
2008
- "min_nnz": 32.0,
2009
- "total_nnz": 8192,
2010
- "numel": 131072,
2011
- "sparsity": 0.9375,
2012
- "utilization": 1.0
2013
- }
2014
- }
2015
- },
2016
- "latency_proxy": 56,
2017
- "sparsity": 0.9837962962962963
2018
  },
2019
  {
2020
- "round": 5,
2021
- "layers": {
2022
- "layer0": {
2023
- "lth": {
2024
- "mean_nnz": 2.0,
2025
- "max_nnz": 4.0,
2026
- "min_nnz": 0.0,
2027
- "total_nnz": 640,
2028
- "numel": 921600,
2029
- "sparsity": 0.9993055555555556,
2030
- "utilization": 0.5
2031
- },
2032
- "uticket": {
2033
- "mean_nnz": 2.0,
2034
- "max_nnz": 2.0,
2035
- "min_nnz": 2.0,
2036
- "total_nnz": 640,
2037
- "numel": 921600,
2038
- "sparsity": 0.9993055555555556,
2039
- "utilization": 1.0
2040
- }
2041
- },
2042
- "layer1": {
2043
- "lth": {
2044
- "mean_nnz": 10.0,
2045
- "max_nnz": 19.0,
2046
- "min_nnz": 0.0,
2047
- "total_nnz": 5120,
2048
- "numel": 163840,
2049
- "sparsity": 0.96875,
2050
- "utilization": 0.5263157894736842
2051
- },
2052
- "uticket": {
2053
- "mean_nnz": 10.0,
2054
- "max_nnz": 10.0,
2055
- "min_nnz": 10.0,
2056
- "total_nnz": 5120,
2057
- "numel": 163840,
2058
- "sparsity": 0.96875,
2059
- "utilization": 1.0
2060
- }
2061
- },
2062
- "layer2": {
2063
- "lth": {
2064
- "mean_nnz": 16.0,
2065
- "max_nnz": 23.0,
2066
- "min_nnz": 11.0,
2067
- "total_nnz": 4096,
2068
- "numel": 131072,
2069
- "sparsity": 0.96875,
2070
- "utilization": 0.6956521739130435
2071
- },
2072
- "uticket": {
2073
- "mean_nnz": 16.0,
2074
- "max_nnz": 16.0,
2075
- "min_nnz": 16.0,
2076
- "total_nnz": 4096,
2077
- "numel": 131072,
2078
- "sparsity": 0.96875,
2079
- "utilization": 1.0
2080
- }
2081
- }
2082
- },
2083
- "latency_proxy": 28,
2084
- "sparsity": 0.9918981481481481
2085
  }
2086
- ],
2087
- "latency_proxy_lth": 46,
2088
- "latency_reduction_vs_lth_frac": 0.3913043478260869
2089
  },
2090
  "config": {
2091
  "method": "harmonic_matched",
@@ -2125,119 +1433,163 @@
2125
  "decision_margin": 2.0,
2126
  "export": false,
2127
  "seed": 1234,
2128
- "hub_dir": "/kaggle/working/hub/opt06_uticket_prune/default",
2129
- "repo_id": "UWU-R-13/SSVEP-SNN",
2130
- "push_hf": false,
2131
- "keep_epoch_weights": 1,
2132
- "no_resume": true,
2133
- "selftest": false,
2134
  "baseline": false,
2135
  "bench": true,
2136
  "bench_warmup": 10,
2137
  "bench_iters": 50,
2138
  "bench_train_steps": 20,
2139
- "prune_rounds": 5,
2140
- "prune_rate": 0.5,
2141
- "rewind_epoch": 1,
2142
- "balance": true,
2143
- "balance_iters": 2,
2144
- "prune_readout": false,
 
 
 
 
 
 
 
 
 
2145
  "sampling_rate": 250.0
2146
  }
2147
  },
2148
  "zip": {
2149
- "name": "default.zip",
2150
  "files": 81,
2151
- "bytes": 8129041,
2152
- "MB": 8.1,
2153
- "sha256": "bdbba4d718c46fedaf00215f9c5812e399ad2772542fb2419c85df427e071443"
2154
  }
2155
  },
2156
  {
2157
- "key": "opt07_sfa_integer_train/control_baseline",
2158
- "tag": "control_baseline",
2159
- "script": "opt07_sfa_integer_train.py",
2160
- "hf_folder": "applied/opt07_sfa_integer_train",
2161
- "phase": 2,
2162
  "status": "ok",
2163
- "duration_s": 325.5,
2164
  "optimization_summary": {
2165
- "optimization": "sfa_integer_train",
2166
- "research_section": "3. Training-Time Approximation for Fewer Timesteps (SFA) / spike-storm suppression",
2167
- "reference": "Yao et al., Scaling Spike-driven Transformer with Efficient Spike Firing Approximation Training, arXiv:2411.16061",
2168
- "script": "opt07_sfa_integer_train.py",
2169
- "baseline_mode": true,
2170
  "method": "harmonic_matched",
2171
  "accuracy": {
2172
- "test_acc": 0.9442857142857143,
2173
- "test_target_acc": 0.9442857142857143,
2174
- "best_val_acc": 0.9464285714285714
2175
  },
2176
  "efficiency": {
2177
  "spikes_per_inference": null,
2178
- "syn_ops_per_inference": 3276098.271103896,
2179
- "dense_macs_per_inference": 122675200.0,
2180
- "event_fraction_of_dense": 0.026705465090775447,
2181
- "syn_ops_per_inference_dense_fanout": 64852716.05762987,
2182
  "weight_sparsity": 0.7324707846410685,
2183
- "effective_ticks": 12.049285714285714,
2184
  "num_ticks": 100,
2185
  "membrane_bytes_per_inference": 451200,
2186
  "weight_bytes": 4907008,
2187
  "input_raster_bytes": null,
2188
- "train_ms_per_step": 95.41663794998385,
2189
- "infer_ms_per_sample": 0.6363128081250125,
2190
- "peak_vram_mb": 2829.275648
 
2191
  },
2192
  "optimization_specific": {
2193
- "sfa_levels_D": 1,
2194
- "soft_reset": false,
2195
- "storm_reg": 0.0,
2196
- "trained_T": 100,
2197
- "infer_mode": "graded",
2198
- "min_ticks_within_1pct_of_full": null,
2199
- "speedup_at_min_ticks": null,
2200
- "full_T_acc": null,
2201
- "t_sweep_rows": null,
2202
- "storm_ratio_peak_over_mean": 4.721035628917203,
2203
- "tick_activity_cv": 0.8204789844315089,
2204
- "mean_integer_activation": 0.07897717574611306,
2205
- "frac_activations_gt1": 0.0,
2206
- "max_activation": 1.0,
2207
- "per_layer_activity": [
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2208
  {
2209
- "layer": 0,
2210
- "mean_integer_activation": 0.0650282603316009,
2211
- "peak_tick_activation": 0.3070007339119911,
2212
- "storm_ratio": 4.721035628917203,
2213
- "tick_activity_cv": 0.8204789844315089,
2214
- "frac_activations_gt1": 0.0,
2215
- "max_activation": 1.0
2216
  },
2217
  {
2218
- "layer": 1,
2219
- "mean_integer_activation": 0.03752758026123047,
2220
- "peak_tick_activation": 0.084075927734375,
2221
- "storm_ratio": 2.240377001371265,
2222
- "tick_activity_cv": 0.2590329003324282,
2223
- "frac_activations_gt1": 0.0,
2224
- "max_activation": 1.0
2225
  },
2226
  {
2227
- "layer": 2,
2228
- "mean_integer_activation": 0.1343756866455078,
2229
- "peak_tick_activation": 0.15582275390625,
2230
- "storm_ratio": 1.159605266370255,
2231
- "tick_activity_cv": 0.12113898330190948,
2232
- "frac_activations_gt1": 0.0,
2233
- "max_activation": 1.0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2234
  }
2235
- ],
2236
- "expanded_vs_graded_agreement": null,
2237
- "expanded_acc": null,
2238
- "graded_acc": null,
2239
- "syn_ratio_expanded_over_graded": null,
2240
- "expansion_caveat": "exact only at beta=1 (IAF); with beta<1 the expanded mode applies decay per sub-tick and drifts"
2241
  },
2242
  "config": {
2243
  "method": "harmonic_matched",
@@ -2277,167 +1629,163 @@
2277
  "decision_margin": 2.0,
2278
  "export": false,
2279
  "seed": 1234,
2280
- "hub_dir": "/kaggle/working/hub/opt07_sfa_integer_train/control_baseline",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2281
  "repo_id": "UWU-R-13/SSVEP-SNN",
2282
  "push_hf": false,
2283
  "keep_epoch_weights": 1,
2284
  "no_resume": true,
2285
  "selftest": false,
2286
- "baseline": true,
2287
- "bench": true,
2288
- "bench_warmup": 10,
2289
- "bench_iters": 50,
2290
- "bench_train_steps": 20,
2291
- "sfa_levels": 4,
2292
- "soft_reset": true,
2293
- "storm_reg": 0.001,
2294
- "infer_mode": "graded",
2295
- "t_sweep": "4,8,16,25,50,100",
2296
  "sampling_rate": 250.0
2297
  }
2298
  },
2299
  "zip": {
2300
- "name": "control_baseline.zip",
2301
- "files": 80,
2302
- "bytes": 12243558,
2303
- "MB": 12.2,
2304
- "sha256": "ef41cc96bceab3211a07c23bfa9469952a5d4dc3e8ca52e1b569b2e3abe6c088"
2305
  }
2306
  },
2307
  {
2308
- "key": "opt07_sfa_integer_train/default",
2309
- "tag": "default",
2310
- "script": "opt07_sfa_integer_train.py",
2311
- "hf_folder": "applied/opt07_sfa_integer_train",
2312
- "phase": 2,
2313
  "status": "ok",
2314
- "duration_s": 356.1,
2315
  "optimization_summary": {
2316
- "optimization": "sfa_integer_train",
2317
- "research_section": "3. Training-Time Approximation for Fewer Timesteps (SFA) / spike-storm suppression",
2318
- "reference": "Yao et al., Scaling Spike-driven Transformer with Efficient Spike Firing Approximation Training, arXiv:2411.16061",
2319
- "script": "opt07_sfa_integer_train.py",
2320
  "baseline_mode": false,
2321
  "method": "harmonic_matched",
2322
  "accuracy": {
2323
- "test_acc": 0.92,
2324
- "test_target_acc": 0.92,
2325
- "best_val_acc": 0.9271428571428572
2326
  },
2327
  "efficiency": {
2328
  "spikes_per_inference": null,
2329
- "syn_ops_per_inference": 5310716.257305195,
2330
- "dense_macs_per_inference": 122675200.0,
2331
- "event_fraction_of_dense": 0.04329087099352758,
2332
- "syn_ops_per_inference_dense_fanout": 66887334.04383116,
2333
  "weight_sparsity": 0.7324707846410685,
2334
- "effective_ticks": 3.89,
2335
  "num_ticks": 100,
2336
  "membrane_bytes_per_inference": 451200,
2337
  "weight_bytes": 4907008,
2338
  "input_raster_bytes": null,
2339
- "train_ms_per_step": 99.90659205000156,
2340
- "infer_ms_per_sample": 0.6726730093751598,
2341
- "peak_vram_mb": 2832.417792
 
2342
  },
2343
  "optimization_specific": {
2344
- "sfa_levels_D": 4,
2345
- "soft_reset": true,
2346
- "storm_reg": 0.001,
2347
- "trained_T": 100,
2348
- "infer_mode": "graded",
2349
- "min_ticks_within_1pct_of_full": 100,
2350
- "speedup_at_min_ticks": 1.0,
2351
- "full_T_acc": 0.92,
2352
- "t_sweep_rows": [
2353
- {
2354
- "T": 4,
2355
- "acc": 0.20285714285714285,
2356
- "syn_per_inference": 2760457.5081168828,
2357
- "dense_per_inference": 4907008.0,
2358
- "infer_mode": "graded",
2359
- "ticks_speedup_vs_trained_T": 25.0
2360
- },
2361
- {
2362
- "T": 8,
2363
- "acc": 0.31,
2364
- "syn_per_inference": 3462951.003246753,
2365
- "dense_per_inference": 9814016.0,
2366
- "infer_mode": "graded",
2367
- "ticks_speedup_vs_trained_T": 12.5
2368
- },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2369
  {
2370
- "T": 16,
2371
- "acc": 0.5964285714285714,
2372
- "syn_per_inference": 4058790.475649351,
2373
- "dense_per_inference": 19628032.0,
2374
- "infer_mode": "graded",
2375
- "ticks_speedup_vs_trained_T": 6.25
2376
  },
2377
  {
2378
- "T": 25,
2379
- "acc": 0.7807142857142857,
2380
- "syn_per_inference": 4340038.356331169,
2381
- "dense_per_inference": 30668800.0,
2382
- "infer_mode": "graded",
2383
- "ticks_speedup_vs_trained_T": 4.0
2384
  },
2385
  {
2386
- "T": 50,
2387
- "acc": 0.89,
2388
- "syn_per_inference": 4723786.811688311,
2389
- "dense_per_inference": 61337600.0,
2390
- "infer_mode": "graded",
2391
- "ticks_speedup_vs_trained_T": 2.0
2392
  },
2393
  {
2394
- "T": 100,
2395
- "acc": 0.92,
2396
- "syn_per_inference": 5310716.143668831,
2397
- "dense_per_inference": 122675200.0,
2398
- "infer_mode": "graded",
2399
- "ticks_speedup_vs_trained_T": 1.0
2400
- }
2401
- ],
2402
- "storm_ratio_peak_over_mean": 3.917304922499363,
2403
- "tick_activity_cv": 0.5639521370282741,
2404
- "mean_integer_activation": 0.10247435106274982,
2405
- "frac_activations_gt1": 0.020924500189721584,
2406
- "max_activation": 4.0,
2407
- "per_layer_activity": [
2408
- {
2409
- "layer": 0,
2410
- "mean_integer_activation": 0.1845430330466479,
2411
- "peak_tick_activation": 0.6301635801792145,
2412
- "storm_ratio": 3.414724304547031,
2413
- "tick_activity_cv": 0.5639521370282741,
2414
- "frac_activations_gt1": 0.020924500189721584,
2415
- "max_activation": 4.0
2416
  },
2417
  {
2418
- "layer": 1,
2419
- "mean_integer_activation": 0.049515380859375,
2420
- "peak_tick_activation": 0.12670516967773438,
2421
- "storm_ratio": 2.5589052831398074,
2422
- "tick_activity_cv": 0.317194117302912,
2423
- "frac_activations_gt1": 0.0011785506940213963,
2424
- "max_activation": 4.0
2425
  },
2426
  {
2427
- "layer": 2,
2428
- "mean_integer_activation": 0.07336463928222657,
2429
- "peak_tick_activation": 0.28739166259765625,
2430
- "storm_ratio": 3.917304922499363,
2431
- "tick_activity_cv": 0.5378646067202674,
2432
- "frac_activations_gt1": 0.0013993072061566636,
2433
- "max_activation": 4.0
2434
  }
2435
- ],
2436
- "expanded_vs_graded_agreement": 0.9921875,
2437
- "expanded_acc": 0.87109375,
2438
- "graded_acc": 0.875,
2439
- "syn_ratio_expanded_over_graded": 1.0003825206412895,
2440
- "expansion_caveat": "exact only at beta=1 (IAF); with beta<1 the expanded mode applies decay per sub-tick and drifts"
2441
  },
2442
  "config": {
2443
  "method": "harmonic_matched",
@@ -2477,31 +1825,35 @@
2477
  "decision_margin": 2.0,
2478
  "export": false,
2479
  "seed": 1234,
2480
- "hub_dir": "/kaggle/working/hub/opt07_sfa_integer_train/default",
2481
- "repo_id": "UWU-R-13/SSVEP-SNN",
2482
- "push_hf": false,
2483
- "keep_epoch_weights": 1,
2484
- "no_resume": true,
2485
- "selftest": false,
2486
  "baseline": false,
2487
  "bench": true,
2488
  "bench_warmup": 10,
2489
  "bench_iters": 50,
2490
  "bench_train_steps": 20,
2491
- "sfa_levels": 4,
2492
- "soft_reset": true,
2493
- "storm_reg": 0.001,
2494
- "infer_mode": "graded",
2495
- "t_sweep": "4,8,16,25,50,100",
 
 
 
 
 
 
 
 
 
 
2496
  "sampling_rate": 250.0
2497
  }
2498
  },
2499
  "zip": {
2500
- "name": "default.zip",
2501
  "files": 81,
2502
- "bytes": 12257656,
2503
- "MB": 12.3,
2504
- "sha256": "db0dbaf735fdc9917ddc6adb439003d589997a1e3d7383781e05c6761ae5492d"
2505
  }
2506
  }
2507
  ]
 
657
  }
658
  },
659
  {
660
+ "key": "opt02_seenn_bayes/conf_sweep_fine",
661
+ "tag": "conf_sweep_fine",
662
+ "script": "opt02_seenn_bayes.py",
663
+ "hf_folder": "applied/opt02_seenn_bayes",
664
+ "phase": 7,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
665
  "status": "ok",
666
+ "duration_s": 909.8,
667
  "optimization_summary": {
668
+ "optimization": "seenn_early_exit_bayesian_fusion",
669
+ "research_section": "2. Temporal-dimension reduction",
670
+ "reference": "SEENN: Towards Temporal Spiking Early-Exit Neural Networks, arXiv:2304.01230 (NeurIPS 2023); BayesianSpikeFusion, Front. Neurosci. 2024 (PMC11330889)",
671
+ "script": "opt02_seenn_bayes.py",
672
  "baseline_mode": false,
673
  "method": "harmonic_matched",
674
  "accuracy": {
675
+ "test_acc": 0.9342857142857143,
676
+ "test_target_acc": 0.9342857142857143,
677
+ "best_val_acc": 0.9285714285714286
678
  },
679
  "efficiency": {
680
  "spikes_per_inference": null,
681
+ "syn_ops_per_inference": 3615247.340909091,
682
+ "dense_macs_per_inference": 123955200.0,
683
+ "event_fraction_of_dense": 0.02916575779724522,
684
+ "syn_ops_per_inference_dense_fanout": 65191865.127435066,
685
  "weight_sparsity": 0.7324707846410685,
686
+ "effective_ticks": 8.057142857142857,
687
  "num_ticks": 100,
688
  "membrane_bytes_per_inference": 451200,
689
  "weight_bytes": 4907008,
690
  "input_raster_bytes": null,
691
+ "train_ms_per_step": 180.51012754440308,
692
+ "infer_ms_per_sample": 0.6378180717104044,
693
+ "peak_vram_mb": 10915.470336,
694
+ "syn_ops_per_inference_early_exit": 1822430.1501623376
695
  },
696
  "optimization_specific": {
697
+ "seenn_enabled": true,
698
+ "bayes_fusion_enabled": true,
699
+ "conf_threshold": 0.9,
700
+ "conf_temp": 2.0,
701
+ "anytime_fracs": "0.25,0.5,1.0",
702
+ "anytime_weights": "0.3,0.3,1.0",
703
+ "ic_loss_weight": 0.3,
704
+ "ic_layer": 0,
705
+ "mean_exit_tick": 8.057142857142857,
706
+ "mean_exit_ms": 402.85714285714283,
707
+ "ticks_saved_frac": 0.9194285714285715,
708
+ "exit_tick_histogram": {
709
+ "counts": [
710
+ 1022,
711
+ 331,
712
+ 39,
713
+ 5,
714
+ 3,
715
+ 0,
716
+ 0,
717
+ 0,
718
+ 0,
719
+ 0
720
+ ],
721
+ "edges": [
722
+ 0.0,
723
+ 10.0,
724
+ 20.0,
725
+ 30.0,
726
+ 40.0,
727
+ 50.0,
728
+ 60.0,
729
+ 70.0,
730
+ 80.0,
731
+ 90.0,
732
+ 100.0
733
+ ]
734
  },
735
+ "acc_fc_only": 0.9342857142857143,
736
+ "acc_ic_only": 0.9292857142857143,
737
+ "acc_fused": 0.94,
738
+ "acc_early_exit": 0.37714285714285717,
739
+ "syn_ops_saved_frac": 0.49590443521242755,
740
+ "syn_per_inference_early_exit": 1822430.1501623376,
741
+ "anytime_acc": {
742
+ "0.25": 0.615,
743
+ "0.5": 0.8142857142857143,
744
+ "0.75": 0.895,
745
+ "1.0": 0.9342857142857143
746
+ },
747
+ "pareto": [
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
748
  {
749
+ "conf": 0.3,
750
+ "mean_ticks": 2.82,
751
+ "acc": 0.17142857142857143,
752
+ "syn_ops": 1600944.0178571427
 
 
753
  },
754
  {
755
+ "conf": 0.4,
756
+ "mean_ticks": 3.285,
757
+ "acc": 0.18571428571428572,
758
+ "syn_ops": 1629355.7386363635
 
 
759
  },
760
  {
761
+ "conf": 0.5,
762
+ "mean_ticks": 4.3757142857142854,
763
+ "acc": 0.24285714285714285,
764
+ "syn_ops": 1687021.986201299
 
 
765
  },
766
  {
767
+ "conf": 0.6,
768
+ "mean_ticks": 4.670714285714285,
769
+ "acc": 0.2507142857142857,
770
+ "syn_ops": 1699344.8084415584
 
 
771
  },
772
  {
773
+ "conf": 0.7,
774
+ "mean_ticks": 5.075714285714286,
775
+ "acc": 0.26285714285714284,
776
+ "syn_ops": 1716703.7767857143
 
 
777
  },
778
  {
779
+ "conf": 0.8,
780
+ "mean_ticks": 5.987857142857143,
781
+ "acc": 0.2914285714285714,
782
+ "syn_ops": 1753268.2150974027
 
 
783
  },
784
  {
785
+ "conf": 0.9,
786
+ "mean_ticks": 8.057142857142857,
787
+ "acc": 0.37714285714285717,
788
+ "syn_ops": 1822430.0933441557
 
 
789
  },
790
  {
791
+ "conf": 0.95,
792
+ "mean_ticks": 10.176428571428572,
793
+ "acc": 0.45,
794
+ "syn_ops": 1882071.5430194808
 
 
795
  },
796
  {
797
+ "conf": 0.99,
798
+ "mean_ticks": 14.704285714285714,
799
+ "acc": 0.5742857142857143,
800
+ "syn_ops": 1981175.7142857143
 
 
801
  },
802
  {
803
+ "conf": 0.999,
804
+ "mean_ticks": 19.547142857142855,
805
+ "acc": 0.68,
806
+ "syn_ops": 2074480.44237013
 
 
807
  }
808
+ ]
 
809
  },
810
  "config": {
811
  "method": "harmonic_matched",
 
845
  "decision_margin": 2.0,
846
  "export": false,
847
  "seed": 1234,
 
 
 
 
 
 
848
  "baseline": false,
849
  "bench": true,
850
  "bench_warmup": 10,
851
  "bench_iters": 50,
852
  "bench_train_steps": 20,
853
+ "anytime_fracs": "0.25,0.5,1.0",
854
+ "anytime_weights": "0.3,0.3,1.0",
855
+ "ic_layer": 0,
856
+ "ic_loss_weight": 0.3,
857
+ "bayes_fusion": true,
858
+ "fusion_prior_weight": 1.0,
859
+ "conf_threshold": 0.9,
860
+ "conf_temp": 2.0,
861
+ "conf_sweep": "0.3,0.4,0.5,0.6,0.7,0.8,0.9,0.95,0.99,0.999",
862
+ "hub_dir": "/kaggle/working/hub/opt02_seenn_bayes/conf_sweep_fine",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
863
  "repo_id": "UWU-R-13/SSVEP-SNN",
864
  "push_hf": false,
865
  "keep_epoch_weights": 1,
866
  "no_resume": true,
867
  "selftest": false,
 
 
 
 
 
 
 
 
868
  "sampling_rate": 250.0
869
  }
870
  },
871
  "zip": {
872
+ "name": "conf_sweep_fine.zip",
873
+ "files": 81,
874
+ "bytes": 12637373,
875
+ "MB": 12.6,
876
+ "sha256": "e33a7b3b8947f0b0a5fd13a441d22f8068a82f8246738956132681351836f98c"
877
  }
878
  },
879
  {
880
+ "key": "opt02_seenn_bayes/conf_temp_16",
881
+ "tag": "conf_temp_16",
882
+ "script": "opt02_seenn_bayes.py",
883
+ "hf_folder": "applied/opt02_seenn_bayes",
884
+ "phase": 7,
885
  "status": "ok",
886
+ "duration_s": 613.7,
887
  "optimization_summary": {
888
+ "optimization": "seenn_early_exit_bayesian_fusion",
889
+ "research_section": "2. Temporal-dimension reduction",
890
+ "reference": "SEENN: Towards Temporal Spiking Early-Exit Neural Networks, arXiv:2304.01230 (NeurIPS 2023); BayesianSpikeFusion, Front. Neurosci. 2024 (PMC11330889)",
891
+ "script": "opt02_seenn_bayes.py",
892
  "baseline_mode": false,
893
  "method": "harmonic_matched",
894
  "accuracy": {
895
+ "test_acc": 0.9278571428571428,
896
+ "test_target_acc": 0.9278571428571428,
897
+ "best_val_acc": 0.9278571428571428
898
  },
899
  "efficiency": {
900
  "spikes_per_inference": null,
901
+ "syn_ops_per_inference": 3658814.530844156,
902
+ "dense_macs_per_inference": 123955200.0,
903
+ "event_fraction_of_dense": 0.02951723308779427,
904
+ "syn_ops_per_inference_dense_fanout": 65235432.31737013,
905
  "weight_sparsity": 0.7324707846410685,
906
+ "effective_ticks": 4.197857142857143,
907
  "num_ticks": 100,
908
  "membrane_bytes_per_inference": 451200,
909
  "weight_bytes": 4907008,
910
  "input_raster_bytes": null,
911
+ "train_ms_per_step": 187.19353675842285,
912
+ "infer_ms_per_sample": 0.6553214698580642,
913
+ "peak_vram_mb": 10914.399232,
914
+ "syn_ops_per_inference_early_exit": 1722971.6599025973
915
  },
916
  "optimization_specific": {
917
+ "seenn_enabled": true,
918
+ "bayes_fusion_enabled": true,
919
+ "conf_threshold": 0.9,
920
+ "conf_temp": 16.0,
921
+ "anytime_fracs": "0.25,0.5,1.0",
922
+ "anytime_weights": "0.3,0.3,1.0",
923
+ "ic_loss_weight": 0.3,
924
+ "ic_layer": 0,
925
+ "mean_exit_tick": 4.197857142857143,
926
+ "mean_exit_ms": 209.89285714285717,
927
+ "ticks_saved_frac": 0.9580214285714286,
928
+ "exit_tick_histogram": {
929
+ "counts": [
930
+ 1368,
931
+ 26,
932
+ 3,
933
+ 2,
934
+ 1,
935
+ 0,
936
+ 0,
937
+ 0,
938
+ 0,
939
+ 0
940
+ ],
941
+ "edges": [
942
+ 0.0,
943
+ 10.0,
944
+ 20.0,
945
+ 30.0,
946
+ 40.0,
947
+ 50.0,
948
+ 60.0,
949
+ 70.0,
950
+ 80.0,
951
+ 90.0,
952
+ 100.0
953
  ]
954
  },
955
+ "acc_fc_only": 0.9278571428571428,
956
+ "acc_ic_only": 0.935,
957
+ "acc_fused": 0.94,
958
+ "acc_early_exit": 0.2257142857142857,
959
+ "syn_ops_saved_frac": 0.5290901888090305,
960
+ "syn_per_inference_early_exit": 1722971.6599025973,
961
+ "anytime_acc": {
962
+ "0.25": 0.6042857142857143,
963
+ "0.5": 0.8057142857142857,
964
+ "0.75": 0.8885714285714286,
965
+ "1.0": 0.9278571428571428
966
+ },
967
+ "pareto": [
968
+ {
969
+ "conf": 0.5,
970
+ "mean_ticks": 2.979285714285714,
971
+ "acc": 0.18857142857142858,
972
+ "syn_ops": 1660596.797077922
973
  },
974
+ {
975
+ "conf": 0.7,
976
+ "mean_ticks": 4.196428571428571,
977
+ "acc": 0.2257142857142857,
978
+ "syn_ops": 1722894.4212662338
 
 
979
  },
980
+ {
981
+ "conf": 0.8,
982
+ "mean_ticks": 4.196428571428571,
983
+ "acc": 0.2257142857142857,
984
+ "syn_ops": 1722894.1939935065
 
 
985
  },
986
+ {
987
+ "conf": 0.9,
988
+ "mean_ticks": 4.197857142857143,
989
+ "acc": 0.2257142857142857,
990
+ "syn_ops": 1722971.7207792208
991
+ },
992
+ {
993
+ "conf": 0.95,
994
+ "mean_ticks": 4.199285714285714,
995
+ "acc": 0.2257142857142857,
996
+ "syn_ops": 1723035.8133116884
997
+ },
998
+ {
999
+ "conf": 0.99,
1000
+ "mean_ticks": 4.243571428571428,
1001
+ "acc": 0.22642857142857142,
1002
+ "syn_ops": 1724673.6931818181
1003
  }
1004
+ ]
 
1005
  },
1006
  "config": {
1007
  "method": "harmonic_matched",
 
1041
  "decision_margin": 2.0,
1042
  "export": false,
1043
  "seed": 1234,
 
 
 
 
 
 
1044
  "baseline": false,
1045
  "bench": true,
1046
  "bench_warmup": 10,
1047
  "bench_iters": 50,
1048
  "bench_train_steps": 20,
1049
+ "anytime_fracs": "0.25,0.5,1.0",
1050
+ "anytime_weights": "0.3,0.3,1.0",
1051
+ "ic_layer": 0,
1052
+ "ic_loss_weight": 0.3,
1053
+ "bayes_fusion": true,
1054
+ "fusion_prior_weight": 1.0,
1055
+ "conf_threshold": 0.9,
1056
+ "conf_temp": 16.0,
1057
+ "conf_sweep": "0.5,0.7,0.8,0.9,0.95,0.99",
1058
+ "hub_dir": "/kaggle/working/hub/opt02_seenn_bayes/conf_temp_16",
1059
+ "repo_id": "UWU-R-13/SSVEP-SNN",
1060
+ "push_hf": false,
1061
+ "keep_epoch_weights": 1,
1062
+ "no_resume": true,
1063
+ "selftest": false,
1064
  "sampling_rate": 250.0
1065
  }
1066
  },
1067
  "zip": {
1068
+ "name": "conf_temp_16.zip",
1069
  "files": 81,
1070
+ "bytes": 12637814,
1071
+ "MB": 12.6,
1072
+ "sha256": "d302c2ff3a0a7090de4ff36762170bca52ef860f9f4f098a3fde82a954059161"
1073
  }
1074
  },
1075
  {
1076
+ "key": "opt02_seenn_bayes/conf_temp_4",
1077
+ "tag": "conf_temp_4",
1078
+ "script": "opt02_seenn_bayes.py",
1079
+ "hf_folder": "applied/opt02_seenn_bayes",
1080
+ "phase": 7,
1081
  "status": "ok",
1082
+ "duration_s": 616.4,
1083
  "optimization_summary": {
1084
+ "optimization": "seenn_early_exit_bayesian_fusion",
1085
+ "research_section": "2. Temporal-dimension reduction",
1086
+ "reference": "SEENN: Towards Temporal Spiking Early-Exit Neural Networks, arXiv:2304.01230 (NeurIPS 2023); BayesianSpikeFusion, Front. Neurosci. 2024 (PMC11330889)",
1087
+ "script": "opt02_seenn_bayes.py",
1088
+ "baseline_mode": false,
1089
  "method": "harmonic_matched",
1090
  "accuracy": {
1091
+ "test_acc": 0.9278571428571428,
1092
+ "test_target_acc": 0.9278571428571428,
1093
+ "best_val_acc": 0.9264285714285714
1094
  },
1095
  "efficiency": {
1096
  "spikes_per_inference": null,
1097
+ "syn_ops_per_inference": 3638325.674512987,
1098
+ "dense_macs_per_inference": 123955200.0,
1099
+ "event_fraction_of_dense": 0.029351940656890448,
1100
+ "syn_ops_per_inference_dense_fanout": 65214943.461038955,
1101
  "weight_sparsity": 0.7324707846410685,
1102
+ "effective_ticks": 4.575714285714286,
1103
  "num_ticks": 100,
1104
  "membrane_bytes_per_inference": 451200,
1105
  "weight_bytes": 4907008,
1106
+ "input_raster_bytes": null,
1107
+ "train_ms_per_step": 187.23959922790527,
1108
+ "infer_ms_per_sample": 0.6532642859310361,
1109
+ "peak_vram_mb": 10914.677248,
1110
+ "syn_ops_per_inference_early_exit": 1640777.8961038962
1111
  },
1112
  "optimization_specific": {
1113
+ "seenn_enabled": true,
1114
+ "bayes_fusion_enabled": true,
1115
+ "conf_threshold": 0.9,
1116
+ "conf_temp": 4.0,
1117
+ "anytime_fracs": "0.25,0.5,1.0",
1118
+ "anytime_weights": "0.3,0.3,1.0",
1119
+ "ic_loss_weight": 0.3,
1120
+ "ic_layer": 0,
1121
+ "mean_exit_tick": 4.575714285714286,
1122
+ "mean_exit_ms": 228.78571428571428,
1123
+ "ticks_saved_frac": 0.9542428571428572,
1124
+ "exit_tick_histogram": {
1125
+ "counts": [
1126
+ 1339,
1127
+ 54,
1128
+ 5,
1129
+ 2,
1130
+ 0,
1131
+ 0,
1132
+ 0,
1133
+ 0,
1134
+ 0,
1135
+ 0
1136
+ ],
1137
+ "edges": [
1138
+ 0.0,
1139
+ 10.0,
1140
+ 20.0,
1141
+ 30.0,
1142
+ 40.0,
1143
+ 50.0,
1144
+ 60.0,
1145
+ 70.0,
1146
+ 80.0,
1147
+ 90.0,
1148
+ 100.0
1149
+ ]
1150
+ },
1151
+ "acc_fc_only": 0.9278571428571428,
1152
+ "acc_ic_only": 0.9364285714285714,
1153
+ "acc_fused": 0.935,
1154
+ "acc_early_exit": 0.25214285714285717,
1155
+ "syn_ops_saved_frac": 0.5490294044874021,
1156
+ "syn_per_inference_early_exit": 1640777.8961038962,
1157
+ "anytime_acc": {
1158
+ "0.25": 0.62,
1159
+ "0.5": 0.8178571428571428,
1160
+ "0.75": 0.8885714285714286,
1161
+ "1.0": 0.9278571428571428
1162
+ },
1163
+ "pareto": [
1164
  {
1165
+ "conf": 0.5,
1166
+ "mean_ticks": 3.902142857142857,
1167
+ "acc": 0.22357142857142856,
1168
+ "syn_ops": 1613080.9172077922
1169
+ },
1170
+ {
1171
+ "conf": 0.7,
1172
+ "mean_ticks": 4.2371428571428575,
1173
+ "acc": 0.23857142857142857,
1174
+ "syn_ops": 1626802.577922078
1175
  },
1176
  {
1177
+ "conf": 0.8,
1178
+ "mean_ticks": 4.365,
1179
+ "acc": 0.245,
1180
+ "syn_ops": 1632438.9545454546
 
 
 
 
1181
  },
1182
  {
1183
+ "conf": 0.9,
1184
+ "mean_ticks": 4.575714285714286,
1185
+ "acc": 0.25214285714285717,
1186
+ "syn_ops": 1640777.924512987
 
 
 
 
1187
  },
1188
  {
1189
+ "conf": 0.95,
1190
+ "mean_ticks": 4.854285714285714,
1191
+ "acc": 0.26071428571428573,
1192
+ "syn_ops": 1651982.8961038962
 
 
 
 
1193
  },
1194
  {
1195
+ "conf": 0.99,
1196
+ "mean_ticks": 6.857857142857143,
1197
+ "acc": 0.3357142857142857,
1198
+ "syn_ops": 1728711.8571428573
 
 
 
 
1199
  }
1200
+ ]
 
 
 
 
 
1201
  },
1202
  "config": {
1203
  "method": "harmonic_matched",
 
1237
  "decision_margin": 2.0,
1238
  "export": false,
1239
  "seed": 1234,
1240
+ "baseline": false,
 
 
 
 
 
 
1241
  "bench": true,
1242
  "bench_warmup": 10,
1243
  "bench_iters": 50,
1244
  "bench_train_steps": 20,
1245
+ "anytime_fracs": "0.25,0.5,1.0",
1246
+ "anytime_weights": "0.3,0.3,1.0",
1247
+ "ic_layer": 0,
1248
+ "ic_loss_weight": 0.3,
1249
+ "bayes_fusion": true,
1250
+ "fusion_prior_weight": 1.0,
1251
+ "conf_threshold": 0.9,
1252
+ "conf_temp": 4.0,
1253
+ "conf_sweep": "0.5,0.7,0.8,0.9,0.95,0.99",
1254
+ "hub_dir": "/kaggle/working/hub/opt02_seenn_bayes/conf_temp_4",
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1255
  "repo_id": "UWU-R-13/SSVEP-SNN",
1256
+ "push_hf": false,
1257
+ "keep_epoch_weights": 1,
1258
+ "no_resume": true,
1259
+ "selftest": false,
 
 
 
 
 
 
 
 
 
 
 
1260
  "sampling_rate": 250.0
1261
  }
1262
  },
1263
  "zip": {
1264
+ "name": "conf_temp_4.zip",
1265
+ "files": 81,
1266
+ "bytes": 12640717,
1267
+ "MB": 12.6,
1268
+ "sha256": "a9f16ef1db8ee6c4c51113bece56694dc7dd17feb4b73d57c99a3dad1b66ca71"
1269
  }
1270
  },
1271
  {
1272
+ "key": "opt02_seenn_bayes/fusion_prior_2x",
1273
+ "tag": "fusion_prior_2x",
1274
+ "script": "opt02_seenn_bayes.py",
1275
+ "hf_folder": "applied/opt02_seenn_bayes",
1276
+ "phase": 7,
1277
  "status": "ok",
1278
+ "duration_s": 609.0,
1279
  "optimization_summary": {
1280
+ "optimization": "seenn_early_exit_bayesian_fusion",
1281
+ "research_section": "2. Temporal-dimension reduction",
1282
+ "reference": "SEENN: Towards Temporal Spiking Early-Exit Neural Networks, arXiv:2304.01230 (NeurIPS 2023); BayesianSpikeFusion, Front. Neurosci. 2024 (PMC11330889)",
1283
+ "script": "opt02_seenn_bayes.py",
1284
  "baseline_mode": false,
1285
  "method": "harmonic_matched",
1286
  "accuracy": {
1287
+ "test_acc": 0.9271428571428572,
1288
+ "test_target_acc": 0.9271428571428572,
1289
+ "best_val_acc": 0.9307142857142857
1290
  },
1291
  "efficiency": {
1292
  "spikes_per_inference": null,
1293
+ "syn_ops_per_inference": 3657479.1964285714,
1294
+ "dense_macs_per_inference": 123955200.0,
1295
+ "event_fraction_of_dense": 0.02950646036978337,
1296
+ "syn_ops_per_inference_dense_fanout": 65234096.98295455,
1297
+ "weight_sparsity": 0.7324707846410685,
1298
+ "effective_ticks": 7.784285714285715,
1299
  "num_ticks": 100,
1300
  "membrane_bytes_per_inference": 451200,
1301
  "weight_bytes": 4907008,
1302
  "input_raster_bytes": null,
1303
+ "train_ms_per_step": 185.8240008354187,
1304
+ "infer_ms_per_sample": 0.6510175053198733,
1305
+ "peak_vram_mb": 10914.386944,
1306
+ "syn_ops_per_inference_early_exit": 1785947.325487013
1307
  },
1308
  "optimization_specific": {
1309
+ "seenn_enabled": true,
1310
+ "bayes_fusion_enabled": true,
1311
+ "conf_threshold": 0.9,
1312
+ "conf_temp": 2.0,
1313
+ "anytime_fracs": "0.25,0.5,1.0",
1314
+ "anytime_weights": "0.3,0.3,1.0",
1315
+ "ic_loss_weight": 0.3,
1316
+ "ic_layer": 0,
1317
+ "mean_exit_tick": 7.784285714285715,
1318
+ "mean_exit_ms": 389.2142857142857,
1319
+ "ticks_saved_frac": 0.9221571428571429,
1320
+ "exit_tick_histogram": {
1321
+ "counts": [
1322
+ 1048,
1323
+ 306,
1324
+ 34,
1325
+ 11,
1326
+ 1,
1327
+ 0,
1328
+ 0,
1329
+ 0,
1330
+ 0,
1331
+ 0
1332
+ ],
1333
+ "edges": [
1334
+ 0.0,
1335
+ 10.0,
1336
+ 20.0,
1337
+ 30.0,
1338
+ 40.0,
1339
+ 50.0,
1340
+ 60.0,
1341
+ 70.0,
1342
+ 80.0,
1343
+ 90.0,
1344
+ 100.0
1345
+ ]
1346
  },
1347
+ "acc_fc_only": 0.9271428571428572,
1348
+ "acc_ic_only": 0.9357142857142857,
1349
+ "acc_fused": 0.9357142857142857,
1350
+ "acc_early_exit": 0.37714285714285717,
1351
+ "syn_ops_saved_frac": 0.5116999360567951,
1352
+ "syn_per_inference_early_exit": 1785947.325487013,
1353
+ "anytime_acc": {
1354
+ "0.25": 0.6264285714285714,
1355
+ "0.5": 0.8178571428571428,
1356
+ "0.75": 0.8921428571428571,
1357
+ "1.0": 0.9271428571428572
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1358
  },
1359
+ "pareto": [
 
 
 
 
 
 
1360
  {
1361
+ "conf": 0.5,
1362
+ "mean_ticks": 4.289285714285715,
1363
+ "acc": 0.24571428571428572,
1364
+ "syn_ops": 1647281.4212662338
1365
+ },
1366
+ {
1367
+ "conf": 0.7,
1368
+ "mean_ticks": 4.978571428571429,
1369
+ "acc": 0.275,
1370
+ "syn_ops": 1678001.2727272727
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1371
  },
1372
  {
1373
+ "conf": 0.8,
1374
+ "mean_ticks": 5.852857142857143,
1375
+ "acc": 0.3028571428571429,
1376
+ "syn_ops": 1714795.320616883
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1377
  },
1378
  {
1379
+ "conf": 0.9,
1380
+ "mean_ticks": 7.785,
1381
+ "acc": 0.37714285714285717,
1382
+ "syn_ops": 1785960.5300324673
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1383
  },
1384
  {
1385
+ "conf": 0.95,
1386
+ "mean_ticks": 10.002142857142857,
1387
+ "acc": 0.45071428571428573,
1388
+ "syn_ops": 1850843.49512987
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1389
  },
1390
  {
1391
+ "conf": 0.99,
1392
+ "mean_ticks": 14.499285714285714,
1393
+ "acc": 0.5742857142857143,
1394
+ "syn_ops": 1959679.1558441557
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1395
  }
1396
+ ]
 
 
1397
  },
1398
  "config": {
1399
  "method": "harmonic_matched",
 
1433
  "decision_margin": 2.0,
1434
  "export": false,
1435
  "seed": 1234,
 
 
 
 
 
 
1436
  "baseline": false,
1437
  "bench": true,
1438
  "bench_warmup": 10,
1439
  "bench_iters": 50,
1440
  "bench_train_steps": 20,
1441
+ "anytime_fracs": "0.25,0.5,1.0",
1442
+ "anytime_weights": "0.3,0.3,1.0",
1443
+ "ic_layer": 0,
1444
+ "ic_loss_weight": 0.3,
1445
+ "bayes_fusion": true,
1446
+ "fusion_prior_weight": 2.0,
1447
+ "conf_threshold": 0.9,
1448
+ "conf_temp": 2.0,
1449
+ "conf_sweep": "0.5,0.7,0.8,0.9,0.95,0.99",
1450
+ "hub_dir": "/kaggle/working/hub/opt02_seenn_bayes/fusion_prior_2x",
1451
+ "repo_id": "UWU-R-13/SSVEP-SNN",
1452
+ "push_hf": false,
1453
+ "keep_epoch_weights": 1,
1454
+ "no_resume": true,
1455
+ "selftest": false,
1456
  "sampling_rate": 250.0
1457
  }
1458
  },
1459
  "zip": {
1460
+ "name": "fusion_prior_2x.zip",
1461
  "files": 81,
1462
+ "bytes": 12637636,
1463
+ "MB": 12.6,
1464
+ "sha256": "fc6050fb762f5c1e2b45dd261c259362087f7598c1df1884b7b7b97c019e13f4"
1465
  }
1466
  },
1467
  {
1468
+ "key": "opt02_seenn_bayes/ic_layer_1",
1469
+ "tag": "ic_layer_1",
1470
+ "script": "opt02_seenn_bayes.py",
1471
+ "hf_folder": "applied/opt02_seenn_bayes",
1472
+ "phase": 7,
1473
  "status": "ok",
1474
+ "duration_s": 609.7,
1475
  "optimization_summary": {
1476
+ "optimization": "seenn_early_exit_bayesian_fusion",
1477
+ "research_section": "2. Temporal-dimension reduction",
1478
+ "reference": "SEENN: Towards Temporal Spiking Early-Exit Neural Networks, arXiv:2304.01230 (NeurIPS 2023); BayesianSpikeFusion, Front. Neurosci. 2024 (PMC11330889)",
1479
+ "script": "opt02_seenn_bayes.py",
1480
+ "baseline_mode": false,
1481
  "method": "harmonic_matched",
1482
  "accuracy": {
1483
+ "test_acc": 0.9278571428571428,
1484
+ "test_target_acc": 0.9278571428571428,
1485
+ "best_val_acc": 0.9321428571428572
1486
  },
1487
  "efficiency": {
1488
  "spikes_per_inference": null,
1489
+ "syn_ops_per_inference": 3613774.1201298703,
1490
+ "dense_macs_per_inference": 124723200.0,
1491
+ "event_fraction_of_dense": 0.02897435377002731,
1492
+ "syn_ops_per_inference_dense_fanout": 65190391.90665584,
1493
  "weight_sparsity": 0.7324707846410685,
1494
+ "effective_ticks": 8.52,
1495
  "num_ticks": 100,
1496
  "membrane_bytes_per_inference": 451200,
1497
  "weight_bytes": 4907008,
1498
  "input_raster_bytes": null,
1499
+ "train_ms_per_step": 185.69024801254272,
1500
+ "infer_ms_per_sample": 0.6491338937126812,
1501
+ "peak_vram_mb": 10916.063744,
1502
+ "syn_ops_per_inference_early_exit": 1842881.0933441557
1503
  },
1504
  "optimization_specific": {
1505
+ "seenn_enabled": true,
1506
+ "bayes_fusion_enabled": true,
1507
+ "conf_threshold": 0.9,
1508
+ "conf_temp": 2.0,
1509
+ "anytime_fracs": "0.25,0.5,1.0",
1510
+ "anytime_weights": "0.3,0.3,1.0",
1511
+ "ic_loss_weight": 0.3,
1512
+ "ic_layer": 1,
1513
+ "mean_exit_tick": 8.52,
1514
+ "mean_exit_ms": 426.0,
1515
+ "ticks_saved_frac": 0.9148000000000001,
1516
+ "exit_tick_histogram": {
1517
+ "counts": [
1518
+ 970,
1519
+ 375,
1520
+ 48,
1521
+ 7,
1522
+ 0,
1523
+ 0,
1524
+ 0,
1525
+ 0,
1526
+ 0,
1527
+ 0
1528
+ ],
1529
+ "edges": [
1530
+ 0.0,
1531
+ 10.0,
1532
+ 20.0,
1533
+ 30.0,
1534
+ 40.0,
1535
+ 50.0,
1536
+ 60.0,
1537
+ 70.0,
1538
+ 80.0,
1539
+ 90.0,
1540
+ 100.0
1541
+ ]
1542
+ },
1543
+ "acc_fc_only": 0.9278571428571428,
1544
+ "acc_ic_only": 0.935,
1545
+ "acc_fused": 0.935,
1546
+ "acc_early_exit": 0.39785714285714285,
1547
+ "syn_ops_saved_frac": 0.4900397667140505,
1548
+ "syn_per_inference_early_exit": 1842881.0933441557,
1549
+ "anytime_acc": {
1550
+ "0.25": 0.6442857142857142,
1551
+ "0.5": 0.8335714285714285,
1552
+ "0.75": 0.8935714285714286,
1553
+ "1.0": 0.9278571428571428
1554
+ },
1555
+ "pareto": [
1556
  {
1557
+ "conf": 0.5,
1558
+ "mean_ticks": 3.99,
1559
+ "acc": 0.2307142857142857,
1560
+ "syn_ops": 1674774.195616883
 
 
 
1561
  },
1562
  {
1563
+ "conf": 0.7,
1564
+ "mean_ticks": 5.156428571428571,
1565
+ "acc": 0.2742857142857143,
1566
+ "syn_ops": 1725540.0787337662
 
 
 
1567
  },
1568
  {
1569
+ "conf": 0.8,
1570
+ "mean_ticks": 6.271428571428571,
1571
+ "acc": 0.32,
1572
+ "syn_ops": 1770739.0535714284
1573
+ },
1574
+ {
1575
+ "conf": 0.9,
1576
+ "mean_ticks": 8.519285714285715,
1577
+ "acc": 0.39785714285714285,
1578
+ "syn_ops": 1842866.4797077922
1579
+ },
1580
+ {
1581
+ "conf": 0.95,
1582
+ "mean_ticks": 10.811428571428571,
1583
+ "acc": 0.4764285714285714,
1584
+ "syn_ops": 1903597.862012987
1585
+ },
1586
+ {
1587
+ "conf": 0.99,
1588
+ "mean_ticks": 14.98857142857143,
1589
+ "acc": 0.5942857142857143,
1590
+ "syn_ops": 1996385.5430194808
1591
  }
1592
+ ]
 
 
 
 
 
1593
  },
1594
  "config": {
1595
  "method": "harmonic_matched",
 
1629
  "decision_margin": 2.0,
1630
  "export": false,
1631
  "seed": 1234,
1632
+ "baseline": false,
1633
+ "bench": true,
1634
+ "bench_warmup": 10,
1635
+ "bench_iters": 50,
1636
+ "bench_train_steps": 20,
1637
+ "anytime_fracs": "0.25,0.5,1.0",
1638
+ "anytime_weights": "0.3,0.3,1.0",
1639
+ "ic_layer": 1,
1640
+ "ic_loss_weight": 0.3,
1641
+ "bayes_fusion": true,
1642
+ "fusion_prior_weight": 1.0,
1643
+ "conf_threshold": 0.9,
1644
+ "conf_temp": 2.0,
1645
+ "conf_sweep": "0.5,0.7,0.8,0.9,0.95,0.99",
1646
+ "hub_dir": "/kaggle/working/hub/opt02_seenn_bayes/ic_layer_1",
1647
  "repo_id": "UWU-R-13/SSVEP-SNN",
1648
  "push_hf": false,
1649
  "keep_epoch_weights": 1,
1650
  "no_resume": true,
1651
  "selftest": false,
 
 
 
 
 
 
 
 
 
 
1652
  "sampling_rate": 250.0
1653
  }
1654
  },
1655
  "zip": {
1656
+ "name": "ic_layer_1.zip",
1657
+ "files": 81,
1658
+ "bytes": 12859971,
1659
+ "MB": 12.9,
1660
+ "sha256": "98a8ce45dac9959cbbf7cd753b3711e1819bd3c4c7d767ae7eb71ba456bc39eb"
1661
  }
1662
  },
1663
  {
1664
+ "key": "opt02_seenn_bayes/ic_loss_0.1",
1665
+ "tag": "ic_loss_0.1",
1666
+ "script": "opt02_seenn_bayes.py",
1667
+ "hf_folder": "applied/opt02_seenn_bayes",
1668
+ "phase": 7,
1669
  "status": "ok",
1670
+ "duration_s": 606.7,
1671
  "optimization_summary": {
1672
+ "optimization": "seenn_early_exit_bayesian_fusion",
1673
+ "research_section": "2. Temporal-dimension reduction",
1674
+ "reference": "SEENN: Towards Temporal Spiking Early-Exit Neural Networks, arXiv:2304.01230 (NeurIPS 2023); BayesianSpikeFusion, Front. Neurosci. 2024 (PMC11330889)",
1675
+ "script": "opt02_seenn_bayes.py",
1676
  "baseline_mode": false,
1677
  "method": "harmonic_matched",
1678
  "accuracy": {
1679
+ "test_acc": 0.9271428571428572,
1680
+ "test_target_acc": 0.9271428571428572,
1681
+ "best_val_acc": 0.9242857142857143
1682
  },
1683
  "efficiency": {
1684
  "spikes_per_inference": null,
1685
+ "syn_ops_per_inference": 3436030.0146103892,
1686
+ "dense_macs_per_inference": 123955200.0,
1687
+ "event_fraction_of_dense": 0.027719934416711757,
1688
+ "syn_ops_per_inference_dense_fanout": 65012647.80113637,
1689
  "weight_sparsity": 0.7324707846410685,
1690
+ "effective_ticks": 7.478571428571429,
1691
  "num_ticks": 100,
1692
  "membrane_bytes_per_inference": 451200,
1693
  "weight_bytes": 4907008,
1694
  "input_raster_bytes": null,
1695
+ "train_ms_per_step": 184.88277196884155,
1696
+ "infer_ms_per_sample": 0.6457533518872668,
1697
+ "peak_vram_mb": 10912.55296,
1698
+ "syn_ops_per_inference_early_exit": 1629213.7150974027
1699
  },
1700
  "optimization_specific": {
1701
+ "seenn_enabled": true,
1702
+ "bayes_fusion_enabled": true,
1703
+ "conf_threshold": 0.9,
1704
+ "conf_temp": 2.0,
1705
+ "anytime_fracs": "0.25,0.5,1.0",
1706
+ "anytime_weights": "0.3,0.3,1.0",
1707
+ "ic_loss_weight": 0.1,
1708
+ "ic_layer": 0,
1709
+ "mean_exit_tick": 7.478571428571429,
1710
+ "mean_exit_ms": 373.92857142857144,
1711
+ "ticks_saved_frac": 0.9252142857142858,
1712
+ "exit_tick_histogram": {
1713
+ "counts": [
1714
+ 1079,
1715
+ 270,
1716
+ 43,
1717
+ 7,
1718
+ 1,
1719
+ 0,
1720
+ 0,
1721
+ 0,
1722
+ 0,
1723
+ 0
1724
+ ],
1725
+ "edges": [
1726
+ 0.0,
1727
+ 10.0,
1728
+ 20.0,
1729
+ 30.0,
1730
+ 40.0,
1731
+ 50.0,
1732
+ 60.0,
1733
+ 70.0,
1734
+ 80.0,
1735
+ 90.0,
1736
+ 100.0
1737
+ ]
1738
+ },
1739
+ "acc_fc_only": 0.9271428571428572,
1740
+ "acc_ic_only": 0.9357142857142857,
1741
+ "acc_fused": 0.9314285714285714,
1742
+ "acc_early_exit": 0.3657142857142857,
1743
+ "syn_ops_saved_frac": 0.5258441549783321,
1744
+ "syn_per_inference_early_exit": 1629213.7150974027,
1745
+ "anytime_acc": {
1746
+ "0.25": 0.6142857142857143,
1747
+ "0.5": 0.825,
1748
+ "0.75": 0.89,
1749
+ "1.0": 0.9271428571428572
1750
+ },
1751
+ "pareto": [
1752
  {
1753
+ "conf": 0.5,
1754
+ "mean_ticks": 4.1292857142857144,
1755
+ "acc": 0.23142857142857143,
1756
+ "syn_ops": 1500398.4293831168
 
 
1757
  },
1758
  {
1759
+ "conf": 0.7,
1760
+ "mean_ticks": 4.82,
1761
+ "acc": 0.26357142857142857,
1762
+ "syn_ops": 1529523.75487013
 
 
1763
  },
1764
  {
1765
+ "conf": 0.8,
1766
+ "mean_ticks": 5.501428571428572,
1767
+ "acc": 0.29214285714285715,
1768
+ "syn_ops": 1558365.8676948054
 
 
1769
  },
1770
  {
1771
+ "conf": 0.9,
1772
+ "mean_ticks": 7.478571428571429,
1773
+ "acc": 0.3657142857142857,
1774
+ "syn_ops": 1629213.413961039
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1775
  },
1776
  {
1777
+ "conf": 0.95,
1778
+ "mean_ticks": 9.495714285714286,
1779
+ "acc": 0.42928571428571427,
1780
+ "syn_ops": 1689368.923701299
 
 
 
1781
  },
1782
  {
1783
+ "conf": 0.99,
1784
+ "mean_ticks": 13.76,
1785
+ "acc": 0.5578571428571428,
1786
+ "syn_ops": 1796731.148538961
 
 
 
1787
  }
1788
+ ]
 
 
 
 
 
1789
  },
1790
  "config": {
1791
  "method": "harmonic_matched",
 
1825
  "decision_margin": 2.0,
1826
  "export": false,
1827
  "seed": 1234,
 
 
 
 
 
 
1828
  "baseline": false,
1829
  "bench": true,
1830
  "bench_warmup": 10,
1831
  "bench_iters": 50,
1832
  "bench_train_steps": 20,
1833
+ "anytime_fracs": "0.25,0.5,1.0",
1834
+ "anytime_weights": "0.3,0.3,1.0",
1835
+ "ic_layer": 0,
1836
+ "ic_loss_weight": 0.1,
1837
+ "bayes_fusion": true,
1838
+ "fusion_prior_weight": 1.0,
1839
+ "conf_threshold": 0.9,
1840
+ "conf_temp": 2.0,
1841
+ "conf_sweep": "0.5,0.7,0.8,0.9,0.95,0.99",
1842
+ "hub_dir": "/kaggle/working/hub/opt02_seenn_bayes/ic_loss_0.1",
1843
+ "repo_id": "UWU-R-13/SSVEP-SNN",
1844
+ "push_hf": false,
1845
+ "keep_epoch_weights": 1,
1846
+ "no_resume": true,
1847
+ "selftest": false,
1848
  "sampling_rate": 250.0
1849
  }
1850
  },
1851
  "zip": {
1852
+ "name": "ic_loss_0.1.zip",
1853
  "files": 81,
1854
+ "bytes": 12641458,
1855
+ "MB": 12.6,
1856
+ "sha256": "eee45bc432ffd53ea313c17e39d1034457326176b0a2447f42b1ecf6ed5b52a5"
1857
  }
1858
  }
1859
  ]