{'fraction_non_alphanumeric': 0.038318716915540806, 'fraction_numerical': 0.02204313818440389, 'mean_word_length': 4.989471193659056, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Dominance or Tolerance? Causes and consequences of a period of increased intercommunity encounters among bonobos (Pan paniscus) at LuiKotale

Group-living primates exhibit variable reactions to intergroup encounters (or IGEs), reflecting species-specific strategies and individual motivations. In chimpanzees (Pan troglodytes), dominating in IGEs provides fitness benefits. Less is known about responses to IGEs in bonobos (Pan paniscus) despite their equal relevance for understanding the origins of human intergroup relations. We observed the Bompusa West (WBp) bonobo community at LuiKotale during a 2-month shift in ranging resulting in frequent IGEs with the smaller Bompusa East (EBp) community. We tested whether incursions provided ecological benefits, and whether responses to IGEs were consistent with inter-community dominance or tolerance. We measured fruit availability and collected activity scans from 26 mature WBp community members when in their core ranging area, during incursions into the EBp ranging area, and during IGEs. We collected data on sexual interactions and aggression with in-group and out-group members during 19 independent IGEs. During their shift in ranging, fruit availability was greater in the EBp ranging area, and WBp bonobos consumed more fruit during incursions than when in their core ranging area. Coalitionary intergroup aggression occurred during nine IGEs, and outcomes were consistent with imbalances in fighting power, in that larger WBp parties supplanted smaller EBp parties from the immediate area. However, communities reformed associations following 70% of coalitionary conflicts, and prolonged IGEs facilitated out-group sexual interactions and female transfers. The WBp community shift in ranging was likely motivated by ecological factors and responses to increased IGEs reflected a mixture of competitive and tolerant strategies.

Humans by far exhibit the greatest range in intergroup relations, including unprecedented scales of conflict (Bowles, 2009;Keeley, 1996;Shaw, 2003), but also examples of out-group cooperation and peace-keeping mechanisms, such as trade, reciprocal land use, and the exchange of marriage partners, which strengthen outgroup alliances and decrease intergroup aggression (Chapais, 2013;Fry, 2013). Thus, intergroup relations in humans are by nature flexible, reflecting the relative fitness benefits resulting from competition or cooperation in their current environment (Dyson-Hudson & Smith, 1978;Jaeggi et al., 2016;Majolo, 2019;Pisor & Surbeck, 2019;Robinson & Barker, 2017).
Our two closest living relatives, chimpanzees and bonobos, share several similarities in social structure and ecology (reviewed in : Fruth et al., 1999;Gruber & Clay, 2016), but a comparison of intergroup relations suggests biases toward predominantly competitive relations for chimpanzees and more tolerant relations for bonobos. Chimpanzees patrol and aggressively defend their home ranges (Herbinger et al., 2001) and subgroups (or parties) also travel into areas more frequently used by neighboring communities to access preferred foods that are not locally abundant (Wilson et al., 2012), to coerce copulations with fertile out-group females (Boesch et al., 2008), or to launch coordinated and sometimes lethal attacks on out-group members (reviewed in: Wilson et al., 2014). Responses to IGEs in chimpanzees are largely consistent with the intergroup dominance hypothesis (Crofoot & Wrangham, 2010;Sobolweski et al., 2012), which proposes that members of a group will form coalitions to aggressively compete against out-groups, and that outcomes of these conflicts will be decided by imbalances in fighting power, with groups with greater relative fighting ability (usually determined by the difference in the number of mature individuals in each group) aggressively excluding smaller groups from preferred areas (Crofoot & Wrangham, 2010;Majolo et al., 2020). The potential risks associated with IGEs for chimpanzees are reflected physiologically by increased concentrations of the glucocorticoid hormone cortisol, which is commonly associated with energetic or psychological stress, during IGEs (Samuni et al., 2019;Wittig et al., 2016).
Evidence from bonobo IGEs is more variable, but generally consistent with more tolerant intergroup relations relative to chimpanzees, especially concerning interactions among females (Furuichi, 2011;Jaeggi et al., 2016;White et al., 2013). Bonobo communities exhibit a greater degree of home range overlap than chimpanzees (Grueter, 2015) and little evidence for territoriality (Lucchesi et al., 2020;White et al., 2013). Several studies describe prolonged and largely peaceful mixed-community associations, even including some instances of out-group cooperation in food sharing (LuiKotale: Fruth & Hohmann, 2018) and coalitions (Wamba: Tokuyama et al., 2019). Several hypotheses relate the more tolerant intergroup relations in bonobos to reduced seasonality in fruit availability in bonobo habitats (Oelze et al., 2016) and reduced reliance on fruit relative to chimpanzees Nurmi et al., 2018), both of which are likely to reduce direct conflicts (or contest competition) over access to resources. However, there also is evidence that bonobos experience increased competition and conflict during IGEs. At Kokolopori, DRC, IGEs are associated with longer daily travel distances, which require modifications in feeding behavior to offset the associated energetic costs . Across field sites, IGEs are associated with increases in aggression specifically directed at out-group members (LuiKotale: Hohmann & Fruth, 2002;Wamba: Tokuyama et al., 2019;Kokolopori: Cheng et al., 2021), and a recent study at Kokolopori suggests that bonobos have increased urinary cortisol concentrations associated with IGEs , similar to chimpanzees.
While there is increasing evidence that bonobos experience energetic and physiological costs associated with IGEs, less attention has been paid to the potential benefits that may accrue through tolerant responses to IGEs and prolonged intergroup associations (but see: Pisor & Surbeck, 2019;Robinson & Barker, 2017). Such benefits are likely to be social, including opportunities for out-group mating (Lucchesi et al., 2020;Sakamaki et al., 2018). Considering females' high social status (Furuichi, 2011) and their less reliable indicators of ovulation compared with chimpanzees , out-group mating is more likely to result from tolerant interactions than from male coercion. Nonreproductive sexual interactions, such as same-sex genital contacts, have been linked to within-group cooperation among females (Hohmann & Fruth, 2000;Moscovice et al., 2017Moscovice et al., , 2019 and also may promote female out-group cooperation (Tokuyama et al., 2019), and facilitate female intergroup transfers, which have been observed during IGEs at other bonobo study sites (Wamba: Sakamaki et al., 2015).
At the individual level, there is evidence that male bonobos participate more than females in intercommunity aggression (Kokolopori: Cheng et al., 2021;Wamba: Tokuyama et al., 2019), and at Wamba, high-ranking males engage in the most out-group aggression (Tokuyama et al., 2019), which may represent a form of mate defense (Tokuyama et al., 2019). However, since high-ranking male bonobos monopolize mating opportunities and paternity within their own groups (Surbeck et al., 2010, they may also stand to benefit more than low-ranking males from tolerant out-group associations, if such associations facilitate out-group mating opportunities. As members of the dispersing sex, female bonobos of all ranks may benefit through more tolerant and prolonged IGEs. For young, low-ranking females, tolerant IGEs may help to reduce the risks associated with dispersal into novel habitats containing unfamiliar and potentially hostile groups (Kahlenberg et al., 2008;Lee & Strier, 2015). For older and higher-ranking females, tolerant IGEs provide opportunities to maintain out-group social networks that facilitate female out-group cooperation (Tokuyama et al., 2019) and provide indirect fitness benefits when social networks involve relatives (Ishizuka et al., 2018, reviewed in Pisor & Surbeck, 2019. We conducted a detailed analysis on a period of frequent IGEs between two habituated bonobo communities at the LuiKotale field site, Democratic Republic of the Congo (DRC). The Bompusa West community (WBp) has been fully habituated since 2007 and has an annual ranging area (or home range) of ~ 30 km 2 , which includes habitat on both sides of the Bompusa stream (Fruth & Hohmann, 2018). However, the WBp bonobos spend the majority of their time (97%, or 159/163 observation days in the 10 months leading up to this study) in the area to the West of the Bompusa stream, which we subsequently refer to as the WBp core ranging area. The neighboring Bompusa East community (EBp) has been habituated since 2015 and has an annual home range of ~ 20 km 2 primarily to the East of the Bompusa stream (Fruth & Hohmann, 2018). In the 10 months before this study, the community spent 100% of their time (out of 241 observation days) in ranging areas to the East of the Bompusa stream, which we subsequently refer to as the EBp core ranging area. The IGEs were triggered by a shift in the ranging patterns of the WBp community members, who were the focus of this study, to overlap with the core ranging area of the EBp community ( Fig. 1). Although our analysis is based on a short time period, we consider this an important case study to investigate the different factors that influence shifts in ranging, as well as individual responses during heightened frequencies of encounters with out-group members, for one bonobo community at LuiKotale.
We first test whether the shift in ranging patterns of the WBp community was driven by ecological factors (Ecological needs (ECO) hypothesis). If so, we predict that during incursions into the core ranging area of the EBp community: ECO 1) the WBp core ranging area will contain less fruit of confirmed bonobo foods compared to the EBp core ranging area, ECO 2) the WBp bonobos will consume more fruit when in the EBp core ranging area than when in their own core ranging area, and ECO 3) the WBp bonobos will spend less time feeding and traveling and more time resting when in the EBp core ranging area than when in their own core ranging area, since their energetic needs can be met faster, due to their increased access to higher quality foods (Doran, 1997).
We then test two hypotheses to explain responses of the WBp community to encounters with the EBp community: The intercommunity dominance (ICD) and the intercommunity tolerance (ICT) hypotheses (Table 1). Under the ICD hypothesis, we predict that: ICD 1) During IGEs, WBp bonobos will bias aggression towards  Table 1 Comparison of predictions under the intercommunity dominance (ICD) and intercommunity tolerance (ICT) hypotheses to explain bonobo responses to intergroup encounters (IGEs). Numbers indicate predictions as referred to in the text. The direction of support received for each prediction is indicated Predictions Inter-community dominance (ICD) Inter-community tolerance (ICT)

