An Explainable Proxy Model for Multilabel Audio Segmentation

Théo Mariotte, Antonio Almudévar, Marie Tahon, Alfonso Ortega Giménez

TL;DR

This paper introduces an "explainable proxy model" for automatically segmenting audio into multiple categories like speech, music, and noise. By leveraging Non-negative Matrix Factorization (NMF), the model not only achieves comparable performance to complex "black box" models but also provides clear insights into why it makes specific segmentation decisions, highlighting the relevant audio frequencies for each class.

What Problem Does This Paper Address?

Automatic audio segmentation is crucial for tasks like organizing media archives, but current deep learning models, while powerful, often act as "black boxes." This lack of transparency makes it difficult to understand their decision-making process, which is a significant hurdle in applications requiring trust and accountability, such as in legal or medical contexts. Existing explainability methods for audio are limited, and there's a need for models that can simultaneously handle multiple audio classes (like speech, music, and noise, including overlaps) while being inherently interpretable.

Methods

The core of this work is a "proxy model" trained to mimic a pre-trained, high-performing "teacher" model. This is a form of knowledge distillation. The proxy model uses Non-negative Matrix Factorization (NMF) as a key component. NMF decomposes a matrix (in this case, audio features) into two non-negative matrices: a "dictionary" (W) and "activations" (H).

Here's how it works:

  1. Teacher Model: A powerful, pre-trained model that performs multilabel audio segmentation (detecting speech, music, noise, and overlapped speech simultaneously).
  2. Proxy Model: This model takes either raw spectrograms or features from the teacher model as input. It learns to predict the same segmentation labels as the teacher.
  3. NMF Integration: The crucial part is using NMF to map the internal "embedding" (H) learned by the proxy model to the frequency domain. The dictionary (W) is either pre-trained or learned alongside the proxy. This mapping allows the model to identify which specific frequency bands are most important for classifying a segment.
  4. Training Objective: The proxy model is trained to:
  5. Match the teacher's predictions (using KL divergence).
  6. Reconstruct the input spectrogram using NMF (minimizing reconstruction error).
  7. Encourage sparsity in the NMF activations (H) to simplify explanations.

Datasets

The authors trained their models on a combination of four datasets: Albayzin, OpenBMAT, ALLIES, and DiHard III. For training the proxy model (knowledge distillation), they used a subset of this data, specifically from Albayzin and DiHard III, totaling 87 hours. Evaluation was performed on the Aragon Radio and DiHard III test sets.

Key Insights and Ideas

  • Explainability through NMF: The paper demonstrates that NMF is a powerful tool for bridging the gap between abstract learned representations and interpretable frequency-domain features in audio.
  • Local and Global Explanations: The model can provide explanations at two levels:
  • Segment-level (Local): Identifying the specific frequency bins that led to a particular segmentation decision for a short audio clip.
  • Class Prototypes (Global): Revealing the general frequency patterns that characterize each audio class across the entire dataset.
  • Performance vs. Explainability Trade-off: The proposed proxy models achieve performance comparable to the complex teacher model, suggesting that interpretability doesn't necessarily come at the cost of accuracy.
  • Frequency Domain Relevance: The work strongly suggests that the relevant information for audio segmentation tasks like SAD, MD, and OSD is localized within specific frequency bands, which NMF effectively highlights.

Key Results

  • The Wavlm-based proxy model with a pre-learned NMF dictionary achieved the best segmentation performance among the proxy models, matching or even slightly exceeding the teacher model in some metrics (e.g., +0.9% absolute improvement on ND).
  • For example, on the Aragon Radio dataset, the best proxy model achieved F1-scores of 96.7% for SAD, 93.0% for MD, and 60.5% for OSD, very close to the teacher's scores.
  • The spectrogram-based proxy model showed a more significant performance degradation, especially for OSD (40.1% F1-score), but was still considered a "convincing performance" given its simplicity and lower computational cost compared to Wavlm.
  • Qualitatively, the paper shows visualizations of relevant frequency bins for speech (100Hz-1kHz) and music (50Hz-200Hz), demonstrating the model's ability to pinpoint discriminative spectral regions.

Limitations and Future Work

  • Reconstruction Quality: The paper notes that for the Wavlm-based proxy model, the reconstruction of high-frequency components in the spectrogram is of low quality, limiting explanation extraction in those regions.
  • Noise Class Exclusivity: The global explanation for the noise class was not fully explored due to a lack of segments containing exclusively noise in the dataset subset used for global analysis.
  • Future Work: The authors plan to focus on evaluating the quality and usefulness of the extracted explanations, likely through user studies or by developing metrics to assess their interpretability. They also aim to explore more advanced NMF techniques or other factorization methods.

Summary updated

BibTeX
@inproceedings{mariotte2024explainable,
  author = {Théo Mariotte and Antonio Almudévar and Marie Tahon and Alfonso Ortega Giménez},
  title = {{An Explainable Proxy Model for Multilabel Audio Segmentation}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2024},
  doi = {10.1109/icassp48485.2024.10446648},
}
Figure