## Contrariety and Inhibition enhance synchronization in a small-world network of phase oscillators

Tayebe Nikfard, 1 Yahya Hematyar Tabatabaei, 1 and Farhad Shahbazi 1, ∗

1 Department of Physics, Isfahan University of Technology, Isfahan 84156-83111, Iran

We numerically study the Kuramoto model's synchronization consisting of the two groups of conformistcontrarian and excitatory-inhibitory phase oscillators with equal intrinsic frequency. We consider random and small-world (SW) topologies for the connectivity network of the oscillators. In random networks, regardless of the contrarian to conformist connection strength ratio, we found a crossover from the π -state to the blurred π -state and then a continuous transition to the incoherent state by increasing the fraction of contrarians. However, for the excitatory-inhibitory model in a random network, we found that for all the values of the fraction of inhibitors, the two groups remain in-phase, and the transition point of fully synchronized to incoherent state reduced by strengthening the ratio of inhibitory to excitatory links. In the SW networks, we found that the order parameters for both models have not monotonic behavior in terms of the fraction of contrarians and inhibitors. Up to the optimal fraction of contrarians inhibitors, the synchronization rises by introducing the contrarians and inhibitors and then falls. We discuss that this non-monotonic behavior in synchronization is due to the weakening of the defects formed already in conformists and excitatory agents in SW networks.

PACS numbers:

05.45.Xt, 89.75.Hc

## I. INTRODUCTION

The Kuramoto model originally introduced by Y. Kuramoto [1, 2] is a simple and mathematically tractable model, showing the synchronization transition in an ensemble of mutually interacting phase-oscillators (rotors). Synchronization is ubiquitous such as flashing of fireflies, flocking of birds and fishes, the simultaneous firing of brain neurons, and heart cells [3-7].

While Kuramoto's motivation for introducing his model was to find an exactly solvable model for the transition from desynchronized to synchronized state, however, this model found many applications in physical, chemical, and biological systems [8]. The Kuramoto model and its variants have been used to model the opinion formation dynamics in a society [913]. In this context, the phase of each individual corresponds to its belief and synchronization is equivalent to the formation of consensus in society.

In the original Kuramoto model, the rotors globally coupled to each other sinusoidally with uniform coupling constant. The exact solution of this model indicates a continuous synchronization at a critical coupling [8]. Recent developments in complex network science attracted the researchers to the study of synchronization in general [14], and the Kuramoto model with local interactions in complex networks [15]. For instance, the Kuramoto model has been studied on the regular [16, 17] and WS networks [18-23]. In this regard, some impressive results are forming patterns of synchrony in regular and Watts-Strogatz (WS) networks for a group of identical phase oscillators. In a regular ring shape network, the patterns are helical, topologically distinct, and characterized by integer winding numbers [16, 17]. Rewiring the ring's links with a small probability between 0 005 . and 0 05 . converts the regular lattice to the WS network, which has the small-world properties of small mean shortest path and high clustering [19, 24].

∗ shahbazi@iut.ac.ir

This process turns the helical patterns into several isolated defects or deviated helical patterns for small and large winding numbers, respectively [23]. In isolated defects, the phase difference between their center and surroundings varies continuously fro 0 to π by going away from the center.

Kouhi et. al found that adding a spatially uncorrelated white noise to the Kuramoto model could destroy theses defects and make a more homogenous phase texture with higher phasesynchrony, that is, the stochastic synchronization [23]. Moreover, they showed that the significant rewiring probabilities larger than 0 15 . , destroys the defects and so set the system in a full synchronization state [23].

To make the Kuramoto model closer to reality, the generalization of the model with random pairwise coupling with both signs was investigated [25-27]. While the positive coupling encourages that the phases of interacting oscillators to converge an in-phase state, the negative coupling forces them to align in anti-phase ( π -difference) configuration. Initially, a glassy behavior was claimed for this model [25], however, later investigations shed doubt on the existence and properties of such a state [26, 27].

