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