Learning sound representations using trainable COPE feature extractors
Nicola Strisciuglio, Mario Vento, Nicolai Petkov

TL;DR
This paper introduces trainable COPE feature extractors for sound pattern detection, demonstrating high accuracy and robustness across various datasets, especially in noisy environments, with real-time processing capabilities.
Contribution
The paper presents a novel trainable feature extraction method called COPE, automatically configured from prototype sounds, improving sound pattern detection in noisy conditions.
Findings
Achieved recognition rates up to 94.27% on TU Dortmund dataset.
Demonstrated robustness to variations in SNR.
Enabled real-time sound pattern detection.
Abstract
Sound analysis research has mainly been focused on speech and music processing. The deployed methodologies are not suitable for analysis of sounds with varying background noise, in many cases with very low signal-to-noise ratio (SNR). In this paper, we present a method for the detection of patterns of interest in audio signals. We propose novel trainable feature extractors, which we call COPE (Combination of Peaks of Energy). The structure of a COPE feature extractor is determined using a single prototype sound pattern in an automatic configuration process, which is a type of representation learning. We construct a set of COPE feature extractors, configured on a number of training patterns. Then we take their responses to build feature vectors that we use in combination with a classifier to detect and classify patterns of interest in audio signals. We carried out experiments on four…
Click any figure to enlarge with its caption.
Figure 1
Figure 2
Figure 3| MIVIA audio events data set | ||||
|---|---|---|---|---|
| Training set | Test set | |||
| #Events | Duration (s) | #Events | Duration (s) | |
| BN | - | 77828.8 | - | 33382.4 |
| GB | 5600 | 8033.1 | 2400 | 3415.6 |
| GS | 5600 | 2511.5 | 2400 | 991.3 |
| S | 5600 | 7318.4 | 2400 | 3260.5 |
| Results - MIVIA audio events data set | |||||
|---|---|---|---|---|---|
| Detected class | |||||
| GB | GS | S | MDR | ||
| True class | GB | ||||
| GS | |||||
| S | |||||
| Results - MIVIA road events | ||||
| Guessed class | ||||
| CC | TS | MDR | ||
| True class | CC | |||
| TS | ||||
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Learning sound representations using
trainable COPE feature extractors
Nicola Strisciuglio
Mario Vento
Nicolai Petkov
Bernoulli Institute for Mathematics, Computer Science and Artificial Intelligence - University of Groningen, The Netherlands.
Department of Information and Electrical Engineering and Applied Mathematics (DIEM) - University of Salerno, Italy.
Abstract
Sound analysis research has mainly been focused on speech and music processing. The deployed methodologies are not suitable for analysis of sounds with varying background noise, in many cases with very low signal-to-noise ratio (SNR).
In this paper, we present a method for the detection of patterns of interest in audio signals. We propose novel trainable feature extractors, which we call COPE (Combination of Peaks of Energy). The structure of a COPE feature extractor is determined using a single prototype sound pattern in an automatic configuration process, which is a type of representation learning. We construct a set of COPE feature extractors, configured on a number of training patterns. Then we take their responses to build feature vectors that we use in combination with a classifier to detect and classify patterns of interest in audio signals.
We carried out experiments on four public data sets: MIVIA audio events, MIVIA road events, ESC-10 and TU Dortmund data sets. The results that we achieved (recognition rate equal to on the MIVIA audio events, on the MIVIA road events, on the ESC-10 and on the TU Dortmund) demonstrate the effectiveness of the proposed method and are higher than the ones obtained by other existing approaches. The COPE feature extractors have high robustness to variations of SNR. Real-time performance is achieved even when the value of a large number of features is computed.
keywords:
audio analysis, event detection, peaks of energy, representation learning, trainable feature extractors
††journal: Pattern Recognition
1 Introduction
Methods and systems for the automatic analysis of people and vehicle behavior, scene understanding, familiar place recognition and human-machine interaction are traditionally based on computer vision techniques. In robotics or public security, for instance, there has been a great effort to equip machines with capabilities for autonomous visual understanding. However, video analysis has some weak points, such as sensitivity to light changes and occlusions, or limitation to the field of view of the camera. Sound is complementary to visual information and can be used to improve the capabilities of machines to deal with the surrounding environment. Furthermore, there are cases in which video analysis cannot be used due to privacy issues (e.g. in public toilets).
In this paper we focus on automatic learning of representations of sounds that are suitable for pattern recognition, in the context of environmental sound analysis for detection and classification of audio events. Recently, the interest in automatic analysis of environmental sounds increased because of various applications in intelligent surveillance and security [1], assistance of eldery people [2], monitoring of smart rooms [3], home and social robotics [4], etc.
A large part of sound analysis research in the past years focused on speech recognition [5], speaker identification [6] and music classification [7]. Features and classifiers for voice analysis are established and widely used in practical systems: spectral or cepstral features in combination with classifiers based on Hidden Markov Models or Gaussian Mixture Models. However, state of the art methods for speech and music analysis do not give good results when applied to environmental sounds, which have highly non-stationary characteristics [8]. Most speech recognition methods assume that speech is based on a phonetic structure, which allows to analyze complex words or phrases by splitting them in a series of simple phonemes. In the case of environmental sound there is no underlying phoneme-like structure. Moreover, human voice has very specific frequency characteristics that are not present in other kinds of sound. For example, interesting events for surveillance applications, such as gun shots or glass breaking usually have high-frequency components that are not present in speech. For speech recognition and speaker identification the sound source is typically very close to the microphone. It implies that background noise has lower energy than foreground sounds and does not impair considerably the performance of the recognition system. Environmental sound sources can be, instead, at any distance from the microphone. Hence, the background noise can have relatively high energy, so determining very low or even negative signal-to-noise ratio (SNR).
Existing methods for detection of audio events, for which we provide an extensive overview in Section 2, are based on the extraction of hand-crafted features from the audio signal. The features extracted from (a part of) the audio signal are submitted to a classification system. The employed features describe stationary and non-stationary properties of the signals [9]. This approach to pattern recognition requires a feature engineering step that aims at choosing or designing a set of features that describe important characteristics of the sound for the problem at hand. Widely used features are mainly borrowed from the field of speech recognition: responses of log-frequency filters, Mel-frequency cepstral coefficients, wavelet transform coefficients among others. The choice of effective features or combination of them is a critical step to build an effective system and requires considerable domain knowledge.
More recent approaches do not rely on hand-crafted features but rather involve automatic learning of data representations from training samples by using deep learning and convolutional neural networks (CNN) [10]. CNNs were originally proposed for visual data analysis, but have also been successfully applied to speech [11], music processing [12] and sound scene classification [13]. While they achieve very good performance, they require very large amount of labeled training data which is not always available.
In this work, we propose trainable feature extractors for sound analysis which we call COPE (Combination of Peaks of Energy). They are trainable as their structure is not fixed in advance but it is rather learned in an automatic configuration procedure using a single prototype pattern. This automatic configuration of feature extractors is a type of representation learning. It allows to automatically construct a suitable data representation to be used together with a classifier and does not require considerable domain expertise. We configure a number of COPE feature extractors on training sounds and use their responses to build a feature vector, which we then employ as input to a classifier. With respect to [14], in which we reported preliminary results obtained using COPE feature extractors on sound events with the same SNR, in this work we provide:
a) a detailed formulation of the configuration and application steps of COPE features,
b) a thourough validation of the performance of a classification system based on COPE features when tested with sounds with different values of SNR,
c) an extension of the MIVIA audio events data set the includes null or negative SNR sound events and
d) a wide comparison of the proposed method with other existing approaches on four benchmark data sets.
Furthermore, we discuss the importance of robustness to variations of the background noise and SNR of the events of interest, for applications of sound event detection in Section 5.4. We provide a detailed analysis of the contribution of the COPE features to the improvement of sound event detection and classification performance with respect to existing approaches.
The design of COPE feature extractors was inspired by certain properties of the inner auditory system, which converts the sound pressure waves that reach our ears into neural stimuli on the auditory nerve. In the A we provide some details about the biological mechanisms that inspired the design of the COPE feature extractors.
We validate the effectiveness of the proposed COPE feature extractors by carrying out experiments on the following public benchmark data sets: MIVIA audio events [15], MIVIA road events [16], ESC-10 [17], TU-Dortmund [18].
The main contributions of this work are:
a) novel COPE trainable feature extractors for representation learning of sounds that are automatically configured on training examples,
b) a method for audio event detection that uses the proposed features,
c) the release of an extended version of the MIVIA audio events data set with sounds at null and negative SNR.
The rest of the paper is organized as follows. In Section 2 we review related works, while in Section 3 we present the COPE feature extractors and the architecture of the proposed method. We describe the data sets used for the experiments in Section 4. We report the results that we achieved, a comparison with existing methods and an analysis of the sensitivity of the performance of the proposed method with respect to the parameters of the COPE feature extractors in Section 5. We provide a discussion in Section 6 and, finally, draw conclusions in Section 7.
2 Related works
Representation learning has recently received great attention by researchers in pattern recognition with the aim of constructing reliable features by direct learning from training data. Methods based on deep learning and CNNs were proposed to learn features for several applications: age and gender estimation from facial images [19], action recognition [20], person re-identification [21], hand-written signature verification [22], and also sound analysis [23]. Other approaches for feature learning focused on sparse dictionary learning [24, 25], learning vector quantization [26], and on extensions of the bag of features approach based on neural networks [27] or higher-order pooling [28].
In the context of audio analysis research, it is common to organize existing works on sound event detection according to the feature sets and classification architectures that they employ. Early methods approached the problems of sound event detection and classification by dividing the audio signal into small, partially overlapped frames and computing a feature vector for each frame. The used features ranged from relatively simple (e.g. frame energy, zero-crossing rate, sub-band energy rate) to more complicated ones (e-g. Mel-frequency Cepstral Coefficients [29], log-frequency filter banks [30], perceptual linear prediction coefficients [31], etc.). The frame-level feature vectors were then used together with a classifier to perform a decision. Gaussian Mixture Model (GMM) based classifiers were largely employed to classify the frames as part of sounds of interest or background [32, 33]. To limit the influence of background sounds on the classification performance, One-Class Support Vector Machines were proposed [34].
Spectro-temporal features based on spectrogram or other time-frequency representations were also developed [35, 36]. Inspired by the way the inner auditory system of humans responds to the frequency of the sounds, an auditory image model (AIM) was proposed [37]. The AIM was used as basis for improved models which are called stabilized auditory images (SAI) [38]. In [39], the event detection was formulated as an object detection problem in a spectrogram-like representation of the sound, and approached by using a cascade of AdaBoost classifiers. The design of hand-crafted features poses some limitations to the construction of systems that are robust to varying conditions of the events of interest and requires considerable domain knowledge.
In order to construct more reliable systems, efforts towards automatic learning of features from training data by means of machine learning techniques were made. Various approaches based on bag of features were proposed for sound event representation and classification [40, 41]. A code-book of basic audio features (also called audio words) is directly learned from training samples as result of a quantization of the feature space by means of various clustering algorithms (e.g. k-Means or fuzzy k-Means). A comparison of hard and soft quantization of audio words was performed in [15]. Other approaches for the construction of a code-book of basic audio words were also based on non-negative matrix factorization [42] or sparse coding [43]. In the bag of features representation, the information about the temporal arrangement of the audio words is lost. This was taken into account in [44] and [45], where a feature augmentation and a classifier based on Genetic Motif Discovery were proposed, respectively. The sequence of audio words were also employed in [46] and [47]. The temporal information was described by a pyramidal approach to bag of features in [18, 48]. A method for sound representation learning based on Convolutional Neural Networks (CNN) was proposed in [49]. Learning features from training samples does not require an engineering effort and allows for the adaptation of the recognition systems to various problems. However, the effectiveness and generalization capabilities of learned features depend on the amount of available training data.
Evaluation of algorithms for audio event detection on public benchmark data sets is a valuable tool for objective comparison of performance. The great attention that was dedicated to music and speech analysis determined the publication of several data sets used in scientific challenges for benchmarking of algorithms. The MIREX challenge series evaluated systems for music information retrieval (MIR) [50]. The CHiME challenge focused on speech analysis in noisy environments [51]. The “Acoustic event detection and classification” task of the CLEAR challenges (2006 and 2007) focused on the detection of sound events related to seminars, such as speech, chair moving, door opening and applause [52]. Recently, the DCASE challenge [53] stimulated the interest of researchers on audio processing for the analysis of environmental sounds. The attention was driven towards audio event detection and classification and scene classification.
3 Method
In Figure 1, we show an overview of the architecture of the proposed method. The algorithm is divided in two phases: configuration and application.
In the configuration phase (dashed line), the Gammatonegrams (see details in Section 3.1) of prototype training sounds are used to configure a set of COPE feature extractors (see Section 3.2.2). Successively, the response of the set of COPE feature extractors, computed on the sounds in the training set, are employed to construct COPE feature vectors (Figure 1b-d). A multi-class SVM classifier is finally trained using the COPE feature vectors (Figure 1e) to distinguish between the classes of interest for the application at end.
In the application phase, the previously configured set of COPE feature extractors is applied to extract feature vectors from input unknown sounds and the multi-class SVM classifier is used to detect and classify sound events of interest. The implementation of the COPE feature extractors and the proposed classification architecture is publicly available111The code is available at http://gitlab.com/nicstrisc/COPE.
3.1 Gammatonegram
The traditional and most used time-frequency representation of sounds is the spectrogram, in which the energy distribution over frequencies is computed by dividing the frequency axis into sub-bands with equal bandwidth. In the human auditory system, the resolution in the perception of differences in frequency changes according to the base frequency of the sound. At low frequency the band-pass filters have a narrower bandwidth than the ones at high frequency. This implies higher time resolution of filters at high frequency that are able to better catch high variations of the signal. In this work we employ a bank of Gammatone band-pass filters, whose bandwidth increases with increasing central frequency. The functional form of Gammatone is biologically-inspired and models the response of the cochlea membrane in the inner ear of the human auditory system [54].
The impulse response of a Gammatone filter is the product of a statistical distribution called Gamma and a sinusoidal carrier tone. It is formally defined as:
[TABLE]
where is the central frequency of the filter, and is its phase. The constant controls the gain and is the order of the filter. The parameter is a decay factor and determines the bandwidth of the band-pass filter. The relation between the central frequency of a Gammatone filter and its bandwidth is given by the Equivalent Rectangular Bandwidth (ERB):
[TABLE]
where is the asymptotic filter quality at high frequencies and is the minimum bandwidth at low frequencies, while is usually equal to 1 or 2. In [55], the parameters , and where determined by measurements from notched-noise data. In Figure 2a, we show the impulse response of two Gammatone filters with low ( Hz) and higher ( KHz) central frequencies. The filter with higher central frequency has larger bandwidth, as it can be seen from their frequency response in Figure 2a.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] M. Crocco, M. Cristani, A. Trucco, V. Murino, Audio surveillance: A systematic review, ACM Comput. Surv. 48 (4) (2016) 52:1–52:46. doi:10.1145/2871183 . · doi ↗
- 2[2] M. Vacher, F. Portet, A. Fleury, N. Noury, Challenges in the processing of audio channels for ambient assisted living, in: IEEE Healthcom, 2010, pp. 330–337.
- 3[3] J. C. Wang, H. P. Lee, J. F. Wang, C. B. Lin, Robust environmental sound recognition for home automation, IEEE Trans. Autom. Sci. Eng 5 (1) (2008) 25–31.
- 4[4] J. Maxime, X. Alameda-Pineda, L. Girin, R. Horaud, Sound representation and classification benchmark for domestic robots, in: IEEE ICRA, 2014, pp. 6285–6292. doi:10.1109/ICRA.2014.6907786 . · doi ↗
- 5[5] L. Besacier, E. Barnard, A. Karpov, T. Schultz, Automatic speech recognition for under-resourced languages: A survey, Speech Communication 56 (0) (2014) 85–100. doi:10.1016/j.specom.2013.07.008 . · doi ↗
- 6[6] A. Roy, M. Magimai-Doss, S. Marcel, A fast parts-based approach to speaker verification using boosted slice classifiers, IEEE Trans. Inf. Forensics Security 7 (1) (2012) 241–254. doi:10.1109/TIFS.2011.2166387 . · doi ↗
- 7[7] Z. Fu, G. Lu, K. M. Ting, D. Zhang, A survey of audio-based music classification and annotation, IEEE Trans. Multimedia 13 (2) (2011) 303–319.
- 8[8] M. Cowling, R. Sitte, Comparison of techniques for environmental sound recognition, Pattern Recogn. Lett. 24 (15) (2003) 2895–2907.
