SSVEN_pasqwerty / applied /opt07_sfa_integer_train /control_baseline.summary.json
p-j-r-1-2-3's picture
add run control_baseline
563fd31 verified
Raw
History Blame Contribute Delete
7.13 kB
Invalid JSON:Unexpected token 'N', ..."_recall": NaN, ""... is not valid JSON
{
"key": "opt07_sfa_integer_train/control_baseline",
"tag": "control_baseline",
"script": "opt07_sfa_integer_train.py",
"script_sha256_16": "ec0724638ce44e61",
"hf_folder": "applied/opt07_sfa_integer_train",
"priority": 0,
"note": "control: D=1, hard reset, storm-reg off",
"phase": 2,
"n_phases": 10,
"method": "harmonic_matched",
"command": [
"/usr/bin/python3",
"-m",
"torch.distributed.run",
"--standalone",
"--nproc_per_node=2",
"/kaggle/working/scripts/opt07_sfa_integer_train.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/opt07_sfa_integer_train/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": 325.5,
"started_utc": "2026-08-23T04:14:37.607209+00:00",
"finished_utc": "2026-08-23T04:20:03.092068+00:00",
"optimization_summary": {
"optimization": "sfa_integer_train",
"research_section": "3. Training-Time Approximation for Fewer Timesteps (SFA) / spike-storm suppression",
"reference": "Yao et al., Scaling Spike-driven Transformer with Efficient Spike Firing Approximation Training, arXiv:2411.16061",
"script": "opt07_sfa_integer_train.py",
"baseline_mode": true,
"method": "harmonic_matched",
"accuracy": {
"test_acc": 0.9442857142857143,
"test_target_acc": 0.9442857142857143,
"best_val_acc": 0.9464285714285714
},
"efficiency": {
"spikes_per_inference": null,
"syn_ops_per_inference": 3276098.271103896,
"dense_macs_per_inference": 122675200.0,
"event_fraction_of_dense": 0.026705465090775447,
"syn_ops_per_inference_dense_fanout": 64852716.05762987,
"weight_sparsity": 0.7324707846410685,
"effective_ticks": 12.049285714285714,
"num_ticks": 100,
"membrane_bytes_per_inference": 451200,
"weight_bytes": 4907008,
"input_raster_bytes": null,
"train_ms_per_step": 95.41663794998385,
"infer_ms_per_sample": 0.6363128081250125,
"peak_vram_mb": 2829.275648
},
"optimization_specific": {
"sfa_levels_D": 1,
"soft_reset": false,
"storm_reg": 0.0,
"trained_T": 100,
"infer_mode": "graded",
"min_ticks_within_1pct_of_full": null,
"speedup_at_min_ticks": null,
"full_T_acc": null,
"t_sweep_rows": null,
"storm_ratio_peak_over_mean": 4.721035628917203,
"tick_activity_cv": 0.8204789844315089,
"mean_integer_activation": 0.07897717574611306,
"frac_activations_gt1": 0.0,
"max_activation": 1.0,
"per_layer_activity": [
{
"layer": 0,
"mean_integer_activation": 0.0650282603316009,
"peak_tick_activation": 0.3070007339119911,
"storm_ratio": 4.721035628917203,
"tick_activity_cv": 0.8204789844315089,
"frac_activations_gt1": 0.0,
"max_activation": 1.0
},
{
"layer": 1,
"mean_integer_activation": 0.03752758026123047,
"peak_tick_activation": 0.084075927734375,
"storm_ratio": 2.240377001371265,
"tick_activity_cv": 0.2590329003324282,
"frac_activations_gt1": 0.0,
"max_activation": 1.0
},
{
"layer": 2,
"mean_integer_activation": 0.1343756866455078,
"peak_tick_activation": 0.15582275390625,
"storm_ratio": 1.159605266370255,
"tick_activity_cv": 0.12113898330190948,
"frac_activations_gt1": 0.0,
"max_activation": 1.0
}
],
"expanded_vs_graded_agreement": null,
"expanded_acc": null,
"graded_acc": null,
"syn_ratio_expanded_over_graded": null,
"expansion_caveat": "exact only at beta=1 (IAF); with beta<1 the expanded mode applies decay per sub-tick and drifts"
},
"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/opt07_sfa_integer_train/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,
"sfa_levels": 4,
"soft_reset": true,
"storm_reg": 0.001,
"infer_mode": "graded",
"t_sweep": "4,8,16,25,50,100",
"sampling_rate": 250.0
}
},
"final_summary": {
"final_test_acc": 0.9442857142857143,
"final_test_target_acc": 0.9442857142857143,
"final_test_rest_recall": NaN,
"best_acc": 0.9464285714285714,
"best_epoch": 36,
"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.9442857142857143,
"anytime_acc": {
"0.25": 0.6492857142857142,
"0.5": 0.8414285714285714,
"0.75": 0.9164285714285715,
"1.0": 0.9442857142857143
},
"syn_per_inference": 3276098.271103896,
"dense_per_inference": 122675200.0,
"event_fraction_of_dense": 0.026705465090775447,
"syn_per_inference_dense_fanout": 64852716.05762987,
"weight_sparsity": 0.7324707846410685,
"num_ticks": 100,
"dt_ms": 50.0,
"infer_mode": "graded",
"margin_decision_acc": 0.45357142857142857,
"mean_decision_tick": 12.049285714285714,
"mean_decision_ms": 602.4642857142858,
"dense_forward_test_acc": 0.9442857142857143
},
"extra_sweep_file_present": false,
"selftest": {
"mode": "gate",
"passed": true
},
"driver_version": 1,
"zip": {
"name": "control_baseline.zip",
"files": 80,
"bytes": 12243558,
"MB": 12.2,
"sha256": "ef41cc96bceab3211a07c23bfa9469952a5d4dc3e8ca52e1b569b2e3abe6c088"
}
}