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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"key": "opt07_sfa_integer_train/sfa_D16",
|
| 3 |
+
"tag": "sfa_D16",
|
| 4 |
+
"script": "opt07_sfa_integer_train.py",
|
| 5 |
+
"script_sha256_16": "ec0724638ce44e61",
|
| 6 |
+
"hf_folder": "applied/opt07_sfa_integer_train",
|
| 7 |
+
"priority": 1,
|
| 8 |
+
"note": "finest integer activation",
|
| 9 |
+
"phase": 4,
|
| 10 |
+
"n_phases": 10,
|
| 11 |
+
"method": "harmonic_matched",
|
| 12 |
+
"command": [
|
| 13 |
+
"/usr/bin/python3",
|
| 14 |
+
"-m",
|
| 15 |
+
"torch.distributed.run",
|
| 16 |
+
"--standalone",
|
| 17 |
+
"--nproc_per_node=2",
|
| 18 |
+
"/kaggle/working/scripts/opt07_sfa_integer_train.py",
|
| 19 |
+
"--method",
|
| 20 |
+
"harmonic_matched",
|
| 21 |
+
"--data-root",
|
| 22 |
+
"/kaggle/working/data",
|
| 23 |
+
"--epochs",
|
| 24 |
+
"60",
|
| 25 |
+
"--seed",
|
| 26 |
+
"1234",
|
| 27 |
+
"--batch-size",
|
| 28 |
+
"64",
|
| 29 |
+
"--event-eval",
|
| 30 |
+
"--no-resume",
|
| 31 |
+
"--decision-margin",
|
| 32 |
+
"2.0",
|
| 33 |
+
"--hub-dir",
|
| 34 |
+
"/kaggle/working/hub/opt07_sfa_integer_train/sfa_D16",
|
| 35 |
+
"--keep-epoch-weights",
|
| 36 |
+
"1",
|
| 37 |
+
"--resplit",
|
| 38 |
+
"block",
|
| 39 |
+
"--drop-rest",
|
| 40 |
+
"--bench",
|
| 41 |
+
"--sfa-levels",
|
| 42 |
+
"16"
|
| 43 |
+
],
|
| 44 |
+
"flags": [
|
| 45 |
+
"--sfa-levels",
|
| 46 |
+
"16"
|
| 47 |
+
],
|
| 48 |
+
"epochs_requested": 60,
|
| 49 |
+
"gpus": 2,
|
| 50 |
+
"relative_epoch_cost": 1.0,
|
| 51 |
+
"exit_code": 0,
|
| 52 |
+
"status": "ok",
|
| 53 |
+
"duration_s": 364.6,
|
| 54 |
+
"started_utc": "2026-08-23T05:15:55.835932+00:00",
|
| 55 |
+
"finished_utc": "2026-08-23T05:22:00.426856+00:00",
|
| 56 |
+
"optimization_summary": {
|
| 57 |
+
"optimization": "sfa_integer_train",
|
| 58 |
+
"research_section": "3. Training-Time Approximation for Fewer Timesteps (SFA) / spike-storm suppression",
|
| 59 |
+
"reference": "Yao et al., Scaling Spike-driven Transformer with Efficient Spike Firing Approximation Training, arXiv:2411.16061",
|
| 60 |
+
"script": "opt07_sfa_integer_train.py",
|
| 61 |
+
"baseline_mode": false,
|
| 62 |
+
"method": "harmonic_matched",
|
| 63 |
+
"accuracy": {
|
| 64 |
+
"test_acc": 0.9514285714285714,
|
| 65 |
+
"test_target_acc": 0.9514285714285714,
|
| 66 |
+
"best_val_acc": 0.9557142857142857
|
| 67 |
+
},
|
| 68 |
+
"efficiency": {
|
| 69 |
+
"spikes_per_inference": null,
|
| 70 |
+
"syn_ops_per_inference": 4342880.801948052,
|
| 71 |
+
"dense_macs_per_inference": 122675200.0,
|
| 72 |
+
"event_fraction_of_dense": 0.035401456871055045,
|
| 73 |
+
"syn_ops_per_inference_dense_fanout": 65919498.58847403,
|
| 74 |
+
"weight_sparsity": 0.7324707846410685,
|
| 75 |
+
"effective_ticks": 2.9014285714285712,
|
| 76 |
+
"num_ticks": 100,
|
| 77 |
+
"membrane_bytes_per_inference": 451200,
|
| 78 |
+
"weight_bytes": 4907008,
|
| 79 |
+
"input_raster_bytes": null,
|
| 80 |
+
"train_ms_per_step": 103.44059760000164,
|
| 81 |
+
"infer_ms_per_sample": 0.6794570862501814,
|
| 82 |
+
"peak_vram_mb": 2832.71168
|
| 83 |
+
},
|
| 84 |
+
"optimization_specific": {
|
| 85 |
+
"sfa_levels_D": 16,
|
| 86 |
+
"soft_reset": true,
|
| 87 |
+
"storm_reg": 0.001,
|
| 88 |
+
"trained_T": 100,
|
| 89 |
+
"infer_mode": "graded",
|
| 90 |
+
"min_ticks_within_1pct_of_full": 50,
|
| 91 |
+
"speedup_at_min_ticks": 2.0,
|
| 92 |
+
"full_T_acc": 0.9514285714285714,
|
| 93 |
+
"t_sweep_rows": [
|
| 94 |
+
{
|
| 95 |
+
"T": 4,
|
| 96 |
+
"acc": 0.7571428571428571,
|
| 97 |
+
"syn_per_inference": 3041995.3295454546,
|
| 98 |
+
"dense_per_inference": 4907008.0,
|
| 99 |
+
"infer_mode": "graded",
|
| 100 |
+
"ticks_speedup_vs_trained_T": 25.0
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"T": 8,
|
| 104 |
+
"acc": 0.895,
|
| 105 |
+
"syn_per_inference": 3263844.3709415584,
|
| 106 |
+
"dense_per_inference": 9814016.0,
|
| 107 |
+
"infer_mode": "graded",
|
| 108 |
+
"ticks_speedup_vs_trained_T": 12.5
|
| 109 |
+
},
|
| 110 |
+
{
|
| 111 |
+
"T": 16,
|
| 112 |
+
"acc": 0.9214285714285714,
|
| 113 |
+
"syn_per_inference": 3374002.8701298703,
|
| 114 |
+
"dense_per_inference": 19628032.0,
|
| 115 |
+
"infer_mode": "graded",
|
| 116 |
+
"ticks_speedup_vs_trained_T": 6.25
|
| 117 |
+
},
|
| 118 |
+
{
|
| 119 |
+
"T": 25,
|
| 120 |
+
"acc": 0.9335714285714286,
|
| 121 |
+
"syn_per_inference": 3434478.9805194805,
|
| 122 |
+
"dense_per_inference": 30668800.0,
|
| 123 |
+
"infer_mode": "graded",
|
| 124 |
+
"ticks_speedup_vs_trained_T": 4.0
|
| 125 |
+
},
|
| 126 |
+
{
|
| 127 |
+
"T": 50,
|
| 128 |
+
"acc": 0.9464285714285714,
|
| 129 |
+
"syn_per_inference": 3644055.8425324676,
|
| 130 |
+
"dense_per_inference": 61337600.0,
|
| 131 |
+
"infer_mode": "graded",
|
| 132 |
+
"ticks_speedup_vs_trained_T": 2.0
|
| 133 |
+
},
|
| 134 |
+
{
|
| 135 |
+
"T": 100,
|
| 136 |
+
"acc": 0.9514285714285714,
|
| 137 |
+
"syn_per_inference": 4342880.818993507,
|
| 138 |
+
"dense_per_inference": 122675200.0,
|
| 139 |
+
"infer_mode": "graded",
|
| 140 |
+
"ticks_speedup_vs_trained_T": 1.0
|
| 141 |
+
}
|
| 142 |
+
],
|
| 143 |
+
"storm_ratio_peak_over_mean": 2.8813028817951003,
|
| 144 |
+
"tick_activity_cv": 0.4370103200028133,
|
| 145 |
+
"mean_integer_activation": 0.09140705943728487,
|
| 146 |
+
"frac_activations_gt1": 0.01052142377011478,
|
| 147 |
+
"max_activation": 8.0,
|
| 148 |
+
"per_layer_activity": [
|
| 149 |
+
{
|
| 150 |
+
"layer": 0,
|
| 151 |
+
"mean_integer_activation": 0.13493261935189366,
|
| 152 |
+
"peak_tick_activation": 0.38878174498677254,
|
| 153 |
+
"storm_ratio": 2.8813028817951003,
|
| 154 |
+
"tick_activity_cv": 0.4370103200028133,
|
| 155 |
+
"frac_activations_gt1": 0.01052142377011478,
|
| 156 |
+
"max_activation": 8.0
|
| 157 |
+
},
|
| 158 |
+
{
|
| 159 |
+
"layer": 1,
|
| 160 |
+
"mean_integer_activation": 0.03472991943359375,
|
| 161 |
+
"peak_tick_activation": 0.039974212646484375,
|
| 162 |
+
"storm_ratio": 1.1510021704173001,
|
| 163 |
+
"tick_activity_cv": 0.13693907474520564,
|
| 164 |
+
"frac_activations_gt1": 0.00025985717547882814,
|
| 165 |
+
"max_activation": 5.0
|
| 166 |
+
},
|
| 167 |
+
{
|
| 168 |
+
"layer": 2,
|
| 169 |
+
"mean_integer_activation": 0.1045586395263672,
|
| 170 |
+
"peak_tick_activation": 0.1249237060546875,
|
| 171 |
+
"storm_ratio": 1.1947717244655305,
|
| 172 |
+
"tick_activity_cv": 0.14985677597892794,
|
| 173 |
+
"frac_activations_gt1": 0.00023361205603578128,
|
| 174 |
+
"max_activation": 3.0
|
| 175 |
+
}
|
| 176 |
+
],
|
| 177 |
+
"expanded_vs_graded_agreement": 1.0,
|
| 178 |
+
"expanded_acc": 0.9296875,
|
| 179 |
+
"graded_acc": 0.9296875,
|
| 180 |
+
"syn_ratio_expanded_over_graded": 1.0001999442037321,
|
| 181 |
+
"expansion_caveat": "exact only at beta=1 (IAF); with beta<1 the expanded mode applies decay per sub-tick and drifts"
|
| 182 |
+
},
|
| 183 |
+
"config": {
|
| 184 |
+
"method": "harmonic_matched",
|
| 185 |
+
"data_root": "/kaggle/working/data",
|
| 186 |
+
"subjects": "",
|
| 187 |
+
"blocks": "",
|
| 188 |
+
"limit": 0,
|
| 189 |
+
"drop_rest": true,
|
| 190 |
+
"resplit": "block",
|
| 191 |
+
"test_blocks": "6",
|
| 192 |
+
"class_weight": false,
|
| 193 |
+
"epochs": 60,
|
| 194 |
+
"batch_size": 64,
|
| 195 |
+
"lr": 0.002,
|
| 196 |
+
"weight_decay": 0.0005,
|
| 197 |
+
"grad_clip": 5.0,
|
| 198 |
+
"num_bins": 100,
|
| 199 |
+
"window_sec": 5.0,
|
| 200 |
+
"hidden": "512,256",
|
| 201 |
+
"freq_groups": 8,
|
| 202 |
+
"dropout": 0.3,
|
| 203 |
+
"spike_drop": 0.1,
|
| 204 |
+
"time_jitter": 2,
|
| 205 |
+
"label_smoothing": 0.05,
|
| 206 |
+
"no_batchnorm": false,
|
| 207 |
+
"binary_input": false,
|
| 208 |
+
"beta": 1.0,
|
| 209 |
+
"thresh": 1.0,
|
| 210 |
+
"window": 0.5,
|
| 211 |
+
"gain": 1.0,
|
| 212 |
+
"alpha": 0.9,
|
| 213 |
+
"readout": "spikecount",
|
| 214 |
+
"fake_quant": 0,
|
| 215 |
+
"amp": false,
|
| 216 |
+
"spike_reg": 0.0,
|
| 217 |
+
"event_eval": true,
|
| 218 |
+
"decision_margin": 2.0,
|
| 219 |
+
"export": false,
|
| 220 |
+
"seed": 1234,
|
| 221 |
+
"hub_dir": "/kaggle/working/hub/opt07_sfa_integer_train/sfa_D16",
|
| 222 |
+
"repo_id": "UWU-R-13/SSVEP-SNN",
|
| 223 |
+
"push_hf": false,
|
| 224 |
+
"keep_epoch_weights": 1,
|
| 225 |
+
"no_resume": true,
|
| 226 |
+
"selftest": false,
|
| 227 |
+
"baseline": false,
|
| 228 |
+
"bench": true,
|
| 229 |
+
"bench_warmup": 10,
|
| 230 |
+
"bench_iters": 50,
|
| 231 |
+
"bench_train_steps": 20,
|
| 232 |
+
"sfa_levels": 16,
|
| 233 |
+
"soft_reset": true,
|
| 234 |
+
"storm_reg": 0.001,
|
| 235 |
+
"infer_mode": "graded",
|
| 236 |
+
"t_sweep": "4,8,16,25,50,100",
|
| 237 |
+
"sampling_rate": 250.0
|
| 238 |
+
}
|
| 239 |
+
},
|
| 240 |
+
"final_summary": {
|
| 241 |
+
"final_test_acc": 0.9514285714285714,
|
| 242 |
+
"final_test_target_acc": 0.9514285714285714,
|
| 243 |
+
"final_test_rest_recall": NaN,
|
| 244 |
+
"best_acc": 0.9557142857142857,
|
| 245 |
+
"best_epoch": 50,
|
| 246 |
+
"resplit": "block",
|
| 247 |
+
"class_weight": false,
|
| 248 |
+
"drop_rest": true,
|
| 249 |
+
"epochs": 60,
|
| 250 |
+
"method": "harmonic_matched",
|
| 251 |
+
"n_in": 2880,
|
| 252 |
+
"n_classes": 40,
|
| 253 |
+
"num_bins": 100
|
| 254 |
+
},
|
| 255 |
+
"event_driven_summary": {
|
| 256 |
+
"acc": 0.9514285714285714,
|
| 257 |
+
"anytime_acc": {
|
| 258 |
+
"0.25": 0.6021428571428571,
|
| 259 |
+
"0.5": 0.8578571428571429,
|
| 260 |
+
"0.75": 0.9321428571428572,
|
| 261 |
+
"1.0": 0.9514285714285714
|
| 262 |
+
},
|
| 263 |
+
"syn_per_inference": 4342880.801948052,
|
| 264 |
+
"dense_per_inference": 122675200.0,
|
| 265 |
+
"event_fraction_of_dense": 0.035401456871055045,
|
| 266 |
+
"syn_per_inference_dense_fanout": 65919498.58847403,
|
| 267 |
+
"weight_sparsity": 0.7324707846410685,
|
| 268 |
+
"num_ticks": 100,
|
| 269 |
+
"dt_ms": 50.0,
|
| 270 |
+
"infer_mode": "graded",
|
| 271 |
+
"margin_decision_acc": 0.10285714285714286,
|
| 272 |
+
"mean_decision_tick": 2.9014285714285712,
|
| 273 |
+
"mean_decision_ms": 145.07142857142858,
|
| 274 |
+
"dense_forward_test_acc": 0.9514285714285714
|
| 275 |
+
},
|
| 276 |
+
"extra_sweep_file_present": true,
|
| 277 |
+
"selftest": {
|
| 278 |
+
"mode": "gate",
|
| 279 |
+
"passed": true
|
| 280 |
+
},
|
| 281 |
+
"driver_version": 1,
|
| 282 |
+
"zip": {
|
| 283 |
+
"name": "sfa_D16.zip",
|
| 284 |
+
"files": 81,
|
| 285 |
+
"bytes": 12257756,
|
| 286 |
+
"MB": 12.3,
|
| 287 |
+
"sha256": "151b836b05d4aae9200314a6de9070519051cdadf874ff0d67dbed30ebb19367"
|
| 288 |
+
}
|
| 289 |
+
}
|
applied/opt07_sfa_integer_train/sfa_D16.zip
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:151b836b05d4aae9200314a6de9070519051cdadf874ff0d67dbed30ebb19367
|
| 3 |
+
size 12257756
|