Introduction

The traditional approach of considering communication as information transfer between a sender-receiver dyad connected by a transmission channel1 has been extended by the concept of communication networks. Indeed, in many social groups, individuals are closely spaced, and signals reach multiple individuals, including both intended and unintended receivers2,3,4. Unintended receivers, i.e. eavesdroppers, can exploit information to their benefit, sometimes at a cost to the sender3,5. Accordingly, senders may be sensitive to the presence and characteristics of receivers and may, thus, exhibit behavioural flexibility by initiating, inhibiting, or varying the rate or nature of signal deposition6. Such effects are defined as ‘audience effects’6,7.

Although olfactory signals represent a main modality of communication in most mammals5,8, audience effects have mainly been studied for vocal and visual signals7. This inbalance can be explained by different reasons. First, olfactory signals are long-lasting, remaining in the environment long after the sender left the location. Hence, these signals may be perceived even in the absence of an audience at the time of their deposition. Second, historically, research on olfactory communication focused mainly on solitary species, where audience effects on the deposition of olfactory signals appeared to be less relevant7. However, scent signals have now been shown to be deposited in many different social contexts and are recognised as important in social species both for within- and between-group communication9,10,11,12,13,14. Moreover, recent frameworks highlighted the importance of selective pressures arising from the social domain on the evolution of communicative systems across all modalities15,16.

Interestingly, scent-marking behaviours, defined as motor patterns used to deposit chemical secretions or excretions (e.g., urine, saliva, anogenital secretions) on objects or conspecifics17,18,19, often take the form of conspicuous ephemeral visual displays20. These visual components might immediately attract the attention of individuals present in the vicinity and guide them to the signal’s long-lasting olfactory component. Hence, this multimodal nature may confer scent-marking behaviour the capacity to be addressed both to the audience present during deposition and to unknown future receivers5,21,22. The idea of a chemical component deposited using a conspicuous visual display that would attract the individuals present in the audience was formalised under the ‘demonstrative marking hypothesis’. This hypothesis was postulated for territorial male Thomson’s gazelles (Eudorcas thomsonii), which combine urine-faeces deposition with an extreme body posture display20,23,24. Palagi and Norscia25 also described such a ‘composite effect’ in ring-tailed lemurs (Lemur catta), which either urinate with the tail only slightly raised or combine urine-marking with a conspicuous visual signal, the up-right erection of the tail. The erection of their tail attracted the attention of receivers to the location of the urine deposition, and resulted in more group members inspecting the urine-mark compared to urine-marks deposited without this tail display25. However, to date, how the composition of the audience may affect scent deposition remains an understudied aspect of olfactory communication.

Scent marks can carry reliable information about the sender’s age, sex, health, reproductive and social status26,27,28,29,30,31,32. Scent-marking behaviour has been associated with various functions, both across33,34,35,36 and within species21,37,38,39. They can be classified into three broad functional categories: sexual attraction, competition, and parental care22,33,34,35,36. Functional differences in scent-marking behaviour between the sexes have been described in numerous species (e.g. mandrills Mandrillus sphinx31, moustached tamarins Saguinus mystax40, cheetahs Acinonyx jubatus39, giant pandas Ailuropoda melanoleuca41, honey badgers Mellivora capensis42). These functional sex differences are commonly associated with morphological, physiological and behavioural differences14,21,28,36,39,43,44,45,46,47,48,49,50. Considering these functional differences between the sexes, sex-specific effects of the audience when depositing scent marks can be expected.

Strepsirrhines primates, like most other mammals, have a functional vomeronasal organ51. They rely heavily on olfactory communication and produce a wide variety of scent signals expressed by glands located in various body areas (i.e. head, neck, chest, forelimb and anogenital area)14,22,52,53. Among strepsirrhines, true lemurs (i.e. genus Eulemur, Lemuridae) include nine species with comparable glands in their genital and perianal regions. In these species, anogenital scent marking is relatively frequent and occurs across different contexts16. Anogenital scent marks in true lemurs have been shown to carry information on species identity14,54, phylogeny14,16, social system14, sex16,55, odorant source14,16, individuality56 and reproductive state16. Morphological and physiological sex differences associated with anogenital scent marking also exist in true lemurs. First, females have more elaborated anogenital glands than males16. Second, the chemical richness of genital secretions differs between the sexes as a function of a species’ social structure. In female-dominant species, chemical richness is higher in females, while in species without overt dominance relationships between sexes, chemical richness is higher in males16. Moreover, while previous studies reported no sex difference in the average frequency of anogenital scent marking57,58, studies addressing this question are scarce and all carried out in captivity leaving the question open.

