Abstract
Anomalous Sound Detection (ASD) is critical for industrial predictive maintenance, yet it faces challenges from data scarcity and performance instability across different machine units. This paper proposes STgram-MFN, a framework that integrates spectral features (log-Mel spectrograms) with temporal features extracted from raw waveforms using a novel TgramNet. By utilizing the ArcFace loss function, the model creates highly discriminative embeddings that enhance detection accuracy. Experimental results on the DCASE 2020 Challenge Task 2 dataset demonstrate that STgram-MFN significantly outperforms state-of-the-art methods, particularly in improving the minimum Area Under the Curve (mAUC) for the most challenging machine IDs.
Introduction
In industrial settings, Anomalous Sound Detection (ASD) serves as an automated "check engine light," identifying mechanical failures by listening to machine audio. However, the field struggles with two primary issues. First, "normal" data is abundant while "anomalous" data is rare, necessitating unsupervised or self-supervised approaches. Second, existing models often exhibit high instability, performing well on one machine unit but failing on another of the same type. Furthermore, standard features like log-Mel spectrograms may inadvertently filter out high-frequency temporal cues, such as clicks or hisses, which are vital for identifying mechanical anomalies.
Methodology: STgram-MFN
The proposed STgram-MFN (Spectral-Temporal gram MobileFaceNet) framework addresses these limitations through a multi-pronged approach.
Feature Fusion (STgram)
The core innovation is the fusion of spectral and temporal information. While traditional methods rely solely on frequency-domain spectral data, STgram-MFN incorporates raw waveform data.
TgramNet
To process raw audio, the authors developed TgramNet, a specialized 1D Convolutional Neural Network (CNN). TgramNet is designed to extract temporal features such that the output dimensions match those of a standard log-Mel spectrogram. This allows for seamless concatenation into a unified "STgram" representation.
Classification and Loss
The framework uses MobileFaceNet (MFN), a lightweight architecture optimized for face recognition, as its backbone. To enhance the discriminative power of the learned embeddings, the authors employ ArcFace (Additive Angular Margin Loss). Unlike standard cross-entropy, ArcFace maximizes inter-class variance (between different machine IDs) and minimizes intra-class variance (for normal sounds of the same ID), making anomalies significantly easier to detect in the feature space.
Experimental Setup
The model was evaluated using the DCASE 2020 Challenge Task 2 dataset, which comprises:
- MIMII Dataset: Industrial sounds from fans, pumps, sliders, and valves.
- ToyADMOS Dataset: Sounds from toy cars and toy conveyors. The evaluation focused on performance consistency across multiple individual machine units (IDs) for each machine type.
Results and Discussion
The integration of temporal features provides a "stereo" view of the data. Visualizations indicate that certain anomalies invisible in the spectral domain become distinct when temporal information is included.
As shown in the results table above, STgram-MFN (ArcFace) achieves substantial improvements over previous state-of-the-art models like Glow_Aff. Notably, the average mAUC reached 84.86%, compared to 70.32% for Glow_Aff. The most significant gains were observed in "worst-case" scenarios, with mAUC improvements of 31.79% for fans and 21.13% for valves. This reduction in the performance gap between the best and worst machine units makes the system far more robust for real-world industrial deployment.
Conclusion
STgram-MFN demonstrates that fusing spectral and temporal information, combined with discriminative loss functions like ArcFace, provides a more stable and accurate solution for ASD. While temporal features are powerful, they can be sensitive to environmental noise, suggesting that future work should focus on noise robustness and further optimization of the TgramNet architecture for edge devices.
Summary updated