1 Introduction

Conflicts between two armed groups have been studied with paradigmatic models (i.e., simple allegories of the real world) for more than one century (see [1] for a survey). The models are of three different types:

  • descriptive (ordinary differential equations),

  • individual based (interactions among groups of individual units),

  • rational agents (mathematical programming, optimal control, and game theory).

Models of the first class, composed in general of two differential equations (one for each group, see [2] for a recent survey), combine and extend the pioneering studies of Lanchester [3] and Richardson [4, 5]. They show that the fight does not necessarily end with the annihilation of one group. Indeed, in these models stationary coexistence of the groups (so-called stationary stalemate) has been shown to be possible. As proved by experience and discussed in recent and outstanding survey papers (see [1, 2]), descriptive models are of great conceptual value even if they can rarely be applied to specific real cases.

Here, we propose a new and more sophisticated descriptive model in which individuals are either searching for enemies or handling prisoners, and groups can follow different recruitment policies ranging from pure defensivism to pure fanaticism. With this model, we show that also periodic coexistence is possible, thus supporting the idea that conflicts can be characterized by recurrent ups and downs in the dominance of the groups.

Our model can deal with the general case of N groups fighting one against the other, a problem of increasing concern. The model is composed of \(N^2\) ordinary differential equations, containing \(3 (N^2+N)\) parameters, used to mimic the recruitment policies as well as the offensive and intelligence efficiencies of the groups. Since equations and parameters increase in number as \(N^2\), the study of the model requires a remarkable effort even if it is limited, as done in this paper, to the case of three fighting groups.

The work performed so far along this line is still in progress. For this reason, we present only preliminary results pointing out, however, a number of interesting behaviors. In particular, we explain why external interventions of short duration (shocks) can modify the fate of the conflict, and why small but permanent (structural) changes can trigger the annihilation of a group or transform a stationary stalemate into a cyclic one.

2 Behavioral characteristics

We consider a finite number of groups \(i=1,\ldots ,N\) fighting one against the other. The size of each group at time t is denoted with \(x_i(t)\), and the individuals of the group are assumed to be, at any time t, either searching for enemies or handling prisoners. Thus,

$$\begin{aligned} x_i(t)=s_i(t)+ h_{i}(t) \end{aligned}$$
(1)

where \(s_i(t)\) are all individuals of group i searching for enemies (of any group), and \(h_{i}(t)\) are handling individuals of group i. Handling includes all activities that follow the capture of an enemy, namely the elimination of the victims, the transportation, supervision and feeding of the prisoners, and their exchange for ransom. These service activities require some time called handling time. An individual who has accomplished all handling tasks becomes searching again (transition \(h\rightarrow s\)), while a searching individual becomes handling immediately after capturing an enemy (transition \(s\rightarrow h\)).

Since handling activities can be different for different groups of prisoners, we denote with \(h_{ij}\) the individuals of group i handling prisoners of group j and with \(\tau _{ij}\) their handling times. Obviously

$$\begin{aligned} h_{i}(t) = \sum _{j}h_{ij}(t). \end{aligned}$$
(2)

3 Capture of enemies

When searching individuals of group i discover an enemy, they attack and try to capture the enemy, but their success depends not only on the group to which the enemy belongs but also on the fact that the discovered enemy is searching or handling. The rates at which searching individuals of group i encounter and capture searching and handling individuals of group j are indicated with \(\sigma _{ij}^\mathrm{s}\) and \(\sigma _{ij}^\mathrm{h}\), respectively. If the searching process is purely random, the standard assumption is that \(\sigma _{ij}^\mathrm{s}\) and \(\sigma _{ij}^\mathrm{h}\) are independent upon the size of the searching group. But, more sophisticated assumptions could also be considered. For example, if searching individuals of group i are cooperative (e.g., if they communicate and call each other when they discover groups of enemies), it would be reasonable to assume that \(\sigma _{ij}^\mathrm{s}\) and \(\sigma _{ij}^\mathrm{h}\) increase with the size of the searching group. But also the case of \(\sigma _{ij}^\mathrm{s}\) and \(\sigma _{ij}^\mathrm{h}\) decreasing with the size of the searching group could be interesting because it interprets the situation in which soldiers of the same group interfere negatively. In general, the success rates \(\sigma _{ij}^\mathrm{s}\) and \(\sigma _{ij}^\mathrm{h}\) are different and \(\sigma _{ij}^\mathrm{s}>\sigma _{ij}^\mathrm{h}\) because handling is often performed in relatively hidden or protected areas. But in special circumstances, in particular when the intelligence of group i is high, safe refuges do not exist for group j, and \(\sigma _{ij}^\mathrm{s}=\sigma _{ij}^\mathrm{h}\). Notice that, in order to reduce the number of parameters, individuals of group i are assumed to have the same success with all handling individuals of group j. Moreover, all captured individuals are eliminated from the game, i.e., prisoners can not be freed or, if they are, they do not return immediately to their groups.

