Skip to main content
PLOS One logoLink to PLOS One
. 2025 Jun 18;20(6):e0325732. doi: 10.1371/journal.pone.0325732

Hidden Markov model for acoustic pesticide exposure detection and hive identification in stingless bees

Alex Otesbelgue 1,*, Amara Jean Orth 2, Chandler David Fong 3, Carol Anne Fassbinder-Orth 4, Betina Blochtein 5, Maria João Ramos Pereira 1
Editor: Munir Ahmad6
PMCID: PMC12176195  PMID: 40531818

Abstract

Pollinator populations are declining globally at an unprecedented rate, driven by factors such as pathogens, habitat loss, climate change, and the widespread application of pesticides. Although colony losses remain difficult to prevent, precision beekeeping has introduced non-invasive strategies for monitoring hive conditions. Acoustic data, combined with machine learning techniques, has proven effective in detecting stressors and specific events in honeybee colonies; however, such methodologies remain underexplored for stingless bees, a group of native pantropical pollinators. Meliponiculture, the practice of keeping stingless bees, is an expanding field that offers significant economic and conservation benefits. Stingless bees are particularly susceptible to pesticide toxicity, even at residual concentrations, underscoring the critical need to prevent hive losses and to understand the impacts of sub-lethal pesticide exposure on these species. This study addresses the challenge of detecting airborne pesticide exposure by aiming to identify stress responses in hives of the stingless bee Tetragonisca fiebrigi when exposed to chlorpyrifos, a commonly used insecticide. We employed a Hidden Markov Model (HMM) with MATLAB’s Hidden Markov Model Toolkit (MATLABHTK) to analyze acoustic data from eight hives under both exposed and unexposed conditions, assessing the potential of acoustic monitoring as an indicator of pesticide-related stress. Initial analysis across multiple hives indicated moderate model performance. However, hive-specific analyses yielded higher performance in detecting pesticide exposure. Furthermore, the model accurately classified individual hives, suggesting the presence of a distinct acoustic ’fingerprint’ for each hive. These findings advance the field of stingless bee bioacoustics and provide initial evidence that acoustic monitoring of stingless bee hives could be a useful and non-invasive tool to detect airborne pesticide contamination.

Introduction

The ongoing global decline in both wild and managed bee populations is attributed to a combination of factors, including habitat loss, pathogens, climate change and the intensive use of pesticides [1,2]. While colony losses can be challenging to prevent, advancements in precision apiculture have led to the development of techniques for accurately monitoring hives and detecting stressors, such as Varroa mite infestations, queen absence, and, in some cases, exposure to pollutants [37]. These methods, which leverage machine learning models, are non-invasive and enable rapid, precise assessments of hive conditions, facilitating effective hive management and intervention.

One novel health metric of bee colonies is the colony’s vibroacoustic signal. Indeed, bees produce various vibroacoustic signals through wing and body movements, and muscle contractions without wing movements at high frequency [8,9]. Bees use a range of different signals for communication [1013]. Studies on honeybees have shown that the health, activity, and status of the hive can be determined by vibroacoustics [5,6,1417]. In this species, sound patterns change in response to different stressors such as chemicals [6]. Honey bee vibrations have been processed with several machine learning models, including deep neural networks Internet of Things (IoT)-based solutions to detect swarming [18], and the use of Mel spectra, Mel-frequency cepstral coefficients (MFCCs), and Hilbert Huang Transform (HHT) to determine if a colony is queenright or queenless [17,19].

Hidden Markov models (HMM) are statistical models that are based on a Markov process in which the state of one event depends on the state of a previous one [20]. These models have been used in speech recognition, thermodynamics, and various pattern recognition applications [21]. The Hidden Markov Model Toolkit is a collection of source code that can be used within computing programs like MATLAB to generate Hidden Markov Models [22] for research focused on speech recognition. Although HMMs and HTK have been used to detect vertebrate sounds and movements [2325] and HMMs have been explored as part of IoT solutions to detect swarming [18], the methodology has not otherwise been investigated for their ability to predict or assign various bee colony states.

Despite the rapid advancements in precision beekeeping and the demonstrated potential of these techniques to assess hive conditions, most studies have focused on Apis mellifera [14,26]. In contrast, stingless bees, a diverse group of eusocial insects native to Neotropical regions extending from Uruguay to central Mexico and also found in Africa, India, Southeast Asia, and Australia, remain underexplored in this field [27]. However, meliponiculture—the management of stingless bees—is gaining traction as both a source of income for families and a conservation strategy for these vital pollinators [28,29].

Stingless bees face significant threats, including pesticide exposure, to which they are more sensitive compared to honeybees [30]. For instance, larval gynes of Plebeia droryana exposed to the neonicotinoid insecticide imidacloprid exhibit abnormal post-eclosion behavior, leading to aggression and fatal attacks by worker bees [31]. Similarly, colonies of Melipona quadrifasciata exposed to neonicotinoid and pyrethroid pesticides show disruptions in social behavior and communication [32]. In Tetragonisca angustula, exposure to chlorpyrifos, cyflumetofen, and difenoconazole induces behavioral alterations among surviving bees [33].

Globally, the use of insecticides has risen over the last decades [34]. This trend is pronounced in Brazil, where agricultural activities expanded by 8.1% between 2000 and 2015, while insecticide use increased by an alarming 152% during the same period [35]. Although bees are highly susceptible to pesticide exposure and airborne contamination, the concentrations that harm bees often fall below thresholds for acute toxicity in humans [36,37]. Nonetheless, chronic, low-level exposure to these substances in humans can lead to irreversible health conditions and developmental issues [38,39]. Thus, monitoring bee populations offers a valuable bioindicator of environmental contamination [40,41].

In this study, we investigated the acoustic patterns of the stingless bee Tetragonisca fiebrigi using HMM as a means of detecting possible sound-based hive identification and pesticide-induced stress responses. Hives were exposed to chlorpyrifos, a widely used insecticide, to identify potential changes in their acoustic profiles. We recorded audio data during both undisturbed and exposure periods, aiming to detect shifts in acoustic signals indicative of stress, which could further support the potential use of stingless bee bioacoustics as bioindicators of airborne pesticide contamination.

Materials and methods

Colony details

The experiment was conducted in Mariana Pimentel, RS, Brazil (30° 24’08.9”S, 51° 35’06.5”W). Eight hives were included in the study. All hives met the following criteria: a) Presence of a queen; b) Recent brood cells, ensuring ongoing oviposition; c) Stocked honey and pollen reserves; d) No visible signs of disease or impairments.

Each hive was placed inside a plastic tunnel (three m long, one m wide, and 1.6 m high) with one side open to contain the pesticide and prevent it from spreading beyond the experimental area (Fig 1). The hives were three m apart from each other. The experiment consisted of two trials, both in 2024: the first took place from January 22 to 27 with four hives, and the second from March 25 to 31 with the remaining four hives. Each hive was recorded for two days undisturbed, then exposed to water spray on one day, pesticide spray on the next, and followed for two more days without disturbance. Subsequently, we describe each experimental step in detail.

Fig 1. Experimental design.

Fig 1

A) Tunnel placement and experimental layout. The tunnels were positioned three meters apart, with each containing a single hive. The diagram illustrates the activities conducted on each day of the experiment. B) Tunnel structure. Each tunnel measured three meters in length, one meter in width, and 1.6 meters in height. Spraying was performed in front of the hive using a pressure-based sprayer.

Vibroacoustic signal collection

Each hive was equipped with an AudioMoth® recorder, secured with a mosquito net and masking tape for protection (Fig 2). To avoid the known variability in bee activity during different times of the day, we selected a specific time window for all recordings. The devices were programmed to record from 12:30 PM to 5:30 PM, capturing 30-second audio clips every minute. The recordings were set at a 48 kHz sample rate with medium gain.

