| Literature DB >> 31861505 |
Abstract
Beekeeping is one of the widespread and traditional fields in agriculture, where Internet of Things (IoT)-based solutions and machine learning approaches can ease and improve beehive management significantly. A particularly important activity is bee swarming. A beehive monitoring system can be applied for digital farming to alert the user via a service about the beginning of swarming, which requires a response. An IoT-based bee activity acoustic classification system is proposed in this paper. The audio data needed for acoustic training was collected from the Open Source Beehives Project. The input audio signal was converted into feature vectors, using the Mel-Frequency Cepstral Coefficients (with cepstral mean normalization) and Linear Predictive Coding. The influence of the acoustic background noise and denoising procedure was evaluated in an additional step. Different Hidden Markov Models' and Gaussian Mixture Models' topologies were developed for acoustic modeling, with the objective being to determine the most suitable one for the proposed IoT-based solution. The evaluation was carried out with a separate test set, in order to successfully classify sound between the normal and swarming conditions in a beehive. The evaluation results showed that good acoustic classification performance can be achieved with the proposed system.Entities:
Keywords: IoT architecture; acoustic classification; activity monitoring; bee acoustic analysis
Mesh:
Year: 2019 PMID: 31861505 PMCID: PMC6982799 DOI: 10.3390/s20010021
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.576
Figure 1IoT-based bee swarm activity monitoring service.
Figure 2Bee activity acoustic classification system’s block scheme using Hidden Markov Model (HMM) acoustic models.
Figure 3Bee activity acoustic classification system’s block scheme using Gaussian Mixture Model (GMM) acoustic models.
Figure 4Mel-Frequency Cepstral Coefficients (MFCC) feature extraction block scheme.
Figure 5Mel-scale filter bank with eight filters.
Accuracy results for bee acoustic classification with MFCC features and three different acoustic models types.
| Probability Density Functions per State | Accuracy (%) | ||
|---|---|---|---|
| 1-State HMM | 15-State HMM | GMM | |
| 2 Gaussian mixtures | 58.94 | 59.88 | 60.50 |
| 8 Gaussian mixtures | 74.49 | 75.43 | 71.54 |
| 32 Gaussian mixtures | 80.40 | 82.27 | 79.78 |
Precision, Recall and F1-score for bee acoustic classification with MFCC features and three different acoustic models types.
| Probability Density Functions per State | 1-State HMM | 15-State HMM | GMM | ||||||
|---|---|---|---|---|---|---|---|---|---|
| P | R | F1 | P | R | F1 | P | R | F1 | |
| 2 Gaussian mixtures | 0.72 | 0.76 | 0.74 | 0.72 | 0.78 | 0.75 | 0.77 | 0.74 | 0.75 |
| 8 Gaussian mixtures | 0.82 | 0.89 | 0.85 | 0.85 | 0.87 | 0.86 | 0.86 | 0.81 | 0.83 |
| 32 Gaussian mixtures | 0.85 | 0.93 | 0.89 | 0.89 | 0.92 | 0.90 | 0.89 | 0.88 | 0.89 |
Accuracy results for bee acoustic classification without (MFCC) and with cepstral mean normalization (MFCC_CMN) and with the Linear Predictive Coding (LPC) features.
| Probability Density Functions per State | MFCC | MFCC_CMN | LPC |
|---|---|---|---|
| 2 Gaussian mixtures | 59.88 | 60.81 | 59.25 |
| 8 Gaussian mixtures | 75.43 | 74.81 | 71.07 |
| 32 Gaussian mixtures | 82.27 | 81.96 | 80.40 |
Precision, Recall and F1-score for bee acoustic classification without (MFCC) and with cepstral mean normalization (MFCC_CMN) and with the LPC features.
| Probability Density Functions per State | MFCC | MFCC_CMN | LPC | ||||||
|---|---|---|---|---|---|---|---|---|---|
| P | R | F1 | P | R | F1 | P | R | F1 | |
| 2 Gaussian mixtures | 0.72 | 0.78 | 0.75 | 0.74 | 0.77 | 0.76 | 0.79 | 0.70 | 0.74 |
| 8 Gaussian mixtures | 0.85 | 0.87 | 0.86 | 0.84 | 0.87 | 0.86 | 0.88 | 0.79 | 0.83 |
| 32 Gaussian mixtures | 0.89 | 0.92 | 0.90 | 0.89 | 0.91 | 0.90 | 0.90 | 0.88 | 0.89 |
Real-Time Factor (RTF) ratio between Feature Extraction (FE) and Classification (CA) and the acoustic models’ memory sizes.
| Probability Density Functions per State | Memory (kB) | RTF | FE:CA Ratio |
|---|---|---|---|
| 2 Gaussian mixtures | 25 | 0.003 | 0.75:0.25 |
| 8 Gaussian mixtures | 91 | 0.004 | 0.54:0.46 |
| 32 Gaussian mixtures | 355 | 0.009 | 0.26:0.74 |
Accuracy, precision, recall and F1-score for bee acoustic classification with background noise and with the denoising procedure.
| Noisy Test Set | MFCC | Denoising | ||||||
|---|---|---|---|---|---|---|---|---|
| Acc | P | R | F1 | Acc | P | R | F1 | |
| Original recording | 75.43 | 0.85 | 0.87 | 0.86 | 75.58 | 0.85 | 0.88 | 0.86 |
| Low noise | 70.76 | 0.81 | 0.85 | 0.83 | 71.85 | 0.82 | 0.85 | 0.84 |
| High noise | 51.17 | 0.63 | 0.73 | 0.68 | 48.83 | 0.62 | 0.70 | 0.66 |
Figure 6Bee activity acoustic classification accuracy comparison.