Abstract
Division of labor has been studied separately from a proximate self-organization and an ultimate evolutionary perspective. We aim to bring together these two perspectives. So far this has been done by choosing a behavioral mechanism a priori and considering the evolution of the properties of this mechanism. Here we use artificial neural networks to allow for a more open architecture. We study whether emergent division of labor can evolve in two different network architectures; a simple feedforward network, and a more complex network that includes the possibility of self-feedback from previous experiences. We focus on two aspects of division of labor; worker specialization and the ratio of work performed for each task. Colony fitness is maximized by both reducing idleness and achieving a predefined optimal work ratio. Our results indicate that architectural constraints play an important role for the outcome of evolution. With the simplest network, only genetically determined specialization is possible. This imposes several limitations on worker specialization. Moreover, in order to minimize idleness, networks evolve a biased work ratio, even when an unbiased work ratio would be optimal. By adding self-feedback to the network we increase the network's flexibility and worker specialization evolves under a wider parameter range. Optimal work ratios are more easily achieved with the self-feedback network, but still provide a challenge when combined with worker specialization.
Author Summary
In insect colonies, different individuals specialize in different tasks related to colony maintenance and growth. Unveiling why this division of labor evolved and how individuals decide which task to take on is crucial for our understanding of complex group behavior. Here we model the evolution of general behavioral rules for processing environmental signals of task need in social insect colonies, using artificial neural networks. We examine the patterns of individual specialization that arise in the course of evolution. Division of labor is likely to evolve if switching between tasks decreases worker productivity, but the pattern of division of labor across colonies is highly dependent on the architecture of the networks considered. In networks that allow for a feedback of previous experience on future task choice, division of labor can evolve across the whole population of colonies. In networks where this feedback is not allowed, the presence of division of labor is constrained by the specific genetic composition of colonies. Network architecture also affects how fine-tuned the worker allocation to different tasks can be when the tasks have different requirements.
Introduction
Division of labor is ubiquitous in nature. The major evolutionary transitions, such as the separation of germ and soma and the transition from prokaryotes to eukaryotes, were accompanied by an increase in division of labor [1]. The transition from solitary to eusocial in insects encompasses the evolution of a reproductive caste and a sterile worker caste. Furthermore, division of labor among sterile workers also evolved, in which different groups of workers specialize in different functions, such as foraging and brood care [2]. Colony growth and survival is strongly dependent on the coordinated interaction of a large number of workers. This non-reproductive division of labor is therefore often considered a major determinant of the ecological success of eusocial insects and will be the focus of the work presented here.
Empirical evidence suggests that eusociality has evolved in associations of close kin [3], [4]. Variation in behavioral tendencies can be found in forced associations of non-social individuals, leading to incipient forms of division of labor [5], [6]. Undoubtedly, a source of variation is key to generating consistent inter-individual differences and task specialization [7]. The questions that arise are how and why such variation arises among close kin. Here we explore some of the mechanisms and conditions through which task specialization can evolve in groups of related individuals.
Recent work on division of labor in insect societies has focused on the self-organization properties of colony behavior. According to a variety of models [8]–[12] colony properties emerge from the behavior of individual workers whose reactions to the environment is governed by simple rules. The behavioral rules leading to emergent specialization are probably shaped by natural selection [10], [13], yet only few studies have focused on the evolution of these rules [14], [15]. Previous work focusing on the benefits of task specialization in other systems (e.g. enzyme-substrate specialization, coordination in co-viruses) generally disregard the mechanisms underlying it, viewing instead specialists and generalists as fixed behavioral strategies [16], [17]. It is thus important to develop models that integrate the evolutionary and self-organization perspective, in order to create a better understanding of division of labor and its evolution [7].
In previous work, we took the response threshold model [1] as a starting point for an evolutionary model for division of labor (A. Duarte, I. Pen, L. Keller and F.J. Weissing, submitted). In the response threshold model, individuals compare an environmental stimulus for a task with their response thresholds; they perform the task if the stimulus is above their threshold, otherwise they remain idle. Using this predefined behavioral architecture, we allowed the evolution of threshold values and showed that division of labor can evolve from a homogeneous population via evolutionary branching, but only if there are clear fitness benefits of individual specialization. Our work also revealed that the response threshold model has the drawback that it imposes severe constraints on the distribution of workers over tasks.
Here we look at a more flexible behavioral architecture that is represented by a simple artificial neural network (ANN). ANNs simulate the processing of stimuli by individuals, from stimulus perception by receptor nodes to effector nodes determining the behavioral output [18], [19]. ANNs have been used in evolutionary robotics to understand the evolution of communication and cooperation [20]–[22]. In a recent paper, Lichocki et al. showed that ANN's, in comparison to response threshold mechanisms, allow for more efficient worker allocation through task switching [23]. Here we examine the effect of the architecture of ANN's in worker specialization and worker allocation, in a context where task switching is detrimental.
In the response threshold model, the response to task-associated stimuli is determined by task-associated thresholds. The stimuli, which reflect the colony's need for work on the various tasks, change dynamically due to two factors: there is an inherent tendency for the stimuli to increase, and they are decreased whenever the corresponding task is performed. We keep most assumptions of the threshold model but allow the task-associated stimuli to be processed by an ANN. In principle both the architecture of the network and the way information is processed could evolve [24], [25], however, we for simplicity, we focus on predefined architectures (with a fixed number of receptor and effector nodes) and allow only for the evolution of connections between the nodes. The stimuli are processed by an ANN consisting of two receptor nodes and two effector nodes (Figure 1). In a second part of our study, we keep the same network structure but allow for the evolution of a feedback from the effector nodes to the processing of the stimuli (Figure 1C). In other words, an effect of previous experience on current decisions can evolve. An effect of previous experience on task preference, leading to division of labor, has been observed in natural colonies [26], thus it would be interesting to observe under which circumstances it could evolve.
We investigate if these slightly more sophisticated mechanisms for processing input allow for the evolution of adaptive division of labor. More precisely, we study whether task specialization among workers can evolve and moreover, whether an appropriate distribution of workers over tasks can be achieved. Throughout, the main question is whether, and to what extent, the evolution of self-organized division of labor is determined by the underlying architecture of behavior.
Model
The general aspects of the model follow A. Duarte, I. Pen, L. Keller and F.J. Weissing (subm.). We consider a population of colonies, each founded by a single-mated individual that produces workers (typically , ). Each colony goes through a work phase consisting of time steps (), where all individuals perceive stimuli associated with two tasks and decide whether to perform one of the tasks or remain idle. The amount of work performed and the distribution of workers over tasks determines the fitness of a colony, which corresponds to the number of reproductives produced. Selection occurs because the colonies of a given generation are founded by pairs of reproductives produced in the previous generation. Hence colonies where the workers perform their tasks in the most efficient and coordinated way spread the genes of their foundresses most effectively.
In line with [8], we assume that there are two tasks and two task-associated stimuli. Stimuli increase each time step by a fixed amount and decrease by an amount whenever a worker performs the task, following [8] ( and in our simulations). In the response threshold model, the association between stimuli and task was also expressed in the fact that individuals were more likely to perform a task for which the stimulus was high. However, in the present model, this is not necessarily the case. An association between task and stimulus is present because the performance of a given task decreases a given stimulus. Workers are assessed in random order and, once an individual works, the corresponding stimulus value is immediately decreased, such that the next worker to be assessed experiences a different stimulus value.
Artificial neural networks
The first network studied is a simple feedforward network [19] that consists of two stimulus input nodes and two behavioral output nodes, all four nodes being connected (Figure 1B). Each input node perceives a task-associated stimulus with a certain error (drawn from a normal distribution with mean 0 and standard deviation 1). The two signals are then processed and transmitted to the output neurons, via connections with weights that are evolvable properties of the network. Output nodes receive a weighted sum of the stimuli, generally designated activation energy. The activation energy of an output node i is thus:
(1) |
Each output neuron is characterized by a threshold , which is another evolvable property. If the activation energy of an output neuron exceeds the threshold, the neuron is activated, meaning that an individual is willing to perform the respective task. If both output neurons are activated, one task is chosen at random. Note that the response threshold model implemented in previous work is in fact a special case of the feedforward neural network, where and (Figure 1A). The main difference between our feedforward ANN model and the response threshold model is thus the evolution of the connection weights that determine how incoming information is processed and interpreted. The initial values of connection weights in our simulations are: and . Changes in the connection weights and thresholds take place when new individuals are produced, via mutation (see below). During the lifetime of an individual, the parameters of its network are fixed. Thus we do not consider the changing of connection weights with learning, for example.
The second network architecture studied is a recurrent network [19]. It includes all previous nodes and connections, and in addition it has two self-feedback loops (Figure 1C). The activation energy in a given time step will affect the activation energy in the next time step: . The connection weight given to the previous activation energy (from here on called the self-feedback connection) is also an evolvable property that changes through mutation and natural selection during production of new individuals. During the lifetime of individuals, however, there is no change occurring in the parameters of the networks. Self-feedback connection weights were initialized at zero, which is equivalent to the feedforward network, without any influence of past experience in current decisions.
Fitness
After the work phase, the fitness of each colony is computed based on how much work the workers performed for each task. Fitness is assumed to be proportional to the weighted geometric mean of work done for both tasks:
(2) |
where is the total number of acts performed for task (A. Duarte, I. Pen, L. Keller, F.J. Weissing, subm.). We take the geometric rather than the arithmetic mean in order to ensure that fitness can only be achieved if both tasks are being performed. The weighing factor allows us to consider the (realistic) situation that not all tasks need to be performed equally often. For the fitness function (2), fitness is maximized if idleness is eliminated (i.e., if is maximal) and if the workers distribute over tasks according to the ratio . In other words, to maximize fitness the proportion of work allocated to task 1 by the colony should be equal to :
(3) |
Each generation, 2M reproductive offspring are produced in total in the population. Colonies contribute to the population's pool of sexual individuals in proportion to their fitness. Population size is thus fixed. The reproductive individuals then form M pairs randomly. From each pair one individual will found a new colony with workers, while the old colonies are eliminated.
Genetic details
We allowed for the evolution of all connection weights and thresholds of output nodes, giving us in a total 6 (resp. 8) evolving traits. These traits are encoded by 6 (resp. 8) gene loci. The alleles at these loci correspond to real numbers, with threshold alleles being larger or equal to zero, while connection weight alleles may also attain negative values. To keep the genetic assumptions as simple as possible, we assume that all individuals are haploid and that the network of each individual is fully determined by its genotype.
Genotypes of workers and sexuals are similarly inherited: Both types of individuals are offspring of the mated colony foundress, and possess alleles for thresholds and connection weights. Our model allows genetic linkage of the threshold loci or linkage of the connection weight loci, but both types of loci are considered to be sufficiently far apart in the genome to make them segregate independently. The degree of linkage is determined by a parameter () that corresponds to a recombination rate. With probability , the threshold alleles (resp. the connection weight alleles) are inherited as a block from one of the two parents; with probability , the parent whose allele is transmitted is chosen independently of what happens at the other loci.
Mutation occurs with probability at each locus; when a mutation occurs, the genetic value at that locus is changed by adding a real number to it that is drawn from a normal distribution with mean 0 and standard deviation . In our simulations, we typically used and .
Measuring worker specialization
We evaluate colony-level characteristics such as the proportion of work devoted to each task and the level of individual specialization. For each individual we calculate at the end of a simulation the fraction of time steps that it stayed in the same task from that time step to the next. We average over all workers and normalize this measure by dividing by the probability that individuals stay in the same task merely due to chance. The latter is given by , where is the proportion of work devoted to task . By subtracting 1 from the value thus obtained, we obtain a measure of worker specialization that ranges between −1 and 1 (A. Duarte, I. Pen, L. Keller and F. J. Weissing, subm.):
(4) |
When is close to 1, there is a high degree of division of labor, and individuals stay in the same task much more often than expected by chance. If is close to zero, workers switch between tasks at random. If is lower than zero, individuals switch task more often than expected by chance.
Switching costs
Worker specialization can be adaptive if there is a cost to switching tasks (such as a time cost if tasks are confined to different locations, or a cognitive cost), or if specialized workers perform their task with higher efficiency [27]. Here we implemented a time cost scenario, by imposing time steps of inactivity whenever an individual chooses to switch from one task to the other.
Results
Simulations of the neural network model, with different network architectures were ran for , and switching costs ranging from 0 to 5 time steps. We also tested the influence of recombination between the loci coding the neural network in the evolution of specialization. There were 10 replicates per parameter combination. The evolutionary patterns of the components of the neural networks were examined (thresholds of output neuron and connection weights) at the population level. Overall, connection weights were far more important than the thresholds in determining the behavior of networks. Hence we do not address here the evolutionary trajectories of threshold loci for the feedforward network. These can be found in the Supplementary Material (Text S1 and Figure S1).
Feedforward network
Optimal worker distribution 1∶1
When , both tasks are equally needed, and a 1∶1 distribution of workers over tasks would be optimal (see (3)). It is therefore somewhat surprising that, in the absence of switching costs, all replicate populations evolved a work distribution where one of the tasks was performed three times more often than the other (Figure 2A, top panel). From here on we refer to the task performed most often as the “preferred task”. Which task was preferred varied among replicate populations, but within a population all colonies preferred the same task. Variation among colonies in fitness values was small; all colonies reached approximately 94% of the maximum fitness (see Figure S3). Higher fitness values could not be achieved due to the deviation from a 1∶1 task distribution.
Typically in our simulations, both ‘incoming’ connection weights of one of the two output neurons (the neuron corresponding to the preferred task) became positive over evolutionary time (Figure 2A, bottom panel). As for the incoming connections of the other output neuron (corresponding to the non-preferred task), the direct connection ( in the example simulation of Figure 2A) became positive, while the cross-connection (, in Figure 2A) typically became weak, oscillating between positive and negative values. In all simulations, the strongest positive connection was between the stimulus input neuron of the non-preferred task to the output neuron of the preferred task (, in Figure 2A). Hence, individuals use the stimulus for one task (their non-preferred task) to motivate them for performing the other task (their preferred one). As a consequence, they continue performing their preferred task, even if the stimulus level of this task has become very low (Figure S2). For this parameter combination (½, ), the degree of recombination had no effect on the outcome of the simulations (Figure S4A).
In the presence of switching costs, the results are considerably different. When switching costs were low (), worker specialization only evolved in the absence of recombination (), with 61.4±7.2% of the colonies (mean ± SD) evolving values of 0.5. When c = 2, worker specialization also evolved in the presence of recombination (Figure 2B). Here 35.6±8.2% of the colonies showed 0.5. In all simulations with there was a clear (but weak) positive relationship between colony fitness and the degree of worker specialization within the colony; colonies with high mean specialization have a fitness advantage of approximately 20% over non-specialized colonies (Figure S3).
The bias in favor of one of the tasks that was observed in the absence of switching costs was much less pronounced or even absent in the presence of such costs. For , initially most colonies show a work distribution close to 1∶1 (Figure 2B, top panel). After about 3500 generations, a new pattern arises, with part of the colonies having a pronounced bias toward task 1, while the other colonies have a bias toward task 2. The simulation shown is representative for higher switching costs (), but to a certain extent the outcome depends on the detailed assumptions. If, for example, recombination was not allowed in the simulation of Figure 2B (i.e., ), three different types of colonies evolved (with , and , respectively; see Text S1 and Figure S4B).
The neuronal connection weights linking input neurons to the corresponding output neurons (i.e., and ) tended to evolve positive values, between 0 and 4 (Figure 2B, bottom panel). One of the cross-connections (i.e., or ) showed evolutionary branching [28], that is, polymorphism evolved from an initially monomorphic state. Figure 2B is representative in that branches into a bimodal distribution, with one branch becoming negative and the other positive. When such branching occurs, two distinctly different types of networks coexist in the population (Figure 3, top panel). This is crucial for worker specialization: a high degree of specialization only occurred in colonies where the two parents differed in the sign of one of their cross-connection weights. From Figure 3 we can deduce how specialization occurs in a colony with dissimilar parents. The key difference between the parents' networks is the genotypic value of , which determines that one parent (arbitrarily labelled ‘male’) is a specialist for task 2, while the ‘female’ shows a large area of the stimulus space where both tasks are activated and where accordingly one of the two tasks is chosen at random (Figure 3, bottom panel). The workers produced by these parents will be divided among those two phenotypes. Stimulus increase initially occurs for both tasks, until the stimuli levels reach a region where individuals with a positive w 21 will perform task 1. As a consequence, only stimulus 2 will keep increasing, until an area is reached where individuals with a negative will start performing task 2. The decreasing stimulus of task 2 means that fewer workers will do task 1, because the main motivating force to do task 1 is the positive . Hence, stimulus for task 1 will also increase. Individuals are then in an area of the stimulus space where half of them will work randomly on either task, while the other half will only perform task 2.
For , branching occurred at only one of the cross-connections, while for both cross-connections branched in some of the simulations.
In the absence of recombination, evolution leads to a higher degree of worker specialization (Figure S4B). Evolutionary branching occurs now for all the connection weights and for the thresholds as well. The area in stimulus space where networks choose both tasks is much smaller in the absence of recombination (Figure S5), leading to more pronounced differences between workers and, hence, more specialization. Branching of more loci means that networks will be more differentiated than seen previously for cases with recombination. .
Optimal worker distribution 3∶1
In view of eq. (3), when , the optimal worker distribution over tasks is 3∶1, with task 1 being performed 3 times more often than task 2 (i.e. ). Populations indeed evolved a worker distribution approaching this value (Figure 4A, top panel). In absence of switching costs, task 1 was performed 76.7±0.42% of the time (mean ± SD across all replicate populations, for ). All colonies attained more than 99% of maximum fitness, with a few colonies achieving the maximum (Figure S3).
A general pattern in the evolution of connection weights was the strengthening of the cross-connection and the disappearance of connection (as in Figure 4A, bottom panel). This explains the observed increase in performance of task 1. The cross-connections once more play an important role; since the strongest incentive to do task 1 comes from the stimulus of task 2, this allows workers to keep doing task 1 even if the stimulus for that particular task is depleted.
Worker specialization did evolve, but only in the absence of recombination (). Even then, specialization levels of were only obtained for a larger number of colonies when switching costs were high (). When worker specialization did not evolve (as in Figure 4B, top panel), colonies evolved work distributions even more biased than . When the work distribution is that strongly biased, the probability to stick to the previous task () is high even if tasks are taken on at random. Hence, by evolving a work distribution with more than 80% of the work devoted to task 1the number of switches decreases, thus allowing colonies to avoid switching costs even in the absence of worker specialization. In this case, connection reached lower values than for the simulations without switching costs (Figure 4B, bottom panel).
Recurrent network: self-feedback
We tested the behavior of a more complex network, where the activation energy of an output neuron could have a feedback on the activation energy at the next time step (Figure 1C). The self-feedback connections were allowed to co-evolve with the rest of the network. We ran ten replicate simulations for all the parameter combinations tested above.
Optimal worker distribution 1∶1
In contrast to the results of the feedforward network, the optimal worker distribution was now realized in a high proportion of colonies (e.g., figs. 5AB). However, this proportion decreased with increasing switching costs. For , the proportion of colonies with was 99.9±0.3% when and 100% when . For , this proportion was at 76.5±4.1% when and 46.7±7.6% when (mean ± SD number of colonies across replicates).
When , all colonies in all replicate simulations achieved the maximum possible fitness, indicating that all workers are active all the time (Figure S6). Workers switched randomly between tasks (D = 0 for all colonies, Figure 5A). This was achieved by evolving positive self-feedback connections allowing workers to continue working even in the absence of an external stimulus for a task. Connection weights from stimuli input neurons to output neurons were also positive (Figure S7).
Worker specialization evolved already for low switching costs (), but the behavior shown by colonies, for all , differs considerably in the simulations in the presence or absence of recombination. In the presence of recombination, all colonies within a population reached a high value of D (Figure 5B). In the absence of recombination, populations typically consisted of colonies with low and colonies with high (Figure 5D). For c = 1, for example, 25±7% of the colonies (mean ± SD across replicates) had , while 66±7% of colonies showed .
In the simulations where all colonies exhibited a high level of worker specialization, self-feedback connections evolved very high positive values (as in Figure 6, top panel). The connection weights from task stimulus to corresponding output neuron ( and ) evolved to positive values, while cross-connection weights ( and ) evolved to negative values (as in Figure 6, bottom panel). In these simulations, the evolved strategy leading to division of labor uses the strong self-feedback connections, accompanied by negative cross-connection weights, to create differentiation between individuals. Since individuals from the beginning perceive different levels of stimuli, differences in activation energy will occur and will be amplified in subsequent time steps, creating consistent differences among individuals. Hence division of labor is achieved by experience-based specialization.
In the simulations where colonies differ in their degree of worker specialization, neuronal connections (including self-feedback connections) show evolutionary branching, with one branch showing positive values and the other branch negative values or values close to zero (Figure 7). In this case, evolutionary branching allows for the co-existence of different genetically determined specialists, as seen previously for the simpler feedforward architecture.
Optimal worker distribution 3∶1
In the absence of switching costs, the mean calculated across replicates was 0.75 and, hence, corresponding to the optimal value for fitness (Figure 8A). Interestingly, worker specialization was negative () in all colonies in 19 out of 20 simulations (encompassing both simulations where recombination is present as well as where it is absent). In other words, individuals switched more often between tasks than expected by chance.
Worker specialization never evolved for . For , specialization only evolved in the absence of recombination. These results are shown in the Supplementary Material (Text S2, Figures S8, S9, S10). For , in two of the replicates, all colonies show high levels of specialization, accompanied by the optimal worker distribution (Figure S8A). In these particular replicates the self-feedback connections became strongly positive (Figure S9). In all other replicates only about half the colonies showed , while the other half had no specialization (Figure S8B). The distribution of workers over tasks was highly variable, with very few colonies actually achieving . The networks in these populations showed evolutionary branching of self-feedback connections (Figure S10).
For higher switching costs (), worker specialization could evolve in the presence of recombination, but only in three replicates out of 20, in the evolutionary time considered (results not shown). In these replicates, all colonies combined high levels of specialization and a work distribution very close to the optimal value of 0.75. Worker specialization was again achieved through two different types of networks; one where evolutionary branching occurs in key neuronal connections (particularly self-feedback connections), and the other through evolution of strong positive self-feedback connections (not shown). The first network type leads to a population where only half the colonies have specialized workers, and the correct work proportion is hardly achieved; the second network type leads to a population where all colonies have a high level of specialization and the optimal work proportion.
Discussion
Here we studied whether and how two different neural network architectures enable the evolution of self-organized division of labor and adaptive task ratios. Our results are summarized in table 1.
Table 1. Work proportion and degree of division of labor obtained under different behavioral architectures.
r = 0 | r = 0.5 | |||||||
Work ratio | Result | c = 0 | c = 1 | c≥2 | c = 0 | c = 1 | c≥2 | Model |
β = 0.5 | p 1 = β | Y | Y | Y | Y | Y | Y | RT |
N | P | P | N | N | P | FFN | ||
Y | P | P | Y | Y | P | RN | ||
D >0.5 | N | P | P | N | N | P | RT | |
N | P | P | N | N | P | FFN | ||
N | P | P1 | N | Y | Y | RN | ||
β = 0.75 | p 1 = β | N | N | N | N | N | N | RT |
Y | P | N | Y | P | N2 | FFN | ||
Y | P | P3 | Y | P | N3 | RN | ||
D >0.5 | N | N | P | N | N | P | RT | |
N | N | P1 | N | N | N | FFN | ||
N4 | N | P3 | N4 | N | N3 | RN |
for c≥3.
except small percentage (<3%) when c = 2.
with exception of few simulations, where all colonies obtain the result.
D<0.
Overview of results obtained for three different behavioral architectures: RT – response threshold model (A. Duarte, I. Pen, L. Keller and F.J. Weissing, subm.); FFN – feedforward neural network; RNN – recurrent neural network. Parameter combinations are indicated in the first column and first two rows. The second column indicates the result we look for: “” corresponds to the achievement of the optimal work ratio; “” corresponds to the evolution of worker specialization. In the central columns, for different levels of switching costs, c, we indicate if such results were obtained. “Y” indicates it was satisfied in all replicate simulations; “N” indicates that the result was not obtained, in the majority of simulations; “P” indicates that, in the majority of simulations, a fraction of the colonies within the population obtained the result.
With a feedforward network (table 1), worker specialization evolved more easily (i.e. at lower switching costs) in the absence of recombination. In the absence of recombination the connection weights can co-evolve as a tightly linked block of genes, making it easier to evolve specific combinations of connection weights favoring specialization. Recombination pushes populations into a solution where only one connection weight locus branches, the rest of the network being relatively homogeneous in the population. This allows worker specialization to occur, but to a lesser extent than in the absence of recombination, because at least one of the parent networks in a specialized colony behaves as a generalist for a large range of stimulus combinations. A large percentage of colonies showed no worker specialization, hence, no division of labor. This is because random mating allows for couples with similar genotypes to produce colonies where workers are too similar and therefore division of labor cannot emerge.
Previous work on the response threshold model (A. Duarte, I. Pen, L. Keller and F. J. Weissing, subm.) showed that the work ratio could not easily deviate from 1∶1, even if a biased work ratio was optimal. In contrast, in the case of the feedforward network, the work ratio was always biased for one of the tasks, even when a symmetric work ratio was optimal (table 1). Owing to selection for minimizing idleness, the evolved networks maximized the amount of work done by using the stimulus from one of the tasks to stimulate workers to perform the other task. In this way, one of the tasks was performed in excess (the ‘preferred’ task), even when its associated stimulus had been depleted. Although this may seem counter-intuitive, it represents an advantage over networks that attempt to maximize both tasks, because these networks would be limited to the work strictly necessary to reduce stimuli to zero. When , the optimal work ratio was achieved, but only in the absence of switching costs. When switching costs were present, the most common evolved strategy was to increase the proportion of work for task 1 in order to minimize switching among tasks.
Some of the limitations of the simple feedforward network were eliminated in the slightly more complex architecture of the recurrent network, where previous activation energies feed back on current activation energies. Worker specialization evolved at low switching costs, now both in the presence and absence of recombination (table 1), at least for . Interestingly, the presence of recombination favored an outcome where all colonies showed a high degree of specialization. In these populations, specialization does not depend on the presence of two complementary networks in the parents of a colony (as in figure 3), but on a strengthening of the self-feedback connections. This allows for initial differences between individuals in stimulus perception to be amplified in subsequent time steps and leads to behavioral differentiation through reinforcement of previous experiences. In the presence of recombination, this strategy prevails. However, when no recombination occurs, evolutionary branching of connection weights is still the prevalent strategy through which worker specialization evolves. Why is the experience-based strategy not observed in all simulations? A likely reason is that to reach this strategy, the values of neural connections must first pass through values where, in the absence of recombination, evolutionary branching is more advantageous. Hence, the evolutionary outcome is dependent on initial conditions. We confirmed this by running simulations where the self-feedback connections were initialized at higher values (e.g., ); in this case all populations evolved the experience-based strategy rather than evolutionary branching (results not shown). The evolution of an experience-based strategy is affected by stochastic effects at the moment that the population passes the “branching point”, namely on the direction and magnitude of genetic variation, that may lead to local fitness optima. The two strategies may thus represent alternative stable states. The mean population fitness of the genetic specialization (evolutionary branching) is noticeably lower than the mean population fitness of the experience-based strategy (Figure S7).
The recurrent network also allowed for the optimal work ratio to be reached in most cases, at least by part of the population (Table 1), even in the presence of switching costs. When , the self-feedback connections allow the continuous activation of both tasks, stimulating individuals that had previously done a task to do it again, even in the absence of the corresponding task stimulus. With this architecture it is also harder to attain the optimal work ratio when and switching costs are considered, and only few replicate populations show both and high degree of worker specialization.
The recurrent network has similarities with the reinforced threshold model, in which individual thresholds are lowered after the performance of the respective tasks and increased when the tasks are not performed [9], [29]. In both models, initial differences in experience lead to consistent behavioral differentiation, thus bypassing the need of specific genetic combinations for the emergence of task specialization. However, in terms of the distribution of workers over tasks, the reinforced threshold model suffers from the same limitations as the fixed threshold model, with worker distribution being mainly dependent on the parameters of stimulus dynamics (A. Duarte, T. Janzen, F.J. Weissing and I. Pen, in prep.).
Our results highlight the importance of considering asymmetries in models of division of labor. In the evolutionary response threshold model by A. Duarte, I. Pen, L. Keller and F. J. Weissing (subm.), we show that a biased -value cannot be obtained through the evolution of thresholds. To achieve a biased -value in this model, asymmetry must be present in the environment (e.g. in the values of task-associated stimuli [8]) to which the response-threshold mechanism then responds. However, in reality, asymmetries in the work distribution might also arise from the ability of individuals to perceive and prioritize tasks differently. Here we show that, for both types of networks studied, it is not easy to evolve strict worker specialization together with an asymmetric distribution of workers over tasks. A major difficulty is that in case of genetically determined specialization the work proportion is dependent, to a large extent, on the proportions of different specialists in each colony. Since we only consider single-mated foundresses, colonies in our model show either equal proportions of the two specialist strategies or only one of the specialist strategies. Evolving experience-based specialization enables an asymmetric work distribution and division of labor (although at a lower degree of worker specialization than under symmetric conditions, and only in the absence of recombination), yet the trajectory towards this strategy is subject to stochastic effects that may diverge evolution towards genetically determined specialization or towards an increase of performance of the most needed task beyond its optimal level.
The observed difficulty in favoring a specific work ratio under switching costs indicates that the simple behavioral architectures investigated are limited in the ability to evolve efficient solutions to complex optimization problems. In the presence of switching costs, it is important for colonies to maximize worker specialization, while at the same time minimizing the number of idle workers and optimizing the work ratio. The behavioral architectures considered thus far were only able to evolve sub-optimal solutions to this multi-faceted problem.
Modelling the evolution of behavioral mechanisms by means of artificial neural networks presents several advantages when compared to a priori chosen behavioral architectures such as a response threshold mechanism. First, mechanisms potentially leading to self-organized division of labor are not built into the model, but must emerge from the model. Second, evolving neural networks transcend some limitation of the human mind. When asked to design plausible mechanisms, the imagination of most modellers is limited to simple and intuitive mechanisms (like a response-threshold mechanism) that our mind can easily envisage. For example, it is unlikely that one would envisage a mechanism where a task-associated stimulus does not stimulate the performance of its corresponding task, but of a different one, as it occurs in the feedforward network. By using an independent modelling setup, we can get an idea whether, and to what extent, the results based on the more standard implementations are robust. In our case, the simple feedforward network is too constrained to achieve worker specialization and an appropriate distribution of workers over tasks. By adding a simple elemental feedback the resulting recurrent network had a much higher evolutionary potential. In future models we could consider the evolution of the network's topology, e.g. by allowing the addition and elimination of neurons and connections to an existing network through mutation [24].
The simple feed-forward neural network was constrained by a problem already present with the response threshold mechanism: to get specialization at the colony level, the coexistence of two specialist genotypes is necessary. Random mating and recombination played an important role in the evolutionary outcome. In general we observed that recombination made it more difficult for genetic specialization to evolve. With recombination, evolutionary branching at multiple loci occurred only rarely, at very high switching costs. This is in accordance with the argument that, in constant environments, recombination may destroy favorable allelic combinations [30], [31]. Our model suggests that in systems where strong genetic task determination and high recombination rates exist, multiple mating would be favored, in order to increase the chance that workers have favorable allelic combinations. This is in accordance to what we observe in honeybees [32], [33]. Under the recurrent network architecture, recombination may also play a beneficial role by creating more genetic variation in the self-feedback connections, which could favor division of labor emerging through the experience-based strategy.
The purpose of our approach was not to represent the behavioral architecture of real organisms, but to present a conceptual model that could shed some light on the role of architectural constraints in the evolution of self-organized division of labor. A limitation of this approach is that the larger the network, the more difficult it is to draw conclusions that are biologically relevant. We have implemented two very simple networks, and yet already have six to eight evolvable parameters. We were able to understand the interaction of the networks with the environment and pinpoint the key connections that allowed for specific behaviors, but this may not be possible for more complex architectures.
The fitness function used (eq. 2) favored the minimization of idleness. Although it is not unrealistic to assume that more work will translate to higher colony productivity, in reality social insect colonies contain a large proportion of idle workers [34]–[36]. Examples of circumstances that would allow the presence of idle workers include environmental perturbations that require quick recruitment of “stand-by” workers, advantage of energy-saving strategies under poor resource conditions, and selective neutrality of “incompetent” workers due to highly redundant organization of work [36] (and references therein). As stressed before, here we present a conceptual model for the effect of behavioral architectures in division of labor, and necessarily simplify certain assumptions. A more realistic version of our model would treat fitness as the number of offspring produced by a colony, and explicitly consider the nature of the different tasks (e.g. foraging and brood care).
Division of labor is a broad topic, with many aspects that were outside the scope of this study. Previous theoretical work has focused on the evolution of differentiated multicellularity, the evolution of germ and soma in multicellular organisms, and the effect of developmental plasticity in gene expression as a cause of individual differentiation [37]–[40]. Here we focused on the evolution of behavioral task specialization in groups where reproductive altruism (analogous to germ-soma differentiation) has already evolved, an assumption which is in line with a recent comparative analysis of the evolutionary history of division of labor [41]. We did not consider the role of developmental plasticity, although this plays an important role in the differentiation of morphological castes [42]. Underlying the different questions concerning division of labor, however, is a problem of functional optimization: Organisms can increase their reproductive success if they perform different tasks efficiently. Dividing tasks among lower-level units within the organism or colony (often referred to as a superorganism) is a solution to the problem. What our model suggests is that the particular behavioral rules through which task specialization arises may impact the evolutionary outcome.
Supporting Information
Acknowledgments
The authors would like to thank Ido Pen, Laurent Keller, Steffen Wischmann and Alex Ivanov for fruitful discussions and advice, and two anonymous reviewers for comments which greatly improved the manuscript.
Footnotes
The authors have declared that no competing interests exist.
A. Duarte was supported by a Ubbo Emmius PhD scholarship, attributed by the Centre for Ecological and Evolutionary Studies, University of Groningen. The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.
References
- 1.Szathmáry E, Maynard Smith J. The major evolutionary transitions. Nature. 1995;374:227–232. doi: 10.1038/374227a0. [DOI] [PubMed] [Google Scholar]
- 2.Oster GF, Wilson EO. Caste and ecology in the social insects. Princeton: Princeton University Press; 1978. [PubMed] [Google Scholar]
- 3.Boomsma JJ. Kin selection versus sexual selection: Why the ends do not meet. Curr Biol. 2007;17:R673–R683. doi: 10.1016/j.cub.2007.06.033. [DOI] [PubMed] [Google Scholar]
- 4.Boomsma JJ, Beekman M, Cornwallis CK, Griffin AS, Holman L, et al. Only full-sibling families evolved eusociality. Nature. 2011;471:E4–E5. doi: 10.1038/nature09832. [DOI] [PubMed] [Google Scholar]
- 5.Fewell JH, Page RE. The emergence of division of labour in forced associations of normally solitary ant queens. Evol Ecol Res. 1999;1:537–548. [Google Scholar]
- 6.Jeanson R, Clark RM, Holbrook CT, Bertram SM, Fewell JH, et al. Division of labour and socially induced changes in response thresholds in associations of solitary halictine bees. Anim Behav. 2008;76:593–602. [Google Scholar]
- 7.Duarte A, Weissing FJ, Pen I, Keller L. An evolutionary perspective on self-organized division of labor in social insects. Annu Rev Ecol Evol Syst. 2011;42:91–110. [Google Scholar]
- 8.Bonabeau E, Theraulaz G, Deneubourg JL. Quantitative study of the fixed threshold model for the regulation of division of labour in insect societies. Proc R Soc B. 1996;263:1565–1569. [Google Scholar]
- 9.Theraulaz G, Bonabeau E, Deneubourg JL. Response threshold reinforcement and division of labour in insect societies. Proc R Soc B. 1998;265:327–332. [Google Scholar]
- 10.Page RE, Mitchell SD. Self-organization and the evolution of division of labor. Apidologie. 1998;29:171–190. [Google Scholar]
- 11.Franks NR, Tofts C. Foraging for work - how tasks allocate workers. Anim Behav. 1994;48:470–472. [Google Scholar]
- 12.Johnson BR. A Self-Organizing Model for Task Allocation via Frequent Task Quitting and Random Walks in the Honeybee. Am Nat. 2009;174:537–547. doi: 10.1086/605373. [DOI] [PubMed] [Google Scholar]
- 13.Bonabeau E, Theraulaz G, Deneubourg JL, Aron S, Camazine S. Self-organization in social insects. Trends Ecol Evol. 1997;12:188–193. doi: 10.1016/s0169-5347(97)01048-3. [DOI] [PubMed] [Google Scholar]
- 14.Tarapore D, Floreano D, Keller L. Task dependent influence of genetic architecture and mating frequency on division of labour in social insect societies. Behav Ecol Sociobiol. 2009;64:675–684. [Google Scholar]
- 15.Waibel M, Floreano D, Magnenat S, Keller L. Division of labour and colony efficiency in social insects: effects of interactions between genetic architecture, colony kin structure and rate of perturbations. Proc R Soc B. 2006;273:1815–1823. doi: 10.1098/rspb.2006.3513. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 16.Tannenbaum E. When does division of labor lead to increased system output? J Theor Biol. 2007;247:413–425. doi: 10.1016/j.jtbi.2007.03.020. [DOI] [PubMed] [Google Scholar]
- 17.Wahl LM. Evolving the division of labour: Generalists, specialists and task allocation. J Theor Biol. 2002;219:371–388. doi: 10.1006/jtbi.2002.3133. [DOI] [PubMed] [Google Scholar]
- 18.Ghirlanda S, Enquist M. Artificial neural networks as models of stimulus control. Anim Behav. 1998;56:1383–1389. doi: 10.1006/anbe.1998.0903. [DOI] [PubMed] [Google Scholar]
- 19.Haykin S. Neural networks: A comprehensive foundation. Pearson Education, Inc; 1999. [Google Scholar]
- 20.Floreano D, Mitri S, Magnenat S, Keller L. Evolutionary conditions for the emergence of communication in robots. Curr Biol. 2007;17:514–519. doi: 10.1016/j.cub.2007.01.058. [DOI] [PubMed] [Google Scholar]
- 21.Mitri S, Floreano D, Keller L. The evolution of information suppression in communicating robots with conflicting interests. Proc Natl Acad Sci U S A. 2009;106:15786–15790. doi: 10.1073/pnas.0903152106. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 22.Mitri S, Floreano D, Keller L. Relatedness influences signal reliability in evolving robots. Proc R Soc B. 2011;278:378–383. doi: 10.1098/rspb.2010.1407. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 23.Lichocki P, Tarapore D, Keller L, Floreano D. Neural Networks as Mechanisms to Regulate Division of Labor. Am Nat. 2012 doi: 10.1086/664079. (in press). doi:10.1086/664079. [DOI] [PubMed] [Google Scholar]
- 24.Yao X. Evolving artificial neural networks. P Ieee. 1999;87:1423–1447. [Google Scholar]
- 25.Fogel DB, Fogel LJ, Porto VW. Evolving neural networks. Biol Cybern. 1990;63:487–493. [Google Scholar]
- 26.Ravary F, Lecoutey E, Kaminski G, Chaline N, Jaisson P. Individual experience alone can generate lasting division of labor in ants. Curr Biol. 2007;17:1308–1312. doi: 10.1016/j.cub.2007.06.047. [DOI] [PubMed] [Google Scholar]
- 27.Smith A. An inquiry into the nature and causes of the wealth of nations. London: W. Strahan and T. Cadell; 1776. [Google Scholar]
- 28.Geritz SAH, Kisdi E, Meszena G, Metz JAJ. Evolutionarily singular strategies and the adaptive growth and branching of the evolutionary tree. Evol Ecol. 1998;12:35–57. [Google Scholar]
- 29.Gautrais J, Theraulaz G, Deneubourg JL, Anderson C. Emergent polyethism as a consequence of increased colony size in insect societies. J Theor Biol. 2002;215:363–373. doi: 10.1006/jtbi.2001.2506. [DOI] [PubMed] [Google Scholar]
- 30.Otto SP, Michalakis Y. The evolution of recombination in changing environments. Trends Ecol Evol. 1998;13:145–151. doi: 10.1016/s0169-5347(97)01260-3. doi: 10.1016/S0169-5347(97)01260-3. [DOI] [PubMed] [Google Scholar]
- 31.Feldman MW, Otto SP, Christiansen FB. Population genetic perspectives on the evolution of recombination. Annu Rev Gen. 1996;30:261–295. doi: 10.1146/annurev.genet.30.1.261. [DOI] [PubMed] [Google Scholar]
- 32.Wilfert L, Gadau J, Schmid-Hempel P. Variation in genomic recombination rates among animal taxa and the case of social insects. Heredity. 2007;98:189–197. doi: 10.1038/sj.hdy.6800950. [DOI] [PubMed] [Google Scholar]
- 33.Palmer KA, Oldroyd BP. Evolution of multiple mating in the genus. Apis Apidologie. 2000;31:235–248. [Google Scholar]
- 34.Dornhaus A, Holley JA, Pook VG, Worswick G, Franks NR. Why do not all workers work? Colony size and workload during emigrations in the ant Temnothorax albipennis. Behav Ecol Sociobiol. 2008;63:43–51. [Google Scholar]
- 35.Thomas ML, Elgar MA. Colony size affects division of labour in the ponerine ant. Rhytidoponera metallica Naturwissenschaften. 2003;90:88–92. doi: 10.1007/s00114-002-0396-x. [DOI] [PubMed] [Google Scholar]
- 36.Schmid-Hempel P. Reproductive competition and the evolution of work load in social insects. Am Nat. 1990;135:501–526. [Google Scholar]
- 37.Gavrilets S. Rapid transition towards the division of labor via evolution of developmental plasticity. PLoS Comp Biol. 2010;6:e1000805. doi: 10.1371/journal.pcbi.1000805. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 38.Pfeiffer T, Bonhoeffer S. An evolutionary scenario for the transition to undifferentiated multicellularity. Proc Natl Acad Sci U S A. 2003;100:1095–1098. doi: 10.1073/pnas.0335420100. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 39.Michod RE. Evolution of individuality during the transition from unicellular to multicellular life. Proc Natl Acad Sci U S A. 2007;104:8613–8618. doi: 10.1073/pnas.0701489104. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 40.Schlichting CD. Origins of differentiation via phenotypic plasticity. Evol Dev. 2003;5:98–105. doi: 10.1046/j.1525-142x.2003.03015.x. [DOI] [PubMed] [Google Scholar]
- 41.Simpson C. The evolutionary history of division of labour. P Roy Soc B. 2012;279:116–121. doi: 10.1098/rspb.2011.0766. doi: 10.1098/rspb.2011.0766. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 42.Oster GF, Wilson EO. Caste and ecology in the social insects. Princeton: Princeton University Press; 1978. [PubMed] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.