Proceedings of the Royal Society B: Biological Sciences
Open AccessResearch articles

Spontaneous helping in pigs is mediated by helper's social attention and distress signals of individuals in need

Liza R. Moscovice

Liza R. Moscovice

Institute of Behavioural Physiology, Research Institute for Farm Animal Biology (FBN), 18196 Dummerstorf, Mecklenburg-Vorpommern, Germany

[email protected]

Contribution: Conceptualization, Data curation, Formal analysis, Funding acquisition, Investigation, Methodology, Resources, Supervision, Validation, Visualization, Writing – original draft, Writing – review & editing

Google Scholar

Find this author on PubMed

,
Anja Eggert

Anja Eggert

Institute of Genetics and Biometry, Research Institute for Farm Animal Biology (FBN), 18196 Dummerstorf, Mecklenburg-Vorpommern, Germany

Contribution: Formal analysis, Methodology, Resources, Validation, Visualization, Writing – review & editing

Google Scholar

Find this author on PubMed

,
Christian Manteuffel

Christian Manteuffel

Institute of Behavioural Physiology, Research Institute for Farm Animal Biology (FBN), 18196 Dummerstorf, Mecklenburg-Vorpommern, Germany

Contribution: Data curation, Formal analysis, Methodology, Software, Validation, Writing – review & editing

Google Scholar

Find this author on PubMed

and
Jean-Loup Rault

Jean-Loup Rault

Institute of Animal Welfare Science, University of Veterinary Medicine, 1210 Vienna, Austria

Contribution: Conceptualization, Methodology, Writing – original draft, Writing – review & editing

Google Scholar

