Abstract
Sound counting in complex acoustic environments remains a significant challenge due to high polyphony and overlapping sound events. This paper introduces SoundCount, a novel framework utilizing the Dyadic Decomposition Neural Network (DyDecNet). By employing a hierarchical frequency decomposition front-end and energy gain normalization, DyDecNet effectively counts overlapping sounds directly from raw waveforms. Experimental results across bioacoustic and general audio datasets demonstrate that DyDecNet significantly outperforms existing sound event detection and source separation methods.
Introduction
Counting distinct objects in images is a well-established task in computer vision. However, counting "crowds" of sounds—such as identifying the number of birds in a dense forest recording—presents unique difficulties. In "SoundCount: Sound Counting from Raw Audio with Dyadic Decomposition Neural Network," researchers propose DyDecNet, an end-to-end architecture designed to navigate the "polyphonic mess" of overlapping acoustic signals.
The Challenge of Polyphonic Audio
Traditional approaches to sound counting often rely on Sound Event Detection (SED), assuming that identifying the onset and offset of every sound naturally leads to an accurate count. However, SED methods frequently fail in scenarios with high polyphony (multiple simultaneous sounds) and intra-class overlap (multiple instances of the same sound type). Because audio signals are additive, sounds mask one another in both time and frequency, making disentanglement extremely difficult for standard models.
The DyDecNet Architecture
The core of the SoundCount framework is DyDecNet, which processes raw audio through three specialized components:
- Dyadic Decomposition Front-end: Instead of a fixed Short-Time Fourier Transform (STFT), the model utilizes a hierarchy of learnable
sincfilters. This binary tree structure splits audio into progressively finer frequency bands (coarse-to-fine), allowing the network to adaptively learn the most relevant spectral features for counting. - Energy Gain Normalization (eg-Norm): To address the issue of varying loudness (e.g., a distant vs. nearby sound), the
eg-Normmodule uses Gaussian smoothing and learnable gain parameters. This helps mitigate masking effects where loud foreground noises drown out quieter background events. - Backbone Module: A series of pooling and convolutional layers extract high-level features from the time-frequency map generated by the front-end.
Training via Density Map Regression
A key innovation in DyDecNet is the use of density map regression rather than direct count prediction. The network predicts a 1D density map over the temporal axis. The final count is obtained by integrating (summing) this map. This approach preserves temporal information and is more robust to the complexities of overlapping sounds than simple classification or direct regression.
Experimental Evaluation
The researchers evaluated DyDecNet on a wide range of datasets, including bioacoustic recordings (NorthEastUS), general audio (AudioSet, OpenMic2018), and synthetic environmental sounds. To accurately assess performance in crowded scenes, they introduced polyphony-aware metrics such as the polyphony ratio and mean polyphony.
DyDecNet consistently outperformed state-of-the-art SED-based models (like CRNNNet) and source separation models (like DPTasNet). On the massive AudioSet benchmark, DyDecNet achieved a Mean Squared Error (MSE) of 0.32, a significant improvement over the 0.81 achieved by the next best competitor. Notably, the model maintained high accuracy even as polyphony increased, whereas traditional methods saw a sharp decline in performance.
Conclusion
DyDecNet demonstrates that effective sound counting does not require perfect source separation. By focusing on hierarchical frequency decomposition and explicit loudness modeling, the network can "see through" acoustic clutter. While performance may vary as the diversity of sound classes increases, the SoundCount framework provides a powerful tool for applications ranging from biodiversity monitoring to urban noise analysis.
Summary updated