{ "key": "opt03_ftbc_threshold_balance/ftbc_lr_2.0", "tag": "ftbc_lr_2.0", "script": "opt03_ftbc_threshold_balance.py", "script_sha256_16": "b61e2bfeb6416b99", "hf_folder": "applied/opt03_ftbc_threshold_balance", "priority": 2, "note": "overshooting calibration steps", "phase": 7, "n_phases": 10, "method": "harmonic_matched", "command": [ "/usr/bin/python3", "-m", "torch.distributed.run", "--standalone", "--nproc_per_node=2", "/kaggle/working/scripts/opt03_ftbc_threshold_balance.py", "--method", "harmonic_matched", "--data-root", "/kaggle/working/data", "--epochs", "60", "--seed", "1234", "--batch-size", "64", "--event-eval", "--no-resume", "--decision-margin", "2.0", "--hub-dir", "/kaggle/working/hub/opt03_ftbc_threshold_balance/ftbc_lr_2.0", "--keep-epoch-weights", "1", "--resplit", "block", "--drop-rest", "--bench", "--ftbc-lr", "2.0" ], "flags": [ "--ftbc-lr", "2.0" ], "epochs_requested": 60, "gpus": 2, "relative_epoch_cost": 1.0, "exit_code": 0, "status": "ok", "duration_s": 387.4, "started_utc": "2026-08-23T05:04:08.730046+00:00", "finished_utc": "2026-08-23T05:10:36.173764+00:00", "optimization_summary": { "optimization": "ftbc_threshold_balance", "research_section": "2. Temporal-Dimension Reduction (threshold balancing + FTBC)", "reference": "Rueckauer et al. arXiv:1612.04052; Sengupta et al. arXiv:1802.02627; FTBC: Forward Temporal Bias Correction, ECCV 2024", "script": "opt03_ftbc_threshold_balance.py", "baseline_mode": false, "method": "harmonic_matched", "accuracy": { "test_acc": 0.925, "test_target_acc": 0.925, "best_val_acc": 0.9442857142857143 }, "efficiency": { "spikes_per_inference": null, "syn_ops_per_inference": 3270530.453733766, "dense_macs_per_inference": 122675200.0, "event_fraction_of_dense": 0.026660078432590825, "syn_ops_per_inference_dense_fanout": 64847148.240259744, "weight_sparsity": 0.7324707846410685, "effective_ticks": 12.499285714285714, "num_ticks": 100, "membrane_bytes_per_inference": 451200, "weight_bytes": 4907008, "input_raster_bytes": null, "train_ms_per_step": 97.14889454999138, "infer_ms_per_sample": 0.6363494856253737, "peak_vram_mb": 2825.317888 }, "optimization_specific": { "calibrate_thresh": true, "ftbc": true, "calib_percentile": 99.9, "calib_batches": 8, "ftbc_target_ticks": 8, "ftbc_ref_ticks": 100, "trained_T": 100, "thresh_before": [ 1.0, 1.0, 1.0, 1.0 ], "thresh_after": [ 2.366356134414673, 0.8545898795127869, 1.1143375635147095, 2.678464412689209 ], "min_ticks_within_1pct_of_full": null, "min_ticks_within_1pct_per_arm": { "raw": 100, "thresh": 50, "ftbc": null, "both": null }, "speedup_at_min_ticks": null, "full_T_acc": 0.9485714285714286, "t_sweep_rows": [ { "T": 4, "arm": "raw", "acc": 0.25285714285714284, "syn_per_inference": 1866740.6030844154, "dense_per_inference": 4907008.0, "event_fraction_of_dense": 0.3804233869364826 }, { "T": 4, "arm": "thresh", "acc": 0.3921428571428571, "syn_per_inference": 1825928.9253246754, "dense_per_inference": 4907008.0, "event_fraction_of_dense": 0.3721063681421908 }, { "T": 4, "arm": "ftbc", "acc": 0.05071428571428571, "syn_per_inference": 2045034.4821428573, "dense_per_inference": 4907008.0, "event_fraction_of_dense": 0.41675792705918907 }, { "T": 4, "arm": "both", "acc": 0.030714285714285715, "syn_per_inference": 2018497.18262987, "dense_per_inference": 4907008.0, "event_fraction_of_dense": 0.4113498862504137 }, { "T": 8, "arm": "raw", "acc": 0.5771428571428572, "syn_per_inference": 2048153.543831169, "dense_per_inference": 9814016.0, "event_fraction_of_dense": 0.20869678058718968 }, { "T": 8, "arm": "thresh", "acc": 0.7385714285714285, "syn_per_inference": 1950252.5267857143, "dense_per_inference": 9814016.0, "event_fraction_of_dense": 0.19872114807900398 }, { "T": 8, "arm": "ftbc", "acc": 0.05285714285714286, "syn_per_inference": 2452784.042207792, "dense_per_inference": 9814016.0, "event_fraction_of_dense": 0.2499266398391639 }, { "T": 8, "arm": "both", "acc": 0.06642857142857143, "syn_per_inference": 2399304.793831169, "dense_per_inference": 9814016.0, "event_fraction_of_dense": 0.2444773672501827 }, { "T": 16, "arm": "raw", "acc": 0.7892857142857143, "syn_per_inference": 2337609.4261363638, "dense_per_inference": 19628032.0, "event_fraction_of_dense": 0.11909545624015509 }, { "T": 16, "arm": "thresh", "acc": 0.9014285714285715, "syn_per_inference": 2121910.1517857146, "dense_per_inference": 19628032.0, "event_fraction_of_dense": 0.10810610823263965 }, { "T": 16, "arm": "ftbc", "acc": 0.4092857142857143, "syn_per_inference": 2811218.702922078, "dense_per_inference": 19628032.0, "event_fraction_of_dense": 0.14322468513002617 }, { "T": 16, "arm": "both", "acc": 0.3514285714285714, "syn_per_inference": 2648069.6298701297, "dense_per_inference": 19628032.0, "event_fraction_of_dense": 0.13491264075125461 }, { "T": 25, "arm": "raw", "acc": 0.8792857142857143, "syn_per_inference": 2558687.908279221, "dense_per_inference": 30668800.0, "event_fraction_of_dense": 0.08342967146674213 }, { "T": 25, "arm": "thresh", "acc": 0.925, "syn_per_inference": 2239377.7564935065, "dense_per_inference": 30668800.0, "event_fraction_of_dense": 0.07301810819117495 }, { "T": 25, "arm": "ftbc", "acc": 0.685, "syn_per_inference": 3072336.8579545454, "dense_per_inference": 30668800.0, "event_fraction_of_dense": 0.10017792864261221 }, { "T": 25, "arm": "both", "acc": 0.5571428571428572, "syn_per_inference": 2806018.2516233767, "dense_per_inference": 30668800.0, "event_fraction_of_dense": 0.0914942303456078 }, { "T": 50, "arm": "raw", "acc": 0.9328571428571428, "syn_per_inference": 2913571.6136363638, "dense_per_inference": 61337600.0, "event_fraction_of_dense": 0.047500580616723895 }, { "T": 50, "arm": "thresh", "acc": 0.9407142857142857, "syn_per_inference": 2421276.7459415584, "dense_per_inference": 61337600.0, "event_fraction_of_dense": 0.039474592190459984 }, { "T": 50, "arm": "ftbc", "acc": 0.8578571428571429, "syn_per_inference": 3487039.4261363638, "dense_per_inference": 61337600.0, "event_fraction_of_dense": 0.05684994890795146 }, { "T": 50, "arm": "both", "acc": 0.7778571428571428, "syn_per_inference": 3057650.978896104, "dense_per_inference": 61337600.0, "event_fraction_of_dense": 0.04984953729679844 }, { "T": 100, "arm": "raw", "acc": 0.9485714285714286, "syn_per_inference": 3270530.1485389615, "dense_per_inference": 122675200.0, "event_fraction_of_dense": 0.02666007594476277 }, { "T": 100, "arm": "thresh", "acc": 0.925, "syn_per_inference": 2694214.478896104, "dense_per_inference": 122675200.0, "event_fraction_of_dense": 0.02196217718737042 }, { "T": 100, "arm": "ftbc", "acc": 0.9164285714285715, "syn_per_inference": 3933733.825487013, "dense_per_inference": 122675200.0, "event_fraction_of_dense": 0.03206625157723006 }, { "T": 100, "arm": "both", "acc": 0.8485714285714285, "syn_per_inference": 3378956.2589285714, "dense_per_inference": 122675200.0, "event_fraction_of_dense": 0.02754392296836338 } ], "calibration_reference": "same network at full T (NOT a source ANN)" }, "config": { "method": "harmonic_matched", "data_root": "/kaggle/working/data", "subjects": "", "blocks": "", "limit": 0, "drop_rest": true, "resplit": "block", "test_blocks": "6", "class_weight": false, "epochs": 60, "batch_size": 64, "lr": 0.002, "weight_decay": 0.0005, "grad_clip": 5.0, "num_bins": 100, "window_sec": 5.0, "hidden": "512,256", "freq_groups": 8, "dropout": 0.3, "spike_drop": 0.1, "time_jitter": 2, "label_smoothing": 0.05, "no_batchnorm": false, "binary_input": false, "beta": 1.0, "thresh": 1.0, "window": 0.5, "gain": 1.0, "alpha": 0.9, "readout": "spikecount", "fake_quant": 0, "amp": false, "spike_reg": 0.0, "event_eval": true, "decision_margin": 2.0, "export": false, "seed": 1234, "hub_dir": "/kaggle/working/hub/opt03_ftbc_threshold_balance/ftbc_lr_2.0", "repo_id": "UWU-R-13/SSVEP-SNN", "push_hf": false, "keep_epoch_weights": 1, "no_resume": true, "selftest": false, "baseline": false, "bench": true, "bench_warmup": 10, "bench_iters": 50, "bench_train_steps": 20, "calibrate_thresh": true, "calib_percentile": 99.9, "calib_batches": 8, "ftbc": true, "ftbc_target_ticks": 8, "ftbc_ref_ticks": 0, "ftbc_lr": 2.0, "t_sweep": "4,8,16,25,50,100", "sampling_rate": 250.0 } }, "final_summary": { "final_test_acc": 0.9485714285714286, "final_test_target_acc": 0.9485714285714286, "final_test_rest_recall": NaN, "best_acc": 0.9442857142857143, "best_epoch": 54, "resplit": "block", "class_weight": false, "drop_rest": true, "epochs": 60, "method": "harmonic_matched", "n_in": 2880, "n_classes": 40, "num_bins": 100 }, "event_driven_summary": { "acc": 0.9485714285714286, "anytime_acc": { "0.25": 0.6328571428571429, "0.5": 0.8471428571428572, "0.75": 0.9171428571428571, "1.0": 0.9485714285714286 }, "syn_per_inference": 3270530.453733766, "dense_per_inference": 122675200.0, "event_fraction_of_dense": 0.026660078432590825, "syn_per_inference_dense_fanout": 64847148.240259744, "weight_sparsity": 0.7324707846410685, "num_ticks": 100, "dt_ms": 50.0, "margin_decision_acc": 0.4614285714285714, "mean_decision_tick": 12.499285714285714, "mean_decision_ms": 624.9642857142858, "dense_forward_test_acc": 0.9485714285714286 }, "extra_sweep_file_present": true, "selftest": { "mode": "gate", "passed": true }, "driver_version": 1, "zip": { "name": "ftbc_lr_2.0.zip", "files": 81, "bytes": 12249793, "MB": 12.2, "sha256": "8da510a7f6f6ea93fcb881624cd1c8187170ac3da8af0683fcf18c123a1fac73" } }