Hong and Strogatz introduced a simpler version of the model with mixed-coupling in which the oscillators are divided into two groups of conformists and contrarians [12, 13]. In this model, the conformists have positive coupling with the rest of oscillators, so tend to be in line with the dominant rhythm of the population; however, the contrarians have negative coupling with the rest and are prone to move in the opposite direction of population. Hong and Strogatz investigated the model with both with [12] and without [13] intrinsic angular-velocity distribution and found a rich phase diagram for this model in terms of the fraction of conformists. The phase diagram includes the desynchronized, anti-phase locked state between the conformists and contrarians, and the traveling waves in which the average angular velocity is different from the mean intrinsic angular-velocity distribution. Surprisingly, they found that identical phase-oscillators' model has a richer phase diagram.

Motivated by Hong and Strogatz, in this work, we study

the Kuramoto model of two groups of conformist and contrarian phase-oscillators, which are identical in terms of their intrinsic angular-velocities, in a WS network. Moreover, we also investigate a Kuramoto model of excitatory and inhibitor phase-oscillators in the WS network, in which a given rotor is coupled positively to its excitatory and negatively to its inhibitor neighbors.

The paper is organized as the following. In section II, we define the model and the numerical methods of quantifying the synchronization. Section III represents the results and discussion and section IV is devoted to the concluding remarks.

## II. MODEL AND METHOD

In this work, we study two Kuramoto models in random and Watts-Strogatz small-world networks. The two models are i) The conformist-contrarian model and ii) the excitatoryinhibitory model. Each model consists of N phase oscillators (rotors), divided into two groups (conformist-contrarian and excitatory-inhibitory). The rotors occupy the vertices of a network, and each interacts with its neighbors through a sinusoidal coupling whose argument is their phase difference. However, the coupling is not symmetric.

## A. Conformist-Contrarian model

The conformist-contrarian model is given by a set of coupled first-order differential equations, as:

$$\frac { d \theta _ { i } ^ { s } } { d t } = \omega _ { 0 } + \frac { \lambda _ { i } ^ { s } } { k _ { i } } \sum _ { j = 1 } ^ { N } a _ { i j } \sin ( \theta _ { j } - \theta _ { i } ^ { s } ), \quad \ i = 1, \dots, N ; \quad \ \text{To } \colon \\ \text{where } \theta. \text{ denotes the above of the official stuffing at node} \quad \ \text{$\lambda$}$$

where θ i denotes the phase of the oscillator sitting at node i , ω 0 is the intrinsic frequency of the oscillators and considered equal for all of them. a ij denotes the elements of the adjacency matrix (i.e. a ij = 1 if i and j are connected and a ij = 0 otherwise) and k i is the degree of node i . λ s , where s = conformist contrarian , ), is the coupling constant, which is positive for the conformist and negative for the contrarians. Indeed, a contrarian with positive coupling inclines to align its phase with its neighbors' phases, while a contrarian tries to direct its phase as far as possible to its neighbors.

The intrinsic frequency, ω 0 ), can always be set to zero by moving to a rotating frame with the angular velocity ω 0 , i.e. θ ′ ( ) = t θ t ( ) -ω t 0 . Moreover, by defining the dimensionless time τ = λ conf t , Eq.(1) converts to

$$\frac { d \theta ^ { \prime } _ { i } ^ { \text{conf} } } { d \tau } & = \frac { 1 } { k _ { i } } \sum _ { j = 1 } ^ { N } a _ { i j } \sin ( \theta ^ { ^ { \prime } } _ { j } - \theta ^ { ^ { \prime } } _ { i } ^ { \text{conf} } ), & \quad \text{and} \\ \frac { d \theta ^ { \prime } _ { i } ^ { \text{conf} } } { d \tau } & = - \frac { Q } { k _ { i } } \sum _ { j = 1 } ^ { N } a _ { i j } \sin ( \theta ^ { ^ { \prime } } _ { j } - \theta ^ { ^ { \prime } } _ { i } ^ { \text{conf} } ), & \quad ( 2 ) & \quad \text{with} \\ \quad \text{of os}$$

where we assumed λ cont = -Qλ conf , with Q &gt; 0 and λ conf &gt; 0 (cont and conf stand for contrarian and conformist, respectively))

## B. Excitatory-Inhibitory model

Now consider a system consisting of two groups of excitatory and inhibitory phase oscillators. Each oscillator receives a positive input from its excitatory and negative input from its inhibitory neighbors in this system. Therefore the coupling λ s j has to inserted inside the sum, then we find