Responses to IGEs
Aggression will be biased towards out-group compared to in-group members, and will be more intense when directed at out-group members (ICD 1) Tolerant interactions will be biased towards out-group compared to ingroup members (ICT 1)

ICD
Immediate outcomes of intergroup aggressive conflicts Decided by differences in group fighting power, with the smaller group being displaced from the conflict area (ICD

2)
Decided by differences in dominance relations between the individuals involved, and unrelated to relative group fighting power (ICT 2) ICD Impacts of inter-group aggression on inter-group associations Following inter-group aggression, members of the two communities will fission, ending the IGE (ICD 3) Following inter-group aggression, some members of both communities will continue to associate together (ICT 3) out-group compared to in-group members, and out-group aggression will be more intense in form than in-group aggression, including more large-scale coalitions and contact aggression. ICD 2) Immediate outcomes of out-group aggression will be determined by differences in fighting power, with larger groups aggressively displacing smaller groups from the conflict area. ICD 3) Following intercommunity aggression, the two communities will fission and avoid further associations, and ICD 4) For the dominant community, time spent feeding will not differ between incursions and IGEs, since they will competitively exclude members of the smaller community from preferred resources. Support for the ICD hypothesis would suggest that bonobos benefit by competing with out-group members during IGEs. Under the intercommunity tolerance (ICT) hypothesis, we predict that: ICT 1) WBp individuals will respond to IGEs by seeking out affiliative interactions with out-group members, resulting in a greater likelihood of tolerant associations with members of fusing parties following fusions with out-group compared to in-group members. ICT 2) Out-group aggression will primarily occur between dyads or small coalitions (similar to in-group aggression) and will be determined by differences in dominance relations between the specific individuals involved. As a result, group size before out-group aggression will not predict the outcome of the aggression. ICT 3) Members of both communities will continue to associate together following out-group aggression, and ICT 4) Prolonged IGEs will result in larger combined party sizes of WBp and EBp bonobos compared with WBp party sizes during incursions without IGEs. While associating in larger parties, WBp bonobos will experience increased scramble competition over access to food, resulting in more time spent feeding and moving during IGEs compared to incursions. Support for the ICT hypothesis would suggest that bonobos gain benefits by behaving tolerantly towards out-group members during IGEs.

