Introduction

It has been argued that domestication has turned animals, such as the dog (Canis lupus familiaris), the cat (Felis silvestris catus), the horse (Equus ferus caballus), the pig (Sus scrofa domesticus) and the goat (Capra aegagrus hircus), at different levels, into specialists in the field of heterospecific communication with humans (Pfungst 1907; McKinley and Sambrook 2000; Hare et al. 2002; Miklósi et al. 2003, 2005; Kaminski et al. 2005; Maros et al. 2008). Several non-mutually exclusive hypotheses have been proposed to explain the differences in this cognitive domain between domestic animals and their wild counterparts. According to the ‘domestication hypothesis’, during thousands of years of co-evolution with humans, domestic animals have developed specific human-directed social skills (Hare and Tomasello 2005; Miklósi et al. 2007; Riedel et al. 2008; Nawroth et al. 2014; Lampe et al. 2017). They show enhanced sensitivity to human ostensive cues and an understanding of human communicative gestures that are unique among non-human animals. Controlled artificial selection for tameness and fearlessness towards humans has led to the development of socio-cognitive traits in an experimental population of silver foxes (Hare et al. 2005), and heritability estimates have shown that human-directed behaviour in dogs has a genetic basis (Persson et al. 2015).

This ‘domestication hypothesis’ has been critically discussed by many scholars, as it largely ignores environmental influences on the development of human-directed social skills during ontogenesis (Udell et al. 2008; Wynne et al. 2008). Several authors have stressed that, in addition to domestication, lifetime experience, the degree of socialization with humans during ontogenesis, and the level of training by humans based on conditioning can have an impact on the understanding of human social cues and human attentional states by domestic companion animals (Marshall-Pescini et al. 2008, 2009; Zaine et al. 2015). This has led to the ‘two-stage hypothesis’ (Udell et al. 2010), which emphasizes that in addition to the role of domestication, habituation to humans early in ontogeny combined with repeated conditioning is mainly responsible for the improved reading and interpretation of human cues in domestic animals (Reid 2009; Passalacqua et al. 2011; Proops et al. 2013; D’Aniello et al. 2015, 2017). However, while domestic companion animals, such as dogs, cats and horses, often experience intensive human–animal relationships during their lifetime, domestic animals bred for production purposes, such as goats and pigs, usually have little individual positive human–animal contact. To date, it is not known how ontogenetic factors, such as human contact in the context of housing and management, can impact farm animals’ human-directed behaviour.

An important aspect of human-directed behaviour is the use of gazes and gaze alternations as a method of human–animal communication (Jakovcevic et al. 2010; Teglas et al. 2012; Nagasawa et al. 2015). Gazing at humans or even tactile contact are used by several domestic companion animals as a communicative cue to alter the behaviour of a human when the animals are faced with a situation they cannot solve by themselves (Miklósi et al. 2000). A test paradigm that is often used to demonstrate gazing in the context of complex human–animal interactions is the ‘unsolvable task’ paradigm (Miklósi et al. 2003). Subjects are confronted with a task in which a food reward is inaccessible while they have the opportunity to interact with a human experimenter. As with other behaviours in the context of human–animal communication, in addition to the notion that domestication has favoured gazing at humans in this situation (Miklósi et al. 2003), various ontogenetic influences have also been studied. This includes breed, age and previous training experiences (Marshall-Pescini et al. 2013, 2017; D’Aniello and Scandurra 2016).

Specific aspects of dogs’ human-directed behaviour in this task (e.g. gaze and contact alternations) are regarded as referential and intentional communication (Marshall-Pescini et al. 2013) and have also been reported for other domestic companion animals, such as horses (Malavasi and Huber 2016). Recently, a domestic non-companion animal, the goat, has been shown to display similar referential and intentional-like behaviour in this task (Nawroth et al. 2016). The goats tested in that study had experienced year-long positive human interaction, which probably favoured begging and attention-getting behaviour towards humans through positive reinforcement and/or the establishment of a referential problem space (Leavens et al. 2005). Thus, these long-term positive interactions might have altered goats’ behaviour in the unsolvable task.