$$\underset { \underset { \underset { \underset { \underset { \underset { \underset { \underset { \text{col}} { \delta } } } { \omega } } } } } { \text{dom} } \quad \frac { d \theta _ { i } } { d t } = \omega _ { 0 } + \frac { 1 } { k _ { i } } \sum _ { j = 1 } ^ { N } a _ { i j } \lambda _ { j } ^ { s } \sin ( \theta _ { j } ^ { s } - \theta _ { i } ), \quad \ \ i = 1, \dots, N ; \quad \ \text{d} \quad } \,,$$

(3)

in which we assume λ inhib i = -Qλ excit i with Q &gt; 0 and λ excit &gt; 0 . (inhib and excit stand for inhibitory and excitatory, respectively). Similarly, after moving to the rotating frame with angular velocity ω 0 and rescaling the time variable as τ = λ excit t , we get

$$\frac { d \theta ^ { \prime } _ { i } } { d \tau } = \frac { 1 } { k _ { i } } \sum _ { j \in \text{excit} } a _ { i j } \sin ( \theta ^ { ^ { \prime } } _ { j } - \theta ^ { ^ { \prime } } _ { i } ) - \frac { Q } { k _ { i } } \sum _ { j \in \text{inhib} } a _ { i j } \sin ( \theta ^ { ^ { \prime } } _ { j } - \theta ^ { ^ { \prime } } _ { i } ).$$

## C. method

To obtain the time evolution of the phase of the oscillators, we use the fourth-order Runge-Kutta method for integrating the sets of equations (2) and (4). The integration time step is set to dτ = 0 1 . and the initial phase distribution is taken from a box distribution in the interval [ -π, π ] . The global synchrony among the oscillators at any time can be measured by the Kuramoto order parameter defined as

$$\mathbf r ( \tau ) = \frac { 1 } { N } \sum _ { j = 1 } ^ { N } \exp \left ( i \theta _ { j } ( \tau ) \right ).$$

In the stationary state we define the long time averaged order parameter as r ∞ :

$$\mathbf r _ { \infty } = \lim _ { \Delta \tau \rightarrow \infty } \frac { 1 } { \Delta \tau } \int _ { \tau _ { s } } ^ { \tau _ { s } + \Delta \tau } r ( \tau ) d \tau, \quad \quad ( 6 )$$

in which τ s is the time of reaching a stationary state. The magnitude of r ∞ shown by r ∞ is a real number between 0 and 1 . r ∞ = 0 indicates a disordered or a phase-locked state with regular phase lag, 0 &lt; r ∞ &lt; 1 indicates a partially synchronized state, and r ∞ = 1 shows the full synchrony in the system.

We also define a partial order parameter for the two groups of oscillators as:

$$\mathbf r _ { a } ( \tau ) = r _ { a } ( \tau ) \exp ( i \Theta _ { a } ( \tau ) ) = \frac { 1 } { N _ { a } } \sum _ { j \in a } \exp ( i \theta _ { j } ^ { a } ( \tau ) ). \, a = 1, 2 \\ \intertext { w h a a - 1 \, \text{rafore to conformit and activator} \, and a - 2 }$$

where a = 1 refers to conformist and excitatory and a = 2 to contrarian and inhibitory oscillators. r a and Θ a are the magnitude and phase of the partial order parameter. For each model the fraction of contrarian ( N ct N ) and inhibitory ( N in N ) oscillators is denoted by p .

It can be easily seen that equations (5) and (7) give rise to:

$$\mathbf r ( \tau ) = ( 1 - p ) \mathbf r _ { 1 } ( \tau ) + p \mathbf r _ { 2 } ( \tau ), \text{ \quad \ \ } ( 8 )$$

from which one fined the following expression for the magnitude of the total order parameter in terms of the magnitude of partial order parameters and their phase difference

$$r & = \sqrt { ( 1 - p ) ^ { 2 } r _ { 1 } ^ { 2 } + p ^ { 2 } r _ { 2 } ^ { 2 } + 2 p ( 1 - p ) r _ { 1 } r _ { 2 } \cos ( \Theta _ { 1 } - \Theta _ { 2 } ) }. \\ \neg \quad r \quad. \quad. \quad. \quad. \quad. \quad.$$

