Next Article in Journal
The Levels of Mineral Elements and Toxic Metals in the Longissimus lumborum Muscle, Hair and Selected Organs of Red Deer (Cervus elaphus L.) in Poland
Next Article in Special Issue
Validation of Dairy Cow Bodyweight Prediction Using Traits Easily Recorded by Dairy Herd Improvement Organizations and Its Potential Improvement Using Feature Selection Algorithms
Previous Article in Journal
Effects of Hatch Window and Nutrient Access in the Hatcher on Performance and Processing Yields of Broilers Reared with Equal Hatch Window Representation
Previous Article in Special Issue
Predicting Daily Dry Matter Intake Using Feed Intake of First Two Hours after Feeding in Mid and Late Lactation Dairy Cows with Fed Ration Three Times Per Day
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Preliminary Investigation of Social Network Analysis Applied to Dairy Cow Behavior in Automatic Milking System Environments

by
Liliana Fadul-Pacheco
1,*,
Michael Liou
2,
Douglas J. Reinemann
3 and
Victor E. Cabrera
1
1
Department of Animal and Dairy Sciences, University of Wisconsin-Madison, Madison, WI 53706, USA
2
Department of Statistical Science, University of Wisconsin-Madison, Madison, WI 53706, USA
3
Biological and Systems Engineering Department, University of Wisconsin-Madison, Madison, WI 53706, USA
*
Author to whom correspondence should be addressed.
Submission received: 19 March 2021 / Revised: 20 April 2021 / Accepted: 23 April 2021 / Published: 24 April 2021
(This article belongs to the Collection Smart Farming in Dairy Production)

Abstract

:

Simple Summary

Cows are social animals, therefore understanding the ways that they interact can help improve their management and welfare. We used social network analysis (SNA) to data on voluntary cow movement through a sort gate in an automatic milking system to identify pairs of cows that repeatedly passed through a sort gate in close succession (affinity pairs). Results from this exploratory study showed that when cows were separated from their affinity-pair cow the day-day variability in milk production increased by a factor of 3, a possible indicator of stress. The results of this exploratory study suggest that SNA could be used as a tool to better understand the social dynamics of dairy cows and inform group and regrouping process to produce positive outcomes.

Abstract

We have applied social network analysis (SNA) to data on voluntary cow movement through a sort gate in an automatic milking system to identify pairs of cows that repeatedly passed through a sort gate in close succession (affinity pairs). The SNA was applied to social groups defined by four pens on a dairy farm, each served by an automatic milking system (AMS). Each pen was equipped with an automatic sorting gate that identified when cows voluntarily moved from the resting area to either milking or feeding areas. The aim of this study was two-fold: to determine if SNA could identify affinity pairs and to determine if milk production was affected when affinity pairs where broken. Cow traffic and milking performance data from a commercial guided-flow AMS dairy farm were used. Average number of milked cows was 214 ± 34, distributed in four AMS over 1 year. The SNA was able to identify clear affinity pairs and showed when these pairings were formed and broken as cows entered and left the social group (pen). The trend in all four pens was toward higher-than-expected milk production during periods of affinity. Moreover, we found that when affinities were broken (separation of cow pairs) the day-to-day variability in milk production was three times higher than for cows in an affinity pair. The results of this exploratory study suggest that SNA could be potentially used as a tool to reduce milk yield variation and better understand the social dynamics of dairy cows supporting management and welfare decisions.

1. Introduction

