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
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "key": "opt06_uticket_prune/default",
3
+ "tag": "default",
4
+ "script": "opt06_uticket_prune.py",
5
+ "script_sha256_16": "13957bb36508b8cf",
6
+ "hf_folder": "applied/opt06_uticket_prune",
7
+ "priority": 0,
8
+ "note": "default: 5 rounds x 50% prune-rate, balanced",
9
+ "phase": 1,
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/default",
35
+ "--keep-epoch-weights",
36
+ "1",
37
+ "--resplit",
38
+ "block",
39
+ "--drop-rest",
40
+ "--bench"
41
+ ],
42
+ "flags": [],
43
+ "epochs_requested": 60,
44
+ "gpus": 2,
45
+ "relative_epoch_cost": 1.0,
46
+ "exit_code": 0,
47
+ "status": "ok",
48
+ "duration_s": 325.4,
49
+ "started_utc": "2026-08-23T04:08:01.682509+00:00",
50
+ "finished_utc": "2026-08-23T04:13:27.076949+00:00",
51
+ "optimization_summary": {
52
+ "optimization": "uticket_workload_balanced_pruning",
53
+ "research_section": "3. Spike sparsity & MAC->AC restructuring",
54
+ "reference": "u-Ticket: Workload-Balanced Pruning for Sparse SNNs, arXiv:2302.06746",
55
+ "script": "opt06_uticket_prune.py",
56
+ "baseline_mode": false,
57
+ "method": "harmonic_matched",
58
+ "accuracy": {
59
+ "test_acc": 0.7885714285714286,
60
+ "test_target_acc": 0.7885714285714286,
61
+ "best_val_acc": 0.935
62
+ },
63
+ "efficiency": {
64
+ "spikes_per_inference": null,
65
+ "syn_ops_per_inference": 218011.0174512987,
66
+ "dense_macs_per_inference": 122675200.0,
67
+ "event_fraction_of_dense": 0.0017771401020850075,
68
+ "syn_ops_per_inference_dense_fanout": 65250329.547077924,
69
+ "weight_sparsity": 0.983618530884808,
70
+ "effective_ticks": 12.822142857142858,
71
+ "num_ticks": 100,
72
+ "membrane_bytes_per_inference": 451200,
73
+ "weight_bytes": 4907008,
74
+ "input_raster_bytes": null,
75
+ "train_ms_per_step": 96.64661480001087,
76
+ "infer_ms_per_sample": 0.6332334065623968,
77
+ "peak_vram_mb": 2837.834752,
78
+ "weight_bytes_nonzero": 39755
79
+ },
80
+ "optimization_specific": {
81
+ "pruning_enabled": true,
82
+ "balance_enabled": true,
83
+ "rounds": 5,
84
+ "final_sparsity": 0.9918981481481481,
85
+ "nnz_per_layer": {
86
+ "layer0": 640,
87
+ "layer1": 5120,
88
+ "layer2": 4096
89
+ },
90
+ "pe_stats_per_layer": {
91
+ "layer0": {
92
+ "mean_nnz": 2.0,
93
+ "max_nnz": 2.0,
94
+ "min_nnz": 2.0,
95
+ "total_nnz": 640,
96
+ "numel": 921600,
97
+ "sparsity": 0.9993055555555556,
98
+ "utilization": 1.0
99
+ },
100
+ "layer1": {
101
+ "mean_nnz": 10.0,
102
+ "max_nnz": 10.0,
103
+ "min_nnz": 10.0,
104
+ "total_nnz": 5120,
105
+ "numel": 163840,
106
+ "sparsity": 0.96875,
107
+ "utilization": 1.0
108
+ },
109
+ "layer2": {
110
+ "mean_nnz": 16.0,
111
+ "max_nnz": 16.0,
112
+ "min_nnz": 16.0,
113
+ "total_nnz": 4096,
114
+ "numel": 131072,
115
+ "sparsity": 0.96875,
116
+ "utilization": 1.0
117
+ }
118
+ },
119
+ "pe_utilization_final": 1.0,
120
+ "pe_utilization_lth": 0.5739893211289092,
121
+ "pe_utilization_uticket": 1.0,
122
+ "latency_proxy_dense": 3712,
123
+ "latency_proxy_final": 28,
124
+ "latency_reduction_frac": 0.9924568965517241,
125
+ "rounds_history": [
126
+ {
127
+ "round": 1,
128
+ "layers": {
129
+ "layer0": {
130
+ "lth": {
131
+ "mean_nnz": 36.0,
132
+ "max_nnz": 46.0,
133
+ "min_nnz": 24.0,
134
+ "total_nnz": 11520,
135
+ "numel": 921600,
136
+ "sparsity": 0.9875,
137
+ "utilization": 0.782608695652174
138
+ },
139
+ "uticket": {
140
+ "mean_nnz": 36.0,
141
+ "max_nnz": 36.0,
142
+ "min_nnz": 36.0,
143
+ "total_nnz": 11520,
144
+ "numel": 921600,
145
+ "sparsity": 0.9875,
146
+ "utilization": 1.0
147
+ }
148
+ },
149
+ "layer1": {
150
+ "lth": {
151
+ "mean_nnz": 160.0,
152
+ "max_nnz": 184.0,
153
+ "min_nnz": 119.0,
154
+ "total_nnz": 81920,
155
+ "numel": 163840,
156
+ "sparsity": 0.5,
157
+ "utilization": 0.8695652173913043
158
+ },
159
+ "uticket": {
160
+ "mean_nnz": 160.0,
161
+ "max_nnz": 160.0,
162
+ "min_nnz": 160.0,
163
+ "total_nnz": 81920,
164
+ "numel": 163840,
165
+ "sparsity": 0.5,
166
+ "utilization": 1.0
167
+ }
168
+ },
169
+ "layer2": {
170
+ "lth": {
171
+ "mean_nnz": 256.0,
172
+ "max_nnz": 284.0,
173
+ "min_nnz": 226.0,
174
+ "total_nnz": 65536,
175
+ "numel": 131072,
176
+ "sparsity": 0.5,
177
+ "utilization": 0.9014084507042254
178
+ },
179
+ "uticket": {
180
+ "mean_nnz": 256.0,
181
+ "max_nnz": 256.0,
182
+ "min_nnz": 256.0,
183
+ "total_nnz": 65536,
184
+ "numel": 131072,
185
+ "sparsity": 0.5,
186
+ "utilization": 1.0
187
+ }
188
+ }
189
+ },
190
+ "latency_proxy": 452,
191
+ "sparsity": 0.8693181818181819
192
+ },
193
+ {
194
+ "round": 2,
195
+ "layers": {
196
+ "layer0": {
197
+ "lth": {
198
+ "mean_nnz": 18.0,
199
+ "max_nnz": 27.0,
200
+ "min_nnz": 8.0,
201
+ "total_nnz": 5760,
202
+ "numel": 921600,
203
+ "sparsity": 0.99375,
204
+ "utilization": 0.6666666666666666
205
+ },
206
+ "uticket": {
207
+ "mean_nnz": 18.0,
208
+ "max_nnz": 18.0,
209
+ "min_nnz": 18.0,
210
+ "total_nnz": 5760,
211
+ "numel": 921600,
212
+ "sparsity": 0.99375,
213
+ "utilization": 1.0
214
+ }
215
+ },
216
+ "layer1": {
217
+ "lth": {
218
+ "mean_nnz": 80.0,
219
+ "max_nnz": 109.0,
220
+ "min_nnz": 30.0,
221
+ "total_nnz": 40960,
222
+ "numel": 163840,
223
+ "sparsity": 0.75,
224
+ "utilization": 0.7339449541284404
225
+ },
226
+ "uticket": {
227
+ "mean_nnz": 80.0,
228
+ "max_nnz": 80.0,
229
+ "min_nnz": 80.0,
230
+ "total_nnz": 40960,
231
+ "numel": 163840,
232
+ "sparsity": 0.75,
233
+ "utilization": 1.0
234
+ }
235
+ },
236
+ "layer2": {
237
+ "lth": {
238
+ "mean_nnz": 128.0,
239
+ "max_nnz": 162.0,
240
+ "min_nnz": 95.0,
241
+ "total_nnz": 32768,
242
+ "numel": 131072,
243
+ "sparsity": 0.75,
244
+ "utilization": 0.7901234567901234
245
+ },
246
+ "uticket": {
247
+ "mean_nnz": 128.0,
248
+ "max_nnz": 128.0,
249
+ "min_nnz": 128.0,
250
+ "total_nnz": 32768,
251
+ "numel": 131072,
252
+ "sparsity": 0.75,
253
+ "utilization": 1.0
254
+ }
255
+ }
256
+ },
257
+ "latency_proxy": 226,
258
+ "sparsity": 0.9346590909090909
259
+ },
260
+ {
261
+ "round": 3,
262
+ "layers": {
263
+ "layer0": {
264
+ "lth": {
265
+ "mean_nnz": 9.0,
266
+ "max_nnz": 17.0,
267
+ "min_nnz": 3.0,
268
+ "total_nnz": 2880,
269
+ "numel": 921600,
270
+ "sparsity": 0.996875,
271
+ "utilization": 0.5294117647058824
272
+ },
273
+ "uticket": {
274
+ "mean_nnz": 9.0,
275
+ "max_nnz": 9.0,
276
+ "min_nnz": 9.0,
277
+ "total_nnz": 2880,
278
+ "numel": 921600,
279
+ "sparsity": 0.996875,
280
+ "utilization": 1.0
281
+ }
282
+ },
283
+ "layer1": {
284
+ "lth": {
285
+ "mean_nnz": 40.0,
286
+ "max_nnz": 60.0,
287
+ "min_nnz": 0.0,
288
+ "total_nnz": 20480,
289
+ "numel": 163840,
290
+ "sparsity": 0.875,
291
+ "utilization": 0.6666666666666666
292
+ },
293
+ "uticket": {
294
+ "mean_nnz": 40.0,
295
+ "max_nnz": 40.0,
296
+ "min_nnz": 40.0,
297
+ "total_nnz": 20480,
298
+ "numel": 163840,
299
+ "sparsity": 0.875,
300
+ "utilization": 1.0
301
+ }
302
+ },
303
+ "layer2": {
304
+ "lth": {
305
+ "mean_nnz": 64.0,
306
+ "max_nnz": 85.0,
307
+ "min_nnz": 37.0,
308
+ "total_nnz": 16384,
309
+ "numel": 131072,
310
+ "sparsity": 0.875,
311
+ "utilization": 0.7529411764705882
312
+ },
313
+ "uticket": {
314
+ "mean_nnz": 64.0,
315
+ "max_nnz": 64.0,
316
+ "min_nnz": 64.0,
317
+ "total_nnz": 16384,
318
+ "numel": 131072,
319
+ "sparsity": 0.875,
320
+ "utilization": 1.0
321
+ }
322
+ }
323
+ },
324
+ "latency_proxy": 113,
325
+ "sparsity": 0.9673295454545454
326
+ },
327
+ {
328
+ "round": 4,
329
+ "layers": {
330
+ "layer0": {
331
+ "lth": {
332
+ "mean_nnz": 4.5,
333
+ "max_nnz": 9.0,
334
+ "min_nnz": 0.0,
335
+ "total_nnz": 1440,
336
+ "numel": 921600,
337
+ "sparsity": 0.9984375,
338
+ "utilization": 0.5
339
+ },
340
+ "uticket": {
341
+ "mean_nnz": 4.0,
342
+ "max_nnz": 4.0,
343
+ "min_nnz": 4.0,
344
+ "total_nnz": 1280,
345
+ "numel": 921600,
346
+ "sparsity": 0.9986111111111111,
347
+ "utilization": 1.0
348
+ }
349
+ },
350
+ "layer1": {
351
+ "lth": {
352
+ "mean_nnz": 20.0,
353
+ "max_nnz": 33.0,
354
+ "min_nnz": 0.0,
355
+ "total_nnz": 10240,
356
+ "numel": 163840,
357
+ "sparsity": 0.9375,
358
+ "utilization": 0.6060606060606061
359
+ },
360
+ "uticket": {
361
+ "mean_nnz": 20.0,
362
+ "max_nnz": 20.0,
363
+ "min_nnz": 20.0,
364
+ "total_nnz": 10240,
365
+ "numel": 163840,
366
+ "sparsity": 0.9375,
367
+ "utilization": 1.0
368
+ }
369
+ },
370
+ "layer2": {
371
+ "lth": {
372
+ "mean_nnz": 32.0,
373
+ "max_nnz": 44.0,
374
+ "min_nnz": 18.0,
375
+ "total_nnz": 8192,
376
+ "numel": 131072,
377
+ "sparsity": 0.9375,
378
+ "utilization": 0.7272727272727273
379
+ },
380
+ "uticket": {
381
+ "mean_nnz": 32.0,
382
+ "max_nnz": 32.0,
383
+ "min_nnz": 32.0,
384
+ "total_nnz": 8192,
385
+ "numel": 131072,
386
+ "sparsity": 0.9375,
387
+ "utilization": 1.0
388
+ }
389
+ }
390
+ },
391
+ "latency_proxy": 56,
392
+ "sparsity": 0.9837962962962963
393
+ },
394
+ {
395
+ "round": 5,
396
+ "layers": {
397
+ "layer0": {
398
+ "lth": {
399
+ "mean_nnz": 2.0,
400
+ "max_nnz": 4.0,
401
+ "min_nnz": 0.0,
402
+ "total_nnz": 640,
403
+ "numel": 921600,
404
+ "sparsity": 0.9993055555555556,
405
+ "utilization": 0.5
406
+ },
407
+ "uticket": {
408
+ "mean_nnz": 2.0,
409
+ "max_nnz": 2.0,
410
+ "min_nnz": 2.0,
411
+ "total_nnz": 640,
412
+ "numel": 921600,
413
+ "sparsity": 0.9993055555555556,
414
+ "utilization": 1.0
415
+ }
416
+ },
417
+ "layer1": {
418
+ "lth": {
419
+ "mean_nnz": 10.0,
420
+ "max_nnz": 19.0,
421
+ "min_nnz": 0.0,
422
+ "total_nnz": 5120,
423
+ "numel": 163840,
424
+ "sparsity": 0.96875,
425
+ "utilization": 0.5263157894736842
426
+ },
427
+ "uticket": {
428
+ "mean_nnz": 10.0,
429
+ "max_nnz": 10.0,
430
+ "min_nnz": 10.0,
431
+ "total_nnz": 5120,
432
+ "numel": 163840,
433
+ "sparsity": 0.96875,
434
+ "utilization": 1.0
435
+ }
436
+ },
437
+ "layer2": {
438
+ "lth": {
439
+ "mean_nnz": 16.0,
440
+ "max_nnz": 23.0,
441
+ "min_nnz": 11.0,
442
+ "total_nnz": 4096,
443
+ "numel": 131072,
444
+ "sparsity": 0.96875,
445
+ "utilization": 0.6956521739130435
446
+ },
447
+ "uticket": {
448
+ "mean_nnz": 16.0,
449
+ "max_nnz": 16.0,
450
+ "min_nnz": 16.0,
451
+ "total_nnz": 4096,
452
+ "numel": 131072,
453
+ "sparsity": 0.96875,
454
+ "utilization": 1.0
455
+ }
456
+ }
457
+ },
458
+ "latency_proxy": 28,
459
+ "sparsity": 0.9918981481481481
460
+ }
461
+ ],
462
+ "latency_proxy_lth": 46,
463
+ "latency_reduction_vs_lth_frac": 0.3913043478260869
464
+ },
465
+ "config": {
466
+ "method": "harmonic_matched",
467
+ "data_root": "/kaggle/working/data",
468
+ "subjects": "",
469
+ "blocks": "",
470
+ "limit": 0,
471
+ "drop_rest": true,
472
+ "resplit": "block",
473
+ "test_blocks": "6",
474
+ "class_weight": false,
475
+ "epochs": 60,
476
+ "batch_size": 64,
477
+ "lr": 0.002,
478
+ "weight_decay": 0.0005,
479
+ "grad_clip": 5.0,
480
+ "num_bins": 100,
481
+ "window_sec": 5.0,
482
+ "hidden": "512,256",
483
+ "freq_groups": 8,
484
+ "dropout": 0.3,
485
+ "spike_drop": 0.1,
486
+ "time_jitter": 2,
487
+ "label_smoothing": 0.05,
488
+ "no_batchnorm": false,
489
+ "binary_input": false,
490
+ "beta": 1.0,
491
+ "thresh": 1.0,
492
+ "window": 0.5,
493
+ "gain": 1.0,
494
+ "alpha": 0.9,
495
+ "readout": "spikecount",
496
+ "fake_quant": 0,
497
+ "amp": false,
498
+ "spike_reg": 0.0,
499
+ "event_eval": true,
500
+ "decision_margin": 2.0,
501
+ "export": false,
502
+ "seed": 1234,
503
+ "hub_dir": "/kaggle/working/hub/opt06_uticket_prune/default",
504
+ "repo_id": "UWU-R-13/SSVEP-SNN",
505
+ "push_hf": false,
506
+ "keep_epoch_weights": 1,
507
+ "no_resume": true,
508
+ "selftest": false,
509
+ "baseline": false,
510
+ "bench": true,
511
+ "bench_warmup": 10,
512
+ "bench_iters": 50,
513
+ "bench_train_steps": 20,
514
+ "prune_rounds": 5,
515
+ "prune_rate": 0.5,
516
+ "rewind_epoch": 1,
517
+ "balance": true,
518
+ "balance_iters": 2,
519
+ "prune_readout": false,
520
+ "sampling_rate": 250.0
521
+ }
522
+ },
523
+ "final_summary": {
524
+ "final_test_acc": 0.7885714285714286,
525
+ "final_test_target_acc": 0.7885714285714286,
526
+ "final_test_rest_recall": NaN,
527
+ "best_acc": 0.935,
528
+ "best_epoch": 28,
529
+ "resplit": "block",
530
+ "class_weight": false,
531
+ "drop_rest": true,
532
+ "epochs": 60,
533
+ "method": "harmonic_matched",
534
+ "n_in": 2880,
535
+ "n_classes": 40,
536
+ "num_bins": 100
537
+ },
538
+ "event_driven_summary": {
539
+ "acc": 0.7885714285714286,
540
+ "anytime_acc": {
541
+ "0.25": 0.33071428571428574,
542
+ "0.5": 0.6278571428571429,
543
+ "0.75": 0.7385714285714285,
544
+ "1.0": 0.7885714285714286
545
+ },
546
+ "syn_per_inference": 218011.0174512987,
547
+ "dense_per_inference": 122675200.0,
548
+ "event_fraction_of_dense": 0.0017771401020850075,
549
+ "syn_per_inference_dense_fanout": 65250329.547077924,
550
+ "weight_sparsity": 0.983618530884808,
551
+ "num_ticks": 100,
552
+ "dt_ms": 50.0,
553
+ "margin_decision_acc": 0.20214285714285715,
554
+ "mean_decision_tick": 12.822142857142858,
555
+ "mean_decision_ms": 641.1071428571429,
556
+ "dense_forward_test_acc": 0.7885714285714286
557
+ },
558
+ "extra_sweep_file_present": true,
559
+ "selftest": {
560
+ "mode": "gate",
561
+ "passed": true
562
+ },
563
+ "driver_version": 1,
564
+ "zip": {
565
+ "name": "default.zip",
566
+ "files": 81,
567
+ "bytes": 8129041,
568
+ "MB": 8.1,
569
+ "sha256": "bdbba4d718c46fedaf00215f9c5812e399ad2772542fb2419c85df427e071443"
570
+ }
571
+ }
applied/opt06_uticket_prune/default.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bdbba4d718c46fedaf00215f9c5812e399ad2772542fb2419c85df427e071443
3
+ size 8129041