arXiv:2609.10826cs.LGSep 2026

Manuscript Offprint

arXiv:2609.10826

Processing and classifying bird songs using wavelet techniques and supervised learning

Laura Lucia Dominguez Barrios, Fidel Aniano Causil Barrios, Alex Rodrigo dos Santos Sousa, Mariana Rodrigues Motta

Abstract

This study proposes an integrated framework for the processing and classification of invasive bird species vocalizations within natural soundscapes, characterized by high levels of environmental noise. We address the challenge of signal degradation by employing a Bayesian wavelet shrinkage methodology based on the Epanechnikov kernel prior, which offers a closed form decision rule and high computational efficiency for processing large bioacoustic datasets. The methodology was applied to recordings of three species obtained from the iNaturalist platform: Euphonia violacea, Leiothrix lutea, and Passer domesticus. After signal denoising, we extracted a comprehensive set of features, including Mel-Frequency Cepstral Coefficients (MFCCs) and spectral indices such as entropy and zero-crossing rate. Several supervised learning models: Random Forest, Multinomial Logistic Regression and Support Vector Machine (SVM) were evaluated across different feature dimensionalities. Our results demonstrate that the proposed wavelet based preprocessing significantly enhances classification performance, with the SVM model achieving the highest accuracy (up to 0.9398) under a 10-dimensional MFCC configuration. This research provides a robust statistical tool for automated ecological monitoring and the management of biological invasions.

Keywords Bioacoustics; wavelet; bayesian; classification; shrinkage; invasive species; supervised learning.

1 Introduction

Animal acoustic signals are shaped by selection to convey information based on their tempo, intensity, and frequency. However, sound signals degrade as they transmit over space and across physical obstacles (e.g., vegetation or infrastructure), which affects

1^{1}✉: 1175089@dac.unicamp.br

2^{2}✉: f244960@dac.unicamp.br

3^{3}✉: asousa@unicamp.br

4^{4}✉: marirm@unicamp.br communication potential. Therefore, propagation experiments are designed to quantify changes in signal structure in a given habitat by broadcasting and re-recording animal sounds at increasing distances (Araya-Salas et al., 2025).

The extinction of species presents an irreversible loss to humanity, and preventing biodiversity loss is one of the biggest challenges our society faces. There are challenges to sound-based recognition of individual species in any natural soundscape, such as due to a variable distance of the sound source (the animal) to the sensor (microphone); inter-species and inter-individual variation in vocalizations; multiple unique vocalizations (sonotypes) per species, including mimicry; or biases due to equipment (Darras et al., 2020).

Wavelet-based methods are widely applied in a range of fields, such as mathematics, signal and image processing, geophysics, and many others. In statistics, applications of wavelets arise mainly in the areas of non-parametric regression, density estimation, functional data analysis and stochastic processes. These methods basically utilize the possibility of representing functions that belong to certain functional spaces as expansions in wavelet basis, similar to other expansions such as polynomials, splines and Fourier. In particular, wavelet basis expansions are attractive due to their sparsity and localization properties; that is, most wavelet coefficients are equal to zero, while the few significant coefficients are concentrated around important features of the function, such as peaks, discontinuities, and oscillations. See Daubechies (1992) and Mallat (2009) for the theoretical background on wavelets, and Vidakovic (1999) and Nason (2008) for general statistical modeling using wavelets. For further applications of wavelet-based methods to birdsong analysis and classification, see Selin et al. (2006), Priyadarshani et al. (2016), Hsu et al. (2018), Priyadarshani et al. (2020), and, more recently, Li et al. (2025).

Bayesian approaches have also been extensively explored because they allow the incorporation of prior information, such as the sparsity property and the support of the coefficients, which is helpful in improving the estimates. The standard prior to the wavelet coefficients is of spike and slab type. Several prior distributions for the wavelet coefficients have been proposed in the literature. Most of them are composed of a mixture of a point mass at zero and a symmetric unimodal distribution, such as the normal (Chipman et al., 1997), double-exponential (Vidakovic and Ruggeri, 2001), double-Weibull (Reményi and Vidakovic, 2015), beta (Sousa et al., 2020) and logistic (dos Santos Sousa, 2022) distributions. Although the Bayesian shrinkage rules available in the literature have been successfully applied to several real data problems, they often do not perform well in data with high noise levels. Recently, (Barrios and dos Santos Sousa, 2025) proposed the use of a mixture of a point mass at zero and the Epanechnikov distribution as a prior for the wavelet coefficients, and the associated shrinkage rule showed good performance under high noise levels in simulation studies.

Our main objective is to develop a model for the classification of invasive birds based on bioacoustic signals obtained from natural soundscapes. These signals usually contain high levels of environmental noise from the recording sites, such as wind, insect sounds, and vocalizations from other species. Initially, the signals undergo a preprocessing stage in which silent time intervals are removed, the sampling rate (Hz) is standardized, and a wavelet shrinkage rule is applied for noise reduction and recovery of the true bird song. After preprocessing, covariates strongly associated with the bioacoustic signals are extracted, such as Mel-Frequency Cepstral Coefficients (MFCC). These features are then used to train different supervised classification models available in the literature, allowing the subsequent evaluation and comparison of their performance in the identification of invasive birds.

Sun et al. (2022) obtained results suggest that transfer learning and data augmentation could make the use of CNNs to classify species' vocalizations feasible even for small soundscape-based projects with many rare species.

The remainder of this paper is organized as follows. Section 2 presents a brief overview of wavelet shrinkage. Section 3 describes the materials and methods, including the datasets and the supervised learning methods. Section 4 presents and discusses the results of the statistical analysis. Finally, Section 5 concludes the paper with final remarks.

References (30)