Dairy cows are social animals, therefore understanding the ways that they interact has been identified as a valuable tool to improve management decisions affecting their welfare [1] and to control disease transmission [2,3]. Social interactions in domestic animals can be affiliative (i.e., positive interactions) or agonistic (i.e., aggressive or competitive interactions), where the former may contribute to social support and reduce distress behavior [4,5]. Affiliative relationships are an important component of the “social buffering” theory which postulates the importance of social support to provide beneficial effects to the individual involved and may improve welfare by reducing stress [6,7].
Living in groups provides benefits that can increase dairy cow welfare and fitness [1]. Moving animals between groups within the herd is a common practice to create homogenous groups according to different characteristics (i.e., age, lactation, milk production, health status, etc.). Yet studies have reported that regrouping cows can have negative effects on welfare and milk production after regrouping [8,9,10]. The negative effects of regrouping cattle include decrease in lying time, increase in time standing, increase in agonistic interactions and changes in feeding behavior (i.e., decrease in rumination and time feeding) [8,9,10,11]. Also, an increase in fecal cortisol concentration (used as a physiological indicator of stress) in primiparous cows when they were moved without their partners [12]. Milk production could be affected after regrouping cows, probably due to the competition for access to food and lying spaces [8,10]. Further, Mazer et al. [12] measured fecal cortisol, a physiological indicator of stress, when regrouping cows alone or with a familiar partner. They found that cortisol concentration was higher in first lactation cows than in multiparous cows when they were regrouped without their partner, but there were no differences in cortisol levels between parities when the cows where regrouped with their familiar partner. However, in cows, the decrease in milk production (around 3.7/kg per cow and day) has been seen only on the day after mixing [10]. In heifers, reductions of milk production up to 96.5% had been reported, during 1 to 2 weeks after regrouping [13]. Even if it is for a short period, it is still of great importance from the economic and welfare standpoints.
Social network analysis (SNA) explores patterns of complex interactions in communities and provides a description of the structure of social relationships [14]. Previous studies with SNA in cattle have been done using localization tags [15,16]. Research has shown that cows with a high degree of familiarity are eager to stay closer to each other, while unfamiliar cows tend to evade each other, and all social relationships tend to reduce among them [17]. The concept of spatial proximity as a way to evaluate preferential affinities is widely accepted [18]. The automatic milking systems (AMS) environments provide a real-time and readily accessible measure of social relationships. The AMS record when cows pass through a sorting gate when moving from resting to feeding or milking areas, and when cows are presented to the AMS to be milked. These time series data can be used to assess cow relationships as they move throughout their environment. Barns with AMS are designed to have groups of cows ranging from 50 to over 200 cows per pen depending on herd size, barn design and number of AMS. Evidence suggests that behavior of individual cows may be crucial on the efficient use of AMS [19].
A study by Gutmann et al. [17], reported that dairy cows develop and maintain dyadic relationships. It could be that these subgroups provide a stable structure to reduce social conflicts within the herd. Group dynamics depend on the characteristics of the cows that are introduced to or leave a group [20,21]. Likewise, cows with previous regrouping experience will have a faster social integration (i.e., 0–2 days with regrouping experience vs. 2–4 days without regrouping experience) [8] and develop social support (i.e., stress buffering effect) [6] to improve animal welfare [17]. Our interest was to gain a better understanding of social relationships to aid in management decisions to improve animal welfare and cow performance on farms using AMS technology. Since social behavior is the principal element of farm animal welfare [6] and social behavior in cattle is described by the creation and maintenance of cohesive social groups [17], leading to management practices more in line with the natural social behavior of the cows [3].
A steady stream of cows that present themselves for milking is required to keep the AMS fully engaged in the milking process and cow movement may be influenced by social grouping structure. We hypothesized that broken affinities (i.e., separating cows by removing one from the pen) could alter the behavior or stress level of a cow and therefore impact production. Hence, the objective of this study was to perform an exploratory analysis using SNA with cow behavior data obtained from an AMS environment to identify locational affinity of pairs of cows, as defined by a cow repeatedly passing through the selection gate in close succession to its affinity-pair cow. Cow pair locational affinity is referred hereafter as social relationships. A further analysis was performed to assess if being part of an affinity pair affected milk production.

2. Materials and Methods

2.1. Animals and Housing

This study was done with data from a commercial dairy farm located in Wisconsin, United States, during a 12-month period (4 February 2019 to 4 February 2020). Cows were confined (i.e., zero-grazing) and the farm practiced year-round calving. A consistent diet consisting of a partial mixed ration (PMR) composed of haylage, corn silage, shell corn and protein mix was supplied to all the pens throughout the year. The PMR was formulated to cover the basic requirements of the cows in the herd. In addition to the PMR, cows receive corn gluten pellets when they are milked by the robot. The amount of pellet feed depends on the lactation, days in milk (DIM) and milk production. The farm has four pens with one Delaval (DeLaval International AB, Tumba, Sweden) AMS per pen. On average the farm had 214 ±34 milking cows, averaging about 54 cows per AMS during the study period. Each pen was fitted with a preselection sorting gate (SG) that allowed cows voluntarily moving from the resting area to be directed to either a holding area for the AMS or to the feeding area. After milking, cows were directed to the feeding area or to a catch pen where human examination or intervention could be applied. Cows then moved from feeding areas back to the resting areas via one-way gates. Cows passed through the selection gate about 10 times per day and were diverted to the AMS for milking (and then released to the feeding area) 2.7 times per day. The management plan of the farm was to group cows according to lactation number, however, the practicality of keeping pens full and limitations on the pool of available cows meant that this grouping plan count not be strictly adhered to. Descriptive statistics of the pens are presented in Table 1.

2.2. Data

Data on cow traffic and milk performance were made available through the Dairy Brain project at the University of Wisconsin-Madison [22]. Data on cow traffic provided the time of the day that each cow passed through the SG in each pen. Milk performance data from the AMS included milk yield, the time each cow was milked, lactation number and DIM for each cow. In addition, we identified 142 lactation numbers that were incorrectly recorded, and the data were manually corrected. We treated the missing data as missing at random because there was a small amount of missing data without a clear pattern of occurrence. Missing data was applied equally to all cows in the pens and therefore not expected to introduce bias to the identification of affinity pairs.

2.3. Scoring and Network Representation

