SLoClas: A Database for Joint Sound Localization and Classification

Xinyuan Qian, Bidisha Sharma, Amine El Abridi, Haizhou Li

Introduction

In robotics and smart home applications, acoustic scene understanding requires two fundamental tasks: Direction-of-Arrival Estimation (DOAE)—locating a sound source—and Sound Event Classification (SEC)—identifying the nature of the sound. While these tasks are physically coupled, they are frequently studied in isolation due to a lack of integrated datasets. Researchers from the National University of Singapore have addressed this by introducing SLoClas, a large-scale database for joint sound localization and classification, and SLCnet, a multi-task deep learning framework that demonstrates the synergy between these two objectives.

The SLCnet Architecture

The proposed reference system, SLCnet, employs a multi-task learning strategy to exploit the relationship between spatial and spectral features. The model integrates two primary acoustic features: GCC-PHAT, which captures inter-microphone time differences for localization, and MFCCs, which represent spectral characteristics for classification.

SLCnet architecture featuring shared embedding extraction and task-specific branches for DOAE and SEC.

As shown in the architecture diagram, a shared backbone of fully connected layers extracts general embeddings from the fused features. The network then bifurcates into two specialized branches:

  • DOAE Branch: Predicts a 360-dimensional vector representing the spatial likelihood of the sound source using a Gaussian distribution centered at the true angle.
  • SEC Branch: Outputs class probabilities for 10 distinct sound categories.

The model is optimized using a weighted loss function that balances localization precision (Mean Squared Error) with classification accuracy (Cross-Entropy).

The SLoClas Database

The SLoClas database provides a high-resolution benchmark for joint tasks. It comprises 23.27 hours of 4-channel audio (48kHz) derived from the RWCP corpus. Key features include:

  • Spatial Resolution: Sounds were recorded at 1.5 meters from a 4-channel array at 5° intervals, covering the full 360° azimuth (72 distinct angles).
  • Environmental Realism: The dataset includes six types of outdoor noise (e.g., crowd, traffic, wind) recorded at specific angles to evaluate robustness in messy real-world conditions.
  • Acoustic Characterization: Time Stretched Pulse (TSP) signals are provided for every position to capture the impulse responses of the recording environment.

Performance and Multi-Task Benefits

Experimental results on the SLoClas test set highlight the advantages of joint modeling. SLCnet achieved a localization accuracy of 95.21% (within a 5° tolerance) and a classification accuracy of 80.01%.

Comparison of Single-task vs. Multi-task learning performance for (a) DOAE and (b) SEC.

A critical finding is that multi-task learning consistently outperforms single-task baselines. As illustrated in the training curves, the SEC branch benefits significantly from the auxiliary localization task, improving from 77.23% (single-task) to 80.01% (multi-task). This suggests that spatial cues provide valuable context that aids in identifying sound events.

Conclusion and Future Directions

The SLoClas database and SLCnet baseline establish a robust foundation for joint acoustic analysis. While the current work focuses on single-source scenarios at a fixed distance, it paves the way for future research into polyphonic sound scenes and varying room acoustics. The database and source code are publicly available to support further community development.

Summary updated

BibTeX
@inproceedings{qian2021sloclas,
  author = {Xinyuan Qian and Bidisha Sharma and Amine El Abridi and Haizhou Li},
  title = {{SLoClas: A Database for Joint Sound Localization and Classification}},
  booktitle = {O-COCOSDA},
  year = {2021},
  doi = {10.1109/o-cocosda202152914.2021.9660517},
}
Figure