ESTM: An Enhanced Dual-Branch Spectral-Temporal Mamba for Anomalous Sound Detection

Chengyuan Ma, Peng Jia, Hongyue Guo, Wenming Yang

Introduction

Anomalous Sound Detection (ASD) serves as a critical "canary in the coal mine" for industrial health monitoring. By analyzing the acoustic emissions of machinery, ASD systems aim to identify subtle deviations from normal operating conditions that signal impending mechanical failure. However, industrial environments present a complex acoustic landscape where anomalies are often buried within steady-state noise. The Enhanced Spectral-Temporal Mamba (ESTM) framework addresses these challenges by leveraging Selective State-Space Models to capture the intricate relationships within machine audio.

The Challenge of Industrial Sound

Traditional deep learning approaches to ASD, such as Autoencoders or standard Convolutional Neural Networks (CNNs), often struggle with two fundamental characteristics of machine noise:

  1. Long-range Temporal Patterns: Industrial machines typically operate in cycles that exceed the local receptive fields of standard neural architectures. Capturing these long-term dependencies is essential for understanding the "rhythm" of normal operation.
  2. Time-Frequency Coupling: Anomalies are rarely simple volume spikes; they are more often manifested as subtle shifts in energy distribution across specific frequency bands over time.

While Transformers have been used to model long-range dependencies, their quadratic computational complexity can be prohibitive. ESTM introduces a more efficient alternative based on the Mamba architecture.

The ESTM Architecture

ESTM moves away from monolithic processing in favor of a dual-branch architecture designed to isolate and then integrate spectral and temporal features.

Dual-Branch STMamba

The core of the model is the STMamba block, which splits the processing task into two specialized paths:

  • SMamba (Spectral Mamba): Scans across frequency bands to identify spectral variations and harmonic inconsistencies.
  • TMamba (Temporal Mamba): Scans across the time dimension to track evolution and periodic trends in the signal.

By decoupling these dimensions, the model prevents temporal noise from diluting critical frequency-domain features and vice versa.

TriStat-Gating (TSG) and the ESgram

A significant innovation in ESTM is the TriStat-Gating (TSG) module. This parameter-free enhancement step calculates three statistical metrics from the Log-Mel spectrogram: median, root mean square (RMS), and variance. These metrics represent signal stability, energy consistency, and distribution uniformity, respectively. The TSG module uses this data to "gate" the original spectrogram, producing an "ESgram" that is significantly more sensitive to anomalous fluctuations than raw input.

Feature Fusion and Training

The framework fuses raw audio features (Tgram), standard Log-Mel spectrograms (Sgram), and the enhanced ESgram before feeding them into the Mamba backbone. To overcome the scarcity of real-world anomaly data, the model is trained using a self-supervised approach. By employing ArcFace loss to classify specific Machine IDs, the model learns to create highly discriminative feature embeddings for "normal" operation, making any deviation easily detectable.

Experimental Results

The researchers evaluated ESTM using the DCASE 2020 Task 2 dataset, which includes real-world industrial sounds from the MIMII dataset (Fans, Pumps, Valves, Sliders) and miniature machine sounds from ToyADMOS (ToyCars, ToyConveyors).

ESTM achieved state-of-the-art (SOTA) performance across several key metrics:

  • Average AUC: Reached 95.76%, surpassing the previous leading model (TASTgram) at 94.08%.
  • Partial AUC (pAUC): Achieved 90.49%, a metric vital for industrial applications where maintaining a low false-positive rate is mandatory.
  • ToyConveyor Breakthrough: In one of the most challenging categories for ASD, ESTM improved the AUC for ToyConveyor by nearly 8% compared to previous benchmarks.

Visual analysis via t-SNE confirmed that ESTM produces tighter, more distinct clusters for normal versus anomalous sounds, providing a clearer decision boundary for automated monitoring systems.

Conclusion and Future Directions

ESTM demonstrates that the selective nature of Mamba—the ability to adaptively focus on relevant data points while ignoring constant background hum—is uniquely suited for acoustic monitoring. While the current research focuses on the DCASE 2020 benchmark, future work will likely explore the model's robustness against "domain shift," such as changes in acoustic environments or machine placement. Additionally, the efficiency of the Mamba architecture suggests that ESTM could eventually be optimized for real-time deployment on edge devices directly on the factory floor.

Summary updated

BibTeX
@article{ma2025estm,
  author = {Chengyuan Ma and Peng Jia and Hongyue Guo and Wenming Yang},
  title = {{ESTM: An Enhanced Dual-Branch Spectral-Temporal Mamba for Anomalous Sound Detection}},
  journal = {IEEE Signal Processing Letters},
  year = {2025},
  doi = {10.1109/lsp.2025.3606785},
}
Figure