Hunting dogs bark differently when they encounter different animal species

Previous studies have shown that vocalizations of dogs can provide information to human companions. While acoustic signals of dogs have been intensively studied during the last decade, barking during hunting activities remains unstudied. The experiences of hunters indicate that owners can recognize what animal species has been found based on the bark of their dog. Such a phenomenon has never been tested before. We tested such an ability by comparing barks that were produced when dogs encountered four different animal species: wild boar, red fox, rabbit and fowl. Classification results of a discrimination analysis showed, that based on barks of dachshunds and terriers, it is possible to categorize towards which animal species barks were produced. The most distinctive barks were produced during encounters with the most dangerous of these animals, the wild boar. On the contrary, barks evoked by red fox encounters were classified similarly as those towards other smaller and non-dangerous animals like rabbits and fowl. Although the red fox represents a potentially dangerous species, the barking provoked was not classified with a much higher result than barking at animals that pose no threat. This might indicate that the key parameter could be the body size of the animal the dog meets. We further tested whether the degree of threat from the species of animal the dog encounters is reflected in the structure of the acoustic parameters based on the valence-arousal model. We found that barks produced in contact with a wild boar showed significantly lower frequency parameters and longest duration compared to other barks. According to these results, it seems that the variability of barking depending on the species of animal a dog encounters is an expression of the dogʼs inner state rather than functionally reference information.

www.nature.com/scientificreports/ been bred for specific kinds of hunt, e.g. pointing breeds (pointers) were bred from dogs that were able to stand quietly and maintain its position in the face of the animal's scent until the human counterpart reaches the place where the animal is hiding. In contrast, other breeds were developed for multiple purposes or to be versatile and able to perform a number of tasks (e.g. hounds, retrievers, spaniels). Spaniels and retrievers will find and bring a shot animal to a hunter 20,21 . The dachshund is considered according to Fédération Cynologique Internationale one of the most versatile hunting breeds and not just for hunting below ground. Cooperative hunting dogs keep close contact with the hunter during the hunt (e.g. retrievers) whilst non-cooperative hunting dogs perform independent work, either chasing (e.g. beagles) or attacking (e.g. terriers) the animal 22 . Small terriers locate and hunt smaller mammals, while larger terriers are able hunt larger animals. Selected hunting breeds were bred to follow prey while barking, and some are even capable of specialised barking; on the other hand, other breeds have to stand silently and motionless near the found animal until the arrival of the hunter 20,23 . Specific forms of barking produced by some hunting dogs are even requested in the dog breed standards of international cynological organizations 14 . Recent studies have also shown that barks contain meaningful information based on context 17,[24][25][26][27] , individual identity 24,26,27 , inner states 25 , and emotionality 28,29 . We aimed to test whether hunting dogs produce barks differentially during encounters with different animal species. In order to test the barking of dogs at animals of different sizes, we needed to choose a universal dog breed. The choice of breeds for such a purpose was determined by the legislation of the Czech Republic. The Hunting Act distinguishes and defines four types of work performance. Dachshunds and terriers are the only groups of hunting dogs that can pass all four tests and be used for all types of hunting work in the Czech Republic. Although hounds are better suited to hunting wild boar, our law prohibits the use of dogs of a height of 55 cm or more for hunting ungulates. Dachshunds and terriers are no longer bred for earth-hunt work only, but are used for their independence and ability to adapt to surface work. For these reasons, dachshunds and terriers belong among the most common breeds for hunting all kinds of game in the Czech Republic. These breeds are considered to be independently working breeds that are able to work without visual contact with the hunter.
We used two different dog-breed groups: (A) dachshunds and (B) terriers. The hunting style of both breeds is as follows: looking for an animal, starting to bark, following in the footsteps of the animal, continuing to bark and chasing the animal to the hunter. In order to test potential bark differentiation, we recorded barks elicited by encounters with four different animal species. We selected animal models that would represent both (1) potentially dangerous animals (red fox, wild boar) and (2) non-dangerous animals (fowl, rabbit). Encounters with wild boars represent, for the small-bodied dog breeds used in our study, a real life-threatening situation accompanied by increased levels of emotion. Emotions with high-arousal are associated with a high sympathetic tone and a low parasympathetic tone 30 . Emotional arousal changes the muscular actions required for vocal production (e.g. diaphragm, vocal and intercostal muscles) which affect the way air flows through the vocal system and thus alter the quality of the sounds produced 31 . Expression of emotions informs other group members about the probable behavior intentions 32 . Vocal responses of dogs to these animal models could show us if acoustic structure of barks allow us to make predictions about how such signals change according to emotional arousal. Review on vocal correlates of emotions revealed that vocal signals of mammals become longer with increased arousal, louder and harsher, with higher and more variable frequencies and produced at faster rates 30 . Expression of emotions and perception of emotional states during hunting could play an important role in dogs as social species. Expression of emotions thus should benefit dogs by regulating social interactions within groups during hunting, whether it is a group of more dogs or dogs and hunters.
We have postulated the following hypotheses: (1) Barks produced during encounters with different animal species will have different acoustic structures. We can predict this based on previous robust literature showing that dog barks can be categorized based on various types of context 17,24 . Barks during hunting should vary with the demands of the situation, e.g. based on urgency or a common species-specific animal response, such as running away in hares, flight in pheasants, active defence in wild boar, etc. (2) Barks will show a different acoustic structure depending on the arousal of the caller. We predict that barks produced during the presence of non-dangerous species might differ from those produced in the presence of potentially dangerous species. We tested whether the degree of threat from the species of animal the dog encounters (e.g. wild boar versus rabbit) is reflected in the structure of the acoustic parameters based on the valence-arousal model 33 .

