| Literature DB >> 33987611 |
Payam Hosseinzadeh Kasani1, Seung Min Oh2, Yo Han Choi3, Sang Hun Ha1, Hyungmin Jun4, Kyu Hyun Park1, Han Seo Ko1, Jo Eun Kim3, Jung Woo Choi1, Eun Seok Cho3, Jin Soo Kim1,5.
Abstract
The objectives of this study were to evaluate convolutional neural network models and computer vision techniques for the classification of swine posture with high accuracy and to use the derived result in the investigation of the effect of dietary fiber level on the behavioral characteristics of the pregnant sow under low and high ambient temperatures during the last stage of gestation. A total of 27 crossbred sows (Yorkshire × Landrace; average body weight, 192.2 ± 4.8 kg) were assigned to three treatments in a randomized complete block design during the last stage of gestation (days 90 to 114). The sows in group 1 were fed a 3% fiber diet under neutral ambient temperature; the sows in group 2 were fed a diet with 3% fiber under high ambient temperature (HT); the sows in group 3 were fed a 6% fiber diet under HT. Eight popular deep learning-based feature extraction frameworks (DenseNet121, DenseNet201, InceptionResNetV2, InceptionV3, MobileNet, VGG16, VGG19, and Xception) used for automatic swine posture classification were selected and compared using the swine posture image dataset that was constructed under real swine farm conditions. The neural network models showed excellent performance on previously unseen data (ability to generalize). The DenseNet121 feature extractor achieved the best performance with 99.83% accuracy, and both DenseNet201 and MobileNet showed an accuracy of 99.77% for the classification of the image dataset. The behavior of sows classified by the DenseNet121 feature extractor showed that the HT in our study reduced (p < 0.05) the standing behavior of sows and also has a tendency to increase (p = 0.082) lying behavior. High dietary fiber treatment tended to increase (p = 0.064) lying and decrease (p < 0.05) the standing behavior of sows, but there was no change in sitting under HT conditions. © Copyright 2021 Korean Society of Animal Science and Technology.Entities:
Keywords: Convolutional neural network; Dietary fiber; Heat stress; Machine learning; Sows
Year: 2021 PMID: 33987611 PMCID: PMC8071751 DOI: 10.5187/jast.2021.e35
Source DB: PubMed Journal: J Anim Sci Technol ISSN: 2055-0391
Formula and chemical composition of lactation sow diets (as-fed basis)
| Items | Control | High fiber |
|---|---|---|
| Ingredients (%) | 100.00 | 100.0 |
| Corn | 68.77 | 28.97 |
| Wheat | 4.00 | 4.00 |
| Soybean meal | 14.06 | 1.32 |
| Animal fat | - | 7.53 |
| Wheat bran | 5.83 | 34.53 |
| DDGS | 4.00 | 20.00 |
| Salt | 0.50 | 0.50 |
| TCP | 1.36 | 0.92 |
| Limestone | 0.86 | 1.25 |
| DL-methionine (98%) | 0.02 | 0.03 |
| Lysine (78.8%) | 0.08 | 0.34 |
| Tryptophan (10%) | 0.07 | 0.17 |
| Threonine (98.5%) | 0.11 | 0.08 |
| Choline-Liquid (50%) | 0.10 | 0.10 |
| Vitamin premix[ | 0.10 | 0.10 |
| Mineral premix[ | 0.10 | 0.10 |
| Phytase | 0.05 | 0.05 |
| Chemical composition (%) | ||
| Dry matter | 87.5 | 88.4 |
| Crude protein | 14.00 | 14.00 |
| Ether extract | 2.77 | 10.96 |
| Crude fiber | 3.00 | 6.00 |
| Ca | 0.82 | 0.82 |
| P | 0.69 | 0.81 |
| Available P[ | 0.38 | 0.38 |
| Lysine | 0.68 | 0.71 |
| MET + CYS | 0.50 | 0.53 |
| Threonine | 0.62 | 0.56 |
| Tryptophan | 0.15 | 0.16 |
| ME (kcal/kg)[ | 3,140 | 3,140 |
Supplied per kilogram of vitamin premix: 12,000,000 IU vitamin A, 2,400,000 IU vitamin D3, 132,000 IU vitamin E, 1,500 mg vitamin K3, 3,000 mg vitamin B1, 11,250 mg vitamin B2, 3,000 mg vitamin B6, 45 mg vitamin B12, 36,000 mg pantothenic acid, 30,000 mg niacin, 600 mg biotin, 4,000 mg folic acid.
Supplied per kilogram of mineral premix: 80,000 mg Fe, 170 mg Co, 8,500 mg Cu, 25,000 mg Mn, 95,000 mg Zn, 140 mg I, 150 mg Se.
Calculated values.
DDGS, dried distiller’s grains with solubles; TCP, tricalcium phosphate; MET, methionine; CYS, cysteine; ME, metabolizable energy.
Definition and description of different sow behaviors recorded in a farrowing crate
| Behaviors | Classification description |
|---|---|
| Lying left | Resting with her left side in contact with the farrowing crate floor. |
| Laying right | Resting with her right side in contact with the farrowing crate floor. |
| Sitting | Sitting on her hip or stretched front legs with caudal end of body contacting the floor. |
| Standing | Upright body position on extended legs with hooves only in contact with the floor. |
Fig. 1.Representation of swine posture categorization in four classes.
Fig. 2.Loss function and accuracy curves of individual architectures.
a) DenseNet121, b) DenseNet201, c) InceptionResNetV2, d) InceptionV3, e) MobileNet, f) VGG16, g) VGG19, and h) Xception.
Fig. 3.Confusion matrix of swine behavior image classification.
a) DenseNet121, b) DenseNet201, c) InceptionResNetV2, d) InceptionV3, e) MobileNet, f) VGG16, g) VGG19, and h) Xception.
Classification results from pre-trained deep CNN models
| Method | Model performance indicators | |||
|---|---|---|---|---|
| Accuracy (%) | Sensitivity | Specificity | F1_score | |
| DenseNet121[ | 99.83 | 100 | 100 | 99.83 |
| DenseNet201[ | 99.77 | 100 | 100 | 99.77 |
| InceptionResNetV2 | 99.71 | 100 | 100 | 99.71 |
| InceptionV3 | 99.71 | 100 | 100 | 99.71 |
| MobileNet[ | 99.77 | 100 | 100 | 99.77 |
| VGG16 | 99.54 | 100 | 100 | 99.55 |
| VGG19 | 99.71 | 100 | 100 | 99.71 |
| Xception | 99.71 | 100 | 100 | 99.71 |
The best result.
Represents the second-best result of the respective category.
Effect of ambient temperature and dietary fiber levels on sow’s behavior frequency (%) classified by Densenet121
| Items | NT + LF | HT + LF | HT + HF | SEM | |||
|---|---|---|---|---|---|---|---|
| NT + LF vs HT + LF | HT + LF vs HT + HF | NT + LF vs HT + HF | |||||
| % of observation | |||||||
| Lying[ | 45.43 | 49.48 | 53.80 | 0.97 | 0.082 | 0.069 | <0.001 |
| Left lying | 22.51 | 24.69 | 27.07 | 0.55 | 0.079 | 0.081 | <0.001 |
| Right lying | 22.93 | 24.79 | 26.73 | 0.47 | 0.174 | 0.123 | 0.002 |
| Standing | 13.08 | 9.26 | 5.31 | 0.80 | 0.009 | 0.012 | <0.001 |
| Sitting | 41.48 | 41.26 | 40.89 | 0.41 | 0.998 | 0.936 | 0.909 |
Sum of left and right lying.
NT, neutral ambient temperature; LF, low dietary fiber (3%); HT, high ambient temperature; HF, high dietary fiber (3%).