We considered three different approaches to characterize affinities: (1) All cows that went through the SG in a 15 min window were considered to have a uniform relationship with one another within the same window; (2) A continuous scoring method with affinity weighting applied inversely to the time interval that the cows passed through the SG; and (3) Lag sequence decreasing score: An exponentially decreasing score assigned according to the ordered sequence of cows passing through the SG, up to four consecutive cows. There were no major differences in the affinity pairs or number of pairs identified across these three approaches. We chose to use the lag sequence method to avoid the use of a pre-defined time window or time weighting [15]. Waters and Fewell [23] suggest that different time frames can be used to examine a social network and the question of the optimal time window merits further investigation.
In addition, under husbandry conditions, herd structure is dynamic primarily due to management decisions, and some relatively small number of cows could enter or leave the pen for different reasons (e.g., start or end of lactation, sold or health issues) however, in general, the majority of the cows, 40 cows on average per pen, were present on the pens from 181 to 270 days of the year (Table 2). Data for cows with less than 30 days residency time in the pens were not considered. The affinity pair scores were normalized by the total time each cow spent in the pen during the study period (Table 2). Furthermore, since the net traffic information from the SG varies across the year (Figure A1), a second score normalization was done to characterize how cow affinities and cow networks change over time. Months within one standard deviation above the mean of gate passages across all pens (i.e., December in all pens, June in pens 2 and 4 and September in pen 4) were normalized such that observations during these months weighted up to 2.8 times less than months with the lowest count of gate passages (e.g., March in all pens and July in pen 1) (Figure A1). Months with low count of gate passages have no relation to the social network of the cows, or bias against the frequency in which the cows pass through the gates, however the AMS logged traffic for certain months differ throughout the year, thus this adjustment was necessary. We assumed that this normalization, that accounts for farm management, could change the interpretation made for relationships between the cows, but rather, simply makes the social affinity scores between cows more comparable across months.

2.4. Social Network

Social networks were represented by weighted (i.e., describing the number of interactions), undirected (relationships were symmetric, i.e., neither cow was considered dominant in the paring) graphs, and summarized as a weighted adjacency matrix with each row and column denoting a single cow. Nonzero entries were weighted relationship scores for each edge (connection) between nodes (cows), as described in the previous section, while zero entries indicate no relationship between the cows and thus no edge [14].
The SNA metrics were the first step to explore the scores from each network by pen, as they asses the different roles of the different individuals in the network [14,24]. We included diameter, density, degree centrality of a node and node centrality. The diameter is the shortest path length in the network, and the average path length is the average number of contacts along the short path between all the pairs of the network (i.e., how close they are to each other) [2]. Density measures the proportion of contacts between the node, and its value ranges between 0 and 1, where 0 mean absence of a network or no contacts and 1 is a fully connected network [2,25]. The degree centrality of a node measures the connectivity among nodes (i.e., higher values mean more contacts) [2,14]. The node centrality measures the shortest paths that pass through the node, indicating how likely important is a node to connect largely independent networks [14,25].

2.5. Maximum Social Affinity Pairs

Periods of affinity were identified using SNA to find pairs of cows with the highest affinity over the entire study period. Periods of time in which the cow’s behavior was not associated with its cow pairs were hypothesized to be periods of no, or lower social affinity. We considered the relationship to be symmetric implying that neither cow was dominant in the pairing. This may be a limitation of our study as we did not investigate whether the relationships were truly symmetric and there could have been a dominant cow in the pairing. Another limitation of our study is that we identified only one pairing.
These limitations are illustrated by a consideration of three cows, in which cow A is in the pen for the entire period of the study, and cow B and C for two non-overlapping periods. The highest pairing score for cow B is cow A, but it may be possible that cow A’s highest score is with cow C. Although each cow may have more than one affinity cow this complicates the analysis of milk production. This is a statistical problem that we do not have the tools to solve right now. For example, if we consider a star shaped graph, in which a single cow is the only common affinity between many others, we would be unable to define a period of time for comparison of affinity and non-affinity. Ideally, for a single cow, we would look at the time period that the cow is with all its affinities and compare that time period against a different time period in which that affinities of that cow were broken, and still be in the same parity and days in milk. However, this period is not straightforward to define if the cows are moving in and out of the pens. Thus, trying to analyze groups of cows will likely introduce bias in unknown directions depending on each cow. We avoid this by only looking at symmetric cow pairs, which define precise periods of the cows when they were together with their pair (affinity period) and when they were without their pair (period where the affinity was broken). Although an approximation to social affinity, we think this to be the cleanest way to study this problem statistically.
Finally, we may consider an additional stability criterion for the associations made. Stability of matched pairs would mean that affinity preference cannot be improved with better scores by switching partners with anyone else. That is, no cow can switch matched cow pair without at least one cow getting a lower scoring cow. Although most interpretable, stable, exclusive and symmetric pairings are not always possible. See the stable roommate matching problem for more detail [26]. We considered 3 different algorithms in a stepwise manner for pair generation: (1) If exclusivity of cow pairs is not considered, we simply take a greedy approach in assigning the top scoring partner for each cow as their cow pair. (2) If cow pairs are deemed exclusive, but a stable matching constraint (no switching of cow pair would result in a better matching for both pairs) is placed on the pairs generated, we are in the scope of the “stable roommates” problem and can use Irving’s algorithm [26]. (3) A stable matching is not always possible, and thus we default to a weighted blossom matching algorithm, in which a maximal pair matching is found based on the edge weights. Pairs are determined at the pen level, and pairs with low scores (i.e., score = 0) are excluded from the analysis.

2.6. Statistical Analysis of Daily Milk Yield