Study site and subjects
The LuiKotale study site is situated in an area of continuous equatorial lowland rainforest near the southern sector of Salonga National Park (2°47'S, 20° 21'E). The study site contains a network of ~ 80 km of transects that cover the core ranging areas of the Bompusa West and East communities. The Bompusa stream is in most places too deep for bonobos to cross directly and thus acts as a natural barrier reducing contact between the two communities. However, members of both communities sometimes use natural bridges, such as fallen logs or overhanging vegetation, to cross the stream and spend from hours to days in the core ranging area of the other community. Our analyses focus on data collected by LRM and assistants over 92 observation days between March and June 2017, covering half or full day follows of the WBp community. This short time period involved a major shift in the typical ranging patterns of the WBp community to overlap extensively with the core ranging area of the neighboring EBp community (Fig. 1), resulting in frequent IGEs (Table S1). During the study period, the WBp community consisted of 18 female and 8 male mature individuals (estimated to be > 10 years of age) who were the focus of data collection, along with 8 juveniles (aged between 6-9 years) and 11 infants (< 6 years of age; Table 2). In comparison, the EBp community had fewer members across age categories (Table 2).

Ethical note
All research adhered to the legal requirements of the DRC and the Institut Congolais pour la Conservation de la Nature (ICCN). Methods for data collection were noninvasive and adhered to the American Society of Primatologists (ASP) Principles for the Ethical Treatment of Non-Human Primates.

Determining fruit availability
We established forty 10 m^2 phenological plots (total area = 0.4 ha) at 100-m intervals located parallel to each other and bisecting the core ranging area of each community, from north to south. Within plots, we measured diameter at breast height (DBH) for all trees with > 5 cm DBH, and taxonomically identified all trees with > 10 cm DBH. For the subset of identified trees that were bonobo feeding trees (Table S2), we measured fruit availability using a 0-4 scale where 0 = little to no visible fruit, 1 = approximately 25% of the canopy fruiting, 2 = approximately 50% of the canopy fruiting, 3 = approximately 75% of the canopy fruiting, 4 = > 75% of the canopy fruiting. For simplification, we included all visible fruit, regardless of their degree of ripeness. We measured fruit availability on the 40 plots in each ranging area over four days coinciding with a period when the WBp community was ranging exclusively in the EBp ranging area. We then calculated a Fruit Availability Index (FAI) for each tree by multiplying the fruit production score by the tree basal area, which is positively correlated with crop size at other field sites (Chapman et al., 1992;Hawes & Peres, 2016). We summed this value for all fruit-bearing trees of a given species per habitat, resulting in a density estimate of fruit availability per species (FAI/ha) during the incursion period (Table S2). As a measure of more general food availability outside of the incursion period, we also compared the density and basal area of bonobo feeding trees between ranging areas independent of whether or not they had fruit.