In various livestock species, even limited positive interactions with the caretaker or another reference person can influence human–animal interaction at different levels and over different periods of time (Waiblinger et al. 2006). Chickens that were handled twice a day for 11 days from the day after hatching showed reduced fear of the handler and other humans after the handling (Jones 1994). Calves that had minimal human contact during rearing allowed the familiar experimenter to touch their heads more quickly later in life than could an unknown experimenter (Boivin et al. 1998). Furthermore, calves readily discriminate handlers with whom they have had positive interactions from handlers with whom they have had negative experience after only a few positive treatment sessions (dePassille et al. 1996); friendly treated lambs distinguish familiar people from unknown people, while negatively treated lambs generalize their fear reaction to familiar and unknown people (Destrez et al. 2013). Pigs also generalize their behaviour towards humans (Tanida et al. 1995; Terlouw and Porcher 2005). With regard to learning, horses that have been handled by humans for 2–3 weeks at different ages achieved consistently higher learning performance in a T-maze at an age of 2 years than did to horses that received only standard handling (Heird et al. 1986). In addition, the repeated provisioning of a reward in a learning task in horses increases positive animal–human interactions not only in the context of the learning task but also several months later, despite no further positive interactions; the animals also generalize this positive attitude towards all humans (Sankey et al. 2010).

In this study, we investigated human-directed behaviour of two groups of goats using the ‘unsolvable task’ paradigm. One group (‘handled’) received positive human–animal interaction in the home pen twice a day over a period of 2 weeks and special training on the task by a human trainer for 5 days before the test. A second group (‘non-handled’) only experienced standard human contact during daily management routines in the time before the test. In contrast to previous studies that usually administered a single unsolvable test trial in the ‘unsolvable task’ paradigm, we here have performed multiple test trials with each subject to examine how repeated confrontation with an unsolvable task affects human-directed behaviour in the goat. Based on the positive handling and training in the ‘handled’ group, we expected a higher degree of human-directed behaviour in this group. However, we cannot rule out the possibility that lifelong exposure to humans during standard husbandry care could have led to this behaviour.

Animals, materials and methods

Animals

Twenty Nigerian Dwarf goats (all female, 10–16-month-old) were housed and managed indoors in two groups of ten animals each at the “Experimental Animal Goat Facility” of the Leibniz Institute of Farm Animal Biology (FBN) in accordance with the appropriate housing regulations. At this age, goats have reached sexual as well as breeding maturity. The animals were not food-deprived in any phase of handling, training or testing.

Treatment-specific handling and habituation

All goats had contact with humans throughout their lives in the context of standard farm management practices, e.g. weaning, regrouping and daily routines (feeding and cleaning the pen). They had no experience with food-rewarded tasks prior to the experiment.

Directly before Training and Test (see below), one group (‘handled’) was handled by a human experimenter, who interacted with the animals in their home pen through friendly talking, gentle touching, stroking and hand feeding. This procedure was repeated for 30 min twice daily over 2 weeks. A second group (‘non-handled’) did not receive this kind of human contact. After the handling phase, both groups were habituated in their respective home pen to a transparent plastic box (10 × 5 × 15 cm) that was used later in training and test trials. The box was mounted on a plank attached to the wall at a height of 47 cm. A moveable plastic lid could be easily pushed to the side if unfixed, allowing access to the reward in the box (a piece of uncooked pasta). Only in the handled group, the experimenter showed the goats how to interact with the box by demonstrating and assisting with removing the loosely fitted lid to allow access to the food reward, with every subject experiencing approximately two successful interactions with the box per session. In the non-handled group, the experimenter left the pen every time after baiting the box and was not present while the goats learned how to interact with the box to open the lid. Once an individual experienced two successful box interactions per session, this individual was removed from the group until the end of the session to avoid monopolization of the box. In both groups, the procedure was repeated in two sessions per day over 5 days.

Training