The Kuramoto order parameter is a measure of global synchronization in the system. To gain insight into the local coherence in the stationary state, we calculate the pairwise correlation matrix D [28]:

$$D _ { i j } = \lim _ { \Delta \tau \rightarrow \infty } \frac { 1 } { \Delta \tau } \int _ { \tau _ { s } } ^ { \tau _ { s } + \Delta \tau } \cos ( \theta _ { i } ( \tau ) - \theta _ { j } ( \tau ) ) d t. \quad ( 1 0 )$$

The matrix elements D ij take a value in the interval [ -1 1] , . D ij = 1 denotes full synchrony between oscillators i and j , while D ij = -1 , represents an anti-phase state (i.e. | θ i -θ j | = π ).

The phase diagram of the conformist-contrarian model, with identical intrinsic frequency, has been obtained by Hong and Strogatz [13]. This phase diagram includes four phases a) incoherent phase where both partial order parameters are zero ( r 1 = r 2 = 0 ), b) blurred π -state, where the conformists and contrarians are partially ordered ( r , r 1 2 &lt; 1 ), but there is π difference between the phase of their order parameters | Θ 1 -Θ 2 | = π . The incoherent and blurred π -states coexists together for some range of fraction of contrarians.

c) traveling wave state, where the conformist are completely ordered r 1 = 1 , but the conformist are partially ordered r 2 &lt; 1 , in this case, the absolute phase difference of these order parameters could be less than π , and d) the π -state, where both conformists and contrarians are fully synchronized r 1 = r 2 = 1 and their phase difference is equal to π ( | Θ 1 -Θ 2 | = π ).

In next section we proceed to investigate the phase diagram of both conformist-contrarian and excitatory-inhibitory models in random and small-world networks. The networks used in this study are created by Watts-Strogatz (WS) algorithm [19, 24]. To build an SW network, starting from a ring with a given degree of k for each node, we rewire the links with the probability 0 03 . , and for the random network, we rewire them with probability 1 .

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.00319v4-figure-9e952b46-3814-4139-a1e6-491d68604982.jpg)

(a)

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.00319v4-figure-3514d91e-c4d8-4514-9201-0b33e65cec7f.jpg)

(b)

FIG. 1. (Color online) Stationary total and partial order parameters verses fraction of contrarians for the conformist-contrarian model (Eq.(2)) for (a) Q = 0 5 . , (b) Q = 1 0 . and (c) Q = 3 0 . for a random network of N = 1000 oscillators and mean degree &lt; k &gt; = 10 . The error bars indicate the standard error of mean (SEM)

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.00319v4-figure-d3927f34-8bec-4694-b4b8-725d89fc94d9.jpg)

## III. RESULTS AND DISCUSSION

Since we did not find remarkable size dependence for the networks larger than N = 200 , we performed all the simulations on the size N = 1000 . Moreover, since we are interested in applying the models in real networks that are mostly sparse, we consider the mean degree of 10 . We check that, as far as

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.00319v4-figure-25eb70f3-fff6-43c9-96eb-d6923172bd1f.jpg)

(a)

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.00319v4-figure-603b5c40-58ae-4052-8293-1c9e026bd1f9.jpg)

(b)

FIG. 2. (Color online) Stationary total and partial order parameters verses fraction of inhibitory oscillators for the excitatory-inhibitory (Eq.(4)) model for (a) Q = 0 5 . , (b) Q = 1 0 . and (c) Q = 3 0 . for a random network of N = 1000 oscillators and mean degree &lt; k &gt; = 10 . The error bars indicate the standard error of mean (SEM)

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.00319v4-figure-1293d208-f8c4-46bb-982b-48943d4dd239.jpg)

the network is sparse, the results remain unchanged. In the following, we report the results of both models in random and then in small-world networks.

## A. Random network

In random networks for the conformist-contrarian model, the simulations typically reach the stationary state up to ∼ 10000 time steps. Figure 1 represents the variation of the magnitude of long-time averaged total ( r ∞ ) and partial order parameters ( r conf and r cont ), versus the fraction of contrarians ( p ) for the conformist-contrarian model with Q = 0 5 . , 1 0 . , 3 0 . . Each data is obtained by averaging over 100 independent distribution of contrarians.

