Keywords

1 Introduction

Social insect colonies are motivated to move the locations of their nesting site as a functional response to various selected forces, such as colony growth, competition, foraging efficiency, microclimate, nest deterioration, nest quality, parasitism, predation, and seasonality [18]. Through constant adaptation to a changing environment, many social insect species such as ants, termites, and bees have evolved robust algorithms to accomplish the task of collective nest relocation [32]. In this paper, we study one such algorithm observed in colonies of Temnothorax ants.

Fig. 1.
figure 1

(Both photographs by S. C. Pratt.)

From [14] (Fig. 2). (a) Recruitment via tandem running in the ant of genus Temnothorax. The worker at the front is leading a tandem run, and the follower behind is about to signal its presence by tapping with its antennae on the gaster of the leader. (b) Recruitment by transport in Temnothorax ants. One worker is simply carrying another quickly to the new nestsite.

Temnothorax ant colonies have many biological constraints: individuals with limited memory and computational power, limited communication, and no central control. Despite that, colonies as a whole can reach various global goals such as nest-site selections and foraging [10]. Their remarkable collective intelligence is not only an interesting problem for biologists, but also inspiring for the computer science community. In particular, from the distributed computing perspective, the collective house-hunting behavior is closely related to the fundamental problem of consensus. Building a theoretical understanding of the key mechanisms in the house-hunting process can thus shed light on the designs of novel distributed consensus algorithms.

Colonies consist of active ants who move the remaining passive workers, the queen, and brood items (immature ants) [4, 25]. All workers are female ants. At the beginning of an emigration event, individual active ants independently search for new nest sites. If an ant finds one, she evaluates the site’s quality according to various metrics [7, 12]. Quality evaluation is relative to the old home nest [3]. If she is not satisfied with the site, she keeps searching. Otherwise if she is satisfied with the site, she returns to the home nest after some time interval that is inversely related to the new nest site quality; during this interval she might continue searching for other new potential nest sites [15, 22]. If she returns to the old nest, she recruits another active ant to the site by leading a slow tandem run from the old nest to the new site [19, 26]. This is done by the leader ant directing the follower ant along a pheromone trail (Fig. 1(a)). Upon arriving at the nest, the follower ant also evaluates the nest’s quality independently of the leader ant. Both ants then continue monitoring the quality of the nest and repeat the process of quality estimation, wait interval/continued search, and further recruitment [29].

An ant continues leading tandem runs until she perceives that the new nest’s population has exceeded a threshold, or quorum [23]. At this point, she ceases tandem runs and instead starts transporting other ants by picking one up and carrying her from the old home nest to the new nest (Fig. 1(b)). These transports are much faster than tandem runs, and they are largely directed at the passive workers and brood items, hence they serve to quickly move the entire colony to the new nest [22, 25]. The transporter rarely drops out of transporting other ants, and hence is considered fully committed to the new nest as the colony’s home [29].

Both tandem runs and transports are forms of recruitment to accelerate the emigration process, but the marginal benefits of transports in ensuring consensus remain relatively poorly understood. Previous studies have regarded the quorum sensing mechanism as a way to tune the speed-accuracy trade-off [9, 16, 17, 20, 24, 31], where a smaller quorum prompts ants to commit sooner (higher speed) to a nest that has accumulated enough population, although that nest could be inferior to another nest that is discovered later in the process (lower accuracy). However, these studies generally equate accuracy with consensus or cohesion [5, 6], when all or most ants commit to the same nest. The difference between accuracy and consensus is that the former evaluates the individuals’ ability to choose the best option in the environment, but the latter is concerned only with their ability to agree with each other. The ability to stay in a single group is not only an interesting algorithmic question, but also highly beneficial for the survival of these ant colonies [6, 9, 14, 30]. However, consensus during emigrations has been comparatively understudied. Such studies require examinations of both consensus cases and split cases, and the latter is difficult to induce experimentally. Therefore, in this paper, we conduct one of the first theoretical studies of the role of quorum sensing in emigration consensus.

At the outset, quorum sensing significantly benefits consensus because once enough ants make their choice, that choice is “locked in” and has a higher chance of becoming the final choice. This helps to ensure consensus when there are many choices and the search effort is dispersed. However, a closer look reveals that the quorum size must be carefully chosen. If the quorum size is too large, it would be very unlikely to be reached by any nest; if it is too small, multiple nests will likely reach quorum (a split), incurring significant additional costs in time and risk of exposure of the emigration [1, 2, 23]. These trade-offs pose the question of whether quorums help with consensus at all. In this paper, we aim to answer this question partially by investigating the probability of emigration consensus without the quorum sensing mechanism.

We start by modeling individual active ants as coupled random processes without considering the quorum sensing mechanism. Unlike in most classical distributed algorithms, the ants in our model do not receive initial input preferences, but must determine these preferences through exploration. Another difference is that our consensus requirement exempts a small portion of ants from committing to the same nest. Intuitively, we expect that the distribution of ant states converges to a limiting distribution in the long run. However, due to the probabilistic modeling, there is a non-zero probability that an emigration deviates greatly from this expectation, and this probability depends also on how many ants can be exempted by the requirement. Therefore, detailed calculations are needed to quantify the probability of deviations that satisfy the consensus requirement. Using probability tools such as conditional probability, concentration bounds and Markov mixing time, we then show that without quorum sensing, the probability of consensus is small and decays to zero exponentially fast as the colony size grows. In addition, we show preliminary evidence that appropriate quorum sizes indeed help with consensus during emigrations.

The rest of the paper is organized as follows. In Sect. 2, we present our model of individual ants, of the entire colony, and of an execution, for two-nest environments. In Sect. 3, we formally state the definition of consensus, and the metrics to measure a model’s performance in terms of consensus. In Sect. 4, we show that with a high probability, emigrations cannot eventually reach consensus without quorum sensing. In Sect. 5, we extend our results to general \(k-\)nest environments where \(k>2\). Then, in Sect. 6, we consider the addition of the quorum sensing mechanism to the emigration process in two-nest environments, and show simulation results on the quorum sizes that are sufficient for consensus.

Fig. 2.
figure 2

State transition diagram for ant \(a_i\) during round \(t+1\) before/without quorum attainment. \(\alpha _1^i(t+1)\) and \(\alpha _2^i(t+1)\) are composite functions each including the probabilities of an ant taking different paths (independent discovery or tandem running) to transition out of \(n_0\) into \(n_1\) and \(n_2\), respectively.

2 Model

2.1 Timing Model and the Environment