To assess the effect of social affinities on daily milk yield, we used the following framework: For each cow, we modeled an expected daily milk production curve using data available during the 1-year study period. This curve serves as a basis of comparison, in order to understand if a particular cow is over-producing or under-producing adjusted for their lactation and stage of lactation. We liken this sort of analysis to a field of causal inference in statistics called synthetic controls [27], in which we use the entire population of cows to create a “synthetic cow” that is the idealized version of the cow we make comparisons for. Given this synthetic cow, accounting for observed variables, is independent from determining the periods of social affinity comparison. To model the expected lactation curves, we used a nonlinear, mixed effects model with random effects of lactation nested inside each cow. We used the Wood’s lactation curve model [28] as the functional form of the nonlinear regression (1).
Y t i = α i t β ι e x p ( γ i t )
where Yti is the milk yield (kg) at a day t for cow i, α, β and γ are parameters that determine the lactation curve’s shape. We simplified the random effect structure of the model with guidance from the data, and the variance explained by the groupings for each parameter. The final model was a Wood’s lactation curve fit with varying parameters α, β and γ for every cow and lactation combination. Examples of the Wood’s lactation curve model and individual cow production are illustrated in Figure 1.
The deviation from the Wood curves was fitted to evaluate the performance of the cows when they were together with their pair (affinity period) and when they were without their pair (period where the affinity was broken or separating pairs of cows by removing one from the pen), summarized by the difference in the area between observed and expected lactation curves. We erred on the side of overfitting the modeled curve for each cow by means of a more complex random effect structure. This likely provides a more conservative estimates of the differences between observed and expected values under stress conditions for the cow.
As the daily variability in milk production is much larger during early lactation, we also verified that there was no spurious confounding correlation with the periods of social affinity and days in milk. The distribution of days in milk between periods of social affinity and non-social affinity was similar (Figure A2), thus supporting a valid comparison.
We hypothesized that during periods of animal’s social affinity, milk production levels would be higher than during periods when no affinity was observed or when social affinities were broken. A paired t-test analysis was performed for each pen for the summarized difference in milk production (kg/day) for periods of social affinity versus periods without social affinity, in which cows were paired based on the social network scoring. All the data preparation and analysis were performed with the R statistical software version 3.6.2 [29]. Specifically, we used the packages: “igraph” [30]; “matrix” [31]; “ggraph” [32] and “lme4” [33].

3. Results

3.1. Social Network

The top 10% of the network edge weights are illustrated in Figure 2. Although all the pens had dense networks, the density values were greater than 0.70 for pen 1 and 2 and 0.46 and 0.52 for pens 3 and 4, respectively. The degree centrality values (i.e., number of affinities that a cow has) confirm that the networks in all four pens are fully connected (Table 3). The number of cows with the greater number of connections were found in pens 1 and 2 (Table 3). This result is highlighted by the number of cows and the time spent on pens 1 and 2 as compared to pens 3 and 4 (Table 2). In addition, results show that there are at least one or two cows that remain within the top five relationships from month to month.

3.2. Maximum social Affinity Pairs on Daily Milk Production

Our primary finding was that the separation of cows from their pair (period where the affinity was broken), lead to an increase in the day-to-day SD of milk production from 0.80 kg/day for periods of affinity to 2.62 kg/day for periods of no affinity, or more than a 3-fold increase (Table 4). Furthermore, we found that in one out of the four pens, milk production was significantly lower than the Wood’s curve expected value during periods of non- affinity (Pen 3: 0.66 kg/day per cow, p-value = 0.03). Although the differences in milk production were non-significant in the other pens, milk production was numerically lower, and milk production variability was higher in periods where social affinities were broken compared with periods of social affinities (Table 4 and Figure 3). This increased variability in milk production also likely contributed to the lack of finding significance for the milk production effect.

4. Discussion

4.1. Social Network

We used sequential gate passes as our proxy for social interaction between cows. This method does not include any information about how cows interact while in resting, milking or feeding areas and cannot distinguish between positive and negative social interaction. These was not part of this exploratory study but should be possibly included in further research. However, changes in the variability of milk production provides some evidence that sequential gate passing, and SNA more generally, are interesting avenues of exploration. Gygax et al. [15] suggested that when movement is not restricted animals have more independence to choose their partners. In AMS situations cow movement is voluntary and the presence of a sort gate provides data on at least one aspect of behavior that may indicate relationship.
The social network of dairy cows had been reported to be dynamic in time and affected by the characteristics of specific cows that are introduced to, or leave the group [3,20,21,34]. Foris et al. [21] reported that cows had consistent social behavior characteristics over a 6-month period and other studies have reported non-random selection of cow pairing [15,17]. These results are an indicator of the stability, and perhaps importance of cow-cow relationships.
Our density results from pens 3 and 4 are comparable to those reported by Gygax et al. [15] (i.e., 0 to 0.50) as well as with the results reported by Foris et al. [21] (i.e., 0.28 to 0.81). The degree centrality values (i.e., number of affiliations that a cow has) confirm that these are fully connected networks (Table 3). Fully connected networks for dairy cows had been also reported by other studies [2,20]. The higher density of the networks in pens 3 and 4 as compared to pens 1 and 2 in our study could be explained by the higher number of cows (i.e., number of nodes) during the studied period (Table 3) and also by the individual personality of the cows [20,21]. Individual cow traits have been related to the dominance position in a social network [34,35].