Our calculations indicate that for all ranges of p , the phase difference between two partial order parameters is equal to π , i.e., the system is in π or blurred π -state for all values of p . In this case, Eq.(9) results in the following relation for the stationary total order parameter in terms of the partial order parameters

$$r _ { \infty } = ( 1 - p ) r _ { \text{conf} } - p r _ { \text{cont} }. \quad \quad ( 1 1 )$$

The solid line in figure 1 is the plot of Eq. 11 which completely lies on the total order parameter data. This figure shows, regardless of the value of Q , the magnitude of partial order parameters is near unity for p glyph[lessorsimilar] 0 12 . , giving rise to a linear dependence of r ∞ versus p with the slope -2 in this range of p . It means that the stable state of the system in this region is π -state. However, for p &gt; 0 12 . , conformists and contrarians' partial order parameters are less than unity; indicating that they have more freedom to swing their phase, then the system is the blurred π -state. Our results denote that the traveling wave states are not present in a random network with sparse connectivity, unlike the all-to-all network.

Moreover, the variation of the order parameters in terms of the fraction of contrarians does not depend on Q . Such independence if the stationary results to the parameter Q , can be easily justified by absorbing Q into the dimensionless time parameter τ in Eq. (2), which drops Q from the right-hand side of this equation. It means that Q only affects the contrarians' stationary time scale; hence, the results in the stationary state do not depend on Q .

Indeed, we find a crossover from the π -state to the blurred π -state at the same p , for all values of Q . This result is in sharp contrast with the complete network; A traveling wave (TW) state mediates the π -state and blurred π -state. The transition between the π -state and TW is discontinuous, while TW continuously connects to the blurred π -state [13].

The stationary time for the excitatory-inhibitory model is more considerable and could be up to ∼ 35000 time steps. Figure 2 displays the dependence of the magnitude of stationary total order parameter ( r ∞ ) and partial order parameters ( r excit and r inhib ), to the fraction of inhibitory oscillators ( p ) for the this model with Q = 0 5 1 0 3 0 . , . , . . Each data is obtained by averaging over 100 independent distribution of inhibitors.

We found that the excitatory and inhibitory oscillators have the same phase for all p and Q for this model; which can be verified by the exact overlap of the equation

$$r _ { \infty } = ( 1 - p ) r _ { \text{excit} } + p r _ { \text{inhib} }, \text{ \quad \ \ } ( 1 2 )$$

with the total order parameter, illustrated in figure 2.

Interestingly, the system remains in a fully synchronized state (up to p ∼ 0 3 . ) for Q = 0 5 . , and the range of full synchrony decreases by increasing Q . Indeed, at small enough p , the minority inhibitors synchronize with each other through their neighboring majority excitatory oscillators. The larger Q also reduces the transition point to the incoherent state. This result is not surprising; as expected, the strengthening of the inhibitory links leads to the faster vanishing of the synchronized state.

## B. Small-World network

The time to reach a stationary state in an SW network (Watts-Strogatz network with rewiring probability 0 03 . ) is an order of magnitude larger than those of Random networks for both models and could as large as 6 × 10 5 time steps.

Figures 3 and 4 illustrate The variations of the total and partial order parameters in terms of the fraction of contrarian and inhibitors, for the conformist-contrarian and excitatoryinhibitory models, respectively. For both models, we adapt Q = 0 5 1 0 3 0 . , . , . , and each data point is obtained by averaging over independent random initial conditions. In contrast to the random network, the averaged order parameters are less than unity for p = 0 , which is due to the formation of the defect patterns in small-world networks [23]. Indeed, for a group of identical phase-oscillators, depending on initial phase distribution, the magnitude of stationary order parameters varies between 0 and 1, then its average is less than 1. The oscillators in the center of defects are in a π -locked state with the ones in the homogeneous parts, indicating that the Kuramoto dynamics turns some individual oscillators to contrarians even for an identical ensemble of phase oscillators.