Behavioral data
We assigned behavioral data to one of three broad contexts: I) "Baseline" when the WBp focal party was in its core ranging area; II) "Incursion" when the WBp focal party was within the EBp core ranging area, but not in visible contact with members of the EBp community; III) "IGE" when at least some members of the WBp focal party had visual contact with members of the EBp community. Similar to other authors , we considered an IGE to end when bonobos were no longer in visual or auditory contact with members of other communities. We considered IGE events to be independent when there was no visual or auditory contact between different communities for at least one hour. We used Garmin GPS devices (GPSMAP® 62) to georeference focal parties of the WBp community every 5 min. We recorded cumulative WBp party size at 30-min intervals, including all mature individuals observed in the previous 29 min. Whenever additional researchers observed the EBp community, we obtained corresponding data on their party size during encounters. We recorded activity (moving, feeding, resting, social interaction) of each mature individual using fifteen-minute instantaneous scans (N = 4,299 scans, Mean ± SD = 165.35 ± 82.93 per individual). For feeding scans (N = 1,824, Mean ± SD = 70.10 ± 35.90 per individual), we recorded food type (fruit, seeds, leaves, piths, insects, meat, other) and species. For scans with social interactions (N = 409, Mean ± SD = 17.04 ± 10.39 per individual), we recorded the group identity (in-group or out-group) of partners. During all scans, we also recorded the group identity (in-group or out-group) of every individual within close proximity (5 m) of the instantaneous scan subject. In addition to the scan sampling, we recorded all observed occurrences of the following social behaviors with in-group or out-group partners: 1) Same-and oppositesex sexual behavior including copulations, female genito-genital (GG) rubbing, and other genital contacts. We considered sexual interactions to be independent when they were separated by an interval of ≥ 1 min between events involving the same dyad; 2) Grooming, measured as the number of observation minutes that partners groomed each other; 3) Food sharing, defined as the passive or active transfer of a potentially monopolizeable food from a food possessor to a bystander; and 4) Aggression, defined as displays, chases, hitting, or biting, directed by one or more individuals toward one or more target individuals, with coalitionary aggression involving joint aggression by two or more individuals. We considered aggressive events to be independent if they were separated by an interval of ≥ 10 min without any aggressive interactions between the same individuals. In the case of intercommunity coalitionary aggression, we calculated "relative fighting power" for each community based on all mature individuals present during the encounter. We categorized the outcome of out-group coalitionary aggression as a win for the WBp community if EBp individuals retreated, a loss if WBp individuals retreated, or a tie if some members of both communities remained in close proximity immediately after the conflict. To maximize our chances of observing important social behaviors, two to three observers recorded data on WBp individuals in different areas during each IGE. However, WBp community members were sometimes spread out over large areas, and visibility was sometimes poor during IGEs, making it difficult to observe all interactions. As a result, our data should be considered representative rather than comprehensive.
We assigned dominance ranks to mature members of the WBp community based on all occurrences of independent in-group aggressive events (N = 243) over a 9-month period from Mar-Nov 2017, using the Elo-rating method (Neumann et al., 2011) in the R package "EloRating" (Neumann & Kulik, 2020). Because we wanted to test how dominance rank influenced responses to IGEs for each sex separately, we standardized Elo ratings between 0-1 for each sex, with higher scores indicating a greater proportion of same-sex individuals dominated.

