| Literature DB >> 35256620 |
Elodie F Briefer1,2, Ciara C-R Sypherd3,4, Pavel Linhart5,6, Lisette M C Leliveld7,8, Monica Padilla de la Torre9, Eva R Read10, Carole Guérin10, Véronique Deiss11, Chloé Monestier12, Jeppe H Rasmussen7,13,14, Marek Špinka5,15, Sandra Düpjan7, Alain Boissy11, Andrew M Janczak9, Edna Hillmann16,17, Céline Tallet10.
Abstract
Vocal expression of emotions has been observed across species and could provide a non-invasive and reliable means to assess animal emotions. We investigated if pig vocal indicators of emotions revealed in previous studies are valid across call types and contexts, and could potentially be used to develop an automated emotion monitoring tool. We performed an analysis of an extensive and unique dataset of low (LF) and high frequency (HF) calls emitted by pigs across numerous commercial contexts from birth to slaughter (7414 calls from 411 pigs). Our results revealed that the valence attributed to the contexts of production (positive versus negative) affected all investigated parameters in both LF and HF. Similarly, the context category affected all parameters. We then tested two different automated methods for call classification; a neural network revealed much higher classification accuracy compared to a permuted discriminant function analysis (pDFA), both for the valence (neural network: 91.5%; pDFA analysis weighted average across LF and HF (cross-classified): 61.7% with a chance level at 50.5%) and context (neural network: 81.5%; pDFA analysis weighted average across LF and HF (cross-classified): 19.4% with a chance level at 14.3%). These results suggest that an automated recognition system can be developed to monitor pig welfare on-farm.Entities:
Mesh:
Year: 2022 PMID: 35256620 PMCID: PMC8901661 DOI: 10.1038/s41598-022-07174-8
Source DB: PubMed Journal: Sci Rep ISSN: 2045-2322 Impact factor: 4.379
Figure 1Effect of the valence on the vocal parameters. (a) Call duration (Dur), (b) Amplitude modulation rate (AmpModRate), (c) Spectral center of gravity (Q50%) and (d) Wiener entropy (WienEntropy), as a function of the valence (“ − ” = negative (grey); “ + ” = positive (white)) and call type (“LF” = low-frequency calls; “HF” = high-frequency calls). Boxplots: the horizontal line shows the median, the box extends from the lower to the upper quartile and the whiskers to 1.5 times the interquartile range above the upper quartile or below the lower quartile, and open circles indicate outliers and black circles the mean; the grey lines show the model estimates (continuous line) and 95% confidence intervals (dashed lines). All comparisons between negative and positive valence, for each call type, were significant (LMM: p ≤ 0.001).
Correct classification of calls according to the valence and context of production by the pDFA.
| Valence | Context | |||
|---|---|---|---|---|
| LF | HF | LF | HF | |
| No. valence/contexts category | 2 | 2 | 19 | 16 |
| No. individuals | 392 | 261 | 392 | 261 |
| Total No. calls | 5391 | 1832 | 5391 | 1832 |
| No. calls selected | 236 | 80 | 597 | 355 |
| Correctly classified (%) | 81.32 | 96.59 | 20.24 | 36.6 |
| Chance level (%) | 54.62 | 59.55 | 12.31 | 24.81 |
| Correctly cross-classified (%) | 61.25 | 63.18 | 16.20 | 29.40 |
| Chance level for cross-classified (%) | 50.55 | 50.37 | 11.28 | 23.11 |
| Relative cross-classification level | 1.21 | 1.25 | 1.44 | 1.27 |
| 0.169 | ||||
Results of the permuted discriminant function analysis (pDFA) for low-frequency calls (LF) and high-frequency calls (HF); number of valence or contexts included, number of individuals, total number of calls, number of calls selected, percentage of calls classified and cross-classified to the correct valence or context, and corresponding chance level (expected percentage of correctly classified calls based on the permutation test, averaged across the permutations), relative classification (percentage of calls cross-classified/chance level), and p value. The analysis was performed on the entire dataset, after excluding missing data (Sample size: calls in which AMRate could not be measured = 191; calls in the entire dataset = 7414; calls included for this analysis = 7223). Significant p values appear in bold.
Performance statistics for neural networks trained on valence and context of production.
| Valence | Context | |
|---|---|---|
| Accuracy | 0.915 ± 0.003 | 0.815 ± 0.003 |
| Precision | 0.919 ± 0.005 | 0.815 ± 0.003 |
| Recall | 0.912 ± 0.003 | 0.813 ± 0.003 |
| F1 score | 0.916 ± 0.003 | 0.812 ± 0.003 |
For the binary valence classifier (2 classes: positive and negative), the following statistics were computed using the binary precision, recall, and F1 score formulas while treating positive valence labels as positive. For the imbalanced multi-class context classifier (19 classes, Supplementary Table S1), the following statistics were calculated as weighted averages across the classes. From the 10 trials, the mean accuracy, precision, recall, and F1 scores of the classifiers are listed. The uncertainty value is calculated across 10 trials.
Figure 2Classification of calls to the valence and context of production based on t-SNE. t-SNE embedding of (a) valence (embedding perplexity = 50) and (b) context (embedding perplexity = 20) classifying neural network’s last fully connected layer activations for each spectrogram (t-SNE plots visualize the probability that two points are neighbors in an original multivariate space). Triangles indicate negative valence vocalizations, while circles indicate positive ones (see Supplementary Text for more information on the settings used for this figure).
Acoustic parameters.
| Abbreviation | Description | Category | Reference |
|---|---|---|---|
| Dur (s) | Duration of the call | Duration | [ |
| AmpVar (dB/s) | Amplitude variation; cumulative variation in amplitude divided by the total call duration | Amplitude modulation | [ |
| AmpModRate (s-1) | Amplitude modulation rate; number of complete cycles of amplitude modulation per second | [ | |
| AmpModExtent (dB) | Amplitude modulation extent; mean peak-to-peak variation of each amplitude modulation | [ | |
| Q25% (Hz) | Frequency value at the upper limit of the first quartiles of energy | Spectrum (energy distribution) | [ |
| Q50% (Hz) | Spectral center of gravity; frequency value at the upper limit of the second quartiles of energy | [ | |
| Q75% (Hz) | Frequency value at the upper limit of the third quartiles of energy | [ | |
| FPeak (Hz) | Frequency of peak amplitude | [ | |
| Harmonicity | Degree of acoustic periodicity, also called harmonic-to-noise ratio—higher values indicate more tonal calls | Tonality/noise | [ |
| WienEntropy | Wiener entropy; spectral flatness of a sound, calculated as the ratio of a power spectrum's geometric mean to its arithmetic mean measured on a logarithmic scale—higher values indicate more noisy calls | [ |
Abbreviation and description of the analyzed acoustic parameters, along with the category they were allocated to, which was used to select the best parameters to include in our analyses, as well as examples of references to other studies where these parameters were measured in relation to emotions in pig and wild boars.