4.2. Effects of Maximum Social Affinity Pairs on Daily Milk Production

Milk production could be negatively affected after regrouping cows, probably due to the competition for access to food and lying spaces [8,10]. Therefore, the day-to-day variability on milk production could be an indication of social stress. The significant reduction in milk production found in pen 3 and not the other pens could be because a higher percentage of cows in pen 3 were first lactation cows than in other pens and an indication that the social dynamics of first lactation cows is different than for multiparous cows. Mazer et al. [12] found that primiparous cows had higher cortisol concentration when they were regrouped compared to multiparous, showing that first lactation cows are potentially at a higher risk of experiencing stress when the affinities are broken. Differences among pens could also been explained by the position, hierarchy, influence and/or identity of each individual in the network [20,24,36], since the group dynamics depend on the characteristics and the personality of the cow that is introduced to or leaves the group [20,21,34].
Our results do suggest that cows separated from their affinity pair had greater day-day variability in milk production. The increase in day-day variability in milk production in all pens when affinities were broken suggests a negative effect of losing affinity, or conversely, the positive effect of affinity. However, in this study it was not possible to differentiate between positive or agonistic interactions from the SG data. Furthermore, a definite interpretation between affiliative or agonistic interactions remains elusive [37,38]. We hypothesize that moving cow pairs together into new pens could reduce daily variation and loss in milk production that has been documented when cows are moved individually. Likewise, Gutmann et al. [17], found that cows maintain beneficial dyadic relationships and suggested that maintaining cows with their mates can contribute to cow welfare, as it helps maintain a stable social structure in the herd.
Although spatial proximity as a measure of affiliative behavior is well recognized [18], we acknowledge that the SG data we used may not be an indication of positive affiliation between cows. Even though, it is possible that cows that go through the gate sequentially within a short period of time may have an antagonistic relationship or are dominant cows [36]. Studies have reported that cows spent more time with particular single animals, which imply that cow affinity is a not-random event, and that cows have distinct roles in the social network of a pen [15,17,20]. The results of Gygax et al. [15] showed that social networks are tightly knit for attachment relationships and less dense for avoidance relationships and were denser for median distance than for synchronicity.
The question of whether gate-passing behavior can be used as a useful indicator of either affiliative or agonistic behaviors requires further investigation, however, this exploratory analysis has inspired us to further validate and investigate the method. Our results suggest that the SNA is a useful tool to evaluate cow behavior as our exploratory study found that cow affinities can impact milk production and milk production variability. To address the limitations of our study we suggest that the use of SG data could be validated and perhaps complemented with other types of data as GPS tracking systems or image analysis to better understand interactions among cows throughout time and space. More detail on the spatial proximity at all the locations (feeding, resting, milking) would help understand cows’ behavior and interactions. Additionally, in this exploratory study only pairs of cows where evaluated. A broader evaluation of relationships is also merited.

5. Conclusions

A better understanding of social relationships could result in decision support tools to improve AMS performance, avoid loss of milk yield, and improve animal welfare on farms using both AMS and conventional milking technology. The results of this exploratory study suggest that cows’ social relationships can impact the day-to-day variability in milk production as well as daily average milk production. These results could lead to improved strategies for formulating and reformulating groups of cows in AMS settings. Social Network Analysis may be a promising tool to better understand cow social dynamics and the resulting performance of the dairy herds. Further validation and exploration of the method is necessary.

Author Contributions

Conceptualization, L.F.-P., D.J.R. and V.E.C.; methodology, L.F.-P., M.L. and D.J.R.; software, L.F.-P. and M.L.; validation, L.F.-P. and M.L.; formal analysis, L.F.-P. and M.L.; investigation, L.F.-P., M.L., D.J.R. and V.E.C.; resources, V.E.C.; data curation, L.F.-P. and M.L.; writing—original draft preparation, L.F.-P., M.L., D.J.R. and V.E.C.; writing—review and editing, L.F.-P., M.L., D.J.R. and V.E.C.; visualization, L.F.-P. and M.L.; supervision, D.J.R.; project administration, V.E.C.; funding acquisition, V.E.C. All authors have read and agreed to the published version of the manuscript.

Funding

This study was supported by the Food and Agriculture Cyberinformatics and Tools grant no. 2019-68017-29935/project accession no. 1019780 from the USDA National Institute of Food and Agriculture.

Conflicts of Interest

The authors declare no conflict of interest.

Appendix A

Figure A1. Count of the gate passage per month by pen.
Figure A1. Count of the gate passage per month by pen.
Animals 11 01229 g0a1
Figure A2. Overlap of periods of social affinity as a function of days in milk. The density of observations in periods of social affinity (green) and non-social affinity (red) have similar distributions.
Figure A2. Overlap of periods of social affinity as a function of days in milk. The density of observations in periods of social affinity (green) and non-social affinity (red) have similar distributions.
Animals 11 01229 g0a2