Fig 2. Equipment installed inside the hive.

Fig 2

Schematic representation of the hive, showing the wooden modules, the brood combs located at the center, and the microphone positioned adjacent to the brood.

Pesticide exposure

Initially, hives were recorded for two consecutive days without disturbance. On the third day, all hives were exposed to a water spray applied from one meter away from the hive entrance. On the fourth day, three hives received chlorpyrifos spray, while one control hive received only water spray. In the following days, the hives were once again recorded without disturbance (Fig 1).

To better reflect real-world conditions, we used a commercial chlorpyrifos formulation. Although the effects of adjuvants cannot be separated from those of the active ingredient in this approach, it enhances the relevance of our findings for biomonitoring applications. The exposure dose was based on the LC50 (0.0033 μg a.i./μL) for topical exposure in Tetragonisca fiebrigi [36]. The objective was not to kill the colonies, but to guarantee a scientifically supported effect on the bees that were topically exposed.

The spraying was performed using a pressure sprayer (Vonder®, 1.5 liters), pressurized by 13 pump strokes. The application was carried out one meter away from the entrance of the hive and at a height of 60 centimeters. The liquids were sprayed in front of the hive for a duration of 18 seconds.

File annotation

To create the training files, the .wav audio files from hives with known states were annotated by generating corresponding .txt files containing the states (as defined in Table 1). Initially, we annotated files to represent the chlorpyrifos exposure state, using data from all eight hives collectively (Table 1). Accordingly, audio files recorded during undisturbed conditions, including those involving water spray, were labeled as ’0’ (baseline). This included recordings from all hives, regardless of whether they were later exposed to chlorpyrifos or remained as controls, as long as no pesticide had been applied. The files corresponding to periods of 30 minutes to two and a half hours after pesticide exposure were labeled ’1’. Subsequently, the same annotation process was applied, but each hive’s dataset was analyzed individually in separate runs. Finally, we annotated files for basic colony identification across all studied hives. These label files were then utilized to train the Hidden Markov Model.

Table 1. States used in file annotation.

State State Levels
ChlorpyrifosExposure 0 = baseline (including water spray); 1 = 30 min to 2.5 hrs after chlorpyrifos exposure
BasicHiveIdentification 1-8, corresponding to each of the hives studied

Hidden Markov model development