After handling and habituation, goats were trained and tested individually in a separate compartment. For a training or test session, the group was transferred from the home pen to the waiting area (Fig. 1). For each trial, an individual goat was gently pushed into the start area (1 × 1 × 1 m) adjacent to the test arena (2.9 × 2.6 m). The areas were connected by a transparent, acrylic guillotine door (Fig. 1). A plastic box identical to the one used in the home pen was attached to the test arena wall opposite the guillotine door at a height of 47 cm. The experimenter baited the box in full view of the goat waiting in the start area, put the lid loosely on top, sat on a stool approximately 1.5 m from the box and remained neutral with her gaze directed towards the opposite wall (Fig. 2a). The guillotine door was lifted after 10 s, and the goat could move freely around the test arena and manipulate the box to reach the food reward for 60 s. The difficulty in opening the box was individually adjusted. In the first training trial, the box was open (without a lid) for all subjects. When the goat retrieved the reward, the lid was placed orthogonally in the following trial, then diagonally and then placed directly on top. A training trial finished when the subject succeeded in opening the box and retrieving the food reward or after 60 s. After a trial, the subject was moved back to the waiting area (see ESM_V1). Each subject completed four training trials per day over 5 days. The learning criterion was set to six successful trials in a row within 20 trials with the lid put on correctly.

Fig. 1
figure 1

Sketch of the experimental setup

Fig. 2
figure 2

Human experimenter in the test arena a positioned in a neutral position in the solvable training and motivation trials and b directed towards the box in the unsolvable test trials

Test

The test trial procedure (unsolvable) was identical to the solvable training trials except that the lid was fixed to the box with the food reward visible but inaccessible to the subjects, and the experimenter was now facing the box (Fig. 2b). Each subject completed three unsolvable test trials (60 s each) on three consecutive days (see ESM_V1). To keep the subjects motivated to approach the box and obtain the food reward, two motivation trials (solvable, identical to training) were performed prior to each test trial.

Data scoring

All trials were recorded using two video cameras (Panasonic WV-CP500 linked to EverFocus recorder EDRHD-4H4 and Panasonic HDC-SD60). One was attached from above to record goat behaviour in the complete test arena (Fig. 2), and one was attached next to the experimenter with a view of the box to record the gaze interaction between the goat and the box/experimenter in detail. For training trials and solvable motivation trials, the time from entering the test arena until retrieving the reward was recorded to evaluate whether reduced latencies occurred in retrieving the food reward across groups or repetitions. In the solvable and unsolvable trials, we coded specific behaviours, particularly the human-directed (gaze and contact alternations) and task-directed (time in physical contact with the box) behaviours listed in Table 1.

Table 1 Coded behaviours in the unsolvable test trials

Task-directed behaviour (time in physical contact with the box) was recorded as indicating motivation to retrieve the food reward. Data were analysed using Observer XT (The Observer 11.0, Noldus, Wageningen, Netherlands). To assess inter-observer reliability, a second observer, not involved in the study, coded the full behavioural sequence of 30% of the test trials. Cohen’s kappa indicated excellent agreement between coders across all coded behaviours (κ = 0.88, p < 0.001; The Observer 12.0).

Statistical analysis

The mean number of trials to reach the training criterion was compared between the groups using the Mann–Whitney U test. The number of animals showing gaze and contact alternations in the handled and non-handled groups in the unsolvable test trials were compared using a Chi-square “goodness-of-fit” test.

In SAS (version 9.3, 2009, SAS Institute Inc., Cary, NC, USA), we analysed latency to retrieve the reward in the training trials, gaze and contact alternations, and gaze and contact latency and time in physical contact with the box in the test trials using generalized linear mixed models (GLIMMIX procedure) with group (handled, non-handled), repetition (training trials: 16–20; unsolvable trials: 1–3; solvable motivation trials: 1–6) and their interactions as fixed effects, with the appropriate distributions (Poisson or normal) and link functions (log or identity). When analysing the gaze and contact alternation latencies, animals not exhibiting this behaviour were excluded from analysis. All analyses included the subject as a repeated factor. The alpha level was set at 0.05. Least-square means (LSMs) and their standard errors (SEs) were computed for each fixed effect in the model.

