Swarm Robotics, which studies the collective behaviors of large populations of interacting robots with simple embodied cognition, is an ideal testbed for studying a dominant theory in evolutionary anthropology - the human self-domestication hypothesis - which suggests that much of humans’ uniqueness is the result of an evolutionary process favoring increased prosociality over aggression. However, the environmental conditions that may favor prosocial behaviors are currently unclear. Here we introduce the notion of parametrizable prosociality to classic swarm robotics models, and test the foraging and communication behaviors of robots with different degrees of prosociality under different environmental conditions, which have been previously implicated in eliciting this increase in prosocial behavior in human history. Our results show that in abundant environments, higher innate prosociality is consistently beneficial only in the absence of aggressive competition.
Nevertheless, social agents typically outperform aggressive agents in the short-term in both abundant and scarce environments. In scarce environments, this short-term advantage is especially beneficial as it enables agents to forage as much food as possible before depletion. together, our results suggest that prosociality provides an evolutionary advantage in specific conditions, which maps to the potential environmental niches in which early humans have evolved.