Results
Animal species context. We analyzed 1888 barks of 19 individual dogs belonging to two breeds- (1) dachsund and (2) terrier-which were produced in response to four different animal species (Fig. 1): wild boar, red fox, rabbit and fowl (Table 1). Figure 1 shows the bark spectrograms of the four types of barks (audio files: Additional Files 1-4).
To investigate whether acoustic parameters of barks differ in response to encountered animal species, we performed three separate stepwise discriminant function analyses (DFA) for three datasets (1) dachshunds only, (2) terriers only and (3) pooled data of both breeds.
The resulting models show a similar pattern for all three datasets independently (Table 2), including classification results (Table 3- (Table 5). DFA for all three datasets showed that barks of dachshunds and terriers are recognizable based on the animal encountered with a higher probability than would be classified by chance ( According to the arousal hypothesis it is expected that frequency parameters and call duration will differ between species which differ in their life-threatening level to hunting dog. We selected four frequency-related  Barks in response to a wild boar showed significantly lower F5 than in response to other animals: F5 (GLM: F 3,18 = 8.3, multiple comparisons: wild boar vs. all animals: p < 0.001). Differences between other animals (rabbit, fowl and red fox) were not significant (p ≥ 0.52), (Fig. 2). The lowest frequencies in the wild boar in comparison to other animals were also shown by the other three frequency parameters (Fig. 2). Parameter F 95 showed significant differences between all animal pairs (GLM: F 3,18 = 12.8, wild boar vs. all animals: p < 0.001, rabbit vs. red fox: p < 0.001, rabbit vs. fowl: p = 0.002, red fox vs. fowl: p = 0.010).
Parameter Q3F also showed the biggest differences between wild boar and all other animals (GLM: F 3,18 = 6.99, p < 0.001). The significant difference also showed comparison of the rabbit vs. fowl (p = 0.001) and rabbit vs. red fox (p < 0.001). Pair comparison of the red fox with rabbit and wild boar showed a significant difference (p < 0.001), while comparison with fowl was not significant (p = 0.073). Model of parameter Q1F did not show a significant effect of animal species (GLM: F 3,18 = 1.52, p = 0.222).
Temporal parameter Duration has been the longest in barks in response to a wild boar in comparison with all other animals (GLM: F 3,18 = 32.4, p < 0.001). The comparison showed a significant difference for all other pairs (p < 0.001), only red fox and fowl did not differ (p = 1.0).

Discussion
We aimed to test for potential differences in the barking of dogs when they encounter four different animal species-wild boar, red fox, rabbit and fowl-which represent models of various size and danger level for dogs. We used two groups of dogs-dachshunds and terriers. Classification results of a discrimination analysis showed that barks of dachshunds and terriers can be categorized based on the animal species they encountered with a higher probability than would be expected if classification was random. It was revealed that the most distinctive barks were made during encounters with the most dangerous animal, the wild boar. The same pattern was shown when we pooled both datasets together. On the contrary, barks evoked by red fox encounters were classified with a similar result to the other smaller and non-dangerous animals-here, the rabbit and fowl. Although the red Table 3. Confusion matrix for the animal species categorization task. Percentage of correct classification represents cross-validated results. A priori probability shows classification by chance (weighted by the number of analyzed barks). Bold numbers represent the percentage of correct classifications. Other values in rows show the percentages of incorrect classifications-that is, the percentage of barks wrongly classified as barks at another animal species.  www.nature.com/scientificreports/ fox represents a potentially dangerous species for small dog breeds, the provoked barks were not classified with a much higher success rate than barks at animals that pose no threat. This would indicate that the key parameter might be the body size of the animal the dog meets. When we compare the average success in the classification of barks at different animals with the classification results of different bark-classifying methods from different contexts we can see comparable results (see Table 4); however, different classification methods with different numbers of individuals and chance levels were used in these studies. When we take into account the resulting classification by chance level using weighting classification outputs by chance level, such a comparison may give us a general overview of the classification success generated by different classification methods. The question is why hunting dogs bark differently at different animal species; is it because of a different inner state or it is a signal directed at their human companions? The barks investigated in previous studies were collected in different distinct social scenarios such as disturbance, isolation, play, presence of a stranger, fight training, begging, walk preparation, etc. 14,24 , and the acoustic structure of barks presumably reflects the inner states of dogs 34 associated with these social contexts, which can be also recognized by humans 25,28,35 . Across these different contexts the emotional state of a dog may likely differ. We tested therefore whether the degree of threat from the species of animal the dog encounters (wild boar versus rabbit, red fox and fowl) can be reflected by the acoustic parameter structure according to the valence-arousal model 33 .
Barks produced during contact with a wild boar showed significantly lower frequency parameters. Frequency parameters seems to be not such a strong reliable indicator of emotions as they may both increase and decrease with an increase in arousal 30 , e.g. a shift in energy distribution towards higher frequencies was found in Weddel seal 36 , silver fox 37 , house cats 38 , red-fronted lemur 39 , squirrel monkey 40,41 , while towards lower frequencies in sheep 42 and baboon 43 . Temporal parameters seem to be more consistent predictors of arousal. Vocalizations of mammals become longer with increase in arousal more frequently 30 . It is consistent with our result of the longest duration of barks produced during encounters with the most dangerous of tested animals, the wild boar.
In our case, it seems that the variability of barking, which depends on the species of animal the dog encounters, is an expression of a dog's inner state rather than functionally reference information. In addition, the expression of the inner state in barking appears to depend on the size of the potential threat. Barking in the case of a great threat (wild boar) is more specific than barking in the case of a smaller threat (red fox) or no threat (rabbit, www.nature.com/scientificreports/ fowl). This phenomenon could then indicate an innate ability, as it has been reported in the case of naive dogs, without previous experience with wild boar. Both dog owners and non-owners, including adults and young children, are able to categorize a dog's emotional state and barking context above the level of chance 17,24,25,28 . Domestic dogs bark frequently in comparison to feral dogs, which produce barks relatively rarely 44 . This fact could indicate that barking is at least in some way used for communication with humans 22 . Some authors have considered barks to be an exaggerated by-product of the domestication process that has no specific function 12 . Previous studies have shown that dog barks are able to express a wider range of emotions compared to those of wolves. Such a change in the acoustic communication of dogs has resulted from their association with humans 45 . Recognizing dog barks may be advantageous in inter-specific interactions since dog domestication occurred at least 30,000 years ago [46][47][48] . This process was initiated by European hunter-gatherers 47 . Mutualism between dog and hunter probably took place early after domestication 49 when dogs assisted in the hunting of prey 47 . The ability to draw attention to different animal species complements hitherto known communicative skills like human-dog communication via eye contact 50 , changes in facial expressions of dogs affected by human attentional state 51 , the ability of dogs to understand the communicative cues of humans 52 or communication using eye gaze 53,54 , and the widely known ability of dogs to understand human pointing gestures 52,55 .
Hunting dogs were bred to follow the trail of an animal. Some of these breeds were probably selected for a specific type of barking 14 . Such specialization could lead to the forming of an additional ability in comparison to other breeds not selected for hunting abilities. The hearing system of canids has primarily evolved to optimize predation, especially to localize sounds produced by potential prey 56 . Recognition of animal species could be favoured in reciprocal cooperation during hunting, e.g. recognition of potentially dangerous vs. non-dangerous animals could be especially favoured. Understanding the regulation mechanisms of mutual communication between humans and animals is especially important for animals such as dogs living in close contact with their human partners, depending on them for food, care and health 57 . The hunting activity of dogs with humans is considered to be derived from the cooperative behavior of wolves 22 . In hunting dogs, we might suppose that animal-encounter-specific barking may significantly increase the effectiveness of hunting events.  Acoustic analyses. We randomly selected a maximum of 30 barks per individual. These were chosen from a sample of barks of the best quality: non-overlapping barks with low background noise and a good signal-tonoise ratio. We did not obtain a full matrix as some dogs gave fewer than 30 barks. A total of 1888 barks were analyzed: 390 barks from the wild boar experiment, 508 barks from the red fox experiment, 510 barks from the rabbit experiment and 480 barks collected during the fowl experiment.We analyzed recordings using Raven Pro Sound Analysis Software (Cornell Lab of Ornithology, New York, USA) from which spectrograms were generated using the following parameters: Hann window type with a 1050 point window size, an overlap of 50%, a hop size of 11.9 ms, and grid spacing of 21 Hz. We measured 20 acoustical parameters (Table 5).
Statistical analyses. From the measured parameters we excluded those that were highly correlated (r ≥ 0.90: F95 Rel and Avg Entropy), and the remaining variables were entered into the discriminant function analysis (DFA) ( Table 3). We performed three types of analyses: (1) for dachshunds, (2) for terriers and (3) for both breeds together (pooled model). We performed a stepwise DFA in order to test whether dog barks can be classified based on the animal species that they were produced in response to. The procedure selected predictors using the Wilks' lambda criterion. We used F values as a criterion for entering or removing an acoustic parameter from a classification model (F to enter = 3.84; F to remove = 2.71). For external validation of this model we used leaveone-out cross-validation using IBM SPSS 20 (IBM Corp., Armonk, USA). Animal species were used as a group identifier and the acoustic variables were used as discriminant variables. We normalized measured variables using Z score transformation (by subtracting the mean and dividing by the variable's standard deviation), which avoids the false attribution of weights in relation to variables measured in different units (IBM Corp., Armonk, USA). We then performed a permuted DFA (pDFA) for nested designs, which serves as a randomization procedure for non-independent data 58 . We calculated pDFAs using a script written in software "R" (provided by Roger Mundry) using 100 random selections and 10,000 permutations. This procedure gave a p-value which was used to determine the significance of the correct classification rate of barks to the test factor (animal species), while controlling for a single nested factor (individual). N refers to number of individuals (dogs), n refers to number of calls (barks).We used univariate general linear models (GLM) for the motivational-structural test to see if barks differ between the animal species they were produced in response to. Acoustic variables were used as dependent variables, animal species as a fixed factor, and individual dogs as a random factor. We used Bonferroni corrected post hoc multiple comparison. It was also used Chi-Square test based on the observed versus expected values to test classification outputs of DFA models.

Data availability
The datasets generated during and analyzed during the current study are available from the corresponding author on request.