References

  1. Estevez, I.; Andersen, I.-L.; Nævdal, E. Group Size, Density and Social Dynamics in Farm Animals. Appl. Anim. Behav. Sci. 2007, 103, 185–204. [Google Scholar] [CrossRef]
  2. Martínez-López, B.; Perez, A.M.; Sánchez-Vizcaíno, J.M. Social Network Analysis. Review of General Concepts and Use in Preventive Veterinary Medicine. Transbound. Emerg. Dis. 2009, 56, 109–120. [Google Scholar] [CrossRef]
  3. de Freslon, I.; Martínez-López, B.; Belkhiria, J.; Strappini, A.; Monti, G. Use of Social Network Analysis to Improve the Understanding of Social Behaviour in Dairy Cattle and Its Impact on Disease Transmission. Appl. Anim. Behav. Sci. 2019, 213, 47–54. [Google Scholar] [CrossRef]
  4. Langbein, J.; Puppe, B. Analysing Dominance Relationships by Sociometric Methods—A Plea for a More Standardised and Precise Approach in Farm Animals. Appl. Anim. Behav. Sci. 2004, 87, 293–315. [Google Scholar] [CrossRef]
  5. Val-Laillet, D.; Guesdon, V.; von Keyserlingk, M.A.G.; de Passillé, A.M.; Rushen, J. Allogrooming in Cattle: Relationships between Social Preferences, Feeding Displacements and Social Dominance. Appl. Anim. Behav. Sci. 2009, 116, 141–149. [Google Scholar] [CrossRef]
  6. Rault, J.-L. Friends with Benefits: Social Support and Its Relevance for Farm Animal Welfare. Appl. Anim. Behav. Sci. 2012, 136, 1–14. [Google Scholar] [CrossRef]
  7. DeVries, A.C.; Glasper, E.R.; Detillion, C.E. Social Modulation of Stress Responses. Physiol. Behav. 2003, 79, 399–407. [Google Scholar] [CrossRef]
  8. Bøe, K.E.; Færevik, G. Grouping and Social Preferences in Calves, Heifers and Cows. Appl. Anim. Behav. Sci. 2003, 80, 175–190. [Google Scholar] [CrossRef]
  9. Raussi, S.; Boissy, A.; Delval, E.; Pradel, P.; Kaihilahti, J.; Veissier, I. Does Repeated Regrouping Alter the Social Behaviour of Heifers? Appl. Anim. Behav. Sci. 2005, 93, 1–12. [Google Scholar] [CrossRef]
  10. von Keyserlingk, M.A.G.; Olenick, D.; Weary, D.M. Acute Behavioral Effects of Regrouping Dairy Cows. J. Dairy Sci. 2008, 91, 1011–1016. [Google Scholar] [CrossRef] [PubMed]
  11. Walker, J.K.; Arney, D.R.; Waran, N.K.; Handel, I.G.; Phillips, C.J.C. The Effect of Conspecific Removal on Behavioral and Physiological Responses of Dairy Cattle. J. Dairy Sci. 2015, 98, 8610–8622. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  12. Mazer, K.A.; Knickerbocker, P.L.; Kutina, K.L.; Huzzey, J.M. Changes in Behavior and Fecal Cortisol Metabolites When Dairy Cattle Are Regrouped in Pairs versus Individually after Calving. J. Dairy Sci. 2020, 103, 4681–4690. [Google Scholar] [CrossRef] [PubMed]
  13. Hasegawa, N.; Nishiwaki, A.; Sugawara, K.; Ito, I. The Effects of Social Exchange between Two Groups of Lactating Primiparous Heifers on Milk Production, Dominance Order, Behavior and Adrenocortical Response. Appl. Anim. Behav. Sci. 1997, 51, 15–27. [Google Scholar] [CrossRef]
  14. Farine, D.R.; Whitehead, H. Constructing, Conducting and Interpreting Animal Social Network Analysis. J. Anim. Ecol. 2015, 84, 1144–1163. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  15. Gygax, L.; Neisen, G.; Wechsler, B. Socio-Spatial Relationships in Dairy Cows. Ethology 2010, 116, 10–23. [Google Scholar] [CrossRef]
  16. Chen, S.; Ilany, A.; White, B.J.; Sanderson, M.W.; Lanzas, C. Spatial-Temporal Dynamics of High-Resolution Animal Networks: What Can We Learn from Domestic Animals? PLoS ONE 2015, 10, e0129253. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  17. Gutmann, A.K.; Špinka, M.; Winckler, C. Long-Term Familiarity Creates Preferred Social Partners in Dairy Cows. Appl. Anim. Behav. Sci. 2015, 169, 1–8. [Google Scholar] [CrossRef]
  18. Whitehead, H. Analyzing Animal Societies: Quantitative Methods for Vertebrate Social Analysis; University of Chicago Press: Chicago, CA, USA, 2008; ISBN 0-226-89524-6. [Google Scholar]
  19. Jacobs, J.A.; Siegford, J.M. Invited Review: The Impact of Automatic Milking Systems on Dairy Cow Management, Behavior, Health, and Welfare. J. Dairy Sci. 2012, 95, 2227–2247. [Google Scholar] [CrossRef]
  20. Boyland, N.K.; Mlynski, D.T.; James, R.; Brent, L.J.N.; Croft, D.P. The Social Network Structure of a Dynamic Group of Dairy Cows: From Individual to Group Level Patterns. Appl. Anim. Behav. Sci. 2016, 174, 1–10. [Google Scholar] [CrossRef] [Green Version]
  21. Foris, B.; Zebunke, M.; Langbein, J.; Melzer, N. Comprehensive Analysis of Affiliative and Agonistic Social Networks in Lactating Dairy Cattle Groups. Appl. Anim. Behav. Sci. 2019, 210, 60–67. [Google Scholar] [CrossRef]
  22. Cabrera, V.E.; Barrientos-Blanco, J.A.; Delgado, H.; Fadul-Pacheco, L. Symposium Review: Real-Time Continuous Decision Making Using Big Data on Dairy Farms. J. Dairy Sci. 2020, 103, 3856–3866. [Google Scholar] [CrossRef] [PubMed]
  23. Waters, J.S.; Fewell, J.H. Information Processing in Social Insect Networks. PLoS ONE 2012, 7, e40337. [Google Scholar] [CrossRef]
  24. Makagon, M.M.; McCowan, B.; Mench, J.A. How Can Social Network Analysis Contribute to Social Behavior Research in Applied Ethology? Appl. Anim. Behav. Sci. 2012, 138, 152–161. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  25. Martin, P.; Barkema, H.W.; Brito, L.F.; Narayana, S.G.; Miglior, F. Symposium Review: Novel Strategies to Genetically Improve Mastitis Resistance in Dairy Cattle. J. Dairy Sci. 2018, 101, 2724–2736. [Google Scholar] [CrossRef] [PubMed]
  26. Irving, R.W. An Efficient Algorithm for the “Stable Roommates” Problem. J. Algorithms 1985, 6, 577–595. [Google Scholar] [CrossRef]
  27. Abadie, A.; Diamond, A.; Hainmueller, J. Synthetic Control Methods for Comparative Case Studies: Estimating the Effect of California’s Tobacco Control Program. J. Am. Stat. Assoc. 2010, 105, 493–505. [Google Scholar] [CrossRef] [Green Version]
  28. Wood, P. Factors Affecting the Shape of the Lactation Curve in Cattle. Anim. Sci. 1969, 11, 307–316. [Google Scholar] [CrossRef]
  29. R Core Team R: A Language and Environment for Statistical Computing. R Foundation for Statistical Computing: Vienna, Austria. Available online: https://Www.R-Project.Org/ (accessed on 28 September 2020).
  30. Csardi, G.; Nepusz, T. The Igraph Software Package for Complex Network Research, InterJournal, Complex Systems 1695. Available online: http://igraph.org (accessed on 15 October 2020).
  31. Bates, D.; Maechler, M. Matrix: Sparse and Dense Matrix Classes and Methods. R Package Version 1.2-18. Available online: https://CRAN.R-project.org/package=Matrix (accessed on 15 October 2020).
  32. Pedersen, T.L. Ggraph: An Implementation of Grammar of Graphics for Graphs and Networks. R Package Version 2.0.0. Available online: https://CRAN.R-project.org/package=ggraph (accessed on 15 October 2020).
  33. Bates, D.; Maechler, M.; Bolker, B.; Walke, S. Fitting Linear Mixed-Effects Models Using Lme4. J. Stat. Softw. 2015, 67, 1–48. [Google Scholar] [CrossRef]
  34. Krause, J.; Croft, D.P.; James, R. Social Network Theory in the Behavioural Sciences: Potential Applications. Behav. Ecol. Sociobiol. 2007, 62, 15–27. [Google Scholar] [CrossRef] [PubMed]
  35. Finkemeier, M.-A.; Langbein, J.; Puppe, B. Personality Research in Mammalian Farm Animals: Concepts, Measures, and Relationship to Welfare. Front. Vet. Sci. 2018, 5. [Google Scholar] [CrossRef] [PubMed]
  36. Halachmi, I. Simulating the Hierarchical Order and Cow Queue Length in an Automatic Milking System. Biosyst. Eng. 2009, 102, 453–460. [Google Scholar] [CrossRef]
  37. Val-Laillet, D.; de Passillé, A.M.; Rushen, J.; von Keyserlingk, M.A.G. The Concept of Social Dominance and the Social Distribution of Feeding-Related Displacements between Cows. Appl. Anim. Behav. Sci. 2008, 111, 158–172. [Google Scholar] [CrossRef]
  38. Knierim, U.; Winckler, C. On-Farm Welfare Assessment in Cattle: Validity, Reliability and Feasibility Issues and Future Perspectives with Special Regard to the Welfare Quality® Approach. Anim. Welf. 2009, 18, 451–458. [Google Scholar]