Let us now indicate with \(V_{ij}\) the flow of victims of group j captured by (searching) individuals of group i. From now on, when there are two indexes (say i and j), the first indicates the group of the killer and the second the group of the victim. Since individuals are either searching or handling when they are captured, we must consider two flows, namely \(V_{ij}^\mathrm{s}\) and \(V_{ij}^\mathrm{h}\). Obviously

$$\begin{aligned} V_{ij}=V_{ij}^\mathrm{s} + V_{ij}^\mathrm{h}. \end{aligned}$$
(3)

We can also introduce the flows

$$\begin{aligned} V_{i+}^\mathrm{s}=\sum _{j} V_{ij}^\mathrm{s}, \quad V_{i+}^\mathrm{h}=\sum _{j} V_{ij}^\mathrm{h}, \end{aligned}$$
(4)

of all searching individuals captured by group i and of all handling individuals captured by group i and indicate with \(V_{i+}\) the flow of all individuals captured by group i, i.e.,

$$\begin{aligned} V_{i+}=V_{i+}^\mathrm{s} + V_{i+}^\mathrm{h}. \end{aligned}$$
(5)

Similarly, we can consider the flows

$$\begin{aligned} V_{+j}^\mathrm{s}=\sum _{i} V_{ij}^\mathrm{s}, \quad V_{+j}^\mathrm{h}=\sum _{i} V_{ij}^\mathrm{h} \end{aligned}$$
(6)

of searching or handling individuals of group j captured by some enemy and indicate with

$$\begin{aligned} V_{+j}=V_{+j}^\mathrm{s} + V_{+j}^\mathrm{h} \end{aligned}$$
(7)

the flow of all victims of group j.

All flows are known once the flows \(V_{ij}^\mathrm{s}\) and \(V_{ij}^\mathrm{h}\) are specified as functions of the sizes of the searching and handling groups. In the following, we consider the case of random encounters where

$$\begin{aligned} V_{ij}^\mathrm{s} = \sigma _{ij}^\mathrm{s} s_i s_j, \quad V_{ij}^\mathrm{h} = \sigma _{ij}^\mathrm{h} s_i h_j. \end{aligned}$$
(8)

4 Recruitment policies

We assume that each group is sustained by suitable recruitments (e.g., soldiers during their military service, volunteers, hired professionals) and we distinguish between two different flows of recruitment.

The first, indicated with \(G_i\) and called guaranteed recruitment, is a flow supported by the state or its allies independently on the current injuries suffered by the group or inflicted to its enemies. This flow is simply a function of the size of the group, i.e., \(G_i=G_i(x_i)\) and the selected functional form is

$$\begin{aligned} G_i(x_i) = r_i x_i - c_i x_i^2 \end{aligned}$$
(9)

where \(r_i x_i\) is the difference between basic recruitment and basic retirement when the size of the group is small, while \(c_i x_i^2\) is the surplus of retirement present when difficulties in the progress of careers or limitations in salaries and benefits emerge when the group becomes large. In general, \(r_i>0\) and \(c_i>0\) so that the maximum guaranteed recruitment is \(r_i^2/4 c_i\). But \(r_i\) can also be negative: This occurs when basic retirement of small groups overcomes basic recruitment, i.e., when the group goes gradually extinct in the absence of enemies. This might interpret the dynamics of groups of fanatic rebels.

The second form of recruitment, indicated with \(R_i\) and called reaction recruitment, is a function of the current injuries suffered by the group (\(V_{+i}\)) and inflicted to its enemies (\(V_{i+}\)). In the following, for simplicity, we assume that the reaction recruitment \(R_i\) depends on a weighted sum \(z_i\) of the suffered and inflicted injuries, i.e., \(R_i=R_i(z_i)\), where