We divide time into discrete rounds. Individual active ants are modeled as identical probabilistic finite state machines and their dynamics are coupled through recruitment actions, as described later in Sect. 2.2. Let N denote the total number of active ants in the colony. Note that passive ants, the queen, and brood items can only be transported and have no states. For ease of exposition, in the sequel, by an “ant” we mean an “active ant”. Each ant starts a round with its own state. During each round, ants can perform various state transitions and have new states, before all entering the next round at the same time. Throughout the paper, the state of an ant at round t refers to her state at the end of round t.

The environment contains the original home nest \(n_0\) and two new nests \(n_1\) and \(n_2\). The new nests \(n_1\) and \(n_2\) have qualities \(q_1\) and \(q_2\) respectively, relative to the home nest quality. For the convenience of our analysis, we let \(0<q_2<q_1\le 1\), where a higher value corresponds to a better nest. Each nest is also associated with a population that changes from round to round. We use \(x_0(t)N\), \(x_1(t)N\) and \(x_2(t)N\), where \(x_0(t) + x_1(t) + x_2(t) = 1\), to denote (active) ant populations in nest \(n_0\), \(n_1\) and \(n_2\) respectively at the end of round t. Initially, individual ants have no information on \(q_1\) and \(q_2\).

2.2 Model of Individual Ants Without Quorums

In this subsection, we describe the dynamics of an ant without quorums (a.k.a. without performing state transitions based on seeing a quorum), compactly illustrated in Fig. 2 and Eq. (1)–(6). Though these dynamics are not Markovian as the state transition of an ant is influenced by other ants during recruitments (tandem runs), we prove (in Sect. 4) that after a finite time, the state transitions of an ant become independent of the others’ states.

Individual State. The set of possible states of an ant is denoted as \({\mathcal {S}}\triangleq \left\{ n_0, n_1, n_2 \right\} \). Each state \(n_i\) refers to the ant being at nest \(n_i\), and thus in the sequel we use “in state \(n_i\)” and “in nest \(n_i\)” interchangeably. Denote the state of ant \(a_i\) at the end of round t as \(\boldsymbol{s}_{i}(t)\) with \(\boldsymbol{s}_{i}(0) = n_0\) for all \(a_i\), i.e., initially all ants locate at the home nest \(n_0\).

Transitions out of the Home Nest. In a round, an ant \(a_i\) in \(n_0\) can be recruited by following a tandem run to either \(n_1\) or \(n_2\). If \(a_i\) is not recruited, she discovers nest \(n_1\) or \(n_2\) for the first time through independent discovery with probability \(\alpha \in (0,1/2]\) for either nest and a total discovery probability of \(2\alpha \). Note that the biological meaning of the parameter \(\alpha \) is that it encodes the home nest quality - the higher the home nest quality, the less likely \(a_i\) is to search for a new nest during any round t and the smaller \(\alpha \) is. Recruitment takes priority over her performing a probabilistic state transition to either \(n_1\) or \(n_2\) through independent discovery.

Formally, at the end of round t, if ant \(a_i\) is in \(n_0\), let \(TR^i_1(t+1), TR^i_2(t+1)\) be the event that ant \(a_i\) is recruited to \(n_1\) and \(n_2\) respectively during round \(t+1\). Let \(\tau ^i_1(t+1), \tau ^i_2(t+1)\) represent their respective conditional probabilities during round \(t+1\), i.e.,

$$\begin{aligned} \mathbb {P}\left\{ TR^i_m(t+1) \mid \boldsymbol{s}_i(t) = n_0 \right\} = \tau ^i_m(t+1), \text { for } m \in \{1,2\}. \end{aligned}$$

Note that for any ant \(a_i\), the two events are mutually exclusive, and \(\tau ^i_1(t+1)+\tau ^i_2(t+1) \le 1\). The exact expressions for \(\tau ^i_1(t+1)\) and \(\tau ^i_2(t+1)\) are very complex and affect the time that ant \(a_i\) transitions out of \(n_0\), which is an important milestone time for the proofs in this paper. Fortunately, we manage to circumvent calculating the exact expressions of \(\tau ^i_1(t+1)\) and \(\tau ^i_2(t+1)\) by deriving a bound on this time using a coupling argument (Proposition 2). We found that this bound was sufficient for proving our main theorem.

With this notation, conditioning on an ant \(a_i\) being at state \(n_0\) at time t, the probability of her transitioning to \(n_1\) in the nest round, denoted by \(\alpha ^i_1(t)\) can be expressed as

$$\begin{aligned}&\mathbb {P}\left\{ \boldsymbol{s}_i (t+1)= n_1 \mid \boldsymbol{s}_i (t) = n_0 \right\} \triangleq \alpha ^i_1(t+1) \nonumber \\&= \mathbb {P}\left\{ TR^i_1(t+1) \mid \boldsymbol{s}_i (t)= n_0 \right\} \nonumber \\&~~~ + \mathbb {P}\left\{ \boldsymbol{s}_i (t+1)= n_1 \mid (\boldsymbol{s}_i (t) = n_0 \wedge \lnot (TR^i_1(t+1) \vee TR^i_2(t+1))) \right\} \nonumber \\&~~~~~~ \cdot \mathbb {P}\left\{ \lnot (TR^i_1(t+1) \vee TR^i_2(t+1)) \mid \boldsymbol{s}_i (t) = n_0 \right\} \nonumber \\&= \tau ^i_1(t+1) + \alpha (1-\tau ^i_1(t+1)-\tau ^i_2(t+1)), \end{aligned}$$
(1)

where \(\alpha \) can be formally expressed as

$$\begin{aligned} \alpha = \mathbb {P}\left\{ \boldsymbol{s}_i (t+1)= n_1 \mid (\boldsymbol{s}_i (t) = n_0 \wedge \lnot (TR^i_1(t+1) \vee TR^i_2(t+1))) \right\} \end{aligned}$$

. It is easy to see that \(\alpha ^i_1(t+1)\) sums up the probability of her getting recruited to \(n_1\) and the probability of independent discovery of \(n_1\) in the case that she does not get recruited to either \(n_1\) or \(n_2\). Similarly, we define \(\alpha ^i_2(t+1)\) as the probability of her transitioning to \(n_2\) during round \(t+1\), i.e.,

$$\begin{aligned}&\mathbb {P}\left\{ \boldsymbol{s}_i (t+1)= n_2 \mid \boldsymbol{s}_i (t) = n_0 \right\} \nonumber \\&\triangleq ~\alpha _2^i(t+1) ~= ~\tau ^i_2(t+1) + \alpha (1-\tau ^i_1(t+1)-\tau ^i_2(t+1)). \end{aligned}$$
(2)

