Skip to main content

ORIGINAL RESEARCH article

Front. Vet. Sci., 09 January 2023
Sec. Animal Behavior and Welfare
Volume 9 - 2022 | https://doi.org/10.3389/fvets.2022.1051284

Analysis of image-based sow activity patterns reveals several associations with piglet survival and early growth

  • 1UMR1388 GenPhySE, INRAE, Université de Toulouse, INPT, Castanet-Tolosan, France
  • 2UR0143 ASSET, INRAE, Petit-Bourg, France
  • 3UE GenESI, INRAE, Surgères, France

An activity pattern describes variations in activities over time. The objectives of this study are to automatically predict sow activity from computer vision over 11 days peripartum and estimate how sow behavior influences piglet's performance during early lactation. The analysis of video images used the convolutional neural network (CNN) YOLO for sow detection and posture classification of 21 Large White and 22 Meishan primiparous sows housed in individual farrowing pens. A longitudinal analysis and a clustering method were combined to identify groups of sows with a similar activity pattern. Traits under study are as follows: (i) the distribution of time spent daily in different postures and (ii) different activities while standing. Six postures were included along with three classes of standing activities, i.e., eating, drinking, and other, which can be in motion or not and root-pawing or not. They correspond to a postural budget and a standing-activity budget. Groups of sows with similar changes in their budget over the period (D-3 to D-1; D0 and D1–D7) were identified with the k-means clustering method. Next, behavioral traits (time spent daily in each posture, frequency of postural changes) were used as explanatory variables in the Cox proportional hazards model for survival and in the linear model for growth. Piglet survival was influenced by sow behavior on D-1 and during the period D1–D7. Piglets born from sows that were standing and doing an activity other than drinking and eating on D-1 had a 26% lower risk of dying than other piglets. Those born from sows that changed posture more frequently on D1–D7 had a 44% lower risk of dying. The number of postural changes, which illustrate sow restlessness, influenced piglet growth in the three periods. The average daily gain of piglets born from sows that were more restless on D1–D7 and that changed posture more frequently to hide their udder on D0 decreased by 22 and 45 g/d, respectively. Conversely, those born from sows that changed posture more frequently to hide their udder during the period of D1–D7 grew faster (+71 g/d) than the other piglets. Sow restlessness at different time periods influenced piglet performance.

1. Introduction

Improving piglet performance in housing conditions where sows have greater freedom of movement is a major economic, ethical, and societal concern. One way to address this need for indoor production is to promote the housing of lactating sows in individual pens. This design allows sows to interact more with their piglets as well as to avoid their demands for more milk (13). Piglet survival can be impaired, either due to crushing by the sow (46) or starvation [7–16% (6)], both of which tend to increase in individual pens (7, 8). This is particularly true for sows that are less maternal and that lie down abruptly (810) or that suffer from a lactation problem (11).

Sow behavior varies greatly from day to day in the peripartum period (1214). Therefore, the analysis of the sow activity pattern, which refers to the evolution of behavior with time, may be essential for addressing the issue of piglet performance. The activity pattern of sows is lowly described in the literature due to the lack of monitoring tools. It has been mainly assessed by direct observations, within short time windows and with a limited number of animals (12, 15, 16). After a nest-building activity phase in the 24–48 h before farrowing, sows calm down and remain lying most of the time during the farrowing process (17, 18). Thereafter, they gradually resume activity (12, 19), which is then punctuated by nursing bouts (3). Some of the sow body movements, from standing to lying and from sternal lying to lateral lying, increase the risk of piglet crushing (20). This occurs more frequently in sows that move to prevent the piglets from suckling more when they change posture to hide their udder, often under the belly (21).

Sow behavior can also vary considerably among individuals, and genetic background influences behavior (22), which is illustrated by differences between breeds. Large White (LW) and Meishan (MS) sows markedly differ in reactivity, the former responding to disturbances in the environment and the latter remaining placid under the vast majority of situations (2325). Indeed, selective breeding has endowed LW sows with good maternal abilities oriented toward the nursing of a large number of fast-growing piglets, and they produce more milk than MS sows (26, 27). The MS sows have good maternal abilities as well, as seen by the high survival rate of their piglets. They also have a more pronounced exploratory behavior and they interact more with their piglets than LW sows (25, 27). However, they do not seem to markedly differ from LW sows in their postural budget (27, 28), i.e., the amount of time spent in the different postures.

An increasing number of research teams rely on artificial intelligence methods for image analysis of animal behavior. Methods based on the Convolutional Neural Networks (CNN) are being developed to estimate the postures and activities of sows in individual pens (29, 30) and will make it possible to access longitudinal information (31). This approach is adequate for studying large populations. The objective of the current study was to apply CNNs on video records of 43 sows over a continuous period of 11 days peripartum to identify sow behavioral traits that have an influence on piglet survival and growth. We used CNNs to predict the postural activity and standing activity of sows. From predictions, we investigated time budgets, i.e., the amount of time spent in the different postures and specific standing activities. Then, we identified groups of sows that differed in their activity patterns and estimated the influence of sow behavior on piglet performance.

2. Materials and methods

2.1. Experimental design

This study included 21 LW and 22 MS primiparous sows raised at the INRAE GenESI experimental farm of Le Magneraud (10.15454/1.5572415481185847E12). The animals were reared in five successive batches between November 2010 and January 2011. The farrowing unit contained two rooms (Figure 1A) which housed batches at 3 weeks interval. The sows entered the farrowing unit ~7 days before the expected farrowing date. The LW and MS sows were placed alternately in adjacent pens, which were 286 cm × 255 cm and contained protective bars along the walls as well as a creep area with a heat lamp (Figure 1B). Restraining bars were in open mode and hardly ever used on a very short period for sows that savaged piglet(s) (N = 3). The floor was covered with a thin bed of straw, which was changed every morning, the quantity of which was adjusted around the time of farrowing according to its use by the sow. The straw had a positive impact on sow activity (1), especially to perform nest building. Sows were fed two times a day at 8 a.m. and 4 p.m. The feeding trough and the drinking trough were on opposite sides of the pen. From the day of entrance in the farrowing unit, sows were daily accustomed to human presence and interventions for routine and experimental procedures.

FIGURE 1
www.frontiersin.org

Figure 1. (A) Scheme of farrowing unit room, A, B, C, and D, represents the pen position in relation to the principal door and weighing area. (B) Scheme of a farrowing pen.

The animals were part of a crossbreeding design. Each sow was inseminated with mixed semen of LW and MS boars to produce purebred and crossbred piglets in the same litter. As a consequence, four piglet genetic types were produced (dam/sire): LW purebred (LW/LW), MS purebred (MS/MS), LW crossbred (LW/MS), and MS crossbred (MS/LW). Immediately at birth, the piglets were individually caught and carried out of the pen to be dried and weighed in the central corridor of the farrowing unit (Figure 1A). The rooms were isolated from the central corridor by a plastic curtain. Piglets were weighed again on D1 (24 h after birth), D3, and D7. The total number of piglets born was counted at birth. Each morning, animal keepers recorded the number of dead piglets and identified the causes of death, distinguishing stillbirth, crushing by the sow, starvation, and other causes. All sows were filmed on 24-h day, from D-3 until D7, using a 2D digital camera fixed on the ceiling of each pen to have a view that precisely covered the whole surface of the pen.

2.2. Behavioral measurements and annotation

Behavioral traits that described sow postural activity and sow standing activity were derived from the ethogram presented in Table 1. Six different postures were considered: Standing (ST), Sitting (SI), Kneeling (K), Lateral Lying (LL), Lateral Lying with udder exposed (LLU), and Sternal Lying (SL). While standing, three activities where identified: drinking, eating, and other, which can be in motion or not and rooting or not.

TABLE 1
www.frontiersin.org

Table 1. Ethogram of sow postural activity and standing activity.

2.3. CNNs' use for sow behavior detection

We used two CNNs to obtain continuous information on the postural activity and standing activity of each sow. First, we used a Yolo-v2 object detection CNN to detect the sow on the image and predict her posture. We trained Yolo-v2 (32) with six classes for the six postures previously defined. Yolo was combined with resNet50 (33) for feature extraction. To train Yolo, we used 8,400 images randomly selected from all the videos and manually labeled according to the posture. Yolo was trained using a classic stochastic gradient decent algorithm with a momentum of 0.9 for 250 epochs with a mini-batch, including 16 images. To validate the posture prediction from Yolo, 25,830 images were selected randomly, manually annotated, and compared to Yolo prediction. Second, we fitted another Yolo-v2 CNN to detect the head of the sow. Only 860 images from the previous training database were manually annotated for training. Validation of the prediction was performed on thousands of images through visual assessment, and no error was observed in the head detection.