$$\begin{aligned} z_i=d_i V_{+i} + f_i V_{i+}. \end{aligned}$$
(10)

In this sum, the two weights \(d_i\) and \(f_i\) are assumed to be constant and are called defensivism and fanaticism, respectively. Groups representing the army or anti-terrorism services of standard countries have \(f_i=0\) (or very small), while \(f_i\) can be large in groups of fanatic rebels. If group i has different reactions with respect to different groups, we should use the more general weighted sum

$$\begin{aligned} z_i=\sum _{j}d_{ij} V_{ji} + \sum _{j} f_{ij} V_{ij} \end{aligned}$$

where defensivism and fanaticism depend on two indexes. This is certainly possible, but is not done here in order to keep the complexity of the model under control. The function \(R_i(z_i)\) must be zero for \(z_i=0\), because in the absence of injuries the recruitment must be the guaranteed recruitment. Moreover, it is reasonable to assume that the function \(R_i(z_i)\) is increasing with \(z_i\), since the reaction to injuries obviously increases with injuries. Finally, the function \(R_i(z_i)\) must saturate for \(z_i\rightarrow \infty \), because unbounded recruitments can not be realized in view of physical and economic constraints. Figure 1 shows a reaction recruitment that satisfies the above three properties. The function \(R_i(z_i)\) used in the model is

$$\begin{aligned} R_i(z_i)=\frac{\rho _i R_i^{\max } z_i}{\rho _i z_i+R_i^{\max }} \end{aligned}$$
(11)

where the meaning of the two parameters \(\rho _i\) and \(R_i^{\max }\) is pointed out in Fig. 1.

Fig. 1
figure 1

Reaction recruitment as a function of the weighted sum \(z_i\) of the injuries. The graph is obtained from Eq. (11) with \(R_i^{\max }=1,\ \rho _i=3\)

In order to fully specify the model, we must also say how the recruitment \((G_i+R_i)\) is distributed among searching and handling groups. If we denote with \(\lambda _i^\mathrm{s}\) the portion of recruitment allocated to the searching group and with \(\lambda _{ij}^\mathrm{h}\) the portion allocated to the group handling individuals j (obviously \(\lambda _i^\mathrm{s}+\sum _{j} \lambda _{ij}^\mathrm{h}=1\)), in principle various options are possible. For example, we could assume that the recruitment is entirely allocated to the searching group, i.e., \(\lambda _i^\mathrm{s}=1,\ \lambda _{ij}^\mathrm{h}=0\), or that it is equally subdivided among all groups, i.e., \(\lambda _i^\mathrm{s}=\lambda _{ij}^\mathrm{h}=1/N\), or that it is subdivided proportionally to the sizes of the groups, i.e., \(\lambda _i^\mathrm{s}=s_i/x_i,\ \lambda _{ij}^\mathrm{h}=h_{ij}/x_i\). Here, we follow the third option, because it is the only one that can be shown to guarantee the positivity of the model (i.e., the property that starting from positive initial conditions the state of the system remains positive forever).

Fig. 2
figure 2

The flows of individuals joining and leaving each searching group (a) and each handling group (b)

5 A general model

The model is fully specified by writing the balance equations for each searching and handling group. Figure 2 shows the flows of individuals joining and leaving each group. For each searching group, we must write the equation (see Fig. 2a)

$$\begin{aligned} \dot{s}_i = (G_i(x_i)+R_i(z_i))\frac{s_i}{x_i} + \sum _{j}\frac{h_{ij}}{\tau _{ij}} - V^\mathrm{s}_{+i} - V_{i+} \end{aligned}$$
(12a)

while for each handling group we have (see Fig. 2b)

$$\begin{aligned} \dot{h}_{ij} = (G_i(x_i)+R_i(z_i))\frac{h_{ij}}{x_i}+V_{ij}-V^\mathrm{h}_{+i} \frac{h_{ij}}{h_i}-\frac{h_{ij}}{\tau _{ij}}. \end{aligned}$$
(12b)

In these equations, the flow \(h_{ij}/\tau _{ij}\) is the flow of individuals of group i terminating their handling tasks with individuals of group j, under the assumption of random termination of the tasks.

