Abstract
Sound recognition is effortless for humans but poses a significant challenge for artificial hearing systems. Deep neural networks (DNNs), especially convolutional neural networks (CNNs), have recently surpassed traditional machine learning in sound classification. However, current DNNs map sounds to labels using binary categorical variables, neglecting the semantic relations between labels. Cognitive neuroscience research suggests that human listeners exploit such semantic information besides acoustic cues. Hence, our hypothesis is that incorporating semantic information improves DNN’s sound recognition performance, emulating human behavior. In our approach, sound recognition is framed as a regression problem, with CNNs trained to map spectrograms to continuous semantic representations from NLP models (Word2Vec, BERT, and CLAP text encoder). Two DNN types were trained: semDNN with continuous embeddings and catDNN with categorical labels, both with a dataset extracted from a collection of 388,211 sounds enriched with semantic descriptions. Evaluations across four external datasets confirmed the superiority of semantic labeling from semDNN compared to catDNN, preserving higher-level relations. Importantly, an analysis of human similarity ratings for natural sounds showed that semDNN approximated human listener behavior better than catDNN, other DNNs, and NLP models. Our work contributes to understanding the role of semantics in sound recognition, bridging the gap between artificial systems and human auditory perception.
1. Introduction
Standard sound recognition systems typically treat labels as "orthogonal" categories. In a one-hot encoding scheme, a "dog bark" is mathematically as distant from a "cat meow" as it is from a "chainsaw." This ignores the rich semantic relationships that humans naturally utilize to organize sounds. Human listeners exploit semantic information alongside acoustic cues, grouping sounds into meaningful hierarchies (e.g., "animal sounds"). This research addresses the disconnect between artificial categorical systems and human semantic processing by developing "semantically informed" Deep Neural Networks (semDNNs).
2. Methods and Data
The researchers compared two primary architectures:
- catDNN (Categorical): A standard CNN trained for multi-label classification using binary cross-entropy loss.
- semDNN (Semantic): A CNN trained as a regression model to map audio spectrograms to continuous semantic vectors (embeddings) derived from NLP models like Word2Vec, BERT, and CLAP.
The models were trained on the Super Hard Drive Combo (SHDC) dataset, comprising 388,211 sounds. A semantically balanced subset of ~274,000 sounds was used to mitigate bias. Evaluation was performed across four external benchmarks: FSD50k, ESC-50, Urban Sound 8K, and MSOS.
3. Results and Discussion
The semDNN models consistently outperformed catDNN across external datasets. Key metrics included Ranking Score and Average Max Cosine Similarity (AMCSS). Notably, Word2Vec-based semDNNs often surpassed more complex models like BERT, likely due to the keyword-based nature of the sound labels.
On the MSOS dataset, semDNN demonstrated a significantly higher correlation with the true categorical structure of the world (Pearson $r = 0.340$) compared to catDNN ($r = 0.193$). Furthermore, Representational Similarity Analysis (RSA) showed that semDNN internal representations aligned more closely with human behavioral similarity ratings ($R^2_{CV} = 0.3713$) than established models like Google’s Yamnet (0.3015) or VGGish (0.2262).
4. Conclusion
By mapping sounds into a continuous linguistic space, semDNNs achieve more "graceful" errors and better mimic human auditory perception. While current models rely on keyword labels, future work could extend this to natural language audio captioning. This approach bridges the gap between artificial hearing systems and human cognitive processes, offering a more ecologically valid framework for sound recognition.
Summary updated