p-j-r-1-2-3 commited on
Commit
9034405
·
verified ·
1 Parent(s): 86b4cd1

update APPLIED run index

Browse files
Files changed (1) hide show
  1. applied/_index/APPLIED_RUNS_INDEX.json +421 -251
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,35 +825,225 @@
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
  ]
 
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",
985
+ "data_root": "/kaggle/working/data",
986
+ "subjects": "",
987
+ "blocks": "",
988
+ "limit": 0,
989
+ "drop_rest": true,
990
+ "resplit": "block",
991
+ "test_blocks": "6",
992
+ "class_weight": false,
993
+ "epochs": 60,
994
+ "batch_size": 64,
995
+ "lr": 0.002,
996
+ "weight_decay": 0.0005,
997
+ "grad_clip": 5.0,
998
+ "num_bins": 100,
999
+ "window_sec": 5.0,
1000
+ "hidden": "512,256",
1001
+ "freq_groups": 8,
1002
+ "dropout": 0.3,
1003
+ "spike_drop": 0.1,
1004
+ "time_jitter": 2,
1005
+ "label_smoothing": 0.05,
1006
+ "no_batchnorm": false,
1007
+ "binary_input": false,
1008
+ "beta": 1.0,
1009
+ "thresh": 1.0,
1010
+ "window": 0.5,
1011
+ "gain": 1.0,
1012
+ "alpha": 0.9,
1013
+ "readout": "spikecount",
1014
+ "fake_quant": 0,
1015
+ "amp": false,
1016
+ "spike_reg": 0.0,
1017
+ "event_eval": true,
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
  ]