Hear You Say You: An Efficient Framework for Marine Mammal Sounds' Classification

Xiangrui Liu, Xiaoou Liu, Shan Du, Julian Cheng

Introduction

Marine mammals face increasing threats from human activities, such as military sonar and commercial shipping. Protecting these species requires real-time detection and classification of their vocalizations to enable timely interventions, like ship detours or rescheduled naval exercises. However, deploying state-of-the-art deep learning models in maritime environments is challenging due to limited hardware resources and the high levels of ambient ocean noise.

To address these hurdles, researchers have developed XCFSMN, a lightweight deep learning framework designed for high-accuracy, real-time marine mammal sound classification. The framework achieves state-of-the-art performance while being significantly smaller and faster than traditional models.

The XCFSMN Framework

The core of the XCFSMN approach is a Knowledge Distillation (KD) strategy, where a large, complex "Teacher" model transfers its expertise to a compact "Student" model.

The Teacher Model

The teacher is a powerful ensemble designed to capture diverse acoustic characteristics. It fuses three distinct feature extraction paths:

  1. DenseNet121: Extracts fine-grained spectral information from Log Mel-filter Banks (FBanks).
  2. X-vector Extractor (TDNN): Adapted from human speaker recognition, this captures the unique "voice" identity of different marine species.
  3. Improved CC-FSMN: A Cross-Covariance attended compact Feed-Forward Sequential Memory Network that learns temporal context and rhythmic patterns.
The Teacher model architecture, fusing spectral, speaker-identity, and temporal features.

The Student Model and Innovations

The student model is a simplified version of the CC-FSMN. To bridge the performance gap between the student and the teacher, several innovations were introduced:

  • Temperature-Cooling Strategy: During distillation, the model uses a high "temperature" initially to help the student learn broad, soft probability distributions from the teacher. As training progresses, the temperature is "cooled," forcing the student to focus on finer details and independent decision-making.
  • DropKey Mechanism: Unlike standard Dropout, DropKey is applied to attention layers to prevent the model from over-relying on specific spectral peaks, thereby increasing robustness in noisy environments.
  • Global Unstructured Pruning (GUP): To further optimize for deployment, the researchers trimmed approximately 30% of the least significant neurons, reducing model size without sacrificing accuracy.
The Knowledge Distillation framework featuring the temperature-cooling strategy and loss functions.

Experimental Results

The framework was evaluated using the Watkins Marine Mammals Sound Database (WMMSD) and MobySound. Key findings include:

  • Efficiency: The student model contains only 3.15 million parameters, making it roughly 25 times smaller than the teacher ensemble (81.3M parameters).
  • Speed: Inference time was clocked at 0.32 seconds for the WMMSD-12 task, nearly 10 times faster than standard CNN architectures.
  • Accuracy: On a merged 5-class whale dataset, the student achieved an F1 score of 0.910, significantly outperforming larger models like ResNet50 (0.842) and VGG16 (0.790).

Conclusion

The XCFSMN framework demonstrates that architectural efficiency and smart training strategies, like temperature-cooled distillation, can produce models that are both robust and lightweight. While future work will focus on balancing datasets using generative models and improving denoising, the current framework provides a viable path for real-time marine mammal protection on standard maritime hardware.

Summary updated

BibTeX
@inproceedings{liu2024hear,
  author = {Xiangrui Liu and Xiaoou Liu and Shan Du and Julian Cheng},
  title = {{Hear You Say You: An Efficient Framework for Marine Mammal Sounds' Classification}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i20.30230},
}
Figure