Summary
Even though the Theory of Mind in upper primates has been under investigation for decades, how it may evolve remains an open problem. We propose here an evolutionary game theoretical model where a finite population of individuals may use reasoning strategies to infer a response to the anticipated behavior of others within the context of a sequential dilemma, i.e., the Centipede Game. We show that strategies with bounded reasoning evolve and flourish under natural selection, provided they are allowed to make reasoning mistakes and a temptation for higher future gains is in place. We further show that non-deterministic reasoning co-evolves with an optimism bias that may lead to the selection of new equilibria, closely associated with average behavior observed in experimental data. This work reveals both a novel perspective on the evolution of bounded rationality and a co-evolutionary link between the evolution of Theory of Mind and the emergence of misbeliefs.
Subject areas: Behavioral neuroscience, cognitive neuroscience, game playing
Graphical abstract
Highlights
-
•
Boundedly rational strategies evolve readily in the incremental centipede game
-
•
Strategies with the theory of mind change the centipede game into coordination game
-
•
Intermediate levels of reasoning co-evolve with optimistic beliefs about others
-
•
The uncertainty about future gains is vital for the evolution of theory of mind
Behavioral neuroscience; Cognitive neuroscience; Game playing
Introduction
Social cognition is fundamental to human decision-making.1,2 It allows people to consider the beliefs, desires, and intentions of others when making choices within social interactions.3,4,5,6,7 The ability to see others as beings with mental states and reason about them is called Theory of Mind (ToM),8 which covers a wide spectrum of cognitive and affective capacities. Possessing ToM is considered to be beneficial since it allows one to anticipate (and potentially outsmart or align with) the behavior of others, selecting consequently actions that are most appropriate in a given social situation. Neurological disorders such as autism spectrum disorder have been linked to the impairment of ToM,3,9,10,11,12 where affected individuals have difficulties in assigning internal states to, or recognizing emotions expressed by, others.
Despite many experiments performed to assess the level of ToM in different species,13,14 things remain unclear regarding its evolutionary origins. The current consensus appears to be that ToM evolved as a consequence of the increasingly complex social interactions that early humans had to deal with3,5,15,16,17,18: Living in groups required humans to have the ability to discern who may be cooperative and who may defect, acquiring thus the capacity to identify honesty and deception and to act accordingly. Alternative theories continue to appear19 as there is no actual data to construct the real picture about ToM’s origin. In general, the relevance of ToM has been argued both from a competitive5 and cooperative20 perspective, with the latter being considered to have produced the more sophisticated ToM that is associated with human intelligence.7
Lacking historical data, potential evolutionary routes to ToM may be explored through evolutionary models21,22,23,24: Early work by Stahl examined via evolutionary game theory (EGT) methods for infinite populations whether smarter players, modeled as a hierarchy of best-response strategies, could outcompete the less smart ones.21 An extreme assumption of this model was that all players were perfectly informed about the distribution of smartness in the population (or at least about the distribution of smartness of players less smart than themselves). His work showed that smartness expressed as a higher ToM level does not lead to superior fitness and concluded that being right – i.e., taking the right action – is as good as being smart. Devaine et al.23 demonstrated, in a replicator model where individuals are endowed with a sophisticated meta-Bayesian mechanism to update beliefs and forecast the behavior of other players,25 that individuals with such higher-level Bayesian ToM benefit from competitive games as opposed to cooperative ones, where the former apparently contradict Stahl’s earlier results. Their observations strongly depend on a Bayes-optimality assumption, which, while aligning with the classic rationality assumptions in economic agents, is at odds with many observations on biases in human decision-making. More recently, Qi and Vul24 analyzed a similar idea, asking what type of environment is more conducive to the evolution of a Bayesian ToM agent, comparing it with several fixed-action agents as well as those using other types of inference or learning to determine a co-player’s attitude toward the focal player. They showed that uncertainty in the game environment leads to the dominance of such a Bayesian ToM strategy, stressing the importance of uncertainty about the outcomes in environments for the evolution of ToM as in Rusch et al.2
Our work differs from these lines of research in that we do not make strong assumptions about the knowledge of individuals nor about their predictive capacity concerning some hidden characteristic of co-players. We investigate to which extent, within the framework of evolutionary game theory in finite populations, individuals that have personal beliefs about the behavior of others and can reason (or not) about these beliefs with different levels of sophistication lead to the evolution of sophisticated reasoning capacities. In this quest, we further analyze what they believe in and how they act. While strategies have predefined beliefs and different levels of sophistication in their reasoning, they will use all the same reasoning process (RP) to arrive at their choices, as is specified in detail later in discussion. The present model does not consider other elements, such as belief updating or attitude prediction in repeated interactions, although its extension to include such features is feasible. At this stage, however, no comprehensive answers to the previously mentioned basic questions have been provided in the literature.
To answer the question above, one needs to rely on social decision processes that are relevant to the study of ToM,2 i.e., tasks with a level of ambiguity or uncertainty about the effects of the actions on the environment or the anticipated outcomes, on the one hand, and wherein interdependent thought processes are key, on the other hand. One of the many abstract tasks that fits these requirements and will serve thus as our workhorse here is the Centipede Game.26,27 The Centipede Game is a sequential dilemma that captures questions related to trust, competition, cooperation, and risk-taking, allowing one to gain insight into moral preferences of its participants.28 While there exist several variations of this game,29 we will base our discussion on the Incremental Centipede Game (ICG), considering at a later stage how switching to the Constant-size Centipede Game (CCG) influences the selection for lower or higher ToM levels (see STAR methods and supplemental information for details on the CCG), covering in this way a variety of situations wherein ToM may be considered relevant. From an ecological perspective, the Centipede Game can be considered a sequential common-pool resource game,30 where each participant has exclusive access to consume the largest fraction at different moments. Different from the CCG, the resource grows in the ICG, tempting consumers to wait for a larger share, yet running the risk that the other gets the most when accessing it.
The ICG is a game with perfect information wherein interdependent reasoning has been considered important and participants experience uncertainty about the motivations of the co-players, producing thus unexpected outcomes, a requirement for the study of ToM.2 Concretely, the ICG involves two individuals that take turns (in a total of steps) deciding between two actions (T = Take, P=Postpone) regarding the split of a resource of initial value that grows at each Step () of the game. Player 1 (Player 2) plays at odd (even) steps. Playing T in Step means ending the game and receiving the biggest part of the resource available. Playing P means growing linearly or exponentially the value of the resource and letting the other Player decide what to do in the next step. Whenever Player 2 plays P in step , different outcomes may be considered.29 Here, a final growth of the available resource takes place, the resulting amount being split in favor of Player 1. The game is illustrated in Figure 1, where game structure and payoff values were adopted from McKelvey and Palfrey’s behavioral experiments31 for and .
Backward induction in the ICG leads a fully rational Homo Economicus to play T in step , a feature that experimental results repeatedly contradict29,31: The majority of experiments end between 1/3rd and 2/3rd of the number of steps in the game.29 Only when a specific combination of strong conditions (e.g., very high stakes and costly P moves, or payoff asymmetries) occurs participants will end the game in the first round. From an evolutionary perspective, in a world where individuals have no ToM and simply play T at pre-defined steps and the population changes by replacing less successful strategies with more fit ones, natural selection (if sufficiently strong) also leads to a scenario in which most individuals end up playing T in step .32,33 Weak selection, associated with stochasticity in the evolutionary process in finite populations, has been invoked to explain the differences between experimental observations31 and the expected rational outcome. Yet, this argument ignores that human strategies involve interdependent thought processes, which are, as argued earlier, crucial for real-world social interactions and decision-making. We therefore ask the question: What if individuals may evolve a ToM? And, if so, will ToM prevail under natural selection? How will individuals endowed with a ToM behave in the ICG?
Here we show how individuals with a ToM evolve and dominate in a population interacting via the ICG. By requiring a best fit of our model results to available behavioral experimental data, we observe that evolution leads to a population where boundedly rational individuals prevail. Importantly, our model also exhibits, in an unforeseen manner, the co-evolution of a ToM together with an optimism (or positive illusion) about the behavior of others as well as the emergence of new equilibrium configurations in the ICG (in close agreement with experimental observations) that deviate from the classic rational equilibrium of taking at the start: ToM strategies appear to change the pure dominance of rational strategies by introducing a coordination game structure34 into the ICG, which provides a basin of attraction toward new equilibrium configurations where optimistic beliefs about others’ behavior and bounded levels of reasoning coexist, and which results in taking halfway through the game. Our results remain robust under different conditions and switching to a dilemma with less temptation for higher future rewards, i.e., the CCG, leads to a redistribution of ToM strategies, favoring strategies with neutral beliefs and low (or even no) reasoning capacity, as has also been experimentally observed.
Introducing theory of mind as a strategy
We equip individuals with a ToM strategy of variable cognitive capacity, associated with a parameter .35,36 Strategies are thus not only defined by a parameter , indicating the prior belief about the earliest possible Step at which to play T in both roles as in,32,33 but also the number of iterative reasoning steps that will determine how to act given the personal beliefs. Together they are thus represented by a duple (), which will be used to infer what to do in the roles of Player 1 and Player 2 in the ICG.
At the lowest level, , no ToM is present, and individuals simply play T as soon as possible for the given : For instance, an individual with , will play T at Step 3 (Step 4) as Player 1 (Player 2). Individuals with ToM strategies () (with ) believe that their opponent will employ the strategy () (see Figure 2A) and, as a result, will compute a response to such an (anticipated) behavior, where we use here an RP similar to a level- hierarchical recursive model.35,37 As illustrated in Figure 2B, Alice, who has an initial belief and a capacity to reason up to two recursive steps (), needs to find a response to what she believes any other individual, that she interacts with via the ICG, will do. She assumes that these individuals, which she mentally refers to as Bob, have the same initial belief but can only reason up to one step lower in the recursion, i.e., . As she believes that Bob uses the same RP as her, she may infer that he will decide to take as early as one step before the moment he believes she would take, i.e., he may decide to take as early as Step 2 () given that he thinks she has no reasoning capacity () and that she will thus try to take as early as Step 3 (). Given this RP inference, Alice may choose to take even one step earlier () using her RP. She thus reasons that her best choice is to take as early as Step 1 and she will use this action in the interaction with the other individuals she encounters. Note again the difference with prior work,23,24 where strategies differ in how they acquire through inference or learning (or not) insights into some hidden mental state of a co-player, which is not the question being researched here.
By making the belief part of the strategy and inferring the action from the belief, our model no longer assumes that individuals need to hold the same beliefs as the co-players or even have correct beliefs38,39: Each individual in the current evolutionary model starts from a private prior belief (or type) on what the other may do and selects a (noisy) response to that based in the RP. An important consequence will be that the decision (by individuals with a ToM) at which step to play T may coincide (or not) with their a-priori belief (encoded in their strategy as ), a feature which cannot happen in the absence of a ToM.
We further allow individuals to be boundedly rational,40 so that cognitive errors in computing the response may occur with a probability : whenever , individuals may decide to Play T at one step higher or lower (at each -level) than what the RP computation would determine.35,37 For simplicity is assumed to remain constant in the population, leading to a branching process in the propagation of errors. Figure 2C shows that in Alice’s RP the cognitive errors introduce the possibility to deviate from what the correct response should be: Instead of arriving at the conclusion that every co-player in the ICG will take as early as Step 2 at (), she may arrive at the conclusion that they will take as early as Step 1 or 3 (so or , each with a probability ). The implication is that at the next reasoning level she would infer a new response based on that cognitive error, propagating the error to higher reasoning levels. Together with any additional cognitive errors, this may lead her to decide to act as early as at the next level.
Multiple executions of this stochastic RP will thus produce a probability distribution over the actions that an individual can take given her initial beliefs and predefined maximum -level, as can be seen in Figure 2D: Whereas no cognitive errors always leads the individual to take as early as Step 1 (blue bar), the occurrence of cognitive errors leads to a probability distribution of playing at any Step (red bars). Each ToM strategy thus samples its own probability distribution to determine how to interact with the other strategies in the ICG. Note that, while Alice can choose to act as early as any Step, she can act only at specific Steps when being Player 1 (or Player 2): the -distribution thus maps into a -distributon, which specifies the actual likelihood of acting in a specific role in the ICG (mapping from red to orange bars in Figure 2D).
Different implementations for the RP can be considered, each leading to different -distributions, that for some RP may even be determined analytically. Figures S1–S3 provide a detailed description of those used in the current article. The focus in the remainder of the text will be on the inertia RP discussed in Figure S3 as this provided the best fit to the experimental data. We will return to the two alternatives presented in Figures S1 and S2 (see also STAR methods) later in the article. We do not consider an evolutionary competition between different RP here, as each individual is using the same RP, albeit with different sophistication as given by .
In STAR methods we provide furthermore details on how individuals, equipped with these (probabilistic) ToM strategies interact and evolve in a finite population,41,42 where individual fitness is computed as the average payoff obtained by interacting with many other (randomly chosen) individuals in the population, where in each interaction we compute the payoff obtained by acting both as Player 1 and as Player 2. Successful () strategies are thus more likely to survive when beliefs and reasoning prowess lead to good decisions in both roles of the ICG.
Results and discussion
Figure 3 shows the results of our model after letting all 25 () strategies, with and , evolve in a finite population in the ICG with , for different values of the free external parameters of the model: selection pressure and cognitive error probability (see introduction and STAR methods). In Figure 3A we plot the average -level, where the red circle indicates the optimum combination ( ) at which a best fit to the data from behavioral experiments31 is obtained (see direct comparison with behavioral experiments31 in Figures 3D and S4). Figures 3B and 3C portray the dependence of our results for the -level distribution on each of the parameters () while keeping the other fixed at the optimum value. Whereas increasing (at ) selects for low -levels, increasing (at ) appears to have the opposite effect.
The results in Figure 3 show that ToM evolves, i.e., we obtain the emergence and prevalence of strategies with for a wide range of values of the external parameters and , providing a novel view of the evolution and role of strategies including a ToM in finite populations (see also Figure S5). At the best fit values to the behavioral experiment data, evolution leads to populations exhibiting a distribution of cognitive capacities where boundedly rational40,43 individuals, i.e., those with limited and , prevail (in accordance with experimental studies of ToM31 and their analyses44). The model thus predicts that, for a wide range of and , evolution leads to populations exhibiting a heterogeneous distribution of cognitive capacities where low to intermediate values of cognition prevail, as shown in Figure 3, panels B and C. Indeed, only when and/or are all levels of cognition and beliefs equally likely. Equivalent observations can be made for the ICG with , as shown in Figures S6 and S7.
Figure 4 provides details of another important feature of our model–related to the co-evolution of (mis)-beliefs and ToM. To this end, we provide detailed information about the belief , reasoning () and action distributions in the population at the best fit parameter values (). In Figure 4A we show how the distribution of beliefs changes depending on whether individuals may or may not evolve a ToM: allowing (blue) leads to the emergence of an optimism bias (), as the distribution becomes skewed toward high values compared to the limit (yellow), a feature that naturally stems from the prevalence of individuals with , as their actions ( value, Figure 4C) mostly take place at values smaller than their beliefs ( value, Figure 4B) as shown also in Figure 4D. Note that this optimism bias focusses on beliefs about others, thus differing from prior work where individuals are optimistic about themselves and the gains from their own actions.45,46,47 In line with what was observed in Figure 3, the reasoning levels that co-evolve with such an optimism bias do not peak at : Instead, the distribution of -levels peaks at and strategies with become the least prevalent in the population. This inherent limit on the -levels, appearing without any form of reasoning cost, is even more apparent in the 6-Step ICG, as is visualized in Figure S8, where strategies with are either marginally present or totally absent in the stationary distribution, even when they were allowed to go up to . Our results thus reveal that the individual reasoning capacities remain limited in the competitive context provided by the ICG, even under stronger selection strengths (high ).
Not only do the results visualized in Figure 4 remain robust for larger ICG. Also, for different population sizes (provided is not so small that finite size effects dominate, Figure S9), boundedly rational ToM strategies and misbeliefs emerge consistently. Numerical simulations confirm the analytical results, indicating that they also remain valid for sizable mutation probabilities (Figure S10), here modeling situations in which individuals spontaneously replace their strategy by a randomly chosen one. Additionally, even when transitions between strategies with different -levels are inhibited (compared to transitions between strategies with different beliefs)–this way mimicking the idea that beliefs are more likely to change than one’s own cognitive capacity–the results remain robust, as shown in Figure S11. Finally, introducing a simple linear cost associated with higher -levels will change the overall belief patterns only when the cost added to each additional reasoning level becomes excessive (Figure S12). Nonetheless, misbeliefs remain prevalent in the ICG even under those conditions.
The complexity of the co-evolutionary dynamics of beliefs () and -levels leading to the emergence of an optimism bias in individuals endowed with ToM is best understood at high selection pressure (for details, see Figure S13). In this regime, we observe the emergence of a new equilibrium associated with the tuple which becomes Evolutionary Robust48,49 (i.e., all outgoing edges are either or have a fixation probability lower than neutral fixation, as confirmed numerically). This strategy, unanticipated by backward induction and not previously identified,21,32,33 strongly correlates with the experimental observations.31 Indeed, and contrary to the evolutionary dynamics at high in the absence of a ToM, where low values of are selected, boundedly rational individuals () endowed with a ToM reflecting intermediate reasoning capacities are now able to sustain high (mis)beliefs at .
At the optimum selection pressure () this equilibrium configuration is still prevalent and undergoes a coordination type dynamic with the rational equilibrium, as shown in Figure 5A), where the evolutionary dynamics is studied along the path connecting these 2 configurations. The gradients of selection (see STAR methods) of Figure 5A shown for different values of the reasoning error , indicate that, for low (), selection favors a population of rational players (either by being dominant () or by having the largest basin of attraction ()). For however, evolution favors strategy , whose basin of attraction grows with increasing . Also, in the ICG with , the well-known equilibrium is replaced by a strategy with optimistic beliefs and bounded rationality; In that case, we see that now with becomes Evolutionary Robust once (Figure S6C).
The type of RP that is employed ultimately defines the location of the coordination point (minimal fraction of strategists needed in the population to move into this new equilibrium, as shown Figure 5B) as well as in the overall predictions of the model: Whereas the inertia RP kernel prioritizes the importance of and when considering the optimal and that fit the behavioral experiment data, the two other models (the unconditional RP and payoff-conditional RP detailed respectively in Figures S1 and S2) show a preference for and to explain the data, albeit to a different extent, as can be observed in Figure S14. Moreover, for selection strength , the inertia RP leads toward a monomorphic population of strategies (Figure 3C). In case of the two other RP, high will lead to a population consisting only of the strategy (considering their optimal ). Relying thus on previous inferences as in inertia RP, provides an important road toward the prevalence of the new equilibrium in both the and ICG.
While the strategic situation captured by the ICG provides a relevant scenario for investigating the evolution of a ToM,2 other games, even within the class of centipede games, may not be as conducive to higher ToM or to actions that do not correspond to the known subgame-perfect equilibrium of the centipede game. In the CCG29,50 (for details, see Figures S15–S19), both ToM and belief types are skewed toward the lower values (with average beliefs close to the minimum), thereby producing actions aligned with the beliefs, removing thus the optimism bias that was observed in the ICG. While strategies with higher -levels with significant cognitive errors survive (at rapidly decreasing frequencies), strategies with and small dominate in the fitting between the model and the experimental CCG results,50 producing behavior that corresponds to taking as early as possible. Also, the higher -levels that can be observed are associated with small values, similarly, leading to taking as early as possible. Our analysis thus reveals that the temptation for higher future rewards, as in the ICG, is a determining factor for bounded higher-order ToM and associated misbeliefs, and thus taking the risk of playing T later in the game, to evolve, a property that seems to correlate well with the general findings of prospect theory.51 The differences observed here between ICG and CCG align with recent experimental work that examined through belief elicitation experiments the differences in rationality and beliefs in rationality between ICG and CCG.52 Significant higher belief in rationality and higher-order beliefs in rationality were seen in the CCG, corresponding to the more rational strategy distribution (and the lack of misbeliefs) produced by the evolutionary model.
The empirical results presented here may also have implications for the study of correlated equilibria53 and how to reach them through simple learning dynamics.54,55,56 Notwithstanding the need of further formal verification, observations in Epistemic Game Theory57 support the hypothesis that the new equilibria identified here for the ICG may be correlated equilibria: It has been shown that individual actions may become correlated when there exist correlations in the players’ beliefs and higher order beliefs about how the game is played.58,59 The resulting correlation is called intrinsic as there is no extrinsic signal or mediator to introduce the correlation as in the original work by Aumann.53 In our ToM evolutionary model, all individuals use identical beliefs for both roles in the ICG, assume the beliefs of the co-player are the same as their own and they all use the same RP to reason about their beliefs. These assumptions may be sufficient to produce correlated beliefs and actions, suggesting thus that the new equilibria where individuals have optimistic beliefs and have bounded reasoning capacity are in fact correlated equilibria of the ICG. Our results thus provide novel insights that expand previous research into whether such equilibria can be found via evolutionary processes,60,61,62 with the novelty following from the observation that the new results are based on intrinsic correlation processes as opposed to extrinsic ones.
While current ICG results focused on one-shot sequential interactions, extensions can be imagined to repeated sequential as well as non-sequential interactions. In that context, a deeper analysis on schemes to revise the initial beliefs (e.g., based on some form of Bayesian belief-updating mechanism) or schemes to better identify the -levels of the others become possible,22,23,24,25,63 providing also the potential to generate hypothesis for future experimental work on decision-making and belief elicitation.38,39,52
Similar to prior work in evolutionary game theory, this work also demonstrates the importance of noise in relation to strategic decision-making (see for instance64,65,66), leading potentially to outcomes that deviate from known equilibria. Further research will need to be carried out to investigate how the current parametric cognitive noise (expressed as ) may be translated to actual human thought processes, which are known to be noisy,67 in order to come one step closer to explaining the centipede game, and consequently also other strategic games.
To conclude, we showed under different conditions that ToM co-evolves with misbeliefs in the ICG and that the resulting strategies are boundedly rational, i.e., they are limited in their capacity to reason (-level) and to do this correctly (), even without the introduction of reasoning costs. The main observation is that introducing ToM strategies in the population transforms the competitive nature of the ICG in such a way that alternative, potentially correlated, equilibria, which translate into behavior that better resembles human behavior, emerge. The likelihood of reaching these new equilibria depends in part on the sophistication of the RP, with certain methods introducing stronger deviations from the standard game theoretical results. These observations are independently supported by psychology research on optimism bias in the human species,68,69 evolutionary research on the adaptiveness of human biases70 and the importance of self-deception71,72 and reality-denial,73,74 where the latter has been suggested to explain why humans may have been the only species to reach the level of intelligence that appears to distinguish them from other animals on the planet. Together, our results introduce novel insights into the effects of ToM on decision-making in strategic situations, opening a door to new routes for competitive and cooperative theories on the origins of ToM.
Limitations of the study
ToM as it can be observed in humans nowadays is the result of an evolutionary process where a variety of challenges and social environments were experienced over a long timescale. It encompasses a multi-faceted collection of capabilities, both cognitive and affective, the evolution of which cannot be easily disentangled. A single model using a specific set of assumptions and social (game) structures, will therefore be unable to capture the plethora of different challenges and social environments that ultimately evolved the ToM that we can identify at present.21,22,23,24 Notwithstanding the novel insights that were obtained with the current model, there are thus limitations due to the assumptions made, namely, that individuals have fixed prior beliefs about their co-players, that they believe that everyone has the same beliefs as themselves, that they all use the same reasoning process, and they believe others are less smart in terms of reasoning. Moreover, only one class of sequential game structures, albeit general enough to investigate the questions that were asked,2 was investigated here. Clearly future work will surely relax some of the assumptions made here to see whether the results remain consistent. At the same time, additional complexities (e.g., repeated interactions, variable physical and/or social environments, and so forth) may be taken into consideration to further explore their impact on the evolution of ToM. We have shown, so far, that our main results remain consistent under a series of perturbations, supporting thus their interest and generality for further study.
STAR★Methods
Key resources table
REAGENT or RESOURCE | SOURCE | IDENTIFIER |
---|---|---|
Software and algorithms | ||
Stochastic Evolutionary Dynamic Code for Theory of Mind in the Incremental Centipede Game, including data and R scripts for figures. | https://github.com/tlenaert/ctpToMstoch.git | https://zenodo.org/records/10230142 |
Moran simulation code for Theory of Mind in the Incremental Centipede Game, including data and R scripts for figures. | https://github.com/tlenaert/ctpToMmoran.git | https://zenodo.org/records/10230225 |
Stochastic Evolutionary Dynamic Code for Theory of Mind in the Constant-size Centipede Game | https://github.com/tlenaert/cpieTomStoch | https://zenodo.org/records/10451365 |
rowheadOther | ||
Data from, R.D. McKelvey and T.R. Palfrey (1992) An Experimental Study of the Centipede Game | Econometrica 60(4):803-836 | https://doi.org/10.2307/2951567 |
Data from, Fey, M., McKelvey, R. D., & Palfrey, T. R. (1996). An experimental study of constant-sum centipede games. | International Journal of Game Theory 25:269-287. | https://doi.org/10.1007/BF02425258 |
Resource availability
Lead contact
Further information and any related requests should be directed to and will be fulfilled by the lead contact, Tom Lenaerts (Tom.Lenaerts@ulb.be).
Materials availability
This study did not generate new unique reagents.
Data and code availability
-
•
All data and scripts used to produce the figures in this paper have been deposited on GitHub and Zenodo, and are publicly available. The DOIs are listed in the key resources table.
-
•
All original code that produced the data is deposited on GitHub and Zenodo, and are publicly available. The DOIs is listed in the key resources table.
Method details
In the following sections the different elements needed to implement the model and produce the results are explained. The code for the ToM evolutionary model as well as the scripts for analysis and the data for reproducing the figures are available for research on Zenodo.76,77
Centipede game
The Centipede Game was introduced in 1986 by Rosenthal.26,27 While the manuscript results focus on analysing an Incremental Centipede Game (ICG), more specifically an ICG with an exponentially growing resource, there exist several variations of this game.29 One such class of variations can be found in the payoff structure, i.e., the joint payoff over the different steps can remain the same, grow linearly or grow exponentially. Another variation is how the game ends, i.e., the final step can either have an equal or unequal division of the resource (favoring one of the participants as in our case), or even a zero payoff for both (called centipede game with a deadline). Figure 1 illustrates the exponentially growing ICG for and . The equal division ICG scenario only modifies the last step as is illustrated in Figure S15A. The Constant-size Centipede Game (CCG)50 differs from the ICG in that the resource remains constant at each Step () of the game, only the split changes: Playing T in the first step results in an equal split of between both participants, while playing T in any step means ending the game and receiving an increasingly larger share of the resource. Playing P means changing the split of the resource and letting the other Player decide what to do in the next step. Whenever Player 2 plays P in step , a final division favoring Player 1 is proposed. The game is illustrated in Figure S15B, where game structure and payoff values were adopted from the Fey et al. behavioral experiment50 for . Figures S16–S19 in the Supplemental Information show the results for the CCG equivalent to those shown for the ICG in the manuscript.
Stochastic reasoning processes
An individual derives her actions from her personal beliefs using an RP. Figure 2 in the main manuscript provides an abstract view on how such RP work recursively, showing also how cognitive errors produce a probability distribution over the actions. As every individual will act as Player 1 and Player 2 in the ICG, the action inference needs to be performed for both roles. Figures S1–S3, show in detail three possible RP, among others, that may be used for the recursive inference. In Figure S1, the RP assumes that at each step of the reasoning process the individual will always switch to one step before the moment when she believes the other individual is going to take. So, if she believes the other will take as early as , she will switch to . We refer to this as the unconditional RP. In Figure S2, an individual determines a best response to what she believes the co-player will do: She compares the payoff she would receive in her role given the beliefs she has about and of the co-player. She will select the one that gives her the highest payoff in her role. This RP is called the (payoff-) conditional RP. Finally, in Figure S3, inertia is added on top of the conditional RP. In this RP, Alice decides to act one step before the co-player if that gives her a payoff benefit compared to taking at the same time as the co-player. If there is no payoff gain, she will continue to take as early as what she inferred before, at lower -levels. So, theoretically, she might choose to take as early as her initial belief at when she sees no payoff advantage to take before her imagined co-player at any next step in the recursive RP. We refer to this RP as the inertia RP.
Fitness calculation
The Payoffs in the ICG for () are shown in Figure 1. From this payoff structure, the fitness of an individual when interacting with any individual is numerically computed by playing the ICG in both roles. Given the stochastic nature of the reasoning process, the interaction between a pair of individuals is repeated multiple times to arrive at an average behavior over all possible actions. At each repetition both individuals infer first their actions T as Player 1 and Player 2 and then the payoff of their interaction in both roles is calculated. Concretely, a Monte Carlo sampling is used to obtain an average over multiple interactions wherein the inferred actions come from a distribution over the possible actions induced by . This average can be expressed thus as follows:
with the number of steps in the Monte Carlo sampling, one of the stochastic RP functions discussed earlier and the average payoff at Monte Carlo step obtained for acting in both roles, i.e., acting as Player 1 as well as Player 2 in the ICG (see Figure 1). Throughout the paper was used to have a good estimate of the individual fitness values.
Evolutionary dynamics
We consider a well-mixed population of finite size where individuals may use any of the strategies associated with the duple (), with a total of different strategies (25 for and 49 for the ). Strategies evolve according to a mutation-selection process defined in discrete time. At each time step, the strategy of one randomly selected individual is updated. With probability , undergoes a mutation. In that case, adopts a strategy drawn randomly from the available strategies. With probability , another randomly selected individual acts as a potential role model and will be imitated by with probability78 that increases with the fitness difference between Y and X. The parameter represents (in the population of size ) the intensity of natural selection or the strength of imitation: when , imitation occurs with 50% chance, corresponding to the process of neutral drift. When is large, imitation becomes sensitive to the slightest fitness difference, rendering evolution almost deterministic.
In the limit in which mutations are rare, we can compute analytically the prevalence of each strategy.79 In this limit, the time interval between two mutations is sufficiently large that evolution will lead to the fixation of one strategy in the population before the next mutation leads to the appearance of a new strategy. Thus, at any time, there will be at most two strategies simultaneously present in the population.80,81 This rare mutation limit leads to an embedded Markov-chain whose states correspond to the different homogeneous configurations of the population in which everyone plays the same strategy. Given the strategies , the transition matrix of size encodes all transition probabilities for the population to move from one homogeneous state into another. Specifically, ( with ) where is probability that a homogeneous population playing will fixate into a homogeneous population playing once a mutant playing appears in that population. The results presented in Figure 3, Figure 4, Figure 5 were all obtained using the rare mutation approximation (see also the supplemental information Figures). Notwithstanding, we show in Figure S8 the excellent correspondence between the full numerical simulations79 and the rare-mutation approximation, which extends validity of the analytical results to mutation values well beyond what one would intuitively expect based on the principles of the approximation. For details on the analytic and numeric methods see for instance EGTtools and its documentation.82
Gradient of selection
The finite population gradient of selection is defined as the difference between the likelihood of increasing and decreasing the number of individuals adopting the focal strategy by 1 in the population. In Figure 5 the focal strategy is : When the fraction of strategies is likely to increase, whereas when the opposite is expected.78
Acknowledgments
T.L. thanks the Université Libre de Bruxelles and the F.R.S-FNRS for awarding a sabbatical leave between October 2021 and September 2022, providing the time to think about Theory of Mind and related topics, and to create the results reported in this article. T.L. is grateful to the Center for Human Compatible AI (UC Berkeley), the Group on AI for People and Society (Técnico Lisboa) and the Responsible and Social Aware AI groups (Umeå university) for hosting him in that period. The resources and services used in this work were provided by the VSC (Flemish Supercomputer Center), funded by the Research Foundation Flanders (FWO) and the Flemish Government.
T.L. and M.S. gratefully acknowledges the research support of the F.R.S. - FNRS (grants 31257234 and 40007793). T.L. further acknowledges the support of the FWO (grant G.0391.13N), the Service Public de Wallonie Recherche (grant 2010235–ARIAC) by DigitalWallonia4.ai and the Flemish Government through the AI Research Program. T.L. and F.C.S. also acknowledges the support of TAILOR, a project funded by the EU Horizon 2020 research and innovation program (grant 952215). J.M.P and F.C.S gratefully acknowledge funding from Fundação para a Ciência e a Tecnologia Portugal through grants PTDC/MAT-APL/6804/2020 and PTDC/CCI-COM/366/2020.
Author contributions
Conceptualization, T.L., M.S., J.M.P, and F.C.S.; methodology, T.L., M.S., J.M.P, and F.C.S.; software T.L. and M.S. ; formal analysis, T.L., M.S., J.M.P, and F.C.S. ; writing – original draft, T.L., M.S., J.M.P, and F.C.S.; writing – review and editing, T.L., M.S., J.M.P, and F.C.S.; visualization, T.L., M.S., J.M.P, and F.C.S; funding acquisition, T.L., J.M.P, and F.C.S.; project administration, T.L., J.M.P, and F.C.S.
Declaration of interests
The authors declare no competing interests.
Published: January 11, 2024
Footnotes
Supplemental information can be found online at https://doi.org/10.1016/j.isci.2024.108862.
Supplemental information
References
- 1.Frith C.D., Singer T. The role of social cognition in decision making. Phil. Trans. Biol. Sci. 2008;363:3875–3886. doi: 10.1098/rstb.2008.0156. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 2.Rusch T., Steixner-Kumar S., Doshi P., Spezio M., Gläscher J. Theory of mind and decision science: towards a typology of tasks and computational models. Neuropsychologia. 2020;146 doi: 10.1016/j.neuropsychologia.2020.107488. [DOI] [PubMed] [Google Scholar]
- 3.Brüne M., Brüne-Cohrs U. Theory of mind—evolution, ontogeny, brain mechanisms and psychopathology. Neurosci. Biobehav. Rev. 2006;30:437–455. doi: 10.1016/j.neubiorev.2005.08.001. [DOI] [PubMed] [Google Scholar]
- 4.Frith C., Frith U. Theory of mind. Curr. Biol. 2005;15:R644–R645. doi: 10.1016/j.cub.2005.08.041. [DOI] [PubMed] [Google Scholar]
- 5.Humphrey N.K. In: Growing Points in Ethology. Bateson P.P.G., Hinde R.A., editors. Cambridge U Press; 1976. The social function of intellect; pp. 303–317. [Google Scholar]
- 6.Leslie A.M., Friedman O., German T.P. Core mechanisms in ‘theory of mind. Trends Cognit. Sci. 2004;8:528–533. doi: 10.1016/j.tics.2004.10.001. [DOI] [PubMed] [Google Scholar]
- 7.Moll H., Tomasello M. Cooperation and human cognition: the Vygotskian intelligence hypothesis. Phil. Trans. Biol. Sci. 2007;362:639–648. doi: 10.1098/rstb.2006.2000. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 8.Premack D., Woodruff G. Does the chimpanzee have a theory of mind? Behav. Brain Sci. 1978;1:515–526. [Google Scholar]
- 9.Baron-Cohen S., Leslie A.M., Frith U. Does the autistic child have a “theory of mind”. Cognition. 1985;21:37–46. doi: 10.1016/0010-0277(85)90022-8. [DOI] [PubMed] [Google Scholar]
- 10.Apperly I. Psychology Press; 2010. Mindreaders: The Cognitive Basis of" Theory of Mind. [Google Scholar]
- 11.Andreou M., Skrimpa V. Theory of mind deficits and neurophysiological operations in autism spectrum disorders: a review. Brain Sci. 2020;10:393. doi: 10.3390/brainsci10060393. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 12.Strikwerda-Brown C., Ramanan S., Irish M. Neurocognitive mechanisms of theory of mind impairment in neurodegeneration: a transdiagnostic approach. Neuropsychiatric Dis. Treat. 2019;15:557–573. doi: 10.2147/NDT.S158996. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 13.Call J., Tomasello M. Does the chimpanzee have a theory of mind? 30 years later. Human Nature and Self Design. 2011;12:83–96. doi: 10.1016/j.tics.2008.02.010. [DOI] [PubMed] [Google Scholar]
- 14.Krupenye C., Call J. Theory of mind in animals: Current and future directions. Wiley Interdisciplinary Reviews: Cognit. Sci. 2019;10:e1503. doi: 10.1002/wcs.1503. [DOI] [PubMed] [Google Scholar]
- 15.Baron-Cohen S. In: The descent of mind: psychological perspectives on hominid evolution. Corballis M.C., Lea S., editors. Oxford University Press; 1999. The evolution of a theory of mind. [Google Scholar]
- 16.Dunbar R.I. The social brain hypothesis and its implications for social evolution. Ann. Hum. Biol. 2009;36:562–572. doi: 10.1080/03014460902960289. [DOI] [PubMed] [Google Scholar]
- 17.Emery N.J. The cognitive neuroscience of social behaviour. Psychology Press; 2004. The evolution of social cognition; pp. 127–168. [Google Scholar]
- 18.MacLean E.L. Unraveling the evolution of uniquely human cognition. Proc. Natl. Acad. Sci. USA. 2016;113:6348–6354. doi: 10.1073/pnas.1521270113. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 19.Chung D. The Evolution of Theory of Mind in the Human Evolution. J. Behav. Brain Sci. 2021;11:10–26. [Google Scholar]
- 20.Vygotsky L.S., Cole M. Harvard university press; 1978. Mind in Society: Development of Higher Psychological Processes. [Google Scholar]
- 21.Stahl D.O. Evolution of smartn players. Game. Econ. Behav. 1993;5:604–617. [Google Scholar]
- 22.Mohlin E. Evolution of theories of mind. Game. Econ. Behav. 2012;75:299–318. [Google Scholar]
- 23.Devaine M., Hollard G., Daunizeau J. Theory of mind: did evolution fool us? PLoS One. 2014;9 doi: 10.1371/journal.pone.0087619. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 24.Qi W., Vul E. The evolution of theory of mind on welfare tradeoff ratios. Evol. Hum. Behav. 2022;43:381–393. [Google Scholar]
- 25.Yoshida W., Dolan R.J., Friston K.J. Game theory of mind. PLoS Comput. Biol. 2008;4 doi: 10.1371/journal.pcbi.1000254. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 26.Rosenthal R.W. Games of perfect information, predatory pricing and the chain-store paradox. J. Econ. Theor. 1981;25:92–100. [Google Scholar]
- 27.Binmore K. Modeling rational players: Part I. Econ. Philos. 1987;3:179–214. [Google Scholar]
- 28.Capraro V., Perc M. Mathematical foundations of moral preferences. J. R. Soc. Interface. 2021;18 doi: 10.1098/rsif.2020.0880. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 29.Krockow E.M., Colman A.M., Pulford B.D. Cooperation in repeated interactions: A systematic review of Centipede game experiments, 1992–2016. Eur. Rev. Soc. Psychol. 2016;27:231–282. [Google Scholar]
- 30.Gardner R., Ostrom E., Walker J.M. The nature of common-pool resource problems. Ration. Soc. 1990;2:335–358. [Google Scholar]
- 31.McKelvey R.D., Palfrey T.R. An experimental study of the centipede game. Econometrica. 1992;60:803–836. [Google Scholar]
- 32.Smead R. The evolution of cooperation in the centipede game with finite populations. Philos. Sci. 2008;75:157–177. [Google Scholar]
- 33.Rand D.G., Nowak M.A. Evolutionary dynamics in finite populations can explain the full range of cooperative behaviors observed in the centipede game. J. Theor. Biol. 2012;300:212–221. doi: 10.1016/j.jtbi.2012.01.011. [DOI] [PubMed] [Google Scholar]
- 34.Skyrms B. Cambridge University Press; 2004. The Stag Hunt and the Evolution of Social Structure. [Google Scholar]
- 35.Stahl D.O., Wilson P.W. On players′ models of other players: Theory and experimental evidence. Game. Econ. Behav. 1995;10:218–254. [Google Scholar]
- 36.Nagel R. Unraveling in guessing games: An experimental study. Am. Econ. Rev. 1995;85:1313–1326. [Google Scholar]
- 37.Camerer C.F., Ho T.-H., Chong J.-K. A cognitive hierarchy model of games. Q. J. Econ. 2004;119:861–898. [Google Scholar]
- 38.Blanco M., Engelmann D., Koch A.K., Normann H.-T. Preferences and beliefs in a sequential social dilemma: a within-subjects analysis. Game. Econ. Behav. 2014;87:122–135. [Google Scholar]
- 39.Costa-Gomes M.A., Weizsäcker G. Stated beliefs and play in normal-form games. Rev. Econ. Stud. 2008;75:729–762. [Google Scholar]
- 40.Simon H.A. Rational choice and the structure of the environment. Psychol. Rev. 1956;63:129–138. doi: 10.1037/h0042769. [DOI] [PubMed] [Google Scholar]
- 41.Taylor C., Fudenberg D., Sasaki A., Nowak M.A. Evolutionary game dynamics in finite populations. Bull. Math. Biol. 2004;66:1621–1644. doi: 10.1016/j.bulm.2004.03.004. [DOI] [PubMed] [Google Scholar]
- 42.Traulsen A., Hauert C. Stochastic evolutionary game dynamics. Reviews of nonlinear dynamics and complexity. 2009;2:25–61. [Google Scholar]
- 43.Simon H.A. A behavioral model of rational choice. Q. J. Econ. 1955;69:99–118. [Google Scholar]
- 44.Kawagoe T., Takizawa H. Level-k analysis of experimental centipede games. J. Econ. Behav. Organ. 2012;82:548–566. [Google Scholar]
- 45.Heifetz A., Spiegel Y. 2000. On the evolutionary emergence of optimism. Available at SSRN 247355. [Google Scholar]
- 46.Heifetz A., Spiegel Y. 2001. The Evolution of Biased Perceptions. Tel Aviv. [Google Scholar]
- 47.Johnson D.D., Fowler J.H. The evolution of overconfidence. Nature. 2011;477:317–320. doi: 10.1038/nature10384. [DOI] [PubMed] [Google Scholar]
- 48.Stewart A.J., Plotkin J.B. From extortion to generosity, evolution in the iterated prisoner’s dilemma. Proc. Natl. Acad. Sci. USA. 2013;110:15348–15353. doi: 10.1073/pnas.1306246110. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 49.Stewart A.J., Plotkin J.B. Collapse of cooperation in evolving games. Proc. Natl. Acad. Sci. USA. 2014;111:17558–17563. doi: 10.1073/pnas.1408618111. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 50.Fey M., McKelvey R.D., Palfrey T.R. An experimental study of constant-sum centipede games. Int. J. Game Theor. 1996;25:269–287. [Google Scholar]
- 51.Kahneman D. Penguin; 2011. Thinking, Fast and Slow. [Google Scholar]
- 52.Wang Y. Belief and higher-order belief in the centipede games: An experimental investigation. Pac. Econ. Rev. 2023;28:27–73. [Google Scholar]
- 53.Aumann R.J. Correlated equilibrium as an expression of Bayesian rationality. Econometrica. 1987;55:1–18. [Google Scholar]
- 54.Milgrom P., Roberts J. Adaptive and sophisticated learning in normal form games. Game. Econ. Behav. 1991;3:82–100. [Google Scholar]
- 55.Foster D.P., Vohra R.V. Calibrated learning and correlated equilibrium. Game. Econ. Behav. 1997;21:40–55. [Google Scholar]
- 56.Hart S., Mas-Colell A. A simple adaptive procedure leading to correlated equilibrium. Econometrica. 2000;68:1127–1150. [Google Scholar]
- 57.Perea A. Cambridge University Press; 2012. Epistemic Game Theory: Reasoning and Choice. [Google Scholar]
- 58.Brandenburger A., Friedenberg A. Intrinsic correlation in games. J. Econ. Theor. 2008;141:28–67. [Google Scholar]
- 59.Du S. Correlated equilibrium and higher order beliefs about play. Game. Econ. Behav. 2012;76:74–87. [Google Scholar]
- 60.Cripps M. Correlated equilibria and evolutionary stability. J. Econ. Theor. 1991;55:428–434. [Google Scholar]
- 61.Metzger L.P. Evolution and correlated equilibrium. J. Evol. Econ. 2018;28:333–346. [Google Scholar]
- 62.Arifovic J., Boitnott J.F., Duffy J. Learning correlated equilibria: An evolutionary approach. J. Econ. Behav. Organ. 2019;157:171–190. [Google Scholar]
- 63.De Weerd H., Verbrugge R., Verheij B. How much does it help to know what she knows you know? An agent-based simulation study. Artif. Intell. 2013;199:67–92. [Google Scholar]
- 64.Ren J., Wang W.-X., Qi F. Randomness enhances cooperation: A resonance-type phenomenon in evolutionary games. Phys. Rev. 2007;75 doi: 10.1103/PhysRevE.75.045101. [DOI] [PubMed] [Google Scholar]
- 65.Vukov J., Szabó G., Szolnoki A. Cooperation in the noisy case: Prisoner’s dilemma game on two types of regular random graphs. Phys. Rev. 2006;73 doi: 10.1103/PhysRevE.73.067103. [DOI] [PubMed] [Google Scholar]
- 66.Van Segbroeck S., Santos F.C., Lenaerts T., Pacheco J.M. Selection pressure transforms the nature of social dilemmas in adaptive networks. New J. Phys. 2011;13 [Google Scholar]
- 67.Costello F., Watts P. Surprisingly rational: probability theory plus noise explains biases in judgment. Psychol. Rev. 2014;121:463–480. doi: 10.1037/a0037010. [DOI] [PubMed] [Google Scholar]
- 68.Sharot T. The optimism bias. Curr. Biol. 2011;21:R941–R945. doi: 10.1016/j.cub.2011.10.030. [DOI] [PubMed] [Google Scholar]
- 69.Sharot T., Korn C.W., Dolan R.J. How unrealistic optimism is maintained in the face of reality. Nat. Neurosci. 2011;14:1475–1479. doi: 10.1038/nn.2949. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 70.McKay R.T., Dennett D.C. The evolution of misbelief. Behav. Brain Sci. 2009;32:493–510. doi: 10.1017/S0140525X09990975. [DOI] [PubMed] [Google Scholar]
- 71.Trivers R. Penguin UK; 2011. Deceit and Self-Deception: Fooling Yourself the Better to Fool Others. [Google Scholar]
- 72.Von Hippel W., Trivers R. The evolution and psychology of self-deception. Behav. Brain Sci. 2011;34:1–16. doi: 10.1017/S0140525X10001354. [DOI] [PubMed] [Google Scholar]
- 73.Varki A. Human uniqueness and the denial of death. Nature. 2009;460:684. doi: 10.1038/460684c. [DOI] [PubMed] [Google Scholar]
- 74.Varki A., Brower D. Hachette UK; 2013. Denial: Self-Deception, False Beliefs, and the Origins of the Human Mind. [Google Scholar]
- 75.Pacheco J.M., Santos F.C., Souza M.O., Skyrms B. Evolutionary dynamics of collective action in N-person stag hunt dilemmas. Proc. Biol. Sci. 2009;276:315–321. doi: 10.1098/rspb.2008.1126. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 76.Lenaerts T. Zenodo; 2023. Moran Simulation Code for Theory of Mind in the Incremental Centipede Game. [Google Scholar]
- 77.Lenaerts T. Zenodo; 2023. Stochastic Evolutionary Dynamic Code for Theory of Mind in the Incremental Centipede Game. [Google Scholar]
- 78.Traulsen A., Nowak M.A., Pacheco J.M. Stochastic dynamics of invasion and fixation. Phys. Rev. 2006;74 doi: 10.1103/PhysRevE.74.011909. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 79.Hindersin L., Wu B., Traulsen A., García J. Computation and simulation of evolutionary game dynamics in finite populations. Sci. Rep. 2019;9:6946. doi: 10.1038/s41598-019-43102-z. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 80.Fudenberg D., Imhof L.A. Imitation processes with small mutations. J. Econ. Theor. 2006;131:251–262. [Google Scholar]
- 81.Vasconcelos V.V., Santos F.P., Santos F.C., Pacheco J.M. Stochastic dynamics through hierarchically embedded Markov chains. Phys. Rev. Lett. 2017;118 doi: 10.1103/PhysRevLett.118.058301. [DOI] [PubMed] [Google Scholar]
- 82.Domingos E.F., Santos F.C., Lenaerts T. EGTtools: Evolutionary game dynamics in Python. iScience. 2023;26 doi: 10.1016/j.isci.2023.106419. [DOI] [PMC free article] [PubMed] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.
Supplementary Materials
Data Availability Statement
-
•
All data and scripts used to produce the figures in this paper have been deposited on GitHub and Zenodo, and are publicly available. The DOIs are listed in the key resources table.
-
•
All original code that produced the data is deposited on GitHub and Zenodo, and are publicly available. The DOIs is listed in the key resources table.