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
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "key": "opt06_uticket_prune/prune_rate_0.7",
3
+ "tag": "prune_rate_0.7",
4
+ "script": "opt06_uticket_prune.py",
5
+ "script_sha256_16": "13957bb36508b8cf",
6
+ "hf_folder": "applied/opt06_uticket_prune",
7
+ "priority": 1,
8
+ "note": "",
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/opt06_uticket_prune.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/opt06_uticket_prune/prune_rate_0.7",
35
+ "--keep-epoch-weights",
36
+ "1",
37
+ "--resplit",
38
+ "block",
39
+ "--drop-rest",
40
+ "--bench",
41
+ "--prune-rate",
42
+ "0.7"
43
+ ],
44
+ "flags": [
45
+ "--prune-rate",
46
+ "0.7"
47
+ ],
48
+ "epochs_requested": 60,
49
+ "gpus": 2,
50
+ "relative_epoch_cost": 1.0,
51
+ "exit_code": 0,
52
+ "status": "ok",
53
+ "duration_s": 329.5,
54
+ "started_utc": "2026-08-23T05:03:51.875307+00:00",
55
+ "finished_utc": "2026-08-23T05:09:21.426216+00:00",
56
+ "optimization_summary": {
57
+ "optimization": "uticket_workload_balanced_pruning",
58
+ "research_section": "3. Spike sparsity & MAC->AC restructuring",
59
+ "reference": "u-Ticket: Workload-Balanced Pruning for Sparse SNNs, arXiv:2302.06746",
60
+ "script": "opt06_uticket_prune.py",
61
+ "baseline_mode": false,
62
+ "method": "harmonic_matched",
63
+ "accuracy": {
64
+ "test_acc": 0.10785714285714286,
65
+ "test_target_acc": 0.10785714285714286,
66
+ "best_val_acc": 0.9107142857142857
67
+ },
68
+ "efficiency": {
69
+ "spikes_per_inference": null,
70
+ "syn_ops_per_inference": 134146.13453733767,
71
+ "dense_macs_per_inference": 122675200.0,
72
+ "event_fraction_of_dense": 0.0010935065484901404,
73
+ "syn_ops_per_inference_dense_fanout": 65046831.82467532,
74
+ "weight_sparsity": 0.9909484557595993,
75
+ "effective_ticks": 17.615,
76
+ "num_ticks": 100,
77
+ "membrane_bytes_per_inference": 451200,
78
+ "weight_bytes": 4907008,
79
+ "input_raster_bytes": null,
80
+ "train_ms_per_step": 99.08765609998227,
81
+ "infer_ms_per_sample": 0.6416375046870826,
82
+ "peak_vram_mb": 2838.396928,
83
+ "weight_bytes_nonzero": 3485
84
+ },
85
+ "optimization_specific": {
86
+ "pruning_enabled": true,
87
+ "balance_enabled": true,
88
+ "rounds": 5,
89
+ "final_sparsity": 0.9992897727272727,
90
+ "nnz_per_layer": {
91
+ "layer0": 96,
92
+ "layer1": 512,
93
+ "layer2": 256
94
+ },
95
+ "pe_stats_per_layer": {
96
+ "layer0": {
97
+ "mean_nnz": 0.30000000000000004,
98
+ "max_nnz": 1.0,
99
+ "min_nnz": 0.0,
100
+ "total_nnz": 96,
101
+ "numel": 921600,
102
+ "sparsity": 0.9998958333333333,
103
+ "utilization": 0.30000000000000004
104
+ },
105
+ "layer1": {
106
+ "mean_nnz": 1.0,
107
+ "max_nnz": 1.0,
108
+ "min_nnz": 1.0,
109
+ "total_nnz": 512,
110
+ "numel": 163840,
111
+ "sparsity": 0.996875,
112
+ "utilization": 1.0
113
+ },
114
+ "layer2": {
115
+ "mean_nnz": 1.0,
116
+ "max_nnz": 1.0,
117
+ "min_nnz": 1.0,
118
+ "total_nnz": 256,
119
+ "numel": 131072,
120
+ "sparsity": 0.998046875,
121
+ "utilization": 1.0
122
+ }
123
+ },
124
+ "pe_utilization_final": 0.7666666666666666,
125
+ "pe_utilization_lth": 0.33328993055555556,
126
+ "pe_utilization_uticket": 0.7666666666666666,
127
+ "latency_proxy_dense": 3712,
128
+ "latency_proxy_final": 3,
129
+ "latency_reduction_frac": 0.9991918103448276,
130
+ "rounds_history": [
131
+ {
132
+ "round": 1,
133
+ "layers": {
134
+ "layer0": {
135
+ "lth": {
136
+ "mean_nnz": 21.6,
137
+ "max_nnz": 32.0,
138
+ "min_nnz": 13.0,
139
+ "total_nnz": 6912,
140
+ "numel": 921600,
141
+ "sparsity": 0.9925,
142
+ "utilization": 0.675
143
+ },
144
+ "uticket": {
145
+ "mean_nnz": 22.0,
146
+ "max_nnz": 22.0,
147
+ "min_nnz": 22.0,
148
+ "total_nnz": 7040,
149
+ "numel": 921600,
150
+ "sparsity": 0.9923611111111111,
151
+ "utilization": 1.0
152
+ }
153
+ },
154
+ "layer1": {
155
+ "lth": {
156
+ "mean_nnz": 96.0,
157
+ "max_nnz": 118.0,
158
+ "min_nnz": 63.0,
159
+ "total_nnz": 49152,
160
+ "numel": 163840,
161
+ "sparsity": 0.7,
162
+ "utilization": 0.8135593220338984
163
+ },
164
+ "uticket": {
165
+ "mean_nnz": 96.0,
166
+ "max_nnz": 96.0,
167
+ "min_nnz": 96.0,
168
+ "total_nnz": 49152,
169
+ "numel": 163840,
170
+ "sparsity": 0.7,
171
+ "utilization": 1.0
172
+ }
173
+ },
174
+ "layer2": {
175
+ "lth": {
176
+ "mean_nnz": 153.6015625,
177
+ "max_nnz": 181.0,
178
+ "min_nnz": 111.0,
179
+ "total_nnz": 39322,
180
+ "numel": 131072,
181
+ "sparsity": 0.6999969482421875,
182
+ "utilization": 0.8486274171270718
183
+ },
184
+ "uticket": {
185
+ "mean_nnz": 154.0,
186
+ "max_nnz": 154.0,
187
+ "min_nnz": 154.0,
188
+ "total_nnz": 39424,
189
+ "numel": 131072,
190
+ "sparsity": 0.69921875,
191
+ "utilization": 1.0
192
+ }
193
+ }
194
+ },
195
+ "latency_proxy": 272,
196
+ "sparsity": 0.9214015151515151
197
+ },
198
+ {
199
+ "round": 2,
200
+ "layers": {
201
+ "layer0": {
202
+ "lth": {
203
+ "mean_nnz": 6.6000000000000005,
204
+ "max_nnz": 15.0,
205
+ "min_nnz": 1.0,
206
+ "total_nnz": 2112,
207
+ "numel": 921600,
208
+ "sparsity": 0.9977083333333333,
209
+ "utilization": 0.44000000000000006
210
+ },
211
+ "uticket": {
212
+ "mean_nnz": 7.0,
213
+ "max_nnz": 7.0,
214
+ "min_nnz": 7.0,
215
+ "total_nnz": 2240,
216
+ "numel": 921600,
217
+ "sparsity": 0.9975694444444444,
218
+ "utilization": 1.0
219
+ }
220
+ },
221
+ "layer1": {
222
+ "lth": {
223
+ "mean_nnz": 28.80078125,
224
+ "max_nnz": 48.0,
225
+ "min_nnz": 2.0,
226
+ "total_nnz": 14746,
227
+ "numel": 163840,
228
+ "sparsity": 0.90999755859375,
229
+ "utilization": 0.6000162760416666
230
+ },
231
+ "uticket": {
232
+ "mean_nnz": 29.0,
233
+ "max_nnz": 29.0,
234
+ "min_nnz": 29.0,
235
+ "total_nnz": 14848,
236
+ "numel": 163840,
237
+ "sparsity": 0.909375,
238
+ "utilization": 1.0
239
+ }
240
+ },
241
+ "layer2": {
242
+ "lth": {
243
+ "mean_nnz": 46.19921875,
244
+ "max_nnz": 64.0,
245
+ "min_nnz": 26.0,
246
+ "total_nnz": 11827,
247
+ "numel": 131072,
248
+ "sparsity": 0.9097671508789062,
249
+ "utilization": 0.72186279296875
250
+ },
251
+ "uticket": {
252
+ "mean_nnz": 46.0,
253
+ "max_nnz": 46.0,
254
+ "min_nnz": 46.0,
255
+ "total_nnz": 11776,
256
+ "numel": 131072,
257
+ "sparsity": 0.91015625,
258
+ "utilization": 1.0
259
+ }
260
+ }
261
+ },
262
+ "latency_proxy": 82,
263
+ "sparsity": 0.9762731481481481
264
+ },
265
+ {
266
+ "round": 3,
267
+ "layers": {
268
+ "layer0": {
269
+ "lth": {
270
+ "mean_nnz": 2.1,
271
+ "max_nnz": 7.0,
272
+ "min_nnz": 0.0,
273
+ "total_nnz": 672,
274
+ "numel": 921600,
275
+ "sparsity": 0.9992708333333333,
276
+ "utilization": 0.3
277
+ },
278
+ "uticket": {
279
+ "mean_nnz": 2.0,
280
+ "max_nnz": 2.0,
281
+ "min_nnz": 2.0,
282
+ "total_nnz": 640,
283
+ "numel": 921600,
284
+ "sparsity": 0.9993055555555556,
285
+ "utilization": 1.0
286
+ }
287
+ },
288
+ "layer1": {
289
+ "lth": {
290
+ "mean_nnz": 8.69921875,
291
+ "max_nnz": 18.0,
292
+ "min_nnz": 0.0,
293
+ "total_nnz": 4454,
294
+ "numel": 163840,
295
+ "sparsity": 0.97281494140625,
296
+ "utilization": 0.4832899305555556
297
+ },
298
+ "uticket": {
299
+ "mean_nnz": 9.0,
300
+ "max_nnz": 9.0,
301
+ "min_nnz": 9.0,
302
+ "total_nnz": 4608,
303
+ "numel": 163840,
304
+ "sparsity": 0.971875,
305
+ "utilization": 1.0
306
+ }
307
+ },
308
+ "layer2": {
309
+ "lth": {
310
+ "mean_nnz": 13.80078125,
311
+ "max_nnz": 23.0,
312
+ "min_nnz": 6.0,
313
+ "total_nnz": 3533,
314
+ "numel": 131072,
315
+ "sparsity": 0.9730453491210938,
316
+ "utilization": 0.6000339673913043
317
+ },
318
+ "uticket": {
319
+ "mean_nnz": 14.0,
320
+ "max_nnz": 14.0,
321
+ "min_nnz": 14.0,
322
+ "total_nnz": 3584,
323
+ "numel": 131072,
324
+ "sparsity": 0.97265625,
325
+ "utilization": 1.0
326
+ }
327
+ }
328
+ },
329
+ "latency_proxy": 25,
330
+ "sparsity": 0.992739898989899
331
+ },
332
+ {
333
+ "round": 4,
334
+ "layers": {
335
+ "layer0": {
336
+ "lth": {
337
+ "mean_nnz": 0.6000000000000001,
338
+ "max_nnz": 2.0,
339
+ "min_nnz": 0.0,
340
+ "total_nnz": 192,
341
+ "numel": 921600,
342
+ "sparsity": 0.9997916666666666,
343
+ "utilization": 0.30000000000000004
344
+ },
345
+ "uticket": {
346
+ "mean_nnz": 1.0,
347
+ "max_nnz": 1.0,
348
+ "min_nnz": 1.0,
349
+ "total_nnz": 320,
350
+ "numel": 921600,
351
+ "sparsity": 0.9996527777777777,
352
+ "utilization": 1.0
353
+ }
354
+ },
355
+ "layer1": {
356
+ "lth": {
357
+ "mean_nnz": 2.69921875,
358
+ "max_nnz": 8.0,
359
+ "min_nnz": 0.0,
360
+ "total_nnz": 1382,
361
+ "numel": 163840,
362
+ "sparsity": 0.99156494140625,
363
+ "utilization": 0.33740234375
364
+ },
365
+ "uticket": {
366
+ "mean_nnz": 3.0,
367
+ "max_nnz": 3.0,
368
+ "min_nnz": 3.0,
369
+ "total_nnz": 1536,
370
+ "numel": 163840,
371
+ "sparsity": 0.990625,
372
+ "utilization": 1.0
373
+ }
374
+ },
375
+ "layer2": {
376
+ "lth": {
377
+ "mean_nnz": 4.19921875,
378
+ "max_nnz": 9.0,
379
+ "min_nnz": 1.0,
380
+ "total_nnz": 1075,
381
+ "numel": 131072,
382
+ "sparsity": 0.9917984008789062,
383
+ "utilization": 0.4665798611111111
384
+ },
385
+ "uticket": {
386
+ "mean_nnz": 4.0,
387
+ "max_nnz": 4.0,
388
+ "min_nnz": 4.0,
389
+ "total_nnz": 1024,
390
+ "numel": 131072,
391
+ "sparsity": 0.9921875,
392
+ "utilization": 1.0
393
+ }
394
+ }
395
+ },
396
+ "latency_proxy": 8,
397
+ "sparsity": 0.9976325757575758
398
+ },
399
+ {
400
+ "round": 5,
401
+ "layers": {
402
+ "layer0": {
403
+ "lth": {
404
+ "mean_nnz": 0.30000000000000004,
405
+ "max_nnz": 1.0,
406
+ "min_nnz": 0.0,
407
+ "total_nnz": 96,
408
+ "numel": 921600,
409
+ "sparsity": 0.9998958333333333,
410
+ "utilization": 0.30000000000000004
411
+ },
412
+ "uticket": {
413
+ "mean_nnz": 0.30000000000000004,
414
+ "max_nnz": 1.0,
415
+ "min_nnz": 0.0,
416
+ "total_nnz": 96,
417
+ "numel": 921600,
418
+ "sparsity": 0.9998958333333333,
419
+ "utilization": 0.30000000000000004
420
+ }
421
+ },
422
+ "layer1": {
423
+ "lth": {
424
+ "mean_nnz": 0.900390625,
425
+ "max_nnz": 3.0,
426
+ "min_nnz": 0.0,
427
+ "total_nnz": 461,
428
+ "numel": 163840,
429
+ "sparsity": 0.997186279296875,
430
+ "utilization": 0.3001302083333333
431
+ },
432
+ "uticket": {
433
+ "mean_nnz": 1.0,
434
+ "max_nnz": 1.0,
435
+ "min_nnz": 1.0,
436
+ "total_nnz": 512,
437
+ "numel": 163840,
438
+ "sparsity": 0.996875,
439
+ "utilization": 1.0
440
+ }
441
+ },
442
+ "layer2": {
443
+ "lth": {
444
+ "mean_nnz": 1.19921875,
445
+ "max_nnz": 3.0,
446
+ "min_nnz": 0.0,
447
+ "total_nnz": 307,
448
+ "numel": 131072,
449
+ "sparsity": 0.9976577758789062,
450
+ "utilization": 0.3997395833333333
451
+ },
452
+ "uticket": {
453
+ "mean_nnz": 1.0,
454
+ "max_nnz": 1.0,
455
+ "min_nnz": 1.0,
456
+ "total_nnz": 256,
457
+ "numel": 131072,
458
+ "sparsity": 0.998046875,
459
+ "utilization": 1.0
460
+ }
461
+ }
462
+ },
463
+ "latency_proxy": 3,
464
+ "sparsity": 0.9992897727272727
465
+ }
466
+ ],
467
+ "latency_proxy_lth": 7,
468
+ "latency_reduction_vs_lth_frac": 0.5714285714285714
469
+ },
470
+ "config": {
471
+ "method": "harmonic_matched",
472
+ "data_root": "/kaggle/working/data",
473
+ "subjects": "",
474
+ "blocks": "",
475
+ "limit": 0,
476
+ "drop_rest": true,
477
+ "resplit": "block",
478
+ "test_blocks": "6",
479
+ "class_weight": false,
480
+ "epochs": 60,
481
+ "batch_size": 64,
482
+ "lr": 0.002,
483
+ "weight_decay": 0.0005,
484
+ "grad_clip": 5.0,
485
+ "num_bins": 100,
486
+ "window_sec": 5.0,
487
+ "hidden": "512,256",
488
+ "freq_groups": 8,
489
+ "dropout": 0.3,
490
+ "spike_drop": 0.1,
491
+ "time_jitter": 2,
492
+ "label_smoothing": 0.05,
493
+ "no_batchnorm": false,
494
+ "binary_input": false,
495
+ "beta": 1.0,
496
+ "thresh": 1.0,
497
+ "window": 0.5,
498
+ "gain": 1.0,
499
+ "alpha": 0.9,
500
+ "readout": "spikecount",
501
+ "fake_quant": 0,
502
+ "amp": false,
503
+ "spike_reg": 0.0,
504
+ "event_eval": true,
505
+ "decision_margin": 2.0,
506
+ "export": false,
507
+ "seed": 1234,
508
+ "hub_dir": "/kaggle/working/hub/opt06_uticket_prune/prune_rate_0.7",
509
+ "repo_id": "UWU-R-13/SSVEP-SNN",
510
+ "push_hf": false,
511
+ "keep_epoch_weights": 1,
512
+ "no_resume": true,
513
+ "selftest": false,
514
+ "baseline": false,
515
+ "bench": true,
516
+ "bench_warmup": 10,
517
+ "bench_iters": 50,
518
+ "bench_train_steps": 20,
519
+ "prune_rounds": 5,
520
+ "prune_rate": 0.7,
521
+ "rewind_epoch": 1,
522
+ "balance": true,
523
+ "balance_iters": 2,
524
+ "prune_readout": false,
525
+ "sampling_rate": 250.0
526
+ }
527
+ },
528
+ "final_summary": {
529
+ "final_test_acc": 0.10785714285714286,
530
+ "final_test_target_acc": 0.10785714285714286,
531
+ "final_test_rest_recall": NaN,
532
+ "best_acc": 0.9107142857142857,
533
+ "best_epoch": 19,
534
+ "resplit": "block",
535
+ "class_weight": false,
536
+ "drop_rest": true,
537
+ "epochs": 60,
538
+ "method": "harmonic_matched",
539
+ "n_in": 2880,
540
+ "n_classes": 40,
541
+ "num_bins": 100
542
+ },
543
+ "event_driven_summary": {
544
+ "acc": 0.10785714285714286,
545
+ "anytime_acc": {
546
+ "0.25": 0.030714285714285715,
547
+ "0.5": 0.056428571428571425,
548
+ "0.75": 0.07642857142857143,
549
+ "1.0": 0.10785714285714286
550
+ },
551
+ "syn_per_inference": 134146.13453733767,
552
+ "dense_per_inference": 122675200.0,
553
+ "event_fraction_of_dense": 0.0010935065484901404,
554
+ "syn_per_inference_dense_fanout": 65046831.82467532,
555
+ "weight_sparsity": 0.9909484557595993,
556
+ "num_ticks": 100,
557
+ "dt_ms": 50.0,
558
+ "margin_decision_acc": 0.03214285714285714,
559
+ "mean_decision_tick": 17.615,
560
+ "mean_decision_ms": 880.7499999999999,
561
+ "dense_forward_test_acc": 0.10785714285714286
562
+ },
563
+ "extra_sweep_file_present": true,
564
+ "selftest": {
565
+ "mode": "gate",
566
+ "passed": true
567
+ },
568
+ "driver_version": 1,
569
+ "zip": {
570
+ "name": "prune_rate_0.7.zip",
571
+ "files": 81,
572
+ "bytes": 8084840,
573
+ "MB": 8.1,
574
+ "sha256": "20c9e49012378d56d0917461901d1b7656542b3eee38002b8faa524568fa2972"
575
+ }
576
+ }
applied/opt06_uticket_prune/prune_rate_0.7.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:20c9e49012378d56d0917461901d1b7656542b3eee38002b8faa524568fa2972
3
+ size 8084840