Correspondingly,

$$\begin{aligned} \mathbb {P}\left\{ \boldsymbol{s}_i (t+1)= n_0 \mid \boldsymbol{s}_i (t) = n_0 \right\} = 1 - \alpha ^i_1(t+1) - \alpha ^i_2(t+1). \end{aligned}$$
(3)

Transitions Between New Nests

When \(\boldsymbol{s}_i(t)= n_m\) for \(m\in \{1, 2\}\), at the beginning of round \(t+1\), with probability \((1-u_m)\), ant \(a_i\) chooses to search her environment and discover the new nest she is not currently at, i.e.,

$$\begin{aligned} \mathbb {P}\left\{ \boldsymbol{s}_i (t+1)= n_{3-m} \mid \boldsymbol{s}_i (t) = n_m \right\} = 1- u_m, ~~ \forall ~ m\in \{1, 2\}; \end{aligned}$$
(4)

with probability \(u_m\), ant \(a_i\) tries to recruit another ant from state \(n_0\) through a tandem run and comes back to \(n_m\), i.e.,

$$\begin{aligned} \mathbb {P}\left\{ \boldsymbol{s}_i (t+1)= n_{m} \mid \boldsymbol{s}_i (t) = n_m \right\} = u_m, ~~ \forall ~ m\in \{1, 2\}. \end{aligned}$$
(5)

If there is no more ant left in \(n_0\) to recruit, the leader ant \(a_i\) simply returns to nest \(n_m\) without recruiting another ant. The recruiting probability \(u_m\) is determined by the quality of new nest \(n_m\) as

$$\begin{aligned} u_m \triangleq \frac{1}{1+\exp {(-\lambda q_m})}, ~~~ \forall ~ m\in \{1,2\}, \end{aligned}$$
(6)

where the parameter \(\lambda > 0\) represents the noise level of individual decision making to evaluate the quality of a nest \(n_m\) for \(m \in \{1,2\}\). A larger \(\lambda \) means a less noisy decision rule, and thus a higher probability of recruitment to the superior site \(n_m\). Also note that \(u_1, u_2 \in [0.5, 1] \text { and } u_1 > u_2\).

Our choice of the sigmoid function is rooted in empirical evidence. The decision making mechanism for individual ant recruitment has been shown by a number of experimental and modeling studies to be both quality-dependent [15, 21, 24, 25] and threshold-based (individuals compare the perceived nest quality to a fixed threshold) [27, 28]. The sigmoid function we chose here is thus a common choice that incorporates both dependencies into the modeling of noisy individual decision making. Intuitively, when \(n_m\) has a quality higher than that of \(n_0\)’s, \(n_m\) is the better choice and it is beneficial for ants to recruit to it. When a nest \(n_m\) is strongly superior to \(n_0\), i.e., the quality difference surpasses a threshold, the probability of an individual ant recruiting to \(n_m\) should thus be very high (close to 1 in our model). The sigmoid function is a “smooth” representation of this threshold-based rule. On the other hand, when the quality difference is small, the probability of recruitment has stronger dependencies on the quality difference. This case is modeled by a near-linear segment in the sigmoid function.

Remark 1 (Non-markovian dynamics of an individual ant)

The state \(\boldsymbol{s}_i(t)\) of any individual ant \(a_i\) during round t has dependencies on 1) her own state in the previous round \(\boldsymbol{s}_i(t-1)\), and 2) the recruitment actions of other ants.

2.3 Dynamics of the Entire Colony

We now describe what happens in an arbitrary execution, or emigration. Throughout the paper, we use “an execution” and “an emigration” interchangeably, referring to an emigration event.

Let \(\boldsymbol{s}(t) = \left\{ \boldsymbol{s}_1(t), \cdots , \boldsymbol{s}_N(t) \right\} \) for \(t=0, 1, \cdots \) denote the random process of the entire colony state, represented by a vector of dimension N that stacks the states of individual ants in the colony. Although \(\boldsymbol{s}_i(t)\) for any i is not Markovian, it is easy to see that \(\boldsymbol{s}(t)\) is a Markov chain, since for any tandem leader in round t, the choice of a follower only depends on \(\boldsymbol{s}(t-1)\) and not on any history prior to round \(t-1\). An emigration starts from round 1, with \(\boldsymbol{s}_i=n_0\) for all \(i=1, \cdots , N\). During each round, each ant not in \(n_0\) performs one state transition in random order, followed by each ant in \(n_0\) performing one state transition in random order. At the beginning of a round t, each ant has her own state \(\boldsymbol{s}_i(t-1)\) and the colony has state \(\boldsymbol{s}(t-1)\). If at the beginning of round t she is in nest \(n_1\) or \(n_2\), respectively, the population at that nest at the beginning of round t is also available to \(a_i\). During a round t, each individual ant performs one state transition according to the individual models in Sect. 2.2, which results in a transition of the colony state as well during this round. At the end of round t, each ant has a new state \(\boldsymbol{s}_i(t)\) and the colony has state \(\boldsymbol{s}(t)\). All ants then enter the next round \(t+1\) with their new states.

3 The Consensus Problem

Here we define what it means for an emigration to reach consensus. We say that an emigration has reached \(\varDelta \)-consensus (where \(\varDelta \in [0,\frac{1}{2}]\)) if there exists \(\widetilde{t}\) such that for all \(t\ge \widetilde{t}\) and a nest \(m \in \{1,2\}\), the proportion of the population at nest \(n_m\) at time t is greater than or equal to \(1-\varDelta \), i.e., \(x_m(t) \ge (1-\varDelta )\).

The metric to evaluate a model’s performance is the consensus probability C, which is the probability that an emigration reaches consensus as defined above.

Remark 2

Note that \(\varDelta \) represents the proportion of ants that can be exempted from the consensus requirement. We can see that the smaller \(\varDelta \) is (lowest value is 0), the larger \((1-\varDelta )N\) is, and hence the more ants are required for an emigration to reach consensus. In other words, the smaller \(\varDelta \) is, the more “strict” the consensus metric is and the more challenging it is for an emigration to reach consensus.

4 Failure of Consensus in Two-Nest Environments

In this section, we explore colony emigration behavior only with individual transition rules and tandem runs defined above (i.e., without quorum sensing). Equivalently, we consider the case where the quorum size is N, so that the quorum sensing mechanism never has any effect. We show an upper bound on the consensus probability C for a given \(\varDelta \) and colony size N. This upper bound decreases to 0 exponentially fast as \(N\rightarrow \infty \).

