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 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "key": "opt06_uticket_prune/prune_rate_0.3",
3
+ "tag": "prune_rate_0.3",
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.3",
35
+ "--keep-epoch-weights",
36
+ "1",
37
+ "--resplit",
38
+ "block",
39
+ "--drop-rest",
40
+ "--bench",
41
+ "--prune-rate",
42
+ "0.3"
43
+ ],
44
+ "flags": [
45
+ "--prune-rate",
46
+ "0.3"
47
+ ],
48
+ "epochs_requested": 60,
49
+ "gpus": 2,
50
+ "relative_epoch_cost": 1.0,
51
+ "exit_code": 0,
52
+ "status": "ok",
53
+ "duration_s": 330.0,
54
+ "started_utc": "2026-08-23T04:58:19.399803+00:00",
55
+ "finished_utc": "2026-08-23T05:03:49.403439+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.9242857142857143,
65
+ "test_target_acc": 0.9242857142857143,
66
+ "best_val_acc": 0.9421428571428572
67
+ },
68
+ "efficiency": {
69
+ "spikes_per_inference": null,
70
+ "syn_ops_per_inference": 692787.4597199676,
71
+ "dense_macs_per_inference": 122675200.0,
72
+ "event_fraction_of_dense": 0.00564733099860418,
73
+ "syn_ops_per_inference_dense_fanout": 65019838.74512987,
74
+ "weight_sparsity": 0.9480383973288815,
75
+ "effective_ticks": 12.962142857142856,
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.30589320001673,
81
+ "infer_ms_per_sample": 0.6449458206247982,
82
+ "peak_vram_mb": 2836.187648,
83
+ "weight_bytes_nonzero": 215817
84
+ },
85
+ "optimization_specific": {
86
+ "pruning_enabled": true,
87
+ "balance_enabled": true,
88
+ "rounds": 5,
89
+ "final_sparsity": 0.9560185185185185,
90
+ "nnz_per_layer": {
91
+ "layer0": 3840,
92
+ "layer1": 27648,
93
+ "layer2": 22016
94
+ },
95
+ "pe_stats_per_layer": {
96
+ "layer0": {
97
+ "mean_nnz": 12.0,
98
+ "max_nnz": 12.0,
99
+ "min_nnz": 12.0,
100
+ "total_nnz": 3840,
101
+ "numel": 921600,
102
+ "sparsity": 0.9958333333333333,
103
+ "utilization": 1.0
104
+ },
105
+ "layer1": {
106
+ "mean_nnz": 54.0,
107
+ "max_nnz": 54.0,
108
+ "min_nnz": 54.0,
109
+ "total_nnz": 27648,
110
+ "numel": 163840,
111
+ "sparsity": 0.83125,
112
+ "utilization": 1.0
113
+ },
114
+ "layer2": {
115
+ "mean_nnz": 86.0,
116
+ "max_nnz": 86.0,
117
+ "min_nnz": 86.0,
118
+ "total_nnz": 22016,
119
+ "numel": 131072,
120
+ "sparsity": 0.83203125,
121
+ "utilization": 1.0
122
+ }
123
+ },
124
+ "pe_utilization_final": 1.0,
125
+ "pe_utilization_lth": 0.7511162106015652,
126
+ "pe_utilization_uticket": 1.0,
127
+ "latency_proxy_dense": 3712,
128
+ "latency_proxy_final": 152,
129
+ "latency_reduction_frac": 0.959051724137931,
130
+ "rounds_history": [
131
+ {
132
+ "round": 1,
133
+ "layers": {
134
+ "layer0": {
135
+ "lth": {
136
+ "mean_nnz": 50.400000000000006,
137
+ "max_nnz": 61.0,
138
+ "min_nnz": 35.0,
139
+ "total_nnz": 16128,
140
+ "numel": 921600,
141
+ "sparsity": 0.9825,
142
+ "utilization": 0.8262295081967214
143
+ },
144
+ "uticket": {
145
+ "mean_nnz": 50.0,
146
+ "max_nnz": 50.0,
147
+ "min_nnz": 50.0,
148
+ "total_nnz": 16000,
149
+ "numel": 921600,
150
+ "sparsity": 0.9826388888888888,
151
+ "utilization": 1.0
152
+ }
153
+ },
154
+ "layer1": {
155
+ "lth": {
156
+ "mean_nnz": 224.0,
157
+ "max_nnz": 253.0,
158
+ "min_nnz": 192.0,
159
+ "total_nnz": 114688,
160
+ "numel": 163840,
161
+ "sparsity": 0.30000000000000004,
162
+ "utilization": 0.8853754940711462
163
+ },
164
+ "uticket": {
165
+ "mean_nnz": 224.0,
166
+ "max_nnz": 224.0,
167
+ "min_nnz": 224.0,
168
+ "total_nnz": 114688,
169
+ "numel": 163840,
170
+ "sparsity": 0.30000000000000004,
171
+ "utilization": 1.0
172
+ }
173
+ },
174
+ "layer2": {
175
+ "lth": {
176
+ "mean_nnz": 358.3984375,
177
+ "max_nnz": 386.0,
178
+ "min_nnz": 333.0,
179
+ "total_nnz": 91750,
180
+ "numel": 131072,
181
+ "sparsity": 0.3000030517578125,
182
+ "utilization": 0.9284933613989638
183
+ },
184
+ "uticket": {
185
+ "mean_nnz": 358.0,
186
+ "max_nnz": 358.0,
187
+ "min_nnz": 358.0,
188
+ "total_nnz": 91648,
189
+ "numel": 131072,
190
+ "sparsity": 0.30078125,
191
+ "utilization": 1.0
192
+ }
193
+ }
194
+ },
195
+ "latency_proxy": 632,
196
+ "sparsity": 0.8172348484848485
197
+ },
198
+ {
199
+ "round": 2,
200
+ "layers": {
201
+ "layer0": {
202
+ "lth": {
203
+ "mean_nnz": 35.0,
204
+ "max_nnz": 46.0,
205
+ "min_nnz": 24.0,
206
+ "total_nnz": 11200,
207
+ "numel": 921600,
208
+ "sparsity": 0.9878472222222222,
209
+ "utilization": 0.7608695652173914
210
+ },
211
+ "uticket": {
212
+ "mean_nnz": 35.0,
213
+ "max_nnz": 35.0,
214
+ "min_nnz": 35.0,
215
+ "total_nnz": 11200,
216
+ "numel": 921600,
217
+ "sparsity": 0.9878472222222222,
218
+ "utilization": 1.0
219
+ }
220
+ },
221
+ "layer1": {
222
+ "lth": {
223
+ "mean_nnz": 156.80078125,
224
+ "max_nnz": 178.0,
225
+ "min_nnz": 97.0,
226
+ "total_nnz": 80282,
227
+ "numel": 163840,
228
+ "sparsity": 0.50999755859375,
229
+ "utilization": 0.8809032654494382
230
+ },
231
+ "uticket": {
232
+ "mean_nnz": 157.0,
233
+ "max_nnz": 157.0,
234
+ "min_nnz": 157.0,
235
+ "total_nnz": 80384,
236
+ "numel": 163840,
237
+ "sparsity": 0.509375,
238
+ "utilization": 1.0
239
+ }
240
+ },
241
+ "layer2": {
242
+ "lth": {
243
+ "mean_nnz": 250.6015625,
244
+ "max_nnz": 283.0,
245
+ "min_nnz": 202.0,
246
+ "total_nnz": 64154,
247
+ "numel": 131072,
248
+ "sparsity": 0.5105438232421875,
249
+ "utilization": 0.8855178886925795
250
+ },
251
+ "uticket": {
252
+ "mean_nnz": 251.0,
253
+ "max_nnz": 251.0,
254
+ "min_nnz": 251.0,
255
+ "total_nnz": 64256,
256
+ "numel": 131072,
257
+ "sparsity": 0.509765625,
258
+ "utilization": 1.0
259
+ }
260
+ }
261
+ },
262
+ "latency_proxy": 443,
263
+ "sparsity": 0.8718960437710438
264
+ },
265
+ {
266
+ "round": 3,
267
+ "layers": {
268
+ "layer0": {
269
+ "lth": {
270
+ "mean_nnz": 24.5,
271
+ "max_nnz": 34.0,
272
+ "min_nnz": 15.0,
273
+ "total_nnz": 7840,
274
+ "numel": 921600,
275
+ "sparsity": 0.9914930555555556,
276
+ "utilization": 0.7205882352941176
277
+ },
278
+ "uticket": {
279
+ "mean_nnz": 24.0,
280
+ "max_nnz": 24.0,
281
+ "min_nnz": 24.0,
282
+ "total_nnz": 7680,
283
+ "numel": 921600,
284
+ "sparsity": 0.9916666666666667,
285
+ "utilization": 1.0
286
+ }
287
+ },
288
+ "layer1": {
289
+ "lth": {
290
+ "mean_nnz": 109.900390625,
291
+ "max_nnz": 137.0,
292
+ "min_nnz": 60.0,
293
+ "total_nnz": 56269,
294
+ "numel": 163840,
295
+ "sparsity": 0.656561279296875,
296
+ "utilization": 0.8021926322992701
297
+ },
298
+ "uticket": {
299
+ "mean_nnz": 110.0,
300
+ "max_nnz": 110.0,
301
+ "min_nnz": 110.0,
302
+ "total_nnz": 56320,
303
+ "numel": 163840,
304
+ "sparsity": 0.65625,
305
+ "utilization": 1.0
306
+ }
307
+ },
308
+ "layer2": {
309
+ "lth": {
310
+ "mean_nnz": 175.69921875,
311
+ "max_nnz": 201.0,
312
+ "min_nnz": 143.0,
313
+ "total_nnz": 44979,
314
+ "numel": 131072,
315
+ "sparsity": 0.6568374633789062,
316
+ "utilization": 0.8741254664179104
317
+ },
318
+ "uticket": {
319
+ "mean_nnz": 176.0,
320
+ "max_nnz": 176.0,
321
+ "min_nnz": 176.0,
322
+ "total_nnz": 45056,
323
+ "numel": 131072,
324
+ "sparsity": 0.65625,
325
+ "utilization": 1.0
326
+ }
327
+ }
328
+ },
329
+ "latency_proxy": 310,
330
+ "sparsity": 0.9103535353535354
331
+ },
332
+ {
333
+ "round": 4,
334
+ "layers": {
335
+ "layer0": {
336
+ "lth": {
337
+ "mean_nnz": 16.8,
338
+ "max_nnz": 24.0,
339
+ "min_nnz": 8.0,
340
+ "total_nnz": 5376,
341
+ "numel": 921600,
342
+ "sparsity": 0.9941666666666666,
343
+ "utilization": 0.7000000000000001
344
+ },
345
+ "uticket": {
346
+ "mean_nnz": 17.0,
347
+ "max_nnz": 17.0,
348
+ "min_nnz": 17.0,
349
+ "total_nnz": 5440,
350
+ "numel": 921600,
351
+ "sparsity": 0.9940972222222222,
352
+ "utilization": 1.0
353
+ }
354
+ },
355
+ "layer1": {
356
+ "lth": {
357
+ "mean_nnz": 77.0,
358
+ "max_nnz": 100.0,
359
+ "min_nnz": 30.0,
360
+ "total_nnz": 39424,
361
+ "numel": 163840,
362
+ "sparsity": 0.759375,
363
+ "utilization": 0.77
364
+ },
365
+ "uticket": {
366
+ "mean_nnz": 77.0,
367
+ "max_nnz": 77.0,
368
+ "min_nnz": 77.0,
369
+ "total_nnz": 39424,
370
+ "numel": 163840,
371
+ "sparsity": 0.759375,
372
+ "utilization": 1.0
373
+ }
374
+ },
375
+ "layer2": {
376
+ "lth": {
377
+ "mean_nnz": 123.19921875,
378
+ "max_nnz": 146.0,
379
+ "min_nnz": 101.0,
380
+ "total_nnz": 31539,
381
+ "numel": 131072,
382
+ "sparsity": 0.7593765258789062,
383
+ "utilization": 0.843830265410959
384
+ },
385
+ "uticket": {
386
+ "mean_nnz": 123.0,
387
+ "max_nnz": 123.0,
388
+ "min_nnz": 123.0,
389
+ "total_nnz": 31488,
390
+ "numel": 131072,
391
+ "sparsity": 0.759765625,
392
+ "utilization": 1.0
393
+ }
394
+ }
395
+ },
396
+ "latency_proxy": 217,
397
+ "sparsity": 0.9372369528619529
398
+ },
399
+ {
400
+ "round": 5,
401
+ "layers": {
402
+ "layer0": {
403
+ "lth": {
404
+ "mean_nnz": 11.9,
405
+ "max_nnz": 17.0,
406
+ "min_nnz": 3.0,
407
+ "total_nnz": 3808,
408
+ "numel": 921600,
409
+ "sparsity": 0.9958680555555556,
410
+ "utilization": 0.7000000000000001
411
+ },
412
+ "uticket": {
413
+ "mean_nnz": 12.0,
414
+ "max_nnz": 12.0,
415
+ "min_nnz": 12.0,
416
+ "total_nnz": 3840,
417
+ "numel": 921600,
418
+ "sparsity": 0.9958333333333333,
419
+ "utilization": 1.0
420
+ }
421
+ },
422
+ "layer1": {
423
+ "lth": {
424
+ "mean_nnz": 53.900390625,
425
+ "max_nnz": 76.0,
426
+ "min_nnz": 6.0,
427
+ "total_nnz": 27597,
428
+ "numel": 163840,
429
+ "sparsity": 0.831561279296875,
430
+ "utilization": 0.709215666118421
431
+ },
432
+ "uticket": {
433
+ "mean_nnz": 54.0,
434
+ "max_nnz": 54.0,
435
+ "min_nnz": 54.0,
436
+ "total_nnz": 27648,
437
+ "numel": 163840,
438
+ "sparsity": 0.83125,
439
+ "utilization": 1.0
440
+ }
441
+ },
442
+ "layer2": {
443
+ "lth": {
444
+ "mean_nnz": 86.1015625,
445
+ "max_nnz": 102.0,
446
+ "min_nnz": 62.0,
447
+ "total_nnz": 22042,
448
+ "numel": 131072,
449
+ "sparsity": 0.8318328857421875,
450
+ "utilization": 0.8441329656862745
451
+ },
452
+ "uticket": {
453
+ "mean_nnz": 86.0,
454
+ "max_nnz": 86.0,
455
+ "min_nnz": 86.0,
456
+ "total_nnz": 22016,
457
+ "numel": 131072,
458
+ "sparsity": 0.83203125,
459
+ "utilization": 1.0
460
+ }
461
+ }
462
+ },
463
+ "latency_proxy": 152,
464
+ "sparsity": 0.9560185185185185
465
+ }
466
+ ],
467
+ "latency_proxy_lth": 195,
468
+ "latency_reduction_vs_lth_frac": 0.2205128205128205
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.3",
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.3,
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.9242857142857143,
530
+ "final_test_target_acc": 0.9242857142857143,
531
+ "final_test_rest_recall": NaN,
532
+ "best_acc": 0.9421428571428572,
533
+ "best_epoch": 35,
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.9242857142857143,
545
+ "anytime_acc": {
546
+ "0.25": 0.5578571428571428,
547
+ "0.5": 0.8207142857142857,
548
+ "0.75": 0.8928571428571429,
549
+ "1.0": 0.9242857142857143
550
+ },
551
+ "syn_per_inference": 692787.4597199676,
552
+ "dense_per_inference": 122675200.0,
553
+ "event_fraction_of_dense": 0.00564733099860418,
554
+ "syn_per_inference_dense_fanout": 65019838.74512987,
555
+ "weight_sparsity": 0.9480383973288815,
556
+ "num_ticks": 100,
557
+ "dt_ms": 50.0,
558
+ "margin_decision_acc": 0.4,
559
+ "mean_decision_tick": 12.962142857142856,
560
+ "mean_decision_ms": 648.1071428571429,
561
+ "dense_forward_test_acc": 0.9242857142857143
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.3.zip",
571
+ "files": 81,
572
+ "bytes": 8932688,
573
+ "MB": 8.9,
574
+ "sha256": "da220c764f1de0b5d5475597bbd3fea15674bbe7e43b02884ad8bf414fc7c8c2"
575
+ }
576
+ }
applied/opt06_uticket_prune/prune_rate_0.3.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:da220c764f1de0b5d5475597bbd3fea15674bbe7e43b02884ad8bf414fc7c8c2
3
+ size 8932688