For each image, the two Yolo models provided three informative items: (i) a bounding box around the sow to determine the center of gravity of her body, (ii) a bounding box around her head to determine the center of gravity of her head, and (iii) the posture of the sow. The two centers of gravity for the head and the body were initially in pixels. An image registration technique was used to convert the location into spatial coordinates (34). It was then possible to calculate the distance between the sow head and the trough or the feeder to detect drinking and eating activities, respectively. While standing, a sow not drinking or eating was classified as doing something other.

The MATLAB software (R2020b) was used to train the two CNNs and run the image analysis. After validation, the two CNNs were applied to create a longitudinal database describing the changes in postures and standing activity of sows with one observation every 5 s.

2.4. Statistical methods

The statistical analyses were carried out using R software [version R 4.1.0 (35)]. The database contained more than 8 million observations, with one observation every 5 s for each of the 11 days and for each of the 43 sows. Postures lasting only one observation were considered false predictions and were replaced by the posture detected at the previous observation. We extracted five behavioral traits from the image analysis computed on a daily basis. They were the proportion of time spent in each posture and the proportion of time spent in each activity while standing, which corresponded to the postural budget and standing-activity budget, respectively. We also computed the total number of postural changes per day (PCAll) to depict sow restlessness. We calculated the number of postural changes at risk of crushing for the piglet (PCRiskCrush). They corresponded to changes from standing to lying (LL, LLU, and SL) and from sternal lying to lateral lying (udder exposed or not) (9, 10, 20, 3638). Finally, we computed the daily number of postural changes usable to end a nursing bout (PCStopNurse; i.e., to hide the udder) that corresponded to changes from lateral lying with the udder exposed to any other posture (3, 39). These five variables were studied over three different periods: before farrowing (bf) from D-3 to D-1 the day of farrowing D0 (df), defined as the 24-h after the birth of the first piglet, and the period after farrowing (af) from D1 to D7.

2.4.1. Cluster analysis

To identify the sow activity patterns, we applied a clustering analysis on the postural budget and the standing-activity budget in three periods. To take into account the compositional aspect of budget data, i.e., the sum of proportions equal to 100%, an isometric log-ratio (ILR) transformation was first applied to the two budgets (40). Then, k-means clustering approaches were applied to identify different posture patterns and different standing-activity patterns. The klm3d package was used (41) to take into account the longitudinal aspect of the data in the before-farrowing and after-farrowing periods, as those periods included several days each. The classic k-means was used to analyze clusters on the day of farrowing. The optimal number of clusters was defined based on the Elbow method (42). As per period k (k = bf, df or af), the resulting postural clusters were labeled Ak, Bk… and the activity clusters were labeled Aak, Bak… .

2.4.2. Survival analysis

In the analysis of piglet survival, we defined the deaths of live-born piglets as events. When piglets were alive at weaning, the data were censored. We used a Kaplan Meier (KM) approach to estimate survival probabilities for each piglet genetic type. Then, the Cox proportional hazard models were enabled to estimate the influence of sow behavior on piglet survival, following the methodology described hereafter. The R Survival package was used (43).

In the first step, each of the five behavioral items (postural pattern, standing-activity pattern, PCall, PCRiskCrush, and PCStopNurse) were considered one by one as an explanatory variable and for this, analyses were run separately in each of the three periods. The aim of this first step was to determine which variables to be included in the model with which coding, i.e., continuous or categorized. Only behavioral traits that made sense per period were tested. Thus, on D-3 to D-1, only the postural pattern, the standing-activity pattern, and PCAll were tested. PCStopNurse was not tested on D0. The best coding for PCAll, PCStopNurse, and PCRiskCrush was chosen using the Akaike information criterion (AIC). Cox models included each variable as continuous or categorized into three classes. For each continuous variable and period, the grouping in classes was based on the quantiles of distribution: class Inferior (I, values ≤ 33th percentile), class Moderate (M, 33 < values ≤ 66th percentile), and class Superior (S, values > 66th). First, we tested in the Cox models that the effects of the postural pattern and the standing-activity pattern using the clusters are previously identified as explanatory variables in each period. If the effect of the clusters was significant (p < 0.05), then we tested the effect of the raw behavioral traits that mainly explained the difference between the clusters. The choice of cluster or raw behavioral traits (i.e., time spent in specific postures or specific standing activities) is based on AIC.

In the second step, all factors with a p lower than 0.05 in the first step of the analysis were included in three saturated Cox models fitted separately in each period. Variables were then selected with a step-by-step descending procedure using the likelihood ratio test as a selection criterion to obtain the three reduced Cox models.

In the third step, the remaining significant factors (p < 0.05) were included in the global model that included factors from the three periods together. Again, variables were selected with a step-by-step descending procedure to obtain the final model.

For all analyses, the fixed effects of piglet genetic type (four classes), litter size (three levels: 12–14; 15–16 and 17–21 piglets born alive), and pen (four levels A–D; defined by distance from the central corridor from nearest to farthest, Figure 1A) were included in the models in addition to the sow behavioral trait(s). The proportional hazards assumption was verified using the Schoenfeld residuals for each variable included in the Cox models.

2.4.3. Growth analysis

We used linear models for the analysis of piglet growth. To estimate the influence of sow behavior on the average daily gain (ADG) of the piglet from D0 to D7, we included the postural pattern, the standing-activity pattern, PCAll, and PCStopNurse as explanatory variables. The same approach in three steps as described above for analyzing piglet survival was applied to select behavioral traits with a significant effect on piglet growth.

3. Results

3.1. Image-based predictions and behavior database

For some days and sows, video recordings were not analyzed due to video recording problems. The percentage of days with missing observations was low (7.5% of the global database). The precision of the prediction of the CNNs was 31% for posture SI, 88% for ST, 9% for K, 95% for SL, 96% for LLU, and 78% for LL (Figure 2) and did not differ between breeds (result not shown). As they were highly confounded, the K and S postures were grouped together for the analyses. Descriptive statistics for daily postural changes are given in Table 2. The number of PCAll per day was on average 266 ± 171. The number of PCStopNurse and PCRiskCrush per day was 67 ± 56 and 51 ± 35 on average. Values for each type of postural change did not differ significantly between days. However, the mean values for PCAll, PCRiskCrush, and PCStopNurse were highest on D-1.

FIGURE 2
www.frontiersin.org

Figure 2. Confusion matrix associated with YOLO prediction with sensitivity (right panel) and precision (below panel). SI, sitting; LL, lateral lying; LLU, lateral lying with udder exposed; ST, standing; K, kneeling; SL, sternal lying.

TABLE 2
www.frontiersin.org

Table 2. Mean number of postural changes (±SD) for each category of posture change.

On average, over the whole period, sows spent 21% of their standing time drinking and 27% eating. During the D-3 to D-1 period, the percentage of time spent drinking increased from 19 to 26%. The average percentage of time spent eating decreased from 27% on D-3 to 21% on D-1. On the day of farrowing, sows spent 24% of their standing time drinking and 22% eating. During the D1–D7 period, the overall trend was an increase in the percentage of time spent eating when standing from 24% at D1 to 30% at D7.

On average over the whole period, sows spent 12% standing, 3% sitting, and 85% lying. On the D-3 to D-1 period, the percentage of time spent standing increased from 15% to 29%. Sows spent 77% of time lying (29% lateral lying, 36% lateral lying with the udder exposed, and 12% sternal lying). On the day of farrowing, sows spent more time lying (92%) and the time spent standing decreased from 29% to 8%. On average over the D1–D7 period, sows spent 89% lying (90% on D1, 89% on D7). On this period, we did not observe a significant trend in the postural pattern, and sows spent 11% of their time standing and most of the time spent lying laterally with the udder exposed (73%).

3.2. Clustering

To perform the analysis on a given period, only sows that had a complete period of observation were kept. We used 28, 30, and 33 sows on the three periods D-3 to D-1, D0, and D1–D7, respectively. The centers of the postural budget for each identified cluster are presented in Figure 3. During the D-3 to D-1 period, two postural clusters were highlighted (Abf and Bbf, respectively). They differed mainly by time spent standing and the preferred posture while lying: lateral lying for sows of cluster Bbf, and lateral lying with the udder exposed for sows of cluster Abf. These differences in behavior reflected the differences between breeds as all sows of cluster Abf were LW (17 animals), and all sows of cluster Bbf were MS (11 animals). On D0, three postural clusters were identified and noted Adf, Bdf, and Cdf. Sows of cluster Adf (five animals, all LW) spent less time lying (91%) than sows of the two other clusters (93 and 94.5% for cluster Bdf and Cdf, respectively). The two last clusters also differed in the preferred posture while lying. Sows in cluster Bdf (2 MS, 6 LW) and Cdf (9 MS, 8 LW) spent, respectively, 70% and 95% of the time with the udder exposed while they were lying. During the D1–D7 period, two postural clusters were identified (noted Aaf and Baf). Sows of the two clusters differed in the percentage of time spent lying with the udder exposed: on average 91% for sows of cluster Aaf (13 MS, 9 LW) and 80% for sows of cluster Baf (1 MS, 10 LW).