A set of N ODEs for the group sizes can be easily derived from Eq. (12). Indeed, from Eqs. (1, 2) we have

$$\begin{aligned} \dot{x}_i(t)=\dot{s}_i(t)+\sum _{j} \dot{h}_{ij}(t) \end{aligned}$$

which, taking (12) into account, becomes

$$\begin{aligned} \dot{x}_i = G_i(x_i)+R_i(z_i)-V_{+i}. \end{aligned}$$
(13)

Obviously, this equation could be written a priori, because it simply says that the derivative of the group size is the unbalance between total flow of recruitment and flow of victims.

Thus, Eq. (12a) can be substituted by Eq. (13). In the following, we refer to the set of Eqs. (111, 12b, 13) because it has the advantage of pointing out explicitly the sizes \(x_i\) of the groups, which are undoubtedly variables of great concern.

Model (111, 12b, 13) can hardly be studied analytically because, even in the simplest case (\(N=2\)), it is composed of four nonlinear differential equations. However, three interesting general results can be proved. The first says that governmental groups (characterized by \(r_i>0\)) cannot go extinct if they are highly defensivist. Indeed, when the size \(x_i\) is small, the flow of victims \(V_{+i}\) and \(V_{i+}\) is also small so that, in view of Eqs. (911), we can approximate Eq. (13) as

$$\begin{aligned} \dot{x}_i \simeq r_i x_i+(\rho _i d_i -1) V_{+i}+\rho _i f_i V_{i+} . \end{aligned}$$
(14)

Hence, if group i is highly defensivist (in the sense that \(\rho _i d_i>1\)) \(\dot{x}_i\) is positive for small \(x_i\), and this prevents the extinction of the group. The second result concerns the groups of rebels (characterized by \(r_i<0\)) and says that none of them can achieve absolute victory since, in the absence of enemies (\(x_j=0\) for all \(j\ne i\)), the time derivative of their size

$$\begin{aligned} \dot{x}_i = r_i x_i - c_i x_i^2 \end{aligned}$$

is always negative. Finally, the third result says that rebels cannot go extinct if they are highly fanatic. Indeed, for small values of \(x_i\) also the flows \(V_{+i}\) and \(V_{i+}\) are small, and again Eq. (13) can be approximated with Eq. (14). But the two flows of victims can be shown to be of the same order of \(x_i\), so that sufficiently high values of \(f_i\) guarantee that \(\dot{x}_i\) is positive, and this prevents extinction.

Since the analytical treatment of the model is practically impossible, the only feasible approach is to study the model through numerical bifurcation analysis, or, more simply, through simulation. The results we have obtained so far with bifurcation analysis are still incomplete because the number of bifurcations is particularly high. Even in the simplest case (\(N=2\)), the bifurcations of the model have not yet been fully understood. Thus, we present only results obtained through simulation (using a Dormand–Prince (4,5) numerical scheme). In order to help the reader in drawing conclusions by comparing the various scenarios obtained through simulations, we present only results concerning conflicts among \(N=3\) groups, more precisely one governmental group and two groups of rebels. This choice is due to the particular attention that this case has recently attracted worldwide.

Figure 3 is an example of the typical panel we can produce for any assignment of the parameters and of the initial conditions of the model. The figure summarizes the results of the simulation of a conflict among three groups. Group 1 is a governmental group (\(r_1>0\)), while 2 and 3 are groups of rebels (\(r_i<0\), \(i=2,3\)). The initial conditions \(x_i(0)\) are specified in the left part of the panel (here and in the following, \(h_{ij}(0)=0\)) together with the parameter values (the unit time is the day) characterizing military performances and recruitments. In the right part of the panel, the time series of the group sizes \(x_i\) are shown for a time period of 10 years. The time series clearly show that, in this example, the groups tend to a positive equilibrium.

Fig. 3
figure 3

Typical result of a simulation of model (111, 12b, 13) where the three groups tend toward a positive equilibrium. Parameter values and initial conditions are specified on the left and point out that 1 is a governmental group (\(r_1>0\)), while 2 and 3 are groups of rebels (\(r_i<0\), \(i=2,3\))

6 Coexistence and eradication

Depending upon initial conditions and parameter values, the fate of the system can be different. If