Next we introduce two quantities, denoted by H and \(\pi ^*\), that will be used in the statement of our main result. It is easy to see from Eq. (4) and (5) that if an ant \(a_i\) jumps out of the home nest \(n_0\) at some time, then from that time onward, the state transition of \(a_i\) becomes Markovian and is governed by the following transition matrix

$$\begin{aligned} H = \begin{bmatrix} u_1 &{} 1-u_1 \\ 1-u_2 &{} u_2 \\ \end{bmatrix}. \end{aligned}$$
(7)

The transition in H is also illustrated in Fig. 4. It can also be seen (which we will formally show later) that the state of each ant has an identical limiting distribution, denoted by \(\pi ^* \triangleq \frac{1}{2-u_1-u_2}\left[ 1-u_2, 1-u_1 \right] \in {\mathbb {R}}^2\), with support on \(\{n_1, n_2\}\) only.

Theorem 1

For any \(\varDelta \in [0, 1-\pi ^*(n_1)]\), let \(\epsilon _0 = \frac{1-\pi ^*(n_1)-\varDelta }{2} > 0\). Then it holds that

$$\begin{aligned} \mathbb {P}\left\{ \sum _{i=1}^N {\mathbbm {1}{\left\{ {\boldsymbol{s}_i(t) = n_1}\right\} }} \ge \left( \pi ^*(n_1) + 2\epsilon _0 \right) N = (1-\varDelta )N \right\} \le 2 \exp \left( -\frac{\epsilon _0^2N}{2} \right) , \end{aligned}$$

for any \(t > \left( \frac{1}{\ln (1-2\alpha )} + \frac{1}{\ln (1-R(H))} \right) \ln \frac{\epsilon _0}{2}\), where \(R(H) = 2 -u_1-u_2\) is Dobrushin’s coefficient of ergodicity ([11, Chapter 6.2]) of H.

Remark 3

Theorem 1 is stated for \(n_1\). A similar result holds for \(n_2\). Theorem 1 says that for any t greater than \(\left( \frac{1}{\ln \beta } + \frac{1}{\ln (1-R(H))} \right) \ln \frac{\epsilon _0}{2}\), the probability of \(x_1(t)\) reaching \((1-\varDelta )\) is upper bounded by \(2\exp \left( -\frac{\epsilon _0^2N}{2} \right) \). Thus, the total consensus probability C for the given \(\varDelta \) is upper bounded by \(4\exp \left( -\frac{\epsilon _0^2N}{2} \right) \), which decreases to 0 exponentially fast as N increases. It is worth noting that real ant colonies often need \(\varDelta \) to be very small or even zero for survival. From the theorem expression, we can see that the smaller \(\varDelta \) is, i.e., the more stringent the consensus, the lower is the upper bound of the consensus probability. Therefore, Theorem 1 implies that extra mechanisms, such as the quorum rule are necessary to help the emigration reach consensus.

Later in Sect. 5, we also show that the proofs in this section and related results can easily extend to environments with multiple nests.

Fig. 3.
figure 3

Flowchart of the proofs.

4.1 Analysis of Main Result

Despite the fact that the dynamics of the entire ant colony is a Markov chain, analyzing this Markov chain is highly non-trivial because the state is quite involved and the state space is huge – it contains all the possible partitions of ants into three groups, with each group representing one nest as the state of an individual ant. In this section we analytically show that despite the fact that the emigration behaviors of individual ants are interactive, the dynamics of any individual ant are independent of other ants shortly after she leaves the original home nests either through discovery or through recruitment. Moreover, we show that this independence manifests itself in a non-trivial way after a few rounds – suggesting that a large portion of ants quickly rely only on individual intelligence. Then we show that this independence is harmful to realizing social cohesion.

Several intermediate results are derived in proving Theorem 1. The connections of the supporting lemmas and corollaries with respect to Theorem 1 are shown in Fig. 3. Please note that due to space constraints, we show the proof details of only Theorem 1 in this paper. Those of all other intermediate results can be found in [33].

Definition 1

For each \(i \in [N]\), define random variable \(T_i^1 \triangleq \inf \{t: \, \boldsymbol{s}_i(t)\not =n_0\}\) as the first round at the beginning of which ant \(a_i\) has transitioned out of the \(n_0\) state in any arbitrary execution of the emigration.

Remark 4

It can be shown that \(T_i^1\) is finite with probability 1 [33]. It follows immediately from Definition 1 that \( \mathbb {P}\left\{ \boldsymbol{s}_i(t) = n_0 \mid t \ge T_i^1 \right\} = 0\) for any ant \(a_i\).

It turns out that ant \(a_i\)’s state transitions become independent of other ants after \(T_i^1\), the time that \(a_i\) leaves \(n_0\), formally stated in the following proposition.

Proposition 1

For every \(i,j \in [N], i\not =j\) and every \(t > T_i^1\), the state transitions of ant \(a_i\) are independent from \(a_j\), i.e.,

$$\begin{aligned}&\mathbb {P}\left\{ \boldsymbol{s}_i(t+1)=s_1^\prime \mid (\boldsymbol{s}_i(t)=s_1) \wedge (\boldsymbol{s}_j(t)=s_2) \wedge (t> T_i^1) \right\} \\&= \mathbb {P}\left\{ \boldsymbol{s}_i(t+1)=s_1^\prime \mid (\boldsymbol{s}_i(t)=s_1) \wedge (t > T_i^1) \right\} , \end{aligned}$$

where \(s_1, s_2, s_1^\prime \in {\mathcal {S}}\) and \(s_1^\prime \not = n_0\).

The next proposition is devoted to showing that after a few rounds, many ants have left the home nest \(n_0\). Consider N random indicator variables \({\mathbbm {1}{\left\{ {T_i^1> t}\right\} }}\) for any t, each variable taking values in the \(\{0, 1\}\). Using stochastic dominance and Hoeffding’s inequality [13], we show a high probability upper bound on the number of ants still in \(n_0\) at round t. Here stochastic dominance is used to tackle the challenges caused by the dependency among the N indicator random variables.

Proposition 2

Let \(\beta \triangleq 1-2\alpha \). For \(t\ge 1\) and any number \(d \in [0,1]\), it holds that

$$\begin{aligned} \mathbb {P}\left\{ \sum _{i=1}^N {\mathbbm {1}{\left\{ {T_i^1> t}\right\} }} < N\left( \beta ^t+d \right) \right\} > 1-\exp \left( -2Nd^2 \right) , \end{aligned}$$