FIGURE 3
www.frontiersin.org

Figure 3. Longitudinal changes in sow postural activity according to the clusters that were identified before, after, and on the day of farrowing. SI, sitting; LL, lateral lying; SL, sternal lying; LLU, lateral lying udder exposed; ST, standing; LW, Large-White; MS, Meishan. The centers of data are shown in the periods before and after farrowing because longitudinal analyses were applied. The two first components of the linear discriminant analysis are shown on the day of farrowing.

The standing-activity pattern over days and according to clusters is shown in Figure 4. Before farrowing, two activity clusters, Aabf (9 MS, 5 LW) and Babf (1 MS, 11 LW), that differed according to time spent doing something other were identified (~66% and ~40% for cluster Aabf and Babf, respectively). It should be noted that this difference was larger on D-1. On D0, three standing-activity clusters were identified (Aadf, Badf, and Cadf). The clusters Caaf (12 animals, 10 LW) and Aaaf (5 MS, 6 LW) differed by the percentages of time spent doing something other (42% and 67% of time spent standing, respectively) and drinking (30% and 10% for Cadf and Aadf, respectively). Conversely, sows in cluster Badf (4 MS and 3 LW) spent a very short percentage of time eating (5%) compared to sows from the other clusters (≃25%). During the D1–D7 period, two clusters were identified: Aaaf (5 MS, 18 LW) and Baaf (10 MS, 1 LW). The main difference between groups was the percentage of time spent doing something other, which was 70% on average in cluster Baaf and 46% in cluster Aapaf.

FIGURE 4
www.frontiersin.org

Figure 4. Longitudinal changes in sow standing activity according to the clusters that were identified before, after, and on the day of farrowing. D, drinking; E, eating; N, something other; LW, Large-White, MS, Meishan. The centers of data are shown in the periods before and after farrowing because the longitudinal analyses were applied. The two first components of the linear discriminant analysis are shown on the day of farrowing.

3.3. Piglet survival

In total, 322 piglets were born and raised by LW sows (123 LW/MS and 199 LW/LW) and 279 by MS sows (139 MS/LW and 140 MS/MS). The average litter size was 14.9 (±0.7) for LW sows and 12.7 (±0.7) for MS sows. Piglet survival in lactation was 86.8% on average, 79.9% in LW sows and 93.5% in MS sows. Results from the KM method indicated that piglet survival on D1–D7 was higher in pure MS piglets (D7 survival probability = 0.94) than in pure LW piglets (D7 survival probability = 0.78, p < 0.001). Crossbred piglets raised by MS sows had a similar survival to that of pure MS piglets (D7 survival probability = 0.92). In LW sows, survival was lower in pure piglets as compared to their crossbred counterparts (D7 survival probability = 0.87, p = 0.006, Figure 5).

FIGURE 5
www.frontiersin.org

Figure 5. Kaplan-Meier curves of piglet mortality after farrowing for the four piglet genetic types (dam breed/sire breed).

The behavioral traits with a significant effect on piglet survival in the final Cox model are shown in Figure 6. The three behavioral explanatory variables retained in the final model were time spent doing something other while standing on D-1, PCAll, and time spent with the udder exposed on D1–D7. Piglets from sows that spent more time lying with the udder exposed more time doing any activity other than standing or drinking while standing on D-1 and that were more restless had a lower instantaneous risk of dying than piglets raised by the other sows (HR = 0.72, 0.74, and 0.56, respectively). Piglet survival increased with restlessness on D1–D7. An increase of 100 postural changes per day led to a significant reduction in the instantaneous risk of dying by 44% based on a hazard ratio of 0.56 [95% CI (0.36, 0.87), p = 0.010). The time the udder was exposed on D1–D7 was also favorable to piglet survival. The instantaneous risk of dying decreased by 28% [HR = 0.72, 95% CI (0.57, 0.91), p = 0.007] with each supplementary hour per day spent with udder exposed on D1–D7. The longer the time spent by the sow doing something other while standing on D-1 (in hour), the higher the piglet survival was [HR = 0.74; 95%CI (0.57, 0.96), p = 0.022]. The instantaneous risk of dying was higher in larger litters [class S vs. I, HR = 3.69] and decreased with the distance of the sow from the central corridor in the room [near vs. far, HR = 0.31, p = 0.011]. Pure LW piglets had a higher risk of dying than pure MS or crossbred piglets [HR = 0.20, 95% CI [0.05, 0.76], p = 0.018].

FIGURE 6
www.frontiersin.org

Figure 6. Estimates of Hazard ratios from the Cox model. “Something other D-1” is the time spent doing something other while standing, LLU D1–D7 is the time spent lying with the udder exposed after farrowing and PCAll D1–D7 is the average number of postural changes per day after farrowing divided by 100. The abbreviation for piglet genetic types is dam breed/sire breed. The four pens A, B, C, and D correspond to the location from the maternity entrance, A is the nearest, and D the farthest. For Litter Size, I represents the inferior quartile and S the superior quartile.

3.4. Piglet growth

The average birth weight was 875 ± 153, 1,063 ± 235, 1,292 ± 244, 1,283 ± 276 g for MS/MS, MS/LW, LW/LW, and LW/MS piglets, respectively. Birth weight differed significantly between pure piglets of the two breeds (p = 0.0003) and between pure MS and crossbred piglets born from LW sow (p = 0.001, Figure 7). The ADG over the D0 to D7 period was 110 ± 44 g/d for MS/MS piglets, 114 ± 56 g/d for MS/LW, 160 ± 63 g /d for LW/LW, and 208 ± 59 g/d for LW/MS piglets.

FIGURE 7
www.frontiersin.org

Figure 7. Growth curves for the four piglet genetic types (dam breed/sire breed).

The results of the final linear model are given in Table 3. The three behavioral explanatory variables retained in the final model were PCAll on the period D-3 to D-1, PCStopNurse on D0 and PCStopNurse from D1 to D7. These three variables were considered in the model in two classes (S vs. M + I). The growth of piglets born from more restless sows before farrowing (PCAll, class S) was lower than that of piglets born from less restless sows (−22 ± 7 g/d, p < 0.0001). Growth was lower in piglets born from sows with more PCStopNurse on D0 (−45 ± 10 g/d, p < 0.001), and conversely, it was higher in piglets born from sows with a high PCStopNurse on D1–D7 (71 ± 9 g/d, p < 0.001). Litter size had a significant influence on piglet growth, the larger the litter, the lower the piglet growth (−24 ± 8 g/d between classes I and S). After correction for sow behavior, we still observed a significant influence of sow breed on piglet growth, with a lower growth for piglets from MS sow than piglets from LW sow (−103 ± 9 g/d).

TABLE 3
www.frontiersin.org

Table 3. Estimates of the effects of behavioral traits and other fixed effects on ADG piglet growth (g/d) from D0 to D7.

4. Discussion

The evolution of EU animal welfare standards, with the End the Cage Age initiative (44), encourages researchers to expand their work on looser housing conditions for lactating sows. Identifying sow behavioral traits that are important for piglet survival and early growth when sows are kept in individual pens is essential to accompany the transition toward looser housing conditions to maintain production in maternal populations at a sustainable level. We have favorable indications that several behavioral traits determined by image analysis are usable to improve piglet survival in maternal lines. Indeed, direct genetic selection for piglet survival is not effective due to the low heritability of these traits [h2 = 0.05 on average; (45)]. Conversely, studies showed that sow behavior is moderately heritable [h2 = 0.10–0.40; (46)] and associated with piglet survival at the genetic level (47, 48).

The two breeds included in this study have different ranges in reactivity (46) and markedly differ in speed of movement (23, 25). Using breeds with different behavioral reactivity to estimate relationships between sow behavior and piglet survival is an insightful approach to explore the diversity of cases that exist in a large population. Our aim was to demonstrate that beyond the discrepancies, the individual behavior of a sow rather than the breed to which she belongs has a major role in piglet survival (1, 17, 49). Variations in behavior were observed within each breed and exceeded variation between breeds so that sows from the two breeds were often grouped in the same cluster. Variations among sows in a population can be exploited to improve performance, especially piglet survival under looser housing conditions.

