{ "key": "opt03_ftbc_threshold_balance/thresh_only", "tag": "thresh_only", "script": "opt03_ftbc_threshold_balance.py", "script_sha256_16": "b61e2bfeb6416b99", "hf_folder": "applied/opt03_ftbc_threshold_balance", "priority": 2, "note": "isolates threshold balancing", "phase": 8, "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/thresh_only", "--keep-epoch-weights", "1", "--resplit", "block", "--drop-rest", "--bench", "--calibrate-thresh", "--no-ftbc" ], "flags": [ "--calibrate-thresh", "--no-ftbc" ], "epochs_requested": 60, "gpus": 2, "relative_epoch_cost": 1.0, "exit_code": 0, "status": "ok", "duration_s": 361.1, "started_utc": "2026-08-23T05:29:20.578265+00:00", "finished_utc": "2026-08-23T05:35:21.708732+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.93, "test_target_acc": 0.93, "best_val_acc": 0.9442857142857143 }, "efficiency": { "spikes_per_inference": null, "syn_ops_per_inference": 3291572.5738636362, "dense_macs_per_inference": 122675200.0, "event_fraction_of_dense": 0.026831605523069343, "syn_ops_per_inference_dense_fanout": 64868190.36038961, "weight_sparsity": 0.7324707846410685, "effective_ticks": 12.039285714285715, "num_ticks": 100, "membrane_bytes_per_inference": 451200, "weight_bytes": 4907008, "input_raster_bytes": null, "train_ms_per_step": 98.61616005000542, "infer_ms_per_sample": 0.648547162812747, "peak_vram_mb": 2825.319424 }, "optimization_specific": { "calibrate_thresh": true, "ftbc": false, "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.316941022872925, 0.8509324193000793, 1.1109048128128052, 2.703218460083008 ], "min_ticks_within_1pct_of_full": 50, "min_ticks_within_1pct_per_arm": { "raw": 50, "thresh": 50 }, "speedup_at_min_ticks": 2.0, "full_T_acc": 0.9457142857142857, "t_sweep_rows": [ { "T": 4, "arm": "raw", "acc": 0.2742857142857143, "syn_per_inference": 1874088.702922078, "dense_per_inference": 4907008.0, "event_fraction_of_dense": 0.38192085745979587 }, { "T": 4, "arm": "thresh", "acc": 0.41285714285714287, "syn_per_inference": 1834095.9163961038, "dense_per_inference": 4907008.0, "event_fraction_of_dense": 0.3737707206501607 }, { "T": 8, "arm": "raw", "acc": 0.595, "syn_per_inference": 2061721.9034090908, "dense_per_inference": 9814016.0, "event_fraction_of_dense": 0.2100793297472809 }, { "T": 8, "arm": "thresh", "acc": 0.7728571428571429, "syn_per_inference": 1963701.1875, "dense_per_inference": 9814016.0, "event_fraction_of_dense": 0.20009150051314364 }, { "T": 16, "arm": "raw", "acc": 0.8207142857142857, "syn_per_inference": 2358720.708603896, "dense_per_inference": 19628032.0, "event_fraction_of_dense": 0.1201710242068026 }, { "T": 16, "arm": "thresh", "acc": 0.9035714285714286, "syn_per_inference": 2142573.9935064935, "dense_per_inference": 19628032.0, "event_fraction_of_dense": 0.1091588801927006 }, { "T": 25, "arm": "raw", "acc": 0.89, "syn_per_inference": 2583865.2305194805, "dense_per_inference": 30668800.0, "event_fraction_of_dense": 0.08425061399596595 }, { "T": 25, "arm": "thresh", "acc": 0.9307142857142857, "syn_per_inference": 2263356.4123376627, "dense_per_inference": 30668800.0, "event_fraction_of_dense": 0.07379996649160263 }, { "T": 50, "arm": "raw", "acc": 0.9385714285714286, "syn_per_inference": 2942934.289772727, "dense_per_inference": 61337600.0, "event_fraction_of_dense": 0.047979286600270094 }, { "T": 50, "arm": "thresh", "acc": 0.9421428571428572, "syn_per_inference": 2448527.6655844157, "dense_per_inference": 61337600.0, "event_fraction_of_dense": 0.039918869756632405 }, { "T": 100, "arm": "raw", "acc": 0.9457142857142857, "syn_per_inference": 3291572.496753247, "dense_per_inference": 122675200.0, "event_fraction_of_dense": 0.026831604894495768 }, { "T": 100, "arm": "thresh", "acc": 0.93, "syn_per_inference": 2714702.452922078, "dense_per_inference": 122675200.0, "event_fraction_of_dense": 0.02212918709667543 } ], "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/thresh_only", "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": false, "ftbc_target_ticks": 8, "ftbc_ref_ticks": 0, "ftbc_lr": 1.0, "t_sweep": "4,8,16,25,50,100", "sampling_rate": 250.0 } }, "final_summary": { "final_test_acc": 0.9457142857142857, "final_test_target_acc": 0.9457142857142857, "final_test_rest_recall": NaN, "best_acc": 0.9442857142857143, "best_epoch": 46, "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.9457142857142857, "anytime_acc": { "0.25": 0.625, "0.5": 0.8535714285714285, "0.75": 0.92, "1.0": 0.9457142857142857 }, "syn_per_inference": 3291572.5738636362, "dense_per_inference": 122675200.0, "event_fraction_of_dense": 0.026831605523069343, "syn_per_inference_dense_fanout": 64868190.36038961, "weight_sparsity": 0.7324707846410685, "num_ticks": 100, "dt_ms": 50.0, "margin_decision_acc": 0.44, "mean_decision_tick": 12.039285714285715, "mean_decision_ms": 601.9642857142858, "dense_forward_test_acc": 0.9457142857142857 }, "extra_sweep_file_present": true, "selftest": { "mode": "gate", "passed": true }, "driver_version": 1, "zip": { "name": "thresh_only.zip", "files": 81, "bytes": 12246575, "MB": 12.2, "sha256": "17a308e5444a23727992a34377bb7f0dc5f72c901454d5a8a2380dbb443a30b6" } }