Statistical analyses
We analyzed scan data using linear and generalized linear mixed-effects models fit and interpreted within a Bayesian framework. Bayesian models were implemented in Stan (Carpenter et al., 2017) through the brms R package (Bürkner, 2017). In all models, continuous predictors were log-or square-root transformed when necessary to achieve normal distributions and then standardized, such that the mean is 0 and units are standard deviations. In each model, we included random effects of subject and random slopes for all fixed effects that varied within levels of a random factor (Barr et al., 2013). To improve convergence and guard against overfitting, we specified mildly regularizing priors (for regression slopes: Gaussian with mean 0 and SD 5. For variance components: Half-Cauchy, with location 0 and scale 2). Convergence was good in all models as Rhat values were 1 and effective sample sizes > 1,000 in all cases. Bayesian models produce a posterior probability distribution for each estimated parameter. We present the means and 95% credible intervals (CI) of this distribution for each parameter, as well as the proportion of the distribution that supports a given association (e.g., p Baseline>East , or p odds ratio>1 ). By presenting quantitative support for predictions instead of relying on arbitrary significance thresholds we encourage probabilistic rather than dichotomous inference and avoid the pitfalls of p-hacking. Readers who prefer binary thresholds may refer to the 95% CIs.
To measure local fruit availability during the study period (ECO 1), we tested for differences in the number of trees and the cumulative FAI per plot for species of confirmed bonobo fruits in the WBp core ranging areas and in the EBp core ranging area. In the models, each row of data represents the number of trees, or the cumulative FAI score, for bonobo feeding trees within one plot in the WBp (N = 40 plots with 125 trees, cumulative FAI = 8.2/ha) or EBp core ranging area (N = 40 plots with 120 trees, cumulative FAI = 39.2/ha). To test for influences of shifts in ranging on feeding behavior (ECO 2), we compared the proportion of each bonobo's daily feeding scans that they spent feeding on fruit when WBp bonobos were on the west side of the Bompusa stream, in their core ranging area or on the East side of the Bompusa stream, in the EBp core ranging area. Each row of data in the model represents the proportion of a subject's daily feeding scans that they spent feeding on fruit when in their core ranging area (N = 312 daily proportional fruit scores, 12.48 ± 3.99 per subject) or when in the EBp core ranging area (N = 468 daily proportional fruit scores, 19.50 ± 8.56 per subject). We included an offset term to account for the different number of feeding scans per subject. To determine whether activity patterns were consistent with increased access to high quality foods during incursions (ECO 3) and competitive exclusion (ICD 4) or increased scramble competition (ICT 4) during IGEs, we used multinomial models (Koster & McElreath, 2017) to compare the proportion of scans that each individual spent feeding, moving, resting, and socializing during baseline (N = 1,830 scans, 70.38 ± 34.83 per subject), incursion (N = 1,922 scans, 76.88 ± 41.90 per subject), and IGE (N = 547 scans, 23.78 ± 14.43 per subject) contexts. Each row of data in this model represents one 15-min activity scan for one individual. We included sex, rank, and WBp party size as control predictors, all of which may additionally influence access to resources or the intensity of scramble competition.
As a measure of out-group social tolerance (ICT 1), we compared responses of WBp focal party members toward members of joining parties during the first hour following fusions. We used a binomial model to compare the likelihood that WBp focal party individuals fed, rested, or groomed while members of joining parties were within close proximity when joining parties consisted of only in-group members (N = 75 scans following 10 fusion events) or only out-group members (N = 110 scans following 12 fusion events). Each row of data in this model represents for each individual present at each fusion event, the proportion of their relaxed scans (while feeding, resting, or grooming) that they spent in close proximity to members of joining parties in the hour following fusion events with either in-group or out-group members.
The data on aggression were too sparse for modeling and did not meet the criteria for t-tests (Shapiro-Wilk test, W = 0.90, P = 0.026). We used a Wilcoxon Signed-Ranks test to determine whether WBp bonobos directed more aggression at out-group vs. in-group members during IGEs (ICD 1). We used descriptive statistics to examine the immediate outcomes of intergroup aggressive conflicts (ICD/ICT 2) and the impacts of aggression on intergroup associations (ICD/ICT 3).
To compare individual responses to IGEs, we used Pearson correlations to examine the relationship between out-group aggressive interactions, sexual interactions and dominance rank for males and females separately. We also compared occurrences of female out-group transfer during and outside of the study period to examine whether frequent IGEs may help females to assess dispersal options and make dispersal decisions. The datasets analyzed in the present study are available either in the manuscript (for Wilcoxon Signed-Rank tests and Pearson correlations) or through the GitHub data repository (for Bayesian models, https:// github. com/ lmosc ov/ Luiko tale_ bonobo_ IGEs).

Overview of behavior during incursions and IGEs
During the study period, the WBp bonobos were observed for 546.2 h, during which they spent over half of the observation time across the Bompusa stream in the core ranging area of the EBp community (275.6 vs. 270.6 h in their own ranging area; Fig. 1). During incursions, there was little evidence that WBp bonobos engaged in furtive patrolling behavior or concealed their presence. Rather, members of focal parties exhibited frequent long-range vocalizations (N = 62 total, 0.29 per incursion hour) and also buttress drummed on three occasions. Regardless of whether the long-range calls were directed at in-group or out-group members, it is likely that any bonobos within 700 m would have heard the calls (Schamberg et al., 2016).
During incursions, members of the WBp community were involved in 19 independent IGEs, for a total of 60 observation hours (or 22% of total observation time while in the EBp core ranging area; Table S1). The duration of encounters ranged from 0.33 to 7.67 h and lasted mean ± SD = 3.3 ± 2.2 h. Two pregnant females remained apart from the rest of the community during the study period and were never observed during incursions or IGEs. The two lowest ranking males were present during incursions but were either not observed at all, or only observed once during IGEs. All other community members were observed in a median of 15.5 IGEs (range 2-19). During IGEs, WBp adults were involved in 39 independent aggressive incidents, of which 64% (N = 25/39 events) involved out-group members. Out-group aggression included 10 large-scale coalitionary aggressive events, which occurred during 47% of encounters (9/19 IGEs). One IGE involved two independent coalitionary aggressive events, separated by 1.5 h of tolerant inter-community association. Out-group coalitionary aggression involved the majority of WBp adults present, targeted both males and females from the EBp community, and persisted for several minutes. Following three coalitionary intercommunity aggressions, female members of the EBp community who had been involved in the aggression were observed with wounds (Table S1). During one incident, several WBp females targeted an EBp female, May, and hit and bit her repeatedly while she tried to protect her young infant. After that encounter, May had cuts on her swelling, although her infant appeared uninjured. Following two other coalitionary aggressions, EBp female Pem was observed with wounds, including in one case a deep wound on her sexual swelling (Fig. S1). We presumed that these wounds were incurred during the aggression, although we did not directly witness this. No WBp community members were observed wounded following aggressive events.
The majority of out-group coalitionary aggression (70%, 7/10 events) occurred in feeding trees, primarily when members of one or both communities were feeding on Dialium sp. (N = 6 events). However, there were also numerous occasions when members of both communities co-fed in Dialium trees without any aggressive interactions (Table S1), so the specific triggers of large-scale aggression remain unclear. In addition to the coalitionary out-group aggression, there were 15 dyadic out-group aggressive interactions involving a WBp individual with either a same-sex (N = 6 events) or opposite-sex (N = 9 events) out-group target. Dyadic out-group aggression also occurred in a range of contexts, including immediately following intercommunity fusions and while feeding, resting, or traveling.
During IGEs, WBp subjects were involved in 21 copulations, of which 71% (N = 15/21 copulations) occurred with EBp community members. There were 50 same-sex sexual interactions, of which 56% (N = 28/50 interactions) occurred with EBp individuals. Female same-sex sexual interactions (GG-rubbing and other genital contact) accounted for all of the same-sex sexual interactions with out-group members, and all but one of the same-sex sexual interactions among in-group members during IGEs. Affiliative social interactions included out-group grooming, which occurred during seven IGEs over 103 observation minutes (3% of IGE observation time) and out-group food-sharing, which occurred during two IGEs (Table S1).

Testing the ecological needs hypothesis
Comparison of fruit availability (ECO 1): The density and basal area of trees of confirmed bonobo food species were similar between habitats on the west and west of the Bompusa stream (312 trees/ha, with a basal area of 30.78 m 2 /ha in the west vs. 300 trees/ha, with a basal area of 35.93 m 2 /ha in the east; Tables S2 and S3). However, during the survey period FAI scores were higher on plots in the east (predicted mean FAI score on plots in the east = 0.47, 95% CI = 0.26-0.68) compared with plots in the west (predicted mean FAI score on plots in the west = 0.24, 95% CI = 0.10-0.40, p East>West = 0.95; Table 3).
Comparison of fruit consumption (ECO 2): The WBp bonobos also differed in their dietary selection based on their location. When in the EBp ranging area, bonobos spent a greater proportion of their daily feeding time on fruits (predicted probability of feeding on fruit when in the east: mean = 0.43, 95% CI = 0.38-0.49), than when in their own ranging area (predicted probability of feeding on fruit when in the west: mean = 0.30, 95% CI = 0.26-0.36, p East>West = 1.00; Table 4). Neither sex nor dominance rank influenced the proportion of fruit consumed (Table 4).

Evaluating the intercommunity dominance and tolerance hypotheses
Responses to encounters with members of different communities (ICD/ICT 1): During IGEs, WBp bonobos were involved in more aggressive events with out-group individuals (median = 3, range = 0-10) than with in-group individuals (median = 0.5, range = 0-6, Wilcoxon, T + = 136, N = 16 (3 ties), P < 0.0001). If aggression occurred randomly following IGEs, we would expect WBp individuals to be more frequent targets, given that there were typically more WBp than EBp individuals present at each IGE. Out-group aggression often involved large-scale coalitions (10/25 events, 40% events) and sometimes involved physical contact (7/25 events, 28%), resulting in three observed injuries to EBp individuals. In comparison, ingroup aggression during IGEs was less intense, with 92.8% of events (N = 13/14) consisting of dyadic noncontact aggression, such as displays or chases. In contradiction to ICT 1, WBp bonobos were less likely to maintain close proximity to members of joining parties when the parties consisted of EBp individuals (predicted probability of tolerant post-fusion association with out-group member: mean = 0.05, 95% CI = 0.00-0.23) compared with fusions with other WBp individuals (predicted probability of tolerant post-fusion association with in-group member: mean = 0.47, 95% CI = 0.00-0.95, odd's ratio [OR] for probability of tolerant postfusion association with out-group vs. in-group members = 0.12, 95% CI = 0.00-0.40, p OR<1 = 0.98; Table 5).
Immediate outcomes of inter-group aggressive conflicts (ICD/ICT 2), and impacts of conflicts on intergroup associations (ICD/ICT 3): Of the eight cases of coalitionary aggression where data on party composition were complete for both Table 4 Model estimates of proportion of fruit in feeding scans of Bompusa West bonobos at LuiKotale from March-June 2017, when they were in the Bompusa East community core ranging area, in comparison with when in their own core ranging area †, ‡ Estimates refer to comparison with the reference categories: † Bompusa West core ranging area. ‡ Male. communities, in seven cases the WBp community had a numerical advantage (mean = 1.4:1), and in the remaining case the two communities had equal numbers of mature party members present (Table 6). Immediate outcomes of intercommunity coalitionary aggression were generally consistent with imbalances in fighting power (ICD 2), in that the WBp community had the numerical advantage and also clearly dominated the EBp community in 75% (6/8) of the coalitionary aggressive events where full data on community composition were available, causing them to flee the encounter area. In the remaining two events the WBp community also numerically out-numbered the EBp community, but there was no clear winner and members of both communities remained in the same area immediately after the encounter ( Table 6). Regardless of short-term outcomes, following 70% of all intercommunity coalitionary conflicts (N = 7/10 events), some members of both communities reestablished contact and continued to associate together (Table 6). Dyadic interactions accounted for 60% (15/25) of intergroup aggression. While the dominance relationships between the individuals involved were not always known, in three instances a low-ranking WBp male (Em or Ze) aggressed against and displaced a relatively high-ranking EBp female (May or Kim). Although our analyses only include aggression among mature individuals, on several occasions we also observed one or more WBp juveniles physically attack a mature EBp female (May and an unidentified female), causing the target to flee from the area (Table S1). These observations suggest that outcomes of dyadic intergroup aggression were not decided by differences in dominance relations between specific individuals involved.

Influence of sex and rank on individual responses to IGEs
Of the WBp individuals present during incursions, 88% of males (N = 7/8) and 81% of females (N = 13/16) participated in out-group aggression. For males, rank was positively correlated with involvement in out-group aggression (Pearson, r = 0.77, CI = 0.15-0.96, t = 2.96, df = 6, P = 0.02; Fig. 3a), whereas for females there was no relationship between rank and involvement in out-group aggression (Pearson, r = 0.02, CI = − 0.48-0.51, t = 0.07, df = 14, P = 0.94; Fig. 3b).  Male dominance rank also predicted out-group copulation success during IGEs (Pearson, r = 0.77, CI = 0.15-0.96, t = 2.99, df = 6, P = 0.02; Fig. 4a). Although all WBp males were present during some incursions, several lower-ranking males avoided IGEs, and the three top-ranking males were responsible for all of the outgroup as well as in-group copulations during IGEs. However, there was no direct relationship between male aggression and copulation success (Pearson, r = 0.46, CI = − 0.36-0.88, t = 1.29, df = 6, P = 0.25), because several low-ranking males were involved in out-group aggression (Fig. 3a) but were never observed copulating during IGEs. There also was little evidence that the three top-ranking WBp males used aggressive tactics to obtain copulations during IGEs. There was no aggression observed in the 15-min periods preceding the four out-group copulations that WBp males were involved in, and aggression occurred only once in the 15-min periods before the 7 in-group copulations that WBp males were involved in.
Of the WBp females who were present during incursions, 31% (N = 5/16) were observed copulating with out-group males. Of these females, four were cycling Fig. 3 Relationship between same-sex dominance rank and involvement in out-group aggression for Bompusa West bonobo males (a, indicated with circles) and females (b, indicated with triangles), at LuiKotale from March-June 2017. Plots indicate regression lines and 95% confidence intervals and they were responsible for all but one of the WBp female out-group copulations (10/11 copulations; Table S5). In contrast to males, rank did not influence access to out-group copulation partners for females (Pearson, r = − 0.05, CI = − 0.54-0.45, t = − 0.21, df = 14, P = 0.83). Of females present during incursions, 63% (N = 10/16 females) had sexual interactions with out-group females, and access to out-group partners for same-sex sexual interactions was also not related to female dominance rank (Pearson, r = 0.02, CI = − 0.48-0.51, t = 0.09, df = 14, P = 0.93; Fig. 4b).
During the 3-month study period, four females transferred from the WBp to the EBp community (Table 2). Three cases involved first time transfer events of natal juvenile females between 7-8 years of age, who left the WBp community within three days of each other and associated with members of the EBp community for short periods of time, from days to weeks, in some cases moving back and forth multiple times between the two communities. All three of these females returned to the WBp community in the short-term but permanently transferred from the WBp community in the subsequent years (B. Fruth, unpublished data). In the fourth case, Fig. 4 Relationship between same-sex dominance rank of Bompusa West bonobos at LuiKotale and participation during inter-group encounters (IGEs) in (a) copulations with in-group or out-group partners for males, indicated with circles and (b) same-sex sexual interactions with out-group partners for females, indicated with triangles. Plots indicate regression lines and 95% confidence intervals. Data are from March-June 2017 a mature low-ranking female (Ev) who had emigrated from the EBp community to the WBp community shortly before the study returned to the EBp community. In contrast to the relatively fluid movement of WBp females between the two communities during this brief study period, in the entire year before this study, there were no confirmed short-or long-term transfers of WBp females from the WBp community, and only two transfers of out-group females to the WBp community. On one occasion, an unknown female transferred into the WBp community during an IGE with an unidentified community and then disappeared after 1 month. The other case involved the first time transfer described above of the female Ev from the EBp to the WBp community, which occurred outside of an IGE.

Discussion
Responses to IGEs by nonhuman primate species are highly variable across groups and among individuals, due to socioecological factors and individual attributes that influence the cost-benefit tradeoffs of adopting more competitive or tolerant strategies (Majolo et al., 2020;Pisor & Surbeck, 2019). Among bonobos as well, research from an increasing number of field sites and communities indicates the potential for high levels of out-group aggression and cooperation, sometimes even within the same encounter (Hohmann & Fruth, 2002;Tokuyma et al., 2019). Overall, our results suggest that incursions by the WBp bonobo community into the EBp core ranging area during the study period were driven by temporal variation in local food availability, consistent with ecological need. Responses to IGEs primarily supported inter-community dominance (ICD 1, ICD 2, and partial support for ICD 4). The WBp community clearly dominated the EBp community during most instances of coalitionary intergroup aggression, displacing them from preferred areas and causing several injuries. The lack of increased movement by WBp individuals during IGEs in comparison with incursions also is consistent with competitive exclusion of out-group individuals from feeding areas. However, there also was some support for intercommunity tolerance (ICT 3 and partial support for ICT 4). Members of the different communities often reformed associations following out-group coalitionary aggression, and prolonged associations facilitated out-group social interactions that benefitted females and high-ranking males. During IGEs, WBp bonobos traveled in larger party sizes and spent more time feeding and less time resting compared with incursions, all of which is consistent with increased scramble competition during associations with out-group members.
Although the two habitats did not differ in the density or basal area of confirmed bonobo food species, phenological and behavioral data indicate that during the study period, WBp bonobos had greater access to fruit foods while in the EBp ranging area. Such micro-habitat variation in fruit availability is consistent with previous phenological surveys at LuiKotale (Hohmann et al., 2006). The WBp bonobos also spent less time feeding and more time resting during incursions than when in their core ranging area, both of which are consistent with consumption of higher quality foods. The combined evidence thus indicates an ecological explanation for the shift in ranging during the study period. This study occurred over a short period, and further data are needed to determine whether periods of increased IGE frequency at LuiKotale are related to ecological need more generally. Analyses over longer periods at the Wamba and Kokolopori bonobo field sites indicate that IGEs increase during times of habitat-wide high food availability (Lucchesi et al., 2020;Sakamaki et al., 2018). However, neither study directly compared food availability or food intake of bonobo communities while in their more exclusive core ranging areas vs. in the areas of frequent IGEs, so it is possible that microhabitat differences in food availability at these sites may have influenced ranging patterns and increased the likelihood of encounters.
Although we were not able to observe all social interactions during IGEs, our method of recording 15-min instantaneous scan samples from all visible group members should be representative of WBp bonobo responses to out-group individuals during one period of intensive IGEs. During IGEs, WBp bonobos biased their aggression towards out-group individuals and exhibited a greater intensity of aggression, including several occurrences of large-scale coalitionary aggression. Consistent with their absolute differences in community size, WBp parties almost always out-numbered EBp parties during IGEs, and showed evidence of inter-group dominance in displacing EBp parties from resources. The fact that WBp parties did not always win in intergroup conflicts, despite their numerical advantage, is not entirely inconsistent with intergroup dominance, which also predicts that independently of their size, groups defending their core ranging area may be more motivated to fight and more likely to win in IGEs (reviewed in Majolo et al., 2020). However, the aggressive responses observed here did differ in several ways from patterns typically associated with intergroup dominance in chimpanzees. Aggression never escalated to the level of lethal injuries that are sometimes observed during chimpanzee IGEs (reviewed in Wilson et al., 2014), although imbalances in power among these two bonobo communities during conflicts (max = 2:1) did not reach the stark contrasts reported during some lethal raids among chimpanzees (median ratio for attackers relative to victims = 8:1; Wilson et al., 2014). On one occasion we found a single EBp female in association with a WBp party, but soon afterwards they fused with an EBp party that was nearby. Thus, it remains unclear whether WBp bonobos would respond more aggressively in out-group interactions under more extreme imbalances in fighting power and when encountering lone individuals.
While evidence from the majority of chimpanzee study sites (reviewed in Wilson et al., 2014) and from bonobos at Wamba (Tokuyama et al., 2019) and Kokolopori , suggests that males are more frequently involved in outgroup aggression than females, at LuiKotale the imbalances in fighting power between the WBp and EBp communities were primarily due to the greater relative number of mature females in the WBp community. Moreover, we found that WBp females of all dominance ranks were involved in out-group aggression, suggesting that the costs of increased aggression during IGEs were more evenly shared among females. In contrast, rank positively predicted involvement in out-group aggression for males. The three highest-ranking males also monopolized mating success during IGEs, although male aggression did not directly predict male mating success, and there was little evidence that out-group mating was associated with coercion, as can occur during IGEs in chimpanzees (Boesch et al., 2008). More research is needed to determine how community demographics and individual characteristics influence the frequency and severity of intergroup aggression in bonobos.
There also was some support for inter-community tolerance. Despite evidence that responses to IGEs were more aggressive than tolerant, more often than not following large-scale coalitionary conflicts some members of the winning and losing sides rejoined each other and continued to associate together, which is rarely reported in other primate species (e.g., spider monkeys: Aureli et al., 2006;chimpanzees: Crofoot & Wrangham, 2010;capuchins: Crofoot, 2013;Scarry, 2013). Decisions to remain in association following out-group aggression may be influenced by individuals who stand to benefit more through prolonged IGEs. These individuals include nulliparous females, based on the fluid short-term transfers (or visits) of three juvenile females, and the secondary transfer of one mature, nulliparous female (Ev), coinciding with this period of increased IGEs. At Wamba, there also is evidence that IGEs facilitate short-term visits between females from different communities (Sakamaki et al., 2015). The ability to flexibly transfer between communities multiple times within the context of tolerant IGEs may be an important part of the process by which young female bonobos make permanent dispersal decisions (reviewed in Sakamaki et al., 2015) and may reduce the numerous risks associated with female dispersal for primates more generally (Kahlenberg et al., 2008;Lee & Strier, 2015).
Our results also suggest that prolonged IGEs can provide social benefits for highranking males, who monopolized in-group and out-group copulations during IGEs. High-ranking males at LuiKotale and Wamba are able to effectively monopolize paternity within their own communities (Ishizuka et al., 2018;Surbeck et al., 2017), and our data suggest that they may also be more attractive to out-group females, although there is as yet little evidence for intercommunity paternity in bonobos. The majority of WBp females had socio-sexual interactions with out-group females, who represent potential out-group cooperation partners for food sharing (this study; Fruth & Hohmann, 2018) and for out-group coalitionary support against males (Tokuyama et al., 2019). Given the high social status of females within their own groups, the potential contribution of female intercommunity alliances to maintaining inter-group relations deserves more attention (Furuichi, 2011). One form of intergroup cooperation that is commonly observed in humans is reciprocal resource buffering, in which groups tolerate out-group presence in their ranging area during times of local abundance, and in turn are able to access out-group resources during times of local shortfall (reviewed in: Jaeggi et al., 2016;Robinson & Barker, 2017). Given that we analyzed only a brief period of one-sided encounters, we could not directly test for this form of inter-community cooperation at LuiKotale. However, the evidence that this frequent period of incursions did provide access to better food for WBp bonobos, that most IGEs were characterized by prolonged associations and affiliative interactions, and that tolerant incursions have been observed in the reverse direction at this same study site (Fruth & Hohmann, 2018), is suggestive of reciprocal resource buffering at LuiKotale and highlights an important area for further research using long-term data.