Birdsong Recognition Based on Attention Hash Algorithm Combined with Contrastive Loss

Aiming at the problems of length misalignment, redundancy, noise and large intra-class differences in birdsong data collected in the natural environment, an automatic birdsong recognition model composed of a two-stage hash algorithm based on multi- level attention and a lightweight classifier based on fusion contrastive loss is proposed. The first stage of the hash algorithm solves the problem of redundancy and noise by firstly dividing the logarithmic Mel spectrogram and calculating the self-attention between each fragment, extracting the calculated multi-level self-attention weight matrix, and then using the weight matrix weighted by the custom noise suppression coefficient to trim the redundancy and noise fragments in the input. The second stage of the hash algorithm solves the problem of misalignment of input dimensions, specifically by using a correlation weight matrix constructed by multi-level attention to screen input fragment to achieve dimension normalization. Aiming at the problem of large intra-class differences, a comprehensive loss function of fusion contrastive loss is proposed, which improve the ability to extract generalized features. The proposed model achieves the best performance of 92. 49% on the self-built dataset of 14 kinds of bird songs, and the recognition accuracy of 94. 38% and 97. 74% on the public datasets BirdsData and BIRDS, respectively, surpassing the existing methods.

Institutions

Publication Details

Journal
SHILAP Revista de lepidopterología
Published
2024-12-01
DOI
https://doi.org/10.15938/j.jhust.2024.06.006
Primary Topic
Animal Vocal Communication and Behavior
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Birdsong Recognition Based on Attention Hash Algorithm Combined with Contrastive Loss

SHILAP Revista de lepidopterología
Animal Vocal Communication and Behavior
article

Birdsong Recognition Based on Attention Hash Algorithm Combined with Contrastive Loss

article en

Abstract

Aiming at the problems of length misalignment, redundancy, noise and large intra-class differences in birdsong data collected in the natural environment, an automatic birdsong recognition model composed of a two-stage hash algorithm based on multi- level attention and a lightweight classifier based on fusion contrastive loss is proposed. The first stage of the hash algorithm solves the problem of redundancy and noise by firstly dividing the logarithmic Mel spectrogram and calculating the self-attention between each fragment, extracting the calculated multi-level self-attention weight matrix, and then using the weight matrix weighted by the custom noise suppression coefficient to trim the redundancy and noise fragments in the input. The second stage of the hash algorithm solves the problem of misalignment of input dimensions, specifically by using a correlation weight matrix constructed by multi-level attention to screen input fragment to achieve dimension normalization. Aiming at the problem of large intra-class differences, a comprehensive loss function of fusion contrastive loss is proposed, which improve the ability to extract generalized features. The proposed model achieves the best performance of 92. 49% on the self-built dataset of 14 kinds of bird songs, and the recognition accuracy of 94. 38% and 97. 74% on the public datasets BirdsData and BIRDS, respectively, surpassing the existing methods.

SHILAP Revista de lepidopterología
Central South University of Forestry and Technology (CN), Central South University (CN)
Life in Land
Openalex Percentile: Top 74%
Animal Vocal Communication and Behavior
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.