For this study, sows of both breeds were reared together in the same farrowing unit. They were kept in large individual pens, accustomed to humans and visited several times a day. Their environment was enriched (50) and they should have experienced less stress than more constrained animals (51, 52). Accordingly, stillbirth was very low (3.8%) and the survival rate of liveborn piglets was 80% in LW, which is higher than what was reported by other researchers under similar housing conditions (75%) (6, 53). However, we observed effects of the micro-environment on performance, e.g., the location of the pen in the room. Sows located closer to the central corridor where the litters were weighed each day had a lower piglet survival. Accordingly, Lensink et al. (54) estimated a positive association between sow reactivity to piglet handling for routine management with piglet crushing. Sows located nearby were more disturbed than other sows and at greater risk to develop a reaction toward screaming piglets (55), even more so if they were in first parity (56). Conclusions drawn from our study were formulated after correction for this effect. Performance is also a result of interactions between the sow and her offspring. The activity patterns of the 21 LW and 22 MS sows were analyzed jointly. Due to heterosis effects, crossbred piglets show higher vigor than purebred piglets (5759). In order to focus the study on sow potential for piglet survival and growth, the genetic type of the piglet was systematically corrected for in the piglet analyses.

For a sow's farrowing to be successful, the restlessness associated with its preparation must gradually give way to calm. Behavioral patterns reveal more about sow maternal abilities than punctual observations. Our study relied on the use of image analysis by convolutional neural networks to predict sow behavior in the long term. This approach made it possible to quantify behavior that describes sow activity, considering postural activity during the time spent daily in different postures, postural changes, and, specifically, standing activity that included being in motion or not, and exploring or not the environment (rooting, pawing, etc.), in addition to maintenance activities (drinking or eating).

The use of postural and activity budgets is rarely described in the literature [however, see (6063)]. There are many studies of postural changes assessed by scan sampling and rare continuous analyses of behavior over more than 1 day. The effect of activity budget on performance was investigated in relation to posture (17, 62), nest building, and dam-piglet interaction (15). Considering activity as compositional data was advantageous to combine complementary sources of information in a single analysis. Over the before-farrowing period and the after-farrowing period, groups of sows with different activity patterns were identified, and some of the differences between groups were essential for piglet survival or growth. Studies of larger populations will most certainly highlight the contrasts between these different sow profiles (groups) once again.

Sows naturally become more restless in the run-up to farrowing, which is manifested in particular by a higher proportion of time spent standing. Sows from the current study spent 35% of their postural budget standing in the 24-h period before farrowing, in line with Rosvold et al. (63) who reported 40% in the 12 h before farrowing, and a third of this time was spent nest-building. This activity should be more elaborate and less fragmented than in a crate (64). It is frequent in sows that receive straw daily (1) and can last 15 h (65), thus accounting for a large proportion of the standing-activity budget. In our study, sows that spend more of their standing time doing something other than eating and drinking had litters with a higher survival rate. Consistently, it is mentioned in the literature that nest-building activity, especially when performed satisfactorily for behavioral needs, is associated with fewer piglets crushed (9, 13, 16, 66) and starved to death (67).

It is possible that sows that are standing and performing activities other than eating and drinking before farrowing are actively preparing for farrowing. Later, these sows sniff their piglets more than others (63). Videos are available to confirm that fine phenotypes (manipulating straw, sniffing piglets before lying) correlate with the time spent standing, for example. The timing of nest-building activity is a key parameter for farrowing success. It would be wise to analyze the time interval between the two activities with advanced image analysis. In addition, if the key activity of nest-building is impaired, it results in prolonged farrowing (68) and has long-term consequences, such as sows changing posture more frequently in the 24 h after farrowing (69, 70). We found a strong association of before-and-after sow activity (rp = 0.70). There are therefore associations between different or the same behaviors performed in separate time windows. Prepartum activity can predict sow behavior after parturition, as discussed in (9, 65, 70, 71). We found a pronounced relationship with piglet survival: a piglet had a 44% lower instantaneous risk of dying if it was born from a sow that was more restless prepartum (PCAll). We also found that the most restless sows before farrowing (PCAll) produced piglets with reduced daily growth until D7. To our knowledge, the effect of restlessness before farrowing on piglet growth was not quantified previously. Nonetheless, and although not confirmed by Ocepek et al. (13), it was found that sows with active nest-building prepartum had a better nursing performance, which resulted in higher piglet weight gain in early lactation (72).

On the day of farrowing, one cluster encompassed sows that were more restless, presumably because of a delay in the nest-building activity or because they immediately interacted with the newborn piglets. This shift of part of the activity expected from before farrowing to the farrowing period is likely to occur more often in primiparous sows (17). As regards the standing-activity budget, one cluster was characterized by a higher proportion of time spent drinking, an activity known as important for piglet survival (73). However, we did not find any influence of either sow postural budget or standing activity or postural changes on piglet survival in this period, which disagrees with several studies (8, 17) [review in (20)]. Consequently, we did not verify the classical assumption that piglet survival in this period is linked to postural changes that are risky for the piglets. Since the piglets spend time in proximity to the sow earlier in the period (19), the probability of survival is lower in sows that roll on the side (20, 36) and that use the sitting-lying transition more often. Yet, Weary et al. (38) and Damm et al. (20) did not find any effect of the frequency of postural changes on piglet survival the day of farrowing. We did not test the interaction of postural changes with breed due to the small size of our dataset. It could be relevant if the two sow genotypes have different abilities to control body movements (36), which is assumed, considering the slow motion of MS sows. The daily weight gain of each piglet was 45 g lower in sows that were more restless, i.e., that used more postural changes to presumably limit access to the udder than the others. We assumed that in restless sows, colostrum intake, which greatly determines early growth (74, 75), is lower, since we know from the literature that they tend to be less involved in the nursing activity (3, 39). Muns et al. (76) showed that piglets born from stressed sows have a lower daily weight gain during lactation than piglets born from unstressed sows. Activity is only a partial indicator of stress (77), so we cannot draw immediate conclusions for our animals.

In the period from D1 to D7 in early lactation, in the continuity with D0, on average patterns of activity did not change. Sows spent 90% of their time lying (12). When their udder is exposed, sows provide a warm and comforting environment for the piglets (12, 78) to suckle and rest (19, 79). It is also important that sows progressively resume activity (11), which is punctuated by nursing bouts (3, 39). Yet, time spent lying remained stable until D7. As for this aspect, we found that the groups differed in the time spent exposing their udder while lying, which has an effect on the lying-activity budget. As regards the standing-activity budget, the two groups differed, with one group more involved in activities other than maintenance. Presumably, those sows interacted with the physical environment (rooting) and piglets more than the ones from the two other groups. We found that piglet survival was higher in sows that spent more time lying with their udder exposed during the D1–D7 period. Calm sows promote piglet survival. The other components of the postural budget did not explain piglet performance. Only a few studies have attempted to draw such conclusions [sitting time with crushing; (80)]. We also found that sow restlessness until D7 had a positive influence on piglet survival. Such a finding is counter-intuitive and in contradiction with, e.g., (9, 12, 81, 82), who all reported that less active sows crush fewer piglets. Perhaps in our population, the more restless sows were the ones that bonded best with their piglets and that were therefore careful not to crush them, in agreement with (12, 78). We and other researchers did not confirm that postural changes like standing-to-lying are unfavorable to piglet survival (36, 38). According to (14), more frequent posture changes correlate with repeated missing of milk ejection and lead to lower piglet survival. We interpreted certain postural changes related to the interruption of nursing bouts. In particular, rolling limits piglet access to the udder (83) and, consequently, could result in lower piglet growth (3, 6, 84). Yet, counter-intuitively once again, we found that daily piglet growth was 71 g greater in sows that hide the udder more often than the others. The explanation could be that sows respond by changing their posture for piglets that are more eager to suckle, which are those with greater growth. The reason for the sow to change posture can also be a response to signals from weak piglets that do not have access to milk (37, 85). The activity of the piglets at the udder is influenced, in turn, by the activity pattern of the sows (86, 87). Sows that spend more time lying with the udder exposed are likely to produce calmer piglets with a synchronized suckling activity and that may fall asleep more frequently at the udder. Conversely, sows that raise piglets that compete at the udder share fewer resting periods in contact with their piglets (36). By reacting, they might promote survival of starving and weak piglets, with the next intake less distant in time than one would expect from an unresponsive sow (67).

There is a genetic root to the reactivity of pigs (46, 88). Even newborns that are naïve could behave like their dam—more reactive sows, more reactive piglets—and we could assume that piglets could thereby be more able to avoid being crushed by their dam. Sows that interrupt contact of their piglets with the udder encourage them to spend more time in the creep area, where they gain more weight (86). As mentioned above, maybe sows that change postures more often have more interactions with their piglets (2, 9), but the association of dam-piglet interactions with survival and growth is poorly known. It would be useful to analyze the suckling activity of the piglets with AI, consistent with the image-based work in previous studies (89, 90). This would help us to understand whether changes in sow posture depend on solicitation by the piglets.

