Adaptive Across-Subcenter Representation Learning for Imbalanced Anomalous Sound Detection

Dong Wang, Jiqing Han, Guibin Zheng, Tieran Zheng, Yongjun HeInterspeech 2025

TL;DR

This paper introduces AASRL, a novel method for anomalous sound detection that adaptively selects and optimizes sample representations across multiple subcenters. By dynamically adjusting the number of subcenters based on representation quality, AASRL effectively handles imbalanced datasets and improves detection accuracy compared to existing methods.

What Problem Does This Paper Address?

Anomalous Sound Detection (ASD) aims to identify unusual sounds by learning a representation of "normal" sounds. A significant challenge in real-world ASD is data imbalance, where normal sounds from rare conditions are underrepresented. Existing methods that use multiple subcenters to capture intra-class diversity often struggle with either under-representation or overfitting to majority classes. This paper tackles the problem of efficiently representing diverse normal sound subclasses in an imbalanced setting to improve ASD performance.

Methods

The core of this paper is the Adaptive Across-Subcenter Representation Learning (AASRL) method. Unlike previous approaches that fix the number of subcenters or use all of them, AASRL dynamically determines the optimal number of subcenters for each sample.

Here's how it works:

  • Initial Training: The model is first trained using an "optimal subclass representation" strategy for a set number of iterations (T). This helps establish an initial representation quality measure.
  • Representation Quality Measurement: For each sample, the angle between its feature embedding and each subcenter is calculated. This angle serves as an indicator of how well the sample is represented by that subcenter.
  • Adaptive Subcenter Selection: A "subcenter number function" uses these angles to determine a dynamic number of subcenters, k, for the current sample. Samples with poorer representation quality (larger angles to their nearest subcenters) are assigned more subcenters. This is controlled by a temperature parameter τ.
  • Adaptive Across-Subcenter Optimization: The loss function then optimizes the sample's representation across these k most relevant subcenters. This ensures that samples are aligned with their closest prototypes while also considering the overall structure of all subcenters, preventing majority classes from dominating.

The paper also builds upon the Subcenter Angular Margin Loss (SCAML) framework, which uses multiple subcenters per class to capture intra-class diversity, and incorporates ideas from Outlier Exposure (OE) for distribution squeezing.

Datasets

The proposed AASRL method was evaluated on two datasets:

  • DCASE2023 Challenge Task 2 Dataset: This dataset consists of real-world anomalous sound samples collected from 14 different device types and naturally exhibits imbalance.
  • Constructed Imbalanced Dataset: To further evaluate performance under imbalanced conditions, the authors created a new dataset. They replaced specific data from the DCASE2023 Task 2 dataset with samples from ToyADMOS2, specifically focusing on "Toy car" and "Toy train" sounds. This dataset was designed to simulate intra-class imbalance by varying the ratio of "speed levels" for training samples.

Key Insights and Ideas

  • Dynamic Subcenter Allocation is Key: The most significant insight is that a fixed number of subcenters is suboptimal. Dynamically adjusting the number of subcenters based on a sample's representation quality allows for more nuanced and effective learning, especially for underrepresented samples.
  • Angle as a Proxy for Representation Quality: Using the angle between a sample's feature embedding and its subcenters as a measure of representation quality is an intuitive and effective approach. Larger angles indicate a poorer fit, prompting the need for more subcenters.
  • Preventing Gradient Conflicts: The paper theoretically shows how the probability weighting in the loss function prevents gradient conflicts when using multiple subcenters, even if they have opposing orientations. This is crucial for scaling up the number of subcenters without detrimental effects.
  • Balancing Compactness and Diversity: AASRL strikes a balance between maintaining a compact global distribution of normal sounds and capturing the diverse patterns within subclasses, which is essential for robust ASD.

Key Results

The AASRL method demonstrated superior performance on both datasets:

  • DCASE2023 Task 2 Dataset: AASRL achieved improvements of 1.05% in AUC and 0.62% in pAUC compared to the baseline SSLASD system.
  • Imbalanced Dataset: The enhancements were even more pronounced on the constructed imbalanced dataset, with 3.07% improvement in AUC and 1.61% in pAUC.
  • Visualization: t-SNE plots showed that AASRL better captures the similarities of normal data, resulting in more clustered representations in the feature space compared to the baseline.

Limitations and Future Work

  • Hyperparameter Sensitivity: The performance of AASRL is influenced by hyperparameters like the number of initial training iterations (T) and the temperature parameter (τ) in the subcenter number function. The paper includes sensitivity analyses showing that a sufficient number of initial iterations and a faster subclass expansion speed are beneficial.
  • Computational Cost: While AASRL improves accuracy, the adaptive selection of subcenters might introduce some computational overhead compared to methods with a fixed number of subcenters. However, the paper suggests that this approach is still efficient.
  • Future Work: The authors' work opens avenues for exploring more sophisticated subcenter number functions and further investigating the theoretical underpinnings of adaptive representation learning for imbalanced data in ASD.

Summary updated

BibTeX
@inproceedings{wang2025adaptive,
  author = {Dong Wang and Jiqing Han and Guibin Zheng and Tieran Zheng and Yongjun He},
  title = {{Adaptive Across-Subcenter Representation Learning for Imbalanced Anomalous Sound Detection}},
  booktitle = {Interspeech},
  year = {2025},
}
Figure