p-j-r-1-2-3 commited on
Commit
65786de
·
verified ·
1 Parent(s): cee0530

update APPLIED run index

Browse files
Files changed (1) hide show
  1. applied/_index/APPLIED_RUNS_INDEX.json +959 -484
applied/_index/APPLIED_RUNS_INDEX.json CHANGED
@@ -461,131 +461,139 @@
461
  }
462
  },
463
  {
464
- "key": "opt02_seenn_bayes/default",
465
- "tag": "default",
466
- "script": "opt02_seenn_bayes.py",
467
- "hf_folder": "applied/opt02_seenn_bayes",
468
- "phase": 1,
469
  "status": "ok",
470
- "duration_s": 586.1,
471
  "optimization_summary": {
472
- "optimization": "seenn_early_exit_bayesian_fusion",
473
- "research_section": "2. Temporal-dimension reduction",
474
- "reference": "SEENN: Towards Temporal Spiking Early-Exit Neural Networks, arXiv:2304.01230 (NeurIPS 2023); BayesianSpikeFusion, Front. Neurosci. 2024 (PMC11330889)",
475
- "script": "opt02_seenn_bayes.py",
476
  "baseline_mode": false,
477
  "method": "harmonic_matched",
478
  "accuracy": {
479
- "test_acc": 0.9278571428571428,
480
- "test_target_acc": 0.9278571428571428,
481
- "best_val_acc": 0.9307142857142857
482
  },
483
  "efficiency": {
484
  "spikes_per_inference": null,
485
- "syn_ops_per_inference": 3638362.4326298703,
486
- "dense_macs_per_inference": 123955200.0,
487
- "event_fraction_of_dense": 0.029352237200455246,
488
- "syn_ops_per_inference_dense_fanout": 65214980.21915584,
489
  "weight_sparsity": 0.7324707846410685,
490
- "effective_ticks": 7.985,
491
  "num_ticks": 100,
492
  "membrane_bytes_per_inference": 451200,
493
  "weight_bytes": 4907008,
494
  "input_raster_bytes": null,
495
- "train_ms_per_step": 174.30670261383057,
496
- "infer_ms_per_sample": 0.6237456846476799,
497
- "peak_vram_mb": 10914.396672,
498
- "syn_ops_per_inference_early_exit": 1846599.2897727273
499
  },
500
  "optimization_specific": {
501
- "seenn_enabled": true,
502
- "bayes_fusion_enabled": true,
503
- "conf_threshold": 0.9,
504
- "conf_temp": 2.0,
505
- "anytime_fracs": "0.25,0.5,1.0",
506
- "anytime_weights": "0.3,0.3,1.0",
507
- "ic_loss_weight": 0.3,
508
- "ic_layer": 0,
509
- "mean_exit_tick": 7.985,
510
- "mean_exit_ms": 399.25000000000006,
511
- "ticks_saved_frac": 0.92015,
512
- "exit_tick_histogram": {
513
- "counts": [
514
- 1040,
515
- 316,
516
- 39,
517
- 4,
518
- 1,
519
- 0,
520
- 0,
521
- 0,
522
- 0,
523
- 0
524
- ],
525
- "edges": [
526
- 0.0,
527
- 10.0,
528
- 20.0,
529
- 30.0,
530
- 40.0,
531
- 50.0,
532
- 60.0,
533
- 70.0,
534
- 80.0,
535
- 90.0,
536
- 100.0
537
- ]
538
- },
539
- "acc_fc_only": 0.9278571428571428,
540
- "acc_ic_only": 0.935,
541
- "acc_fused": 0.9378571428571428,
542
- "acc_early_exit": 0.3578571428571429,
543
- "syn_ops_saved_frac": 0.49246417200994075,
544
- "syn_per_inference_early_exit": 1846599.2897727273,
545
- "anytime_acc": {
546
- "0.25": 0.6228571428571429,
547
- "0.5": 0.8078571428571428,
548
- "0.75": 0.8885714285714286,
549
- "1.0": 0.9278571428571428
550
- },
551
- "pareto": [
552
  {
553
- "conf": 0.5,
554
- "mean_ticks": 4.405,
555
- "acc": 0.22785714285714287,
556
- "syn_ops": 1715995.05762987
 
 
557
  },
558
  {
559
- "conf": 0.7,
560
- "mean_ticks": 5.097857142857142,
561
- "acc": 0.25285714285714284,
562
- "syn_ops": 1744549.8368506492
 
 
563
  },
564
  {
565
- "conf": 0.8,
566
- "mean_ticks": 5.984285714285714,
567
- "acc": 0.28285714285714286,
568
- "syn_ops": 1779479.5024350649
 
 
569
  },
570
  {
571
- "conf": 0.9,
572
- "mean_ticks": 7.984285714285714,
573
- "acc": 0.3578571428571429,
574
- "syn_ops": 1846555.8522727273
 
 
575
  },
576
  {
577
- "conf": 0.95,
578
- "mean_ticks": 10.01142857142857,
579
- "acc": 0.42857142857142855,
580
- "syn_ops": 1902723.0324675327
 
 
581
  },
582
  {
583
- "conf": 0.99,
584
- "mean_ticks": 14.458571428571428,
585
- "acc": 0.5621428571428572,
586
- "syn_ops": 2004484.2800324673
 
 
587
  }
588
- ]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
589
  },
590
  "config": {
591
  "method": "harmonic_matched",
@@ -625,187 +633,159 @@
625
  "decision_margin": 2.0,
626
  "export": false,
627
  "seed": 1234,
628
- "baseline": false,
629
- "bench": true,
630
- "bench_warmup": 10,
631
- "bench_iters": 50,
632
- "bench_train_steps": 20,
633
- "anytime_fracs": "0.25,0.5,1.0",
634
- "anytime_weights": "0.3,0.3,1.0",
635
- "ic_layer": 0,
636
- "ic_loss_weight": 0.3,
637
- "bayes_fusion": true,
638
- "fusion_prior_weight": 1.0,
639
- "conf_threshold": 0.9,
640
- "conf_temp": 2.0,
641
- "conf_sweep": "0.5,0.7,0.8,0.9,0.95,0.99",
642
- "hub_dir": "/kaggle/working/hub/opt02_seenn_bayes/default",
643
  "repo_id": "UWU-R-13/SSVEP-SNN",
644
  "push_hf": false,
645
  "keep_epoch_weights": 1,
646
  "no_resume": true,
647
  "selftest": false,
 
 
 
 
 
 
 
 
 
 
648
  "sampling_rate": 250.0
649
  }
650
  },
651
  "zip": {
652
- "name": "default.zip",
653
  "files": 81,
654
- "bytes": 12636571,
655
- "MB": 12.6,
656
- "sha256": "1c64c6704af63b5eec37b2f1d2e824ba1c5c3c28328c5b1c03089bd12b4cc747"
657
  }
658
  },