$$\begin{aligned} \lim _{t\rightarrow \infty } x_i(t)=0 \end{aligned}$$

we say that the i-th group goes extinct or is eradicated.

One possible scenario is that no group is eradicated. This means that all groups remain in the game forever, or, in other words, that all groups coexist in the long term. However, the asymptotic dynamic regime can be different because coexistence can be stationary as in Fig. 3, or periodic as in Fig. 4. Notice that only the fanaticism of the rebels has been changed (actually increased) in passing from Figs. 3 to 4. Thus, the comparison of the two figures allows one to conclude that turbulent behaviors should be expected if rebels are highly fanatic.

Fig. 4
figure 4

Transients toward a periodic coexistence regime. Only the fanaticisms of the rebels are different than those of Fig. 3. The comparison with Fig. 3 shows that high fanaticisms of the rebels can trigger turbulent behaviors

If one or more groups go extinct, the others coexist and tend to one of the possible asymptotic regimes. Figure 5 shows, for example, two cases in which one group goes extinct and two coexist. In the first panel, the coexistence is stationary, while in the second it is periodic. The only difference between the two cases is that the efficiencies \(\sigma ^\mathrm{h}_{21}\) of group 2 of rebels in capturing handling individuals of the governmental group 1 is higher in the second panel. Thus, the last 5 years of the time series of the second panel point out that a single group of rebels and a governmental group can tend toward a regime of periodic coexistence if the military efficiency of the rebels is sufficiently high. As far as we know, this is an original result in the theory of conflicts between two armed groups.

Fig. 5
figure 5

Transients of three fighting groups (1 governmental, 2 and 3 rebels) with group 3 going extinct: top stationary coexistence; bottom periodic coexistence. Notice that \(\sigma ^\mathrm{h}_{21}\) is the only parameter that is different in the two cases

Fig. 6
figure 6

Consequences of a contemporary external attack against groups 2 and 3, aimed at protecting the governmental group 1

Fig. 7
figure 7

Unpleasant consequences of an attack against a group of rebels (at the end of the 4th year): Group 3 is attacked and eradicated, but the other group of rebels (group 2) reappears in the game (the new coexistence regime is periodic)

7 Long-term consequences of external shocks

A short but heavy intervention of an external military force can vary quite significantly the number of individuals of one or more groups. Interventions of this kind, here called shocks, can be interpreted as sudden perturbations of the state of the system. Typical interventions are the increase in the size of the group that the external military force wants to help, or the reduction in the size of its enemies. If the system has a unique attractor, there are no consequences in the long term because the groups tend for all initial conditions to the same asymptotic regime. In other words, the system is resilient and the shock is smoothly absorbed. But if the system has multiple attractors, each one with its basin of attraction, the shock can have serious consequences even in the long term. This occurs when the shock entrains the jump of the state of the system from one basin of attraction to another.

Fig. 8
figure 8

Impacts of the same shock performed at two different times: bottom left success (group 2 is eradicated and group 3 is sustained); bottom right failure (group 2 is not eradicated and group 3 is not sustained)

Fig. 9
figure 9

The effect of doubling the efficiencies \(\sigma _{1j}^{s}\) and \(\sigma _{1j}^{h}\) of the governmental group 1 after 5 years

Devising successful shocks is however quite difficult. Consider, for example, the case described in Fig. 6 where, again, 1 is a governmental group (\(r_1>0\)) and 2 and 3 are rebels (\(r_2,r_3<0\)). The time series show that in a short time (3 years) the governmental group is almost annihilated, while the rebels reach very high sizes. Imagine now that at the end of the fourth year an external country allied to the governmental group intervenes and reduces consistently the sizes of the two groups of rebels with a short but heavy military attack, as shown in Fig. 6. The time evolutions of the groups after that intervention show that the shock is only partly successful. Indeed, the size of the governmental group rises up, but the rebels are not eradicated and the size of group 2 is actually slightly increased in the long term.

Figure 7 shows another surprising consequence of an external shock (given again after 4 years), with the aim of eradicating group 3, which is the only remaining dangerous group of rebels—group 2 being almost eradicated after 4 years. The result is in part as expected, namely group 3 is eradicated. But the surprise is that group 2 reappears in the game and reduces the average size of the governmental group.

