On the reliability of feature attribution methods for speech classification

Gaofei Shen, Hosein Mohebbi, Arianna Bisazza, Afra Alishahi, Grzegorz Chrupała

TL;DR

Can we trust the methods used to explain how AI models process speech? This paper evaluates the reliability of standard feature attribution methods across identical speech models trained with different random seeds and finds that they are largely inconsistent. The major exception is when perturbation-based methods are applied directly to word-aligned segments in text-heavy tasks.

What Problem Does This Paper Address?

Feature attribution methods—like saliency maps in computer vision or token-importance scores in NLP—are designed to show us which parts of an input signal most heavily influence a model's output. However, applying these techniques to speech processing is notoriously difficult. A standard 16kHz audio signal contains tens of thousands of data points for just a few seconds of audio, making raw attributions incredibly noisy and hard to interpret.

While previous research has focused on the validity (or faithfulness) of these explanations, this paper tackles a more fundamental question: Are they reliable? If you train the exact same model architecture on the same data but change the random seed, will the feature attribution method give you the same explanation? If the answer is no, then these interpretability tools rest on shaky foundations.

Methods

The authors systematically evaluated the consistency of explanations across different training runs. Here is their setup:

  1. The Model: They fine-tuned a wav2vec2-base model using 9 different random seeds. Crucially, they froze the CNN feature extractor so that the input representations remained identical across all runs, isolating the variation to the transformer layers and classification heads.
  2. Attribution Methods: They tested two gradient-based methods (Saliency and Integrated Gradients (IG)) and two perturbation-based methods (LIME and Feature Ablation (FA)).
  3. Input Types: Attributions were calculated across three representations: raw waveforms, spectrograms (via an inverted STFT layer), and CNN embeddings.
  4. Granularity & Aggregation: They compared raw unaggregated outputs against post-hoc frame-level (20ms) and word-level aggregations. They also tested direct perturbation of word-level segments using forced alignment.
  5. The Metric: To quantify reliability, they introduced Inter-Seed Agreement (ISA), which measures the percentage of overlap between the top 20% most important features identified across different random seed pairs.

Datasets

The methods were evaluated on two distinct datasets covering different speech classification dynamics:

  • Common Voice (Subset): Used for acoustic-heavy tasks, specifically Gender Identification (Gender ID) and Speaker Identification (Speaker ID).
  • Fluent Speech Commands (FSC): Used for Intent Classification (IC), which relies more heavily on spoken lexical items. This was broken down into three subtasks: Action, Object, and Location.

Key Insights and Ideas

  • High Accuracy $\neq$ Consistent Explanations: Despite all fine-tuned models achieving near-perfect classification accuracy (often >99%) and behaving identically on the outside, their internal feature attributions varied wildly depending on the random seed.
  • LIME Fails at High Resolution: In high-time-resolution settings (no aggregation), LIME performed terribly, yielding reliability scores that were barely better than a random baseline. Integrated Gradients consistently proved to be the most reliable gradient method.
  • Aggregation is Not a Silver Bullet: Intuitively, you might think that summing up noisy frame-level attributions into word-level blocks would smooth out variations and increase agreement. Surprisingly, it didn't. Post-hoc aggregation failed to meaningfully improve reliability.
  • Task Nature Dictates Reliability: Direct word-level perturbation works exceptionally well for Intent Classification but fails for Speaker/Gender ID. Why? Intent classification relies on specific keywords (e.g., "activate", "kitchen"), leaving little room for models to disagree. Acoustic tasks, however, rely on redundant, distributed cues across the entire utterance, leading different training seeds to latch onto different parts of the audio.

Key Results

When looking at raw, unaggregated inputs, the reliability (ISA) scores for most method and input combinations were low to moderate, generally falling below 0.6.

Figure 1: Distributions of ISA scores without aggregation. The rows indicate different input feature types, the columns are dif- ferent tasks. Within each panel, each boxplot shows results from different attribution methods and the y-axis is the ISA score. The red dotted line indicates the randomly shuffled baseline. IG: In- tegrated Gradients, FA: Feature Ablation.

However, switching from post-hoc aggregation to direct word-level perturbation on intent classification tasks caused a massive spike in reliability, pushing ISA scores well above 0.75 across all input types.

Figure 3: Distributions of ISA scores with perturbation operat- ing directly on word-aligned segments. The rows indicate differ- ent input feature types, the columns are different tasks. Within each panel, each boxplot report results from different attribu- tion methods and the y-axis is the ISA score. The red dotted line indicates the randomly shuffled baseline. FA: Feature Ablation.

Limitations and Future Work

While this paper sheds light on reliability, the authors note that a reliable method isn't automatically a valid (faithful) one; future work must bridge this gap. Additionally, this study focused exclusively on the time dimension. Audio is inherently multi-dimensional, and future research should explore reliability along the frequency axis or look at high-level acoustic features like pitch contours, loudness, and timbre. Ultimately, the unique properties of speech may require entirely domain-specific attribution techniques rather than adaptations of vision and text methods.

Summary updated

Abstract

As the capabilities of large-scale pre-trained models evolve, understanding the determinants of their outputs becomes more important. Feature attribution aims to reveal which parts of the input elements contribute the most to model outputs. In speech processing, the unique characteristics of the input signal make the application of feature attribution methods challenging. We study how factors such as input type and aggregation and perturbation timespan impact the reliability of standard feature attribution methods, and how these factors interact with characteristics of each classification task. We find that standard approaches to feature attribution are generally unreliable when applied to the speech domain, with the exception of word-aligned perturbation methods when applied to word-based classification tasks.
BibTeX
@inproceedings{shen2025reliability,
  author = {Gaofei Shen and Hosein Mohebbi and Arianna Bisazza and Afra Alishahi and Grzegorz Chrupała},
  title = {{On the reliability of feature attribution methods for speech classification}},
  booktitle = {Interspeech},
  year = {2025},
  doi = {10.21437/interspeech.2025-1911},
}
Figure