659
  {
660
- "key": "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,163 +825,160 @@
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,163 +1018,353 @@
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,35 +1404,343 @@
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
  ]
 
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",
 
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,
640
  "no_resume": true,
641
  "selftest": false,
642
+ "baseline": false,
643
+ "bench": true,
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
  "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
  "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",
1178
+ "data_root": "/kaggle/working/data",
1179
+ "subjects": "",
1180
+ "blocks": "",
1181
+ "limit": 0,
1182
+ "drop_rest": true,
1183
+ "resplit": "block",
1184
+ "test_blocks": "6",
1185
+ "class_weight": false,
1186
+ "epochs": 60,
1187
+ "batch_size": 64,
1188
+ "lr": 0.002,
1189
+ "weight_decay": 0.0005,
1190
+ "grad_clip": 5.0,
1191
+ "num_bins": 100,
1192
+ "window_sec": 5.0,
1193
+ "hidden": "512,256",
1194
+ "freq_groups": 8,
1195
+ "dropout": 0.3,
1196
+ "spike_drop": 0.1,
1197
+ "time_jitter": 2,
1198
+ "label_smoothing": 0.05,
1199
+ "no_batchnorm": false,
1200
+ "binary_input": false,
1201
+ "beta": 1.0,
1202
+ "thresh": 1.0,
1203
+ "window": 0.5,
1204
+ "gain": 1.0,
1205
+ "alpha": 0.9,
1206
+ "readout": "spikecount",
1207
+ "fake_quant": 0,
1208
+ "amp": false,
1209
+ "spike_reg": 0.0,
1210
+ "event_eval": true,
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
  "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,
