[Paper Review] Two-level Explanations in Music Emotion Recognition
This paper proposes a two-level explainable AI framework for music emotion recognition that connects audio spectrograms to interpretable mid-level perceptual features (e.g., articulation, tension) and then to emotion predictions. By combining a linear emotion head with LIME-based audio-to-mid-level feature explanations, the method generates visually and acoustically interpretable explanations, enabling traceable, targeted audio manipulations for emotion control.
Current ML models for music emotion recognition, while generally working quite well, do not give meaningful or intuitive explanations for their predictions. In this work, we propose a 2-step procedure to arrive at spectrogram-level explanations that connect certain aspects of the audio to interpretable mid-level perceptual features, and these to the actual emotion prediction. That makes it possible to focus on specific musical reasons for a prediction (in terms of perceptual features), and to trace these back to patterns in the audio that can be interpreted visually and acoustically.
Motivation & Objective
- To address the lack of interpretability in deep learning models for music emotion recognition.
- To bridge the gap between abstract emotion predictions and concrete audio features through mid-level perceptual representations.
- To generate stable, visually interpretable, and acoustically meaningful explanations by linking audio spectrograms to mid-level features.
- To enable targeted audio modifications by identifying which spectrogram regions contribute most to emotion predictions.
- To improve model transparency for applications requiring controllable emotional expression in music.
Proposed method
- A VGG-style CNN with a shared intermediate layer for predicting 7 mid-level perceptual features and a final linear layer for 8 emotion qualities.
- Joint training using a combined loss to optimize both mid-level feature and emotion prediction simultaneously.
- LIME-based explanation method applied to the Audio-to-Mid level, using perturbed spectrogram samples to identify salient image segments.
- Use of Felzenszwalb's segmentation algorithm with scale=25 and min_size=40 for optimal spectrogram partitioning.
- Automatic feature selection via p-value to weight ratio thresholding (10^-6) to stabilize and reduce explanation complexity.
- Audio re-synthesis from weighted spectrogram segments to generate 'enhanced' versions highlighting influential features for listening.
Experimental results
Research questions
- RQ1Can a two-level model improve interpretability in music emotion recognition by introducing mid-level perceptual features?
- RQ2How can LIME be adapted to generate stable, visually interpretable explanations at the spectrogram level for audio-to-mid-level predictions?
- RQ3To what extent do the identified spectrogram segments correspond to perceptually meaningful musical qualities such as articulation or rhythmic complexity?
- RQ4Can the explanations enable targeted audio modifications that alter perceived emotional qualities in a controlled manner?
- RQ5How does the number of sampled perturbations affect the stability and quality of LIME explanations in spectrogram-based explanations?
Key findings
- The two-level model achieves emotion prediction performance comparable to a non-interpretable baseline, confirming that interpretability does not compromise accuracy.
- LIME-based explanations successfully identify specific spectrogram regions—particularly in drum-heavy segments—that contribute to predictions of 'articulation' and 'energy'.
- The use of 50,000 perturbed samples significantly improves explanation stability compared to default LIME settings.
- The automatic p-value to weight ratio thresholding at 10^-6 effectively selects 30–60 relevant spectrogram segments per instance, reducing noise and improving interpretability.
- Re-synthesized audio based on positive-weighted segments clearly highlights the influence of percussive elements, confirming the acoustic validity of the explanations.
- The method enables the creation of 'enhanced' audio versions that make specific musical features more audible, supporting potential applications in emotion-directed audio editing.
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.