The ethological interpretation of the results is constrained by the fact that we only analyzed the postures and standing-activity patterns of the sows. It would be opportune to use scan sampling or continuous analyses to verify the relationships between the behavioral traits predicted from the algorithm and maternal behavioral traits (nest-building before farrowing, nose contacts after farrowing) to better understand their influence on piglet performance. If future technological developments allow for the analysis of fine-grained behavioral traits, contrasts between the two breeds might surface according to straw manipulation and the frequency of nose contacts with piglets, in favor of the MS (25, 27). Han et al. (91) found that sows crossed with a Chinese line made more postural changes than those crossed with a white line but nevertheless had higher piglet survival. Here and in a previous study, we did not find any difference between MS and LW sows in the frequency of posture changes (27). Certain sows appear to be more attentive, careful, and protective when changing posture than others (15, 70), and this favors piglet survival. Speed of movement could be an important trait that explains why MS sows crush fewer piglets [e.g., (92, 93)]. It was not reasonable to estimate this trait, given our level of confusion about these postures, but it would be possible with a more efficient algorithm. Better prediction of activities might be achieved with the use of a more recent version of Yolo (94).

We found that sow restlessness is a repeated trait on the days around farrowing, with a peak at D-1. Consistently, Harris and Gonyou (95) found that crated gilts change posture in the before-farrowing period four times more often than in the after-farrowing period. Furthermore, Thodberg et al. (96) observed that gilts active on the day of farrowing continue to be so on the first day after farrowing. Sows that perform more nest-building activity before farrowing also have an activity more orientated toward the piglets during early lactation (63). Restlessness before farrowing could describe the sow behavioral profile and could be used for breeding if it refers to a repeatable trait over parities. Vangen et al. (48), using an on-farm notation from 1 to 7, estimated that sow interruption and nervousness while nursing is a heritable trait (h2 = 0.08). Stratz et al. (97) reported that it is genetically correlated with the behavior on the day of farrowing (rg = 0.55) and with low piglet performance because the index they used also described sows that were aggressive toward their piglets. In their situation which included lowly maternal sows, sows that stood more frequently during the farrowing process limited piglet milk intake. Selecting sows that are not too extreme for the behavior of interest is recommended. On the basis of our findings, we conclude that the elimination of sows that are too calm outside the farrowing period appears to be a relevant solution as well. For any breeding strategy, an optimum should be targeted to avoid trends unacceptable with respect to animal welfare. Selection designed on the basis of the use of automated longitudinal behavioral analysis should be preferable to selection based on behavioral notations from humans. This would ensure the acquisition of standardized and high-throughput measures from which criteria that effectively reflect the behavioral profile of each sow could be developed.

5. Conclusion

A wide range of variations underpinned the activity patterns of the two breeds. The longitudinal study highlighted some coherent and some different effects of sow activity on piglet performance over the three periods around farrowing. The live-born piglets of sows that were more active the day before farrowing, standing and in other activity than drinking and eating, had higher survival rates. Sows that were more restless before farrowing remained so in early lactation, and this attitude had a negative effect on piglet growth and a positive effect on piglet survival, respectively, in each period. Specifically, the growth of piglets of sows that changed posture more often on the day of farrowing was reduced, whereas such behavior, if performed later, favored piglet growth. Several sow activities that occur in different time windows explain piglet survival and growth. Breeding for sow behavioral criteria with the support of AI might be a relevant strategy to improve sow and piglet performance.

Data availability statement

The raw data supporting the conclusions of this article will be made available by the authors, without undue reservation.

Ethics statement

The experimental protocol was designed in compliance with Legislations of the European Union (Directive 86/609/EEC) and France (Decree 2001–464 29/05/01) for the care and use of animals (Agreement For Animal Housing Number C-35-275-32).

Author contributions

LC conceived the project. LC, YB, and JB carried out the experiment. LC and JB collected data on the farm. OG, LC, ID, and MB participated in the data analysis and wrote the manuscript. All authors contributed to the article and approved the submitted version.

Funding

This project received financial support for animal production from the French National Agency of Research (PORCINET Project, ANR-09-GENM005). OG is a Ph.D. fellow supported by the Animal Genetics Division of INRAE and the National France Future Elevage Carnot Network (WHAT-SOW project).

Conflict of interest

The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Publisher's note

All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.

Abbreviations

CNN, Convolutional neural network; LW, Large-White; MS, Meishan; LW/LW, a piglet born from a Large-White sow and a Large-White sire; LW/MS, a piglet born from a Large-White sow and a Meishan sire; MS/MS, a piglet born from a Meishan sow and a Meishan sire; MS/LW, a piglet born from a Meishan sow and a Large-White sire; ST, Standing; SI, Sitting; K, Kneeling; LL, Lateral Lying; LLU, Lateral Lying with udder exposed; SL, Sternal Lying; PCAll, Number of all postural change; PCRiskCrush, Number of postural changes from standing to lying and from sternal lying to lateral lying (with and without udder exposed); PCStopNurse, Number of postural changes from lying with udder exposed to any other posture; Xbf, Cluster for postural budget in the period before farrowing (D3 to D1), referred to as A or B; Xdf, Cluster for postural budget on the day of farrowing (D0), referred to as A, B or C; Xaf, Cluster for postural activity in the period after farrowing (D1 to D7), referred to as A or B; Xabf, Cluster for standing-activity budget in the period before farrowing (D3 to D1), referred to as A or B; Xadf, Cluster for standing-activity budget on the day of farrowing (D0), referred to as A, B or C; Xaaf, Cluster for standing-activity budget in the period after farrowing (D1 to D7), referred to as A or B; I, Class Inferior ≤ 33th percentile; M, Class Moderate 33<values≤66th percentile; S, Class Superior > 66th percentile; ADG, Average Daily Gain.

References

1. Andersen IL, Vasdal G, Pedersen LJ. Nest building and posture changes and activity budget of gilts housed in pens and crates. Appl Anim Behav Sci. (2014) 159:29–33. doi: 10.1016/j.applanim.2014.07.002

CrossRef Full Text | Google Scholar

2. Chidgey KL, Morel PCH, Stafford KJ, Barugh IW. Observations of sows and piglets housed in farrowing pens with temporary crating or farrowing crates on a commercial farm. Appl Anim Behav Sci. (2016) 176:12–8. doi: 10.1016/j.applanim.2016.01.004

PubMed Abstract | CrossRef Full Text | Google Scholar

3. Valros AE, Rundgren M, Špinka M, Saloniemi H, Rydhmer L, Algers B. Nursing behaviour of sows during 5 weeks lactation and effects on piglet growth. Appl Anim Behav Sci. (2002) 76:93–104. doi: 10.1016/S0168-1591(02)00006-0

CrossRef Full Text | Google Scholar

4. Cronin GM, Simpson GJ, Hemsworth PH. The effects of the gestation and farrowing environments on sow and piglet behaviour and piglet survival and growth in early lactation. Appl Anim Behav Sci. (1996) 46:175–92. doi: 10.1016/0168-1591(95)00657-5

PubMed Abstract | CrossRef Full Text | Google Scholar

5. Marchant JN, Rudd AR, Mendl MT, Broom DM, Meredith MJ, Corning S, et al. Timing and causes of piglet mortality in alternative and conventional farrowing systems. Vet Rec. (2000) 147:209–14. doi: 10.1136/vr.147.8.209

PubMed Abstract | CrossRef Full Text | Google Scholar

6. Pedersen LJ, Berg P, Jørgensen G, Andersen IL. Neonatal piglet traits of importance for survival in crates and indoor pens. J Anim Sci. (2011) 89:1207–18. doi: 10.2527/jas.2010-3248

PubMed Abstract | CrossRef Full Text | Google Scholar

7. Baxter EM, Lawrence AB, Edwards SA. Alternative farrowing accommodation: welfare and economic aspects of existing farrowing and lactation systems for pigs. Animal. (2012) 6:96–117. doi: 10.1017/S1751731111001224

PubMed Abstract | CrossRef Full Text | Google Scholar

8. Yun J, Han T, Björkman S, Nystén M, Hasan S, Valros A, et al. Factors affecting piglet mortality during the first 24 h after the onset of parturition in large litters: effects of farrowing housing on behaviour of postpartum sows. Animal. (2019) 13:1045–53. doi: 10.1017/S1751731118002549

PubMed Abstract | CrossRef Full Text | Google Scholar

9. Andersen IL, Berg S, Bøe KE. Crushing of piglets by the mother sow (Sus scrofa)—purely accidental or a poor mother? Appl Anim Behav Sci. (2005) 93:229–43. doi: 10.1016/j.applanim.2004.11.015

CrossRef Full Text | Google Scholar

10. Weary DM, Phillips PA, Pajor EA, Fraser D, Thompson BK. Crushing of piglets by sows: effects of litter features, pen features and sow behaviour. Appl Anim Behav Sci. (1998) 61:103–11. doi: 10.1016/S0168-1591(98)00187-7

CrossRef Full Text | Google Scholar

11. Kirkden RD, Broom DM, Andersen IL. Piglet mortality: Management solutions. J Anim Sci. (2013) 91:3361–89. doi: 10.2527/jas.2012-5637

