Abstract
This paper presents a disentangled multi-task learning framework for unsupervised anomalous sound detection (ASD) under domain shift. By separating domain-shared features (machine identity) from domain-specific attributes (environmental conditions), the proposed method enhances domain generalization. The approach achieved 5th place in the DCASE 2022 Challenge, significantly outperforming standard baselines in handling unpredictable environmental changes.
Introduction
In industrial settings, Anomalous Sound Detection (ASD) is critical for predictive maintenance, identifying machine failures through acoustic monitoring. However, real-world applications often suffer from "domain shift," where changes in acoustic conditions—such as increased factory noise or varying machine workloads—can cause a model to incorrectly flag healthy operations as anomalies. This paper addresses the challenge of Domain Generalization: building a system capable of distinguishing true mechanical anomalies from harmless environmental changes without prior knowledge of the test domain.
Methodology
The core of the proposed approach is Disentangled Multi-Task Learning. Instead of learning a single entangled representation, the network is forced to learn two distinct latent feature spaces:
- Domain-Shared Features ($z_S$): Representing the "section index" or the core identity of the machine's operation.
- Domain-Specific Features ($z_A$): Representing "attributes" such as specific environmental states or noise types.
Architecture and Inference
The system utilizes MobileFaceNet as a backbone CNN for robust audio feature extraction. Since anomaly labels are unavailable during training, the model is trained on surrogate tasks: predicting section indices and machine attributes from normal data.
For anomaly detection, the k-Nearest Neighbor (k-NN) algorithm is employed. The embedding of a test sample is compared against training data embeddings; a large distance indicates an anomaly. The researchers explored two scoring strategies: concatenating the feature vectors or using a weighted average of anomaly scores from both feature spaces, allowing for machine-specific tuning of feature importance.
Experimental Setup
The study was evaluated using the DCASE 2022 Task 2 dataset, a benchmark for unsupervised ASD under domain shift. The dataset includes seven machine types: ToyCar and ToyTrain (from ToyADMOS2), and Bearing, Fan, Gearbox, Slider, and Valve (from MIMII DG). Clips are 10 seconds long, recorded at 16 kHz, and include various sections and attributes representing different domain shifts.
Results and Discussion
The disentangled model demonstrated superior performance across multiple machine types. By explicitly separating shared and specific features, the model outperformed standard Multi-Task Learning (MTL) where features remain entangled.
Key Insights
- Challenge Performance: The team ranked 5th out of 32 teams in the DCASE 2022 Challenge, achieving a harmonic mean of 67.57% on the blind evaluation set—13.5% higher than the baseline.
- Explainability: The disentangled approach provides a level of interpretability. If an anomaly is detected primarily in the attribute space ($z_A$), it may suggest an environmental change, whereas detection in the shared space ($z_S$) likely indicates a mechanical failure.
- Generalization: The model significantly improved the Area Under the Curve (AUC) for unseen "Target" domains compared to non-disentangled baselines.
Conclusion and Future Work
While the disentangled framework shows great promise, it remains sensitive to loss function choices and requires careful weight optimization for different machine types. Future work will focus on integrating more sophisticated anomaly detection backends, such as normalizing flows or specialized density estimators, to further refine the detection of complex mechanical failures.
Summary updated