Figure 1. Examples of the expected and actual milk production data. The expected values are determined from the nonlinear, Wood’s curve mixed model with random effects of lactation number nested within cow. Here we illustrate that the trends in actual milk production correspond to the expected values, which account for lactation number and stage of lactation (blue line).
Figure 1. Examples of the expected and actual milk production data. The expected values are determined from the nonlinear, Wood’s curve mixed model with random effects of lactation number nested within cow. Here we illustrate that the trends in actual milk production correspond to the expected values, which account for lactation number and stage of lactation (blue line).
Animals 11 01229 g001
Figure 2. Network representation of pens’ social networks scored with the lag sequence decreasing score where the top 10% of network edge weights are shown. Each node is an individual cow (cow numbers forming the outer circle), and each edge (blue lines inside the circle) is a connection between cows with darker lines indicate strength of the relationship between the cows. Only the strongest 10% of the edges are shown to avoid oversaturation of lines.
Figure 2. Network representation of pens’ social networks scored with the lag sequence decreasing score where the top 10% of network edge weights are shown. Each node is an individual cow (cow numbers forming the outer circle), and each edge (blue lines inside the circle) is a connection between cows with darker lines indicate strength of the relationship between the cows. Only the strongest 10% of the edges are shown to avoid oversaturation of lines.
Animals 11 01229 g002
Figure 3. Difference of milk production by pen between cows during period with social affinity and periods without social affinity.
Figure 3. Difference of milk production by pen between cows during period with social affinity and periods without social affinity.
Animals 11 01229 g003
Table 1. Average and standard deviation by pen of farm characteristics for a 12-month period (February 2019–February 2020).
Table 1. Average and standard deviation by pen of farm characteristics for a 12-month period (February 2019–February 2020).
ItemPen 1Pen 2Pen 3Pen 4
Number of cows55.9 ± 7.954.7 ± 6.151.1 ± 13.452.4 ± 9.6
Distribution of lactation numbers *L2 (35%)L2 (28%)L1 (77%)L1 (45%)
L3 (26%)L3 (19%)L2 (20%)L2 (33%)
L4 (26%)L1 (14%) L3 (16%)
L5 (14%)
Milkings/cow/day2.66 ± 0.682.67 ± 0.802.67 ± 0.812.68 ± 0.83
Milk production (kg)/cow/day 40.5 ± 13.441.7 ± 14.536.2 ± 11.538.8 ± 12.3
Milk production (kg)/AMS/day2262228218432036
* Proportion of cows in lactation: 1 (L1), 2 (L2), 3 (L3), 4 (L4) and 5 (L5).
Table 2. Number of cows and range of the time (day) spent by pen during the 12-month study period (February 2019–February 2020).
Table 2. Number of cows and range of the time (day) spent by pen during the 12-month study period (February 2019–February 2020).
PenDays in Pen
30 to 9091 to 180181 to 270>271
Pen 126234114
Pen 215264015
Pen 344192926
Pen 439313911
Table 3. Social network metrics of the four pens.
Table 3. Social network metrics of the four pens.
ItemsPen 1Pen 2Pen 3Pen 4
Number of nodes 18484129116
Number of edges 22923242537813456
Diameter 3247279253279
Density 40.840.700.460.52
Degree 5
Maximum80729991
Minimum2222
Average70585960
Number of cows with the maximum number of connections4130819
1 Number of nodes: total number of cows passing through the sorting gate; 2 Number of edges: number of connections between cows; 3 Diameter: shorter path among connections in the network; 4 Density: proportion of contacts between nodes (i.e., cows) and range between 0 (no contacts) and 1 (fully connected network); 5 Degree: connectivity among nodes (i.e., cows), higher values mean more contacts.
Table 4. Difference between actual and expected (predicted from Wood’s curve model) milk production for periods with and without affinity.
Table 4. Difference between actual and expected (predicted from Wood’s curve model) milk production for periods with and without affinity.
Difference of Actual to Expected Milk Production, kg/day
ItemMeanSDPair t-Test
No AffinitiesAffinitiesNo AffinitiesAffinitiesp-Value 1
Pen 1−0.18−0.103.301.151.000
Pen 2−0.72−0.373.901.181.000
Pen 3−0.530.132.130.820.032
Pen 4−0.29−0.053.300.521.000
Overall−0.31−0.112.620.80NA 2
1 Holm corrected; 2 Non applicable.
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Fadul-Pacheco, L.; Liou, M.; Reinemann, D.J.; Cabrera, V.E. A Preliminary Investigation of Social Network Analysis Applied to Dairy Cow Behavior in Automatic Milking System Environments. Animals 2021, 11, 1229. https://0-doi-org.brum.beds.ac.uk/10.3390/ani11051229

AMA Style

Fadul-Pacheco L, Liou M, Reinemann DJ, Cabrera VE. A Preliminary Investigation of Social Network Analysis Applied to Dairy Cow Behavior in Automatic Milking System Environments. Animals. 2021; 11(5):1229. https://0-doi-org.brum.beds.ac.uk/10.3390/ani11051229

Chicago/Turabian Style

Fadul-Pacheco, Liliana, Michael Liou, Douglas J. Reinemann, and Victor E. Cabrera. 2021. "A Preliminary Investigation of Social Network Analysis Applied to Dairy Cow Behavior in Automatic Milking System Environments" Animals 11, no. 5: 1229. https://0-doi-org.brum.beds.ac.uk/10.3390/ani11051229

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop