Introduction

Social and political systems display different types of order and structure, with very different outcomes. Small-scale informal organisations might be skill or power based, whereas large-scale social systems often involve complex politics. Some form of formal or latent hierarchy is present in almost all social organisations. Traditional military organisations are perhaps the prototypical example of rigid hierarchy, with a very ordered structure allowing instructions to be quickly passed from top to bottom1. While these kinds of singular hierarchies abound historically2, in the 18th Century the influential treatise “The Spirit of the Laws” laid down a political theory that rejected hierarchical structure of government and called for a separation of powers3, i.e. balancing power between multiple hierarchies. Influenced by this treatise and other enlightenment thinking, the US Constitution, which among other things dictates the structure of the US Government, prescribes a series of checks and balances with the explicit intention of preventing a singular tyrannical exploitation of power4. On the other end of the scale, political anarchy has been described as a rejection of any form of hierarchy5. Anarchy should not be dismissed as disorganised chaos - there are movements in management2 and organisational6 science that encourage self-empowered individuals working autonomously or in dynamically forming teams, with an organisational structure resembling that of political anarchy. One can regard anarchy as a non-equilibrium form of hierarchy, whereby at any particular quasi-static state, a power hierarchy exists. In between these extremes, modern democracies (on average) can be considered more distributed than rigid tyrannical hierarchies and more ordered than political anarchy, somewhere between the two. In fact, we can find a myriad of organisational structures2, ranging from the structured (military, churches, schools), to those that are consumer driven, to those that have an ad-hoc agile decision process. An important question in all of these social structures is how effective leadership is at influencing change, or how fast a change in policy spreads through the network, if at all. The same question sheds light on how fast a disruption can spread through an organisation, with resilient ones able to dampen its propagation quickly, whereas non-resilient organisations can suffer long-term cascading confusion.

Social systems are part of a broader class of complex interaction systems that are well suited to being modelled as networks. There has been much work in the past investigating the structure and dynamics of complex networks, with many excellent overviews including7,8,9. Dynamics such as stability10,11, consensus12, disease spread13 and percolation14 have been examined in relation to topological measures such as spectral analysis7,10, connectivity12, clustering7, core-periphery15, degree distributions7 and trophic coherence16, among many other studies. Joint entity dynamics and topological analysis have been conducted in recent studies, especially for one-dimensional population dynamics17,18.

There is a burgeoning recognition that there are a class of systems, and associated network models, where the direction of edges is of paramount importance to the system dynamics. Non-normality19 and trophic coherence11 have emerged as two important topological measures of directed graphs that address this. Non-normality can be thought of as the degree of departure from symmetry in a network, while trophic coherence is a measure of how aligned the edges are in one direction. There is a conceptual similarity, and the two measures have been proven to be mathematically connected so that networks that have high trophic coherence are also highly non-normal20. These measures have had successes in describing systems where the direction of interactions is important, including ecosystem resilience11,19 and neural dynamics21,22. In the social realm, we consider that the direction of edges (and influence) in social organisational models is important and so is suitable for this kind of analysis.

Social systems display rich and complex behaviour, far beyond our ability to fully capture in mathematical models. In order to investigate the problem we necessarily make simplifying assumptions. Our approach is informed by sociophysics, the application of models and methods from the physical sciences to social systems15,23. The most common and valid criticism of sociophysics is that the necessary assumptions made in order to reduce the social system to a tractable model can often overlook the subtleties and richness of the social dynamics23. A response to this criticism, and the stance that we aim for, is to avoid the positivist pitfall of thinking that our models completely describe or predict social behaviour, and instead to look for simple models that reveal salient features of social systems, that can then be used to inform further research and more qualitative approaches. With this in mind, we consider networks with nodes as people and political influence moving along directed edges. We are interested in the dynamics on these networks, in particular the speed to consensus following a change in policy from the leadership.

Our approach, which will be fully explained in the following section, is along the lines of previous work on modelling opinion dynamics in social systems by considering the dynamics of the Ising model in complex networks (see23 for an overview). Our model can lead to nodes flipping back and forth between states as influence spreads, which is an important aspect of social influence dynamics in the real world. This phenomena emerges from the propagation of multiple states (types of influence) through cycle structures that form in non-tree like directed graphs, which cannot easily be described using similar models such as the SI model in epidemiology24 or cascade failure models25.

Our unique contribution will be to show how time to consensus on these networks changes in relation to the topological measure of the trophic incoherence parameter. The broader aim with this study is to show, through this simple example, how the consideration of trophic coherence can be applied to improving our understanding of social networks.

Methods

We will model social systems as directed graphs, with nodes as people (or small groups/entities within organisations) and with influence spreading along directed edges. Here, influence is an asymmetric property (can be two-ways) that can be the delegation of a task, the transmission of a command, or the sharing of information. We define a directed graph as \({\mathscr{G}}=(V,E)\), where V is the set of vertices or nodes in the graph, and E is the set of directed edges between nodes. This can be fully described by an adjacency matrix A, such that the elements of A are

$${a}_{ij}=\left\{\begin{array}{ll}1 & \,{\rm{if\; directed\; edge\; exists\; from}}\,i\,{\rm{to}}\,j\\ 0 & \,{\rm{otherwise}}\,\end{array}\right.$$

We will use S or n to denote the size, or number of nodes, of a network. L will be used for the number of edges. B will be used for the number of basal nodes, which are nodes with no in-edges. From a social systems perspective, basal nodes are considered “leaders” who are not influenced by any other nodes.

Power stratification measured by topological trophic coherence

In different social organisation structures, the clarity or coherence of power stratification depends on the number of feedback loops subordinates have to managers. In our abstract model, if a subordinate has equal feedback power as the manager has delegate power, we regard them as equals. When the network is large, the feedback can arch across different levels and it becomes difficult to quantify: (1) the number of power levels, and (2) the coherence of the power levels. To capture the degree of power stratification we will consider trophic coherence, a topological property of directed networks which captures the extent to which edges are aligned, as in a top-down hierarchy, or more disorganised, as usually seen in a random graph11,26. To describe trophic coherence, we first need to describe trophic levels.

The concept of trophic levels was originally developed in relation to food web networks, which classify species in accordance to their predation relationships11. In a food web, the nodes are species and directed edges go from prey to predator. Each species can be assigned a trophic level, which signifies how far “up” the food web the species is27. Basal species, with trophic level 1, are those that generate energy directly from the environment such as plants and algae27. Species that feed only on basal species, such as sheep, are assigned trophic level 2. A wolf that predates only on sheep would be given trophic level 3. Some species do not fit neatly into an integer trophic level, for example a scavenger like a rat may feed on plants as well as the dead bodies of sheep and wolves11. The concept of describing directed networks with energy flow has been extended beyond food webs, for instance to inferring multi-scale stability in both transportation networks16 and water distribution systems28.

Consider the food web network adjacency matrix, A, such that aij is the amount of biomass that species j predates from species i. The trophic level of a species, sj, is defined as the weighted mean of the trophic levels of the species that j preys upon, plus one11.

$${s}_{j}=\frac{{\sum }_{i}{a}_{ij}{s}_{i}}{{\sum }_{i}{a}_{ij}}+1$$
(1)

This describes a linear system that can be solved with a unique solution with the sufficient condition that each node has at least one path from a basal node to itself. A full derivation is in the Supplementary Information.

We define the trophic incoherence parameter, q, along the lines of Johnson et al.11. The trophic difference of an edge in the graph is the difference in trophic levels between predator and prey.

$${d}_{ij}={s}_{j}-{s}_{i}$$
(2)

The mean of the trophic difference of edges in any directed graph will be equal to 1 (see29 for a proof). In fact, in a perfectly ordered graph, the trophic difference of every edge will be 111. In less ordered graphs, the mean of the trophic differences of edges will remain equal to 1, but with some variance. The trophic incoherence parameter, q, is defined as the standard deviation of the distribution of trophic differences over all edges in the graph11. Conceptually, directed graphs that have high trophic coherence (i.e. low trophic incoherence parameter) are tree like, and can be drawn with all edges pointing in the same direction. Directed graphs with low trophic coherence (i.e. high trophic incoherence parameter) do not have edges pointing in one clear direction, and appear more random.

The concept of trophic coherence was initially introduced as a way to potentially solve May’s paradox, a long standing problem in ecology11. As a random graph grows in size and connectivity, it reaches a threshold beyond which it is almost certainly unstable (considering the Lyapunov stability of the community matrix)10. The experience of ecologists suggests that nature seems to behave the opposite way - ecosystems do not become less stable with size and complexity and can become more stable11,30. Light was shed on this apparent paradox in 2014 by Johnson et al. who showed that trophic coherence determines the stability of food-webs11. Since then, trophic coherence has been associated with the presence of cycles in networks26, and has been linked to the distribution of motifs31.

Trophic coherence has been called a measure of how similar a graph is to a hierarchy16, with a hierarchy being maximally coherent with trophic incoherence parameter, q = 0 (Fig. 1(c)). In a hierarchy, all nodes are in a clear trophic level with edges all pointing from top to bottom. Conversely, graphs with a very high trophic incoherence parameter will appear random, with no clear structure of nodes and edges going in all directions (Fig. 1(e)). Between these two extremes we have graphs which have a discernible order but are not fully hierarchical, with some edges going against the flow (Fig. 1(d)).

Figure 1
figure 1

The trophic incoherence parameter’s relation to topological structures. (a) and (b) Show counts of cycles of length 5 and the proportion of back edges in graphs generated using the general Preferential Preying Model with 100 nodes, 750 edges and 5 basal nodes, over a range of the trophic incoherence parameter. At low q (c), graphs are tree-like, analogous to a tyrannical social system. At high q (e), graphs are random with little coherent structure, analogous to anarchy. At mid q (d), there is some coherence, analogous to democracy.

Figure 1 shows relationships between the trophic incoherence parameter and topological structures. Johnson et al. showed a theoretical relationship between cycles and trophic coherence26, which suggested that graphs in the low q regime will have very few cycles, this is demonstrated empirically in 1(a). A discussion of how the number of cycles in a graph was calculated is included in the Supplementary Information.

A “back edge” is a link from a node of higher trophic level to a node of lower trophic level i.e. the trophic difference of this edge will be below zero. As described above, we know that the mean of the trophic differences of edges will be 1 for any graph, and that the trophic incoherence parameter is the standard deviation of the distribution of trophic differences. The probability of an edge having trophic difference below zero should therefore increase with the trophic incoherence parameter, q. Figure 1(b) shows that, empirically, the expected number of back edges appears to be an increasing function of the trophic incoherence parameter, q, as expected.

The empirical number of cycles and back edges support our conceptual view of trophic coherence. This gives us 3 regimes of structure, each of which has a social analogus:

  1. 1.

    Low q regime. Hierarchical, tree-like graphs with few cycles or back edges. The social analogue is Tyranny.

  2. 2.

    Medium q regime. Broadly hierarchical, but with increasing numbers of cycles and back edges. The social analogue is Democracy.

  3. 3.

    High q regime. Little hierarchical structure, lots of cycles and back edges. The social analogue is Anarchy.

For our purposes, trophic coherence is a useful concept to describe different types of social systems, and in particular how coherent a social structure is. The trophic incoherence parameter, q, gives us a one-dimensional measure of the slightly abstract concept of coherence, which will allow us to investigate the structure of social systems in a novel and quantitative way.

Network generation model

One of the earliest and most influential random graph generation models is the Erdős-Rényi model32. The Erdős-Rényi graph generating algorithm with node count S and edge count L uniformly randomly places L directed edges across all possible edges between nodes33. The ensemble includes all possible configurations of \({\mathscr{G}}=(V,E)\) with those node and edge counts33. However, Erdős-Rényi graphs have a very low probability of having high trophic coherence. While it is theoretically possible to investigate the entire state space with Erdős-Rényi graphs, we seek a more reliable way of tuning random graphs with specific trophic incoherence parameters, q.

The niche and cascade models arose from the literature on ecology, as attempts to generate artificial food webs similar to empirical food webs using simple rules11. These models generate directed graphs with trophic incoherence parameters in the range 0.5 q 2. However, we need to generate graphs with a wider range of trophic coherence.

Johnson et al.’s 2014 paper, which introduced the trophic incoherence parameter, q, also introduced the Preferential Preying Model11. This was updated in 2016 as the general Preferential Preying Model21, which we will use as our main graph generating model. The Preferential Preying Model was inspired by considering how ecological food webs form in nature29, and it has the advantage of generating graphs over a controllable range of trophic coherence. We will use this graph generation model during our investigation.

The general Preferential Preying Model algorithm requires an input of the number of nodes, S, the number of basal nodes, B, the number of links, L and a Temperature parameter, T, which is used to tune the trophic incoherence parameter of the resulting graph21. The algorithm proceeds in 2 phases.

The algorithm begins with B basal nodes, which are given a temporary trophic level, \({\hat{s}}_{i}=1\). Each of the remaining S − B nodes are added one at a time, with an edge created to the new node, j, from an existing node, i, which is chosen uniformly randomly. The temporary trophic level of the new node is set to \({\hat{s}}_{j}={\hat{s}}_{i}+1\). Once all nodes are added we have a graph with S nodes and (S − B) edges21. In phase two, L − (S − B) more links are added, the relative probability of a link being added from node i to node j is given by:

$${p}_{ij}\propto exp\left(-\frac{{({\hat{s}}_{j}-{\hat{s}}_{i}-1)}^{2}}{2{T}^{2}}\right)$$
(3)

The general Preferential Preying Model generates graphs from a particular ensemble26. Real social systems may exist outside of this ensemble, and may have dynamic structures that change over time. It may be that there is some hidden feature of graphs generated using the general Preferential Preying Model which is responsible for any results or conclusions we find. We will consider graphs generated using the general Preferential Preying Model as a null model, and be wary of over generalising our results to all social systems.

Opinion dynamics

The majority rule model23 allows each node to be in one of two states, which we will denote as state −1 or state 1, xi {−1, 1}. We define the state vector as the state of all S nodes, x = [x1x2, …, xn]. We consider nodes being influenced along the directed edges, with the state of a node changing based on some form of influence dynamics. Considering discrete timesteps, the state of nodes in a timestep are determined by some function on the graph topology and the state of the nodes in the previous timestep23.

$${{\bf{x}}}_{{\bf{t}}}=f({\mathscr{G}},{{\bf{x}}}_{{\bf{t}}-{\bf{1}}})$$
(4)

We will use a simple majority rule algorithm to update the states of the nodes at each timestep. At each timestep, t, a node is uniformly randomly selected and its state is updated based on the state of its parent nodes, where a directed link goes from a parent to a child node. The algorithm will update a node’s state to match the state of the majority of its parent nodes in the previous timestep23. If there is a tie then the node’s state will be determined by a coin flip, with a 50% probability of state −1 or 123.

Analysis

We will analytically investigate how we expect majority rule dynamics to propagate on a series of simplified models, which we can then compare to empirical results. We will look at 4 types of simple graphs, as shown in Fig. 2.

Figure 2
figure 2

Selected types of simple graphs for analysis. Orange nodes are basal nodes, which will begin in a different state to the non-basal nodes.

  1. 1.

    Strings.

  2. 2.

    Trees.

  3. 3.

    Cycles.

  4. 4.

    Cliques.

For each type of simple graph, we will consider initialising the system so that the basal node is in state −1 and all non-basal nodes are in state 1. We will find expressions for v(t), the number of nodes in state 1 (not yet influenced by the basal node) as a function of timesteps, t.

Strings

The simplest form of a graph with high trophic coherence (and low trophic incoherence parameter, q) is a string, a line of nodes with edges down the line in one direction. We can initialise this string so that all nodes are in state 1 except the basal node, in state −1 (Fig. 2). We let v(t) be the number of nodes in state 1 as a function of timesteps. Each timestep can be considered a Bernoulli trial, with probability of success equal to the probability of the algorithm selecting the next node in the string that will spread the influence of the basal node, \(p=\frac{1}{n}\). Success in this Bernoulli trial will reduce v(t) by 1, with v(0) = (n −1). The sum of Bernoulli trails gives a Binomial distribution34, so that we can write

$$(n-1)-v(t) \sim Binomial\left(t,\frac{1}{n}\right)\quad v\in \{0,1,..,n-1\}$$
(5)

and the expected value of v(t) can be easily found and written as

$$ < v(t) > =\left\{\begin{array}{ll}n-1-\frac{t}{n} & {\rm{if}}\ t\le n(n-1)\\ 0 & {\rm{if}}\ t > n(n-1)\end{array}\right.$$
(6)

Figure 3 shows this expected value against simulations, with close agreement.

Figure 3
figure 3

Progress of influence dynamics on a directed string of length 100, with one basal node beginning in state −1 and all non-basal nodes beginning in state 1. The orange line shows the analytic expected proportion of nodes in state 1 as a function of timesteps. The blue points show the empirical mean of 50 simulated time series at 1000 timestep intervals. The light grey lines are 5 of those simulated time series.

Trees

We define a tree as a directed graph with no cycles, and with directed edges going in one direction only from basal nodes to leaf nodes, where a leaf node is a node with only in-edges. Again, we initialise the tree with basal nodes in state −1 and non-basal nodes in state 1 (Fig. 2). We are interested in v(t), the number of nodes in state 1 as a function of timesteps under simple majority rule dynamics.

In a tree, the number of nodes influenced by the basal node can only increase, as all edges go from the basal node outwards. As the basal node’s influence spreads, there is a “fringe” of nodes that have yet to be influenced by the basal node, but who have a chance of switching in the next timestep if they are chosen. This fringe, and so the probability of spreading influence per timestep, changes over the progress of the simulation. The spread of influence can be modelled as a series of Bernoulli trials with a varying probability of success, ptree. If we assume that ptree is Beta distributed, then the number of nodes influenced by the basal node as a function of time will be Beta Binomial distributed35, with the form of ptree determined by the Beta distribution parameters α and β, which will depend on the topology of the tree in question and the progress of the simulation.

$$(n-1)-v(t) \sim Binomial(t,{p}_{tree})\quad v\in \{0,1,..,n-1\}$$
(7)

where ptree is a Beta distributed random variable

$${p}_{tree} \sim Beta(\alpha ,\beta )$$
(8)

The number of timesteps to consensus can be modelled by considering the number of failed Bernoulli trials before 0.9n − B successes (consensus requires 90% of nodes to agree with the basal nodes). In a network of 100 nodes and 5 basal nodes, consensus is reached when 90 nodes agree with the basal nodes, which requires 85 successful Bernoulli trials, or 85 successful algorithm timesteps where a node is switched state to agree with the basal nodes. This kind of process with a fixed p will have a Negative Binomial distribution35. As discussed, p is not fixed for trees. If we approximate ptree as being a Beta distributed random variable, then the time to consensus can be approximated as a Beta Negative Binomial distribution35. We expect this distribution for timesteps to consensus for tree-like graphs, this will be investigated empirically in the Results section.

Cycles

Cycles are loops of nodes with directed links pointing around the loop in one direction. We will consider a cycle of nodes with one basal node outside the cycle, influencing one node in the cycle (Fig. 2). The basal node is always in state −1. Intuitively, it can be seen that the rate at which the basal node influences the cycle is proportional to the number of nodes in the cycle in state 1, yet to be influenced. This leads to an exponential relationship for the expected value of v(t), a full derivation is given in the Supplementary Information.

$$ < v(t) > =(n-1){e}^{-\frac{ln2}{n(n-1)}t}$$
(9)

Figure 4 shows this analytic prediction against simulated results for simple majority rule dynamics. The simulated results appear to be randomly oscillating but with an expected value over many simulations close to the analytic prediction. In the simulations, the random oscillations of v(t) mean that the system can reach the absorbing state of v = 0. The analytic expected value is in the limit of large n, where the probability of the system reaching the absorbing state is small.

Figure 4
figure 4

Progress of influence dynamics of a directed cycle of length 100, with one additional basal node beginning in state −1 and all non-basal nodes beginning in state 1. The orange line shows the analytic expected proportion of nodes in state 1 as a function of timesteps. The blue points show the empirical mean of 50 simulated time series at 2500 timestep intervals. The light grey lines show 5 of those simulated time series.

Cliques

We define a clique in a directed graph as a group of nodes such that edges link each node to all other nodes in the group, in both directions. We consider one basal node in state −1 influencing one node within the clique, all of which are in state 1 (Fig. 2). In a clique above size 2 each node reinforces the state of the other nodes, and a single basal node is unable to influence any of the nodes in the clique, which all therefore stay in their initial state of 1. There is no possibility of consensus with the basal node. These kinds of structures within graphs can block any influence spreading from the basal nodes. v(t) will stay at its initial value of n −1.

$$v(t)=n-1$$
(10)

Results

Time to consensus

We are interested in how quickly a network will reach consensus following a change in policy from the leadership. We consider here basal nodes, with no parent nodes (no in-edges), as “leaders”. We initialise the state of the basal nodes to be xbasal = −1 and the non-basal nodes to be xnon-basal = 1. We then run a simulation based on majority rule dynamics, and record how many timesteps it takes for 90% of the nodes to agree with the state of the basal nodes, which we consider to be consensus. If consensus is not reached before a set number of timesteps then the simulation is stopped. We repeat this for graphs generated using the general Preferential Preying Model, with a range of trophic coherence.

Figure 5 shows the time to consensus for graphs generated with a range of trophic coherence and a fixed number of nodes, S, edges, L, and basal nodes, B. This kind of pattern is consistent across a range of values for S, B and L.

Figure 5
figure 5

The grey highlighted sections in the left figure correspond to the figures on the right, marked (a,b). The left figure shows the result of simulations of majority rule dynamics on graphs generated using the general Preferential Preying Model, with each simulation representing one point. Simulations that did not reach consensus after 2000 timesteps are marked at 2000 timesteps in red. (a) Shows the distribution of time to consensus for graphs generated in the range between 0.1 < q < 0.3, indicated by the shaded region in the left figure. The Beta Negative Binomial distribution is a good fit with r = 85 and α and β adjusted manually, with the constraint that the empirical mean and distribution mean remain equal. (b) Shows the distribution of time to consensus in the range 1.3 < q < 1.5 (for simulations that reached consensus). Graphs take longer to reach consensus at this higher q range, and so the entire empirical distribution is shifted to the right. The Beta Negative Binomial distribution is not as good a fit as in the low q regime, and the r, α and β parameters were all adjusted manually.

From a visual inspection of Fig. 5, it can be seen that for graphs with a low trophic incoherence parameter, q 1, there is very little change in time to consensus with changing q. As q increases above 1, we increasingly see graphs with longer times to consensus. At around q = 1.5, we start seeing graphs take much longer to reach consensus, and some that do not reach consensus at all. In the results here, simulations that ran for 2000 timesteps were considered as not reaching consensus. When simulations were ran for 5000 timesteps instead, there were some that reached consensus after 2000 timesteps in the 1.5 q 2.5 range. The cutoff of 2000 timesteps in Fig. 5 was chosen to clearly and faithfully show the structure of the data over a range of the trophic incoherence parameter.

This gives us 3 regimes of behaviour to describe:

  1. 1.

    Fast consensus. Low q. Policy changes spread through the network very fast.

  2. 2.

    Slow consensus. Medium q. Policy changes eventually spread through the network.

  3. 3.

    No consensus. High q. Policy changes do not spread throughout the network.

These regimes are approximate, and are not fully captured by the trophic incoherence parameter. For example in Fig. 5 for trophic incoherence parameter 1.5 ≤ q ≤ 2, some graphs reach consensus quite quickly, some take a long time, and some do not reach consensus at all. The regimes of behaviour do seem to be bounded by the trophic incoherence parameter, with clear regions for each regime, although with some overlap. An obvious question is what is it about the topology of the graphs in the different regimes that is causing the different behaviour in influence dynamics.

Fast consensus regime, “Tyranny” - low q

At low q, we see graphs with fast consensus. The graphs here should all be tree-like, and conceptually it is expected that they should reach consensus quickly. Figure 5(a) shows a reasonably good fit of the Beta Negative Binomial distribution to the empirical distribution of time steps to consensus of an ensemble of graphs with trophic incoherence parameter 0.1 < q < 0.3. This matches what we predicted in the Analysis section. The Beta Negative Binomial distribution here was fit with the number of successful trials, r = 0.9S − B = 85. The Beta distribution shape parameters of α=60 and β = 276 were adjusted manually. These values give quite a narrow Beta distributed ptree value, with <ptree> = 0.18.

Slow consensus regime, “Democracy” - medium q

In the medium q range the dynamics of consensus change. Consensus is reached, but it takes longer. From Fig. 1 we can see that cycles begin to appear in large numbers in networks with trophic incoherence parameter above around q = 1, and back edges appear from about q = 0.5. The presence of cycles and back edges mean that v(t) is not necessarily a strictly decreasing function. During the simulation, nodes can change states to disagree with the basal nodes, so that v(t) can go up, stay the same or go down. Each timestep is no longer a Bernoulli trial, as there are 3 possible outcomes. Conceptually, it makes sense that consensus takes longer in these kinds of graphs. Despite the fact that the underlying assumptions of Bernoulli trials no longer hold, the Beta Negative Binomial distribution is still a reasonable fit to the empirical data, as shown in Fig. 5(b). Consensus takes longer than in the low q regime, with a wider distribution, and not as good a fit. The number of successful trials, r = 130, to consensus was not predetermined during the distribution fit, because if some nodes switch against the basal nodes state then it will take more than 85 successes to reach consensus. α = 21 and β = 108 give a wider Beta distribution for the value of ptree than for the low q regime, with <ptree> = 0.16.

No consensus regime, “Anarchy” - high q

As the trophic incoherence parameter rises above around q = 1.5, we start to see some graphs that do not reach consensus at all. As the trophic incoherence parameter rises further above around q = 2.5, all graphs are in the no consensus regime. The basal nodes, or leaders, are unable to influence the rest of the nodes. At these high q values, we expect to see a high number of cycles and back edges (Fig. 1). We hypothesise that the dynamics are similar to those found in the cliques in the Analysis section. This may be caused by nodes with a high number of links from nodes of a higher trophic level, which act to block influence spreading from the basal nodes, preventing consensus.

Average degree and network size

We have shown that majority rule dynamics, and time to consensus, are linked to the trophic coherence of a graph. In our analysis so far, we have concentrated on networks with 100 nodes, 600 edges and 5 basal nodes. It makes sense to begin the investigation by keeping everything constant except for the trophic incoherence parameter, however the question arises of whether similar results are found if we vary the average degree, L/S, and the size of the networks, S.

Figure 6 shows the regimes of consensus and no consensus for simulations on graphs with fixed node count and basal node count, with varying average degree, L/S and trophic incoherence parameter, q. There are clear areas of consensus and no consensus, with some overlap. With higher average degree, the no consensus regime begins at lower values of the trophic incoherence parameter. A hypothesis is that more edges mean that it is more probable to find situations where nodes self-reinforce each other and block influence spreading, as seen in cliques in the Analysis section. The general Preferential Preying Model is unable to generate graphs with high trophic incoherence parameters and low edge counts, so the region in the bottom-right of the figure is not well populated.

Figure 6
figure 6

Each point represents a simulation of majority rule dynamics on graphs generated using the general Preferential Preying Model, either reaching consensus or not. All networks have 100 nodes, 5 basal nodes and varying average degree, L/S, and varying trophic incoherence parameter, q.

An obvious question to ask is whether the size of a network has any effect on whether consensus is reached or not. Figure 7 shows simulations of majority rule dynamics on graphs with fixed average degree, L/S = 6, fixed basal nodes, B = 5, varying network size, S and varying trophic incoherence parameter, q. With a fixed average degree L/S = 6, the number of nodes doesn’t seem to have a strong effect on whether consensus is reached or not, and the start of the area of no consensus is around q = 2 for all network sizes, although it does appear to be slightly less at lower network sizes.

Figure 7
figure 7

Each of 46,000 simulations is marked as a point, either reaching consensus or not. All networks have 5 basal nodes, an average out degree of 6, and varying number of nodes and trophic coherence.

Real Social Structures

We mapped some real social structures onto graphs and measured their trophic coherence.

The roman army

An army is the prototypical hierarchical structure. Figure 8 shows the organisational structure of a Cohort in the Roman Army following the Marian reforms in the Late Roman Republic1. A legion was made up of 10 cohorts, a total of around 4500 men1. The Roman Army was incredibly effective, and employed a fighting style that required a high degree of coherent action between individuals and groups1. The highly coherent hierarchical structure with a large branching ratio was well suited to the demands and culture of the Roman Army, allowing orders from above to quickly reach all individuals.

Figure 8
figure 8

A cohort of the Roman Army from the 1st Century BC. Each approximately 480 man Cohort is made of 6 Centuria, each of which composed of 10 Conterbernia of 8 men1. The structure has perfect trophic coherence, with trophic incoherence parameter q = 0.

The US government

The structure of the US Government is prescribed by the US Constitution, with an intention of creating a system of checks and balances that would prevent a demagogue from capturing too much power and becoming a tyrant4. Figure 9 shows the high-level structure of the US Government, with a trophic incoherence parameter of q = 0.4. This is interesting as the structure, as shown, falls into the regime of “tyranny”, but with the Enfranchised People in a leadership position, and with the President not holding a particularly special position in the network. From this simple analysis, it would seem that the US Constitution successfully separates the powers in the US Government.

Figure 9
figure 9

The general high-level structure of the US Government4. The Enfranchised People occupy the basal, leadership, node. The President’s position does not stand out as particularly special in the network structure.

The actual structure of the US Government is obviously much richer and more complicated. For example, many of the nodes in this diagram could be expanded significantly. The Senate consists of 100 individual senators, there are 435 members of the House of Representatives4, and the Armed Forces and Judiciary have their own complex structures. And of course the Enfranchised People represents hundreds of millions of individuals. And there are many more complex and dynamic links of influence within the network. For example it would be reasonable to add an edge from Legislation to Enfranchised People, which would significantly change the trophic structure.

One 2 one midwives

The Buurtzorg healthcare model aims to improve patient care by embedding teams of around 12 healthcare workers within communities6. The individual healthcare professionals are encouraged to help and support each other and are empowered to make autonomous decisions based on their professional training and patient knowledge6. For a case study we look at One 2 One Midwives, a healthcare organisation inspired in part by the Buurtzorg healthcare model. One of the midwives was interviewed to discuss the organisational structure. Each of 13 midwives operate autonomously to care for a caseload of pregnant women, giving advice and support to each other. In addition a manager coordinates the midwives and can influence each of them. Figure 10 shows the organisational structure of One 2 One midwives, with trophic incoherence parameter, q = 3.46. The real structure was reported by the interviewed midwife as more complex and dynamic, with different types of influence between manager to midwife and midwife to midwife. This kind of structure allows each midwife to operate autonomously, responding quickly and effectively to patient needs, while accessing support if needed. There is not a strong need for rapid consensus to influence from the manager (based on interview with H. Davey, August 6, 2019).

Figure 10
figure 10

The structure of One 2 One Midwives, a Buurtzorg inspired healthcare organisation based in Liverpool, UK. The manager, top basal node, influences all midwives. All midwives influence each other.

Discussion

The trophic incoherence parameter, q, was shown to be useful in capturing the general topological coherence of directed graphs in a one-dimensional parameter. In the context of influence spreading in majority rule dynamics, three regimes of behaviour and topology were described:

  1. 1.

    High trophic coherence, low q. Tree-like graphs with fast consensus. “Tyranny”.

  2. 2.

    Medium trophic coherence, medium q. Some cycles and back edges with slow consensus. “Democracy”.

  3. 3.

    Low trophic coherence, high q. Many cycles and back edges with no consensus. “Anarchy”.

For the low q regime, the dynamics of influence were successfully modelled as a series of Bernoulli trials with changing p, with a close fit between the Beta Negative Binomial distribution and the empirical distribution of time to consensus.

In the medium q regime, the assumptions underpinning Bernoulli trials were stretched. The Beta Negative Binomial distribution was still a reasonable fit, but not as closely as in the low q regime. The presence of cycles and back edges was hypothesised as a reason for this poorer fit, and the slower consensus.

In the high q regime, it was hypothesised that clique-like groups of nodes were blocking influence from spreading, with some nodes having more in-links from nodes of a higher trophic level than those of a lower trophic level.

The location of the boundary between consensus and no consensus, in terms of the trophic incoherence parameter, q, was found to be largely independent of network size, given a fixed average degree. While the number of edges was found to have an effect, with more connected graphs reaching the point of no consensus at lower values of the trophic incoherence parameter.

Several real social structures were investigated with interesting insights, demonstrating that trophic coherence can be a useful tool in the description of real social systems. It is important to remember that there are myriad forms of social structures, each with their strengths and weaknesses. A very coherent structure that is good for the objectives of an army may be a poor choice for healthcare workers, and vice versa. Considering trophic coherence, it is striking that the current political status quo, in the West at least, is not an extreme but instead can be thought of as a balance between the efficiency of tyrannical hierarchy and the freedom of distributed anarchy.

The sociophysics model of majority rule dynamics is far too simple to accurately represent the actual behaviour of individuals within social systems, and we do not make that claim here. We have instead demonstrated one example of how the trophic incoherence parameter bounds regimes of vastly different network dynamics. We suggest that the consideration of the trophic coherence (or the related concept of non-normality) will provide significant insight in systems where the direction of interactions is important, as is the case in influence in social organisational systems. It is very early days in applying these concepts to social models, we encourage further work in this vein and our hope is that this will lead to useful tools in organisational and management science.

The code developed during this study to calculate trophic levels and the trophic incoherence parameter has since being contributed to the open source python library networkx, and we direct any interested researchers to that resource.