Anti-conformism in the threshold model of collective behavior

We provide a detailed study of the threshold model, where both conformist and anti-conformist agents coexist. Our study bears essentially on the convergence of the opinion dynamics in the society of agents, i.e., finding absorbing classes, cycles, etc. Also, we are interested in the existence of cascade effects, as this may constitute a undesirable phenomenon in collective behavior. We divide our study into two parts. In the first one, we basically study the threshold model supposing a fixed complete network, where every one is connected to every one, like in the seminal work of Granovetter. We study the case of a uniform distribution of the threshold, of a Gaussian distribution, and finally give a result for arbitrary distributions, supposing there is one type of anti-conformist. In a second part, the graph is no more complete and we suppose that the neighborhood of an agent is random, drawn at each time step from a distribution. We distinguish the case where the degree (number of links) of an agent is fixed, and where there is an arbitrary degree distribution. We show the existence of cascades and that for most societies, the opinion converges to a chaotic situation.


Introduction
Human behavior is governed by many aspects, related to social context, culture, law and other factors. Most of these aspects tend to indicate that our behavior is heavily influenced by the behavior of the other people with whom we are in contact, either directly or indirectly by means of communication devices, information media, etc. Behavior refers here to any kind of action, decision to be taken, or opinion to be held on a given topic. As our environment is constantly changing, behavior and opinion of people, including us, are evolving with time, which makes central the following question: Given a society of agents in a network, given a mechanism of influence for each agent, how the behavior/opinion of the agents will evolve with time, and in particular can it be expected that it converges to some stable situation, and in this case, which one?
Evidently the question has been studied by sociologists and psychologists, and a number of pioneering models of "opinion dynamics" have been proposed by them, e.g., Granovetter (1978), Abelson (1964), French Jr (1956, Friedkin and Johnsen (1990), Taylor (1968), but it has also attracted the attention of many physicists, assimilating agents to particles (this field is usually called "sociophysics", after the work of Galam (2012); see a survey in Castellano et al. (2009)), economists (see, e.g., the monograph of Jackson (2008), and the survey by Acemoglu and Ozdaglar (2011)), computer scientists and probabilists (by analogy with (probabilistic) cellular automata, see, e.g., Gravner and Griffeath (1998) and the survey by Mossel and Tamuz (2017)), etc.
One of the simplest model of behavior/opinion dynamics when the opinion or behavior is binary (yes/no, active/inactive, action 1 or 0, etc.) is the threshold model, also called the majority rule model (Galam, 2002), proposed by Granovetter (1978), Schelling (1978), among others. This model simply says that an agent takes action 1 if sufficiently enough people in his neighborhood takes action 1. The simplicity of the model allows for a deep analysis (see the surveys by Mossel and Tamuz (2017) and Castellano et al. (2009)), and one remarkable result already observed in the pioneering work of Granovetter (1978) was that a cascade effect occurs, supposing that the population of agents starts from an initial state where nobody is active, and that the distribution of the threshold value is uniform over the population. Then, after a finite number of steps, all agents become active. Interestingly, the latter study was done in the context of a mob, where the available actions were "to riot" (action 1) or to be inactive (action 0). Then, agents with threshold 0 were called "instigators" as they start to riot alone, and this indeed forms the seed of the cascade effect, ending in a mob rioting. This topic has been very much studied, as demonstrated by a recent monograph on mob control (Breer et al., 2017), written by researchers in control theory.
So far, most models make the basic assumption that agents tend to follow the trend (they are conformist) and that nobody will have a kind of opposite behavior (anti-conformism), choosing action 0 if too many people take action 1. Although the literature on opinion dynamics is vast, very few studies consider that agents may be anti-conformist. In game theory, such kind of opposite behavior has been studied however, in what is called anti-coordination games, see, e.g., Bramoullé et al. (2004); López-Pintado (2009), congestion games (Rosenthal, 1973), and fashion games (Cao et al., 2013). In sociophysics, the first idea about anti-conformist agents seems to have been introduced by Galam (2004) under the name of contrarians. Later works include those of Sznajd-Weron and also Juul and Porter. In Nyczka and Sznajd-Weron (2013), the q-voter model is studied, where it is supposed that agents may adopt with some probability an anticonformist attitude, while the threshold model is considered under this assumption in Nowak and Sznajd-Weron (2019). Close to this model is the recent study of Juul and Porter (2019) about the spreading of two competing products, say A and B, where anticonformist agents are called hipsters (see Touboul (2014) where this terminology has been introduced). In Juul and Porter (2019), starting from a network with all nodes inactive, a single node is uniformly chosen at random to adopt one product, say A, which buries the seed for the spreading process. They assume the threshold of a player (which can be a conformist or a hipster) as the minimum proportion of their active neighbors such that this player becomes active and the transition from active to inactive is a one-way process. Once the player becomes active, they must adopt one product according to the following rules: if he is a conformist, he will adopt the most popular product over his neighborhood; if he is a hipster, he will adopt the less popular product over the whole population. Under this assumption, they found that even a small proportion of hipsters can lead to a reversal of the popularity of two competing products. The model is similar in Nowak and Sznajd-Weron (2019), in the sense that agents are selected at random for updating and their threshold is the same for all agents, however, an agent is not a priori conformist or anti-conformist, but is one or the other with some probability.
The present paper also studies a threshold model where both conformist and anti-conformist agents coexist, but in a rather different setting compared to Juul and Porter (2019) and Nowak and Sznajd-Weron (2019). Firstly, we assume that updating is done at every period for all agents. Secondly, in our setting the thresholds are drawn from a distribution which means that they are random and different, in general. In addition, the two possible states of an agent are not treated symmetrically. These are the assumptions of the seminal paper of Granovetter (1978).
Our paper is in the line of a previous work by the first author (Grabisch et al., 2019), whose results will be used at some point in the present paper. Our study bears essentially in answering the main question raised in the first paragraph, that is, on the convergence of the process, analyzing if absorbing states exist (stable state of the society) or if a cycle occurs, or even more chaotic situations. Also, we are interested by the existence of cascade effects, as this may constitute a undesirable phenomenon in collective behavior. We divide our study into two parts. In the first one, we basically study the threshold model supposing a fixed complete network, where every one is connected to every one, like in the work of Granovetter (1978) (Section 2). We begin by giving a game-theoretic foundation to this model, by means of a mix of coordination and anti-coordination games. Then, we study the case of a uniform distribution of the threshold, of a Gaussian distribution, and finally give a result for arbitrary distributions, supposing 2 Documents de travail du Centre d'Economie de la Sorbonne -2019.16 there is one type of anti-conformist. In a second part (Section 3), the graph is no more complete and we suppose that the neighborhood of an agent is random, drawn at each time step from a distribution. We distinguish the case where the degree (number of links) of an agent is fixed, and where there is an arbitrary degree distribution. Most of the proofs can be found in the Appendix.
2 The deterministic threshold model with anti-conformists

The model
Let N = {1, . . . , n} be the society of agents. We suppose the existence of an underlying (exogenous) network G = (N, E) whose nodes are the agents and E is the set of (undirected) edges or links. Each agent i has a set of neighbors Γ i = {j ∈ N : {i, j} ∈ E}, and |Γ i | =: d i is the degree of agent i. We consider that i ∈ Γ i for every agent i.
Two actions (or opinions, states) are available to each agent at every stage: 1 (agree, adopt, join, be active, etc.) and 0 (disagree, refuse, disjoin, be inactive, etc.). The action taken by agent i at stage t is denoted by a i (t). For short, we will often use the term "active" for agents taking action 1, and "inactive" for agents taking action 0.
In the classical threshold model introduced by Granovetter (1978), and Schelling (1978) among others, agent i will take action 1 at next stage if the proportion of his neighbors taking action 1 exceeds some threshold µ i ∈ [0, 1], otherwise action 0 is taken: (1) Note that unlike some threshold models, e.g., in Juul and Porter (2019); Watts (2002), an agent having adopted action 1 may return to action 0, because not enough neighbors take action 1. 1 Such behavior exhibits a tendency to follow the trend, and we call this type of agent a conformist. The tendency to do the opposite of the trend is called anti-conformism, and can be modelled as follows: (2) When too many people take action 1, then an anti-conformist agent takes action 0, and vice-versa. In the rest of the paper, we denote by N a the set of anti-conformist agents, and by N c := N \ N a the set of conformist agents. Observe that thresholds 0 and 1 play a particular role. For a conformist agent (respectively, an anticonformist agent), a threshold equal to 0 means that he takes always action 1 (respectively, 0), while a threshold strictly greater than 1 implies to always take action 0 (respectively, 1). We call these agents constant 0-player and constant 1-player.
Our aim is to study the evolution of the dynamics of actions taken by the agents. To this aim, we define the state of the society at stage t, as the set S (or S(t)) of agents taking action 1 at stage t. Depending which one is more convenient, a state is either denoted as a set S ⊆ N or as its characteristic vector 1 S in {0, 1} N . The process is deterministic and Markovian, i.e., transitions from S to T (denoted by S → T ) are with probability 1 and do not depend on states before S.
We are interested in finding absorbing states, i.e., such that S(t) = S(t + 1) for some value of t, and cycles, i.e., sequences of transitions S 1 → S 2 → · · · → S k where S k = S 1 .

A game-theoretic foundation of the threshold models
It is well-known that the classical threshold model can be explained by a local coordination game (see, e.g., Morris (2000)). We show that the anti-conformist threshold model can be explained in a similar way via a local anti-coordination game. We recall first the result for the classical model.
Consider two players (row, column) whose set of strategies is {0, 1} with the following payoff matrix: 0 1 0 q, q 0,0 1 0,0 1 − q, 1 − q with 0 < q < 1. This is a coordination game since the two pure Nash equilibria arise when the players choose the same action. It can be checked that the best response of one player is 1 if he assigns a probability at least q that the other player chooses 1. Consider now our network G = (N, E) and a given player i. Given that player j ∈ Γ i takes action a j , player's i best response is to choose action a iff where the utility u c (a, a j ) is given in the above table. Taking a = 1 we find, assuming that m players in Γ i choose action 1: Therefore, player i's best response is 1 iff m ≥ qd i , assuming that in case of tie, 1 is chosen. This is exactly (1) with µ i = q. This yields an interpretation for the threshold µ i : it is the minimum probability that player i assigns to players in his neighborhood for choosing action 1.
We consider now the 2-players anti-coordination game given by the following matrix defining the utility u a (2-dimensional with coordinates u a 1 , u a 2 for row and column players, respectively): The game is symmetric in the sense that u a 1 (a, b) = u a 2 (b, a) for all actions a, b, and there are two pure Nash equilibria arising when the players take different actions. It can be checked that the best response of one player is 1 if he assigns a probability at most q that the other player chooses 1. Assuming that in case of tie, action 0 is taken, player i's best response is 1 iff which leads to the condition m < qd i . We recover the anticonformist model (2) with the same threshold as above µ i = q. Now, the threshold of player i is the maximum probability that he assigns to players in his neighborhood for choosing action 1. We now combine both types of players and consider the 2-players game with one conformist (row player) and one anti-conformist (column player) given by the following payoff matrix defining utility u m (u m is 2-dimensional, with coordinates u m 1 and u m 2 for the row and column players, respectively, but not symmetric): In this game, there is no pure Nash equilibria, but one can check that the best response of the conformist player (respectively, the anti-conformist player) is 1 if he assigns a probability at least q (respectively, at most q) that the other player chooses 1. Consider now a given conformist player i in the 4 Documents de travail du Centre d'Economie de la Sorbonne -2019.16 network G = (N, E). Assuming that in case of a tie action 1 is taken, player i's best response is 1 iff assuming that action 0 is taken in case of tie. This leads to the condition m < qd i . Therefore, we can recover the threshold model with the same thresholds as above µ i = q for both conformists and anti-conformists. For conformists (respectively, anti-conformists), the threshold is the minimum (respectively, maximum) probability that player i assigns to players in his neighborhood for choosing action 1.

A general result on cycles
There is a well-known result on the threshold model saying that the state converges to either a fixed state (absorbing) or a cycle of length 2. The most general form of this result is provided by Goles and Olivos (1980), where the process has the form with α ij = α ji ∈ R, θ i ∈ R for all i, j. Then there exists t ∈ N such that a i (t + 2) = a i (t).
This general result applies to the case of a network of conformists, taking α ij = 1 if {i, j} ∈ E and 0 otherwise, and θ i = µ i |Γ i |, but it also applies to the case of a network where all agents are anti-conformist: just put α ij = −1 if {i, j} ∈ E and 0 otherwise, and θ i = −µ i |Γ i | + 1. Hence we have obtained: Theorem 1 Suppose N c = ∅ or N a = ∅. Then the process converges to either an absorbing state or to a cycle of length 2.
The result is no more true if the network contains both conformists and anti-conformists, as the following example shows: Example 1 Consider a graph with n = 4, where agents 1 and 3 are conformist, while 2 and 4 are anticonformist, situated as in the figure below, and take µ i = 1/2 for all i ∈ N . Then we have the following cycle of length 4: (0, 0, 0, 0) → (0, 1, 0, 1) → (1, 1, 1, 1) → (1, 0, 1, 0) → (0, 0, 0, 0). We suppose in this section that the graph G is complete, i.e., every agent is connected to every other agent, so that the neighborhood Γ i is N for every agent i. We begin by recalling the classical result of Granovetter on absorbing states (Granovetter, 1978). Suppose N = N c and consider the cumulative distribution function F of the threshold of the agents: This function is right-continuous, nondecreasing and has fixed points. It gives the proportion of agents whose threshold is below or equal to some quantity x, or put otherwise, the proportion of agents that will take action 1 when the current proportion of agents taking action 1 is x. As a consequence, if x * is a fixed point of F , then S * := {i ∈ N : µ i ≤ x * } is an absorbing state, and conversely as well. We generalize this result by incorporating anti-conformism as follows. We express by G(x) the proportion of agents that will take action 1 when the current proportion of agents taking action 1 is x (hence G(x) = F (x) is the cumulative distribution function of the threshold when there is no anti-conformists): with x ∈ [0, 1]. This function, which we call the transition function, is still right-continuous but is no more nondecreasing in general, and as a consequence, does not necessarily have fixed points (see Figure 3). The following is an immediate generalization of Granovetter (1978). It establishes that the absorbing states of the process are the fixed points of G.
Theorem 2 The process converges to either absorbing states or cycles. It has absorbing state only when G has fixed point(s). The absorbing states of the dynamic process coincide with the fixed points of G as follows: if x * is a fixed point of G, then is an absorbing state, and vice versa each absorbing state S * is associated with the fixed point x * = |S * |/n of G. Which absorbing state can be reached is dependent on the initial state (when multiple absorbing states exist).
The theorem will be illustrated by several examples in the sequel. We begin our study by supposing that the distribution of the threshold is uniform, then the Gaussian case and the general case will be studied.

Uniform distribution
The case of a uniform distribution permits to get explicit results. It has been studied by Granovetter (1978), in order to explain riot phenomena (action 1: take part to a riot, action 0: be inactive). Supposing at the initial state that all agents are inactive, the presence of agents with threshold 0 (called "instigators" as they start rioting alone) initiates the phenomenon of rioting, which, by a domino or cascade effect, extends to the whole population if the distribution is uniform.
Specifically, we consider the thresholds are uniformly distributed over the set {0, 1 /n, 2 /n, . . . , n−1 /n}, as in Granovetter (1978), 2 and that w.l.o.g. we may consider that agent 1 has threshold 0, agent 2 has threshold 1 /n, etc., and agent n has threshold n−1 /n. 3 We denote by µ = /n the threshold of agent + 1. 2 We may adopt another definition where the thresholds value from 1 /n to 1 (note that there is no constant player then). As we will see below, there is no fundamental change in the results, except for the case Na = ∅, where the domino effect would not start and ∅ would be the only absorbing state. 3 We consider for ease of notation that only one agent has a given value of threshold. We may consider a more general situation where several agents have the same threshold. This will be considered in Section 2.4.3 with arbitrary distribution, however, in the case of a uniform distribution, this has no interest as uniformity obliges to have for each value of the threshold the same number of agents, so that everything goes exactly the same as the case of one agent per threshold value.

6
Documents de travail du Centre d'Economie de la Sorbonne -2019.16 Consider first that N a = ∅. As expected, function G (which is in this case the cumulative distribution function F ) has only one fixed point, which is x * = 1, corresponding to the absorbing state S * = N (see Figure 1). Fig. 1 The transition function G for uniform threshold distribution function of conformists when n = 10 Introducing one anti-conformist agent Imagine now the conformist agent k +1 with threshold k /n becoming anti-conformist with the same threshold, denoted by µ a = k /n. Suppose for example that n = 10 and k = 3, which makes agent 4 to be anti-conformist (see Figure 2). According to Theorem 2, the absorbing states correspond to the fixed points of G, which are, in set notation: {1, 2, 3}, {1, 2, 3, 5}, {1, 2, 3, 5, 6}, . . . , {1, 2, 3, 5, 6, 7, 8, 9, 10}. Which absorbing state is reached depends on the initial condition. For example, starting from the state vector (0, . . . , 0), agent 1 and 4 become active, which makes agent 2 and 3 to become active in addition, then agent 4 becomes inactive and no more changes occurs: the absorbing state {1, 2, 3} has been reached. If now we start from the state vector (1, . . . , 1), agent 4 becomes inactive but all the other remain active, so that the absorbing state {1, 2, 3, 5, 6, 7, 8, 9, 10} is reached.
The following proposition summarizes the uniform case with one anti-conformist.
Proposition 1 Consider a group of agents whose thresholds follow a uniform distribution as described above, and suppose that there is only one anti-conformist, say agent k + 1, k ∈ {0, 1, . . . , n − 1}, with threshold µ a := k /n. Then the opinion dynamic has n(1 − µ a ) = n − k absorbing states corresponding to the fixed points k /n, . . . , n−1 /n of G, specifically: Moreover, starting from any initial state with the group opinion x * = k * /n, k * ∈ {0, 1, . . . , n}, if k * = n, the reachable fixed point is n−1 /n; if k * ≥ k and k * = n, the reachable fixed point is x * ; if k * < k, then the reachable fixed point is k /n or k+1 /n depending on which has the same parity as k * .
Introducing two anti-conformist agents Imagine now that two conformist agents, say k 1 + 1, k 2 + 1 with thresholds µ 1 a = k1 /n, µ 2 a = k2 /n become anti-conformist with the same thresholds. Assum w.l.o.g. that k 1 < k 2 . Suppose for example that n = 10 and k 1 = 3 and k 2 = 5, which makes agent 4 and agent 6 to be anticonformists (see Figure 3). According to Theorem 2, the dynamic has no absorbing states since there is no fixed points of G. Instead, there will be a cycle For example, starting from the state vector (0, . . . , 0), agent 1, 4 and 6 become active, which makes agent 2 and 3 to become active in addition, then agent 4 becomes inactive, which will again activate agent 5 at the next stage i.e., the state S 1 = {1, 2, 3, 5, 6} has reached with x = 5 /10. Thus agent 6 becomes inactive at the next stage with the state S 2 = {1, 2, 3, 5} and the cycle S 1 → S 2 → S 1 has been reached.
The following proposition summarizes the uniform case with two anti-conformists.
The general case The previous results tend to indicate that with an odd number of types of anticonformists, there are absorbing states, while there is no with an even number of types (only cycles occur). The main result of this section shows that this is indeed the case.
Theorem 3 Consider a society N of agents whose thresholds follow a uniform distribution on {0, 1 /n, . . . , n−1 /n} and suppose that some agents are anti-conformists (N a = ∅). The following holds.
cycles of length 2, corresponding to the pairs of points (x, G(x)), (y, G(y)) such that G(y) = x and y = G(x), i.e., x is a fixed point of G (2) = G • G. Moreover, there is no cycle of length greater than 2.
When the uniform distribution is on { 1 /n, . . . , 1}, it is easy to see that the results are the same as in Theorem 3, except that the cases of odd and even numbers of anti-conformists are inverted: there are absorbing states when there is an even number of conformists, and no absorbing states but cycles otherwise. This is because in that case, the function G is shifted of 1 /n to the right, and G(0) = p, the number of anti-conformists.
We illustrate the above result in the case of cycles with the following example.
Applying the results above, we get the case where the society is purely anti-conformist.
Corollary 1 Consider a group of agents whose thresholds follow a uniform distribution. If all agents are anti-conformists, then there exist at most one absorbing state. The existence of absorbing state is decided by the parity of n. If n is even, then there is no absorbing state; if n is odd, then the absorbing state is the action profile associated to the fixed point (n−1) /2.
Note that this is in accordance with the general result on cycles (Theorem 1).

Gaussian distribution
In this section we explore the dynamics of the process for a Gaussian distributed threshold in a complete network. Assume that the thresholds of conformists (respectively, anti-conformists), identically and independently distributed, follow the Gaussian distributions N(m c , σ c ), N(m a , σ a ) respectively, with the corresponding cumulative distribution functions F c , F a . Then Documents de travail du Centre d'Economie de la Sorbonne -2019.16 Fig. 4 The transition function G for uniform threshold distribution function of conformists and anti-conformists when k 1 = 0, k 2 = 1, k 3 = 2, k 4 = 3 and n = 10. The cycles are materialized in red and green.
where q is the proportion of conformists, and and similarly for F a , with erf(x) the error function defined by erf(x) = 2 √ π x 0 e −u 2 du. Letting m c = m a =: m and σ c = σ a =: σ permit to derive some properties. We obtain for the transition function from which we deduce that we always have G(m) = 1 /2. Hence 1 /2 is a fixed point and therefore an absorbing state when m = 1 /2. We also notice that when x−m σ √ 2 tends to infinity (that is, when x tends to 1 and σ tends to 0), G(x) tends to q (all conformists take action 1). Similarly, when x−m σ √ 2 tends to −∞ (i.e., x and σ tend to 0), G(x) tends to 1 − q.
Let us examine if other absorbing states exist. First and second derivatives of the transition function are The function has an inflection point at x = m. If q < 1 /2, it is decreasing, concave when x ≤ m, and convex when x ≥ m. If q = 1 /2, G(x) is constant and equal to 1 /2, while if q > 1 /2, it is increasing, convex when x ≤ m, and concave when x ≥ m.
Let us first consider the case q < 1 /2 (majority of anti-conformists). G being decreasing and passing through the value 1 /2, it has a single fixed point x * solution of the equation 10 Documents de travail du Centre d'Economie de la Sorbonne -2019.16 We have m < x * < 1 /2 when m < 1 /2, and 1 /2 < x * < m when m > 1 /2. If the magnitude of the slope of G at x * is greater than 1, x * is an unstable fixed point, otherwise it is stable (this is a general observation). When it is unstable, the process reaches a limit cycle of length 2 formed by the points We consider now that q > 1 /2 (majority of conformists). G being increasing makes the study more complex as several intersections with the diagonal may occur. As erf(x) ∈ ]−1, 1[, we have in general Therefore, if m < 1 /2, there is a fixed point x * > 1 /2 solution of (6), and possibly two other ones (only one when G is tangent to the diagonal) smaller than 1 /2 solution of the same equation. If m > 1 /2, the situation is symmetric: there is a fixed point x * < 1 /2 and possibly two other ones greater than 1 /2, both solutions of (6). As a general observation, if there is a single fixed point, it is stable, while in case of three fixed points, the one in the middle is unstable, as a small negative (respectively, positive) variation makes it converge to the left one (respectively, the right one). The case m = 1 /2 is particular, because 1 /2 is a fixed point, and depending whether the tangent at 1 /2 is above or below the diagonal, there are two other fixed points, one greater than 1 /2 and the other one smaller, or no other fixed point. Observe that when 1 /2 is not the unique fixed point, it is unstable, as starting from state x < 1 /2 (respectively, > 1 /2) makes the process converge to the lower fixed point (respectively, the upper one). The condition for the tangent reads We summarize our findings in the next proposition.
Proposition 3 Suppose that m a = m c =: m, σ a = σ c =: σ. Then -If there are more conformists than anti-conformists (q > 1 /2), there always exists a stable fixed point x * (and possibly two other unstable fixed points) such that x * ≥ m if m ≤ 1 /2 and x * ≤ m if m ≥ 1 /2, being solution of (6). When m = 1 /2, 1 /2 is a fixed point and two other fixed points exist, also solutions of (6), provided the variance is not greater than 1 √ 2 q − 1 2 . The fixed point 1 2 , when it is not unique, is unstable. No cycle can occur.
-If there are more anti-conformists than conformists (q < 1 /2), there is a unique fixed point x * given by solving (6). It is stable if |G (x * )| ≤ 1, otherwise there exists a limit cycle of length 2.
-If there are exactly as many conformists as anti-conformists, then there is convergence in one shot from any state x to 1 /2.
The following examples illustrate the above results.
Example 3 q = 0.9; m = 0.5; σ = 0, 1, 0.2, . . . , 0.9 (see Figure 5). This is the case of a majority of conformists and m = 1 /2. One can observe the fixed point 1 /2 and the possible existence of 2 others. The limit value of σ for the tangent condition (7) is 0.283. Also, one can observe the asymptotic values q and 1 − q for G(x).
Example 6 q = 0.1; m = 0.2; σ = 0, 1, 0.2, . . . , 0.9 (see Figure 8). This is the case of a majority of anti-conformists and m < 1 /2. There is fixed point x * smaller than 1 /2. Its value is positively related to the value of the variance. For σ = 0.1 and σ = 0.2, the slope at x * begin greater than 1, the fixed point is unstable and there is a limit cycle corresponding to the fixed points of G • G. The plot of G • G is 11 Documents de travail du Centre d'Economie de la Sorbonne -2019.16

General distribution
Recall that if N a = ∅, the function G may not have fixed points because the presence of anticonformists makes it nonmonotonic. It is therefore difficult to get precise results in the general case. The next proposition elucidates the situation when there is only one type of anti-conformist agent.
Proposition 4 Consider the following case where there is only one type of anti-conformists with threshold µ a and assume its fraction among all players is δ a . The list of all threshold values of conformists are µ 1 , µ 2 , . . . , µ p (in a strict increasing order) with fractions q 1 , q 2 , . . . , q p respectively. Denote by k the largest number such that µ k ≤ µ a (see Table 1). The following holds.
(i) If there is no agent i such that µ i = µ a , then there is no absorbing state if and only if the thresholds and corresponding fractions satisfy the following inequalities: 7 7 Note that if µa < µ 1 , we can think it as k = 0 and delete all the terms related to non positive indices. Thus inequalities Proposition 4 gives the necessary and sufficient conditions by a system of inequalities such that no absorbing state exists for general distributions when there is only one type of anti-conformist agent. Figure 10 gives the possible absorbing states for different ranges of µ a and δ a based on Proposition 4 and its proofs. In the left area filled with only north west lines, i.e. µ a ≤ k i=1 q i , the process has only one absorbing state where only conformists with thresholds µ 1 , . . . , µ k saying yes, i.e., x = k i=1 q i . In the right area filled with only north east lines, i.e., δ a < µ a − k i=1 q i , the process has only one absorbing state where the anti-conformists and conformists with thresholds µ 1 , . . . , µ k saying yes, i.e., x = δ a + k i=1 q i . In the bottom area filled with only horizontal lines, there are three possible absorbing states. The overlapped area means that absorbing states of both cases are possible. All the details can be found in Proof of Proposition 4.
The following example illustrates the case where there is no absorbing state.
The previous example has shown the existence of cycles. The next theorem establishes that there could be at most one cycle, whose length has an upper bound.
Theorem 4 Consider the same assumptions and notation as in Proposition 4. Then the process has either absorbing states or a unique cycle of length at most m + 2, where m is the number of values µ i in the interval The upper bound of the length of the cycle, considering any possible values for the thresholds and fractions, is n a + 1, where n a = nδ a is the number of anti-conformists. 8 Note that if µa = µ 1 , we can think it as k = 1 and delete all the terms related to non positive indices. Thus inequalities (9) will be  The next example illustrates the theorem and shows that the cycle can be shorter than m + 2 and that its length can be far below the upper bound n a + 1. Note that in Example 7, this bound is attained.

Random sampling models
The previous section considered a mechanism of diffusion with a complete and undirected network, where each agent was permanently in contact with all other agents. As this assumption may be unrealistic in some situations, we consider here a different mechanism where agents meet other agents at random (random neighborhood), with a certain size of the neighborhood to be either fixed or drawn from a distribution. When the size is fixed and identical for all agents, we speak of a homogeneous network. Note that in this model we implicitly assume that the network is directed, as if i selects j in its neighborhood, this does not necessarily imply that j has i in its neighborhood. Also, note that this model amounts to considering that at each time step a random graph on N realizes, where each agent has a random neighborhood (and therefore a random degree). We denote by P (k) the distribution of the degree of each agent, who are supposed to have the same distribution.
This model is a good approximation of many real situations, especially communication via social networks like Twitter, Facebook, etc. Indeed, an individual receives at some time several tweets from his/her friends, which he/she may or may not retransmit to other friends. At a different time, different friends will send a tweet, so this is exactly a random neighborhood whose size obeys some distribution.  To avoid intricacies, it is convenient to consider that the random neighborhood of agent i, knowing that its degree is d, is taken as a random subset of N , of size d. This means that sometimes i is in its neighborhood, sometimes it is not. Still, the agents are considered to have a threshold, which can be drawn from a distribution or is fixed.
An important consequence of the model is that the process of updating of the opinion is no more deterministic, but still obeys a Markov chain. Its analysis is therefore much more complex, as not only absorbing states and cycles can exist but also aperiodic and periodic absorbing classes, where a class is a set of states such that a chain of transitions exists from any state to any other state in the set, and which is maximal for this property. It is easy to see that a state T different from ∅ and N cannot be absorbing anymore: this is because the neighborhood being random and smaller than N , it is not guaranteed that it will contain T at each period. However, ∅ and N can still be absorbing. The next lemma clarifies this point.
Proof Suppose T = ∅. By assumption, every conformist will take action 0 with certainty. Now, i ∈ N a takes action 0 iff µ i = 0. Hence, any anti-conformist must be a constant 0-player.
The argument for T = N is much the same.
The existence of non trivial absorbing classes will be shown in Section 3.1.1, where a complete analysis is done in a simple case (only two different thresholds, one for conformists and one for anti-conformists).
The complexity of the results shows that it seems out of reach to get a complete study in more general cases. Nevertheless, general results, although not exhaustive, can be obtained (see Section 3.1.2).
We start by focusing on the case of fixed degree (homogeneous networks).

Homogeneous networks
We suppose in this section that the neighborhood of every agent has a fixed size d. A complete study of this case is possible when all conformist agents have the same threshold µ c , and all the anti-conformist agents have threshold µ a . Then we give a result in the general case. We begin by some general considerations.
Let us express the probability of transition P(S → T ) from one state S to another state T . We have by the independence assumption that P( where p e i (S) is the probability for agent i to take action e ∈ {0, 1} knowing that the current state is S. To compute these probabilities, it is necessary to compute the distribution of the average opinion a i in the neighborhood of i knowing the current state S. It is easy to check that for k = 0, 1, . . . , d. Observe that these probabilities do not depend on i, therefore we can omit the subscript i and write a, the average opinion in a neighborhood. Then, If i ∈ N a , p 1 i (S) = P(a < µ i | S) and p 0 i (S) = 1 − p 1 i (S).
As these probabilities depend only on the cardinality of S, we may write p 1 i (s) for simplicity.

Case with two thresholds µ a , µ c
We assume here that there are two types of agents: anti-conformist agents with threshold µ a and conformist agents with threshold µ c , where 0 < µ a , µ c ≤ 1. Observe that p 1 i (s) depends only on whether i belongs to N a or N c . Specifically, for a conformist agent i, p 1 i (S) = P(a ≥ µ c | S) is a nondecreasing function of s = |S| ∈ {0, 1, . . . , n} to [0, 1], depending only on µ c , n and d. In addition, we have p 1 i (0) = 0 and p 1 i (n) = 1. Similarly, if i is anti-conformist, p 1 i (s) is a nonincreasing function of s, starting at 1 with s = 0 and finishing at 0 with s = n. Thus, we fall into the framework studied in Grabisch et al. (2019) on an anonymous model of anti-conformism where each agent i has the probability p i (s) to take action 1 at next step knowing that the current state is S, with s = |S|, and p i (s) is a nondecreasing (respectively, nonincreasing) function reaching values 0 and 1 when i is conformist (respectively, anti-conformist).
In the model of Grabisch et al. (2019), all functions p i can be different among the agents, but it is required that for all conformists, the functions p i have the same domain where they take value 0 and 1, and similarly for the anti-conformists. These domains are characterized for the conformists by the Our case satisfies these requirements as p 1 i (s) depends only on µ a , µ c and d. We easily obtain: From Grabisch et al. (2019), we know that in full generality 20 possible absorbing classes can occur, depending on the values of l c , r c , l a , r a . Since it holds that in our case l c + r c = l a + r a = d − 1 < n − 1, 5 among the 20 are not possible. Denoting by n c the number of conformist agents, we give below the list of the remaining 15 absorbing classes, put into categories.
Polarization: the society of agents is divided in two groups, one taking action 1, the other taking action 0.
(1) N a if and only if n c ≥ max{n − l c , n − l a }; (2) N c if and only if n c ≥ max{n − r c , n − r a }; Cycles: sequence of states made of the infinite repetition of a pattern. − → N a if and only if n c ≤ min{l c , l a , r c } and n c ≥ n − l a ; Fuzzy cycles: the pattern contains states but also intervals of states. This means that there is no exact repetition of the same pattern, but at each repetition a state is picked at random in the interval. Chaos: at each time step a state is picked at random among all possible states. (15) 2 N otherwise. These results are exhaustive and exact (no approximation), however it is difficult to get an intuitive idea of the behavior. More concrete results can be obtained by making the number of agents tend to infinity and by choosing special cases of parameters.
When n tends to infinity Assume that the number of agents tends to infinity. For simplicity, divide the previous parameters n a , n c , l a , l c , r a , r c , d by n, keeping the same notation so that these parameters now take value in [0, 1]. Thus l c = dµ c and r c = d(1 − µ c ), and smilarly for l a , r a .
We examine different typical situations for the value of the parameters, taking advantage of the study made in Grabisch et al. (2019) (full detail can be found in this reference).
-Situation 1: l a = l c =: l and r a = r c =: r. This implies µ c = µ a =: µ, i.e., all agents have the same threshold. Only the following four absorbing classes remain possible in this situation: The general tendency is that as the proportion of anti-conformist agents increases, the society goes from consensus, to polarization or cascade, then to a chaos, finally to a cycle. A cascade effect (i.e., a convergence with probability 1 to N c or with probability 1 to N a , whatever the inital state) is likely to occur, all the more l + r is close to 1 (i.e., the functions p 1 i are close to threshold function). When l is smaller than 1 /2 and n a is greater than l but sufficiently below 1 − l, it will lead to a cascade with all conformist agents saying yes. When l is greater than 1 /2 and n a between 1 − l and l, it will lead to a cascade with all anti-conformist agents saying yes.
-Situation 2: l a = l c = r a = r c = d 2 . This implies µ c = µ a = 1 /2. The three possible absorbing classes in this situation are: The possible absorbing classes of "fuzzy cycle" and "fuzzy polarization" mentioned in Grabisch et al. (2019) become impossible since there is a constraint l a + r a = l c + r c in this special context. Note that polarizations N c and N a always appear together, implying that there is no cascade effect. -Situation 3: n a tends to 0. Assume that n a = > 0 arbitrarily small, therefore n c = 1 − .
Among the initial 15 possible absorbing classes, only 7 of them remain possible: − → N c iff r c ≥ and l a ≥ 1 − ; -(11) [∅, N a ] iff l a < , l c ≥ and r a < 1 − ; -(12) [N c , N ] iff r a < , r c ≥ and l a < 1 − ; -(15) 2 N otherwise. Again there is no cascade effect in this situation since two possible polarizations always appear together. When l c , r c < , which means that d is very small, only chaos (2 N ) appears.

General case
With more than two thresholds, the complexity of the previous study indicates that it seems to be hopeless to get exact and complete results. This negative conclusion is tempered by our next result, established with an arbitrary distribution of thresholds. It shows that in most cases, only chaos can occur, i.e., the only absorbing class is 2 N .
Theorem 5 Suppose n a ≥ d, n c ≥ d and suppose that there is no constant player (i.e., 0 < µ i ≤ 1 for every player i). Then 2 N is the only absorbing class, i.e., the transition matrix is irreducible.
For example, if the distribution of thresholds has support {1/d, . . . , 1} for the conformists and the anticonformists. Then 2 N is the only absorbing class. Indeed, the assumption implies that there are at least d members in N a , N c . This result is in accordance with those found in the previous section with two thresholds µ a , µ c . Indeed, one can check that under the condition n a , n c ≥ d, none of the absorbing classes from (1) to (14) is possible. This is because we always have all four quantities l c , l a , r c , r a strictly smaller than d. Therefore n a ≥ d implies that n − n a = n c ≥ n − l c and n c ≥ n − r c are impossible (and similarly with n c ≥ d).

20
Documents de travail du Centre d'Economie de la Sorbonne -2019.16

Arbitrary degree distribution
We suppose now that the degree of the neighborhood is not fixed but follows a distribution P (d). We try to generalize the results of the homogeneous case.
The probabilities of taking action 1 or 0 for the conformist and anti-conformist agents given in (11) and (12) become: where the summation over d is taken over the support of P (d), and P(a i ≥ µ i | S; d) is given by (10).

Case with two thresholds µ a , µ c
The introduction of a distribution over the degree does not change the behavior of p 1 i (S): there are still nonincreasing or nondecreasing functions of s taking boundary values 0 and 1. The identification of the absorbing classes depends only on the width of the domain where these functions take values 0 and 1, hence their exact form is unimportant for this purpose.
By (13) we see that p 1 i (S) = 0 for conformist agents iff every term in the summation is equal to 0. We have established in Section 3.1.1 that P(a the results of Section 3.1.1 can be readily extended to the general case by using the above quantities l c , r c in all the conditions of existence of the 15 absorbing classes. An important consequence is the following: suppose that the distribution of d gives a positive probability to d = 1. Then we find l c = r c = l a = r a = 0. By inspection of the conditions of existence of the 15 absorbing classes, it follows that only the case of the chaos (2 N ) remains possible. Note that this assumption is often satisfied (e.g., for the Poisson distribution, which arises when any pair of vertices is connected with a fixed probability).

General case
We suppose now that each agent has a fixed threshold but possibly different among agents. A generalization of Theorem 5 is possible: under mild assumptions, only chaos can occur. Let us denote by d, d the lowest and greatest values of d with a positive probability, and by µ, µ the lowest and highest threshold values among the agents.
Theorem 6 Suppose that µ > 0 (no constant player) and that the number of conformist and anticonformist agents satisfy µd ≤ n a , n c < n − d(1 − µ) Then 2 N is the only absorbing class, i.e., the transition matrix is irreducible.
Note that the conditions on n a , n c can be written equivalently as n a ≥ µd and n a > d(1 − µ) (same for n c ). Again, observe that if d = 1, these conditions are always satisfied.

Concluding remarks
We have performed in this paper a detailed study of convergence of the threshold model incorporating anti-conformist agents. Two models were considered: a deterministic model supposing a complete graph, and a random neighborhood model, both corresponding to useful real situations. The first one represents a connected society where every agent is informed about the number of agents being in state 1 or 0 (active or inactive) at the present time, through media, etc. It is to be noted that no other information about the society is possessed by an agent, e.g., if there are anti-conformists and how many. The second model represents a society communicating via social networks like Facebook or Twitter, receiving randomly messages from other agents indicating their state. Here also, a given agent has no information on the type of his neighbor (conformist or anti-conformist). We have given a game-theoretic foundation of the threshold mechanism with anti-conformists, using coordination and anti-coordination games. For the deterministic model, we have found that, generally speaking, the presence of anti-conformists causes the appearance of much more absorbing states, and cycles of length greater than 2 (when only (anti-)conformist agents are present cycles can only be of length 2). We have performed a complete and exact study when the distribution of threshold is uniform, generalizing the results of Granovetter (1978). We have also studied the case of a Gaussian distribution, where we showed the existence of unstable fixed points and limit cycles of length 2, and the case of an arbitrary distribution, where it is possible to find cycles of length greater than 2.
Based on a previous study, we have performed a complete and exact analysis of the random model when there are only two thresholds, one for the conformists, and another for the anti-conformists. The introduction of randomness causes a variety of absorbing classes to appear: polarization, periodic classes of more or less complex structure, and chaos, i.e., any state of the society can be reached. When thresholds are randomly distributed, such an analysis is no more possible, however, we have shown that in most cases, only chaos occurs.
The initial aim of the paper was to analyze the effect of the presence of anti-conformists in a society regarding the convergence of the state or opinion of the agents in the long run. The most remarkable findings in this respect are: -The presence of anti-conformists introduces instability in the process, causing a multiplicity of absorbing states and a variety of cycles, periodic classes and chaos. Also, small variations in the parameters defining the society may induce important changes in the convergence: the model is highly sensitive, e.g., in the number of anti-conformists, the threshold values, etc. For example, it has been seen in the case of a uniform threshold distribution that introducing or deleting only one anti-conformist agent changes the convergence from a stable state to a cyclic behavior or vice versa. -In the case of a random neighborhood, the process converges to chaos (every state is possible) for most values of the parameters defining the society (it suffices that there are more conformists and more anti-conformists than the size of a smallest neighborhood). Otherwise, cascades may occur: we have proved their existence in the case of fixed thresholds for conformists and anti-conformists. This shows that introducing a small proportion of anti-conformists in a society may lead, not only to chaotic situations, but also to permanent opinion reversal.
The opinion dynamic in a complete network is deterministic since the probability of a transition from one state to another is either 1 or 0. Note also that the state space is finite, which means that the elements of absorbing states can only be absorbing states or cycles. It remains to prove the correspondence between fixed points of G(x) and absorbing states. ⇒) If x * is a fixed point of G(x), then assign actions to players according to the following rule: assign to the conformists whose tipping values are smaller than x * the action 1 while to those whose tipping values are greater than x * the action 0; assign to the anti-conformists whose tipping values are smaller than x * the action 0 while to those whose tipping values are greater than x * the action 1. Obviously this action profile corresponds to one absorbing state since nobody would like to change actions next period. ⇐) If x * = (x 1 , x 2 , . . . , xn) is an absorbing state, then x = 1 /n p i=1 x i is a fixed point of G(x). By contradiction, if x > G(x), there will be some players playing action 0 at the present period who would like to play action 1 in the next period ( e.g. conformists i ∈ Nc with µ i < x or anticonformists j ∈ Na with µ j > x). It is similar for the case x < G(x). Thus x = G(x).

B Proof of Proposition 1
Note that x ∈ {0, 1 /n, . . . , n−1 /n, 1}. Fix x ≥ µa. All conformist agents with threshold less than or equal to x would like to take action "1" when observing x (with proportion x). The anticonformist agents with threshold µa as well as all conformist agents with threshold strictly greater than x would like to take action "0" when observing x. Thus G(x) = x. Fix x < µa. All conformist agents with threshold less than or equal to x as well as the anticonformist agents with threshold µa > x would like to take action "1" when observing x (with proportion x + 2 /n). All conformist agents with threshold strictly greater than x would like to take action "0" when observing x. Thus G(x) = x + 2 /n > x. As a conclusion, F = { k /n, . . . , n−1 /n} is the set of fixed points of the function G. By Theorem 2, it is also the set of absorbing states of the opinion dynamics. Obviously, |F| = n(1 − µa) = n − k.
Starting from any initial state with the group opinion x * = k * /n, if xk * ≥ k and k * = n, then k * ∈ F. Thus x * is a reachable absorbing state. If k * < k, then G(x) = x + 2 /n. It means that two more conformist agents will be activated at the next stage. This "domino" effect stops till x ≥ µa with x = k /n or x = k+1 /n depending on which one has the same parity as k * .

C Proof of Proposition 2
Fix x ∈ {0, 1 /n, . . . , n−1 /n, 1}. If x < µ 1 a , only the conformist agents with threshold less than or equal to x as well as the two anticonformist agents would take action "1" at the next stage (with proportion x + 3 /n in total). Thus G( Obviously, G(1) = n−2 /n < 1 . Therefore, ∀x ∈ S, G(x) = x. By Theorem 2, there is no absorbing state. To show that this dynamic end up with a cycle regardless of the initial state, let us distinguish the following cases. Assume that the dynamic start with the state x = k 2/n. Then all conformist agents with threshold less than x (with proportion k 2 −1 /n) would take action "1". All conformist agents with threshold greater than x as well as the two anticonformist agents would take action "0" at the next stage (v 2 with x = k 2 −1 /n). Then, observing x < µ 2 a , the anticonformist agents with threshold µ 2 a would change her action into "1" at the following stage (v 1 with x = k 2/n). Similar analysis is applied to the initial state x = k 2 −1 /n.
Assume the initial state satisfies x < k 2 −1 /n. If x < µ 1 a , then G(x) = x + 3 /n. After every stage, there will be 3 more types of conformist agents would like to take action "1". This activation process stops till x ∈ [µ 1 a , µ 2 a ], then G(x) = x + 1 /n. After every stage, there will be one more types of conformist agents would like to take action "1". This activation process stops till x = µ 2 a = k 2/n. Then it goes back to the first case and forms a cycle v 2 → v 1 → v 2 . Assume the initial state satisfies x ∈ [ k 2/n, 1[, then G(x) = x − 1 /n. This desactivation process stops till x = k 2/n. Then it goes back to the first case and forms a cycle v 2 → v 1 → v 2 .
In general, if x ∈ [ k i/n, k i+1/n[ (i = 1, . . . , 2 − 1), only the anti-conformist agents with threshold strictly greater than k i/n (with proportion 2 −i /n) and the conformist agents with threshold less than or equal to x (with proportion x+ 1 /n− i /n) would like to take action 1. That is, G(x) = x + 2 +1−2i /n.
By G(x) = x, we get i = k + 1 /2. But i should be an integer. Thus G(x) has no fixed point (i.e., F = ∅). By Theorem 2, there is no absorbing state but cycles.
It remains to prove the statement on cycles. For this, we observe the following property of the function G(x): when x changes from i /n to (i+1) /n, the value of G is increased or decreased by one unit, depending whether agent i is conformist or anti-conformist. Hence for G the variation in ordinate cannot be greater than the variation in abscissa. We proceed in three steps.
2. We show that a cycle of length 3 cannot exist. Let (x, G(x)) → (G(x), G (2) (x)) → (G (2) (x), G (3) (x)) → (x, G(x)) be a cycle. This implies G (3) (x) = x. As the origin of the cycle is unimportant, suppose that (x, G(x)) is the leftmost point, i.e., x < min(G(x), G (2) (x)). Observe that this entails that this point is above the diagonal (x < G(x)). We may suppose that the second point (G(x), G (2) (x)) is also above the diagonal, so that we have x < G(x) < G (2) (x), which entails that the 3d point is below the diagonal since its ordinate is x. By the above observation on the function G, the jump in ordinate cannot exceed the jump in abscissa. In particular, concerning the jump between the 2nd and 3d point, , which cannot be true as x < G(x). Suppose now that the second point is below the diagonal. As the 1st point is the leftmost point, we necessarily have x < G (2) (x) < G(x). The condition on the jump between the 1st point and the 3d point yields . The case where the first point is under the diagonal works similarly.
3. We show that no cycle of length greater than 3 can exist. Simply observe that selecting the leftmost point and 2 other points in a sequence of more than 3 points amounts to the case of a cycle of length 3 as the jump conditions will impose the same contradictions.

E Proof of Proposition 4
(1) Consider the case that i ∈ N s.t. µ i = µa.

24
Documents de travail du Centre d'Economie de la Sorbonne -2019.16 If x ∈ [µ i 0 , µ i 0 +1 [, (i 0 = 1, . . . , k − 1), only anti-conformist agents and the conformists agents with threshold less than or equal to µ i 0 would like to take action 1. That is, As a conclusion, there is no absorbing state.
⇒ (Necessity) We provide a reductio ad absurdum proof. Suppose the thresholds and corresponding fractions do not satisfy inequalities 8. Then distinguish the following cases.
δa < µ 1 In this case, x = δa is a fixed point of G(x) since given the group opinion δa, only the anti-conformist agent with threshold strictly greater than µ 1 would take action 1 (with proportion δa). Then the group opinion at the next stage is still δa.
Assume that i * 0 is the smallest number satisfying this condition. That is, δa In this case, given the q i , only the conformist agent i ≤ i * 0 as well as the anti-conformist agent will take action "1" (with proportion Then δa + k i=1 q i < µa < µ k+1 < · · · < µp. On the other hand, ∀i 0 = 1, . . . , k − 1, δa coincides with the previous case), then ∀i 0 = 1, . . . , k − 1, q i (since i 0 < k). In this case, given the group opinion x = δa + k i=1 q i , only the anti-conformist agent and the conformist agent i = 1, . . . , k will take action 1 at the next stage with proportion δa + k i=1 q i in total. Thus δa + k i=1 q i is a fixed point of G(x).
As a conclusion, the fixed point of G(x) always exists. By Theorem 2, the absorbing state always exists which leads to a contradiction.
(2) It is analogous for the case that ∃i ∈ N s.t. µ i = µa.

F Proof of Theorem 4
Suppose that there is no absorbing state, hence we are under the conditions of the system of inequalities (8) or (9). It remains to prove the statement on the cycle. The transition function G has the following behavior: considering that x grows from 0 to 1, it starts from the value G(0) = δa, then increases at each point x = µ i by the quantity q i , and decreases by the quantity δa at point µa. Therefore, G(µ k ) = δa + k i=1 q i and G(µa) = k i=1 q i . Then G(x) continues to increase at each value µ i when x goes from µa to 1. It follows that the inequalities (8) (or (9)) imply the following properties of the transition function: (i) The three first inequalities imply that G(x) > x for all x < µa. Hence the part of the transition function to the left of µa is strictly above the diagonal and nondecreasing; (ii) The 4th inequality implies that G(µa) < µa; (iii) The last inequality implies that G(x) < x for all x > µa, hence the part of the transition function to the right of µa including this point is strictly below the diagonal and nondecreasing.
We consider the square delimited by the diagonal points ( k i=1 q i , k i=1 q i ) and ( k i=1 q i + δa, k i=1 q i + δa). We claim that if any point (x, G(x)) is chosen inside this square, the "next" point (G(x), G(G(x))) is still inside the square. First observe that k i=1 q i and k i=1 q i + δa are respectively the minimum value and the maximum value achieved by G in the interval [ k i=1 q i , k i=1 q i + δa], hence if x lies in this interval, (x, G(x)) is in the square. Now, taking x to the right of µa, we have that k i=1 q i ≤ G(x) < x ≤ k i=1 q i + δa, so by the previous observation (G(x), G(G(x))) lies in the square. Similarly, if x is on the left of µa, then k i=1 q i ≤ x < G(x) ≤ k i=1 q i + δa, so that again the image of the point by G is still in the square.
The number of different values (levels) of G in the square is the number of values µ i in the interval k i=1 q i , k i=1 q i + δa plus one (taking into account right-continuity) and plus one corresponding to µa. As this number is finite, the successive points (x, G(x)), (G(x), G(G(x))), . . . must from some step form a cycle.
We prove the claim on the upper bound. The number of levels of G is maximal when the gap q i at each µ i is minimal. The minimal value of q i is 1/n, which yields a total number of levels to be nδa + 1 because the total gap is δa. G Proof of Theorem 5 1. Suppose that the state is T with t ≥ d and n − t ≥ d. This is possible because by the assumptions na ≥ d, nc ≥ d, we have d ≤ n/2. We claim that a transition to any Q ∈ 2 N is possible. Indeed, we can have any type of neighborhood, so that the average opinion a(T ) in a neighborhood can be any value in {0, 1/d, . . . , 1}. It follows that p 0 i (T ) and p 1 i (T ) can be positive for all conformists and all anti-conformists.
2. Consider that either t < d or n − t < d. It suffices to prove that a transition to some set Q such that q ≥ d and n − q ≥ d is possible to conclude the proof. Suppose t < d (the other case is similar). Then n − t > d, so that the 0-neighborhood has a positive probability. Supposing that all players take the 0-neighborhood, the next action will be 0 for the conformists and 1 for the anti-conformists. Hence Q = Na, which does the job as |Na| ≥ d and |N \ Na| = |Nc| ≥ d.

H Proof of Theorem 6
Recall that at each time step, a random neighborhood of random size is drawn, for each agent. Each agent has a different threshold but it is fixed (distribution is known) 1. Consider a state T . In order to have for every conformist and anti-conformist a possibility of choosing action 1 and 0, we must have for conformist choosing action 1 P (a i ≥ µ i : S; d) > 0 for at least one d and choosing action 0 P (a i ≥ µ i : S; d) < 1 for at least one d in the support. For action 1 we must have T with t ≥ µd (must work for all agents) and for action 0 we must have N \ T with n − t > d(1 − µ). The conditions are inverted for anti-conformists. Then a transition to any Q is possible at next step.

26
Documents de travail du Centre d'Economie de la Sorbonne -2019.16 Therefore every conformist can choose action 0 and every anti-conformist can choose action 1, so that a transition to Na is possible. As by assumption na ≥ µd and na < n − d(1 − µ), we are back to Step 1 and a transition to any state Q is possible.
The case where t ≥ n − d(1 − µ) works similarly as we have