i.e., with a probability of at least \((1-\exp \left( -2Nd^2 \right) )\), the number of ants staying at home nest beyond time t is at most \(N\left( \beta ^t+d \right) \).

Corollary 1

For any given \(\epsilon \in (0, 1)\), for any \(t\ge \log _{\beta }(\frac{\epsilon }{2})\), it holds that

$$\begin{aligned} \mathbb {P}\left\{ \sum _{i=1}^N {\mathbbm {1}{\left\{ {T_i^1> t}\right\} }} < \epsilon N \right\} > 1-\exp \left( -N\epsilon ^2/2 \right) . \end{aligned}$$

In other words, with a probability of at least \((1-\exp \left( -N\epsilon ^2/2 \right) )\), at most \(\epsilon N\) ants remain in the home nest \(n_0\) after round \( \log _{\beta }(\frac{\epsilon }{2})\).

Fig. 4.
figure 4

State transition diagram for individual ants after they leave \(n_0\), before/without quorum attainment.

Next, we show that every ant \(a_i\) has an identical limiting distribution. Towards this, we first show that every ant \(a_i\) that has transitioned out of \(n_0\) has the same limiting distribution. Furthermore, we show that all ants eventually transition out of \(n_0\) and thus all ants share the same limiting distribution. The proof of Lemma 1 uses the quantity Q(t), defined as

$$\begin{aligned} Q(t) \triangleq \left\{ a_i: \, \boldsymbol{s}_i(t) \not = n_0 \right\} \end{aligned}$$
(8)

which is a random variable representing the set of ants that have transitioned out of \(n_0\) by the end of round t, in an arbitrary emigration. Q(t) is thus a function of an execution. It is easy to see that w.r.t. this emigration, \(Q(t-1)\subseteq Q(t)\) for any \(t\ge 1\).

Lemma 1

For each \(a_i\), its limiting distribution, denoted by \(\pi _i\), is well-defined, and can be expressed as

$$\begin{aligned} \pi _i \triangleq \frac{1}{2-u_1-u_2}\left[ 1-u_2, 1-u_1 \right] . \end{aligned}$$
(9)

For ease of exposition, we define \(\pi ^* = \pi _i\). From Lemma 1 it can be seen that the probability ratio \(\frac{\pi ^*(n_1)}{\pi ^*(n_2)} = \exp \left( \lambda (q_1-q_2) \right) \) is very sensitive to the nest quality gap \((q_1-q_2)\) and \(\lambda \).

It turns out that for t large enough, any ant that has transitioned out of \(n_0\) has state distributions “close” to the stationary distribution \(\pi ^*\), formally stated next.

Lemma 2

For any ant \(a_i\), let \(\pi _{i,t}\) denote the probability distribution of her state over the possible states depicted in Fig. 4 at time \(t \ge T_i^1\). Then for any number of rounds \(\ell >0\), it holds that

$$\begin{aligned} \Vert \pi _{i,T_i^1+\ell } - \pi ^*\Vert _1 \le 2\left( 1-R(H) \right) ^{\ell }. \end{aligned}$$

Using Lemma 2, the following corollary immediately follows:

Corollary 2

Fix any \(\delta \in (0, 1)\). For any ant \(a_i\) and \(t > T_i^1 +\ell \), where \(\ell \triangleq \log _{\left( 1-R(H) \right) } \frac{\delta }{2}\), it holds that

$$ \Vert \pi _{i,t} - \pi ^*\Vert _1 \le \delta . $$

Combined with Corollary 1, we are now ready to prove Theorem 1.

Proof of Theorem 1

We first give the intuition and a proof sketch to show an upper bound on the probability of the population at \(n_1\) being higher than a certain number \(C_0\), for t large enough.

We break down the problem into two cases. In the first case, by a certain milestone-round \(k_1\), the number of ants that have transitioned out of \(n_0\) is low. In the second case, that number is high. Now, by applying concentration bounds, we show that the first case has a low probability. We thus subsequently focus on analyzing the second case which has a high probability. From Corollary 2 we know that after a certain number \(k_2\) of rounds, most of the ants that have left \(n_0\) will have distributions that are very close to the limiting distribution \(\pi ^*\). Thus, at any round \(t \ge k_1+k_2\), with high probability, the proportion of ants in \(n_1\) is also close to \(\pi ^*(n_1)\) among ants that have left \(n_0\) (at most N ants). In other words, after \(k_1+k_2\) rounds the probability of \(n_1\)’s population being much higher than \(\pi ^*(n_1)N\) should be quite low. Summing up the bounds for the first and second cases gives us an overall upper bound on this probability, proving the theorem.

For ease of exposition, let \(B_i(t) = {\mathbbm {1}{\left\{ {\boldsymbol{s}_i(t) = n_1}\right\} }}\) for each \(i\in [N]\) and \(t\ge 0\). Let \(C_0\) be an arbitrary positive number, \(C_0 \in [0, N]\). Let \(C_1 = (1-\epsilon _0)N\). Recall that \(\beta = 1-2\alpha \).

$$\begin{aligned}&\mathbb {P}\left\{ \sum _{i=1}^N {\mathbbm {1}{\left\{ {\boldsymbol{s}_i(t) = n_1}\right\} }} \ge C_0 \right\} = \mathbb {P}\left\{ \sum _{i=1}^N B_i(t) \ge C_0 \right\} \nonumber \\&= \mathbb {P}\left\{ \sum _{i=1}^N B_i(t) \ge C_0 \mid \left| Q(\log _{\beta } \frac{\epsilon _0}{2}) \right|< C_1 \right\} \mathbb {P}\left\{ \left| Q(\log _{\beta } \frac{\epsilon _0}{2}) \right|< C_1 \right\} \nonumber \\&\qquad + \mathbb {P}\left\{ \sum _{i=1}^N B_i(t) \ge C_0 \mid \left| Q(\log _{\beta } \frac{\epsilon _0}{2}) \right| \ge C_1 \right\} \mathbb {P}\left\{ \left| Q(\log _{\beta } \frac{\epsilon _0}{2}) \right| \ge C_1 \right\} \nonumber \\&\le \mathbb {P}\left\{ \left| Q(\log _{\beta } \frac{\epsilon _0}{2}) \right| < C_1 \right\} + \mathbb {P}\left\{ \sum _{i=1}^N B_i(t) \ge C_0 \mid \left| Q(\log _{\beta } \frac{\epsilon _0}{2}) \right| \ge C_1 \right\} . \end{aligned}$$
(10)

We bound the two terms in the RHS of Eq. (10) separately.

