Modeling social dynamics in a collaborative environment
EPJ Data Science volume 3, Article number: 7 (2014)
Wikipedia is a prime example of today’s value production in a collaborative environment. Using this example, we model the emergence, persistence and resolution of severe conflicts during collaboration by coupling opinion formation with article editing in a bounded confidence dynamics. The complex social behavior involved in editing articles is implemented as a minimal model with two basic elements; (i) individuals interact directly to share information and convince each other, and (ii) they edit a common medium to establish their own opinions. Opinions of the editors and that represented by the article are characterised by a scalar variable. When the pool of editors is fixed, three regimes can be distinguished: (a) a stable mainstream article opinion is continuously contested by editors with extremist views and there is slow convergence towards consensus, (b) the article oscillates between editors with extremist views, reaching consensus relatively fast at one of the extremes, and (c) the extremist editors are converted very fast to the mainstream opinion and the article has an erratic evolution. When editors are renewed with a certain rate, a dynamical transition occurs between different kinds of edit wars, which qualitatively reflect the dynamics of conflicts as observed in real Wikipedia data.
Cooperative societies are ubiquitous in nature , yet the cooperation or the mutual assistance between members of a society is also likely to generate conflicts . Potential for conflicts is commonplace even in insect species  and so is conflict management through policing and negotiation in groups of primates , . In human societies cooperation goes further not only in its scale and range, but also in the available mechanisms to promote conflict resolution , . Collaborative and conflict-prone human endeavors are numerous, including public policy-making in globalized societies , , open-source software development , teamwork in operating rooms , and even long-term partnerships . Moreover, information communication technology opens up entirely new ways of collaboration. With such a diversity in system size and social interactions between individuals, it seems appropriate to study this phenomenon of social dynamics in the framework of statistical physics , , an approach benefiting greatly from the availability of large scale data on social interactions , .
As a relevant example of conflicts in social cooperation we select Wikipedia (WP), an intriguing example of value production in an online collaborative environment . WP is a free web-based encyclopedia project, where volunteering individuals collaboratively write and edit articles about any topic they choose. The availability of virtually all data concerning the visiting and editing of article pages provides a solid empirical basis for investigating topics such as online content popularity ,  and the role of opinion-formation processes in a peer-production environment .
The editing process in WP is usually peaceful and constructive, but some controversial topics might give rise to extreme cases of disagreement over the contents of the articles, with the editors repeatedly overriding each other’s contributions and making it harder to reach consensus. These ‘edit wars’ (as they are commonly called) result from complex online social dynamics, and recent studies  have shown how to detect and classify them, as well as how they are related to burstiness and what are their circadian patterns in editing activity .
Although collaborative behavior might appear without direct interactions between individuals, communication tends to have a positive effect on cooperation and trust . Indeed, more immediate forms of communication (voice as opposed to text, for example) have been seen to increase the level of cooperation in online environments . In WP, direct communication is implemented via ‘talk pages’, open forums where editors may discuss improvements over the contents of articles and exchange their related opinions . Discussions among editors are not mandatory , but there is a significant correlation between talk page length and the likelihood of an edit war, indicating that many debates happen in articles and talk pages, simultaneously , .
Overall, a minimal model aimed at reproducing the temporal evolution of a common medium (i.e. a product collectively modified by a group of people, like an article in WP) requires at least the following two ingredients:
agent-agent dynamics: Individuals share their views and opinions about changes in the article using an open channel accessible to all editors (the talk page or some other means of communication), thus effectively participating in an opinion-formation process through information sharing.
agent-medium dynamics: Individuals edit the article if it does not properly summarize their views on the subject, thus controlling the temporal evolution of the article and coupling it to the opinion-formation mechanism.
We describe the opinion-formation process taking place in the talk page by means of the well-known bounded confidence mechanism first introduced by Deffuant et al., where real discussions take place only if the opinions of the people involved are sufficiently close to each other. Conversely, we model article editing by an ‘inverse’ bounded confidence process, where individuals change the current state of the article only if it differs too much from their own opinions. Particularly, we focus our attention on how the coupling between agent-agent and agent-medium interactions determines the nature of the temporal evolution of an article. This we consider as a further step towards the theoretical characterization of conflict in social cooperative systems such as WP .
The text is organized as follows: In Section 2 we introduce and discuss the model in detail. In Section 3 we describe our results separately for the cases of a fixed editor pool and a pool with editor renewal, and finally make a comparison with empirical observations on WP conflicts. In Section 4 we present concluding remarks.
Let us first assume that there is a system of N agents as potential editors for a collective medium. The state of an individual i at time t is defined by its scalar, continuous opinion , while the medium is characterized by a certain value in that same interval. The variable x represents the view and/or inclination of an agent concerning the topic described by the common medium, while A is the particular position actually represented by the medium.
Although it may seem too reductive to describe people’s perceptions by a scalar variable x, many topics can actually be projected to a one-dimensional struggle between two extreme, opposite options. In the Liancourt Rocks territorial dispute between South Korea and Japan , for example, the values represent the extreme position of favoring sovereignty of the islets for a particular country. Other topics are of course multifaceted, generating discussions that depend on the global affinity of individuals and multiple cultural factors . While this complexity could be tackled by the use of vectorial opinions , , our intention here is not to describe extremism as realistically as possible, but to study the rise of collaborative conflict even in the simplest case of binary extremism.
In the case of WP, the scalar variable A represents the opinion expressed by the written contents of an article, which carries the assumption that all agents perceive the medium in the same way. Real scenarios of public opinion might be more complex, given the tendency of individuals to attribute their own views to others and thus perceive false consensus , usually out of a social need to belong . Even so, we consider A to be a sensible description of a WP article, one that could initially be measured by human judgment in the form of expert opinions, or in an automated way by quantifying lexical features and the use of certain language constructs. We note, however, that the actual value of A is not the main concern of our study. Instead, we are interested in how opinion differences in collaborative groups may eventually lead to conflict, specifically when such opinion differences are perceived with respect to a common medium that all individuals modify collectively.
2.1 Agent-agent dynamics
For the agent-agent dynamics (AAD) we consider a generic bounded-confidence model over a complete graph , , that is, a succession of random binary encounters among all agents in the system. We initialize every opinion to a uniformly-distributed random value in the interval . The initial medium value is chosen uniformly at random from the same interval. This way, even an initially moderate medium may find discord with extreme opinions at the boundaries. For each interaction we randomly select two agents i, j and compare their opinions. If the difference in opinions exceeds a given threshold nothing happens, but if we update as follows,
The parameter is usually referred to as the confidence or tolerance for pairwise interactions, while is a convergence parameter. AAD is then a symmetric compromise between similarly-minded individuals: people with very different opinions simply do not pay attention to each other, but similar agents debate and converge their views by the relative amount .
The dynamics set by Eq. (1) has received a lot of attention in the past , starting from the mean-field description of two-body inelastic collisions in granular gases , . Its final, steady state is comprised by isolated opinion groups that arise due to the instability of the initial opinion distribution near the boundaries. Furthermore, increases as in a series of bifurcations . In the limit corresponding to a ‘stubborn’ society, the asymptotically final value of also depends on , . The bounded-confidence mechanism has been extended in many ways over the years, considering interactions between more than two agents , vectorial opinions , –, and coupling with a constant external field .
2.2 Agent-medium dynamics
For the agent-medium dynamics (AMD) we use what could be thought of as an asymmetric, inverse version of the bounded-confidence mechanism described above. When the opinion of a randomly chosen agent i is very different from the current state of the medium, namely if , we make the update,
where are the tolerance and convergence parameters for AMD. In other words, individuals that come across a version of the medium portraying a radically different set of mind will modify it by the relative amount , where the threshold to define similarity is given by . Conversely, if we update,
meaning that individuals edit the medium when it differs too much from their opinions, but adopt the medium’s view when they already think similarly. Observe that the maximum meaningful value of is 1/2 (i.e. convergence to the average of opinions), while the maximum implies changing the medium (opinion) so that it completely reflects the agent’s (medium’s) point of view.
The previous rules comprise our model for the dynamics of conflicts in WP given a fixed agent pool, that is, without agents entering or leaving the editing process of the common medium. In a numerical implementation of the model, every time step t consists of N updates of AAD given by Eq. (1) and of AMD following Eqs. (2) and (3), so that time is effectively measured in number of edits and the broad inter-event time distribution between successive edits (observed in empirical studies ) does not have to be considered directly. Given a fixed agent pool, AAD favors opinion homogenization in intervals of length and can thus create several opinion groups for low tolerance, while AMD makes the medium value follow the majority group. Then, for a finite system there is a nonzero probability that any agent outside the majority group will be drawn by the medium to it, and the system will always reach consensus after a transient regime characterized by fluctuations in the medium value .
However, in real WP articles the pool of editors tends to change frequently. Some editors leave (due to boredom, lack of interest or fading media coverage on the subject, or are banned from editing by editors at a higher hierarchical level) and newly arrived agents do not necessarily share the opinions of their predecessors. Such feature of agent renewal during the process or writing an article may destroy consensus and lead to a steady state of alternating conflict and consensus phases, which we take into account by introducing thermal noise in the model. Along with any update of AAD/AMD, one editor might leave the pool with probability and be substituted by a new agent with opinion chosen uniformly at random from the interval . The quantity then formally acts as the inverse temperature of the system, signaling a dynamical phase transition between different regimes of conflict .
3.1 Fixed agent pool
In the presence of a fixed agent pool () with finite size N, the dynamics always reaches a peaceful state where all agents’ opinions lie within the tolerance of the medium. To show this, let us calculate the probability that an unsatisfied editor i changes the medium A for n consecutive times, such that afterwards and the agent can finally stop its stream of edits. For fixed and following Eq. (2), the final distance between editor and medium is , so the inequality is satisfied if . The probability of agent i not participating in AAD for n time steps is , while the probability of choosing it for AMD is . Then the total probability of this stream of edits is , which for large N and might be very small, but always finite. After editor i gets into the tolerance interval of the medium, it will not perform additional edits and will eventually adopt the majority opinion close to the medium value. Similar events with other unsatisfied agents will finally result in full consensus and put an end to the dynamics.
The existence of a finite relaxation time τ to consensus (for finite systems) contrasts drastically with the behavior of the bounded confidence mechanism alone, where consensus is never attained for . In other words, the presence of agent-medium interactions promotes an agreement of opinions that would otherwise not exist in the agent-agent dynamics, even though it may happen after a very long time (i.e. ). If we think of the medium as an additional agent with maximum tolerance (in the sense that it always interacts with the rest no matter what) and against which agents have a different tolerance (as opposed to ), this result is reminiscent of previous observations for a bounded-confidence model with heterogeneous thresholds , . There, even a small fraction of ‘open-minded’ agents with relatively high tolerance may bridge the opinion difference between the rest of the agents and lead to consensus.
In order to analyze all possible typical behaviors of the fixed agent pool dynamics, we perform extensive numerical simulations in systems of size ranging from to 104, letting the dynamics evolve for a maximum time . We then characterize the temporal evolution of medium and agent opinions as a function of , and , while keeping for all results in this section. Finally, since the value of has no major effect other than regulating the convergence time of AAD , , from now on we fix it to the maximum value in order to speed up the simulations as much as possible.
A sample time series of medium and agent opinions is shown in Figure 1. As a function of the medium convergence the temporal evolution of the system shows three distinctive behaviors. In regime I where is typically very small (Figure 1(A) and (D)), there is one or more ‘mainstream’ opinion groups near with a majority of the agents in the system, and a number of smaller, ‘extremist’ opinion groups at positions closer to the boundaries . The medium opinion stays on average at the center of the opinion space, close to the mainstream group(s), and although continuously contested by editors with extremist views, it remains stable and leads to a very slow convergence towards consensus. The reason for a long relaxation time in regime I is intuitively clear: for low any change in AMD is small and thus both medium and extremist opinions fail to converge quickly. When the tolerance decreases the effect is even more striking; even though the number of opinion groups is larger (according to the approximation ), the article is quite stable and remains close to the mainstream view.
In regime II identified with intermediate values of (Figure 1(B) and (E)), the fixed pool dynamics produces quasi-periodic oscillations in the medium value A, which appear after an initial stage of opinion group formation and end up very quickly in total consensus. Quite surprisingly, the final consensual opinion is not (as in regime I) or that of the initial mainstream group, but some intermediate value closer to the extremist groups at the boundaries. This is indicative of a symmetry-breaking transition: as increases, a symmetric stationary state at is replaced by a final state close to 0 or 1. The oscillations in regime II can initially be understood as a struggle over medium dominance among the different opinion groups created by AAD. The AMD mechanism couples the medium dynamics with these groups, exchanging agents between them and thus modifying their positions, until the majority group wins over the rest and consensus is achieved. For small oscillations are more well-defined and last for longer, while extremist groups tend to diffuse towards the mainstream.
In regime III for large (Figure 1(C) and (F)), extremist agents directly converge to a mainstream group and an article at the center. Since in this case is so large, after any jump of the article extremist agents can enter its tolerance interval and start drifting inwards. The limiting condition for this behavior is , a line separating regime III from the rest. A smaller value produces a more erratic medium evolution, with occasional jumps up and down.
The regimes of the fixed agent pool dynamics can be quantified on average by taking a look at the cumulative distribution of the relaxation time τ (Figure 2). In regime I the tail of is quite flat, getting flatter as decreases. In contrast, the distribution has a power-law and an exponential tail in regimes II and III, respectively, signaling shorter relaxation times. The only exception is the transition between II and III, where τ might be as large as in I. Since tends to be broad, the average value of τ is not very meaningful and we opt instead for the probability that the relaxation time is larger than a fixed maximum time. Numerically, we estimate as the fraction of realizations of the dynamics that have not reached consensus after time steps, out of a large total of 104 realizations. In regimes II and III, remains small as N increases, indicating that τ is roughly independent of system size. On the other hand, scales with N for I and for the boundary between II and III, even reaching 1 for appropriate values of and N. A corollary is that even modestly-sized systems may only reach consensus after an astronomical time, if the medium convergence value is appropriate.
The transition between regimes becomes even clearer when we consider the effect of the medium tolerance , resulting in a phase diagram for in space (Figure 3(A)). It turns out that regimes I and II cover most of the low values, while the line roughly signals the transition to regime III, which covers a broad area of large . As N increases, the transition to I from either II or III (Figure 3(B) and (C)) becomes sharper: a consensual final state reached after a very short time gives way to a stationary state that remains stable for really long times. Such features of the phase diagram remain qualitatively unchanged if we substitute with another measure giving robust statistics, such as the median relaxation time of the dynamics.
Finally, we can consider the symmetry-breaking transition between regimes I and II by taking a look at the density distribution of the final medium value (Figure 4(A) and (B)). After either τ or has passed, the majority of opinions are in consensus with A, making a good approximation for the final opinion distribution as well. In regime I the medium distribution is roughly unimodal and peaked at , signaling a stable and moderate medium. Here the relaxation time is quite long and for most realizations . In regime II, however, becomes bimodal, meaning that the medium is more likely to end up close to the extremes rather than in the center. When N is large, the main peaks in correspond to consensual final states with , while the secondary peaks are made up of long-lived realizations with long relaxation time. Larger values of , although computationally expensive, would therefore let us see a strictly bimodal medium distribution for regime II. As N increases the distribution peaks become sharper and we can use the standard deviation of the final medium value as an order parameter for the transition (Figure 4(C)). In the thermodynamic limit , a vanishing for I implies a stationary stable state with and no consensus. As increases this symmetry gets broken, becomes nonzero and a true final state of consensus appears.
This symmetry-breaking mechanism may be understood analytically via a rate equation formalism . The resulting rate equation can be solved numerically assuming three editor groups: a mainstream at and two extremists with opinions close to the boundaries. The solution shows stability for the medium at the mainstream opinion when is small, but becomes unstable and oscillating for . The bifurcation transition is very sensitive on the position of the extremists, depending not only on but also on the initial conditions. This is in part the cause of the ‘noisy’ landscape of regime II in Figure 3(A), which appears regardless of the measure used to draw the phase diagram.
3.2 Agent renewal
In real systems the pool of collaborators is usually not fixed: Editors come and go and very often the number of editors fluctuates in time as external events may incite more or less attention. To keep things simple we only focus on systems with a fixed number of editors (N agents), but we allow agent replacement with probability . In our numerical simulations this happens prior to editing, and new agents have initially random opinions coming from a uniform distribution.
If there is always an opinion range outside the article tolerance region and new agents may enter such range and edit the article. From WP data we know that even peaceful articles have few disputes now and then so such a scenario is realistic. This is thus in contrast with the case of a fixed opinion pool, where consensus is theoretically always achieved.
A stronger statement can be shown , namely that if
then consensus is always reached after a finite number of steps, but if there are realizations that do not reach consensus ever. We show here an example: if the medium value is , then for an editor at will disagree with the article and change it by , so the new medium value would be . Afterwards an agent at can restore the article to its previous state and avoid consensus.
The lack of full consensus does not mean that the system is always in a conflict state. There are periods when A remains unchanged and these peaceful times are ended by conflicts in which the opinion of the article is continuously disputed between agent groups of different opinion. If the dispute is settled (i.e. all agents are satisfied by the article) a new peaceful period may start. The ratio of these peaceful and conflicting periods changes with the parameters and may be considered as a good candidate for an order parameter. Thus we define the order parameter P as the relative length of the peaceful periods.
The order parameter is plotted for two different initial conditions in Figure 5. The top figure shows the value of the order parameter P for a ‘peaceful’ initial condition when all agents had the opinion . The bottom figure was instead obtained for a system with ‘conflict’ initial conditions, namely one with 20% of agents divided between two extremist groups of opinions 0 and 1 (and the rest at ) before the start of the dynamics.
It is clear that there are two distinct regimes in the phase diagram of Figure 5: one characterized by (‘peaceful’ regime), the other with (‘conflict’ regime) and a sharp transition in between. There is a region which is different in the two cases and will be discussed later. We then identify the transition point with the largest gradient of P by using the lower plot in Figure 5. The resulting phase diagram is shown in Figure 6.
This transition is further illustrated in Figure 7 where we display sample time evolutions of the opinions of agents and medium. The left panel shows an example of a peaceful regime. As mentioned before, from time to time new agents arrive with incompatible views with respect to the article but they are pacified very fast, i.e. the conflict periods are short. In the transition regime (middle panel) the scenario of peaceful times interrupted by short conflicts is still observable, but periods of continuous conflict occasionally appear. In the conflict regime exemplified by the right panel, these conflict bursts become persistent and the peaceful periods tend to disappear.
The above transition is the result of a competition between two timescales. New agents arrive outside of the article’s tolerance interval with an ‘insertion’ timescale . In order to have the conflicts must be resolved before a new extremist agent arrives. Let us note that the convergence is very fast if there is only one extremist group. The problem is solved by displacing the article opinion by the required amount, which can be done in few (N independent) steps. This is what happens in the left panel of Figure 7. On the other hand, if we have two extremist groups on both sides of the opinion interval the relaxation is much slower and this is manifested in a much longer relaxation time. Thus, at the transition the insertion timescale is equal to the relaxation time of the case with two extremist groups, which is analogous to the fixed agent pool version of the model.
The task here is to determine the relaxation time of the fixed pool version of the model and relate it to . For large values of the medium tolerance (), the relaxation time can by calculated analytically ,
where , , n denotes the integer part of (which is actually the number of steps the medium can make in one direction) and c is a constant depending on .
The above approach works well for and (regime III of the fixed pool case). If the mainstream group gets dissatisfied either by the large jump ( is too large) or by the small tolerance ( too small) of the article, the reasoning presented in  breaks down and new effect comes into play, namely the relaxation times of the fixed pool system becomes be enormous (regime I).
As we enter regime I of the fixed pool dynamics the relaxation time increases sharply (see Figure 3(B) and (C)). This means that if the system gets into a conflict state it will remain there for ever, which happens for,
This is why, starting from a conflict initial condition, the lower phase diagram in Figure 5 shows for . On the other hand, in order to initiate such a conflict one needs to have a situation where two extremists appear on both ends of the opinion space outside of the article tolerance interval. If we have a single extremist then the consensus will be reached within a few time steps, independently of N. So the probability that we create a long-lasting conflict state decreases proportionally to the agent replacement probability. This is why we see only peace on the finite-time realizations leading to the upper phase diagram in Figure 5. Had we waited long enough, a conflict would have been formed for and would have persisted further on.
In summary, the typical behavior of our model in the presence of agent renewal may be divided into four distinct regimes:
Eternal peace (): The system reaches consensus very fast and remains there for ever.
Peace ( and above the phase transition line): The system is mainly in a consensual state and only interrupted by short disputes.
War ( and below the phase transition line): The system is mainly in a state of disagreement.
Perpetual war (): In this regime and in the thermodynamic limit no consensus may exist.
3.3 The case of Wikipedia
Although the model described and analyzed above is simplified enough to be extendable to various cases of collaboration, we specially intend to use it to explain some of the empirical observations regarding edit wars in WP.
Wikipedia is huge, not only in its number of articles and users but in the number of times articles are edited. In most cases articles are not written in a collaborative way, i.e., they have single authors or a few authors who have written and edited different parts of the article without any significant interaction . In contrast, a few cases show significant constructive and/or destructive interactions between editors. The latter situation has been named ‘edit war’ by the WP community and defined as follows: “An edit war occurs when editors who disagree about the content of a page repeatedly override each other’s contributions, rather than trying to resolve the disagreement by discussion” .
To start an empirical analysis of such opinion clashes and the way they are entangled with collaboration, we need to be able to locate and quantify edit wars.
3.3.1 Controversy measure
An algorithm to quantify edit wars and measure the amount of social clashes for WP articles has been introduced and validated before , and then used to study extensively the dynamical aspects of WP conflicts . An independent study  has also shown that this measure is among the most reliable in capturing very controversial articles.
We quantify the ‘controversiality’ of an article based on its edit history by focusing on ‘reverts’ (i.e. when an editor completely undoes another editor’s edit and brings the article back to the state just before the last version). Reverts are detected by comparing all pairs of revisions of an article throughout its history, namely by comparing the MD5 hash code  of the revisions. Specifically, a revert is detected when two versions in the history line are exactly the same. In this case the latest edit (leading to the second identical revision) is marked as a revert, and a pair of editors, referred to as reverting and reverted editors, are recognized.
Very soon in our investigation we noticed that reverts can have different reasons and not in all cases signalize a conflict of opinions. For example, an editor could revert personal edit mistakes or someone else’s. Reverts are also heavily used to suppress vandalism, in itself a different type of destructive social behavior, but with no collaborative intention and therefore out of our interest. Thus we narrowed down our analysis to ‘mutual reverts’. A mutual revert is recognized if a pair of editors is observed once with x as the reverter and once with y. We also noticed that mutual reverts between pairs of editors at different levels of expertise and experience in WP editing could contribute differently to an edit war. Two experienced editors getting involved in a series of mutual reverts is usually a sign of a more serious conflict, as opposed to the case when two newbies or a senior editor and a newbie bite each other . As a solution we introduced a ‘weight’ for each editor, and to sum up all reverts within the history of an article we counted each revert by using the smaller weight of the pair of editors involved in it. The weight of an editor x is defined as the number of edits performed by him or her, and the weight of a mutually reverting pair is defined as the minimum of the weights of the two editors. The controversiality M of an article is then defined by summing the weights of all mutually reverting editor pairs, multiplying this number by the total number of editors E involved in the article. Overall,
where , are the number of edits for the article committed by the reverting/reverted editor. This measure can be easily calculated for each article, irrespective of the language, size, and length of its history.
Before starting our discussion about the empirical dynamics of conflict and its comparison with theoretical results, a remark on the most controversial articles in WP. We have calculated M for all articles in 13 different languages, from the start of each language WP up to March 2010. In Table 1 we show the list of the top-10 most controversial articles. A more complete and detailed analysis of the lists of the most controversial WP articles in different languages and differences and similarities between them can be found elsewhere .
3.3.2 Dynamics of conflict and war scenarios
Measuring M can not only lead us to rank the articles based on their cumulative controversy measure, but also enables us to follow edit wars in time as they emerge and get resolved, by investigating the evolution of M as time passes and the article develops. In the top row of Figure 8 we show the time evolution of M for three different sample articles.
Based on the way M evolves in time, we may categorize almost all controversial articles into three categories:
Single war to consensus: In most cases controversial articles can be included in this category. A single edit war emerges and reaches consensus after a while, stabilizing quickly. If the topic of the article is not particularly dynamic, the reached consensus holds for a long period of time (top left in Figure 8).
Multiple war-peace cycles: In cases where the topic of the article is dynamic but the rate of new events (or production of new information) is not higher than the pace to reach consensus, multiple cycles of war and peace may appear (top center in Figure 8).
Never-ending wars: Finally, when the topic of the article is greatly contested in the real world and there is a constant stream of new events associated with the subject, the article tends not to reach a consensus and M increases monotonically and without interruption (top right in Figure 8).
The empirical war scenarios described previously are in qualitative agreement with the theoretical regimes of our model in the case of agent renewal, as seen from both the sample time series in Figure 7 and the regimes of war and peace in the phase diagrams of Figure 5 and Figure 6. Unfortunately, the theoretical order parameter P is quite difficult to measure in real systems as editor opinions are not known. What we know instead is the controversy measure M of Eq. (7). As mentioned before, M counts conflict events (i.e. mutual reverts) and weights them by the maturity of the editor. This process can actually be repeated for the model: The editor maturity is then defined as the number of time steps an agent has been in the pool of editors (a quantity constantly reset by agent replacement), and a conflict event is considered as the time an editor modifies the article, since this implies the agent is not satisfied with the state of the medium.
Thus a theoretical counterpart S to the WP controversy measure M may be defined as follows: Let at the beginning of the dynamics. Then in each update (out of the N that constitute a time step in the dynamics), when editor i changes the state of the article by the amount we increment S by , where measures the time i has been in the editorial pool. Examples of the temporal evolution of S (lower row in Figure 8) closely reproduce the qualitative behavior of M for different war scenarios. To further compare empirical observations in WP with our model predictions, we measure the typical length of a constant ‘plateau’ in the M and S time series, i.e. the number of edits between two successive increments. As seen in the distribution of plateau length for WP and the model (Figure 9), a statistical agreement for all three war scenarios is clear.
A last word on WP banning statistics. A way of estimating the number of extremists is to count the number of editors who have been ‘banned’ from editing. Explicitly, “a ban is a formal prohibition from editing some or all WP pages, either temporarily or indefinitely” . Usually banning is used against vandals and/or editors who violate WP policies, especially those related to edit wars. In Table 2 we give some statistics of editors at different classes of editing activity, according to their number of edits. Interestingly, the relative population of banned editors is larger among more experienced editors (i.e. editors with more than 1000 edits). In other words, up to almost 20% of experienced editors could have been involved in edit wars. This is in complete accord with the choices we have made for the modeling setup, namely having two active extremist groups with roughly 20% of the total number of editors.
4 Discussion and conclusion
Here we have studied through modeling the emergence, persistence and resolution of conflicts in a collaborative environment of humans such as WP. The value production process takes place through interaction between peers (editors for WP) and through direct modification of the product or medium (an article). While in most cases this process is constructive and peaceful, from time to time severe conflicts emerge. We modeled the dynamics of conflicts during collaboration by coupling opinion formation with article editing in a generalized bounded-confidence dynamics. The simple addition of a common value-production process leads to the replacement of frozen opinion groups (typical of the bounded-confidence dynamics) with a global consensus and a tunable relaxation time. The model with a fixed pool shows a rich phase diagram with several characteristic behaviors: (a) an extremely long relaxation time, (b) fast relaxation preceded by oscillating behavior of the medium opinion, and (c) an even faster relaxation with an erratic medium. We have observed a symmetry-breaking, bifurcation transition between regimes (a) and (b), as well as divergence of the relaxation time in the transition between regimes (b) and (c).
If the pool is not fixed and editors are exchanged with new ones at a given rate, we obtain two different phases: conflict and peace. A conflict measure can be defined for the modeled system and be directly compared to its empirical counterpart in real WP data. It is then possible to follow the temporal evolution of this measure of controversy and obtain a good qualitative agreement with the empirical observations. These results lead us to plausible explanations for the spontaneous emergence of current WP policies, introduced to moderate or resolve conflicts.
Two remarks are at place here. In this study we have used a particular collaboration environment and compared our results with WP. The main reason behind is that for the free encyclopedia we have a full documentation of actions; however, we should emphasize that as web-based collaborative environments are abundant, we believe that our approach and results are much more general. Second, we are aware of the fact that the model contains a number of stringent simplifications: There are cultural differences between the WPs (e.g., in the usage of the talk page), and as in all human-related features there are large inhomogeneities in the opinions, in the tolerance level and in the activity of editors. Some of these aspects are under current study and will be taken into account for future research.
Axelrod R, Hamilton WD: The evolution of cooperation. Science 1981, 211(4489):1390. 10.1126/science.7466396
Schelling TC: The strategy of conflict. Harvard University Press, Cambridge; 1980.
Ratnieks FLW, Foster KR, Wenseleers T: Conflict resolution in insect societies. Annu Rev Entomol 2006, 51(1):581–608. 10.1146/annurev.ento.51.110104.151003
de Waal FBM: Primates—a natural heritage of conflict resolution. Science 2000, 289(5479):586–590. 10.1126/science.289.5479.586
Flack JC, Girvan M, de Waal FBM, Krakauer DC: Policing stabilizes construction of social niches in primates. Nature 2006, 439(7075):426–429. 10.1038/nature04326
Melis AP, Semmann D: How is human cooperation different? Philos Trans R Soc B 2010, 365(1553):2663–2674. 10.1098/rstb.2010.0157
Rand DG, Arbesman S, Christakis NA: Dynamic social networks promote cooperation in experiments with humans. Proc Natl Acad Sci USA 2011, 108(48):19193–19198. 10.1073/pnas.1108243108
Quirk PJ: The cooperative resolution of policy conflict. Am Polit Sci Rev 1989, 83(3):905–921. 10.2307/1962066
Buchan NR, Grimalda G, Wilson R, Brewer M, Fatas E, Foddy M: Globalization and human cooperation. Proc Natl Acad Sci USA 2009, 106(11):4138. 10.1073/pnas.0809522106
Lerner J, Tirole J: Some simple economics of open source. J Ind Econ 2002, 50(2):197–234. 10.1111/1467-6451.00174
Rogers D, Lingard L, Boehler ML, Espin S, Klingensmith M, Mellinger JD, Schindler N: Teaching operating room conflict management to surgeons: clarifying the optimal approach. Med Educ 2011, 45(9):939–945. 10.1111/j.1365-2923.2011.04040.x
Minson JA, Liberman V, Ross L: Two to tango: effects of collaboration and disagreement on dyadic judgment. Pers Soc Psychol Bull 2011, 37(10):1325–1338. 10.1177/0146167211410436
Castellano C, Fortunato S, Loreto V: Statistical physics of social dynamics. Rev Mod Phys 2009, 81(2):591–646. 10.1103/RevModPhys.81.591
Helbing D: Quantitative sociodynamics: stochastic methods and models of social interaction processes. Springer, Berlin; 2010.
Onnela J-P, Saramäki J, Hyvönen J, Szabó G, Lazer D, Kaski K, Kertész J, Barabási A-L: Structure and tie strengths in mobile communication networks. Proc Natl Acad Sci USA 2007, 104(18):7332–7336. 10.1073/pnas.0610245104
Ratkiewicz J, Fortunato S, Flammini A, Menczer F, Vespignani A: Characterizing and modeling the dynamics of online popularity. Phys Rev Lett 2010., 105(15): 10.1103/PhysRevLett.105.158701
Yasseri T, Kertész J: Value production in a collaborative environment. J Stat Phys 2013, 151(3–4):414–439. 10.1007/s10955-013-0728-6
Mestyán M, Yasseri T, Kertész J: Early prediction of movie box office success based on Wikipedia activity big data. PLoS ONE 2013., 8(8): 10.1371/journal.pone.0071226
Ciampaglia G, et al.: A bounded confidence approach to understanding user participation in peer production systems. In Social informatics. Edited by: Datta A. Springer, Berlin; 2011:269–282. 10.1007/978-3-642-24704-0_29
Yasseri T, Sumi R, Rung A, Kornai A, Kertész J: Dynamics of conflicts in Wikipedia. PLoS ONE 2012., 7(6): 10.1371/journal.pone.0038869
Yasseri T, Sumi R, Kertész J: Circadian patterns of Wikipedia editorial activity: a demographic analysis. PLoS ONE 2012., 7(1): 10.1371/journal.pone.0030091
Kollock P: Social dilemmas: the anatomy of cooperation. Annu Rev Sociol 1998, 24(1):183–214. 10.1146/annurev.soc.24.1.183
Jensen C, Farnham SD, Drucker SM, Kollock P: The effect of communication modality on cooperation in online environments. In Proceedings of the SIGCHI conference on human factors in computing systems. CHI’00. ACM, New York; 2000:470–477. 10.1145/332040.332478
Wikipedia: Talk page guidelines. Retrieved Feb 23, 2014, from , [http://en.wikipedia.org/wiki/Wikipedia:Talk_page_guidelines]
Wikipedia: Using talk pages. Retrieved Feb 23, 2014, from , [http://en.wikipedia.org/wiki/Wikipedia:Using_talk_pages]
Kaltenbrunner A, Laniado D: There is no deadline: time evolution of Wikipedia discussions. In Proceedings of the eighth annual international symposium on Wikis and open collaboration. WikiSym’12. ACM, New York; 2012.
Deffuant G, Neau D, Amblard F, Weisbuch G: Mixing beliefs among interacting agents. Adv Complex Syst 2000, 3(4):87–98. 10.1142/S0219525900000078
Török J, Iñiguez G, Yasseri T, San Miguel M, Kaski K, Kertész J: Opinions, conflicts, and consensus: modeling social dynamics in a collaborative environment. Phys Rev Lett 2013., 110(8): 10.1103/PhysRevLett.110.088701
Wikipedia: Liancourt Rocks dispute. Retrieved May 21, 2014, from , [http://en.wikipedia.org/wiki/Liancourt_Rocks_dispute]
Axelrod R: The dissemination of culture. A model with local convergence and global polarization. J Confl Resolut 1997, 41(2):203–226. 10.1177/0022002797041002001
Lorenz J: Continuous opinion dynamics under bounded confidence: a survey. Int J Mod Phys C 2007, 18(12):1819–1838. 10.1142/S0129183107011789
Sznajd-Weron K, Sznajd J: Who is left, who is right? Physica A 2005, 351(2):593–604. 10.1016/j.physa.2004.12.038
Wojcieszak M, Price V: What underlies the false consensus effect? How personal opinion and disagreement affect perception of public opinion. Int J Public Opin Res 2009, 21(1):25–46. 10.1093/ijpor/edp001
Morrison KR, Matthes J: Socially motivated projection: need to belong increases perceived opinion consensus on important issues. Eur J Soc Psychol 2011, 41(6):707–719. 10.1002/ejsp.797
Weisbuch G, Deffuant G, Amblard F, Nadal J-P: Meet, discuss, and segregate! Complexity 2002, 7(3):55–63. 10.1002/cplx.10031
Ben-Naim E, Krapivsky PL: Multiscaling in inelastic collisions. Phys Rev E 2000, 61(1):R5-R8. 10.1103/PhysRevE.61.R5
Baldassarri A, Marini Bettolo Marconi U, Puglisi A: Influence of correlations on the velocity statistics of scalar granular gases. Europhys Lett 2002, 58: 14. 10.1209/epl/i2002-00600-6
Ben-Naim E, Krapivsky PL, Redner S: Bifurcations and patterns in compromise processes. Physica D 2003, 183(3–4):190–204. 10.1016/S0167-2789(03)00171-4
Laguna MF, Abramson G, Zanette DH: Minorities in a model for opinion formation. Complexity 2004, 9(4):31–36. 10.1002/cplx.20018
Porfiri M, Bollt EM, Stilwell DJ: Decline of minorities in stubborn societies. Eur Phys J B 2007, 57(4):481–486. 10.1140/epjb/e2007-00186-3
Hegselmann R, Krause U: Opinion dynamics and bounded confidence models, analysis, and simulation. J Artif Soc Soc Simul 2002., 5(3):
Fortunato S, Latora V, Pluchino A, Rapisarda A: Vector opinion dynamics in a bounded confidence consensus model. Int J Mod Phys C 2005, 16(10):1535–1551. 10.1142/S0129183105008126
Jacobmeier D: Multidimensional consensus model on a Barabási-Albert network. Int J Mod Phys C 2005, 16(4):633–646. 10.1142/S0129183105007388
Lorenz J: Fostering consensus in multidimensional continuous opinion dynamics under bounded confidence. In Managing complexity: insights, concepts, applications. Springer, Berlin; 2008:321–334.
González-Avella JC, Cosenza MG, Eguíluz VM, San Miguel M: Spontaneous ordering against an external field in non-equilibrium systems. New J Phys 2010., 12: 10.1088/1367-2630/12/1/013010
Lorenz J: Heterogeneous bounds of confidence: meet, discuss and find consensus! Complexity 2010, 15(4):43–52.
Kimmons R: Understanding collaboration in Wikipedia. First Monday 2011., 16: 10.5210/fm.v16i12.3613
Wikipedia: Edit warring. Retrieved Feb 23, 2014, from , [http://en.wikipedia.org/wiki/Wikipedia:Edit_warring]
Sumi R, Yasseri T, Rung A, Kornai A, Kertész J: Edit wars in Wikipedia. 2011 IEEE third international conference on privacy, security, risk and trust (PASSAT) and 2011 IEEE third international conference on social computing (SocialCom) 2011, 724–727. 10.1109/PASSAT/SocialCom.2011.47
Sepehri Rad H, Makazhanov A, Rafiei D, Barbosa D: Leveraging editor collaboration patterns in Wikipedia. In Proceedings of the 23rd ACM conference on hypertext and social media. HT’12. ACM, New York; 2012:13–22. 10.1145/2309996.2310001
Rivest RL (1992) The MD5 message-digest algorithm. Internet Request for Comments, RFC 1321
Halfaker A, Kittur A, Riedl J: Don’t bite the newbies: how reverts affect the quantity and quality of Wikipedia work. In Proceedings of the 7th international symposium on Wikis and open collaboration. WikiSym’11. ACM, New York; 2011:163–172. 10.1145/2038558.2038585
Yasseri T, Spoerri A, Graham M, Kertész J: The most controversial topics in Wikipedia: a multilingual and geographical analysis. In Global Wikipedia: international and cross-cultural issues in online collaboration. Edited by: Fichman P, Hara N. Scarecrow Press, Lanham; 2014.
Wikipedia: Banning policy. Retrieved Feb 23, 2014, from , [http://en.wikipedia.org/wiki/Wikipedia:Banning_policy]
The authors acknowledge support from the ICTeCollective EU FP7 project. JK thanks FiDiPro (TEKES) and the DATASIM EU FP7 project for support. JT thanks the support of European Union and the European Social Fund through project FuturICT.hu (grant no.: TAMOP-4.2.2.C-11/1/KONV-2012-0013).
The authors declare that they have no competing interests.
All authors designed the research and participated in the writing of the manuscript. GI and JT contributed equally to this work. GI and JT performed the numerical calculations and analytical approximations. TY analyzed the empirical data.
Authors’ original submitted files for images
Below are the links to the authors’ original submitted files for images.
About this article
Cite this article
Iñiguez, G., Török, J., Yasseri, T. et al. Modeling social dynamics in a collaborative environment. EPJ Data Sci. 3, 7 (2014). https://doi.org/10.1140/epjds/s13688-014-0007-z