DCNN for Pig Vocalization and Non-Vocalization Classification: Evaluate Model Robustness with New Data

Animals Pub Date : 2024-07-09 DOI:10.3390/ani14142029
Vandet Pann, Kyeong-seok Kwon, Byeonghyeon Kim, Dongsig Jang, Jong-Bok Kim
{"title":"DCNN for Pig Vocalization and Non-Vocalization Classification: Evaluate Model Robustness with New Data","authors":"Vandet Pann, Kyeong-seok Kwon, Byeonghyeon Kim, Dongsig Jang, Jong-Bok Kim","doi":"10.3390/ani14142029","DOIUrl":null,"url":null,"abstract":"Since pig vocalization is an important indicator of monitoring pig conditions, pig vocalization detection and recognition using deep learning play a crucial role in the management and welfare of modern pig livestock farming. However, collecting pig sound data for deep learning model training takes time and effort. Acknowledging the challenges of collecting pig sound data for model training, this study introduces a deep convolutional neural network (DCNN) architecture for pig vocalization and non-vocalization classification with a real pig farm dataset. Various audio feature extraction methods were evaluated individually to compare the performance differences, including Mel-frequency cepstral coefficients (MFCC), Mel-spectrogram, Chroma, and Tonnetz. This study proposes a novel feature extraction method called Mixed-MMCT to improve the classification accuracy by integrating MFCC, Mel-spectrogram, Chroma, and Tonnetz features. These feature extraction methods were applied to extract relevant features from the pig sound dataset for input into a deep learning network. For the experiment, three datasets were collected from three actual pig farms: Nias, Gimje, and Jeongeup. Each dataset consists of 4000 WAV files (2000 pig vocalization and 2000 pig non-vocalization) with a duration of three seconds. Various audio data augmentation techniques are utilized in the training set to improve the model performance and generalization, including pitch-shifting, time-shifting, time-stretching, and background-noising. In this study, the performance of the predictive deep learning model was assessed using the k-fold cross-validation (k = 5) technique on each dataset. By conducting rigorous experiments, Mixed-MMCT showed superior accuracy on Nias, Gimje, and Jeongeup, with rates of 99.50%, 99.56%, and 99.67%, respectively. Robustness experiments were performed to prove the effectiveness of the model by using two farm datasets as a training set and a farm as a testing set. The average performance of the Mixed-MMCT in terms of accuracy, precision, recall, and F1-score reached rates of 95.67%, 96.25%, 95.68%, and 95.96%, respectively. All results demonstrate that the proposed Mixed-MMCT feature extraction method outperforms other methods regarding pig vocalization and non-vocalization classification in real pig livestock farming.","PeriodicalId":502248,"journal":{"name":"Animals","volume":"65 14","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-07-09","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Animals","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.3390/ani14142029","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Since pig vocalization is an important indicator of monitoring pig conditions, pig vocalization detection and recognition using deep learning play a crucial role in the management and welfare of modern pig livestock farming. However, collecting pig sound data for deep learning model training takes time and effort. Acknowledging the challenges of collecting pig sound data for model training, this study introduces a deep convolutional neural network (DCNN) architecture for pig vocalization and non-vocalization classification with a real pig farm dataset. Various audio feature extraction methods were evaluated individually to compare the performance differences, including Mel-frequency cepstral coefficients (MFCC), Mel-spectrogram, Chroma, and Tonnetz. This study proposes a novel feature extraction method called Mixed-MMCT to improve the classification accuracy by integrating MFCC, Mel-spectrogram, Chroma, and Tonnetz features. These feature extraction methods were applied to extract relevant features from the pig sound dataset for input into a deep learning network. For the experiment, three datasets were collected from three actual pig farms: Nias, Gimje, and Jeongeup. Each dataset consists of 4000 WAV files (2000 pig vocalization and 2000 pig non-vocalization) with a duration of three seconds. Various audio data augmentation techniques are utilized in the training set to improve the model performance and generalization, including pitch-shifting, time-shifting, time-stretching, and background-noising. In this study, the performance of the predictive deep learning model was assessed using the k-fold cross-validation (k = 5) technique on each dataset. By conducting rigorous experiments, Mixed-MMCT showed superior accuracy on Nias, Gimje, and Jeongeup, with rates of 99.50%, 99.56%, and 99.67%, respectively. Robustness experiments were performed to prove the effectiveness of the model by using two farm datasets as a training set and a farm as a testing set. The average performance of the Mixed-MMCT in terms of accuracy, precision, recall, and F1-score reached rates of 95.67%, 96.25%, 95.68%, and 95.96%, respectively. All results demonstrate that the proposed Mixed-MMCT feature extraction method outperforms other methods regarding pig vocalization and non-vocalization classification in real pig livestock farming.
用于猪发声和不发声分类的 DCNN:用新数据评估模型的鲁棒性
由于猪的发声是监测猪状况的重要指标,因此利用深度学习检测和识别猪的发声在现代养猪业的管理和福利方面发挥着至关重要的作用。然而,收集猪叫声数据用于深度学习模型训练需要花费大量时间和精力。考虑到收集猪的声音数据用于模型训练所面临的挑战,本研究引入了一种深度卷积神经网络(DCNN)架构,利用真实猪场数据集进行猪发声和非发声分类。为比较性能差异,对各种音频特征提取方法进行了单独评估,包括梅尔频率倒频谱系数(MFCC)、梅尔频谱图、色度和音调。本研究提出了一种新的特征提取方法,称为混合-MMCT,通过整合 MFCC、Mel-spectrogram、Chroma 和 Tonnetz 特征来提高分类准确率。这些特征提取方法被用于从猪的声音数据集中提取相关特征,并输入到深度学习网络中。在实验中,从三个实际养猪场收集了三个数据集:尼亚斯、Gimje 和 Jeongeup。每个数据集包含 4000 个 WAV 文件(2000 个猪发声文件和 2000 个猪非发声文件),持续时间为三秒。在训练集中使用了各种音频数据增强技术,以提高模型的性能和泛化能力,包括音调转换、时间转换、时间拉伸和背景噪声。在本研究中,使用 k 倍交叉验证(k = 5)技术在每个数据集上评估了预测性深度学习模型的性能。通过严格的实验,Mixed-MMCT 在尼亚斯、Gimje 和 Jeongeup 的准确率分别为 99.50%、99.56% 和 99.67%,显示出卓越的准确性。为了证明该模型的有效性,还进行了鲁棒性实验,将两个农场数据集作为训练集,一个农场作为测试集。在准确率、精确率、召回率和 F1 分数方面,混合-MMCT 的平均性能分别达到了 95.67%、96.25%、95.68% 和 95.96%。所有结果表明,在实际养猪业中,所提出的混合-MMCT 特征提取方法在猪的发声和非发声分类方面优于其他方法。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信