We built a HMM according to Ranjard et al (2017) [25], with modifications. Briefly, an Oracle VirtualBox was installed on a Windows computer (32 GB RAM, 500 GB Hard Drive). Next, Ubuntu 20.04.2.0 LTS and MATLAB (version R2020b) were installed and the source code and samples files of a MATLAB Hidden Markov Model Toolkit (MATLABHTK) version 3.4.1 for Linux/Unix were downloaded (https://github.com/LouisRanjard/matlabHTK) and installed. Annotated sound files were used for training within the MATLABHTK framework and HMMs were produced for each state (2 HMMs for Chloropyrifos Exposure and 8 HMMs for Basic Hive Identification). Specifically, .wav files and corresponding label .txt files were analyzed using the train HTK command in MATLAB, which generated HMMs for each state. Next, .wav files without corresponding label files were analyzed using the recognise HTK command. Next, for each file, the state with the highest associated total time was determined and used for analysis of model accuracy (Fig 3).

Fig 3. Hidden Markov Model Training and Recognition Process with MATLABHTK.

Fig 3

Training with sound files and annotated label files was performed with the train HTK command while recognition was performed with the train HTK directory and unknown sound files with the recognise HTK command.

Performance metrics

Since the dataset was unbalanced, with more samples from no-exposure periods than from exposure periods, we randomly selected baseline samples to match the number of exposure samples. This resampling process was repeated 1,000 times, and the mean of the resulting metrics was calculated. This approach was applied to: (a) pesticide detection using the dataset from all hives combined, and (b) pesticide detection for each hive individually. For hive identification, both exposed and non-exposed periods were included, and the data was inherently balanced (equal number of samples per hive), so no resampling was necessary.

We evaluated the model’s performance using several metrics to gain a detailed understanding of its effectiveness. Accuracy was analyzed to determine how often the model correctly classified the data overall, providing a general measure of its reliability. Precision focused on the model’s ability to accurately predict pesticide exposure periods from acoustic data, measuring the proportion of correct positive predictions (true positives) among all predictions of exposure. This helped assess how often the model avoided false alarms about pesticide exposure. Recall, also known as sensitivity, measured the model’s ability to identify all actual periods of pesticide exposure. It quantified the proportion of true positives relative to the total number of actual exposure events, indicating how well the model captured all exposure periods without missing any.

Specificity, on the other hand, evaluated the model’s ability to correctly identify non-exposure periods. It calculated the proportion of true negatives (correctly identified non-exposure periods) among all actual non-exposure events, helping assess how effectively the model avoided incorrectly labeling non-exposure periods as exposure.

Finally, the F1 score provided a balanced evaluation by combining precision and recall into a single metric. Calculated as the harmonic mean of these two measures, the F1 score offered a comprehensive view of the model’s ability to detect true exposure periods while minimizing false positives.

Results and discussion

Initial observations

During the application of both water and the pesticide, guard bees and foragers at the nest entrance came into direct contact with the sprayed liquid. Following each exposure, foraging activity was temporarily interrupted, and all guard bees retreated into the hive. In the case of pesticide application, this behavior may have contributed to the substance’s entry into the colony. For both treatments, normal activity resumed approximately six minutes after the disturbance. Liquid droplets were deposited on the wooden hive surface, with a few also reaching the ground. No dead bees were observed at the nest entrance or on the surrounding area, and the droplets evaporated shortly after application.

Pesticide exposure detection

Our results demonstrate that HMM can effectively classify when Tetragonisca fiebrigi hives are exposed to the chlorpyrifos insecticide at the CL50 for topical exposure. However, the model’s performance was lower when using the dataset from all eight hives combined compared to when hive-specific datasets were used (Table 2).

Table 2. HMM Metrics in Pesticide Exposure Detection Task.

Hive Accuracy 95% CI Specificity Precision Recall F1 Score
All 0.6757 (0.6468, 0.7036) 0.8420 0.7632 0.5093 0.6109
1 0.8681 (0.8102, 0.9136) 0.8352 0.8454 0.9011 0.8723
3 0.8297 (0.7670, 0.8812) 0.7634 0.7843 0.8989 0.8377
4 0.8626 (0.8039, 0.9091) 0.8901 0.8837 0.8352 0.8588
5 0.8516 (0.7915, 0.8999) 0.7473 0.7909 0.9560 0.8657
7 0.8352 (0.7731, 0.8859) 0.7143 0.7699 0.9560 0.8529
8 0.8077 (0.7428, 0.8622) 0.6374 0.7295 0.9780 0.8357

Notably, when analyzing the combined dataset, the specificity—reflecting the model’s ability to correctly classify non-exposure states—was higher than recall, which measures the correct classification of exposure states. The model showed a high precision for exposure classification, indicating that most files classified as exposure were correctly labeled. However, it misclassified a significant portion of exposure files as non-exposure, leading to a recall value slightly above random chance. This highlights a limitation in detecting exposure events under the current dataset conditions.

It is known that variability in hive conditions, such as disease presence, environmental stressors, and resource availability, must be considered when assessing bee toxicological responses [42]. The hives in this study maintained standardized health conditions and were recorded under similar environmental parameters. Therefore, the results may have been influenced by two nonexclusive factors: (i) variability in the acoustic response to pesticide exposure between colonies, and/or (ii) intrinsic acoustic differences between colonies, regardless of exposure status, reflecting a kind of colony-specific acoustic identity. To investigate this, the model was subsequently trained and tested using data from each hive individually.

When the model was trained using data from individual hives—analyzing each hive separately—performance varied between hives (Table 2) but consistently exceeded the performance achieved when using the combined dataset of all hives. Notably, the F1 score, which reflects the balance between precision and recall, was higher than 0.83 for all individual hive exposure classifications, compared to 0.61 for the combined dataset. This improvement was largely driven by higher recall values, indicating more accurate detection of exposure states. These findings suggest that each hive may exhibit a distinct acoustic pattern, a hypothesis further tested in subsequent analyses.

The fact that several exposure events were not identified by the classification model trained with data from all hives could indicate that the bees’ response to chlorpyrifos commercial formula exposure may not have been sufficiently intense to trigger detectable acoustic alterations. In a few isolated instances, the exposure could have induced more pronounced behavioral changes, resulting in detectable and correctly classified acoustic shifts. However, this interpretation is challenged by the high performance metrics obtained when the model was trained individually for each hive.

In addition, these findings highlight that the use of baseline recordings of the same hive prior to stress provides a more reliable control than data from a separate control hive recorded at the same time. This approach enhances sensitivity to subtle stress-related acoustic changes that might otherwise be masked by inter-colony variability. However, the extent to which the number of hives included in the analysis influences this outcome remains unclear. This aspect warrants further investigation, although several acoustic studies in bees have been conducted using a small number of colonies (between one and six beehives) [26].

We acknowledge that the requirement for a personalized model trained on data from a specific hive may represent a limitation of the proposed approach. While improved performance was observed with individualized datasets, such models can be costly and may not scale effectively. Similar findings have been reported in other domains, for instance, in human emotion recognition, where personalized models showed better performance than general models [43,44]. Whether the increased performance of personalized models justifies their higher implementation cost compared to the broader applicability of generalized models remains an open question in computer science.

Previous researchers have successfully analyzed hive responses to chemicals through sound in honeybees. By recording the sound of four hives, oral exposure of bees to syrup laced with acetone or ethyl acetate was classified using three machine learning algorithms: k-nearest neighbors (KNN), random forest (RF), and support vector machine (SVM) [45]. All algorithms achieved over 90% accuracy. Using the dataset of three honeybee hives exposed to common air pollutants such as acetone, trichloromethane, glutaric dialdehyde, and ethyl ether introduced inside the nests, SVM outperformed the others with an average classification accuracy of 93.7%, compared to 83.8% for KNN and 83.6% for RF in analyzing audio samples [46]. Additionally, flight activity data (rather than sound) was successfully used to detect exposure to a mixture of pesticides [47]. Beehive acoustic responses to trichloromethane-laced air were also assessed using soundscape indices [6].

Our results represent a first step toward using stingless bees as bioindicators of airborne pesticide contamination through a non-invasive method that eliminates the need for laboratory analysis. This approach is essential not only for protecting pollinators and biodiversity, but also to reduce the risk of chronic human exposure to low doses of pesticides, which often go unnoticed initially but can lead to serious long-term health effects [38,39].

Hive identification

Using the entire dataset of each hive (including both undisturbed and pesticide exposure moments, except for the control hives), the HMMs successfully classified the hives from which the sounds were collected (Table 3).

Table 3. Model accuracy in classifying audio files from each hive.

Hive 1 Hive 2 Hive 3 Hive 4 Hive 5 Hive 6 Hive 7 Hive 8
0.97321 0.93898 0.96529 0.99071 0.9503 0.9509 0.8961 0.9820

Despite the hives sharing similar conditions, such as abundant honey and pollen resources and high foraging activity, distinct acoustic variations were observed. While factors like box material, box size, and nest structure could influence hive acoustics, these variables were standardized across the experiment. Variability among the audio recorders is also unlikely to explain the differences, as the same four devices were used consistently in both trials. Our results further revealed that hives originating from the same location (1 and 5; 4 and 8; 2, 3, 5, and 6) did not exhibit classification errors (Fig 4), indicating distinct acoustic profiles for each hive. Moreover, even when four hives were recorded simultaneously under identical environmental conditions, the model maintained high classification accuracy, effectively distinguishing between the nests. These findings strongly suggest that each hive of this stingless bee species exhibits a unique acoustic signature.

Fig 4. Confusion Matrix Heatmap.

Fig 4

The x-axis represents the model’s predictions, while the y-axis represents the actual classifications. The color intensity increases as the percentage of correctly classified data approaches 100%.

Although bioacoustic research in precision apiculture has not primarily focused on this idea, a similar concept emerged in 2021, when specific sound patterns were identified in Apis mellifera hives [48]. In that study, specific buzz patterns were used to characterize individual colonies, leading to the proposal of an “acoustic fingerprint” method for colony identification. In a related effort, researchers employing multi-label classification models were able to identify individual honeybee hives based on their sound profiles with 90% accuracy [49]. The authors suggested that future work should focus on developing hive-specific models to monitor colony-level events and stressors.

Conclusion

This study successfully demonstrated the potential of Hidden Markov Models (HMM) in detecting exposure of Tetragonisca fiebrigi hives to the pesticide chlorpyrifos, highlighting the value of bioacoustic approaches in monitoring stressors in stingless bees. Our findings revealed that hive-specific datasets significantly enhance model performance, suggesting that individualized acoustic patterns could be a critical factor in precision meliponiculture. This study serves as an important step forward in the bioacoustics of stingless bees and provides the first evidence supporting the use of acoustics as an indicator of pesticide exposure in this taxa. While our results are robust and consistent with sample sizes commonly used in bee bioacoustics research, increasing the number of hives and testing additional pesticides would provide a more comprehensive understanding of the method’s applicability. Future research should also investigate the scalability of this approach to other stingless bee species and pollinators. By bridging the fields of bioacoustics, machine learning, and conservation, this work lays the groundwork for innovative, non-invasive monitoring tools to support pollinator, biodiversity and human health.

Acknowledgments

AO thanks Ilvonaldo Lopes Otesbelgue and Rubim Benoni Stein for their contributions in constructing the structure used for conducting the experiments. We thank Dustin Frank for his technical assistance with the vibroacoustics interpretation.

Data Availability

All audio files are available from the zenodo database (DOI 10.5281/zenodo.15397732).

Funding Statement

This study was financed in part by the Coordenação de Aperfeiçoamento de Pessoal de Nível Superior – Brasil (CAPES) – Finance Code 001 to AO. Funding for this project was also provided by NSF-IOS 2024026 to C.F.O. The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.

References

  • 1.Zattara EE, Aizen MA. Worldwide occurrence records suggest a global decline in bee species richness. One Earth. 2021;4(1):114–23. doi: 10.1016/j.oneear.2020.12.005 [DOI] [Google Scholar]
  • 2.Sánchez-Bayo F, Wyckhuys KAG. Worldwide decline of the entomofauna: a review of its drivers. Biol Conserv. 2019;232:8–27. [Google Scholar]
  • 3.Bilik S, Zemcik T, Kratochvila L, Ricanek D, Richter M, Zambanini S, et al. Machine learning and computer vision techniques in continuous beehive monitoring applications: a survey. Comput Electron Agricult. 2024;217:108560. doi: 10.1016/j.compag.2023.108560 [DOI] [Google Scholar]
  • 4.Voudiotis G, Moraiti A, Kontogiannis S. Deep learning beehive monitoring system for early detection of the varroa mite. Signals. 2022;3:506–23. [Google Scholar]
  • 5.Ferrari S, Silva M, Guarino M, Berckmans D. Monitoring of swarming sounds in bee hives for early detection of the swarming period. Comput Electron Agric. 2008;64:72–7. [Google Scholar]
  • 6.Sharif MZ, Wario F, Di N, Xue R, Liu F. Soundscape indices: new features for classifying beehive audio samples. Sociobiology. 2020;67(4):566–71. doi: 10.13102/sociobiology.v67i4.5860 [DOI] [Google Scholar]
  • 7.Qandour A, Ahmad I, Habibi D, Leppard M. Remote beehive monitoring using acoustic signals. Acoust Aust. 2014;42:204–9. [Google Scholar]
  • 8.Hunt JH, Richard F-J. Intracolony vibroacoustic communication in social insects. Insect Soc. 2013;60(4):403–17. doi: 10.1007/s00040-013-0311-9 [DOI] [Google Scholar]
  • 9.Schlegel T, Visscher PK, Seeley TD. Beeping and piping: characterization of two mechano-acoustic signals used by honey bees in swarming. Naturwissenschaften. 2012;99(12):1067–71. doi: 10.1007/s00114-012-0990-5 [DOI] [PubMed] [Google Scholar]
  • 10.Dietlein DG. A method for remote monitoring of activity of honeybee colonies by sound analysis. J Apic Res. 1985;24:176–83. [Google Scholar]
  • 11.FUCHS S, KOENIGER N. Schallerzeugung im dienst der verteidigung des bienenvolkes (apis cerana fabr.). Apidologie. 1974;5(3):271–87. doi: 10.1051/apido:19740304 [DOI] [Google Scholar]
  • 12.Fuchs S, Tautz J. Colony defence and natural enemies. Honeybees of Asia. 2011. p. 1-669. [Google Scholar]
  • 13.Kirchner WH, Dreller C. Acoustical signals in the dance language of the giant honeybee, Apis dorsata. Behav Ecol Sociobiol. 1993;33:67–72. [Google Scholar]
  • 14.Uthoff C, Homsi MN, von Bergen M. Acoustic and vibration monitoring of honeybee colonies for beekeeping-relevant aspects of presence of queen bee and swarming. Comput Electron Agric. 2023;205. [Google Scholar]
  • 15.Drummond J, Williamson SM, Fitchett AE, Wright GA, Judge SJ. Spontaneous honeybee behaviour is altered by persistent organic pollutants. Ecotoxicology. 2017;26(1):141–50. doi: 10.1007/s10646-016-1749-0 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 16.Bienefeld K, Zautke F, Gupta P. A novel method for undisturbed long-term observation of honey bee (Apis mellifera) behavior – illustrated by hygienic behavior towards varroa infestation. J Apic Res. 2015;54:541–7. [Google Scholar]
  • 17.Howard D, Duran O, Hunter G, Stebel K. Signal processing the acoustics of honeybees (Apis mellifera) to identify the “queenless” state in hives. Proc Inst Acoust. 2013;35:290–7. [Google Scholar]
  • 18.Zgank A. IoT-based bee swarm activity acoustic classification using deep neural networks. Sensors (Basel). 2021;21(3):676. doi: 10.3390/s21030676 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 19.Robles-Guerrero A, Saucedo-Anaya T, González-Ramérez E, Galván-Tejada CE. Frequency analysis of honey bee buzz for automatic recognition of health status: a preliminary study. RCS. 2017;142(1):89–98. doi: 10.13053/rcs-142-1-9 [DOI] [Google Scholar]
  • 20.Rabiner LR, Juang BH. An introduction to hidden markov models. IEEE ASSP Magaz. 1986;5:16. [Google Scholar]
  • 21.Stowell D, Petrusková T, Šálek M, Linhart P. Automatic acoustic identification of individuals in multiple species: improving identification across recording conditions. J R Soc Interface. 2019;16(153):20180940. doi: 10.1098/rsif.2018.0940 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 22.Young S, Evermann G, Kershaw D, Moore G, Odell J, Ollason D, et al. The HTK Book. Version 3.2. Cambridge University Engineering Department;2002. [Google Scholar]
  • 23.Ogundile OO, Usman AM, Versfeld DJJ. An empirical mode decomposition based hidden Markov model approach for detection of Bryde’s whale pulse calls. J Acoust Soc Am. 2020;147(2):EL125. doi: 10.1121/10.0000717 [DOI] [PubMed] [Google Scholar]
  • 24.Buchan SJ, Mahú R, Wuth J, Balcazar-Cabrera N, Gutierrez L, Neira S, et al. An unsupervised Hidden Markov Model-based system for the detection and classification of blue whale vocalizations off Chile. Bioacoustics. 2019;29(2):140–67. doi: 10.1080/09524622.2018.1563758 [DOI] [Google Scholar]
  • 25.Ranjard L, Reed BS, Landers TJ, Rayner MJ, Friesen MR, Sagar RL, et al. MatlabHTK: a simple interface for bioacoustic analyses using hidden Markov models. Methods Ecol Evol. 2016;8(5):615–21. doi: 10.1111/2041-210x.12688 [DOI] [Google Scholar]
  • 26.Abdollahi M, Giovenazzo P, Falk TH. Automated beehive acoustics monitoring: a comprehensive review of the literature and recommendations for future work. Appl Sci. 2022;12. [Google Scholar]
  • 27.Grüter C. Stingless bees: their behavior, ecology and evolution. Cham: Springer; 2020. [Google Scholar]
  • 28.Barbiéri C, Francoy TM. Theoretical model for interdisciplinary analysis of human activities: meliponiculture as an activity that promotes sustainability. Ambient e Soc. 2020;23. [Google Scholar]
  • 29.Cortopassi-Laurino M, Imperatriz-Fonseca VL, Roubik DW, Dollin A, Heard T, Aguilar I, et al. Global meliponiculture: challenges and opportunities. Apidologie. 2006;37(2):275–92. doi: 10.1051/apido:2006027 [DOI] [Google Scholar]
  • 30.Cham KO, Nocelli RCF, Borges LO, Viana-Silva FEC, Tonelli CAM, Malaspina O, et al. Pesticide exposure assessment paradigm for stingless bees. Environ Entomol. 2019;48(1):36–48. doi: 10.1093/ee/nvy137 [DOI] [PubMed] [Google Scholar]
  • 31.Otesbelgue A, Dos Santos CF, Blochtein B. Queen bee acceptance under threat: neurotoxic insecticides provoke deep damage in queen-worker relationships. Ecotoxicol Environ Saf. 2018;166:42–7. doi: 10.1016/j.ecoenv.2018.09.048 [DOI] [PubMed] [Google Scholar]
  • 32.Boff S, Friedel A, Mussury RM, Lenis PR, Raizer J. Changes in social behavior are induced by pesticide ingestion in a Neotropical stingless bee. Ecotoxicol Environ Saf. 2018;164:548–53. doi: 10.1016/j.ecoenv.2018.08.061 [DOI] [PubMed] [Google Scholar]
  • 33.Leite DT, Sampaio RB, Chambó ED, Aguiar CML, de Godoy MS, de Carvalho CAL. Toxicity of chlorpyrifos, cyflumetofen, and difenoconazole on Tetragonisca angustula (Latreille, 1811) under laboratory conditions. Int J Trop Insect Sci. 2022;42:435–43. [Google Scholar]
  • 34.Sharma A, Kumar V, Shahzad B, Tanveer M, Sidhu GPS, Handa N, et al. Worldwide pesticide usage and its impacts on ecosystem. SN Appl Sci. 2019;1(11): 1–16. doi: 10.1007/s42452-019-1485-1 [DOI] [Google Scholar]
  • 35.Dos Santos CF, Otesbelgue A, Blochtein B. The dilemma of agricultural pollination in Brazil: Beekeeping growth and insecticide use. PLoS One. 2018;13(7):e0200286. doi: 10.1371/journal.pone.0200286 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 36.Dorneles AL, de Souza Rosa A, Blochtein B. Toxicity of organophosphorus pesticides to the stingless bees Scaptotrigona bipunctata and Tetragonisca fiebrigi. Apidologie. 2017;48(5):612–20. doi: 10.1007/s13592-017-0502-x [DOI] [Google Scholar]
  • 37.Nandi NK, Vyas A, Akhtar MJ, Kumar B. The growing concern of chlorpyrifos exposures on human and environmental health. Pestic Biochem Physiol. 2022;185:105138. doi: 10.1016/j.pestbp.2022.105138 [DOI] [PubMed] [Google Scholar]
  • 38.Mostafalou S, Abdollahi M. Pesticides and human chronic diseases: evidences, mechanisms, and perspectives. Toxicol Appl Pharmacol. 2013;268(2):157–77. doi: 10.1016/j.taap.2013.01.025 [DOI] [PubMed] [Google Scholar]
  • 39.Corral SA, de Angel V, Salas N, Zúñiga-Venegas L, Gaspar PA, Pancetti F. Cognitive impairment in agricultural workers and nearby residents exposed to pesticides in the Coquimbo Region of Chile. Neurotoxicol Teratol. 2017;62:13–9. doi: 10.1016/j.ntt.2017.05.003 [DOI] [PubMed] [Google Scholar]
  • 40.Porrini C, Sabatini AG, Girotti S, Fini F, Monaco L, Celli G. The death of honey bees and environmental pollution by pesticides: The honey bees as biological indicators. Bull Insectol. 2003;56:147–52. [Google Scholar]
  • 41.Bromenshenk JJ, Henderson CB, Seccomb RA, Welch PM, Debnam SE, Firth DR. Bees as biosensors: chemosensory ability, honey bee monitoring systems, and emergent sensor technologies derived from the pollinator syndrome. Biosensors (Basel). 2015;5(4):678–711. doi: 10.3390/bios5040678 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 42.Poquet Y, Vidau C, Alaux C. Modulation of pesticide response in honeybees. Apidologie. 2016;47(3):412–26. doi: 10.1007/s13592-016-0429-7 [DOI] [Google Scholar]
  • 43.Li J, Washington P. A comparison of personalized and generalized approaches to emotion recognition using consumer wearable devices: machine learning study. JMIR AI. 2024;3:e52171. doi: 10.2196/52171 [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 44.Kargarandehkordi A, Kaisti M, Washington P. Personalization of affective models using classical machine learning: a feasibility study. Appl Sci. 2024;14(4):1337. doi: 10.3390/app14041337 [DOI] [Google Scholar]
  • 45.Yu B, Huang X, Sharif MZ, Jiang X, Di N, Liu F. A matter of the beehive sound: can honey bees alert the pollution out of their hives?. Environ Sci Pollut Res Int. 2023;30(6):16266–76. doi: 10.1007/s11356-022-23322-z [DOI] [PubMed] [Google Scholar]
  • 46.Zhao Y, Deng G, Zhang L, Di N, Jiang X, Li Z. Based investigate of beehive sound to detect air pollutants by machine learning. Ecol Inform. 2021;61. [Google Scholar]
  • 47.Olivares-Pinto U, Alaux C, Le Conte Y, Crauser D, Prado A. Using honey bee flight activity data and a deep learning model as a toxicovigilance tool. Ecol Inform. 2024;81:1–11. [Google Scholar]
  • 48.Cejrowski T, Szymański J. Buzz-based honeybee colony fingerprint. Comput Electron Agric. 2021;191. [Google Scholar]
  • 49.Várkonyi DT, Seixas JL Junior, Horváth T. Dynamic noise filtering for multi-class classification of beehive audio data. Exp Syst Appl. 2023;213:118850. doi: 10.1016/j.eswa.2022.118850 [DOI] [Google Scholar]

Decision Letter 0

Munir Ahmad

24 Mar 2025

PONE-D-25-08785Hidden Markov Model for Acoustic Pesticide Exposure Detection and Hive Identification in Stingless BeesPLOS ONE

Dear Dr. Otesbelgue,

Thank you for submitting your manuscript to PLOS ONE. After careful consideration, we feel that it has merit but does not fully meet PLOS ONE’s publication criteria as it currently stands. Therefore, we invite you to submit a revised version of the manuscript that addresses the points raised during the review process.

==============================

Introduction needs improvement with pointwise suggestions by the reviewers.

Materials and methods should be clear and answer the questions raised by the reviewer(s) especially the small sample size and number of colonies.

Results with critical variation in bees’ response of different colonies need specific address for authentic use in further studies or their utilization. There is also a limited critical discussion which need to be improved.

==============================

Please submit your revised manuscript by May 08 2025 11:59PM. If you will need more time than this to complete your revisions, please reply to this message or contact the journal office at plosone@plos.org. When you're ready to submit your revision, log on to https://www.editorialmanager.com/pone/ and select the 'Submissions Needing Revision' folder to locate your manuscript file.

Please include the following items when submitting your revised manuscript:

  • A rebuttal letter that responds to each point raised by the academic editor and reviewer(s). You should upload this letter as a separate file labeled 'Response to Reviewers'.

  • A marked-up copy of your manuscript that highlights changes made to the original version. You should upload this as a separate file labeled 'Revised Manuscript with Track Changes'.

  • An unmarked version of your revised paper without tracked changes. You should upload this as a separate file labeled 'Manuscript'.

If you would like to make changes to your financial disclosure, please include your updated statement in your cover letter. Guidelines for resubmitting your figure files are available below the reviewer comments at the end of this letter.

If applicable, we recommend that you deposit your laboratory protocols in protocols.io to enhance the reproducibility of your results. Protocols.io assigns your protocol its own identifier (DOI) so that it can be cited independently in the future. For instructions see: https://journals.plos.org/plosone/s/submission-guidelines#loc-laboratory-protocols. Additionally, PLOS ONE offers an option for publishing peer-reviewed Lab Protocol articles, which describe protocols hosted on protocols.io. Read more information on sharing protocols at https://plos.org/protocols?utm_medium=editorial-email&utm_source=authorletters&utm_campaign=protocols.

We look forward to receiving your revised manuscript.

Kind regards,

Munir Ahmad, PhD

Academic Editor

PLOS ONE

Journal Requirements:

When submitting your revision, we need you to address these additional requirements.

1. Please ensure that your manuscript meets PLOS ONE's style requirements, including those for file naming. The PLOS ONE style templates can be found at

https://journals.plos.org/plosone/s/file?id=wjVg/PLOSOne_formatting_sample_main_body.pdf and

https://journals.plos.org/plosone/s/file?id=ba62/PLOSOne_formatting_sample_title_authors_affiliations.pdf

2. In your Methods section, please provide additional information regarding the permits you obtained for the work. Please ensure you have included the full name of the authority that approved the field site access and, if no permits were required, a brief statement explaining why.

3. Please note that PLOS ONE has specific guidelines on code sharing for submissions in which author-generated code underpins the findings in the manuscript. In these cases, we expect all author-generated code to be made available without restrictions upon publication of the work. Please review our guidelines at https://journals.plos.org/plosone/s/materials-and-software-sharing#loc-sharing-code and ensure that your code is shared in a way that follows best practice and facilitates reproducibility and reuse.

4. Thank you for stating the following financial disclosure:

“This study was financed in part by the Coordenação de Aperfeiçoamento de Pessoal de Nível Superior – Brasil (CAPES) – Finance Code 001” to AO. Funding for this project was also provided by NSF-IOS 2024026 to C. Fassbinder-Orth.”

Please state what role the funders took in the study. If the funders had no role, please state: "The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript."

If this statement is not correct you must amend it as needed.

Please include this amended Role of Funder statement in your cover letter; we will change the online submission form on your behalf.

5. When completing the data availability statement of the submission form, you indicated that you will make your data available on acceptance. We strongly recommend all authors decide on a data sharing plan before acceptance, as the process can be lengthy and hold up publication timelines. Please note that, though access restrictions are acceptable now, your entire data will need to be made freely accessible if your manuscript is accepted for publication. This policy applies to all data except where public deposition would breach compliance with the protocol approved by your research ethics board. If you are unable to adhere to our open data policy, please kindly revise your statement to explain your reasoning and we will seek the editor's input on an exemption. Please be assured that, once you have provided your new statement, the assessment of your exemption will not hold up the peer review process.

Additional Editor Comments:

Introduction needs improvement with pointwise suggestions by the reviewers.

Materials and methods should be clear and answer the questions raised by the reviewer(s) especially the small sample size and number of colonies.

Results with critical variation in bees’ response of different colonies need specific address for authentic use in further studies or their utilization. There is also a limited critical discussion which need to be improved.

[Note: HTML markup is below. Please do not edit.]

Reviewers' comments:

Reviewer's Responses to Questions

Comments to the Author

1. Is the manuscript technically sound, and do the data support the conclusions?

The manuscript must describe a technically sound piece of scientific research with data that supports the conclusions. Experiments must have been conducted rigorously, with appropriate controls, replication, and sample sizes. The conclusions must be drawn appropriately based on the data presented.

Reviewer #1: Yes

Reviewer #2: Yes

**********

2. Has the statistical analysis been performed appropriately and rigorously?

Reviewer #1: I Don't Know

Reviewer #2: Yes

**********

3. Have the authors made all data underlying the findings in their manuscript fully available?

The PLOS Data policy requires authors to make all data underlying the findings described in their manuscript fully available without restriction, with rare exception (please refer to the Data Availability Statement in the manuscript PDF file). The data should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data—e.g. participant privacy or use of data from a third party—those must be specified.

Reviewer #1: No

Reviewer #2: Yes

**********

4. Is the manuscript presented in an intelligible fashion and written in standard English?

PLOS ONE does not copyedit accepted manuscripts, so the language in submitted articles must be clear, correct, and unambiguous. Any typographical or grammatical errors should be corrected at revision, so please note any specific errors here.

Reviewer #1: Yes

Reviewer #2: Yes

**********

5. Review Comments to the Author

Please use the space provided to explain your answers to the questions above. You may also include additional comments for the author, including concerns about dual publication, research ethics, or publication ethics. (Please upload your review as an attachment if it exceeds 20,000 characters)

Reviewer #1: Otesbelgue et al. present a manuscript on the use of acoustics as a toxicovigilance tool for pesticide exposure detection on stingless bees. The results of the study are very promising and of interest to the readers of PLOSONE. In general, the text is well written and almost devoid of typos. However, the text lacks clarity in some important methodological aspects and the study is very limited in the number of hives evaluated (6 experimental hives and 2 control hives). Also, the figures are of very low resolution. The discussion is very limited. And should be expanded. Therefore, I recommend a major revision.

Here are my comments and specific questions:

Line 73. The Figure is a bit deceptive as the length of the tunnel seems longer than 3 m.

Line 73 Figure 1. The resolution of the image should be improved. This applies to all figures.

Line 76 Did you use the pure molecule? Or a commercial pesticide? If you used the pure molecule, how did you dissolve it in water? If you used a commercial pesticide, how can we be sure the effect is only from the chlorpyrifos and not its adjuvants?

Line 84. I think the design is flawed. The study only used 1 control hive per replica. The problem with having only one control hive is that if for some reason, not related to the experiment, that hive behaved differently you would immediately assume it was due to treatment. I think this is a major drawback of the study. A better design would have been 2 control vs 2 treated hives.

Line 103. Did you remove from the recordings the time lapse of pesticide or water application. This fiscal disturbance could bias your results. How can we be sure the bees are not affected by the smell of the adjuvants rather than the toxicity of the active ingredient. I suggest removing from the recordings a certain time lapse when the application was performed to avoid this possible source of noise.

Table 2. Here you use C1-C8 and in another figure you use H1-H8.

Results. Are there any acoustic metrics that differed amongst treatments?

Reviewer #2: I have carefully reviewed the manuscript titled ‘Hidden Markov Model for Acoustic Pesticide Exposure Detection and Hive Identification in Stingless Bees’ and would like to provide my general feedback regarding its content and suitability for publication in PLOS One. The manuscript investigates the use of bioindicators for airborne pesticide contamination (chlorpyrifos) in Tetragonisca fiebrigi hives. This is an innovative approach for toxicological studies involving stingless bees and holds promise as a non-invasive strategy for monitoring hive conditions. The topic of the manuscript has great potential. Below are a few suggestions that could help the authors enhance the clarity and readability of the paper.

Introduction

The introduction is well-written. I followed the flow of ideas and the explanations regarding the topic. The text is clear, easy to read, and understand.

Line 49: There seems to be an extra bracket, likely a typo.

Materials and methods

The method is well presented and facilitates reproducibility. Below, I will address some general concerns.

Figure 1: The image quality in the PDF file is very poor. This could be an issue related to the submission process. However, the content of Figure 1A is not readable. There are symbols such as droplets and triangles, but their meaning is unclear, making it difficult to evaluate this part.

Lines 74 and 75: The method applied appears accurate. However, this sentence raised some questions, such as whether the sound was recorded from the same colony both before and after insecticide exposure. These questions are addressed later in the text, but I suggest briefly noting that this topic will be discussed in more detail later.

Line 79: The sound was recorded between 12:30 PM and 5:30 PM. Why were this time frame chosen? Is this stingless bee species more active during this period?

Line 90: Were bees flying outside the hive entrance during the insecticide spray application? Were only the bees protecting the hive exposed to the insecticide particles? More importantly, could the particles have settled on the wooden hive boxes or fallen to the ground? The main question is whether the number of exposed bees was sufficient to cause any internal alterations.

Figure 3: Providing more detailed explanations about Figure 3 could improve the reader's understanding of the meaning of each set.

Results and Discussion

Line 184: The hypothesis of a unique "fingerprint" for each colony is interesting. However, a question arises from this statement: if each colony has a unique sound, would evaluating exposure through bioindicators of airborne pesticide contamination become more challenging? While the authors highlight the advantages of applying this method in lines 174-179, I wonder: what about the disadvantages? The unique sound described for each colony seems to present a challenge for the proposed analysis method.

**********

6. PLOS authors have the option to publish the peer review history of their article (what does this mean?). If published, this will include your full peer review and any attached files.

If you choose “no”, your identity will remain anonymous but your review may still be made public.

Do you want your identity to be public for this peer review? For information about this choice, including consent withdrawal, please see our Privacy Policy.

Reviewer #1: No

Reviewer #2: No

**********

[NOTE: If reviewer comments were submitted as an attachment file, they will be attached to this email and accessible via the submission site. Please log into your account, locate the manuscript record, and check for the action link "View Attachments". If this link does not appear, there are no attachment files.]

While revising your submission, please upload your figure files to the Preflight Analysis and Conversion Engine (PACE) digital diagnostic tool, https://pacev2.apexcovantage.com/. PACE helps ensure that figures meet PLOS requirements. To use PACE, you must first register as a user. Registration is free. Then, login and navigate to the UPLOAD tab, where you will find detailed instructions on how to use the tool. If you encounter any issues or have any questions when using PACE, please email PLOS at figures@plos.org. Please note that Supporting Information files do not need this step.

PLoS One. 2025 Jun 18;20(6):e0325732. doi: 10.1371/journal.pone.0325732.r003

Author response to Decision Letter 1


15 May 2025

Dear Reviewer 1,

We sincerely thank you for your thoughtful contributions, which have significantly improved the quality of our manuscript, especially by encouraging us to provide more detailed methodological descriptions to ensure that readers can fully understand our procedures.

We have improved the image resolution to meet the required standards. Additionally, we addressed important points regarding the number of hives used in the study, discussed our perspectives, and compared our sample size with those of other studies involving contaminant exposure and honeybee bioacoustics. We also emphasized in the text that increasing the number of hives in future studies could bring new insights and help answer some outstanding questions.

Furthermore, we incorporated additional ideas and references into the discussion section, which not only made the manuscript more comprehensive but also allowed us to highlight key aspects of our results and interpret them within the broader context of existing scientific knowledge.

We truly appreciate your feedback, which helped us strengthen our work.

Here are my comments and specific questions:

Line 73. The Figure is a bit deceptive as the length of the tunnel seems longer than 3 m.

We revised the figures to ensure consistent scaling, maintaining the same length for the tunnels and accurately representing the three-meter distance between them. Additionally, we included the tunnel length and width measurements to provide clearer spatial information.

Line 73 Figure 1. The resolution of the image should be improved. This applies to all figures.

We apologize for the low image resolution observed after uploading to the submission system. We have since reviewed and corrected the issue, ensuring that the figures now meet the required resolution standards.

Line 76 Did you use the pure molecule? Or a commercial pesticide? If you used the pure molecule, how did you dissolve it in water? If you used a commercial pesticide, how can we be sure the effect is only from the chlorpyrifos and not its adjuvants?

We used the commercial formulation of chlorpyrifos, the same product referenced in Dorneles et al. (2017), which we used to define the dose corresponding to the LC₅₀ for topical exposure. The formulation contains 48% of the active ingredient, and this proportion was carefully considered in the preparation of the solution used for exposure.

Our choice to use the commercial product rather than the pure molecule was deliberate and grounded in ecological relevance. In real-world scenarios, bees are exposed not to isolated active ingredients, but to complete pesticide formulations, including solvents, surfactants, and other adjuvants. We acknowledge that using the commercial formulation means the observed effects could result from chlorpyrifos, its adjuvants, or a combination of both. However, for our study, this does not represent a limitation, but rather a necessary element of ecological validity. One of our key research questions was to assess whether acoustic changes in stingless bee colonies can serve as indicators of airborne pesticide exposure. To test this hypothesis in a realistic manner, it was essential to use the product as it is applied in the field. By exposing bees to the actual formulation used in agriculture, we increase the relevance and potential applicability of our findings for biomonitoring programs.

We appreciate the reviewer’s comment and understand the concern. To clarify our choice for the readers, we added the following statement in the "Pesticide Exposure" subsection of the Materials and Methods section:

" To better reflect real-world conditions, we used a commercial chlorpyrifos formulation. Although the effects of adjuvants cannot be separated from those of the active ingredient in this approach, it enhances the relevance of our findings for biomonitoring applications."

Additionally, we explained the rationale behind the concentration used:

"Our objective was not to cause colony mortality, but rather to ensure a scientifically supported sublethal effect on the bees that were topically exposed."

Line 84. I think the design is flawed. The study only used 1 control hive per replica. The problem with having only one control hive is that if for some reason, not related to the experiment, that hive behaved differently you would immediately assume it was due to treatment. I think this is a major drawback of the study. A better design would have been 2 control vs 2 treated hives.

We appreciate the reviewer’s concern regarding the use of a single control hive per replicate. We agree that, in many experimental designs, using multiple control units per treatment group is a way to control natural variability and increase robustness. However, our study was designed with a different strategy in mind, guided by the specific goals of the research.

All hives, whether exposed or not, experienced the same environmental conditions, and we recorded each one over multiple days, capturing a range of natural behavioral and acoustic variations, such as increased foraging activity or exposure to non-toxic stressors like water spray. All these events were included in the "non-exposure" category to help train the model to distinguish between pesticide-related and unrelated changes. This means that our control group (labeled as 0) in the first run of the algorithm included data from eight different hives.

We acknowledge that this point may not have been sufficiently clear in the original text. Therefore, we added a clarification in the "File Annotation" subsection of the Materials and Methods section.

“Accordingly, audio files recorded during undisturbed conditions, including those involving water spray, were labeled as '0' (baseline). This included recordings from all hives, regardless of whether they were later exposed to chlorpyrifos or remained as controls, as long as no pesticide had been applied. The files corresponding to periods of 30 minutes to two and a half hours after pesticide exposure were labeled '1'.”

Although we used recordings from different days and from different hives, we observed that the model's performance when trained on the overall dataset was lower than when it was trained separately on each hive's dataset. We suggest that this result may be due to natural acoustic variability among hives.

To help the reader follow this idea, we added the following explanation to the Results and Discussion section:

“Despite the hives exhibiting standardized health conditions and being recorded under the same environmental parameters, the results may have been influenced by two non-exclusive factors: (i) variability in the acoustic response to pesticide exposure between colonies, and/or (ii) intrinsic acoustic differences between colonies, regardless of exposure status, reflecting a kind of colony-specific acoustic identity. To investigate this, the model was subsequently trained and tested using data from each hive individually.”

And after presenting the classification results using models trained individually for each hive, we added the following explanation to the text:

“In addition, these findings highlight that the use of baseline recordings of the same hive prior to stress provides a more reliable control than data from a separate control hive recorded at the same time. This approach enhances sensitivity to subtle stress-related acoustic changes that might otherwise be masked by inter-colony variability.”

Line 103. Did you remove from the recordings the time lapse of pesticide or water application. This fiscal disturbance could bias your results. How can we be sure the bees are not affected by the smell of the adjuvants rather than the toxicity of the active ingredient. I suggest removing from the recordings a certain time lapse when the application was performed to avoid this possible source of noise.

We chose not to exclude the time window during or immediately after the application of either the pesticide or water. To control potential disturbances caused by the physical presence of the applicator, the act of spraying, or the noise produced during spraying, we applied water in front of all hives one day prior to pesticide exposure. This approach allowed us to mimic the disturbance event without introducing the chemical factor. Recordings associated with water spray were labeled as '0' (baseline), ensuring that the model would not be biased by the disturbance itself.

Moreover, exploratory analyses from a pilot experiment (not included in the dataset presented in this manuscript to preserve the experimental design) suggested that detectable colony-level responses to chlorpyrifos exposure emerged approximately 30 minutes after application. That is why we performed the file annotation as described in Table 1.

As mentioned before, to address the inability to distinguish between the effects, we added phrases in the pesticide exposure subsection of the Materials and Methods section that clarify this point.

Table 2. Here you use C1-C8 and in another figure you use H1-H8.

We have now removed the 'C' designation, retaining only the hive number. Additionally, all figures and tables have been updated to consistently refer to 'hive' rather than 'colony' to improve clarity and understanding.

Results. Are there any acoustic metrics that differed amongst treatments?

We did not apply feature extraction methods; therefore, our methodology does not support assumptions regarding the specific acoustic characteristics underlying the model's predictions. Future studies incorporating feature extraction or feature engineering could address this limitation and identify acoustic metrics that distinguish between treatments or individual hives.

Reviewer #2: I have carefully reviewed the manuscript titled ‘Hidden Markov Model for Acoustic Pesticide Exposure Detection and Hive Identification in Stingless Bees’ and would like to provide my general feedback regarding its content and suitability for publication in PLOS One. The manuscript investigates the use of bioindicators for airborne pesticide contamination (chlorpyrifos) in Tetragonisca fiebrigi hives. This is an innovative approach for toxicological studies involving stingless bees and holds promise as a non-invasive strategy for monitoring hive conditions. The topic of the manuscript has great potential. Below are a few suggestions that could help the authors enhance the clarity and readability of the paper.

We thank Reviewer #2 for their constructive comments. We appreciate the recognition of the manuscript's potential and have carefully considered all suggestions to improve the clarity, readability, and scientific rigor of the work. In response, we corrected minor typographical issues, clarified aspects of the experimental design and methodology, improved figure quality, and expanded the discussion to better address the behavioral observations during exposure and the implications of colony-specific acoustic patterns. We believe these revisions have significantly strengthened the manuscript and addressed the reviewer’s concerns.

Introduction

The introduction is well-written. I followed the flow of ideas and the explanations regarding the topic. The text is clear, easy to read, and understand.

Line 49: There seems to be an extra bracket, likely a typo.

We have removed the extra bracket on line 49 and corrected the typo error.

Materials and methods

The method is well presented and facilitates reproducibility. Below, I will address some general concerns.

Figure 1: The image quality in the PDF file is very poor. This could be an issue related to the submission process. However, the content of Figure 1A is not readable. There are symbols such as droplets and triangles, but their meaning is unclear, making it difficult to evaluate this part.

We improved the image quality. In Figure 1, we ensured that the scale was accurately represented in the drawings and removed additional symbols that could hinder the clear interpretation of the image.

Lines 74 and 75: The method applied appears accurate. However, this sentence raised some questions, such as whether the sound was recorded from the same colony both before and after insecticide exposure. These questions are addressed later in the text, but I suggest briefly noting that this topic will be discussed in more detail later.

In this section, we added a brief description of the experimental design: “Each hive was recorded for two days undisturbed, then exposed to water spray on one day, pesticide spray on the next, and followed for two more days without disturbance. Subsequently, we describe each experimental step in detail.”

Line 79: The sound was recorded between 12:30 PM and 5:30 PM. Why were this time frame chosen? Is this stingless bee species more active during this period?

Stingless bees are known to be more active during the morning hours. However, they continue to exhibit intense out-of-nest activities throughout daylight hours, provided that the temperature remains favorable. We selected the exposure time based on practical considerations, while ensuring that the bees were still actively foraging.

We added in line 79-80: “To avoid the known variability in bee activity during different times of the day, we selected a specific time window for all recordings.”

Line 90: Were bees flying outside the hive entrance during the insecticide spray application? Were only the bees protecting the hive exposed to the insecticide particles? More importantly, could the particles have settled on the wooden hive boxes or fallen to the ground? The main question is whether the number of exposed bees was sufficient to cause any internal alterations.

In the Methods section, line 92, we revised the sentence to:

“The objective was not to kill the hives, but to ensure an effect on the topically exposed bees.”

In the Results and Discussion sections, line 149-158, we added a subsection to describe the behaviors observed during and shortly after exposure.

“Initial Observations

During the application of both water and the pesticide, guard bees and foragers at the nest entrance came into direct contact with the sprayed liquid. Following each exposure, foraging activity was temporarily interrupted, and all guard bees retreated into the hive. In the case of pesticide application, this behavior may have contributed to the substance's entry into the colony. For both treatments, normal activity resumed approximately six minutes after the disturbance. Liquid droplets were deposited on the wooden hive surface, with a few also reaching the ground. No dead bees were observed at the nest entrance or on the surrounding area, and the droplets evaporated shortly after application.”

In results and discussion lines 188-194, we raised this concern and explored this idea:

“The fact that several exposure events were not identified by the classification model trained with data from all hives could indicate that the bees' response to chlorpyrifos commercial formula exposure may not have been sufficiently intense to trigger detectable acoustic alterations. In a few isolated instances, the exposure could have induced more pronounced behavioral changes, resulting in detectable and correctly classified acoustic shifts. However, this interpretation is challenged by the high performance metrics obtained when the model was trained individually for each hive.”

Figure 3: Providing more detailed explanations about Figure 3 could improve the reader's understanding of the meaning of each set.

Line 120: Annotated sound files were used for training within the MATLABHTK framework and HMMs were produced for each state (2 HMMs for Chloropyrifos Exposure and 8 HMMs for Basic Hive Identification). Specifically, .wav files and corresponding label .txt files were analyzed using the train_HTK command in MATLAB, which generated HMMs for each state. Next, .wav files without corresponding label files were analyzed using the recognise_HTK command. Next, for each file, the state with the highest associated total time was determined and used for analysis of model accuracy (Fig 3).

Results and Discussion

Line 184: The hypothesis of a unique "fingerprint" for each colony is interesting. However, a question arises fro

Attachment

Submitted filename: Response to Reviewers .docx.pdf

pone.0325732.s001.pdf (191.4KB, pdf)

Decision Letter 1

Munir Ahmad

18 May 2025

Hidden Markov Model for Acoustic Pesticide Exposure Detection and Hive Identification in Stingless Bees

PONE-D-25-08785R1

Dear Dr. Otesbelgue,

We’re pleased to inform you that your manuscript has been judged scientifically suitable for publication and will be formally accepted for publication once it meets all outstanding technical requirements.

Within one week, you’ll receive an e-mail detailing the required amendments. When these have been addressed, you’ll receive a formal acceptance letter and your manuscript will be scheduled for publication.

An invoice will be generated when your article is formally accepted. Please note, if your institution has a publishing partnership with PLOS and your article meets the relevant criteria, all or part of your publication costs will be covered. Please make sure your user information is up-to-date by logging into Editorial Manager at Editorial Manager® and clicking the ‘Update My Information' link at the top of the page. If you have any questions relating to publication charges, please contact our Author Billing department directly at authorbilling@plos.org.

If your institution or institutions have a press office, please notify them about your upcoming paper to help maximize its impact. If they’ll be preparing press materials, please inform our press team as soon as possible -- no later than 48 hours after receiving the formal acceptance. Your manuscript will remain under strict press embargo until 2 pm Eastern Time on the date of publication. For more information, please contact onepress@plos.org.

Kind regards,

Munir Ahmad, PhD

Academic Editor

PLOS ONE

Additional Editor Comments (optional):

Reviewers' comments:

Acceptance letter

Munir Ahmad

PONE-D-25-08785R1

PLOS ONE

Dear Dr. Otesbelgue,

I'm pleased to inform you that your manuscript has been deemed suitable for publication in PLOS ONE. Congratulations! Your manuscript is now being handed over to our production team.

At this stage, our production department will prepare your paper for publication. This includes ensuring the following:

* All references, tables, and figures are properly cited

* All relevant supporting information is included in the manuscript submission,

* There are no issues that prevent the paper from being properly typeset

You will receive further instructions from the production team, including instructions on how to review your proof when it is ready. Please keep in mind that we are working through a large volume of accepted articles, so please give us a few days to review your paper and let you know the next and final steps.

Lastly, if your institution or institutions have a press office, please let them know about your upcoming paper now to help maximize its impact. If they'll be preparing press materials, please inform our press team within the next 48 hours. Your manuscript will remain under strict press embargo until 2 pm Eastern Time on the date of publication. For more information, please contact onepress@plos.org.

If we can help with anything else, please email us at customercare@plos.org.

Thank you for submitting your work to PLOS ONE and supporting open access.

Kind regards,

PLOS ONE Editorial Office Staff

on behalf of

Dr. Munir Ahmad

Academic Editor

PLOS ONE

Associated Data

    This section collects any data citations, data availability statements, or supplementary materials included in this article.

    Supplementary Materials

    Attachment

    Submitted filename: Response to Reviewers .docx.pdf

    pone.0325732.s001.pdf (191.4KB, pdf)

    Data Availability Statement

    All audio files are available from the zenodo database (DOI 10.5281/zenodo.15397732).


    Articles from PLOS One are provided here courtesy of PLOS

    RESOURCES