Bounding the 1st term: For any \(t\ge \log _{\beta } \frac{\epsilon _0}{2}\), we have

$$\begin{aligned} \mathbb {P}\left\{ \left| Q(t) \right|< C_1 \right\}&= \mathbb {P}\left\{ \left| Q(t) \right|< (1-\epsilon _0)N \right\} \\&= \mathbb {P}\left\{ \sum _{i=1}^N {\mathbbm {1}{\left\{ {\boldsymbol{s}_i(t) \not = n_0}\right\} }}< (1-\epsilon _0)N \right\} \\&= \mathbb {P}\left\{ \sum _{i=1}^N {\mathbbm {1}{\left\{ {T_i^1 \le t}\right\} }} < (1-\epsilon _0)N \right\} \\&= \mathbb {P}\left\{ \sum _{i=1}^N {\mathbbm {1}{\left\{ {T_i^1>t}\right\} }} > \epsilon _0 N \right\} \\&\le \exp \left( -\frac{\epsilon ^2_0N}{2} \right) , \end{aligned}$$

where the last inequality follows from Corollary 1.

Bounding the 2nd Term: Note that

$$\begin{aligned} \sum _{i=1}^N B_i(t)&= \sum _{a_i\in Q(t)} B_i(t) + \sum _{a_i\notin Q(t)} B_i(t). \end{aligned}$$

It is easy to see that

$$\begin{aligned} \sum _{a_i\notin Q(t)} B_i(t) = 0. \end{aligned}$$
(11)

In addition, we have

$$\begin{aligned}&\mathbb {P}\left\{ \sum _{a_i\in Q(t)} B_i(t) - \sum _{a_i\in Q(t)}\mathbb {E}\left[ B_i(t) \right] \ge \epsilon _0 \left| Q(t) \right| ~ ~ \mid ~~\left| Q(t) \right| \ge (1-\epsilon _0)N \right\} \\&= \mathbb {P}\left\{ \sum _{a_i\in Q(t)} B_i(t) - \sum _{a_i\in Q(t)}\pi _{i,t}(n_1) \ge \epsilon _0 \left| Q(t) \right| ~ ~ \mid ~~\left| Q(t) \right| \ge (1-\epsilon _0)N \right\} \\&\le \exp \left( - 2\left| Q(t) \right| \epsilon _0^2 \right) \\&\le \exp \left( - 2(1-\epsilon _0)\epsilon _0^2\,N \right) . \end{aligned}$$

Conditioning on \(\left| Q(\log _{\beta } \frac{\epsilon _0}{2})) \right| \ge (1-\epsilon _0)N\), from Corollary 2, we know that for each \(a_i\in Q(\log _{\beta } \frac{\epsilon _0}{2})\), for any \(t > \log _{\beta } \frac{\epsilon _0}{2} + \ell \), where \(\ell = \log _{\left( 1-R(H) \right) } \frac{\epsilon _0}{2}\), it holds that \(\pi _{i,t}(n_1) \le \pi ^*(n_1) +\epsilon _0\). Hence we get

$$\begin{aligned} \sum _{a_i\in Q(t)}\pi _{i,t}(n_1) + \epsilon _0 \left| Q(t) \right|&\le \left( \pi ^*(n_1) +\epsilon _0 \right) \left| Q(t) \right| + \epsilon _0 \left| Q(t) \right| \\&\le \left( \pi ^*(n_1) + 2\epsilon _0 \right) N. \end{aligned}$$

Thus,

$$\begin{aligned}&\mathbb {P}\left\{ \sum _{a_i\in Q(t)} B_i(t) \ge \left( \pi ^*(n_1) + 2\epsilon _0 \right) N \right\} \nonumber \\&\le \mathbb {P}\left\{ \sum _{a_i\in Q(t)} B_i(t) - \sum _{a_i\in Q(t)}\mathbb {E}\left[ B_i(t) \right] \ge \epsilon _0 \left| Q(t) \right| ~ ~ \mid ~~ \left| Q(t) \right| \ge (1-\epsilon _0)N \right\} \nonumber \\&\le \exp \left( - 2(1-\epsilon _0)\epsilon _0^2\,N \right) . \end{aligned}$$
(12)

Combining Eq. (11) and (12), we conclude that

$$\begin{aligned} \mathbb {P}\left\{ \sum _{i=1}^N B_i(t) \ge \left( \pi ^*(n_1) + 2\epsilon _0 \right) N \mid \left| Q(t) \right| \ge (1-\epsilon _0)N \right\} \le \exp \left( - 2(1-\epsilon _0)\epsilon _0^2\,N \right) . \end{aligned}$$

Combining the probability bounds on the first and second terms of Thoerem 1, we have

$$\begin{aligned}&\mathbb {P}\left\{ \sum _{i=1}^N {\mathbbm {1}{\left\{ {\boldsymbol{s}_i(t) = n_1}\right\} }} \ge \left( \pi ^*(n_1) + 2\epsilon _0 \right) N \right\} \\&\le \exp \left( - 2(1-\epsilon _0)\epsilon _0^2\,N \right) + \exp \left( -\frac{\epsilon _0^2N}{2} \right) \\&\le 2 \exp \left( -\frac{\epsilon _0^2N}{2} \right) ~~~ \text {as }\epsilon _0\in (0, 1/2), \end{aligned}$$

proving Theorem 1.

5 Extension: Failure of Consensus in More-Nest Environments

Both the results on asymptotic independence and its negative impact presented in Sect. 4 can be extended to the general k-new-nest environments where \(k>2\). On a high level, the necessary additions to the individual transition model (Fig. 2) are: 1) a new state for each new nest, each similar to the \(n_1\) and \(n_2\), 2) all new nests can exchange ants with each other, and 3) all new nests can receive ants from \(n_0\) through recruitment or discovery. The model for timing, environment, and execution of the whole colony remain the same as the two-nest case, where \(n_1\) has the highest quality. After adjusting quantities H and \(\pi ^*\), one can derive results similar to Theorem 1: without quorum sensing, the probability of consensus can be arbitrarily low. We detail these changes below in this section.

Fig. 5.
figure 5

State transition diagram for ant \(a_i\) during round \(t+1\) in a k-nest environment before/without quorum attainment. Probabilities \(\alpha _l^i(t+1), l \in [1,k]\) are composite functions each including the probabilities of an ant taking different paths (independent discovery or tandem running) to transition out of \(n_0\) into \(n_l\). Compared to Fig. 2, this figure shows the addition of one more new nest \(n_3\); any more new nests can be added in the same way.

