[Paper Review] XAI-based Comparison of Input Representations for Audio Event Classification
This paper uses explainable AI (XAI) via Layer-wise Relevance Propagation (LRP) with DFT-LRP to compare classification strategies of 1D-CNN (raw waveform) and YAMNet (spectrogram) models for audio event classification. It finds that the 1D-CNN learns more separable, class-specific features and is more robust to pitch and spectral alterations than YAMNet, which relies more on pitch information.
Deep neural networks are a promising tool for Audio Event Classification. In contrast to other data like natural images, there are many sensible and non-obvious representations for audio data, which could serve as input to these models. Due to their black-box nature, the effect of different input representations has so far mostly been investigated by measuring classification performance. In this work, we leverage eXplainable AI (XAI), to understand the underlying classification strategies of models trained on different input representations. Specifically, we compare two model architectures with regard to relevant input features used for Audio Event Detection: one directly processes the signal as the raw waveform, and the other takes in its time-frequency spectrogram representation. We show how relevance heatmaps obtained via "Siren"{Layer-wise Relevance Propagation} uncover representation-dependent decision strategies. With these insights, we can make a well-informed decision about the best input representation in terms of robustness and representativity and confirm that the model's classification strategies align with human requirements.
Motivation & Objective
- To investigate how different input representations (raw waveform vs. spectrogram) affect model decision-making in audio event classification.
- To evaluate whether model classification strategies align with human perceptual expectations.
- To compare model robustness against audio alterations such as filtering and pitch shifting.
- To use XAI techniques to uncover and contrast underlying decision mechanisms across input representations.
- To guide future model design by identifying input representations that yield more interpretable and robust classification strategies.
Proposed method
- Employed two CNN architectures: one processing raw waveforms (1DCNN) and another using time-frequency spectrograms (YAMNet).
- Applied DFT-LRP to propagate model output relevance back to input features in a human-interpretable time-frequency domain.
- Generated relevance heatmaps to quantify the importance of each time-frequency component for classification decisions.
- Computed within-class and between-class cosine similarity of relevance maps to assess feature separability.
- Evaluated model robustness by applying high-pass, low-pass, and pitch-shift augmentations to test samples.
- Used Relevance Centroid visualization to compare average relevance patterns across sound classes.
Experimental results
Research questions
- RQ1How do the classification strategies of models trained on raw waveforms versus spectrograms differ in terms of feature relevance?
- RQ2Do the models' decision-making processes align with human perceptual understanding of audio events?
- RQ3Which input representation leads to more robust classification under audio signal alterations like filtering and pitch shifting?
- RQ4To what extent do relevance heatmaps reveal class-specific, separable features in the models?
- RQ5How does the use of DFT-LRP enable meaningful comparison of model behavior across different input representations?
Key findings
- The 1DCNN model exhibits significantly greater difference between within-class and between-class relevance similarity (0.207 vs. 0.076), indicating more separable, class-specific features.
- YAMNet shows high within-class and between-class similarity (0.593 and 0.584), suggesting less discriminative feature learning.
- The 1DCNN model is more robust to audio alterations: it loses only 4.41% accuracy under high-pass filtering (3000 Hz), compared to 18.19% for YAMNet.
- Under pitch shifting by ±7 half-tones on the 'Siren' class, the 1DCNN loses 9.67% accuracy, while YAMNet loses 25.00%, indicating stronger reliance on pitch by YAMNet.
- Relevance heatmaps reveal that YAMNet’s decisions are more influenced by pitch content, while 1DCNN relies on broader, more robust temporal features.
- The XAI analysis confirms that the 1DCNN’s strategy is more aligned with human perception and less prone to spurious correlations.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.