Results

Training

All goats reached the criterion of six successful trials in a row within 20 trials. The mean number of the sixth consecutive successful trial was 15.6 (± 2.07) in the handled group and 15.3 (± 1.42) in the non-handled group (U = 50.5, p = 0.53). Mean latency to retrieve the reward in the final five training trials was 7.70 s (± 2.35) in the handled group and 7.10 s (± 0.94) in the non-handled group with no difference between groups (F1,18 = 0.082, p = 0.778) or trials (F4,18 = 2.711, p = 0.063). During training, none of the goats exhibited any gaze or contact alternations towards the human experimenter.

Test

Groups did not differ in their latency to retrieve the reward in the solvable motivation trials (F1,18 = 0.003, p = 0.955), while both groups decreased their latency times over trials (F5,18 = 2.917, p = 0.042). As during training, in the solvable motivation trials, the goats did not exhibit gaze or contact alternations towards the human experimenter. In the unsolvable trials, no difference between groups was found in their time to interact with the box (F1,18 = 0.163, p = 0.691), while interaction times decreased over trials (F2,18 = 73.993, p < 0.001; Fig. 3a). The number of goats that gaze alternated at the experimenter in the three unsolvable trials was 7, 9 and 10 (of 10) in the handled group and 8, 10 and 9 (of 10) in the non-handled group (all p > 0.05). Group (F1,17.9 = 2.478, p = 0.133) and trial (F2,17.7 = 2.635, p = 0.099) had no impact on the number of gaze alternations (Fig. 3b). The number of goats alternating contact with the experimenter in the three unsolvable trials was 3, 7 and 7 (of 10) in the handled group and 5, 6 and 4 (of 10) in the non-handled group (all p > 0.05). Again, no differences were observed between groups (F1,16.0 = 0.076, p = 0.786) or trials (F2,17.0 = 0.868, p = 0.437) in the number of contact alternations (Fig. 3c). Finally, groups did not differ in the latency to their first gaze alternation (F1,14.5 = 1.430, p = 0.251; Fig. 3d) or to their first contact alternation (F1,10.3 = 0.190, p = 0.672; Fig. 3e); however, latency times decreased across trials for both measures (F2,15.4 = 42.057, p < 0.001; F2,10.1 = 32.925, p < 0.001, respectively).

Fig. 3
figure 3

Least-square means (± SEs) for (a) time in physical contact with the box, number of (b) gaze alternations and (c) contact alternations towards the human experimenter and latency to (d) first gaze or (e) contact alternation in three unsolvable trials for two groups of goats with different human–animal interaction backgrounds. Black bars: handled group; grey bars: non-handled group. Lines with asterisks above the bars indicate significant differences between repetitions (**p < 0.01)

Discussion

Positive short-term interactions can affect general behavioural patterns towards humans in livestock animals (Tallet et al. 2009; Brajon et al. 2015; Muns et al. 2015). Whether these changes also extend to more sophisticated human–animal interactions is not yet clear. In this study, we compared the level of human-directed behaviour between goats that only experienced standard handling during husbandry care and goats that received short-term positive handling for 3 weeks prior to testing in the ‘unsolvable task’ paradigm. We show that goats which received only standard handling already show frequent referential- and intentional-like human-directed behaviour, such as gaze and contact alternations, and that this behaviour is not facilitated by additional short-term positive handling. This finding indicates that goats show elements of referential and intentional communication after only standard handling by humans over the course of ontogeny (Marshall-Pescini et al. 2017).

Goats housed at a sanctuary have been reported to show frequent gaze and contact alternations to communicate in a referential and intentional way with humans (Nawroth et al. 2016). Daily positive human interactions, including frequently receiving rewards, may have sufficiently facilitated these behavioural patterns through positive reinforcement (Elgier et al. 2009). Contrary to this ontogenetic explanation, we found that goats which received only standard handling with limited exposure to humans prior to testing showed levels of human-directed behaviour similar to those of intensively handled sanctuary goats. In addition, daily positive and task-related interactions with humans for 3 weeks did not increase the occurrence of gaze and contact alternations. This indicates that short-term positive handling does not affect human-directed behaviour. However, longer-lasting exposure to positive interactions with humans may have a more profound impact (D’Aniello et al. 2015; D’Aniello and Scandurra 2016).

