arXiv:2610.03155cs.NEOct 2026

Manuscript Offprint

arXiv:2610.03155

Aggregate accuracy conceals concentrated temporal vulnerability in a spiking speech classifier

İsmail Can Dikmen

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.

Keywords: Spiking neural networks; Event timing; Spiking Speech Commands; Finite-neighborhood audit; Spike retiming; Activation replacement

1 Introduction

Consider two football matches played by the same teams and the same players. Both can end with the same score even though the movements, attacks, and course of play differ. The score records the outcome, not the sequence that produced it. A classifier has the same limitation: a preserved label does not establish that its internal processing was unchanged. Across many inputs, a further ambiguity appears. An average score can improve because some mistakes are corrected while other, previously correct decisions become wrong.

This ambiguity matters when evaluating the temporal robustness of spiking neural networks (SNNs). Their time-dependent states and spike communication allow an input timing change to alter later activity (Eshraghian et al., 2023). A constructive result also shows that preserving one layer's spike counts while changing its delays can yield non-monotone task accuracy (Yan et al., 2026). An evaluation based only on average accuracy can combine adverse and corrective transitions into a favorable net result. A flip rate combines harmful, beneficial, and wrong-to-different-wrong transitions. Even a successful attack leaves unanswered how many other utterances are vulnerable and how densely harmful perturbations populate each local neighborhood. These distinctions determine what an evaluation actually establishes about the model.

The Spiking Speech Commands (SSC) dataset provides a concrete setting because its inputs are event streams generated by a cochlear model (Cramer et al., 2022). Surrogate-gradient learning

*Corresponding author. E-mail: can.dikmen@istinye.edu.tr. ORCID: 0000-0002-7747-7777.

supports the training of these networks despite non-differentiable spike generation (Neftci et al., 2019). Adaptive recurrent neurons, learned delays, and global-local processing have advanced spiking speech classification (Bittar & Garner, 2022; Deckers et al., 2024; Hammouamri et al., 2024; Wang, Yu, et al., 2026; Yin et al., 2021). Recent evidence also shows that SSC and Spiking Heidelberg Digits contain useful information beyond spike counts (Z. Yu et al., 2026). The question addressed here is how to measure the local consequences of that temporal dependence without allowing averages or incomplete coverage to hide its distribution.

Existing approaches provide essential but different information. Adversarial methods optimize harmful perturbations (Büchel et al., 2022; Liang et al., 2023; Lun et al., 2025), including count-preserving retiming (Y. Yu et al., 2026). Formal and direct-search methods determine whether a bounded counterexample exists (Banerjee et al., 2023; Mukhoty et al., 2024; Seong et al., 2024). Observational explanations characterize internal activity (Kim & Panda, 2021), while activation replacement tests the effect of supplying a selected internal state (Meng et al., 2022; Zhang & Nanda, 2024). The missing link in the present setting is a retained local outcome map that connects the distribution of adverse and corrective decisions to internal responses and matched interventions.

We construct that map for a frozen SpikeSCR-based classifier. For each of 100 label-stratified SSC validation utterances, we enumerate every distinct input obtained by transferring one integrated count unit to an adjacent 5 ms bin within the same transformed feature. All 725,070 predictions are retained. The map measures what uniform, margin-guided, and surrogate-gradient searches discover at fixed candidate-query budgets and, crucially, what they leave unseen. Internal traces and clean-activation replacement connect the outcomes to the activity and recoverability of the same runs.

The resulting contrast is direct: equal-source expected accuracy under this finite-neighborhood experiment rises from 84.00% to 84.54%, while 13 of the 84 initially correct utterances admit an adverse neighbor. Five sources carry 93.21% of harmful moves. Low-margin allocation improves expected discovery, but a rare vulnerable source lies outside its selected quartile; a fixed gradient ranking misses different rare cases. A complementary audit of two separately seeded count-readout SNN replicas, using the same utterance identities at their native input resolution, separates spike changes lost under temporal aggregation from decision changes. Nearly equal validation accuracies in the replicas coexist with markedly different class-change counts and a reversed ordering of fully robust correct sources. Controlled execution experiments additionally identify cross-source coupling at the q/k LIF stages as the mechanism of batch-order dependence, while paired CPU/GPU singleton replay preserves the 13-source temporal-vulnerability finding.

The contributions are fourfold:

  1. We retain every outcome of a defined temporal neighborhood and distinguish net correctness, adverse-source incidence, candidate density, and concentration. Counting identities and finite-sampling probabilities are analysis tools for this measured map.

  2. We show that favorable mean correctness coexists with highly uneven adverse vulnerability in SpikeSCR, and evaluate uniform, margin-guided, and single- and multi-target gradient discovery at matched candidate-query budgets. The map identifies the sources and rare moves each search misses.

  3. We separate decision, representation, and trajectory changes through source-matched SpikeSCR activations, matched branch-state interventions, and exact spike-count readout analysis in two additional SNN replicas. The paired replica comparison shows why class-change load and source-level robustness need separate reporting.

  4. We identify cross-source q/k LIF coupling as the mechanism of batch-order dependence in the pinned implementation. Source isolation removes the measured order effect and recovers 9,980 of 9,981 padding-matched singleton labels; paired CPU/GPU replay confirms persistence of the original vulnerable sources and fixed witnesses.

Throughout, a complete audit means complete coverage of the stated discrete neighborhood for the specified inputs, checkpoint, and execution path. This bounded definition makes coverage verifiable and the resulting comparisons reproducible.

References (38)