Figure 3 shows that the behavior of order parameters versus the fraction of contrarians does not depend on Q and like the random network, the exact overlap of the total order parameter and the relation r ∞ = (1 -p r ) conf -pr cont , indicates that the phase difference between conformist and contrarians are always equal to π ; hence the system is in blurred π -state for all values of p and Q . Moreover, Figure 3 represents the enhancement of synchronization by increasing the fraction of contrarians to p ∼ 0 04 . , at which the synchrony reaches a maximum and then begins to fall by further increasing of p .

For the excitatory-inhibitory model, as can be seen in figure 4, the relation r ∞ = (1 -p r ) excit + pr inhib fits very well with the total order parameter, meaning that the excitatory and inhibitory oscillators, regardless of the value of p and Q , are always in-phase. This model also shows a maximum for the total order parameter; however, the optimal value of p , which leads to this maximum synchrony, decreases by increasing the strength of inhibitory links to the excitatory ones.

The non-monotonic behavior of order parameters versus p can be explained by weakening and reducing the defects as the contrarians or inhibitors are introduced to the dynamics. Figures 5 and 6, respectively represent the density plots of the elements of the stationary correlation matrix for a single realization of the conformist-contrarian and excitatory-inhibitory

FIG. 3. (Color online) Stationary total and partial order parameters verses fraction of contrarians for the conformist-contrarian model (Eq.(2)) for (a) Q = 0 5 . , (b) Q = 1 0 . and (c) Q = 3 0 . for a smallworld of N = 1000 oscillators and mean degree &lt; k &gt; = 10 .The error bars indicate the standard error of mean (SEM)

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.00319v4-figure-cd3aaabf-81d4-4059-9e56-46c2f8180ae4.jpg)

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.00319v4-figure-b1d07115-92b7-4dd9-a7c9-9b3377ee561b.jpg)

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.00319v4-figure-4efc83f0-b2ef-4572-a332-2ee77fe51b19.jpg)

models with Q = 1 . Figure 5 shows the reduction of the isolated defects form 3 to 2 and their weakening in going from p = 0 03 . to 0 05 . , for the conformist-contrarian model. Remarkable weakening of defects can also be seen in figure 6 for the excitatory-inhibitory model, when the fraction of inhibitors rises from p = 0 03 . to 0 05 . .

To make sure that theses results are not the artifact of us-

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.00319v4-figure-d93ec4bb-057c-4673-9a8f-3af457065128.jpg)

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.00319v4-figure-4b8fdab3-2924-4c37-a564-04bb008f49b8.jpg)

(b)

FIG. 4. (Color online) Stationary total and partial order parameters verses fraction of inhibitory oscillators for the excitatory-inhibitory (Eq.(4)) model for (a) Q = 0 5 . , (b) Q = 1 0 . and (c) Q = 3 0 . for a small-world of N = 1000 oscillators and mean degree &lt; k &gt; = 10 . The error bars indicate the standard error of mean (SEM)

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.00319v4-figure-67691d2b-b893-42c4-bf03-01049d845bc8.jpg)

ing only a fixed network realization, we performed the above simulations on 10 realizations of SW network with the same number of nodes, degree, and rewiring probability, but with different adjacency matrices and observed similar results in all of them.

As a result, when several contrarians and inhibitors are randomly substituted in the network, some sit in the vicinity of defect locations. The perturbing effect of these new agents on the oscillators inside the defects, which are in an anti-phase state with other oscillators of their group, give them more freedom to deviate from their previous anti-phase state and so lead to the weakening if the defects. When the fraction of contrarians or inhibitors reaches an optimal value, they give maximal freedom to the defects and lift the synchronization to a maximum. As explained before, the optimal value of p is independent of Q for the conformist-contrarian model; however, in the excitatory-inhibitory model, increasing the inhibitory links' weight gives rise to a more substantial perturbation, therefore tend to decrease the optimal p .

## IV. CONCLUSION

In summary, we numerically investigated the Kuramoto model with two groups of conformist-contrarian and excitatory-inhibitory phase oscillators, with the same intrinsic frequency, in the sparse random and Watts-Strogatz SW networks.