We investigated audience effects on anogenital scent-marking behaviour in wild red-fronted lemurs (Eulemur rufifrons). Red-fronted lemurs live in cohesive small multi-female–multi-male groups of 5–12 individuals with an even or male-biased adult sex ratio59,60,61,62,63. They are promiscuous, with all females mating with almost all males within their group64 and do not exhibit strong male–female bonds65. They lack clear intersexual dominance relationships, with neither sex being consistently dominant over the other65,66 and aggression rates are low within both sexes67. However, one male (referred to as central male) in each group seems to be involved in more social interactions with all females than all other males65. Central males sire around 60–70% of all infants61,68 and scent-mark more than other males in the group65. Among females competition can be intense, with females evicting even related females from the group when they reach a critical group size69.

In this study, we examined whether males and females differed in their sensitivity to an audience when anogenital scent marking. In principle, it is challenging to define the potential audience in animals because the attention to signals may depend on the distance between the sender and potential receivers in the audience. Moreover, if senders differentiate between the composition of the audience in proximity and overall presence of individuals in the broader audience, different audience effects can be observed depending of the audience radius considered. In an earlier study on red-fronted lemurs, Sperber and colleagues63 have shown that collective-decision making during group departure depends on the inter-individual distance between initiators and followers, with individuals being closer to the initiator following them more readily. We, therefore, chose the same distances (3, 5, and 10 m) to define different categories of audience. Red-fronted live in a forest environment where visibility rapidly decreases with distance. However, as we were able ourselves to assess the audience composition until ten meters reliably, decreased visibility is unlikely to impact the animals’ perception of the audience composition in any of the chosen ranges.

We predict (1) the presence of audience effects on anogenital scent marking in red-fronted lemurs. These audience effects are expected to (2) vary between the sexes and to (3) be dependent on the relative degree of social integration of the focal individual compared to that of individuals in the audience (difference in Composite Sociality Index70, hereafter difference in CSI) as well as the strength of the dyadic affiliative relationship (rank of Dyadic Composite Sociality Index71 within the group, hereafter DSI rank). The audience effects are also predicted to (4) vary depending on the audience radius considered.

Results

We identified 177 scent-marking spots, defined as a place where we observed at least one individual scent marking anogenitally. At these scent-marking spots, we observed a total of 327 events consisting of 223 anogenital scent-marking events (105 in males and 118 in females) and 104 pass-by events (i.e. passage without scent marking; 60 in males and 44 in females).

In males, we found a significant audience effect within the 3 m radius (full-null model comparison: χ2 = 6.48, df = 2, p = 0.039; R2m = 0.10, R2c = 0.23, nmark = 105 and npass = 60). Notably, males anogenital-marked less often when a higher proportion of males were present (χ2 = 6.23, df = 1, p = 0.013, padjusted = 0.039, Table 1, Fig. 1a). When removing the cases in which no males were present in the audience, this relationship persisted (χ2 = 4.91, df = 1, p = 0.027, nmark = 29 and npass = 25). However, this audience effect was detected only by trend in the 5 m radius and not in the 10 m radius (full-null model comparisons: for 5 m, χ2 = 4.77, df = 2, p = 0.092, Fig. 1b; for 10 m, χ2 = 1.47, df = 2, p = 0.481, Table 1, Fig. 1c). In addition, for all three distance radii, neither the proportion of females, age of the focal male (adult or subadult), context (group activity defined as resting, feeding, travelling or disturbance), nor season significantly affected the probability of anogenital marking in males (Table 1).

Table 1 Results of the models of the effects of audience composition within 3, 5 and 10 m radius, age, context and season on the probability that a male scent-mark when passing a marking spot.
Figure 1
figure 1