PubMed Abstract | CrossRef Full Text | Google Scholar

12. Jarvis S, McLean KA, Calvert SK, Deans LA, Chirnside J, Lawrence AB. The responsiveness of sows to their piglets in relation to the length of parturition and the involvement of endogenous opioids. Appl Anim Behav Sci. (1999) 63:195–207. doi: 10.1016/S0168-1591(99)00013-1

CrossRef Full Text | Google Scholar

13. Ocepek M, Newberry RC, Andersen IL. Trade-offs between litter size and offspring fitness in domestic pigs subjected to different genetic selection pressures. Appl Anim Behav Sci. (2017) 193:7–14. doi: 10.1016/j.applanim.2017.03.008

CrossRef Full Text | Google Scholar

14. Wechsler B, Hegglin D. Individual differences in the behaviour of sows at the nest-site and the crushing of piglets. Appl Anim Behav Sci. (1997) 51:39–49. doi: 10.1016/S0168-1591(96)01098-2

CrossRef Full Text | Google Scholar

15. Ocepek M, Andersen IL. What makes a good mother? Maternal behavioural traits important for piglet survival. Appl Anim Behav Sci. (2017) 193:29–36. doi: 10.1016/j.applanim.2017.03.010

CrossRef Full Text | Google Scholar

16. Wischner D, Kemper N, Stamer E, Hellbruegge B, Presuhn U, Krieter J. Characterisation of sows' postures and posture changes with regard to crushing piglets. Appl Anim Behav Sci. (2009) 119:49–55. doi: 10.1016/j.applanim.2009.03.002

CrossRef Full Text | Google Scholar

17. Canario L, Bidanel J-P, Rydhmer L. Genetic trends in maternal and neonatal behaviors and their association with perinatal survival in French Large White swine. Front Genet. (2014) 5:410. doi: 10.3389/fgene.2014.00410

PubMed Abstract | CrossRef Full Text | Google Scholar

18. Jensen P. Observations on the maternal behaviour of free-ranging domestic pigs. Appl Anim Behav Sci. (1986) 16:131–42. doi: 10.1016/0168-1591(86)90105-X

CrossRef Full Text | Google Scholar

19. Girardie O, Espinoza C, Perry C, Lapouméroulie M, Gogué J, Herhel O. Genetic Trends in the Behaviour of Sows Piglets in Early Lactation. (2021). Available online at: https://hal.inrae.fr/hal-03376607 (accessed August 12, 2022).

Google Scholar

20. Damm BI, Forkman B, Pedersen LJ. Lying down and rolling behaviour in sows in relation to piglet crushing. Appl Anim Behav Sci. (2005) 90:3–20. doi: 10.1016/j.applanim.2004.08.008

CrossRef Full Text | Google Scholar

21. Valros A, Rundgren M, Špinka M, Saloniemi H, Algers B. Sow activity level, frequency of standing-to-lying posture changes and anti-crushing behaviour—within sow-repeatability and interactions with nursing behaviour and piglet performance. Appl Anim Behav Sci. (2003) 83:29–40. doi: 10.1016/S0168-1591(03)00109-6

CrossRef Full Text | Google Scholar

22. Rydhmer L, Canario L. Behavioral genetics in pigs and relations to welfare. Genet Behav Domest Anim. (2014) 2014:397–434. doi: 10.1016/B978-0-323-85752-9.00008-1

CrossRef Full Text | Google Scholar

23. Chu Q, Liang T, Fu L, Li H, Zhou B. Behavioural genetic differences between Chinese and European pigs. J Genet. (2017) 96:707–15. doi: 10.1007/s12041-017-0826-3

PubMed Abstract | CrossRef Full Text | Google Scholar

24. Farmer and S. Robert C. Hormonal, behavioural and performance characteristics of Meishan sows during pregnancy and lactation. Can J Anim Sci. (2003) 83:1–12. doi: 10.4141/A02-034

CrossRef Full Text | Google Scholar

25. Meunier-Salaün M-C, Gort F, Prunier A, Caritez JC, Schouten WPG. Influence du type génétique sur le comportement maternel : comparaison de la truie (Meishan) et européenne (Large-White). In: Congress of “Journée de la Recherche Porcine”. Paris (1991). p. 409–14.

Google Scholar

26. Bidanel J. Estimation of crossbreeding parameters between Large White and Meishan porcine breeds. III Dominance and epistatic components of heterosis on reproductive traits. Genet Sel Evol. (1993) 25:263–81.

Google Scholar

27. Canario L, Moigneau C, Lagant H, Billon Y, Bidanel JP. Comparaison des performances de reproduction et des aptitudes maternelles de truies Meishan et Large White élevées en enclos individuels de la mise bas au sevrage. In: Congress of “Journée de la Recherche Porcine”. Paris (2008). p. 137–40.

Google Scholar

28. Canario L, Billon YY, Mormède P, Poirel D, Moigneau C. Temperament, Adaptation Maternal Abilities of Meishan Large White Sows Kept in a Loosehousing System During Lactation. (2009). Available online at: https://hal.inrae.fr/hal-02758189 (accessed August 31, 2022).

Google Scholar

29. Nasirahmadi A, Sturm B, Edwards S, Jeppsson K-H, Olsson A-C, Müller S, et al. Deep learning and machine vision approaches for posture detection of individual pigs. Sensors. (2019) 19:3738. doi: 10.3390/s19173738

PubMed Abstract | CrossRef Full Text | Google Scholar

30. Yang Q, Xiao D. A review of video-based pig behavior recognition. Appl Anim Behav Sci. (2020) 233:105146. doi: 10.1016/j.applanim.2020.105146

CrossRef Full Text | Google Scholar

31. Bonneau M, Benet B, Labrune Y, Bailly J, Ricard E, Canario L. Predicting sow postures from video images: comparison of convolutional neural networks and segmentation combined with support vector machines under various training and testing setups. Biosyst Eng. (2021) 212:19–29. doi: 10.1016/j.biosystemseng.2021.09.014

CrossRef Full Text | Google Scholar

32. Redmon J, Divvala S, Girshick R, Farhadi A. You only look once: unified, real-time object detection. In: 2016 IEEE Conference Computer Vision Pattern Recognition CVPR. (2016). p. 779–88.

Google Scholar

33. He K, Zhang, X, Ren, S, Sun, J,. Deep Residual Learning for Image Recognition. (2016). p. 770–8. Available online at: https://openaccess.thecvf.com/content_cvpr_2016/html/He_Deep_Residual_Learning_CVPR_2016_paper.html (accessed September 21, 2022).

Google Scholar

34. Bonneau M, Vayssade J-A, Troupe W, Arquet R. Outdoor animal tracking combining neural network and time-lapse cameras. Comput Electron Agric. (2020) 168:105150. doi: 10.1016/j.compag.2019.105150

CrossRef Full Text | Google Scholar

35. Team TRC,. R : A Language Environment for Statistical Computing. (2020). Available online at: https://www.r-project.org/ (accessed January 18, 2022).

Google Scholar

36. Marchant JN, Broom DM, Corning S. The influence of sow behaviour on piglet mortality due to crushing in an open farrowing system. Anim Sci. (2001) 72:19–28. doi: 10.1017/S135772980005551X

CrossRef Full Text | Google Scholar

37. Vieuille C, Berger F, Le Pape G, Bellanger D. Sow behaviour involved in the crushing of piglets in outdoor farrowing huts—a brief report. Appl Anim Behav Sci. (2003) 80:109–15. doi: 10.1016/S0168-1591(02)00211-3

CrossRef Full Text | Google Scholar

38. Weary DM, Pajor EA, Fraser D, Honkanen A-M. Sow body movements that crush piglets: a comparison between two types of farrowing accommodation. Appl Anim Behav Sci. (1996) 49:149–58. doi: 10.1016/0168-1591(96)01042-8

CrossRef Full Text | Google Scholar

39. Wallenbeck A, Rydhmer L, Thodberg K. Maternal behaviour and performance in first-parity outdoor sows. Livest Sci. (2008) 116:216–22. doi: 10.1016/j.livsci.2007.10.008

CrossRef Full Text | Google Scholar

40. Egozcue JJ, Pawlowsky-Glahn V, Mateus-Figueras G. Isometric logratio transformations for compositional data analysis. Math Geol. (2003) 35:279–300. doi: 10.1023/A:1023818214614

CrossRef Full Text | Google Scholar

41. Genolini C, Alacoque X, Sentenac M, Arnaud C. kml and kml3d: R Packages to Cluster Longitudinal Data. J Stat Softw. (2015) 65:1–34. doi: 10.18637/jss.v065.i04

CrossRef Full Text | Google Scholar

42. Kassambara A. Practical Guide to Cluster Analysis in R: Unsupervised Machine Learning. STHDA (2017).