It is worth noticing that the eradication of a group can, in principle, be obtained with a limited military effort, provided the system is shocked when its state is close to the boundary separating the two basins of attraction. For this reason, the success of a military intervention aimed at supporting one group might critically depend on the time of the intervention. Figure 8 shows an interesting example. The first scenario points out that without external intervention group 3 goes extinct, while the two bottom scenarios show the consequences of an intervention performed by an external country supporting group 3 of rebels by increasing their size \(x_3\). On the left, the intervention, performed after 1 year, is successful because group 3 does not go extinct anymore and group 2, in competition with group 3, is eradicated, while on the right the same intervention, performed after 2 years, is not successful because group 3 is still eradicated. The message of the numerical experiment described in Fig. 8 is that the help to a group dangerously declining toward extinction has greater chances of success if the help is given earlier.

Fig. 10
figure 10

The effects of three subsequent structural changes corresponding to increases in the efficiencies \(\sigma _{1j}^\mathrm{s}\) and \(\sigma _{1j}^\mathrm{h}\) of group 1. The first change (occurring at the end of the 6th year) eliminates the oscillations (Hopf bifurcation), while the second and third (end of 9th and 11th years) eradicate groups of rebels (transcritical bifurcations)

8 Consequences of structural changes

The military characteristics of a group can suddenly change and then remain constant for a long period, if not forever. The activation of a newly constructed military airport, the permanent supply of arms guaranteed by an external country, and the establishment of a new intelligence system are examples of this kind of changes, from now on called structural.

The impact of structural changes can, in principle, be identified by simulating the model from the time \(t^*\) of the change. The parameter values must be modified with respect to those used in the previous phase, i.e., for \(t<t^*\), while the initial state must be equal to the state reached at \(t=t^*\). Figure 9 shows, for example, the case in which the efficiencies \(\sigma ^\mathrm{s}_{1j}\) and \(\sigma ^\mathrm{h}_{1j}\) of the governmental group are doubled at \(t=t^*=5\), when the groups are in a stationary coexistence regime. The impact of this structural change is absolutely not surprising: The new coexistence regime is still stationary but with a drop in the sizes of the rebels.

Structural changes can also have relevant long-term consequences. This actually occurs quite frequently because the system has so many bifurcations that it is easily possible that the perturbation of parameters interpreting the structural change implies the crossing of one or more bifurcation curves in parameter space. Figure 10 shows the consequences of three subsequent structural changes (corresponding to increases in the efficiencies \(\sigma _{1j}^\mathrm{s}\) and \(\sigma _{1j}^\mathrm{h}\) of group 1). The first change (occurring at the end of the 6th year) stabilizes the system (switch from periodic to stationary coexistence), while the second (end of the 9th year) eradicates group 3 and the third (end of the 11th year) eradicates also group 2.

9 Conclusions

The results presented in this paper allow us to conclude that the model we have proposed can produce extremely rich dynamic scenarios. In other words, our model can be interpreted as a general theory capable of explaining the great variety of phenomena historically observed in the context of armed conflicts. From a conceptual point of view, this is undoubtedly an important contribution.

The fate of real conflicts is often believed to be unpredictable because data are too scarce (see, for instance, [6, 7] for studies on terrorism). But the truth is even worse than that. In fact, the results we have discussed show that the dynamics of fighting groups can be extremely sensitive to initial conditions and parameter values. Thus, the fate of a fight could actually be unpredictable even if very rich data sets support almost perfect estimates of the parameters. Indeed, a reason to tame the enthusiasm toward data-driven decision making.

We like to conclude this paper by stressing, once more, that the results we have presented are just preliminary. More effort is needed to answer important questions concerning conflicts among armed groups. Some of these questions are rather academic. For example: Can the model have strange attractors, i.e., can the fate of conflicts be unpredictable in the rigorous mathematical sense? And, if yes, can peak-to-peak dynamics exist and chaotic intermittence emerge? Other questions are of greater interest for decision makers. For example: Can the model be used to predict, at least qualitatively, the effects of temporary coalitions, or to evaluate the impact of an increase of the power of the army or of the efficiency of the intelligence? Answering these questions requires a deep knowledge of the theory of nonlinear dynamical systems as well as a great competence in the numerical aspects of stability and bifurcation analysis, and is left for future research.