In dogs, ontogenetic factors can alter their expression of human-directed behaviour: socially deprived subjects showed lower levels of gazing behaviour than did pet dogs in the unsolvable task paradigm (D’Aniello and Scandurra 2016). Moreover, dogs that received specific long-term training routines unrelated to the task, such as water-rescue dogs, also showed increased gazing behaviour towards humans (D’Aniello et al. 2015; Scandurra et al. 2015). Therefore, long-term positive interactions and/or specific handling routines might also change the human-directed behaviour of goats. Short-term positive handling and prior training in the task did not affect the human-directed behaviour in our goats. One reason for this result might be that treatment was only induced over a total of 3 weeks, which might have been too short a time to affect the behaviour of the goats. As an alternative explanation, human-directed behaviour in our subjects was already at a similar high level compared with that of highly habituated and handled sanctuary goats (Nawroth et al. 2016), indicating that the expression of their human-directed behaviour had already reached a ceiling.

For dogs, human-directed behaviour has been shown in puppies with very limited experience with humans (Marshall-Pescini et al. 2013). This indicates that for dogs, no or only very limited prior exposure to humans is sufficient to elicit this behaviour. Goats in our study were aged between 1 and 1.5 years, but their experience with humans prior to testing was reduced to daily management routines and veterinary practices. These routines included practices that are unlikely to be perceived as positive by the animals, such as claw trimming. In addition, daily husbandry routines, such as feeding, never focused on one animal alone, but always on the group. One explanation for our findings could be that goats, as domestic species, are predisposed to exhibit referential and intentionally communicative behaviour (see Miklósi et al. 2003 and; Marshall-Pescini et al. 2014 for dogs). During domestication, goats were selected for decreased emotional reactivity towards humans and for production traits, such as milk yield, but not for direct cooperation with humans. However, selection for other traits, such as suitability for herding by humans, might have indirectly affected their human-directed communication and cognitive skills (Mlekuz 2013). Tests with wild goats and domestic goats without prior human contact are needed to support this claim but are difficult to conduct—goats are prey animals, and stress responses caused by being in close proximity to humans will likely mask potential human-directed behaviours. Alternatively, ontogenetic factors related to human experience, such as the brief contact with humans during standard husbandry practices, may sufficiently affect livestock behaviour and might be responsible for the level of human-directed behaviours seen in our control group (Munksgaard et al. 1997; Lansade et al. 2005; Sankey et al. 2010).

The impact of repeatedly exposing the goats to the ‘unsolvable task’ paradigm on human-directed behaviour and their motivation to solve the task has rarely been evaluated (but see Malavasi and Huber 2016). Our goats did not differ in their expression rates of both gaze and contact alternations over three repetitions of the unsolvable task, even though the experimenter never interacted with the box or the animals during test trials (Bentosela et al. 2008). In contrast, goats showed gaze or contact alternations earlier in later trials, while their time interacting with the box decreased. These decreasing interaction times could indicate that human-directed behaviour is not caused by the simple frustration of being unable to open the box, and that instead, it occurs once subjects realize that the problem is unsolvable. This supports the interpretation that the goats use gaze and contact alternations as elements of referential and intentional communication. However, future experiments that control for human presence during the unsolvable trial are needed to disentangle the subject’s realization of needing help and a simple decrease in motivation to open the box.

In conclusion, our results do not support the hypothesis that short-term positive handling or task-specific training by humans facilitates human-directed behaviour in goats. In contrast, we found that goats receiving only standard handling during husbandry care already showed frequent human-directed behaviour when confronted with the unsolvable task. Further research needs to address whether and what amount of human interaction is necessary for livestock species, such as goats, to exhibit these human-directed behaviours.