Probability that a male deposited a scent mark depending on the proportion of males present (a) in a 3 m radius, (b) in a 5 m radius, (c) in a 10 m radius. Colours correspond to the different individuals (n = 14), and the size of the circle corresponds to the number of observations (in total, n = 165). This figure was visualized and edited using R (https://www.r-project.org/).

In females, we found no audience effect associated with the proportion of individuals present (full-null model comparison: for 3 m, χ2 = 4.84, df = 2, p = 0.089; for 5 m, χ2 = 6.85, df = 2, p = 0.032; for 10 m χ2 = 3.54, df = 2, p = 0.171; Table 2). Neither the proportion of males, the proportion of females, age, context, nor season predicted the probability of anogenital scent marking (Table 2).

Table 2 Results of the models of the effects of audience composition within 3. 5 and 10 m radius, age, context and season on the probability that a female scent− marked when passing a marking spot.

When considering the anogenital-marking network (exponential random graph model), overall, sex and/or sociality (i.e. DSI rank of the dyad focal-audience, difference in the CSI values of the individuals within a given dyad, CSI of the individual in the audience) had an effect on the probability of an individual to scent mark in front of another individual (full-null model comparison: 3 m chi2 = − 697.5, df = 580, p < 0.001, padjusted < 0.001; 5 m chi2 = − 1263.1, df = 580, p < 0.001, padjusted < 0.001; 10 m chi2 = − 1982.8, df = 580, p < 0.001, padjusted < 0.001).

In particular, there was a significant effect of the interaction between the combination of sexes and the DSI rank of the respective dyad on the probability of scent marking within the 5 m and 10 m radius (full-reduced model comparison: 5 m chi2 = − 1412.5, df = 568, p-value = 0.003, padjusted = 0.010; 10 m chi2 = − 2213.5, df = 568, p-value < 0.001, padjusted < 0.001; Table 3) but not within the 3 m radius (chi2 = − 749.5, df = 568, p-value = 0.184, padjusted = 0.550). Males scent marked more often in front of females with whom they had a stronger relationship (smaller DSI rank). In contrast, females scent-marked more often in front of females with whom they had a weaker relationship (higher DSI rank) (Fig. 2).

Table 3 Results of the exponential graph model of the effects of audience composition within 3, 5 and 10 m radius on the probability that an individual scent-mark when passing a marking spot.
Figure 2
figure 2

Probability to scent-mark as a function of the DSI rank of the dyad for an audience (a) in a 3 m radius,(b) in a 5 m radius, and (c) in a 10 m radius. The shaded areas show 95% confidence intervals of the model (conditional on the number of observations being at its average and on a group effect weighted by the number of individuals in each group). The first column of plots presents the zoomed-in section of the full range, indicated by grey polygons, to better depict the corresponding regression lines. This figure was visualized and edited using R (https://www.r-project.org/).

There was a significant interaction effect between the sexes and the CSI difference between individuals of the respective dyad within the 3 m and 10 m radius (full-reduced model comparison: 3 m chi2 = − 740.8, df = 568, p-value = 0.004, padjusted = 0.011; 10 m chi2 = − 2225.5, df = 568, p-value < 0.001, padjusted < 0.001; Table 3) but not within the 5 m radius (chi2 = − 1393.5, df = 568, p-value = 0.152, padjusted = 0.455). Females scent marked more often in front of females that were more social than themselves (i.e. when the difference in CSI was negative; Fig. 3). Females scent-marked more often when males that were as social as themselves (i.e. when the difference in CSI is small) were present in the 10 m range, but their probability to scent-mark also increased when in close proximity (< 3 m) with males that were less social than themselves (i.e. when the difference in CSI is positive; Fig. 3).

Figure 3
figure 3

Probability to scent-mark as a function of the difference in CSI of the dyad for an audience (a) in a 3 m radius, (b) in a 5 m radius, and (c) in a 10 m radius. The shaded areas show 95% confidence intervals of the model (conditional on the number of observations being at its average and on a group effect weighted by the number of individuals in each group). The first column of plots presents the zoomed-in section of the full range, indicated by grey polygons, to better depict the corresponding regression lines. This figure was visualized and edited using R (https://www.r-project.org/).

There was also a significant interaction effect between sex and CSI rank of the individual in the audience across all distances (full-reduced model comparison: 3 m chi2 = − 776.0, df = 566, p-value < 0.001, padjusted < 0.001; 5 m chi2 = − 1351.9, df = 566, p-value < 0.001, padjusted < 0.001; 10 m chi2 = − 2237.0, df = 566, p < 0.001, padjusted < 0.001; Table 3). More specifically, individuals scent marked more often in front of the less social females (the ones exhibiting a greater CSI rank; Fig. 4).

Figure 4
figure 4

Probability to scent-mark as a function of the CSI rank of the individual in the audience when (a) in a 3 m radius, (b) in a 5 m radius, and (c) in a 10 m radius. The shaded areas show 95% confidence intervals of the model (conditional on the number of observations being at its average and on a group effect weighted by the number of individuals in each group). The first column of plots presents the zoomed-in section of the full range, indicated by grey polygons, to better depict the corresponding regression lines. This figure was visualized and edited using R (https://www.r-project.org/).

The probability for an individual to be observed marking in front of a given conspecific increased as a function of the number of times the individual was observed in the presence of this individual (3 m: b = 0.783, p < 0.001, padjusted < 0.001; 5 m: b = 0.645, p < 0.001, padjusted < 0.001; 10 m: b = 0.494, p < 0.001, padjusted < 0.001; Table 3). Hence, individuals were more likely to scent mark in front of individuals that were more often in proximity to them. Moreover, there was a significant effect of the group on the probability to observe scent marking (full-null model comparison: 3 m: chi2 = − 729.6, df = 568, p < 0.001, padjusted < 0.001; 5 m: chi2 = − 1222.2, df = 568, p < 0.001, padjusted < 0.001; 10 m: chi2 = − 2122.1, df = 568, p < 0.001, padjusted < 0.001; Table 2). There was no significant effect of the mutual term after correcting for multiple testing (3 m: b = 0.357, p = 0.027, padjusted = 0.081; 5 m: b = 0.261, p = 0.056, padjusted = 0.168; 10 m: b = 0.168, p = 0.145, padjusted = 0.435; Table 3). There was also no significant effect of the cyclical term after correcting for multiple testing (3 m: b = 0.146, p = 0.043, padjusted = 0.129; 5 m: b = 0.150, p = 0.058, padjusted = 0.174; 10 m: b = − 0.005, p = 0.941; padjusted = 1; Table 3).

Discussion

In this study, we investigated intra-group audience effects on anogenital scent marking in wild red-fronted lemurs. Our results indicated that scent marking in red-fronted lemurs is associated with some behavioural flexibility linked to the composition of the audience at the time of scent deposition. Moreover, our findings also showed that the nature of the audience effects differed between males and females, with males being more sensitive to their audience than females.

On the intrasexual level, males were observed to scent mark significantly less often when a greater proportion of males of their group were within the 3 m radius. This observation is reinforced by the lowest anogenital scent-marking probabilities associated with the male-male category in the outputs of the exponential random graph analyses (Figs. 2 and 3). However, the effect of the proportion of males present in the audience on the probability of a male to anogenital scent-mark was detected only by trend in the 5 m radius and absent in the 10 m radius). In principle, it is possible that the individuals present in the 3 to 10 m range of the scent-marking spot were too far away to be attentive to scent mark deposition of other individuals. However, scent-marking rates were predicted by the strength of the social relationship with the individuals in these larger distance categories, suggesting that individuals even when they were farther away might still be attentive to scent-mark depositions. Indeed, the probability that a male would scent mark in front of another male decreased when these two males had a weaker social relationship (greater DSI rank). Males also tended to scent mark less often in front of males that were more social than themselves (negative values of the difference in CSI). Hence, males seem to avoid scent marking in close proximity with an increased number of males, especially if the latter are more social than themselves, and in the presence of males with whom they have weak affiliation.

Therefore, it is possible that even if there is no linear hierarchy and low aggression levels in male red-fronted lemurs65, the risk of physical aggression might be elevated when scent marking in close proximity. It might also be that males inhibit their scent-marking behaviour to avoid their scent mark being quickly overmarked by other males11. In addition, the probability of the sender receiving an aggression and/or overmarking might be higher when the male in the audience is not a close affiliate and is more central than the scent marker. Investigations on the probability of exhibiting aggression and overmarking at different distances and depending on the social value of the relationship between two individuals might help to test this prediction. Alternatively, males may give priority to other males to scent mark the spot when they are in proximity and prefer to pass by the scent-marking spot without depositing a scent mark. Hence, competition among males may result in having priority of access to these specific scent-marking spots. If the male to whom the priority would be given is at a distance of 5 or 10 m, the focal male might still have time to scent mark before its arrival. Our results indicate that priority of scent marking seems to be given to the most social males, which may also contribute towards explaining why the central males have been observed to be the ones scent marking more frequently65. Hence, in red-fronted lemurs, as suggested in an earlier study65, males might use anogenital scent marking as a way to advertise their social status to other males and as an indirect form of competition. This function of scent marking has also been suggested for several other lemur species (e.g. ring-tailed lemurs8,72, Verreaux's sifaka38,73,74,75; red lemurs Eulemur rufus46; Milne-Edward's sifakas Propithecus edwardsi76,77; silky sifakas P. candidus76; grey mouse lemurs Microcebus murinus78) and other mammalian species45 (e.g. brown bears, Ursus arctos79, house mice Mus musculus80).

Females were observed to scent-mark more often in the presence of females that were more social than themselves (negative values of the difference in CSI) in the 10 m radius. This effect was not significant when looking at smaller radii, suggesting that females give more importance to the overall audience than to proximity in this context. Females were also observed to scent-mark more often in the presence, at any distance range, of females with whom they had weaker social relationships (greater DSI rank). Hence, despite the absence of hierarchical dominance instigated through overtly aggressive behaviour, females may signal their social status via scent marks. However, the highest scent-marking probabilities are associated with the female-female category in the outputs of the exponential random graph analyses (Figs. 2, 3), suggesting that overall, females seem to be less sensitive to the presence of females in their audience than to the presence of males.

On the intersexual level, we found no effect of the proportion of individuals of one sex present in the audience on the probability of an individual of the opposite sex to anogenital scent mark. However, females were observed to increase their scent-marking probability when in close proximity (< 3 m) with males that were less social than themselves (positive values of the difference in CSI). When considering a 10 m radius females were observed to scent mark more often when males that were as social as themselves (i.e. when the difference in CSI is small) than when males that were less social than themselves were present, suggesting that the proximity of the males has an effect on a female’s decision to scent-mark. Females may generally prefer to scent mark in front of the most socially integrated males of the group but may also address their scent mark to the less integrated males when in close proximity with them (personal observations).

Males were observed to scent mark more in the presence of a female when they had a stronger relationship with that female (lower DSI rank). This effect was highly significant at 5 and 10 m, showing that the presence of such females was more important than her proximity to the focal male. Hence, males may particularly address scent-mark signals to females with whom they maintain a close relationship. This outcome is in line with earlier research suggesting that males that are involved in more social interactions with females than all other males (i.e. central males) are the ones scent marking the most65.

At the intersexual level, scent-marking behaviours may serve to maintain the pair-bonding, as shown in both pair-living (red-bellied lemurs Eulemur rubriventer81) and group-living species (Coquerel’s sifakas Propithecus coquereli82). Scent-marking signals have also been suggested to be directed towards the opposite sex as a form of mate attraction (ring-tailed lemurs83 and grey mouse lemurs78). Both functions are not contradicted by our results but further research on the function of scent-marks is required.

Overall, our results indicate that males seem to be more sensitive than females to their audience when scent marking. Whereas both males and females seem to be sensitive to the audience, social facilitation of scent marking may occur in females, whereas in males social inhibition of scent marking may occur. Social facilitation and inhibition are defined respectively as an increase or decrease of the initiation, frequency or intensity of a response in the presence of other individuals84,85,86,87. Hence, males seem to be more constrained in the expression of scent signals and appear to adjust their scent-marking behaviour in a more fine-tuned manner to the composition of the audience than females. Less social males, which scent mark less frequently in the presence of other males, may rely primarily on the long-lasting component of the signal to advertise their social status to a future audience, thereby avoiding potential aggression from other males.

Interestingly, male genital secretions have been shown to be chemically richer than the genital secretions of females in true lemur species without overt dominance relationships14,16. Social constraints on signal deposition may be balanced by a more elaborate signal design in these species. Studying the flexibility of multicomponent signal usage across social contexts (audience compositions) contributes to uncovering the social features eliciting or constraining complex signal expression15,88. These social characteristics may, in turn, constitute social pressures acting for or against the evolution of complex signalling behaviour6,15,22,89. Moreover, in true lemurs, diversification of means of olfactory communication covaried with the diversification of social systems, making them excellent models for comparative studies in this context16,53. Hence, further research combining chemical analyses with observations of scent-marking behaviour and audience effects across true lemur species are now indicated to further understand the social function of scent-marking behaviours.

The term social facilitation is used both in the case when the other individuals are engaged in a similar task or behaviour (co-action) or when they are passive observers (restrictive use of the term “audience effect”)9,84,85,86,87. In the present study, the individual scent marking did neither always observe another individual scent marking nor pass in proximity to a recently deposited scent mark. Indeed, this is the case for the first event of almost all video recordings as we started recording the individuals before observing a scent-marking event. Moreover, the 15 min duration of the focal observations, allowed for individuals or sub-groups isolated from the rest of the group to also perform behaviours without having been part of the audience of an individual recorded earlier. For these reasons, social facilitation via co-action is unlikely in the context of this study.

Social facilitation via co-action historically implies arousal-mediated mechanisms, while the ‘audience effect’ sometimes refers to the specific effect that an individual is being watched or thinks it is being watched86,90. Audience effects may indeed reveal a potential intentional communication, primarily when this variation is based on subtle social and behavioural variations, such as the quality of relationships6,90,91,92,93. Here we show that red-fronted lemurs do not only scent mark flexibly as a function of the proportion of males and females present in the audience but also based on the strength of the social relationship they maintain with specific individuals present in the audience. Such social competence was described as one indicator of potential intentionality in signalling behaviour90,94.

Finally, some caveats and limitations of our study need to be mentioned. First, some individuals may also choose not to pass a specific scent-marking spot in the presence of a particular audience. Hence, we cannot exclude and control for a potential audience effect on the probability to pass this spot or not. Second, the effect of who may have marked beforehand on a specific spot might also be relevant in an individual's choice to mark or not when passing a spot. This aspect is difficult to control in the field because we do not have information on the possible passage on this spot before the observations and video recordings started. Further studies on the patterns of scent-marking behaviour succession occurring on a given scent-marking spot may clarify these questions8. Moreover, considering the orientation (e.g. facing or facing away the scent-marking spot) of the individuals in the audience may also be an interesting perspective in this regard. While at 3 m, the individuals may be relatively homogeneously attentive to the scent marking of an individual, when further apart they may notice the scent-marking behaviour only when they are facing the scent-marking-spot. As a consequence, individuals approaching the scent-marking spot may indeed be more attentive than individuals that already overpassed this spot. This may also contribute to the lack of some audience effects observed at larger distances.

Besides intra-group functions, scent marking may also be a form of inter-group communication in resource or territorial defence through individual or group odour deposition49,95,96,97. Female red-fronted lemurs are philopatric and remain in the territory of their mother, so they might be motivated to defend their territory and/or its associated resources. As some of the events reported here occurred in the context of post or pre-inter group encounters (with no extra-group individuals in the audience), they could have impacted our results. However, the effect of context did not influence scent mark deposition. Still, exploring in more detail inter-group audience effects may reveal interesting complementary information to understand further how red-fronted lemur flexibly adapt their behaviour to the social context.

In conclusion, we showed that scent marking in red-fronted lemurs is associated with some behavioural flexibility linked to the composition of the audience (i.e. proportion and social value of the individuals present), ascribing red-fronted lemurs social competence in this context. Moreover, our approach broadens our understanding of signal delivery and its associated sex differences in red-fronted lemurs, providing an avenue for future research addressing the question of the effect of social variation on scent-marking behaviour.

Material and methods

Study site and subjects

We conducted this study in Kirindy Forest, a dry deciduous forest located ca. 60 km north of Morondava, western Madagascar, managed within a forestry concession operated by the Centre National de Formation, d'Etudes et de Recherche en Environnement et Foresterie (CNFEREF)98. Since 1996, all members of a local population of red-fronted lemurs inhabiting a 80-ha study area within the forest have been regularly captured, marked with individual nylon or radio collars, and subjected to regular censuses and behavioural observations as part of a long-term study98. The data presented in this study were collected from May to November 2018 on 28 individuals belonging to four groups (11 females and 17 males; Table 4). Among males, 14 were adults and 3 sub-adults (1.5–2 years). Sub-adults were included in the study as they were observed to perform scent-marking behaviour as often as adult individuals. Reproduction of the species is seasonal, with a 4-week mating season in May–June and a birth season in September–October65,99. All applicable international, national, and/or institutional guidelines for the care and use of animals were followed. The authors complied with the ARRIVE guidelines100. This study adhered to the Guidelines for the Treatment of Animals in Behavioral Research and Teaching101 and the legal requirements of the country (Madagascar) in which the work was carried out. The protocol for this research was approved by the Commission Tripartite de la Direction des Eaux et Forêts (Permit No 47 and 215 18/MEF/SG/DGF/DSAP/SCB.Re).

Table 4 Description of the individuals included into the dataset.

Data collection

Between May to July (later referred to as mating season) and September to November (later referred to as birth season), data were collected by focal scent mark observations102. Scent-marking behaviour were observed ad libitum102 during 27 to 34 half-days in each group. During these sessions, a total of 120 scent-marking behaviour (26 to 34 per group) served as foci for 15 min observations that were video recorded. During these 15 min observation periods, we annotated each individual passing the focal scent-marking spot, its identity, whether it performed scent marking or not, the date, the time, the context and the identity of all the other individuals present in the radius of 3, 5 and 10 m. If an individual scent marked not directly on the original scent-marking spot but on one in close proximity, we also considered it in our analysis and took previous pass-by events on this spot into account. The context was classified using four categories: resting, feeding, travelling and disturbance defining the group activity. The context 'disturbance' referred to situations in which individuals of the group are vigilant, and none of the other three context categories could be attributed to the situation. Cases when individuals of another group were visible were excluded.

Additionally, from May to November 2018, we also carried out 30 min individual focal observations in the morning between ca. 07:00–10:00 h and afternoon between14:00–17:00 h. A given individual was never observed for more than one 30 min session per day, and observations were balanced among each observation hour for each individual. The final dataset included 367 h of focal observations, with an average of 14.7 h per individual and was used to calculate the social values of the individuals and dyads.

Data analyses

All analyses were carried out using R (version 3.6.0)103 and RStudio (version 1.2–1335)104.

Social values of individuals

We calculated the CSI (Composite Sociality Index70; Eq. (1)) for each individual based on three mutually exclusive affiliative behaviours: body contact, grooming and huddling. For each individual, we first calculated the proportion of time spent in body contact, huddling and grooming with an individual of its group (except juveniles). The resulting hourly rates for each of the three behaviours (\({{{r}}.{{b}}{{c}}}_{i},{{{r}}.{{h}}{{u}}}_{{{i}}},{{{r}}.{{g}}{{r}}}_{{{i}}}\)) were next divided by the respective mean rate for the group of the given individual before being summed up. To obtain the CSI, the summed value was divided by three, corresponding to the number of behaviours considered. We further attributed to each individual a CSI rank within each group and age-sex category, with individuals of rank 1 being the ones interacting the most often. To obtain the difference in CSI between two individuals we subtracted the CSI value of the individual in the audience to the CSI value of the focal. These CSI difference values were scaled using the R function 'scale' within each group.

$${{{C}}{{S}}{{I}}}_{{{i}}}=\frac{\frac{{{{r}}.{{b}}{{c}}}_{{{i}}}}{{{{m}}{{e}}{{a}}{{n}}({{r}}.{{b}}{{c}})}_{{{g}}{{r}}{{o}}{{u}}{{p}}}}+\frac{{{{r}}.{{h}}{{u}}}_{{{i}}}}{{{{m}}{{e}}{{a}}{{n}}({{r}}.{{h}}{{u}})}_{{{g}}{{r}}{{o}}{{u}}{{p}}}}+\frac{{{{r}}.{{g}}{{r}}}_{{{i}}}}{{{{m}}{{e}}{{a}}{{n}}({{r}}.{{g}}{{r}})}_{{{g}}{{r}}{{o}}{{u}}{{p}}}}}{3}$$
(1)

Social values of dyads

We calculated the DSI (Dyadic Composite Sociality Index71; Eq. (2)) of each dyad of individuals in a given group (excluding juveniles) following the same principle as for the CSI. Because two individuals were never observed simultaneously in a given group, interaction rates for a given dyad A-B could be calculated by summing up the rates associated with A being focal and interacting with B and B being focal and interacting with A. For each individual, we first calculated the time spent in body contact, huddling and grooming with each of its adult group members and divided it by the total observation duration of this individual while its partner was present in the group. We further attributed to each dyad a DSI rank within each group and age-sex category, with dyads of rank 1 being the most social dyads of their group. We used rank instead of raw DSI as we were not interested in group differences. In this way, the most social dyad of each group is attributed with the same social value.

$${{{D}}{{S}}{{I}}}_{{{d}}}=\frac{\frac{{{{r}}.{{b}}{{c}}}_{{{d}}}}{{{{m}}{{e}}{{a}}{{n}}({{r}}.{{b}}{{c}})}_{{{g}}{{r}}{{o}}{{u}}{{p}}}}+\frac{{{{r}}.{{h}}{{u}}}_{{{d}}}}{{{{m}}{{e}}{{a}}{{n}}({{r}}.{{h}}{{u}})}_{{{g}}{{r}}{{o}}{{u}}{{p}}}}+\frac{{{{r}}.{{g}}{{r}}}_{{{d}}}}{{{{m}}{{e}}{{a}}{{n}}({{r}}.{{g}}{{r}})}_{{{g}}{{r}}{{o}}{{u}}{{p}}}}}{3}$$
(2)

Estimation of the audience effect on anogenital scent marking

For a given individual, we only considered anogenital marking events that occurred with a time-lapse of at least 5 min between each other. We selected passing events (without scent marking) on the same criteria. We included only individuals for whom we had at least two observations of each passing and marking. Three males that emigrated during the period had to be excluded because we had only one observation of either passing or marking. The final male dataset included 14 individuals (3 sub-adults and 11 adults) observed for 60 pass events and 105 anogenital marking events. The female dataset included 11 adult females observed for 44 pass-by and 118 scent-marking events.

We first fitted two independent Generalized Linear Mixed Models (GLMM) for both sexes, estimating the influence of the audience composition on the probability of anogenital-marking behaviour to occur at a given time. These models had a binomial error structure and logit link function105 and were run for each audience radius. These models were fitted using the function glmer of the R package lme4 (version 1.1–21)106 with the optimiser' 'bobyqa'. As fixed effect, we included the proportions of males and adult females present in the given distance radius. To control for age (for males only as we only had one age class for females), context and season we also included these terms in the model as control predictors. Individual identity and date were included as random factors to account for individual variations and the possible effect of particular events.

To reduce the risk of type I errors107, we included all possible random slopes components (the proportion of males, the proportion of adult females, context and season within individual identity). We manually dummy-coded and centred context, season and age, and z-transformed the proportion of males and the proportion of females before including them as random slopes. Initially, we also included all correlations among random intercepts and slopes for all models. However, for females, these were all estimated to have absolute values being essentially one indicating that they were not identifiable108. Hence, we removed these correlations from the female model.

As an overall test of the effect of audience composition on the probability to anogenital scent mark, we compared the full model with the null model lacking the fixed effects characterising the audience (proportion of males and proportion of females) but comprising the control fixed effects and the same random effect structure as the full model107. This comparison was performed using a likelihood ratio test109.

Model stability was assessed by comparing the estimates of the model run on the full dataset with the ones run on datasets, excluding each level of the random effects one after the other110. The models were relatively stable (for males: Supplementary File 1.A; for females: Supplementary File 1.C). To control for potential collinearity problems, we calculated the Variance Inflation Factors111 for the model, excluding the random effects. VIF values ranged from 1.03 to 1.76 for the males (Supplementary File 1.B) and from 1.07 to 2.20 for females (Supplementary File 1.D). To control for multiple testing, we corrected the p-values using the p.adjust function with a Bonferroni method.

Confidence intervals were derived using the function bootMer of the package lme4, using 1,000 parametric bootstraps and bootstrapping over the random effects, too (argument' use.u' set to TRUE). Tests of the individual fixed effects were derived using likelihood ratio tests112 (R function drop1 with argument' test' set to" Chisq"). We determined the proportion of the total variance explained by the fixed effects (R2m; marginal coefficient of determination), and the proportion of the variance explained by both fixed and random effects (R2c; conditional coefficient of determination) following the method recommended by Nakagawa et al.113 and using the function r.squaredGLMM of the package MuMIn (version 1.43.6)114. Because our models seem to suffer singularity issues, we further applied a Bayesian method as recommended by the authors of the "lme4" package106. This approach should allow both regularising the model via informative priors and giving estimates and credible intervals for all parameters that average over the uncertainty in the random-effects parameters. Details on the methods and outputs of these models are provided in supplementary material (Supplementary File 2).

To account for the nonindependence of individuals within a group and the network structure of their interactions, we first used valued exponential random graph models (ERGM)115 to understand how the nature of the audience may influence the probability of anogenital marking. We implemented an ERGM based on a directional weighted matrix corresponding to the number of observed anogenital marking events of a focal individual (tail) when a given individual of its group was in the audience (head).

Models were implemented with a Poisson reference distribution, and the term "sum" corresponding to the sum of the edge weights (equivalent to an intercept in a linear modelling scenario) was added to the model. In addition, a "nonzero" term was added to control for zero inflation in the distribution of edge weights. Moreover, because structural terms are essential for correct model specification116,117 we included a mutuality term (sum of the minimum edge weights for each potential edge), and a cyclical weights term allowing for exploring hierarchical structure118. Two terms were included as control predictors: an edge covariate term to account for the amount of time an individual was observed in the presence of a given individual in the audience119 and a node-level covariate term to control for the effect of the group. Moreover, an offset term was added to acknowledge the fact that we only consider intra-group interactions. The terms described so far were the terms remaining in the null-model.

As node level predictors, we included the interaction between sex (only for adults) and the CSI rank of the individual in the audience (in-edges). As edge covariates, we included the interaction between the sexes and the difference between the CSI of the focal individual and the individual in the audience and the interaction between the sexes and the DSI rank corresponding to the dyad in question. All the terms corresponding to the main effects and the dummy variables (with the exception of the reference male-male) were also included in the model.

ERGMs were implemented in R using the statnet suite of packages115,120,121,122,123. The code to implement this model is provided in the ESM, Supplementary File 3. We manually dummy coded and centred the sex interacting and z-transformed all the explanatory variables before including them into the model. The goodness of fit was assessed for each model by simulating 1000 networks and comparing the distribution of their coefficients to the observed coefficients124,125 (Supplementary Figs. 1, 2 and 3). MCMC diagnostics were used to assess ERGM convergence (“mcmc.diagnostics” function in the ergm package) (Supplementary Figs. 4, 5 and 6). To assess the overall test of the significance of the interaction between sex and sociality we compared the deviance of the full model to the deviance of the null model described above. This comparison was based on a likelihood ratio-test107,109, R function anova with the argument test set to "chisq". To test the significance of the individual interactions between sex and the three social variables, we compared the full model's deviance with that of a corresponding reduced model not comprising this interaction. To control for multiple testing, we corrected the p-values using the p.adjust function with a Bonferroni method. Confidence intervals for the interaction effects were obtained by bootstrapping the response matrix (adding or subtracting 1 to an intra-group edge weight).

Ethics declarations

All applicable international, national, and/or institutional guidelines for the care and use of animals were followed. The authors complied with the ARRIVE guidelines100. This study adhered to the Guidelines for the Treatment of Animals in Behavioral Research and Teaching101 and the legal requirements of the country (Madagascar) in which the work was carried out. The protocol for this research was approved by the Commission Tripartite de la Direction des Eaux et Forêts (Permit No 47 and 215 18/MEF/SG/DGF/DSAP/SCB.Re).