In random networks, the conformist-contrarian model finds a stationary state with π -state that crosses over to blurred π -state by increasing the fraction of contrarians. On the other hand, for the SW network, the system is always in a blurred π -state where both conformists and contrarians are partially synchronized. Unlike the all-to-all network, the traveling wave state does not appear in both networks; however, by increasing the fraction of contrarians, the synchronization increases and reaches a maximum at an optimal fraction of contrarians. This counterintuitive observation results from conformist defects' attenuation by introducing the contrarians, which elevate society's consensus up to an optimal number of contrarians.

We found that the excitatory and inhibitory oscillators always are in-phase in both network types for the excitatoryinhibitory model. We also observed the enhancement of synchrony by increasing the fraction of inhibitors in the SW network. However, unlike the conformist-contrarian model, the fraction of inhibitors at which the order parameters reach a peak decreases by increasing inhibitory links' weight.

We note that enhancement of synchronization by Contrariety and Inhibition in this model could be considered an implication of asymmetry induced symmetry [29-32], stating that a symmetric state can be induced in an oscillator system by reducing the symmetry of pairwise interactions. Here, we found that the reduction of symmetry in the couplings of a group of identical oscillators in an SW network pushes it to a more symmetric state by elevating the system's level of synchrony.

This work provides a simple model, which may help us gain more insight into the constructive role of diversity, appearing in the form of contrarians in human societies and inhibitors in neuronal networks known to have small-world connectivity.

## ACKNOWLEDGMENTS

The authors gratefully acknowledge the Sheikh Bahaei National High-Performance Computing Center (SBNHPCC) for

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.00319v4-figure-5de273da-32bb-4291-9e0b-ae6145e70283.jpg)

FIG. 5. (Color online) Stationary density plot of the correlation matrix elements corresponding to a single realization of the conformistcontrarian model (Eq.(2)), with Q = 1 0 . , in an SW network, for (a) p = 0 03 . , (b) p = 0 05 . , (c) p = 0 09 . and (d) p = 0 18 . .

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.00319v4-figure-6a3ebb9d-42dd-4c6f-846f-7cd6409c54b8.jpg)

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.00319v4-figure-05c26a83-695a-487a-868e-7de9e3d15a2e.jpg)

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.00319v4-figure-d25f047a-f0f4-4151-a6e8-78d451eb4d92.jpg)

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.00319v4-figure-cb8e2e90-4cd3-4d59-8b8c-39b06f72c620.jpg)

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.00319v4-figure-8cb2ed87-6b23-4cfc-9276-bfc8af11c524.jpg)

FIG. 6. (Color online) Stationary density plot of the correlation matrix elements corresponding to a single realization of the excitatoryinhibitory model (Eq.(4)), with Q = 1 0 . , in an SW network, for (a) p = 0 03 . , (b) p = 0 05 . , (c) p = 0 09 . and (d) p = 0 18 . .

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.00319v4-figure-b5485a6d-9ea8-4965-b813-4c50331a8f04.jpg)

