Classification of Acoustic Data with Transformer Model

Authors

  • Dr. Denitsa Panova,

Keywords:

Student performance, Student competition, Winner-domain, Selecting teamers.

Abstract

Bees are essential to global ecosystems, particularly for pollinating crops, yet in recent years their populations have faced significant decline. One critical aspect of bee colony health is the ability to detect negative in-hive events such as a queen leaving the hive. Traditionally, beekeepers rely on manual inspections to assess hive conditions, a labor-intensive and time-consuming process. However, recent advances in machine learning offer new approaches to automating this task. Since 2016, there have been attempts to classify bee sounds using machine learning, employing the power of different machine learning methods, including deep learning architectures.
In this research, we explore the use of acoustic labeled data for in-hive event classification, focusing specifically on detecting when a queen leaves the hive. We utilize 12-hour recordings from different locations, with the data preprocessed and transformed to be suitable for input into a transformer-based neural network. Our goal is to demonstrate that transformer models yield superior results in this task compared to previous approaches. The study is organized into several key sections: we first highlight the ecological importance of bees, followed by a literature review on the state of bee sound classification research. We then delve into the data preparation process, model design, and present our findings. Our results underscore the potential of transformer models in automating hive monitoring, offering a scalable solution for beekeepers to protect and preserve bee populations.

References

A. M. Klein (2019) Importance of pollinators in changing landscapes for world crops.

D. P. Abrol (2019) Impact of insect pollinators on yield and fruit quality of strawberry.

B. K. Klatt (2013) Bee pollination improves crop quality, shelf life and commercial value.

B. Svensson (1991) The importance pf Honeybee-pollination for the quality and quantity of strawberries (fragaria x ananasa) in Sweden.

A. Barrionuevo (2007) Honeybees Vanish, Leaving Keepers in Peril. 2-7.

R. Morelle Neonicotinoid pesticides 'damage brains of bees.'.

R. G. Danka (1990) A bait station for survey and detection of honey bees. 21, 287-292.

R. Boys (1999) Listen to the Bees. 1–14.

R. A. Morse (1994) The Dance Language and Orientation of Bees. 187-188.

A. Zgank Bee Swarm Activity Acoustic Classification for an IoT-Based Farm Service.

T. Cejrowski (2018) Detection of the Bee Queen Presence using Sound Analysis.

O. D. G. H. a. K. S. D. Howard (2013) Signal processing the acoustics of honeybees (APIS MELLIFERA) to identify the ‘queenless’ state in Hives. 35, 290-297.

F. Rustam (2023) Bee detection in bee hives using selective features from acoustic data.

A. Robles-Guerrero (2019) Analysis of a multiclass classification problem by Lasso Logistic Regression and Singular Value Decomposition to identify sound patterns in queenless bee colonies. 159.

A. P. Ribeiro (2021) Machine learning approach for automatic recognition of tomato-pollinating bees based on their buzzing-sounds.

N. Di (2023) Applicability of VGGish embedding in bee colony monitoring: comparison with MFCC in colony sound classification.

S. Ruvinga (2023) Identifying Queenlessness in Honeybee Hives from Audio Signals Using Machine Learning.

A. I. S. Ferreira (2023) Automatic acoustic recognition of pollinating bee species can be highly improved by Deep Learning models accompanied by pre-training and strong data augmentation. 14.

I. N. a. E. Benetos To bee or not to bee: Investigating machine learning approaches for beehive sound recognition.

To bee or not to bee. https://www.kaggle.com/datasets/chrisfilo/to-bee-or-no-to-bee/data

L. P. Jason Wang (2017) The Effectiveness of Data Augmentation in Image Classification using DeepLearning.

Improved relation classification by deep recurrent neural networks with data augmentation.

Audiomentations. https://iver56.github.io/audiomentations/

Datasets and Arrows. https://huggingface.co/docs/datasets/en/about_arrow

Data types. https://huggingface.co/docs/dataset-viewer/en/data_types

R. Kora (2023) A Comprehensive Review on Transformers Models For Text Classification.

HuBERT. https://jonathanbgn.com/2021/10/30/hubert-visuallyexplained.html

A. Baevski (2020) wav2vec 2.0: A Framework for Self-Supervised Learning of Speech Representations.

M. H. M. K. R. Imane El Boughardini (2022) A Predictive Maintenance System Based on Vibration Analysis for Rotating Machinery Using Wireless Sensor Network (WSN).

D. O'Shaughnessy (1987) Speech communication: human and machine.

J. Castano (2023) Exploring the Carbon Footprint of Hugging Face's.

Tech giants pump $235m into AI start-up Hugging Face. https://www.siliconrepublic.com/start-ups/hugging-face-series-d-funding-salesforce-google-amd

Git PHD Bee. https://github.com/dpanova/PHD-Bees

Weights & Biases. https://wandb.ai/site

But what is the Fourier Transform. https://www.youtube.com/watch?v=spUNpyF58BY

A. Vaswani (2017) Attention Is All You Need.

HuggingFace Statistics. https://originality.ai/blog/huggingface-statistics

hubert-base-ls960. https://huggingface.co/facebook/hubert-base-ls960

Transformers: The rise and rise of Hugging Face. https://www.toplyne.io/blog/hugging-face-monetization-and-growth

Classification of Acoustic Data with Transformer Model

Downloads

Published

2025-04-22

How to Cite

Classification of Acoustic Data with Transformer Model. (2025). London Journal of Research In Computer Science and Technology, 25(1), 1-12. https://journalspress.uk/index.php/LJRCST/article/view/1572