{ "key": "opt10_parallel_lif_scan/control_baseline", "tag": "control_baseline", "script": "opt10_parallel_lif_scan.py", "script_sha256_16": "1b869e8327d5b545", "hf_folder": "applied/opt10_parallel_lif_scan", "priority": 0, "note": "control: --lif-mode sequential (unmodified baseline kernel)", "phase": 2, "n_phases": 10, "method": "harmonic_matched", "command": [ "/usr/bin/python3", "-m", "torch.distributed.run", "--standalone", "--nproc_per_node=2", "/kaggle/working/scripts/opt10_parallel_lif_scan.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/opt10_parallel_lif_scan/control_baseline", "--keep-epoch-weights", "1", "--resplit", "block", "--drop-rest", "--bench", "--baseline" ], "flags": [ "--baseline" ], "epochs_requested": 60, "gpus": 2, "relative_epoch_cost": 1.0, "exit_code": 0, "status": "ok", "duration_s": 324.9, "started_utc": "2026-08-23T04:51:54.176286+00:00", "finished_utc": "2026-08-23T04:57:19.110808+00:00", "optimization_summary": { "optimization": "parallel_lif_scan", "research_section": "4. Membrane-Potential Memory Wall (reset-mechanism removal) / 6. Feasibility & Limitations", "reference": "Fang et al., Parallel Spiking Neurons, NeurIPS 2023, arXiv:2304.12760; Hillis-Steele parallel prefix scan", "script": "opt10_parallel_lif_scan.py", "baseline_mode": true, "method": "harmonic_matched", "accuracy": { "test_acc": 0.945, "test_target_acc": 0.945, "best_val_acc": 0.9457142857142857 }, "efficiency": { "spikes_per_inference": null, "syn_ops_per_inference": 3264338.5738636362, "dense_macs_per_inference": 122675200.0, "event_fraction_of_dense": 0.02660960466225966, "syn_ops_per_inference_dense_fanout": 64840956.36038961, "weight_sparsity": 0.7324707846410685, "effective_ticks": 12.121428571428572, "num_ticks": 100, "membrane_bytes_per_inference": 451200, "weight_bytes": 4907008, "input_raster_bytes": null, "train_ms_per_step": 94.87772144993869, "infer_ms_per_sample": 0.6268067493749641, "peak_vram_mb": 2828.294656 }, "optimization_specific": { "lif_mode": "sequential", "scan_reset_correction": null, "psn_init_beta": null, "training_T": 100, "sequential_depth": 100, "sequential_depth_baseline": 100, "depth_reduction_x": 1.0, "speedup_vs_sequential_at_T": 0.1503121573672922, "speedup_vs_sequential_at_T_fwdbwd": 0.20684062130801603, "scan_crossover_T": null, "scan_ever_wins": false, "t_scaling": [ { "T": 25, "sequential_ms": 0.045512239994423, "scan_ms": 0.3423229399777483, "psn_ms": 0.1837123400036944, "sequential_fwdbwd_ms": 0.364014920014597, "scan_fwdbwd_ms": 0.7510828000158654, "psn_fwdbwd_ms": 0.8128121399931842, "scan_speedup_x": 0.13295118345671308, "scan_speedup_fwdbwd_x": 0.4846535162393651, "psn_speedup_x": 0.24773643400061074, "psn_speedup_fwdbwd_x": 0.4478463129471091, "depth_sequential": 25, "depth_scan": 5, "depth_psn": 1 }, { "T": 50, "sequential_ms": 0.10447606000525411, "scan_ms": 0.5663288799769362, "psn_ms": 0.17435837999073556, "sequential_fwdbwd_ms": 0.35421625998424133, "scan_fwdbwd_ms": 1.0259901999961585, "psn_fwdbwd_ms": 0.846563140003127, "scan_speedup_x": 0.18447948479955484, "scan_speedup_fwdbwd_x": 0.34524331712482986, "psn_speedup_x": 0.5992029749921134, "psn_speedup_fwdbwd_x": 0.4184168235613624, "depth_sequential": 50, "depth_scan": 6, "depth_psn": 1 }, { "T": 100, "sequential_ms": 0.20700453998870216, "scan_ms": 1.3771643200016115, "psn_ms": 0.24421506001090165, "sequential_fwdbwd_ms": 0.46369539999432163, "scan_fwdbwd_ms": 2.241800459996739, "psn_fwdbwd_ms": 0.9716448000108358, "scan_speedup_x": 0.1503121573672922, "scan_speedup_fwdbwd_x": 0.20684062130801603, "psn_speedup_x": 0.8476321647791155, "psn_speedup_fwdbwd_x": 0.4772272748118968, "depth_sequential": 100, "depth_scan": 7, "depth_psn": 1 }, { "T": 200, "sequential_ms": 0.404842979987734, "scan_ms": 2.945772679995571, "psn_ms": 0.6542044199886732, "sequential_fwdbwd_ms": 0.8978712200041628, "scan_fwdbwd_ms": 4.644049820017244, "psn_fwdbwd_ms": 2.5973449400044046, "scan_speedup_x": 0.13743184690963414, "scan_speedup_fwdbwd_x": 0.19333798189116516, "psn_speedup_x": 0.6188325355471359, "psn_speedup_fwdbwd_x": 0.34568809331988076, "depth_sequential": 200, "depth_scan": 8, "depth_psn": 1 }, { "T": 400, "sequential_ms": 0.8251251399997273, "scan_ms": 6.162180259998422, "psn_ms": 2.0728505599981872, "sequential_fwdbwd_ms": 1.8003722800131072, "scan_fwdbwd_ms": 9.709376379978494, "psn_fwdbwd_ms": 7.788119739998365, "scan_speedup_x": 0.1339014934950862, "scan_speedup_fwdbwd_x": 0.18542614989420103, "psn_speedup_x": 0.3980630132837212, "psn_speedup_fwdbwd_x": 0.23116905493462345, "depth_sequential": 400, "depth_scan": 9, "depth_psn": 1 } ], "accuracy_cost_of_reset_removal": { "firing_rate_hard_reset": 0.026105469092726707, "firing_rate_reset_free": 0.36106836795806885, "firing_rate_reset_corrected": 0.00894628930836916, "spike_agreement_reset_free": 0.6650371551513672, "spike_agreement_reset_corrected": 0.9814648628234863, "spike_storm_ratio_reset_free": 13.831138857361761 }, "psn_extra_params": 0, "deploy_neuron_is_hard_reset": true, "train_deploy_neuron_mismatch": false, "event_driven_acc_under_hard_reset": 0.945, "dense_forward_acc_under_train_neuron": 0.945 }, "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/opt10_parallel_lif_scan/control_baseline", "repo_id": "UWU-R-13/SSVEP-SNN", "push_hf": false, "keep_epoch_weights": 1, "no_resume": true, "selftest": false, "baseline": true, "bench": true, "bench_warmup": 10, "bench_iters": 50, "bench_train_steps": 20, "lif_mode": "scan", "scan_reset_correction": true, "psn_init_beta": 0.95, "t_scaling": "25,50,100,200,400", "sampling_rate": 250.0 } }, "final_summary": { "final_test_acc": 0.945, "final_test_target_acc": 0.945, "final_test_rest_recall": NaN, "best_acc": 0.9457142857142857, "best_epoch": 47, "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.945, "anytime_acc": { "0.25": 0.6321428571428571, "0.5": 0.8535714285714285, "0.75": 0.9235714285714286, "1.0": 0.945 }, "syn_per_inference": 3264338.5738636362, "dense_per_inference": 122675200.0, "event_fraction_of_dense": 0.02660960466225966, "syn_per_inference_dense_fanout": 64840956.36038961, "weight_sparsity": 0.7324707846410685, "num_ticks": 100, "dt_ms": 50.0, "margin_decision_acc": 0.44785714285714284, "mean_decision_tick": 12.121428571428572, "mean_decision_ms": 606.0714285714286, "dense_forward_test_acc": 0.945 }, "extra_sweep_file_present": true, "selftest": { "mode": "gate", "passed": true }, "driver_version": 1, "zip": { "name": "control_baseline.zip", "files": 81, "bytes": 12248909, "MB": 12.2, "sha256": "00fb9159dc83ab232bbff226d225ac1167b7945e221c3e8ab0a717aeea8955ee" } }