![image](https://ac.marcodsn.me/arxiv-markdown-images/1908.00319v4-figure-434ef677-a0ae-4539-9cd3-92ae3ec4e310.jpg)

providing computing facilities and time. SBNHPCC is sup-

- [1] Y. Kuramoto, in International symposium on mathematical problems in theoretical physics (Springer, 1975) pp. 420-422.
- [2] Y. Kuramoto, Chemical oscillations, waves, and turbulence , Vol. 19 (Springer Science &amp; Business Media, 2012).
- [3] A. T. Winfree, The geometry of biological time , Vol. 12 (Springer Science &amp; Business Media, 2001).
- [4] A. Pikovsky, M. Rosenblum, and J. Kurths, Synchronization: a universal concept in nonlinear sciences , Vol. 12 (Cambridge university press, 2003).
- [5] S. C. Manrubia, A. S. Mikhailov, et al. , Emergence of dynamical order: synchronization phenomena in complex systems , Vol. 2 (World Scientific, 2004).
- [6] A. Balanov, N. Janson, D. Postnov, and O. Sosnovtseva, Synchronization: from simple to complex (Springer Science &amp; Business Media, 2008).
- [7] S. Strogatz, Sync: How Order Emerges From Chaos In the Universe, Nature, and Daily Life (2012).
- [8] J. A. Acebr´ on, L. L. Bonilla, C. J. P. Vicente, F. Ritort, and R. Spigler, Reviews of modern physics 77 , 137 (2005).
- [9] A. Pluchino, V. Latora, and A. Rapisarda, International Journal of Modern Physics C 16 , 515 (2005).
- [10] A. Pluchino, V. Latora, and A. Rapisarda, The European Physical Journal B-Condensed Matter and Complex Systems 50 , 169 (2006).
- [11] A. Pluchino, S. Boccaletti, V. Latora, and A. Rapisarda, Physica A: Statistical Mechanics and its Applications 372 , 316 (2006).
- [12] H. Hong and S. H. Strogatz, Physical Review E 84 , 046202 (2011).
- [13] H. Hong and S. H. Strogatz, Physical Review Letters 106 , 054102 (2011).
- [14] A. Arenas, A. D´ ıaz-Guilera, J. Kurths, Y . Moreno, and C. Zhou,

ported by the scientific and technological department of presidential office and Isfahan University of Technology (IUT).

Physics reports 469 , 93 (2008).

- [15] F. A. Rodrigues, T. K. D. Peron, P. Ji, and J. Kurths, Physics Reports 610 , 1 (2016).
- [16] D. A. Wiley, S. H. Strogatz, and M. Girvan, Chaos: An Interdisciplinary Journal of Nonlinear Science 16 , 015103 (2006).
- [17] R. Delabays, M. Tyloo, and P. Jacquod, Chaos: An Interdisciplinary Journal of Nonlinear Science 27 , 103109 (2017).
- [18] P. M. Gade and C.-K. Hu, Physical Review E 62 , 6409 (2000).
- [19] D. J. Watts, Small worlds: The dynamics of networks between order and randomness (Princeton University Press, 2001).
- [20] H. Hong, M.-Y. Choi, and B. J. Kim, Physical Review E 65 , 026139 (2002).
- [21] M. Barahona and L. M. Pecora, Physical review letters 89 , 054101 (2002).
- [22] X. F. Wang and G. Chen, International Journal of Bifurcation and Chaos 12 , 187 (2002).
- [23] R. K. Esfahani, F. Shahbazi, and K. A. Samani, Physical Review E 86 , 036204 (2012).
- [24] D. J. Watts and S. H. Strogatz, nature 393 , 440 (1998).
- [25] H. Daido, Physical review letters 68 , 1073 (1992).
- [26] H. Daido, Physical Review E 61 , 2145 (2000).
- [27] J. Stiller and G. Radons, Physical Review E 58 , 1789 (1998).
- [28] J. G´ omez-Gardenes, Y. Moreno, and A. Arenas, Physical review letters 98 , 034101 (2007).
- [29] T. Nishikawa and A. E. Motter, Physical review letters 117 , 114101 (2016).
- [30] Y. Zhang, T. Nishikawa, and A. E. Motter, Physical Review E 95 , 062215 (2017).
- [31] Y. Zhang and A. E. Motter, Nonlinearity 31 , R1 (2018).
- [32] A. E. Motter and M. Timme, (2018).
Tayebe Nikfard Yahya Hematyar Tabatabaei Farhad Shahbazi
Contrariety and Inhibition enhance synchronization in a small-world network of phase oscillators
We numerically study the Kuramoto model's synchronization consisting of the
two groups of conformist-contrarian and excitatory-inhibitory phase oscillators
with equal intrinsic frequency. We consider random and small-world (SW)
topologies for the connectivity network of the oscillators. In random networks,
regardless of the contrarian to conformist connection strength ratio, we found
a crossover from the $\pi$-state to the blurred $\pi$-state and then a
continuous transition to the incoherent state by increasing the fraction of
contrarians. However, for the excitatory-inhibitory model in a random network,
we found that for all the values of the fraction of inhibitors, the two groups
remain in-phase, and the transition point of fully synchronized to incoherent
state reduced by strengthening the ratio of inhibitory to excitatory links. In
the SW networks, we found that the order parameters for both models have not
monotonic behavior in terms of the fraction of contrarians and inhibitors. Up
to the optimal fraction of contrarians inhibitors, the synchronization rises by
introducing the contrarians and inhibitors and then falls. We discuss that this
non-monotonic behavior in synchronization is due to the weakening of the
defects formed already in conformists and excitatory agents in SW networks.