Google Scholar

43. Therneau TM, Elizabeth A, Cynthia C Survival: Survival Analysis. (2022). Available online at: https://CRAN.R-project.org/package=survival (accessed August 31, 2022).

Google Scholar

44. Parlement Européen. Initiative citoyenne européenne ≪End the Cage Age≫ (Pour une nouvelle ère sans cage). P9_TA(2021)0295 2024 (2019).

Google Scholar

45. Knol EF, Leenhouwers JI, van der Lende T. Genetic aspects of piglet survival. Livest Prod Sci. (2002) 78:47–55. doi: 10.1016/S0301-6226(02)00184-7

CrossRef Full Text | Google Scholar

46. Rydhmer L, Canario L. Chapter 9—Behavioral genetics in pigs and relations to welfare. In:Grandin T, , editor. Genetics and Behavior of Domestic Animals, Third Edition. New York, NY: Academic Press (2022). p. 325–75. Available online at: https://www.sciencedirect.com/science/article/pii/B9780323857529000081 (accessed October 14, 2022).

Google Scholar

47. Grandinson K, Rydhmer L, Strandberg E, Thodberg K. Genetic analysis of on-farm tests of maternal behaviour in sows. Livest Prod Sci. (2003) 83:141–51. doi: 10.1016/S0301-6226(03)00095-2

CrossRef Full Text | Google Scholar

48. Vangen O, Holm B, Valros A, Lund MS, Rydhmer L. Genetic variation in sows' maternal behaviour, recorded under field conditions. Livest Prod Sci. (2005) 93:63–71. doi: 10.1016/j.livprodsci.2004.11.007

CrossRef Full Text | Google Scholar

49. Canario L. Genetic Aspects of Piglet Mortality at Birth and in Early Suckling Period: Relationships With Sow Maternal Abilities and Piglet Vitality (2006).

Google Scholar

50. Burne THJ, Murfitt PJE, Gilbert CL. Deprivation of straw bedding alters PGF2α-induced nesting behaviour in female pigs. Appl Anim Behav Sci. (2000) 69:215–25. doi: 10.1016/S0168-1591(00)00135-0

PubMed Abstract | CrossRef Full Text | Google Scholar

51. Jarvis S, Calvert S, Stevenson J, vanLeeuwen N, Lawrence A. Pituitary-adrenal activation in pre-parturient pigs (Sus scrofa) is associated with behavioural restriction due to lack of space rather than nesting substrate. Anim Welf. (2002) 11:371–84.

Google Scholar

52. Lawrence AB, Petherick JC, McLean KA, Deans LA, Chirnside J, Gaughan A, et al. The effect of environment on behaviour, plasma cortisol and prolactin in parturient sows. Appl Anim Behav Sci. (1994) 39:313–30. doi: 10.1016/0168-1591(94)90165-1

CrossRef Full Text | Google Scholar

53. Andersen IL, Nævdal E, Bøe KE. Maternal investment, sibling competition, and offspring survival with increasing litter size and parity in pigs (Sus scrofa). Behav Ecol Sociobiol. (2011) 65:1159–67. doi: 10.1007/s00265-010-1128-4

PubMed Abstract | CrossRef Full Text | Google Scholar

54. Lensink BJ, Leruste H, De Bretagne T, Bizeray-Filoche D. Sow behaviour towards humans during standard management procedures and their relationship to piglet survival. Appl Anim Behav Sci. (2009) 119:151–7. doi: 10.1016/j.applanim.2009.04.007

CrossRef Full Text | Google Scholar

55. Weary DM, Fraser D. Calling by domestic piglets: reliable signals of need? Anim Behav. (1995) 50:1047–55. doi: 10.1016/0003-3472(95)80105-7

CrossRef Full Text | Google Scholar

56. Held S, Mason G, Mendl M. Maternal responsiveness of outdoor sows from first to fourth parities. Appl Anim Behav Sci. (2006) 98:216–33. doi: 10.1016/j.applanim.2005.09.003

CrossRef Full Text | Google Scholar

57. Dauberlieu A, Billon Y, Bailly J, Launay I, Lagant H, Liaubet L, et al. Neonatal mortality in piglets: genetics to improve behavioural vitality. In: 62th Annual Meeting of the European Federation of Animal Science. Stavanger: Wageningen Academic Publisher (2011). p. 440. Available online at: https://hal.archives-ouvertes.fr/hal-01194050 (accessed August 12, 2022).

Google Scholar

58. Johnson RK, Omtvedt IT. Evaluation of purebreds and two-breed crosses in swine: reproductive performance. J Anim Sci. (1973) 37:1279–88. doi: 10.2527/jas1973.3761279x

PubMed Abstract | CrossRef Full Text | Google Scholar

59. Sellier P. Heterosis and crossing in the pig. Ann Genet Sel Anim. (1970) 2:145–207.

Google Scholar

60. Bonneau M, Poullet N, Beramice D, Dantec L, Canario L, Gourdine J-L. Behavior comparison during chronic heat stress in large white and Creole pigs using image-analysis. Front Anim Sci. (2021) 2:784376. doi: 10.3389/fanim.2021.784376

CrossRef Full Text | Google Scholar

61. Canario L, Billon Y, Caritez JC, Bidanel JP, Laloë D. Comparison of sow farrowing characteristics between a Chinese breed and three French breeds. Livest Sci. (2009) 125:132–40. doi: 10.1016/j.livsci.2009.03.015

CrossRef Full Text | Google Scholar

62. Leonard SM, Xin H, Brown-Brandl TM, Ramirez BC, Johnson AK, Dutta S, et al. Effects of farrowing stall layout and number of heat lamps on sow and piglet behavior. Appl Anim Behav Sci. (2021) 239:105334. doi: 10.1016/j.applanim.2021.105334

CrossRef Full Text | Google Scholar

63. Rosvold EM, Newberry RC, Framstad T, Andersen I-L. Nest-building behaviour and activity budgets of sows provided with different materials. Appl Anim Behav Sci. (2018) 200:36–44. doi: 10.1016/j.applanim.2017.12.003

CrossRef Full Text | Google Scholar

64. Damm BI, Lisborg L, Vestergaard KS, Vanicek J. Nest-building, behavioural disturbances and heart rate in farrowing sows kept in crates and Schmid pens. Livest Prod Sci. (2003) 80:175–87. doi: 10.1016/S0301-6226(02)00186-0

CrossRef Full Text | Google Scholar

65. Thodberg K, Jensen KH, Herskin MS, Jørgensen E. Influence of environmental stimuli on nest building and farrowing behaviour in domestic sows. Appl Anim Behav Sci. (1999) 63:131–44. doi: 10.1016/S0168-1591(99)00002-7

CrossRef Full Text | Google Scholar

66. Pedersen LJ, Jensen T. Effects of late introduction of sows to two farrowing environments on the progress of farrowing and maternal behavior. J Anim Sci. (2008) 86:2730–7. doi: 10.2527/jas.2007-0749

PubMed Abstract | CrossRef Full Text | Google Scholar

67. Ocepek M, Andersen IL. Sow communication with piglets while being active is a good predictor of maternal skills, piglet survival and litter quality in three different breeds of domestic pigs (Sus scrofa domesticus). PLoS ONE. (2018) 13:e0206128. doi: 10.1371/journal.pone.0206128

PubMed Abstract | CrossRef Full Text | Google Scholar

68. Cronin GM, Schirmer BN, McCallum TH, Smith JA, Butler KL. The effects of providing sawdust to pre-parturient sows in farrowing crates on sow behaviour, the duration of parturition and the occurrence of intra-partum stillborn piglets. Appl Anim Behav Sci. (1993) 36:301–15. doi: 10.1016/0168-1591(93)90128-C

CrossRef Full Text | Google Scholar

69. Herskin MS, Jensen KH, Thodberg K. Influence of environmental stimuli on maternal behaviour related to bonding, reactivity and crushing of piglets in domestic sows. Appl Anim Behav Sci. (1998) 58:241–54. doi: 10.1016/S0168-1591(97)00144-5

CrossRef Full Text | Google Scholar

70. Yun J, Swan K-M, Farmer C, Oliviero C, Peltoniemi O, Valros A. Prepartum nest-building has an impact on postpartum nursing performance and maternal behaviour in early lactating sows. Appl Anim Behav Sci. (2014) 160:31–7. doi: 10.1016/j.applanim.2014.08.011

CrossRef Full Text | Google Scholar

71. Illmann G, Chaloupková H, Neuhauserová K. Effect of pre- and post-partum sow activity on maternal behaviour and piglet weight gain 24h after birth. Appl Anim Behav Sci. (2015) 163:80–8. doi: 10.1016/j.applanim.2014.11.011

CrossRef Full Text | Google Scholar

