Toward Faithful Explanations in Acoustic Anomaly Detection
Maab Elrashid, Anthony Deschênes, Cem Subakan, Mirco Ravanelli, Rémi Georges, Michael Morin
TL;DR
The paper tackles the need for faithful explanations in acoustic anomaly detection for industrial monitoring. It compares a standard autoencoder (AE) and a masked autoencoder (MAE) on spectrogram-based anomaly detection, evaluating multiple attribution methods to assess explanation quality. Using real wood planer data, the authors introduce a time-local F-score and a faithfulness metric based on replacing highlighted regions with reconstructions, and show that MAE yields more temporally precise and faithful explanations, with error maps being particularly effective. The results suggest that MAE-based training improves interpretability with minimal impact on detection performance, making it well-suited for safety-critical industrial monitoring where transparent decision-making is essential.
Abstract
Interpretability is essential for user trust in real-world anomaly detection applications. However, deep learning models, despite their strong performance, often lack transparency. In this work, we study the interpretability of autoencoder-based models for audio anomaly detection, by comparing a standard autoencoder (AE) with a mask autoencoder (MAE) in terms of detection performance and interpretability. We applied several attribution methods, including error maps, saliency maps, SmoothGrad, Integrated Gradients, GradSHAP, and Grad-CAM. Although MAE shows a slightly lower detection, it consistently provides more faithful and temporally precise explanations, suggesting a better alignment with true anomalies. To assess the relevance of the regions highlighted by the explanation method, we propose a perturbation-based faithfulness metric that replaces them with their reconstructions to simulate normal input. Our findings, based on experiments in a real industrial scenario, highlight the importance of incorporating interpretability into anomaly detection pipelines and show that masked training improves explanation quality without compromising performance.