Figure 5 shows the transition diagram for an individual ant before/without her seeing a quorum at any nest, and Eq. (13)–(16) define transition probabilities among the four states. Similar to the two-nest case, \( \mathbb {P}\left\{ TR_l^i(t+1) \right\} = \tau _l^i(t+1)\) for each \(l \in [1,k]\) is defined as the probability of the event that ant \(a_i\) transitions from \(n_0\) to \(n_l\) during round \(t+1\) by following a tandem run. Figure 5 displays only the addition of a third new nest, \(n_3\), and any more new nest can be added in the same way. The addition of \(n_3\) requires that during round t, an ant at \(n_0\) transitions to \(n_3\) with probability \(\alpha _3(t)\); an ant at \(n_3\) stays in \(n_3\) with probability \(u_3\); and an ant at a new nest l transitions to any other new nest \(m \not = l\) with transition probability \(\frac{1-u_l}{k-1}\).

$$\begin{aligned}&\mathbb {P}\left\{ \boldsymbol{s}_i (t+1)= n_l \mid \boldsymbol{s}_i (t) = n_0 \right\} = \alpha _l^i(t) \text { for }l \in [1,k] \end{aligned}$$
(13)
$$\begin{aligned}&\mathbb {P}\left\{ \boldsymbol{s}_i (t+1)= n_0 \mid \boldsymbol{s}_i (t) = n_0 \right\} = 1 - \sum _{l=1}^{k}\alpha _l^i(t) \end{aligned}$$
(14)
$$\begin{aligned}&\mathbb {P}\left\{ \boldsymbol{s}_i (t+1)= n_l \mid \boldsymbol{s}_i (t) = n_l \right\} = u_l \text { for }l \in [1,k] \end{aligned}$$
(15)
$$\begin{aligned}&\mathbb {P}\left\{ \boldsymbol{s}_i (t+1)= n_m \mid \boldsymbol{s}_i (t) = n_l \right\} = \frac{1- u_l}{k-1} \text { for }l,m \in [1,k]\text { and }m \not = l \end{aligned}$$
(16)

where

$$\begin{aligned}&\alpha _l^i(t) \triangleq \mathbb {P}\left\{ TR_l^i(t) \right\} \\&\quad + \mathbb {P}\left\{ \boldsymbol{s}_i (t+1)= n_l \mid (\boldsymbol{s}_i (t) = n_0 \wedge \lnot (TR_1^i(t) \vee TR_2^i(t) \vee \ldots \vee TR_k^i(t))) \right\} \\&\quad \quad \cdot \mathbb {P}\left\{ \lnot (TR_1^i(t) \vee TR_2^i(t) \vee \ldots \vee TR_k^i(t)) \mid \boldsymbol{s}_i (t) = n_0 \right\} \\&\quad = \tau _l^i(t) + \alpha (1-\sum _{l=1}^{k}\tau _l^i(t)), \text { for }l \in [1,k],\\&u_l \triangleq \frac{1}{1+\exp {(-\lambda q_l})} \text { for }l \in [1,k]. \end{aligned}$$

The two quantities used in the main theorem for a k-nest environment, H and \(\pi ^*\), are also different, as shown below.

  • H, a \(k\times k\) transition matrix of an arbitrary ant \(a_i\)’s state \(\boldsymbol{s}_i\) after she transitions out of \(n_0\), as specified in Eq. (17).

  • \(\pi ^* \in {\mathbb {R}}^k\), a vector representing the limiting distribution of an arbitrary ant \(a_i\) (Eq. (18)). The l-th element is the limiting distribution of state \(n_l\), for \(l \in [1,k]\).

$$\begin{aligned} H = \begin{bmatrix} u_1 &{} \frac{1-u_1}{k-1} &{} \frac{1-u_1}{k-1} &{} \frac{1-u_1}{k-1} &{} \ldots &{} \frac{1-u_1}{k-1} \\ \frac{1-u_2}{k-1} &{} u_2 &{} \frac{1-u_2}{k-1} &{} \frac{1-u_2}{k-1} &{} \ldots &{} \frac{1-u_2}{k-1}\\ \frac{1-u_3}{k-1} &{} \frac{1-u_3}{k-1} &{} u_3 &{} \frac{1-u_3}{k-1} &{} \ldots &{} \frac{1-u_3}{k-1}\\ \ldots &{} \ldots &{}\ldots &{}\ldots &{}\ldots &{}\ldots \\ \frac{1-u_k}{k-1} &{} \frac{1-u_k}{k-1} &{} \frac{1-u_k}{k-1} &{} \frac{1-u_k}{k-1} &{} \frac{1-u_k}{k-1} &{} u_k \end{bmatrix}. \end{aligned}$$
(17)

Solving the equation system \(\pi _i = \pi _iH\), we also obtain that

$$\begin{aligned}&\pi ^*(l) = \frac{\prod _{\forall m \in [1,k], m \not = l}^{k}(1-u_m)}{\sum _{w=1}^{k} \left( \prod _{\forall m \in [1,k], m \not = w}^{k}(1-u_m) \right) }, \text { for }l \in [1,k]. \end{aligned}$$
(18)

Main Theorem for k-Nests

Theorem 2

For any \(\varDelta \in [0, 1-\pi ^*(n_1)]\), let \(\epsilon _0 = \frac{1-\pi ^*(n_1)-\varDelta }{2} > 0\). Then it holds that

$$\begin{aligned} \mathbb {P}\left\{ \sum _{i=1}^N {\mathbbm {1}{\left\{ {\boldsymbol{s}_i(t) = n_1}\right\} }} \ge \left( \pi ^*(n_1) + 2\epsilon _0 \right) N = (1-\varDelta )N \right\} \le 2 \exp \left( -\frac{\epsilon _0^2N}{2} \right) , \end{aligned}$$

for any \(t > \left( \frac{1}{\ln (1-k\alpha )} + \frac{1}{\ln (1-R(H))} \right) \ln \frac{\epsilon _0}{2}\), where R(H) is Dobrushin’s coefficient of ergodicity ([11, Chapter 6.2]) of H.

Remark 5

Theorem 2 is stated for \(n_1\). A similar result holds for \(n_l\) for \(l > 1\). Like in the two-nest case, Theorem 2 again implies that extra mechanisms, such as the quorum rule are necessary to help the emigration reach consensus.

Fig. 6.
figure 6

State transition diagram for individual ants committed to \(n_1\) and \(n_2\), on the left and right, respectively.

6 Consensus with Quorum Sensing in Two-Nest Environments