72. Cronin GM, Smith JA. Effects of accommodation type and straw bedding around parturition and during lactation on the behaviour of primiparous sows and survival and growth of piglets to weaning. Appl Anim Behav Sci. (1992) 33:191–208. doi: 10.1016/S0168-1591(05)80007-3

CrossRef Full Text | Google Scholar

73. Fraser D, Phillips PA. Lethargy and low water intake by sows during early lactation: A cause of low piglet weight gains and survival? Appl Anim Behav Sci. (1989) 24:13–22. doi: 10.1016/0168-1591(89)90121-4

CrossRef Full Text | Google Scholar

74. Decaluwé R, Maes D, Cools A, Wuyts B, De Smet S, Marescau B, et al. Effect of peripartal feeding strategy on colostrum yield and composition in sows1. J Anim Sci. (2014) 92:3557–67. doi: 10.2527/jas.2014-7612

PubMed Abstract | CrossRef Full Text | Google Scholar

75. Muns R, Nuntapaitoon M, Tummaruk P. Non-infectious causes of pre-weaning mortality in piglets. Livest Sci. (2016) 184:46–57. doi: 10.1016/j.livsci.2015.11.025

CrossRef Full Text | Google Scholar

76. Muns R, Manzanilla E, Manteca X, Gasa J. Effect of gestation management system on gilt and piglet performance. Anim Welf. (2014) 23:343–51. doi: 10.7120/09627286.23.3.343

CrossRef Full Text | Google Scholar

77. Mormède P, Dantzer R, Bluthe RM, Caritez JC. Differences in adaptive abilities of three breeds of Chinese pigs. Behav Neuroendocr Stud Genet Sel Evol. (1984) 13:171. doi: 10.1016/0168-1591(84)90069-8

PubMed Abstract | CrossRef Full Text | Google Scholar

78. Pedersen LJ, Damm BI, Marchant-Forde JN, Jensen KH. Effects of feed-back from the nest on maternal responsiveness and postural changes in primiparous sows during the first 24 h after farrowing onset. Appl Anim Behav Sci. (2003) 83:109–24. doi: 10.1016/S0168-1591(03)00116-3

CrossRef Full Text | Google Scholar

79. Vasdal G, Glærum M, Melišová M, Bøe KE, Broom DM, Andersen IL. Increasing the piglets' use of the creep area—a battle against biology? Appl Anim Behav Sci. (2010) 125:96–102. doi: 10.1016/j.applanim.2010.04.010

CrossRef Full Text | Google Scholar

80. McGlone JJ, Morrow-Tesch J. Productivity and behavior of sows in level vs. sloped farrowing pens and crates. J Anim Sci. (1990) 68:82–7. doi: 10.1093/ansci/68.1.82

CrossRef Full Text | Google Scholar

81. Melišová M, Illmann G, Chaloupková H, Bozděchová B. Sow postural changes, responsiveness to piglet screams, and their impact on piglet mortality in pens and crates1,2. J Anim Sci. (2014) 92:3064–72. doi: 10.2527/jas.2013-7340

PubMed Abstract | CrossRef Full Text | Google Scholar

82. Baxter EM, Jarvis S, Sherwood L, Farish M, Roehe R, Lawrence AB, et al. Genetic and environmental effects on piglet survival and maternal behaviour of the farrowing sow. Appl Anim Behav Sci. (2011) 130:28–41. doi: 10.1016/j.applanim.2010.11.020

CrossRef Full Text | Google Scholar

83. Jensen P. Maternal behaviour and mother—young interactions during lactation in free-ranging domestic pigs. Appl Anim Behav Sci. (1988) 20:297–308. doi: 10.1016/0168-1591(88)90054-8

CrossRef Full Text | Google Scholar

84. Špinka M, Illmann G, Algers B, Štétková Z. The role of nursing frequency in milk production in domestic pigs. J Anim Sci. (1997) 75:1223–8. doi: 10.2527/1997.7551223x

PubMed Abstract | CrossRef Full Text | Google Scholar

85. Illmann G, Neuhauserová K, Pokorná Z, Chaloupková H, Šimečková M. Maternal responsiveness of sows towards piglet's screams during the first 24 h postpartum. Appl Anim Behav Sci. (2008) 112:248–59. doi: 10.1016/j.applanim.2007.08.012

CrossRef Full Text | Google Scholar

86. Berg S, Andersen IL, Tajet GM, Haukvik IA, Kongsrud S, Bøe KE. Piglet use of the creep area and piglet mortality—effects of closing the piglets inside the creep area during sow feeding time in pens for individually loose-housed sows. Anim Sci. (2006) 82:277–81. doi: 10.1079/ASC200633

CrossRef Full Text | Google Scholar

87. Van Beirendonck S, Van Thielen J, Verbeke G, Driessen B. The association between sow and piglet behavior. J Vet Behav. (2014) 9:107–13. doi: 10.1016/j.jveb.2014.01.005

CrossRef Full Text | Google Scholar

88. Kecman J, Neu J, Göres N, Voß B, Rosner F, Kemper N, et al. Genetic aspects for the behaviour of lactating sows towards humans. Animal. (2022) 16:100559. doi: 10.1016/j.animal.2022.100559

PubMed Abstract | CrossRef Full Text | Google Scholar

89. Ding Q, Chen J, Shen M, Liu L. Activity detection of suckling piglets based on motion area analysis using frame differences in combination with convolution neural network. Comput Electron Agric. (2022) 194:106741. doi: 10.1016/j.compag.2022.106741

CrossRef Full Text | Google Scholar

90. Gan H, Ou M, Huang E, Xu C, Li S, Li J, et al. Automated detection and analysis of social behaviors among preweaning piglets using key point-based spatial and temporal features. Comput Electron Agric. (2021) 188:106357. doi: 10.1016/j.compag.2021.106357

CrossRef Full Text | Google Scholar

91. Han Q, Yi R, Li S, Wang C, Cui S, Zhao P, et al. Postural changes, nursing behavior, and production performance of two breeds of sows in enriched environment. Rev Bras Zootec. (2020) 49:e20190133. doi: 10.37496/rbz4920190133

CrossRef Full Text | Google Scholar

92. Burri M, Wechsler B, Gygax L, Weber R. Influence of straw length, sow behaviour and room temperature on the incidence of dangerous situations for piglets in a loose farrowing system. Appl Anim Behav Sci. (2009) 117:181–9. doi: 10.1016/j.applanim.2008.12.005

CrossRef Full Text | Google Scholar

93. Huang X, Yan H, Wang T, Li K, Guo Y, Wang Z, et al. Effects of the maternal behavioral characteristics of lying down on piglet crushing in Minpig and Yorkshire sows. Appl Anim Behav Sci. (2021) 240:105357. doi: 10.1016/j.applanim.2021.105357

CrossRef Full Text | Google Scholar

94. Wang C-Y, Bochkovskiy A, Liao H-YM. YOLOv7: Trainable bag-of-freebies sets new state-of-the-art for real-time object detectors. arXiv. (2022). Available online at: http://arxiv.org/abs/2207.02696 (cited November 29, 2022).

Google Scholar

95. Harris MJ, Gonyou HW. Increasing available space in a farrowing crate does not facilitate postural changes or maternal responses in gilts. Appl Anim Behav Sci. (1998) 59:285–96. doi: 10.1016/S0168-1591(98)00142-7

CrossRef Full Text | Google Scholar

96. Thodberg K, Jensen KH, Herskin MS. Nursing behaviour, postpartum activity and reactivity in sows: Effects of farrowing environment, previous experience and temperament. Appl Anim Behav Sci. (2002) 77:53–76. doi: 10.1016/S0168-1591(02)00023-0

CrossRef Full Text | Google Scholar

97. Stratz P, Just A, Faber H, Bennewitz J. Genetic analyses of mothering ability in sows using field-recorded observations. Livest Sci. (2016) 191:1–5. doi: 10.1016/j.livsci.2016.06.014

CrossRef Full Text | Google Scholar

Keywords: computer vision, convolutional neural network, clustering, longitudinal analysis, piglet survival, piglet growth, sow activity pattern

Citation: Girardie O, Bonneau M, Billon Y, Bailly J, David I and Canario L (2023) Analysis of image-based sow activity patterns reveals several associations with piglet survival and early growth. Front. Vet. Sci. 9:1051284. doi: 10.3389/fvets.2022.1051284

Received: 22 September 2022; Accepted: 12 December 2022;
Published: 09 January 2023.

Edited by:

Severiano Silva, Universidade de Trás-os-Montes e Alto, Portugal

Reviewed by:

Manja Zupan Šemrov, University of Ljubljana, Slovenia
Carlos Piñeiro, PigCHAMP Pro Europa SL, Spain

Copyright © 2023 Girardie, Bonneau, Billon, Bailly, David and Canario. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

*Correspondence: Océane Girardie, yes oceane.girardie@inrae.fr

Download