p-j-r-1-2-3 commited on
Commit
75402df
·
verified ·
1 Parent(s): 26ef596

add run no_reset_correction

Browse files
applied/opt10_parallel_lif_scan/no_reset_correction.summary.json ADDED
@@ -0,0 +1,294 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "key": "opt10_parallel_lif_scan/no_reset_correction",
3
+ "tag": "no_reset_correction",
4
+ "script": "opt10_parallel_lif_scan.py",
5
+ "script_sha256_16": "1b869e8327d5b545",
6
+ "hf_folder": "applied/opt10_parallel_lif_scan",
7
+ "priority": 1,
8
+ "note": "reset-free without the compensating linear pass",
9
+ "phase": 5,
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/opt10_parallel_lif_scan.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/opt10_parallel_lif_scan/no_reset_correction",
35
+ "--keep-epoch-weights",
36
+ "1",
37
+ "--resplit",
38
+ "block",
39
+ "--drop-rest",
40
+ "--bench",
41
+ "--no-scan-reset-correction"
42
+ ],
43
+ "flags": [
44
+ "--no-scan-reset-correction"
45
+ ],
46
+ "epochs_requested": 60,
47
+ "gpus": 2,
48
+ "relative_epoch_cost": 1.0,
49
+ "exit_code": 0,
50
+ "status": "ok",
51
+ "duration_s": 458.2,
52
+ "started_utc": "2026-08-23T04:32:07.641525+00:00",
53
+ "finished_utc": "2026-08-23T04:39:45.890653+00:00",
54
+ "optimization_summary": {
55
+ "optimization": "parallel_lif_scan",
56
+ "research_section": "4. Membrane-Potential Memory Wall (reset-mechanism removal) / 6. Feasibility & Limitations",
57
+ "reference": "Fang et al., Parallel Spiking Neurons, NeurIPS 2023, arXiv:2304.12760; Hillis-Steele parallel prefix scan",
58
+ "script": "opt10_parallel_lif_scan.py",
59
+ "baseline_mode": false,
60
+ "method": "harmonic_matched",
61
+ "accuracy": {
62
+ "test_acc": 0.04857142857142857,
63
+ "test_target_acc": 0.04857142857142857,
64
+ "best_val_acc": 0.05785714285714286
65
+ },
66
+ "efficiency": {
67
+ "spikes_per_inference": null,
68
+ "syn_ops_per_inference": 3529375.9862012984,
69
+ "dense_macs_per_inference": 122675200.0,
70
+ "event_fraction_of_dense": 0.028770085446783854,
71
+ "syn_ops_per_inference_dense_fanout": 65105993.77272727,
72
+ "weight_sparsity": 0.7324707846410685,
73
+ "effective_ticks": 60.33857142857143,
74
+ "num_ticks": 100,
75
+ "membrane_bytes_per_inference": 451200,
76
+ "weight_bytes": 4907008,
77
+ "input_raster_bytes": null,
78
+ "train_ms_per_step": 133.88359884997953,
79
+ "infer_ms_per_sample": 0.9220662971873139,
80
+ "peak_vram_mb": 2842.995712
81
+ },
82
+ "optimization_specific": {
83
+ "lif_mode": "scan",
84
+ "scan_reset_correction": false,
85
+ "psn_init_beta": null,
86
+ "training_T": 100,
87
+ "sequential_depth": 7,
88
+ "sequential_depth_baseline": 100,
89
+ "depth_reduction_x": 14.285714285714286,
90
+ "speedup_vs_sequential_at_T": 0.44273409052930973,
91
+ "speedup_vs_sequential_at_T_fwdbwd": 0.3133512102055894,
92
+ "scan_crossover_T": null,
93
+ "scan_ever_wins": false,
94
+ "t_scaling": [
95
+ {
96
+ "T": 25,
97
+ "sequential_ms": 0.04875462000200059,
98
+ "scan_ms": 0.1519915199969546,
99
+ "psn_ms": 0.20973310000044876,
100
+ "sequential_fwdbwd_ms": 0.4938448800021433,
101
+ "scan_fwdbwd_ms": 0.6737840400091955,
102
+ "psn_fwdbwd_ms": 0.870483080016129,
103
+ "scan_speedup_x": 0.32077197466659635,
104
+ "scan_speedup_fwdbwd_x": 0.7329423831342214,
105
+ "psn_speedup_x": 0.23246030312762397,
106
+ "psn_speedup_fwdbwd_x": 0.5673227789711811,
107
+ "depth_sequential": 25,
108
+ "depth_scan": 5,
109
+ "depth_psn": 1
110
+ },
111
+ {
112
+ "T": 50,
113
+ "sequential_ms": 0.10095507999722031,
114
+ "scan_ms": 0.18419874000755954,
115
+ "psn_ms": 0.17746965999322128,
116
+ "sequential_fwdbwd_ms": 0.4963683999994828,
117
+ "scan_fwdbwd_ms": 0.5889917600143235,
118
+ "psn_fwdbwd_ms": 0.8840760800012504,
119
+ "scan_speedup_x": 0.5480769303474992,
120
+ "scan_speedup_fwdbwd_x": 0.8427425198400259,
121
+ "psn_speedup_x": 0.5688582487906746,
122
+ "psn_speedup_fwdbwd_x": 0.5614543942855922,
123
+ "depth_sequential": 50,
124
+ "depth_scan": 6,
125
+ "depth_psn": 1
126
+ },
127
+ {
128
+ "T": 100,
129
+ "sequential_ms": 0.20691507999799796,
130
+ "scan_ms": 0.4673574599837593,
131
+ "psn_ms": 0.2676070800043817,
132
+ "sequential_fwdbwd_ms": 0.4709668000032252,
133
+ "scan_fwdbwd_ms": 1.5029997800047568,
134
+ "psn_fwdbwd_ms": 1.0105730600116658,
135
+ "scan_speedup_x": 0.44273409052930973,
136
+ "scan_speedup_fwdbwd_x": 0.3133512102055894,
137
+ "psn_speedup_x": 0.7732048045762093,
138
+ "psn_speedup_fwdbwd_x": 0.4660393381135536,
139
+ "depth_sequential": 100,
140
+ "depth_scan": 7,
141
+ "depth_psn": 1
142
+ },
143
+ {
144
+ "T": 200,
145
+ "sequential_ms": 0.4051269800038426,
146
+ "scan_ms": 1.256868359996588,
147
+ "psn_ms": 0.7601375800004462,
148
+ "sequential_fwdbwd_ms": 0.9002240200061351,
149
+ "scan_fwdbwd_ms": 3.076623799988738,
150
+ "psn_fwdbwd_ms": 2.704943259996071,
151
+ "scan_speedup_x": 0.32233047859120456,
152
+ "scan_speedup_fwdbwd_x": 0.29260126636523787,
153
+ "psn_speedup_x": 0.5329653350431705,
154
+ "psn_speedup_fwdbwd_x": 0.33280698834601163,
155
+ "depth_sequential": 200,
156
+ "depth_scan": 8,
157
+ "depth_psn": 1
158
+ },
159
+ {
160
+ "T": 400,
161
+ "sequential_ms": 0.8259307399930549,
162
+ "scan_ms": 2.8340323000156786,
163
+ "psn_ms": 2.3835564000000886,
164
+ "sequential_fwdbwd_ms": 1.8020790400078113,
165
+ "scan_fwdbwd_ms": 6.508221060012147,
166
+ "psn_fwdbwd_ms": 8.992884800009051,
167
+ "scan_speedup_x": 0.29143307223015263,
168
+ "scan_speedup_fwdbwd_x": 0.27689272128142,
169
+ "psn_speedup_x": 0.34651193485206566,
170
+ "psn_speedup_fwdbwd_x": 0.20038942787368938,
171
+ "depth_sequential": 400,
172
+ "depth_scan": 9,
173
+ "depth_psn": 1
174
+ }
175
+ ],
176
+ "accuracy_cost_of_reset_removal": {
177
+ "firing_rate_hard_reset": 0.026105469092726707,
178
+ "firing_rate_reset_free": 0.36106836795806885,
179
+ "firing_rate_reset_corrected": 0.00894628930836916,
180
+ "spike_agreement_reset_free": 0.6650371551513672,
181
+ "spike_agreement_reset_corrected": 0.9814648628234863,
182
+ "spike_storm_ratio_reset_free": 13.831138857361761
183
+ },
184
+ "psn_extra_params": 0,
185
+ "deploy_neuron_is_hard_reset": true,
186
+ "train_deploy_neuron_mismatch": true,
187
+ "event_driven_acc_under_hard_reset": 0.02642857142857143,
188
+ "dense_forward_acc_under_train_neuron": 0.04857142857142857
189
+ },
190
+ "config": {
191
+ "method": "harmonic_matched",
192
+ "data_root": "/kaggle/working/data",
193
+ "subjects": "",
194
+ "blocks": "",
195
+ "limit": 0,
196
+ "drop_rest": true,
197
+ "resplit": "block",
198
+ "test_blocks": "6",
199
+ "class_weight": false,
200
+ "epochs": 60,
201
+ "batch_size": 64,
202
+ "lr": 0.002,
203
+ "weight_decay": 0.0005,
204
+ "grad_clip": 5.0,
205
+ "num_bins": 100,
206
+ "window_sec": 5.0,
207
+ "hidden": "512,256",
208
+ "freq_groups": 8,
209
+ "dropout": 0.3,
210
+ "spike_drop": 0.1,
211
+ "time_jitter": 2,
212
+ "label_smoothing": 0.05,
213
+ "no_batchnorm": false,
214
+ "binary_input": false,
215
+ "beta": 1.0,
216
+ "thresh": 1.0,
217
+ "window": 0.5,
218
+ "gain": 1.0,
219
+ "alpha": 0.9,
220
+ "readout": "spikecount",
221
+ "fake_quant": 0,
222
+ "amp": false,
223
+ "spike_reg": 0.0,
224
+ "event_eval": true,
225
+ "decision_margin": 2.0,
226
+ "export": false,
227
+ "seed": 1234,
228
+ "hub_dir": "/kaggle/working/hub/opt10_parallel_lif_scan/no_reset_correction",
229
+ "repo_id": "UWU-R-13/SSVEP-SNN",
230
+ "push_hf": false,
231
+ "keep_epoch_weights": 1,
232
+ "no_resume": true,
233
+ "selftest": false,
234
+ "baseline": false,
235
+ "bench": true,
236
+ "bench_warmup": 10,
237
+ "bench_iters": 50,
238
+ "bench_train_steps": 20,
239
+ "lif_mode": "scan",
240
+ "scan_reset_correction": false,
241
+ "psn_init_beta": 0.95,
242
+ "t_scaling": "25,50,100,200,400",
243
+ "sampling_rate": 250.0
244
+ }
245
+ },
246
+ "final_summary": {
247
+ "final_test_acc": 0.04857142857142857,
248
+ "final_test_target_acc": 0.04857142857142857,
249
+ "final_test_rest_recall": NaN,
250
+ "best_acc": 0.05785714285714286,
251
+ "best_epoch": 47,
252
+ "resplit": "block",
253
+ "class_weight": false,
254
+ "drop_rest": true,
255
+ "epochs": 60,
256
+ "method": "harmonic_matched",
257
+ "n_in": 2880,
258
+ "n_classes": 40,
259
+ "num_bins": 100
260
+ },
261
+ "event_driven_summary": {
262
+ "acc": 0.02642857142857143,
263
+ "anytime_acc": {
264
+ "0.25": 0.02642857142857143,
265
+ "0.5": 0.025,
266
+ "0.75": 0.02642857142857143,
267
+ "1.0": 0.02642857142857143
268
+ },
269
+ "syn_per_inference": 3529375.9862012984,
270
+ "dense_per_inference": 122675200.0,
271
+ "event_fraction_of_dense": 0.028770085446783854,
272
+ "syn_per_inference_dense_fanout": 65105993.77272727,
273
+ "weight_sparsity": 0.7324707846410685,
274
+ "num_ticks": 100,
275
+ "dt_ms": 50.0,
276
+ "margin_decision_acc": 0.02642857142857143,
277
+ "mean_decision_tick": 60.33857142857143,
278
+ "mean_decision_ms": 3016.9285714285716,
279
+ "dense_forward_test_acc": 0.04857142857142857
280
+ },
281
+ "extra_sweep_file_present": true,
282
+ "selftest": {
283
+ "mode": "gate",
284
+ "passed": true
285
+ },
286
+ "driver_version": 1,
287
+ "zip": {
288
+ "name": "no_reset_correction.zip",
289
+ "files": 81,
290
+ "bytes": 12328296,
291
+ "MB": 12.3,
292
+ "sha256": "daf4a467ce360d3149cf7c82d0b17e315f67db18776d77938a4a85a0493839ec"
293
+ }
294
+ }
applied/opt10_parallel_lif_scan/no_reset_correction.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:daf4a467ce360d3149cf7c82d0b17e315f67db18776d77938a4a85a0493839ec
3
+ size 12328296