An important work in progress is analyzing the probability of consensus when the quorum rule is in effect. In this section, we show as a work in progress the addition of the quorum sensing mechanism to our model, and our current results on the quorum sizes that are sufficient for consensus of average emigrations in two-nest environments.

Fig. 7.
figure 7

State transition diagram for ant \(a_i\) during round \(t+1\) with the quorum sensing mechanism. She first starts transitioning according to the left part of the figure, identical to Fig. 2. Then once she sees a quorum at either \(n_1\) and \(n_2\) (but not both), she commits to that nest and can only stay in that nest, as shown on the right part of the figure, identical to Fig. 6.

Note that the dynamics shown in Fig. 2 are also accurate here before an ant \(a_i\) sees a quorum for the first time at either nest. Thus, she starts her transitions according to Fig. 2 before seeing any quorum. The evaluation of whether \(n_m\) has reached quorum happens whenever \(a_i\) is in \(n_m\) at the beginning of a round t. Before she performs any transitions during round t, she compares the nest population to a quorum size, if \(a_i\) has not yet seen a quorum at \(n_m\) (or at any other nest). Once she detects that the population is at least as high as the quorum size, she becomes “committed” to \(n_m\). After that, she no longer monitors the nest’s population. We model an ant’s commitment by disallowing her to transition out of \(n_m\). This means she has to perform a transport action and stay in the \(n_m\) state at any round after \(n_m\)’s quorum attainment. As a result, once a nest reaches the quorum, it never drops out of the quorum and every ant that transitions to that nest gets “stuck” in that nest. We thus model a “committed” ant with a separate Markov chain that essentially only has one possible state, as shown in Fig. 6 and Eq. (19)–(22). For a committed ant \(a_i\), let \(n_m\) be the nest that she is committed to where \(m \in \{1,2\}\). Then the other new nest she is not committed to is \(n_{3-m}\).

$$\begin{aligned}&\mathbb {P}\left\{ \boldsymbol{s}_i (t+1)= n_m \mid \boldsymbol{s}_i (t) = n_m \right\} = 1 \end{aligned}$$
(19)
$$\begin{aligned}&\mathbb {P}\left\{ \boldsymbol{s}_i (t+1)= n_{3-m} \mid \boldsymbol{s}_i (t) = n_m \right\} = 0 \end{aligned}$$
(20)
$$\begin{aligned}&\mathbb {P}\left\{ \boldsymbol{s}_i (t+1)= n_m \mid \boldsymbol{s}_i (t) = n_{3-m} \right\} = 0 \end{aligned}$$
(21)
$$\begin{aligned}&\mathbb {P}\left\{ \boldsymbol{s}_i (t+1)= n_{3-m} \mid \boldsymbol{s}_i (t) = n_{3-m} \right\} = 0. \end{aligned}$$
(22)

Individual Model With Quorums. We show the full model in Fig. 7. The addition of transporting as a possible recruitment method thus has two impacts in the full model:

  • An ant \(a_i\) in \(n_0\) can get recruited by being transported to either \(n_1\) or \(n_2\), in addition to following a tandem run.

  • an ant \(a_i\) in either state \(n_1\) or \(n_2\) choosing to stay in the same state tries to recruit another ant from state \(n_0\) through a tandem run if the quorum is not reached (Fig. 2, Eq. (5)), or through a transport otherwise (Fig. 6, Eq. (19)). Whether the recruitment is successful or not still has no effect on \(a_i\)’s own state transitions during this round. Otherwise, if she does not recruit, she searches her environment and discovers the new nest she is not currently at (Eq. (4)).

It still holds that during any given round t, if an ant \(a_i\) at \(n_0\) does not get recruited, her transitions are Markovian and independent (Fig. 2, Fig. 6). The whole colony dynamics are the same as shown in Sect. 2.3 and the whole colony state retains its Markovian properties.

Fig. 8.
figure 8

3D plots demonstrating quorum sizes that are sufficient for consensus, when \(\alpha \le \frac{1}{3}\). Views from two angles.

Current Work: In our work in progress, through theoretical analysis and simulation work, we are striving to derive quorum sizes that are sufficient for consensus. Our preliminary results in Fig. 8 show such quorum sizes for two-nest environments. In these emigrations, we enforce that \(\varDelta =0\) to model the most challenging requirement of consensus. In Fig. 8, for the full ranges of \(u_1\) and \(u_2\) in the frequent case that \(\alpha < \frac{1}{3}\), we visualize the quorum sizes (QS) in the range [0.25, 0.5] that are expected to lead to consensus. The desirable values of the quorum size show general consistency with experimental findings of the observed quorum size employed by Temnothorax ant colonies [8, 22]. However, we are still working on deriving the mathematical expressions for quorum sizes that are sufficient for consensus, as well as on extending these results to k-nest environments (\(k>2\)). We plan to show all related details of this effort in a follow-up manuscript.

7 Discussion and Future Work

In this paper, we used analytical tools to show that without quorum sensing, the collective nest site selection process by Temnothorax ants has a limited probability to reach consensus. And this probability can be arbitrarily low for a colony size arbitrarily large. Conversely, we obtain a high probability bound for failure of consensus. Without quorum sensing, the only form of recruitment, tandem runs, does speed up the emigration process, but our results show that emigrations would still have a high probability of splitting among multiple new sites, imposing significant risks to the colony’s survival. We first analyze a model of a two-new-nest environment, and then extend our results to environments with more nests. Our results provide insights into the importance of extra mechanisms, such as the quorum sensing mechanism, for emigrations to reach consensus in an unpredictable environment with multiple nests.

In this paper we also provided a preview of an important work in progress investigating how different quorum sizes influence emigration outcomes if quorum sensing is involved, in two-nest environments. Further extensions in this direction are to apply similar analytical methods to the general environment with the addition of quorum sensing to gain insights on how the number of nests and their qualities might influence the desirable values for the quorum size, with the goal to avoid splits, or to ensure consensus, or with an objective involving a specific degree or probability of consensus.

Additionally, another future work direction is to make our model more bio-plausible. Specifically, our model does not consider the very small probability that committed ants “drop out” of the nest they are committed to, and go back to searching. Adding this into the model could make it biologically more realistic.

Finally, one more way to strengthen our theoretical results is by adding a time bound metric to our consensus problem. Our current consensus metric, the consensus probability C, only requires that at least \((1-\varDelta )N\) ants keep staying at either \(n_1\) or \(n_2\) after a finite number of rounds. By adding a time bound metric as well, we would be able to better characterize the consensus probability (even if lower than a given C) of an emigration by a certain time t.