1411
+ "no_resume": true,
1412
+ "selftest": false,
1413
  "baseline": false,
1414
  "bench": true,
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
+ {
1436
+ "key": "opt09_srif_softreset/lam_init_0.1",
1437
+ "tag": "lam_init_0.1",
1438
+ "script": "opt09_srif_softreset.py",
1439
+ "hf_folder": "applied/opt09_srif_softreset",
1440
+ "phase": 5,
1441
+ "status": "ok",
1442
+ "duration_s": 363.2,
1443
+ "optimization_summary": {
1444
+ "optimization": "srif_softreset",
1445
+ "research_section": "4. Membrane-Potential Memory Wall -- Soft Reset Integrate-and-Fire (SRIF), dynamic reset potential",
1446
+ "reference": "Guo et al., 'Reducing Information Loss for Spiking Neural Networks' (SRIF), ECCV 2022; research.md S4 (stacks with MINT / SpQuant-SNN membrane quantization)",
1447
+ "script": "opt09_srif_softreset.py",
1448
+ "baseline_mode": false,
1449
+ "method": "harmonic_matched",
1450
+ "accuracy": {
1451
+ "test_acc": 0.8864285714285715,
1452
+ "test_target_acc": 0.8864285714285715,
1453
+ "best_val_acc": 0.8864285714285715
1454
+ },
1455
+ "efficiency": {
1456
+ "spikes_per_inference": 14075.5703125,
1457
+ "syn_ops_per_inference": 5061701.517045454,
1458
+ "dense_macs_per_inference": 122675200.0,
1459
+ "event_fraction_of_dense": 0.04126100073238482,
1460
+ "syn_ops_per_inference_dense_fanout": 66638319.30357143,
1461
+ "weight_sparsity": 0.7324707846410685,
1462
+ "effective_ticks": 21.771428571428572,
1463
+ "num_ticks": 100,
1464
+ "membrane_bytes_per_inference": 451200,
1465
+ "weight_bytes": 4907008,
1466
+ "input_raster_bytes": null,
1467
+ "train_ms_per_step": 104.55192480001188,
1468
+ "infer_ms_per_sample": 0.7019145781249847,
1469
+ "peak_vram_mb": 2834.965504,
1470
+ "discarded_charge_per_reset": -0.5145500630598341
1471
+ },
1472
+ "optimization_specific": {
1473
+ "reset_mode": "srif",
1474
+ "learn_reset": true,
1475
+ "lam_init": 0.1,
1476
+ "v_reset_init": 0.0,
1477
+ "u_bits": 0,
1478
+ "u_scale": 1.0,
1479
+ "u_headroom_requested": 2.0,
1480
+ "u_headroom_actual": 0.0,
1481
+ "u_threshold_level": 0,
1482
+ "u_levels_above_threshold": null,
1483
+ "reset_family": {
1484
+ "reset_mode": "srif",
1485
+ "learn_reset": true,
1486
+ "num_spiking_sites": 4,
1487
+ "extra_params": 8,
1488
+ "extra_params_frac_of_weights": 6.5212854757929885e-06,
1489
+ "extra_flops_per_tick_per_neuron": 0,
1490
+ "learned_lam_per_layer": [
1491
+ 0.34666571021080017,
1492
+ 0.329329252243042,
1493
+ 0.33023813366889954,
1494
+ 0.4990707039833069
1495
+ ],
1496
+ "learned_v_reset_per_layer": [
1497
+ 0.5600309371948242,
1498
+ 0.6936066150665283,
1499
+ 0.6635518074035645,
1500
+ 1.1929576396942139
1501
+ ]
1502
+ },
1503
+ "reset_stats": {
1504
+ "reset_mode": "srif",
1505
+ "learn_reset": true,
1506
+ "discarded_charge_per_reset": -0.5145500630598341,
1507
+ "spikes_per_inference": 14075.5703125,
1508
+ "syn_per_inference": 5154236.75,
1509
+ "lam_per_site": [
1510
+ 0.34666571021080017,
1511
+ 0.329329252243042,
1512
+ 0.33023813366889954,
1513
+ 0.4990707039833069
1514
+ ],
1515
+ "v_reset_per_site": [
1516
+ 0.5600309371948242,
1517
+ 0.6936066150665283,
1518
+ 0.6635518074035645,
1519
+ 1.1929576396942139
1520
+ ],
1521
+ "u_bits": 0,
1522
+ "membrane_saturation_frac": null,
1523
+ "batches": 4,
1524
+ "grid_headroom": 0.0,
1525
+ "grid_levels_above_thresh": null
1526
+ },
1527
+ "reset_x_bits_sweep": {
1528
+ "rows": [
1529
+ {
1530
+ "reset_mode": "hard",
1531
+ "u_bits": 0,
1532
+ "acc": 0.6842857142857143,
1533
+ "target_acc": 0.6842857142857143,
1534
+ "grid_headroom": 0.0,
1535
+ "grid_levels_above_thresh": null,
1536
+ "discarded_charge_per_reset": 0.15835896317720594,
1537
+ "spikes_per_inference": 6790.640625,
1538
+ "membrane_saturation_frac": null,
1539
+ "membrane_memory_reduction_x": 1.0,
1540
+ "acc_drop_vs_fp32": 0.0
1541
+ },
1542
+ {
1543
+ "reset_mode": "hard",
1544
+ "u_bits": 4,
1545
+ "acc": 0.6864285714285714,
1546
+ "target_acc": 0.6864285714285714,
1547
+ "grid_headroom": 1.75,
1548
+ "grid_levels_above_thresh": 3,
1549
+ "discarded_charge_per_reset": 0.059665275456522254,
1550
+ "spikes_per_inference": 7909.4375,
1551
+ "membrane_saturation_frac": 0.22161569148936172,
1552
+ "membrane_memory_reduction_x": 8.0,
1553
+ "acc_drop_vs_fp32": -0.002142857142857113
1554
+ },
1555
+ {
1556
+ "reset_mode": "hard",
1557
+ "u_bits": 2,
1558
+ "acc": 0.16214285714285714,
1559
+ "target_acc": 0.16214285714285714,
1560
+ "grid_headroom": 1.0,
1561
+ "grid_levels_above_thresh": 0,
1562
+ "discarded_charge_per_reset": 0.0,
1563
+ "spikes_per_inference": 2683.109375,
1564
+ "membrane_saturation_frac": 0.19872880651595745,
1565
+ "membrane_memory_reduction_x": 16.0,
1566
+ "acc_drop_vs_fp32": 0.5221428571428571
1567
+ },
1568
+ {
1569
+ "reset_mode": "soft",
1570
+ "u_bits": 0,
1571
+ "acc": 0.7814285714285715,
1572
+ "target_acc": 0.7814285714285715,
1573
+ "grid_headroom": 0.0,
1574
+ "grid_levels_above_thresh": null,
1575
+ "discarded_charge_per_reset": 0.0,
1576
+ "spikes_per_inference": 8097.6796875,
1577
+ "membrane_saturation_frac": null,
1578
+ "membrane_memory_reduction_x": 1.0,
1579
+ "acc_drop_vs_fp32": 0.0
1580
+ },
1581
+ {
1582
+ "reset_mode": "soft",
1583
+ "u_bits": 4,
1584
+ "acc": 0.7571428571428571,
1585
+ "target_acc": 0.7571428571428571,
1586
+ "grid_headroom": 1.75,
1587
+ "grid_levels_above_thresh": 3,
1588
+ "discarded_charge_per_reset": 0.0,
1589
+ "spikes_per_inference": 8502.828125,
1590
+ "membrane_saturation_frac": 0.2330075354609929,
1591
+ "membrane_memory_reduction_x": 8.0,
1592
+ "acc_drop_vs_fp32": 0.024285714285714355
1593
+ },
1594
+ {
1595
+ "reset_mode": "soft",
1596
+ "u_bits": 2,
1597
+ "acc": 0.16214285714285714,
1598
+ "target_acc": 0.16214285714285714,
1599
+ "grid_headroom": 1.0,
1600
+ "grid_levels_above_thresh": 0,
1601
+ "discarded_charge_per_reset": 0.0,
1602
+ "spikes_per_inference": 2683.109375,
1603
+ "membrane_saturation_frac": 0.19872880651595745,
1604
+ "membrane_memory_reduction_x": 16.0,
1605
+ "acc_drop_vs_fp32": 0.6192857142857143
1606
+ },
1607
+ {
1608
+ "reset_mode": "trained",
1609
+ "u_bits": 0,
1610
+ "acc": 0.8864285714285715,
1611
+ "target_acc": 0.8864285714285715,
1612
+ "grid_headroom": 0.0,
1613
+ "grid_levels_above_thresh": null,
1614
+ "discarded_charge_per_reset": -0.51547552848815,
1615
+ "spikes_per_inference": 13885.140625,
1616
+ "membrane_saturation_frac": null,
1617
+ "membrane_memory_reduction_x": 1.0,
1618
+ "acc_drop_vs_fp32": 0.0
1619
+ },
1620
+ {
1621
+ "reset_mode": "trained",
1622
+ "u_bits": 4,
1623
+ "acc": 0.9092857142857143,
1624
+ "target_acc": 0.9092857142857143,
1625
+ "grid_headroom": 1.75,
1626
+ "grid_levels_above_thresh": 3,
1627
+ "discarded_charge_per_reset": -0.5824071496424404,
1628
+ "spikes_per_inference": 17677.2734375,
1629
+ "membrane_saturation_frac": 0.3281896193484043,
1630
+ "membrane_memory_reduction_x": 8.0,
1631
+ "acc_drop_vs_fp32": -0.022857142857142798
1632
+ },
1633
+ {
1634
+ "reset_mode": "trained",
1635
+ "u_bits": 2,
1636
+ "acc": 0.06642857142857143,
1637
+ "target_acc": 0.06642857142857143,
1638
+ "grid_headroom": 1.0,
1639
+ "grid_levels_above_thresh": 0,
1640
+ "discarded_charge_per_reset": -0.6881111096608943,
1641
+ "spikes_per_inference": 24211.9453125,
1642
+ "membrane_saturation_frac": 0.4429418079565603,
1643
+ "membrane_memory_reduction_x": 16.0,
1644
+ "acc_drop_vs_fp32": 0.8200000000000001
1645
+ }
1646
+ ],
1647
+ "by_mode": {
1648
+ "hard": {
1649
+ "fp32_acc": 0.6842857142857143,
1650
+ "acc_by_bits": {
1651
+ "0": 0.6842857142857143,
1652
+ "4": 0.6864285714285714,
1653
+ "2": 0.16214285714285714
1654
+ }
1655
+ },
1656
+ "soft": {
1657
+ "fp32_acc": 0.7814285714285715,
1658
+ "acc_by_bits": {
1659
+ "0": 0.7814285714285715,
1660
+ "4": 0.7571428571428571,
1661
+ "2": 0.16214285714285714
1662
+ }
1663
+ },
1664
+ "trained": {
1665
+ "fp32_acc": 0.8864285714285715,
1666
+ "acc_by_bits": {
1667
+ "0": 0.8864285714285715,
1668
+ "4": 0.9092857142857143,
1669
+ "2": 0.06642857142857143
1670
+ }
1671
+ }
1672
+ }
1673
+ },
1674
+ "mechanism": "V = u - s*((1-lam)*u + lam*thresh) + s*v_r; lam=0,v_r=0 is the baseline hard reset exactly, lam=1,v_r=0 discards zero charge",
1675
+ "cost": "2 scalars per spiking layer; identical FMA count per tick, so the reset change is free at inference time",
1676
+ "caveat": "the sweep swaps the reset on ALREADY-TRAINED weights, which under-states what training with each reset would give; and a charge-conserving reset can raise the spike count, so read spikes_per_inference next to the accuracy"
1677
+ },
1678
+ "config": {
1679
+ "method": "harmonic_matched",
1680
+ "data_root": "/kaggle/working/data",
1681
+ "subjects": "",
1682
+ "blocks": "",
1683
+ "limit": 0,
1684
+ "drop_rest": true,
1685
+ "resplit": "block",
1686
+ "test_blocks": "6",
1687
+ "class_weight": false,
1688
+ "epochs": 60,
1689
+ "batch_size": 64,
1690
+ "lr": 0.002,
1691
+ "weight_decay": 0.0005,
1692
+ "grad_clip": 5.0,
1693
+ "num_bins": 100,
1694
+ "window_sec": 5.0,
1695
+ "hidden": "512,256",
1696
+ "freq_groups": 8,
1697
+ "dropout": 0.3,
1698
+ "spike_drop": 0.1,
1699
+ "time_jitter": 2,
1700
+ "label_smoothing": 0.05,
1701
+ "no_batchnorm": false,
1702
+ "binary_input": false,
1703
+ "beta": 1.0,
1704
+ "thresh": 1.0,
1705
+ "window": 0.5,
1706
+ "gain": 1.0,
1707
+ "alpha": 0.9,
1708
+ "readout": "spikecount",
1709
+ "fake_quant": 0,
1710
+ "amp": false,
1711
+ "spike_reg": 0.0,
1712
+ "event_eval": true,
1713
+ "decision_margin": 2.0,
1714
+ "export": false,
1715
+ "seed": 1234,
1716
+ "hub_dir": "/kaggle/working/hub/opt09_srif_softreset/lam_init_0.1",
1717
  "repo_id": "UWU-R-13/SSVEP-SNN",
1718
  "push_hf": false,
1719
  "keep_epoch_weights": 1,
1720
  "no_resume": true,
1721
  "selftest": false,
1722
+ "reset_mode": "srif",
1723
+ "learn_reset": true,
1724
+ "lam_init": 0.1,
1725
+ "v_reset_init": 0.0,
1726
+ "u_bits": 0,
1727
+ "u_headroom": 2.0,
1728
+ "reset_sweep": "hard,soft,trained",
1729
+ "bits_sweep": "0,4,2",
1730
+ "baseline": false,
1731
+ "bench": true,
1732
+ "bench_warmup": 10,
1733
+ "bench_iters": 50,
1734
+ "bench_train_steps": 20,
1735
  "sampling_rate": 250.0
1736
  }
1737
  },
1738
  "zip": {
1739
+ "name": "lam_init_0.1.zip",
1740
  "files": 81,
1741
+ "bytes": 12307403,
1742
+ "MB": 12.3,
1743
+ "sha256": "f0bde8116a705a1c90f84adf38d925dec0ca1bf7025cb8bb4df284bd28d75a88"
1744
  }
1745
  }
1746
  ]