Aggregate accuracy conceals concentrated temporal vulnerability in a spiking speech classifier
Organizations: Department of Electrical and Electronics Engineering, İstinye University, Sarıyer, İstanbul, 34396, Türkiye
Abstract
Aggregate accuracy cannot reveal which utterances are locally vulnerable or how internal activity changes when labels remain stable. We retain every prediction for 725,070 adjacent-bin, one-count changes around 100 validation utterances of a frozen SpikeSCR-based classifier. The canonical native-horizon GPU singleton path reaches 86.0836% validation accuracy. Equal-source expected accuracy under a uniformly chosen neighbor rises from 84.00% to 84.54%, although 13 of 84 initially correct sources admit adverse neighbors. Five sources carry 93.21% of adverse moves. Margin-guided and surrogate-gradient searches miss sparse cases at fixed query budgets; a post hoc gradient prefix finds all 13 at 73.45% of the census of initially correct sources. Source-matched traces and clean-state interventions distinguish internal change from harmful direction and recoverability. Two count-readout replicas have similar validation accuracies but a 5.21-fold class-change gap concentrated in four sources. Controlled query/key source isolation eliminates 531 batch-order label changes and restores bitwise order invariance across all 9,981 validation score vectors. Isolated batch predictions reproduce padding-matched singleton labels on 9,980 of 9,981 inputs. Paired CPU/GPU replay of all 25,820 class-changing neighbors gives 99.8993% label agreement and preserves all 13 vulnerable sources and their fixed witnesses. Complete source-conditioned maps distinguish vulnerability incidence, concentration, internal change, and execution dependence that aggregate accuracy leaves unresolved.
Figures & tables
| Research line | Main question | Typical output | Difference from this study |
|---|---|---|---|
| Optimized SNN attacks ( Liang et al., 2023 ; Büchel et al., 2022 ; Lun et al., 2025 ; Y. Yu et al., 2026 ) | Can an optimizer find a harmful perturbation? | Attack success, robust accuracy, or a selected adversarial example | Does not retain every outcome of our collision-permitting one-count SSC neighborhood. |
| Formal or exact search ( Banerjee et al., 2023 ; Seong et al., 2024 ; Mukhoty et al., 2024 ) | Does any bounded counterexample exist? | SAT/UNSAT, certificate, witness, and runtime | Direct search may stop at a witness; our output is a full transition-aware local decision map, not a global certificate. |
| Speech timing studies ( Z. Yu et al., 2026 ) | Does timing carry useful information, and how does aggregate accuracy change under temporal disruption? | Dataset-level accuracy curves under replacement, jitter, deletion, or reversal | Does not enumerate and retain every adjacent-bin neighbor for each audited source. |
| SNN explanation ( Kim & Panda, 2021 ) | Where and when is internal spiking activity salient? | Observational heatmaps | Does not perform matched internal-state replacement under retiming. |
| Internal interventions outside SNNs ( Vig et al., 2020 ; Meng et al., 2022 ; Zhang & Nanda, 2024 ) | How do interventions on internal representations affect model outputs? | Mediation effects, clean-state restoration, and sensitivity to patching choices | Provides methodological precedents for internal intervention; the present audit applies matched replacement to retimed spiking speech inputs. |
| This study | What is the complete local outcome map, how does activity change, and which clean boundaries are sufficient for recovery? | Every prediction and transition type, source vulnerability, informed-search coverage, internal trace, and matched replacement outcome | Retains the complete declared neighborhood and source-conditioned outcome distributions. |
| Split | Correct / | Accuracy | Balanced | Macro-F1 |
|---|---|---|---|---|
| Validation, batch 256 | 8,617 / 9,981 | 86.3340% | 85.2682% | 85.7325% |
| Validation, GPU singleton (audit path) | 8,592 / 9,981 | 86.0836% | 84.8246% | 85.4290% |
| Validation, CPU singleton | 8,591 / 9,981 | 86.0735% | 84.8030% | 85.4092% |
| Official test, batch 256 | 17,247 / 20,382 | 84.6188% | 83.7526% | 84.0844% |
| Unique | Event-weighted | |||
|---|---|---|---|---|
| Outcome | % | % | ||
| Class-preserved | 699,250 | 96.4390 | 1,601,188 | 96.5061 |
| Any class change | 25,820 | 3.5610 | 57,970 | 3.4939 |
| Adverse | 5,157 | 0.7112 | 10,424 | 0.6283 |
| Corrective | 9,031 | 1.2455 | 20,106 | 1.2118 |
| Lateral | 11,632 | 1.6043 | 27,440 | 1.6539 |
| Candidate queries | Uniform E | Lowest 10% E | Lowest 25% E | Lowest 50% E | 50/50 E | Runner-up D | All-target gain D | All-target margin D |
|---|---|---|---|---|---|---|---|---|
| 840 | 3.71 | 5.21 | 6.03 | 4.84 | 5.22 | 4 | 4 | 4 |
| 8,400 | 7.61 | 6.25 | 9.42 | 8.62 | 8.91 | 7 | 7 | 8 |
| 84,000 | 10.30 | 11.28 | 11.05 | 10.54 | 10.75 | 11 | 10 | 11 |
| Outcome | Candidates | Sources | Pooled median [Q1, Q3] | Equal-source mean |
|---|---|---|---|---|
| Class-preserved | 699,250 | 100 | 0.6464 [0.6130, 0.6726] | 0.5719 |
| Adverse | 5,157 | 13 | 0.7039 [0.6822, 0.7191] | 0.7007 |
| Corrective | 9,031 | 9 | 0.6635 [0.6464, 0.6793] | 0.6751 |
| Lateral | 11,632 | 8 | 0.6567 [0.6397, 0.6774] | 0.6683 |
| Boundary | Adverse | Corrective | Lateral |
|---|---|---|---|
| Stem | 0.0168 (0.0018) | 0.0200 (0.0230) | 0.0098 (0.1749) |
| Attention 1 | 0.1815 (0.0014) | 0.1562 (0.0072) | 0.1535 (0.0182) |
| Local 1 | 0.1246 (0.0014) | 0.1179 (0.0072) | 0.1408 (0.0092) |
| Block 1 | 0.0844 (0.0014) | 0.0758 (0.0072) | 0.0827 (0.0113) |
| Attention 2 | 0.1528 (0.0014) | 0.1583 (0.0081) | 0.2164 (0.0092) |
| Local 2 | 0.1356 (0.0014) | 0.1436 (0.0072) | 0.1941 (0.0102) |
| Candidates | Score | Absolute margin | Signed margin |
|---|---|---|---|
| All neighbors | 0.4410 | 0.3447 | 0.0032 |
| Nonzero internal response | 0.2212 | 0.0544 | 0.0078 |
| Preserved, nonzero response | 0.2206 | 0.0566 | 0.0138 |
| Patched boundary | Candidate-pooled rate | Equal-source mean [95% interval] |
|---|---|---|
| Attention 1 | 77.18% | 92.93% [86.45, 98.24] |
| Local 1 | 71.22% | 92.31% [83.60, 99.29] |
| Attention 2 | 77.64% | 91.26% [83.56, 97.82] |
| Local 2 | 41.17% | 78.51% [61.79, 92.76] |
| Outcome | Replica A | Replica B |
| T0: trace unchanged | 174,198 | 168,422 |
| T1: trace changed, counts preserved | 97,293 | 77,753 |
| T2: counts changed, class preserved | 1,022,650 | 1,032,964 |
| T3: class changed | 3,564 | 18,566 |
| Final-layer trace changed, counts preserved | 89,176 | 72,380 |
| Adverse neighbors (subset of T3) | 790 | 15,773 |
Appendix figures & tables3 assets
Supplementary material from the paper’s appendix.
Appendix
| Condition A condition B | Accuracy A B (%) | Changed labels | C W | W C | W W |
|---|---|---|---|---|---|
| CPU singleton native GPU singleton | 86.0735 86.0836 | 2 (0.02%) | 0 | 1 | 1 |
| Native padding-matched GPU singleton | 86.0836 86.0435 | 344 (3.45%) | 110 | 106 | 128 |
| Padding-matched GPU singleton GPU batch 256 | 86.0435 86.3340 | 614 (6.15%) | 191 | 220 | 203 |
| Native GPU singleton GPU batch 256 | 86.0836 86.3340 | 619 (6.20%) | 199 | 224 | 196 |
| GPU batch 256 reversed GPU batch 256 | 86.3340 85.8631 | 531 (5.32%) | 205 | 158 | 168 |
| Padding-matched singleton q/k-isolated batch 256 | 86.0435 86.0535 | 1 (0.01%) | 0 | 1 | 0 |
| Added bins | Sources | Changed | Rate (%) |
|---|---|---|---|
| 0 | 4,057 | 0 | 0.00 |
| 1 - 5 | 5,004 | 236 | 4.72 |
| 6 - 10 | 45 | 2 | 4.44 |
| 11 - 20 | 155 | 13 | 8.39 |
| 21 - 40 | 294 | 26 | 8.84 |
| 41 - 80 | 322 | 43 | 13.35 |
| Canonical type | Candidates | CPU: same type | CPU: same class |
|---|---|---|---|
| Adverse | 5,157 | 5,152 | 5,151 |
| Corrective | 9,031 | 9,022 | 9,022 |
| Lateral | 11,632 | 11,621 | 11,621 |
| Total | 25,820 | 25,795 | 25,794 |
Adversarial Robustness
Adversarial robustness studies how well AI systems withstand deliberately crafted inputs, training-data corruption, and other attacks.
See all 481 papers