Find this author on PubMed

    Abstract

    Helping behaviour is of special interest for prosociality because it appears to be motivated by the needs of others. We developed a novel paradigm to investigate helping in pigs (Sus scrofa domesticus) and tested 75 individuals in eight groups in their home pens. Two identical compartments were attached to the pen, equipped with a window, and a door that could be opened from the outside by lifting a handle. Pigs in all groups spontaneously opened doors during a 5-day familiarization. During testing, each pig was isolated once from its group and placed in one of the two compartments, in a counter-balanced order. In 85% of cases, pigs released a trapped group member from the test compartment within 20 min (median latency = 2.2 min). Pigs were more likely and quicker to open a door to free the trapped pig than to open a door to an empty compartment. Pigs who spent more time looking at the window of the compartment containing the trapped pig were more likely to help. Distress signals by the trapped pig increased its probability of being helped. Responses are consistent with several criteria for identifying targeted helping, but results can also be explained by selfish motivations.

    1. Background

    Helping behaviour, in which an individual assists another to reach an otherwise unachievable goal, is of special interest for the study of prosociality. Helping can be costly [1] and often does not provide immediate benefits to the helper, but rather appears to be motivated by an understanding of the needs of others, also referred to as targeted helping [2]. Examples of helping are widespread across animal taxa in the wild, and include intervening on behalf of group members against predators (ants: [3]; primates: [4]; whales: [5]), releasing individuals caught in snares, traps or sticky seeds (ants: [6]; wild boars: [7]; birds: [1]) and defending group members from conspecific attacks (elephants: [8]; primates: [9]).

    Animal helping is also the subject of experimental research to identify common biological mechanisms underlying empathy, broadly defined as the ability to recognize the emotional states of others and generate appropriate responses [2,10]. Animal helping and human empathic responses share several trait features [10], including that both are mediated by the processing of social affective cues in similar brain regions (rodents: [11]; humans: [12]). Long-standing criticisms maintain that the available evidence is not sufficient to support empathy-like motivations underlying animal helping and that more parsimonious explanations are possible [1316]. One major point of contention is about whether helping is truly goal-oriented, which would require showing not only that animals help in response to individuals in need, but also that observers modify helping appropriately when the target's needs change or when they no longer require help [17]. Other criticisms highlight issues with the design of helping experiments themselves, which can make it difficult to distinguish between prosocial and selfish motivations for helping, for example when helping provides access to desirable resources such as social partners (e.g. social reinforcement [14,18]), or novel locations [19,20], in an otherwise barren test environment. Moreover, some studies have assumed that their paradigms elicit distress without measuring responses of target individuals (e.g. [21]), leading others to question whether these individuals are even in need of help [14,16,18]. Interestingly, there is also evidence that high levels of distress by individuals in need may sometimes hinder helping [22,23]. More research is thus needed to disentangle the different motivations for helping behaviour [16].

    We developed a novel helping paradigm that gives potential helpers and individuals in need more behavioural flexibility to express a range of responses, in an attempt to address some of these criticisms. Our paradigm is inspired by the work of Ben-Ami Bartal et al. [19], in which rats could open a door to release a partner trapped inside a restraint tube. However, our approach differs in several important aspects. First, subjects are tested in social groups in their home environment (e.g. [24]), which improves ecological validity by giving animals the choice about whether, when and whom to help, while allowing for competing motivations (e.g. exploring, feeding, resting and social interactions with other group members). Second, subjects can simultaneously perform the same behaviour in a range of helping as well as non-helping contexts, which allows us to assess different motivations for door-opening. Finally, the trapped individual is able to move around and explore and can also maintain visual contact and interact with potential helpers through a mesh window, allowing us to investigate how different behavioural responses of trapped individuals influence helping [25].

    We tested the paradigm in pigs, which are a promising model species for studying the mechanisms mediating helping behaviour. Pigs show evidence of emotional contagion when observing group members in stressful situations [26], but without opportunities to assist them. In addition, a case of spontaneous rescue behaviour was recently documented in wild boars (Sus scrofa), the ancestors of domestic pigs [7]. However, helping has not been systematically studied in pigs.

    Our objectives were to determine whether pigs would spontaneously open a door to free a trapped group member, to identify the factors that influence door-opening behaviour and to test whether pigs' responses were consistent with targeted helping or selfish motivations. We followed the criteria suggested by Pérez-Manrique & Gomila [27] for demonstrating targeted helping in animals: (i) helpers should show an other-oriented reaction, including cognitive appraisal of the situation and a moderate level of arousal, consistent with emotional regulation; (ii) helpers should show a flexible helping response that is appropriate to the situation; and (iii) helping should lead to an improvement in the situation for the individual in need.

    We predicted that pigs would selectively and consistently open doors to release trapped group members, but not to access empty compartments. We further predicted that potential helpers would be more likely and quicker to help individuals: (i) if they were more proficient in the novel door-opening behaviour, (ii) if they were more attentive to the trapped individual and (iii) if the trapped individual expressed greater need to be released, either by producing distress signals or by attempting to make social contact. We measured changes in salivary cortisol (sCORT) concentrations in trapped pigs, to test whether specific behavioural responses to being trapped were associated with greater activation of the hypothalamic–pituitary–adrenal axis, consistent with a physical or psychological stress response [28]. Whenever the identity of helpers could be quickly confirmed without requiring video analysis, we also measured their sCORT concentrations soon after helping, to test whether helpers showed evidence for increases in cortisol, consistent with emotional contagion of distress from trapped pigs, or for more moderate levels of arousal, consistent with emotional regulation that can facilitate targeted helping [22,27].

    2. Methods

    (a) Animals and husbandry

    All research procedures were approved under the German Animal Welfare Act (German Animal Protection Law, §8 TierSchG) by the Committee for Animal Use and Care of the Agricultural Department of Mecklenburg-Western Pomerania, Germany (permit LALLF 7221.3-1-036/20).

    Subjects were German Landrace pigs born and housed at the Experimental Pig Facility at the Research Institute for Farm Animal Biology (FBN) in Dummerstorf, Germany. Pigs were tested in four temporally separated cohorts, based on the five-week interval between the births of new litters. Each cohort consisted of two social groups, for a total of n = 78 subjects. At 28 days of age, subjects were weaned and mixed into new social groups, by randomly selecting 3–5 pigs from each of two to three different litters to form groups of 9–10 individuals. Groups were sex-balanced and contained equal numbers of littermates from each contributing litter, such that each pig had either two (22% of group members) or four (44% of group members) relatives in their group. Groups within a cohort were housed in identical, neighbouring 2.8 m × 2.8 m pens in the same room, with partial slatted flooring and a sleeping mat. Throughout the study, pigs in neighbouring pens did not have direct visual or physical contact but could exchange auditory and olfactory cues. Pigs were regularly given back numbers using livestock spray paint to facilitate individual identification. The room was equipped with multiple video cameras in order to cover the entire home pen and two additional compartments that were attached to the home pen for the experiment (see §2b). Pigs were tested between 46 and 55 days of age. Prior to testing, pigs were habituated to saliva sampling and had participated in one social play experiment within their social group [29]. Of the 78 subjects, one died of unknown causes, and two subjects from the same group were removed from the study to be treated for illnesses before testing began. We report results for the remaining n = 75 subjects who completed the study.

    (b) Familiarization, separation and testing

    Two weeks after weaning, pigs went through familiarization, with the goal to expose pigs to novel compartments and a novel door-opening mechanism. Each group within a cohort had a 1 h familiarization session per day, with groups tested consecutively in a counter-balanced order across 5 days. On each familiarization day, pigs were presented as a group in their home pen with two identical compartments (90 × 90 × 80 cm3 in height) that were temporarily attached to opposite sides of the home pen (figure 1). Compartments were open on top to facilitate the placement of trapped pigs and video recording during testing. Each compartment had a mesh window and a door with a metal handle, placed at 20 cm height (electronic supplementary material, figure S1). Opening the door required the use of 1.3 kg of force to lift the handle with the snout high enough to release an inner latch, causing the door of the compartment to swing open into the home pen. This design is suitable for pigs, who can exert strong force with their snout to dig or lift [30]. During each familiarization session, a group was presented simultaneously with the compartments, with both doors closed. If a pig spontaneously opened a door, the door was left open for 2 min so that pigs could freely explore the inside of the compartment. At that point, any pigs still in the compartment were gently led out and a researcher closed the door in a standardized way from outside the pen, using a hook to insert the door handle back into its slot. If no pig had opened the door of a compartment for 5 min, a researcher opened that door using the hook and left the door open for 2 min, before removing any pigs inside the compartment and closing the door. This approach gave all pigs within the group multiple opportunities to open doors within and across familiarization days.

    Figure 1.

    Figure 1. Diagram of the experimental set-up, showing two identical compartments that were attached to opposite sides of the home pen. During testing, a pig was placed in one compartment and the other remained empty.

    Each group then experienced the testing phase, with groups again tested consecutively in a counter-balanced order across 5 days. The testing phase was initially similar to the familiarization phase in that on each testing day the two compartments were simultaneously attached to the home pen of one group, and pigs could freely explore and open the doors (pre-testing). The goal of pre-testing was to wait until pigs lost interest in the doors and compartments, since re-attaching the compartments each day drew attention to them. Researchers monitored the pigs from a different room using a live video stream. Every 10 min, a researcher entered the room and if either of the doors were opened, they led out any pigs inside the compartments and closed the doors. Once the pigs had not touched or opened any door for 10 minutes (this typically occurred within 30 min of initial exposure on each test day), a researcher entered the home pen and removed the designated trapped pig, using a pre-determined pseudo-random order, so that each pig was trapped once over the course of group testing. This began the ‘separation’ condition, during which the designated trapped pig was isolated in a separate room in a 2.8 m2 empty arena. The goal of the separation was to induce moderate distress in the designated trapped pig, to ensure that trapped pigs would be similarly motivated to be reunited with their group. Brief social separations can occur as part of routine husbandry on farms, but such separations are known to be stressful for pigs [29]. During the separation, researchers monitored the test group remotely. If no doors were opened during the first 5 minutes, the designated trapped pig was carried back into the room by an experimenter and placed directly into the pre-designated test compartment from above, thus having no contact with pigs in the home pen prior to being placed in the test compartment. In the event that a pig opened any doors during the initial 5 min separation, a researcher entered the room, closed the open door(s) and left the room. We then waited an additional 5 minutes before returning the designated trapped pig and placing it in the pre-designated test compartment. As a result, the total isolation time for each pig ranged from 5 to 11 min (median isolation time = 5.8 min).

    The test trial began once the trapped pig was placed in the test compartment (testing condition). The researcher left the room and monitored the pigs remotely using live video. During the trial, the trapped pig maintained olfactory and auditory contact with their group members at all times. In addition, the trapped pig could maintain visual and limited physical contact with group members through the mesh window located on one side of the compartment. Each test trial continued until either: (i) a pig opened the door of the test compartment, releasing the trapped pig, or (ii) 20 min elapsed without helping, at which point a researcher entered the room and opened the test compartment door to release the trapped pig. At any point during testing, pigs could also open the door of the empty (control) compartment, but this had no influence on trial duration. If the trapped pig showed signs of distress (screaming, squeals and/or escape attempts) continuously for 3 minutes and was not let out by a pig, a researcher opened the door, thus ending the trial for ethical reasons. This happened only once. The pigs in the home pen were also monitored continuously via live video during each trial, and none showed evidence of distress during testing. Once the door of the test compartment was opened (either by a pig or by a researcher), the pigs were left undisturbed for an additional 15 min and then saliva samples were collected (see §2d). The compartments were then cleaned and approximately 1.5 h after the first trial, the same group experienced a second trial, with a second pig this time trapped in the previously empty compartment. After the first group completed two trials, the second group in the cohort went through the same procedure and we alternated group testing order across test days. Within and across test days, we alternated the location of the first test compartment for each group (at the front or side of the pen), so that each group experienced both locations as test compartments with similar frequencies. At the completion of the testing phase, each pig had been trapped once, and potential helpers had between 6 and 9 opportunities (depending on their group size) to release different members of their social group from the test compartment.

    (c) Behavioural measures

    Behavioural data were coded from video recordings by two trained assistants using the Observer software (version 15, Noldus, The Netherlands), with an inter-observer reliability of 91.2%. During the familiarization phase, the daily latency for each door to first be opened within each group was recorded as a measure of group task performance across familiarization days. We also recorded each pig's daily frequency of door-opening, as a measure of task proficiency.

    During the separation, we recorded the identity of any pigs who opened doors, which door was opened (the designated empty or test compartment) and each pig's frequency of door-opening. During testing, we recorded the amount of time that each potential helper (referring to all other pigs in the group besides the trapped pig) spent looking in the direction of the window of either compartment, defined as being within 10 cm of the window with their head oriented towards the window. If a pig opened the door of either compartment within 20 min, we recorded the identity of the door-opener, and their latency to open the door, based on the time at which the latch of the door was successfully lifted and the door swung open. When a potential helper released the trapped pig from the test compartment within 20 min, they were designated as the helper for that trial. We continued to record any door-opening of the empty compartment up to 20 min, to directly compare pigs' motivation to open both compartments. We used video cameras mounted directly above the compartment to record all occurrences of squeals or screams by the trapped pig, which were identified as prolonged (greater than 2 s) vocalizations with high-frequency components and amplitude modulation [31]. Squeals or screams are commonly associated with negative affect in pigs [31,32]. As further validation that we were recording vocalizations related to negative affect, and to test whether parts of the data analysis can be automated in future studies, we compared our manual coding of screams and squeals with analysis of vocalizations using the Stremodo software, which was developed for the automated detection of distress in pigs [33] (see also electronic supplementary material). We also recorded each trapped pig's rate of escape attempts (attempting to climb or jump against the side of the compartment) and their investigations of either the window or the door, with investigations counted whenever the snout of the trapped pig was within 5 cm of the object. For two pigs, the compartment was not entirely visible in the video recording while they were trapped, so behavioural data were analysed for the remaining n = 73 trapped pigs.

    (d) Hormonal measures

    We assessed the physiological responses of trapped pigs by measuring changes in their concentration of sCORT, which increases in response to physical or psychosocial challenges in pigs [29]. We collected saliva samples from the designated trapped pig in their home pen before they were removed from the group (pre-test), and 15 min after the door of the test compartment was open and the trapped pig was released (post-test). During the post-test sampling, we also attempted to collect saliva samples from the pig that helped when this could be quickly confirmed without additional video analyses. Due to the time delay between exposure to a stimulus and peak cortisol responses in pig saliva [34], the post-test samples should reflect free cortisol concentrations around the time that pigs were released. Samples were collected voluntarily from pigs using SalivaBio® Infant Swabs (Salimetrics, CA, USA). Cortisol analyses were conducted at the FBN, using an ELISA kit for sCORT (Demeditec Diagnostics®, GmbH, Kiel, Germany) that our laboratory has previously validated in pigs [29] (see also electronic supplementary material). The inter-assay CVs of low- and high-concentration pooled controls were 9.3% and 8.3%, respectively (n = 16 samples). Intra-assay CVs of low- and high-concentration pooled samples were 10.7% and 8.6%, respectively.

    (e) Statistical analyses

    Data were analysed using the R statistical software (version 4.2.1) [35] (see also electronic supplementary material). Results are presented as medians and interquartile ranges (IQRs) unless otherwise specified. When test predictors in models were significant, we conducted pairwise post hoc comparisons on marginal means and calculated Tukey's HSD-adjusted p-values [36]. To measure door-opening performance during familiarization, we fitted a linear mixed model (LMM) testing whether the latency for each door to first be opened was influenced by an interaction between familiarization day and location of the compartment (front or side). We included daily counter-balanced test order of each group (first or second) as a control predictor and group identity as a random effect. We also determined the proportion of pigs that successfully opened a door on each familiarization day and cumulatively across that day and previous days. To test whether pigs had a side preference to open a specific compartment during familiarization, we tested whether the proportional door-opening of each compartment was equal at the group and individual pig level using one-sample binomial tests.

    To compare door-opening in helping and non-helping contexts, we fitted a generalized linear mixed model (GLMM) to test for the n = 74 full trials, whether the likelihood to open either door (response) was influenced by an interaction between condition (separation or test trial) and the identity of the door (designated empty or test compartment). We included the location of each compartment (front or side), the test day (1–5), and the daily test order within a group (first or second) as control predictors, and group identity as a random effect. Then, for the subset of separations (n = 35, 47%) and test trials (n = 68, 92%) where at least one door was opened, we fitted an LMM to test whether the latency to first open a door (response) was influenced by the same test and control predictors.

    To test whether helping was influenced by potential helpers' previous experience and their appraisal of the situation, we fitted a GLMM with a zero-inflated negative binomial error distribution. For each potential helper (n = 7–9 pigs) in each of the 75 trials, we indicated whether that group member helped the trapped pig or not (response). We then tested how each pig's likelihood of helping was influenced by their mean daily proficiency in door-opening during familiarization and their proportion of time spent near the window of the test compartment with their head oriented towards the window while a pig was trapped. We considered this to be a measure of social attentiveness, since from this position potential helpers should have a clear view of the trapped pig. We included control predictors for the proportion of trial time that each potential helper spent looking at the window of the empty compartment, their rate of opening either compartment during the preceding separation, and whether they opened the empty compartment during the test trial. We also included test day, daily test order within the group and the potential helpers' relatedness to the trapped pig (sibling or non-sibling). We included group identity as a random effect.

    We tested for correlations between different behavioural responses of trapped pigs using Pearson correlation coefficients with Bonferroni corrections for multiple testing. Rates of distress vocalizations (screams or squeals) and escape attempts were correlated (see Results), so we summed these two measures to obtain a combined rate of distress signals. We fitted a LMM to test whether changes in sCORT concentrations in trapped pigs from pre- to post-test samples were related to their behavioural responses while trapped, for n = 70 pigs for which we had complete data on their physiological and behavioural responses to being trapped. The response was each trapped pig's sCORT concentrations. To model changes in sCORT in trapped pigs, we tested for two-way interactions between sampling context (pre- or post-trapped, representing relative changes in sCORT), and the following test predictors: (i) each trapped pig's rate of investigations to the window, where they could potentially make contact with group members, (ii) their rate of distress signals (the sum of their screams, squeals and escape attempts), (iii) the duration that each pig was separated from the group before being trapped and (iv) the duration that each pig was trapped. As control predictors, we included each pig's sex, the test day and daily group testing order and the time that each sample was taken. We included group and subject as random effects. We used paired t-tests and Pearson correlation coefficients to compare sCORT concentrations of trapped pigs and their helpers shortly after pigs had been released.

    To test whether helpers' responses were sensitive to the expressions of need by the trapped pig, we fitted a Cox proportional hazards regression model using the Survival package (v 3.2–7) [37]. In survival analyses, latencies and likelihoods of an event of interest (in this case being released from the test compartment by a pig) are combined into a hazard ratio (HR), with an HR above one indicating a covariate that is associated with a greater likelihood and shorter latency for the event to occur. Trials in which pigs were released by a researcher were right-censored, to indicate that the event of interest did not occur during that pig's observation period. To compare behavioural data that varied over time while ensuring that we did not violate the proportional hazards assumptions, we stratified each trapped pig's behavioural data at 1 min intervals and removed any intervals of less than 60 s at the beginning of each pig's trapped period. We also excluded from analysis each pig's behaviour during the last 10 s before they were released, to avoid committing ‘immortal biases' [38] by using information from the future to predict the outcome. After removing n = 15 trapped pigs who were released in under 1 min, and the n = 2 trapped pigs mentioned above whose behavioural data could not be analysed due to limited test compartment visibility, we ran the survival analysis on n = 58 trapped pigs. We included each trapped pig's number of investigations to the mesh window per minute, which could reflect motivation to acquire information about the social group or to make social contact. The number of distress signals (screams, squeals or escape attempts) per minute could not be transformed to approximate normality. Therefore, we included the presence or absence of distress signals at 1 min intervals as a binomial predictor. We included as control predictors group identity, sex, the counter-balanced location of the test compartment (at the front or the side of the pen), the group testing order and the time when the trapped pig was first placed in the compartment. Diagnostic tools indicated that the proportional hazards assumptions were not violated (global hazard ratio, χ2 = 22.07, d.f. = 21, p = 0.40). The concordance index (CI) was 0.69, indicating good predictive discrimination of the covariates. All data and code related to this study are available online at: https://doi.org/10.5281/zenodo.8139262 [39].

    3. Results

    (a) Door-opening during familiarization

    Despite having no exposure or training in the task beforehand a median of 82 (IQR = 80–90)% of pigs in each group opened doors on each familiarization day and by the end of familiarization all but one of the 75 pigs had opened a door at least once (see electronic supplementary material, figure S2). The interaction between location of compartment and familiarization day tended to influence door-opening latency (LMM, F4,72 = 2.50, p = 0.051; see electronic supplementary material, figure S3 and table S1). On day 3, pigs were faster to open the side compartment than the front compartment (0.10 (0.03–0.25) min versus 1.35 (0.25–1.97) min, p = 0.004). Door-opening latencies on other days were not affected by the location of the compartment (p-values > 0.19). Groups were also faster to open the side compartment on day 3 compared to day 1 (0.70 (0.48–1.18) min) and day 2 (0.75 (0.62–0.89) min, p-values < 0.027; see electronic supplementary material, figure S3). There were no differences in latencies to open the front compartment across familiarization days (p-values > 0.17). Pigs varied in their door-opening proficiency with 2.5 (1–4) daily door-openings per pig, but only four pigs (5%) showed evidence for a location preference for door-opening, with three opening the side door more frequently (p-values < 0.02), and one opening the front door more frequently (p = 0.035; see electronic supplementary material, table S2). At the group level, there was no preference to open one of the two doors more frequently during familiarization (binomial tests, p-values > 0.18; see electronic supplementary material, table S2).

    (b) Door-opening in non-helping and helping contexts

    During the separation and testing conditions, potential helpers had opportunities to perform the same door-opening behaviour in non-helping contexts, by opening either compartment during the separation, before the trapped pig was placed in the designated test compartment, or by opening the empty compartment during the test trial. During the separation, 37 pigs (49% of potential helpers) opened doors, during 36 trials (48% of trials), with a median of 0 (range = 0–5) door-openings per separation. This accounted for the variable duration of isolation time (from 5 to 11 min) required to meet the criteria that no door had been opened for 5 min before a test trial began. During the test trials, 85% (n = 64) of the trapped pigs were helped by a group member, with a latency of 2.2 (1.27–4.66) min to be released (see electronic supplementary material, figure S4). Of the additional 11 pigs, 10 were released by a researcher after the 20 min trial duration ended and one trial was aborted and the pig released for ethical reasons after exhibiting distress signals for three minutes without being helped. In total, n = 33 pigs (44% of potential helpers) helped a trapped pig, by being the quickest to first open the door of the test compartment, and each helper helped a median of two trapped pigs (range = 1–4 pigs, or 11–57% of their group members). During 68% (n = 50) of the full n = 74 test trials, n = 28 pigs (37% of potential helpers) opened the door of the empty compartment within the 20 min maximum trial duration, with a latency of 3.9 (2.40–7.67) min to open the empty compartment door.

    The likelihood of door-opening was influenced by an interaction between the condition and the compartment (est ± s.e. = 1.50 ± 0.58, p = 0.008; see electronic supplementary material, table S3 and figure S5). Pigs opened the test compartment during 85 (79–100)% of test trials within their group, while opening the empty compartment during 68 (50–81)% of test trials (p = 0.006). By contrast, there were no differences in the likelihood of opening the two compartments during the separation (21 (18–45)% versus 30 (24–50)% of separations, p = 0.450). The latency to first open a door was also influenced by an interaction between condition and compartment (est ± s.e. = −0.97 ± 0.36, p = 0.012; table 1 and figure 2). Pigs were quicker to open the test compartment than the empty compartment during test trials (p < 0.001), but did not differ in their latencies to open either of the compartments during the preceding separation period (p = 0.699; figure 2). There was no effect of test day, test order within a group, or location of each compartment (at the front or side of the pen), on the likelihood or latency to open compartments (table 1; electronic supplementary material, table S3).

    Figure 2.

    Figure 2. Latencies to open compartments during test trials, when a pig was trapped in the test compartment, and during the separation, when both compartments were empty. Data points are from separations and trials when at least one door was opened. Box plots indicate medians and 25–75% interquartile ranges. Estimated marginal means and s.e. are also indicated, with results of pairwise post hoc comparisons (Tukey's HSD) visualized using a compact letter display. Different letters indicate significant differences. For full model results, see table 1.

    Table 1. Results of a LMM testing for an influence of condition (separation versus test trial) and identity of compartment (designated empty or test compartment) on the latency for pigs to first open a door. Significant predictors are indicated in italics.

    predictor estimate s.e. lower CI upper CI t or F statistic d.f. p
    (intercept) 0.342 0.297 −0.248 0.943 (a)
    Condition_Test 1.083 0.268 0.552 1.617 (a)
    Compartment_Test 0.113 0.277 −0.435 0.661 (a)
    Location compartment_Sidec −0.116 0.161 −0.435 0.202 −0.72 1, 87.41 0.497
    Test day_2d 0.089 0.24 −0.386 0.566 5.362 4, 86.88 0.252
    Test day_3d −0.073 0.25 −0.567 0.423 (b)
    Test day_4d −0.283 0.242 −0.762 0.199 (b)
    Test day_5d −0.454 0.268 −0.987 0.082 (b)
    Daily test order in group_2nde 0.316 0.159 0.002 0.631 1.993 1, 86.49 0.061
    Condition_Test : Compartment_Test −0.968 0.358 −1.678 −0.259 −2.701 1, 88.07 0.012

    aNot indicated due to limited interpretability (of intercept, or when there is a significant interaction).

    bRefer to F statistic and p-value for ‘Test day_2’ for overall effect of predictor.

    c,d,eEstimates refer to comparison with reference categories:

    cLocation compartment_Front.

    dTest day 1.

    eDaily test order in group—1st.

    (c) Behavioural and physiological responses of helpers and influences on helping

    While pigs were trapped, potential helpers spent longer looking in the direction of the test compartment window (7.67 (2.04–15.30) s per trial min) than they did looking in the direction of the empty compartment window (0.22 (0–0.89) s per trial min, Wilcoxon signed-rank test, n = 75, Z = 8.89, p < 0.001). Potential helpers who spent a greater proportion of time looking in the window of the test compartment while a pig was trapped inside were more likely to help the trapped pig (GLMM, est ± s.e. = 0.51 ± 0.08, p < 0.001; table 2 and figure 3). There was no relationship between proportion of time spent looking in the window of the empty compartment and helping (table 2). Pigs who were more proficient in door-opening across familiarization days were also more likely to help their group members (est ± s.e. = 0.34 ± 0.13, p = 0.008). However, a potential helper's rate of door-opening during the preceding separation, and their likelihood of opening the empty compartment during the test period, did not predict helping (table 2). The potential helper's relatedness to the trapped pig, test day and daily test order within a group also did not influence the likelihood of helping a trapped group member.

    Figure 3.

    Figure 3. Relationship between potential helpers' proportional time spent looking at the window of the test compartment while a pig was trapped and their likelihood of helping, averaged across their 6–9 exposures to trapped group members. Colours indicate different social groups. The dashed lines depict the estimate and 95% CI from the fitted model, with control predictors centred around 0. For full model results, see table 2.

    Table 2. Results of a zero-inflated negative binomial GLMM predicting influences on helping responses. Significant predictors are indicated in italics.

    predictor estimate s.e. lower CI upper CI χ2 d.f. p
    (intercept) −2.47 0.339 −3.135 −1.805 (a)
    Proficiency during familiarizationb 0.337 0.128 0.087 0.587 2.639 1 0.008
    Rate door-opening during separation 0.023 0.079 −0.133 0.178 0.284 1 0.776
    Proportion looking window- test compartment 0.521 0.074 0.377 0.665 7.078 1 <0.001
    Proportion looking window- empty compartment 0.015 0.138 −0.256 0.285 0.106 1 0.916
    Opens empty compartmentd 0.486 0.349 −0.199 1.17 1.391 1 0.164
    Test day_2e −0.031 0.405 −0.825 0.764 0.430 4 0.980
    Test day_3e 0.071 0.403 −0.719 0.86 c
    Test day_4e 0.157 0.388 −0.604 0.919 c
    Test day_5e −0.077 0.429 −0.918 0.763 c
    Group daily test order_2ndf −0.076 0.261 −0.588 0.436 −0.29 1 0.771
    Related to trapped pigg −0.488 0.279 −1.035 0.059 −1.75 1 0.08

    aNot indicated due to limited interpretability.

    bData were square-root transformed.

    cRefer to chi-sq statistic and p-value for ‘Test day_2’ for overall effect of predictor.

    d,e,f,gEstimates refer to comparison with reference categories:

    dDid not open empty compartment during test trial.

    eTest day 1.

    fDaily test order in group—1st.

    gNot related to trapped pig.

    In 67% of the helping trials (n = 43 out of 64), the helper initiated nose-to-nose or nose-to-body contact with the previously trapped pig within 1 min after opening the test compartment door. In 81% of helping trials (n = 52), the helper also entered the test compartment within 1 min of helping. In 54% (n = 28) of these trials, the previously trapped pig had already left the compartment, so entering the compartment did not lead to social contact with the trapped pig.

    For n = 50 trials where we were able to quickly identify the helper without requiring additional video analyses, we obtained saliva samples from the helper as well as the released pig 15 min after helping. Helpers had lower sCORT concentrations than their released group mate (mean ± s.d. = 3.9 (± 1.9) ng ml−1 versus 7.3 (± 2.4) ng ml−1, t49 = 8.14, p < 0.001; see electronic supplementary material, figure S6), and there was no correlation between sCORT concentrations of released pigs and their helpers (Pearson, r48 = 0.07, p = 0.63).

    (d) Behavioural and physiological responses of trapped pigs and influences on being helped

    Of the 73 trapped pigs for whom behavioural data could be analysed from video recordings, 72 investigated the window and 71 investigated the door. Trapped pigs investigated the window 4.28 (2.49–5.73) times per minute trapped, and they investigated the door 1.59 (0.75–2.99) times per minute. Rates of investigations to the window and door were positively correlated (r71 = 0.80, p < 0.001). The majority of trapped pigs (74%, n = 54) attempted to escape and 44% of trapped pigs (n = 32) emitted screams or squeals while trapped. Trapped pigs' rates of distress vocalizations and escape attempts were positively correlated with each other (r71 = 0.34, p = 0.02), but not with either of the trapped pigs’ investigatory behaviours (r71 < 0.22, p-values > 0.36). We therefore summed rates of distress vocalizations and escape attempts to create a combined measure of distress signals.

    For n = 72 pigs with sufficient saliva volumes to measure sCORT before and after being trapped, 88% (n = 63) exhibited increases in sCORT in their post-trapped samples (mean ± s.d. = 7.3 (± 2.7) ng ml−1), compared to their samples before being trapped (mean ± s.d. = 4.7 (± 2.0) ng ml−1, t71 = 7.97, p < 0.001). Pigs with greater rates of distress signals while trapped had greater increases in sCORT (interaction: est ± s.e. = −0.12 ± 0.06, p = 0.045; electronic supplementary material, table S4 and figure S7). Changes in sCORT concentrations while trapped were not related to a pig's duration of separation, their duration of time trapped or other control predictors (see electronic supplementary material, table S4).

    The Cox proportional hazards model indicated that trapped pigs who exhibited more distress signals were 2.4 times more likely and quicker to be subsequently released, compared with pigs who exhibited fewer distress signals (χ2 = 4.65, d.f. = 1, p = 0.031; table 3, figure 4; electronic supplementary material, videos). The rate of window investigations by trapped pigs did not influence helping outcomes (table 3). There were also significant differences among groups in the likelihood that trapped pigs would be helped (χ2 = 16.26, d.f. = 7, p = 0.023; table 3). The other control predictors did not influence the probability of being helped.

    Figure 4.

    Figure 4. Survival curves showing that pigs who gave distress signals at any given minute interval while trapped were more likely to be released than pigs who did not (hazard ratio = 2.4, p = 0.03). For full results, see table 3.

    Table 3. Results of a survival analysis predicting the probability for trapped pigs to be helped. Hazard ratios are indicated by the exponentiated coefficients. Significant predictors are indicated in italics.

    predictor coef exp(coef) se(coef) robust se χ2 d.f. p
    Signals distress_Yesa 0.86 2.37 0.41 0.40 4.65 1 0.031
    Rate window investigationse −0.18 0.84 0.22 0.20 0.81 1 0.368
    Trapped pig sex_Femaleb 0.05 0.95 0.34 0.33 0.03 1 0.868
    Time in compartment 0.03 1.03 0.16 0.14 0.04 1 0.836
    Location compartment_Sidec 0.39 1.48 0.34 0.34 1.37 1 0.242
    Test order in group 0.15 1.16 0.16 0.16 0.91 1 0.341
    Group identity_1Bd 1.46 4.31 0.92 0.80 16.26 7 0.023
    Group identity_2Ad −0.14 0.87 0.67 0.72 (f)
    Group identity_2Bd 1.00 2.72 0.62 0.65 (f)
    Group identity_3Ad 0.51 1.66 0.64 0.69 (f)
    Group identity_3Bd 0.73 2.07 0.61 0.62 (f)
    Group identity_4Ad −0.04 0.97 0.62 0.67 (f)
    Group identity_4Bd 1.33 3.78 0.65 0.60 (f)

    a,b,c,d Estimates refer to comparison with reference categories:

    aTrapped pig did not signal distress during the preceding interval.

    bTrapped pig sex_Male.

    cLocation compartment_Front.

    dGroup Identity_1A.

    eData were square-root transformed.

    fRefer to chi-square statistic and p-value under ‘Group identity_1B’ for the overall effect of the predictor.

    4. Discussion

    Pigs spontaneously opened doors without training and subsequently preferred to open doors to free a trapped group member than to open doors to empty compartments. Pigs who directed more attention towards the window of the compartment where a pig was trapped were quicker to help, and distress signals from trapped pigs increased their chances and decreased their latency to be helped. Our results support anecdotal evidence for spontaneous rescue behaviour in wild boars (Sus scrofa), the ancestor of domestic pigs [7]. We avoid using the term ‘rescue’ here, since not all trapped pigs exhibited signs of distress, and helping did not necessarily require a great cost or risk, which are two of the criteria suggested by Hollis & Nowbahari [40] to define rescue behaviour.

    There was considerable variation in the likelihood that pigs helped trapped group members, and in the latency for trapped pigs to be released, which enabled us to investigate the factors mediating helping behaviour. Roughly half (44%) of the pigs in each group helped others during the test phase. However, given that only one pig could be a helper per trial, our group-testing paradigm may also underestimate the propensity for helping behaviour at the population level. Pigs who opened doors at greater rates during familiarization were more likely to help others, suggesting that their ability or willingness to solve this novel task played a role in their helping behaviour.

    Throughout the testing phase, pigs also opened doors in non-helping contexts, by opening either door during the separation (49% of potential helpers), or by opening the empty door during a test trial (37% of potential helpers). However, few of these individuals (24% or 9 of 37 pigs who opened doors during the separation phase and 32% or 9 of 28 pigs who opened the empty door during a test trial) also opened the door of the test compartment to help the trapped pig. As a result, pigs' door-opening in non-helping contexts during the separation or test trial did not influence their likelihood of opening the test compartment to help the trapped pig. Across the majority of familiarization days and during separations, pigs had no preference to open one of the two compartments. By contrast, during test trials pigs were more likely and quicker to open the compartment containing a trapped group member than the empty compartment, suggesting that door-opening during test trials was goal-oriented.

    While a pig was trapped, potential helpers spent more time looking at the window of the test compartment than they spent looking at the window of the empty compartment, and the proportion of time spent looking at the test compartment window was the strongest predictor of helping. Pigs who spent more time oriented towards the test compartment window at close range may have been visually assessing the situation of the trapped pig, which would be consistent with an other-oriented response [27]. However, the majority of trapped pigs produced vocal and locomotor distress signals that should have been readily detectable without looking through the window, and the helpers’ behaviour is also consistent with more selfish explanations. As an alternative explanation, it is likely that the movements and vocalizations of the trapped pig acted as salient features to attract attention to the test compartment and window, and distressed pigs likely produced more salient signals that were more effective in attracting attention. Potential helpers may have then looked in the window to gather information about the situation for themselves (e.g. [13,16]). As a result, potential helpers would also be closer to the door and handle, increasing the chances of door-opening through an effect of local enhancement. But if local enhancement explained helping behaviour, we would expect the majority of potential helpers to be similarly interested in and attentive to highly salient cues from trapped pigs in distress, which was not the case (see figure 3 and electronic supplementary material, videos).

    Distress signals given by the trapped pig, in the form of screams, squeals and escape attempts, increased the pig's subsequent chances of being released by a 2.4 odds ratio. This evidence is consistent with the interpretation of helping behaviour as a flexible response that is appropriate to the situation of the trapped pig, which is another criterion for targeted helping [27,41]. It is important to note that distress signals were neither necessary nor sufficient for helping to occur. Of the n = 15 pigs who were released in under one minute and thus could not be included in the survival analysis, 67% (n = 10) did not produce measurable distress signals before being released. That helpers sometimes quickly freed these pigs counters arguments that spontaneous helping may merely be motivated by selfish needs to alleviate the source of aversive distress signals [25]. However, it also raises the question of whether all trapped pigs were in need of help [16]. In addition, of the eleven pigs who were released by researchers, nine (82%) gave distress signals at some point while trapped, although (with the exception of the aborted trial), these pigs gave distress signals at lower rates compared with pigs who were released by conspecifics, as indicated by the survival analysis.

    A primary concern of animal helping paradigms is that appropriate controls are often not provided to test whether helping behaviour is motivated by self-interest. One of the main examples is when helping provides potentially rewarding social interactions for helpers. Indeed, there is ample evidence that helping decreases when post-helping social interactions are prevented [14,18,23], although such designs may also make it more difficult for potential helpers to understand the causal effects of their actions. One of the main advantages of testing animals in stable social groups in their home environment is that this reduces the likelihood that helping is due to the desire for social reinforcement more generally. Moreover, pigs were equally likely to help their siblings whom they had known since birth as they were to help unrelated group members whom they had known for a shorter time, which argues against helping motivated by social preferences. We cannot rule out the possibility that the helper may have had an interest in interacting with the specific trapped individual, which is supported by the fact that the majority of helpers initiated social contact with the previously trapped pig within a minute of helping. More work is thus needed to determine whether dyadic social preferences or dominance relationships influence helping behaviour.

    In the majority of cases (81%), pigs entered the test compartment immediately after helping, although in most of these cases the trapped pig had already left the compartment. In some rodent helping paradigms, similar proportions of helpers entered a tube where conspecifics had previously been restrained [19,42]. In those cases, it was hypothesized that rodents may be motivated to enter the restraint tube because it is novel [42], and may even prefer it to a barren testing arena [43]. Such explanations are unlikely in our paradigm, since pigs were tested in their home environment, had been familiarized to the compartments prior to testing and had equal opportunities to access the empty compartment, but were less likely and slower to do so. It is more likely that helpers entered the test compartment to gather relevant information for themselves after witnessing the trapped pig, which is consistent with selfish motivations.

    Wild boars reside in stable, cohesive social groups and even brief separations from their social group can induce behavioural and physiological signs of distress in domestic pigs [29,34]. Either the separation alone, or the separation in combination with being in the test compartment were stressful for most pigs. The majority of pigs had increases in sCORT concentrations while trapped, and trapped pigs with greater increases in sCORT exhibited more behavioural responses consistent with distress. However, helpers did not show corresponding increases in sCORT concentrations, as expected if they experienced emotional contagion of distress. By contrast, their sCORT around the time of helping was similar to baseline cortisol concentrations of pigs prior to being trapped. Although emotional contagion has been shown in pigs in non-helping contexts [26], it does not appear to explain helping behaviour in this case. In fact, in rodent studies, potential helpers who showed the greatest stress-reactivity to trapped conspecifics were less likely to help than those who showed more moderate arousal [22]. Indeed, a moderate level of emotional arousal, consistent with emotional control regulation, has been proposed as one of the criteria for identifying empathic targeted helping in animals [27]. The cortisol responses of helpers in this study were more consistent with low rather than moderate arousal, suggesting that helpers were not stressed by witnessing trapped pigs. This is consistent with a previous study in which juvenile pigs did not show emotional contagion of fear after hearing playbacks of distress vocalizations from unfamiliar pigs [44]. Further research should compare the physiological responses of helpers and non-helpers to better assess how arousal relates to helping.

    Given the promising evidence that potential helpers who attended more closely to the test compartment window were more likely to help, follow-up research should test whether a broader range of communicative signals by trapped pigs may mediate helping. Two likely candidates are low-frequency grunt vocalizations and nose-to-nose contacts, both of which are common socio-communicative behaviours in pigs [45,46]. Grunts and nose-to-nose contacts were observed during helping trials but could not be systematically investigated with our recording equipment. Helping paradigms in which individuals in need can express a broader range of behavioural responses are important for clarifying the role of social communication in influencing helping and for further distinguishing between self- and other-oriented explanations for helping behaviour in animals.

    5. Conclusion

    This group-testing paradigm offers a novel experimental approach to systematically study the proximate factors mediating spontaneous helping in a broad range of social species, including farm animals. Applying the framework suggested by Pérez-Manrique & Gomila [27] for evaluating comparative evidence for empathy, our results provide partial support for targeted helping in that: (i) helpers exhibited visual assessment of the situation, (ii) trapped pigs who signalled more distress were more likely and quicker to be helped and (iii) helping improved the situation for trapped pigs by reuniting them with their social group. However, the lack of evidence for physiological arousal in helpers argues against an other-oriented response [27]. We also point out alternative explanations based on local enhancement and selfish motivations to enter the test compartment that can more readily explain why the majority of helpers entered the compartment after helping, and why a small percentage of trapped pigs were helped without showing obvious signs of distress. Thus, follow-up studies are needed to clarify the motivations underlying spontaneous helping in pigs.

    Ethics

    Subjects were German Landrace pigs born and housed at the Experimental Pig Facility at the Research Institute for Farm Animal Biology (FBN) in Dummerstorf, Germany. All research procedures were approved under the German Animal Welfare Act (German Animal Protection Law, §8 TierSchG) by the Committee for Animal Use and Care of the Agricultural Department of Mecklenburg-Western Pomerania, Germany (permit LALLF 7221.3-1-036/20).

    Data accessibility

    All data and code related to this study are available online at: https://doi.org/10.5281/zenodo.8139262 [39].

    Additional information is provided in the electronic supplementary material [47].

    Declaration of AI use

    We have not used AI-assisted technologies in creating this article.

    Authors' contributions

    L.R.M.: conceptualization, data curation, formal analysis, funding acquisition, investigation, methodology, resources, supervision, validation, visualization, writing—original draft and writing—review and editing; A.E.: formal analysis, methodology, resources, validation, visualization and writing—review and editing; C.M.: data curation, formal analysis, methodology, software, validation and writing—review and editing; J.-L.R.: conceptualization, formal analysis, funding acquisition, methodology, writing—original draft and writing—review and editing.

    All authors gave final approval for publication and agreed to be held accountable for the work performed therein.

    Conflict of interest declaration

    We declare we have no competing interests.

    Funding

    This research was funded in part by a Universities Federation of Animal Welfare grant (grant no. 44-19/20) to L.R.M.

    Acknowledgements

    We thank M. Seehaus for his help with the project design. We are grateful to V. Hörsch, B. Sobczak and E. Normann for their assistance with running the experiments and collecting saliva samples. We thank P. Müntzel for conducting the laboratory analyses. We are grateful to V. Hörsch and M. Wagenknecht for their help with behavioural coding of videos. We thank M. Zenk for her help with the coordination of this project and D. Ameling, H. Asmus, F. Hintze and H. Schumann for their daily care of the pigs at the Experimental Pig Facility of the FBN. We thank C. Nawroth and B. Puppe for their helpful feedback on early drafts. We are especially grateful to T. Therneua for his repeated advice that helped us to improve our survival analysis, and for helpful feedback from two anonymous reviewers that inspired us to conduct several additional analyses.

    Footnotes

    Electronic supplementary material is available online at https://doi.org/10.6084/m9.figshare.c.6742224.

    Published by the Royal Society under the terms of the Creative Commons Attribution License http://creativecommons.org/licenses/by/4.0/, which permits unrestricted use, provided the original author and source are credited.