Skip to main content
Advertisement
Browse Subject Areas
?

Click through the PLOS taxonomy to find articles in your field.

For more information about PLOS Subject Areas, click here.

  • Loading metrics

Think then act or act then think?

  • Arkadiusz Jędrzejewski,

    Roles Conceptualization, Formal analysis, Funding acquisition, Investigation, Methodology, Validation, Writing – original draft, Writing – review & editing

    Affiliation Faculty of Fundamental Problems of Technology, Wrocław University of Science and Technology, Wrocław, Poland

  • Grzegorz Marcjasz,

    Roles Data curation, Investigation, Software, Validation, Visualization, Writing – review & editing

    Affiliation Faculty of Pure and Applied Mathematics, Wrocław University of Science and Technology, Wrocław, Poland

  • Paul R. Nail,

    Roles Conceptualization, Validation, Writing – original draft, Writing – review & editing

    Affiliation Faculty of Psychology and Counseling, University of Central Arkansas, Conway, Arkansas, United States of America

  • Katarzyna Sznajd-Weron

    Roles Conceptualization, Funding acquisition, Project administration, Supervision, Writing – original draft, Writing – review & editing

    katarzyna.weron@pwr.edu.pl

    Affiliation Faculty of Fundamental Problems of Technology, Wrocław University of Science and Technology, Wrocław, Poland

Abstract

We introduce a new agent-based model of opinion dynamics in which binary opinions of each agent can be measured and described regarding both pre- and post-influence at both of two levels, public and private, vis-à-vis the influence source. The model combines ideas introduced within the q-voter model with noise, proposed by physicists, with the descriptive, four-dimensional model of social response, formulated by social psychologists. We investigate two versions of the same model that differ only by the updating order: an opinion on the public level is updated before an opinion on the private level or vice versa. We show how the results on the macroscopic scale depend on this order. The main finding of this paper is that both models produce the same outcome if one looks only at such a macroscopic variable as the total number of the individuals with positive opinions. However, if also the level of internal harmony (viz., dissonance) is measured, then significant, qualitative differences are seen between these two versions of the model. All results were obtained simultaneously within Monte Carlo simulations and analytical calculations. We discuss the importance of our studies and findings from three points of view: the theory of phase transitions, agent-based modeling of social systems, and social psychology.

Introduction

There is a common belief, verbalized by Ralph Waldo Emerson in his Essays from 1841, that “The ancestor of every action is a thought”. On the other hand, as noted by social psychologist David Myers [1]: “If social psychology has taught us anything during the last 25 years, it is that we are likely not only to think ourselves into a way of acting but also to act ourselves into a way of thinking.”. Indeed, it has been shown in many social experiments that attitudes are frequently poor predictors of behaviors, and it is often that behaviors determine attitudes [1]. This startling conclusion inspired us to build a microscopic model with private and public opinions that combines the idea introduced within the q-voter model with independence [2], an agent-based model (ABM) of opinion formation, with the descriptive, four-dimensional model of social response [3].

According to the latter model, the position or opinion of each individual can be measured and described regarding both pre- and post-influence at both of two levels, public and private, vis-à-vis the influence source. The introduction of these variables allowed for the distinction between the majority of the influence types that are generally recognized as theoretically significant and conceptually distinct. For example, they provide for the distinction between two widely recognized types of conformity: conversion (conformity at both public and private levels) and compliance (public conformity without private acceptance). Moreover, it allows for the description of a particularly interesting type of social response, so-called disinhibitory contagion, which is similar to conformity in that, in both cases, an individual changes his or her public behavior toward that of an external influence source. However, the reason that disinhibitory contagion is very different than conformity is that the former begins with an influencee’s internal intra-psychic conflict before even being exposed to the influence source.

To understand the essence of disinhibitory contagion, imagine the following situation. You and your date are at a dance, but no one is dancing. You and your partner are inhibited from dancing because you would be embarrassed to be the only couple on the floor. This is the “force” that prevents you from doing what you would like to do. At this point, however, one couple starts dancing (viz., the initiators or triggers), then another and another. You and your date join in, and the dance floor quickly fills. Note that the influence of the initiators is contagious, as the influence spreads, and the situation progresses from your initial internal conflict over dancing → through influence → to your ultimate internal harmony, happy that you are dancing. In this case, it is only your and the other agents’ public behavior that changes, not private opinions. Another example of disinhibitory contagion may be the situation in which Poland initiated the democratic reforms in defiance of the historic domination of the Soviet Union that swept across Eastern Europe in 1989.

In the field of sociophysics, various models of binary opinion dynamics have been proposed [414], but only a few of them take into account the distinction between private (PRIV) opinions (or attitudes) and public (PUB) behaviors. Probably such a two-level description was introduced for the first time within the Continuous Opinions and Discrete Actions (CODA) model [15]. The model was later developed and modified in various directions [16, 17]. However, in all its versions discrete public choices are resulting from the private continuous opinions in such a way that the inner continuous opinion is used to measure how certain each agent is about its decision on which of two options it prefers. This means that the CODA model describes only rational individuals that act in accordance with their own convictions, which as we know from social psychology, is not always true. Another model that differentiate between public and private opinions has been proposed very recently under the name concealed voter model (CVM) [18]. It is built upon the linear voter model [19] by adding a concealed, private, layer of opinions to the public layer present in the original model. In the concealed voter model, both opinions are binary, and in the case of disparity between them, one opinion can be embraced by the other with certain rates. On the complete graph of a finite size, agents within CVM must reach a consensus, although the consensus time is longer than for the basic voter model [19].

The model introduced here, on the other hand, covers more possibilities of behaviors allowing for not only various “rational” but also “irrational” ones in comparison to the CODA model, and it also takes into account the role of the group influence in the opinion making process in contrast to the concealed voter model. Moreover, it has strong foundations in social psychology. In fact, the model is directly derived from one of the most sophisticated descriptive models of social response. However, introducing yet another agent-based model of opinion dynamics is not the aim of this paper. Rather, herein we ask two questions, and we hope that the answers will be important not only for social agent-based modeling but also for social psychology.

Keeping in mind that a basic goal of theorists and researchers in the field of descriptive models of social response is to identify the minimum number of variables that are needed to adequately distinguish between as many of the important types of social influence as possible, we can ask if two levels (private and public) of description are really necessary. Of course, the question formulated in this way is very imprecise. However, we can ask this question rigorously within a specific ABM, here the q-voter model, in the following way: Will the q-voter model with private and public opinions give qualitatively different results than the original q-voter model with only public opinion?

Another question that can be asked has been already posed in the title of this paper and is closely related to the first sentences of the Introduction. What comes first—thinking or acting? Social psychologists try to answer the following questions [1]: “How do our inner attitudes relate to our external behavior?”, “Why does our behavior affect our attitudes?”, etc. Here, we will ask another question inspired by the above but more closely related to the agent-based modeling procedure. While building an ABM, it is necessary not only to define precisely agents, as well as a network in which they exist and interact with each other. It is also necessary to give a precise algorithm that describes how the system evolves over time. This means that we have to decide, for example, about the order of updating. Usually, when building a social ABM, we rely on a social theory and experiments. In this case, however, social psychology tells us that there is no simple answer to the question: What should be updated first—a public or a private opinion? Therefore, we investigate herein two versions of the model. One in which we update (a) the private opinion first and then the public one, and the second version in which the opposite updating scheme occurs (b) the public opinion is updated first and then the private one. Because often a public opinion can be identified with the way of acting and a private opinion with the way of thinking, we call these two variants of the model: (a) think then act (TA) versus (b) act then think (AT). Now, we are ready to formalize the precise question, which is the focal point of this work: To what extent will the TA and AT models give different results at the macroscopic level?

Model

The ABM we introduce here is based on a descriptive model of social influence, the so-called four-dimensional (4D) model [3]. Its roots are from the Willis +/− scheme for symbolizing responses to social influence [20]. Within the scheme, we describe the response to social influence in a single set of interactions (a single social influence trial) by a series of 3 signs: the first sign (+ or −) represents the target’s initial position (the pre-influence opinion), the second (+ or −) the position advocated by the potential influence source, and the third (+ or −) the target’s response to the source (the post-influence opinion). This means that in total we have 23 = 8 combinations, which can be grouped into four basic response patterns: where C, I, A, and U stand for conformity, independence, anticonformity, and uniformity respectively. Now, if we assume that these pre- and post-influence opinions can occur independently at both private and public levels, as in the 4D model [3], we obtain 32 combinations. However, the consideration of symmetry allows these combinations to be reduced to 16 different response patterns of the four-dimensional model [3] (see Table 1).

thumbnail
Table 1. The 16 possible response patterns introduced within the four-dimensional model of social response [3].

https://doi.org/10.1371/journal.pone.0206166.t001

Let us explain here two issues because we realize that they may not be clear to some readers. First of all, one should note that in Table 1 we use convention in which the private opinion of the source of influence is the same as its opinion on the public level. Of course, in general this is not necessarily true that the source of influence has the same opinion on both levels. However, it does not matter what opinion the source has at the private level because this level is not seen by the target. In fact, we could use another convention to describe the private level using, e.g., question mark in the place of ‘+’ or ‘−’ for the private opinion of the source of influence. Within such a convention, e.g., disinhibitory contagion would be defined as (PUB + − −, PRIV −?−), instead of (PUB + − −, PRIV − − −). For the order, we decided to stay with the original notation, introduced in [3]. Second issue to be explained concerns the name of the model: “Why is it called four-dimensional?”. Notice that according to this model 4 variables (dimensions) have to be measured in order to identify the type of social response of the individual: pre-influence public opinion, pre-influence private opinion, post-influence public opinion, and post-influence private opinion. Measuring these 4 variables we can identify 16 different response patterns, as described above.

Of course, the probabilities of these 16 responses and factors influencing a given type of response are different. Let us go back to the example with dancing given in the Introduction and denote dancing by + and not dancing by −. In this example, the influence of the initiators is contagious, as the influence spreads, and the situation progresses from internal conflict → influence → internal harmony. Note that it is the agents’ public behavior that changes, not their private opinion. This type of influence is dubbed disinhibitory contagion (PUB − + +, PRIV + + +) in the four-dimensional model [3]. Because this type of influence is contagious the source of influence can consist of even only one person to effectively change the public opinion of the target, which is the same as assumed in the linear voter model [14]. However, for other types of social response it may not be true, i.e., more people are needed to influence the target.

To clarify this statement, let us once again use an example with dancing, but this time regarding conformity, specifically the four-dimensional model’s #14 compliance conformity: You are at a dance even though you do not like to dance and are not very good at it. At some point, you are pressured to dance by peers and end up being herded onto the dance floor. Using Willis’s symbols, compliance conformity is represented by PUB − + + and PRIV − + −. Here, the situation progresses from initial internal harmony → through influence → to ultimate internal conflict. This type of conformity was the subject of research in the famous experiment with lines conducted for the first time by Asch and then repeated by many others [21, 22]. In such a case, the influence only from one person may not be sufficient, and unanimity of opinions in the group of influence is critical. This observation was implemented in the original q-voter model [23] and later on in its modified version with noise [2].

In the original q-voter model, a target agent responds to the source of influence that consists of q agents randomly chosen from the target’s neighbors only if all q agents have the same opinion [23]. Therefore, the original formulation of the q-voter dynamics captures only one type of social response, that is, conformity, i.e., changing to the position of the source of influence. Subsequently, two other types of response, two types of nonconformity, were introduced: anticonformity and independence. The model with anticonformity will not be considered in this paper, and therefore, we will not discuss it here. We are aware that by excluding anticonformity from the model as a driving interaction we may loose some generality. However, until now the q-voter model with one level of opinion (public) has been investigated with only one type of nonconformity: either anticonformity or independence, but not with both simultaneously. Moreover, the q-voter model with independence has shown much richer and interesting behavior than the q-voter model with anticonformity [2, 24]. Therefore, to check if the second level of opinion introduces any new quality on the macroscopic level, i.e., to compare it with the one-level, public-only version, we limit our study to only one type of nonconformity, namely independence.

Independence in social psychology means an absence of influence, and indeed, it means the same in the q-voter model, i.e., a voter does not change under the influence of others [2]. However, independence does not mean that the agent must stay with its original opinion. We have assumed that the agent can randomly change its opinion to the opposite one, independently of the neighborhood. In [2] the probability of such a change was f = 1/2, which is quite high and maybe not very realistic. However, as shown analytically and numerically, the parameter f only rescaled the results, and therefore, we can choose an arbitrary value as long as f > 0 [25]. The introduction of a noise in the form of this independent behavior prevents the complete consensus, which makes the model more realistic. Moreover, the q-voter model with noise occurred to be very interesting from the physical point of view, displaying tricriticality, that is to say, a change in phase transition type, and surprising behavior on multi-layer networks [2, 26]. For all of the above reasons, we have chosen the q-voter model with independence as the starting point for a more complex model based on the 4D model.

Having in mind the role of internal harmony/disharmony, we propose the following model. We consider a network of N nodes, each occupied by exactly one agent characterized by two variables: opinion described both on a public level (Si = ±1) and on a private level (σi = ±1). In short, we will call them public and private opinions. Opinions Si and σi of i-th agent are dynamic variables, which means that both of them consecutively can change in time under social influence or noise in the form of independence. We analyze and compare both updating order possibilities. In one, we first update the public opinion, and then the private one (AT model); in the other, the updating is the opposite (TA model).

The influence of independence and conformity relies on the type of opinion level they affect, and it is different for public or private one. Independence substitutes the value of the public opinion for the value of the private one, and it changes the private opinion to the opposite one with probability 1/2, which corresponds to the noise introduced in the original q-voter model [2]. So on the public level, independence prompts us to express our private opinion publicly while on the private level, it makes us reconsider changing our private opinion independently of the neighbors. On the other hand, in the case of conformity, first we choose randomly q neighbors of the agent who is exposed to the influence. The group is called q-panel, and it tries to exert social pressure on the chosen agent. Now, when we try to change the public opinion, and the chosen agent is in the internal conflict, Siσi, then we do not require unanimity of the agent’s peers, and we substitute the value of Si for the value of σi if at least one of all q neighbors supports publicly our private opinion, i.e., has the same public opinion as the private opinion of the agent i. Otherwise, when the agent is in the internal harmony, Si = σi, we assume that it is harder to convince the target, and the social influence must be stronger in order to change the agent’s public opinion since then its state goes over to the internal conflict. That is why the group of influence is successful and exerts social pressure only if it is unanimous, i.e., all members of the panel have the same public opinion. Then, the considered agent changes its public opinion to the public opinion shared by the group members. We deal with the similar situation in the case of conformity on the private level, but now we do not differentiate between the situations with internal conflict and harmony. In both scenarios, we require a unanimous group of influence to change the private opinion of the chosen agent since we assume that it is harder to change our believes than behaviors. So, the target agent changes its private opinion to the public opinion shared only by the members of the unanimous group.

Furthermore, the level of independence p, which is assumed to be a static parameter of the model, determines the probability that an agent acts independently. With complementary probability 1 − p, conformity occurs. Note that within this approach, each agent can be either conformist or independent in different time steps, so the way of agents’ acting may change during simulation. This corresponds to the so-called situation-oriented approach in which the social response of agents is determined by situational factors and is not connected with their personal traits [2729]. Another, competitive approach called person-oriented, which will not be considered here, assumes that it is our personality that dominates over the situation. Therefore, at the beginning of simulations, each agent is determined whether it is conformist or independent with the same probabilities as in the case of the situation approach, but now the agents’ way of acting does not change in time. At first glance, these approaches may seem to give the same results since in both the probability of choosing an agent from the system that will act independently is the same and equals to p. Nevertheless, they may give, in fact, qualitatively different outcomes depending on the type of social response that is considered, as it is in the case of the q-voter model with independence but not with anticonformity [28]. From this point of view, it would be interesting to analyze the model introduced here in the person-oriented approach in a future study, as well.

In order to better comprehend the model, below we present the precise algorithm for the AT model in which we first update the public opinion:

  1. At a given time step t, choose one voter at random, located at site i.
  2. Update the public opinion Si:
    1. With probability p, the agent acts independently, i.e., replace public opinion by the private one Siσi.
    2. With complementary probability 1 − p, the agent is influenced by the public opinions of its q randomly picked neighbors without repetition. If voter’s public opinion is different than the private one, Siσi, then it changes its public opinion to the private Siσi if at least one of q neighbors has the same public opinion as the private opinion of the agent i. Otherwise, i.e., if voter’s public opinion is already the same as the private one, Si = σi, the influence occurs only if all q neighbors have the same public opinion. Then the agent i adopts their opinion, i.e., SiSj, where Sj is the public opinion of one among q neighbors.
  3. Update the private opinion σi:
    1. With probability p, the agent acts independently, i.e., it randomly changes its private opinion σi → − σi with probability 1/2.
    2. With complementary probability 1 − p, the agent is influenced by its q randomly picked neighbors without repetition, but only by their public opinions. If all q neighbors have the same public opinion then the agent i adopts their opinion, i.e., σiSj.
  4. Time is updated tt + 1/N.

The TA model differs from AT only in the way we switch the order of points 2 and 3 in the above algorithm, i.e., first we update the private and then the public opinion. Note that both versions of the model use the current, most recent value of the private opinion to update the state of the opinion at the public level in the case of independent behavior of an agent, look at the second step in the above algorithm. But since the public opinion is updated first in AT model, thus if time is included explicitly in the notation then we should write Si(t + 1/N) = σi(t) whereas in TA model, we have Si(t + 1/N) = σi(t + 1/N) because the private opinion has been already updated.

Let us now define quantities that we are interested in. The number of individuals with the positive opinion at the public level is denoted by NS(t). Analogously, Nσ(t) denotes the number of individuals with the positive opinion at the private level. Using Monte Carlo simulations, we measure 3 aggregated quantities:

  • the fraction of individuals with the positive public opinion: (1)
  • the fraction of individuals with the positive private opinion: (2)
  • the level of dissonance defined as a fraction of individuals that have different public and private opinions: (3)

We assume that initially nobody is in the internal disharmony, i.e., Si(0) = σi(0) for i = 1, 2, …, N, so at the beginning of all simulations the level of dissonance equals to zero d(0) = 0. Furthermore, most of the results presented in this paper have been obtained from ordered initial conditions Si(0) = σi(0) = 1. However, other initial conditions have been also investigated, and some of results will be also presented here. The reason why we checked different initial conditions is that they might have an impact on the model behavior and its final state. For instance, in the original q-voter model with independence, there is a continuous phase transition for q < 6. This means that there is no hysteresis, so the final state of a system is independent of initial conditions [2]. However, for q ≥ 6, there is a discontinuous phase transition. The hysteresis appears, and hence, initial conditions start to play important role in the ultimate state reached by the system.

Methods and results

One of the most popular methods for analyzing microscopic models of interacting many-particle systems—or in another language ABMs—is Monte Carlo computer simulation. Such simulations allow one to obtain an estimation of the expected values of measured quantities based on averaging over samples (ensemble average) or over time. In our research, we used the ensemble average. Although an arbitrary graph can be used as the underlying network for our model, and Monte Carlo simulations will deal with that, we consider only large (105 − 106 nodes) complete graphs since then we are able to carry out analytical calculations in the spirit of the mean-field approximation (MFA). Moreover, these calculations become strict in the limit N → ∞ for such networks. This allow us to compare our analytical predictions with the simulations. A comprehensive description of the mean-field approximation together with its application to the less complicated, original q-voter model with noise can be found in [24].

First, let us derive formulas for the time evolution of both concentrations: the public cS and the private cσ. In the model, a random sequential updating scheme is used, so at each elementary time step only a single agent can make an action. Therefore, its behavior may lead into three situations. The agent can change its opinion, and then the concentrations may increase or decrease by 1/N, but it can preserve its old opinion as well, and in such a case the concentrations do not change. Introducing the following transition rates: (4) (5) for the public concentration, and the analogous formulas, and , for the private one, we can write down two rate equations, which set the time evolution of the system. In the limit of N → ∞, they have the following differential form (6) where time is measured as usual in Monte Carlo steps (MCS), and one such step corresponds to N elementary time steps, so that N randomly picked agents have an opportunity to reconsider their opinions. For the private opinion, the subscript in the above equation changes to σ. The explicit forms of transition rates are derived based on the model description and the mean-filed approximation, which neglects all fluctuations in the system. Additionally at this point, we assume that the states of public and private opinions are independent. Doing so, we ease the calculations, but on the other hand, we lose the mathematical exactness, and the transition rates for both models AT and TA become identical. Therefore, it seems that the mean-field analysis with this simplification is not able to capture the differences between our models even if they do exist. But anyway, let us proceed with the calculations and check if the results match the Monte Carlo simulations. Coming back to our transition rates for the public case, we have (7) (8) whereas for the private case, the formulas are as follows (9) (10) In our analysis, we are mostly interested in the final state of the system for which both concentrations have already settled at certain levels, and they do not change over time anymore. Such a state is called the stationary one. Although the stationary concentration values are time-independent, they might depend on the external parameters of the model like the level of independence p or the influence group size q. These dependencies can be obtained just by solving simultaneously two equations and because then, the time derivatives of both concentrations (see Eq (6)) vanish, check as well S1 Appendix for more detailed mathematical guidance. Since the obtained formulas for the stationary values of the concentrations are rather complicated, we visualize them for 3 q-panel sizes in Fig 1. In the same plot, we can also find corresponding results of Monte Carlo simulations indicated by symbols. Surprisingly, we see that the agreement between results coming from these two approaches is significant despite our assumption about independent states of public and private opinions, and indeed, both models AT and TA produce the same final outcome, at least for the stationary values of concentrations. Moreover, similarly as for the original q-voter model with independence, there are phase transitions between the low-independence phase in which one opinion is dominating, a positive or a negative one, at both levels (i.e., cS ≠ 1/2 and cσ ≠ 1/2), and the high-independence phase in which both, positive and negative, opinions are equally popular (i.e., cS = 1/2 and cσ = 1/2). Note that these transitions occur at the same point on both, public and private, levels; compare plots in the same columns in Fig 1. In the case of continuous phase transitions, which happen for q ≤ 4, the critical point that separates these low- and high-independence phases can be calculated as (11) Therefore, as we stated before, for p < p* the system is ordered since one opinion wins over the other, and above the critical point, that is p > p*, the system is disordered because both opinions coexist equally likely. More investigative reader can find the derivation of the above formula in S1 Appendix. This critical point is also known for the original q-voter model with independence [24]. It turns out that it is shifted towards smaller values of independence in comparison to our modified version with two levels of opinions. However, this difference in critical values of independence decreases as the number of q-panel members increases.

thumbnail
Fig 1. Stationary concentrations of opinions as a function of independence probability p.

Concentrations of positive public opinions are presented in upper panels (a)-(c), whereas concentrations of positive private opinions are presented in bottom panels (d)-(f). Different columns correspond to different q-panel sizes: (a) and (d) q = 4, (b) and (e) q = 5, and (c) and (f) q = 6. Analytical results are represented by lines, solid for stable states and dotted for unstable ones: gray lines stand for AT and TA models, whereas black lines, which do not overlap symbols, stand for the original q-voter model with independence [2]. In general, transition points for the original q-voter model are located in the area of smaller values of independence than in the case of AT and TA models. Symbols represent results of Monte Carlo simulations with ordered initial conditions (Si(0) = σi(0) = 1 for all agents): △ for TA (think then act) and • for AT (act then think) models. It is seen that TA and AT models give exactly the same outcomes. Moreover, for q ≥ 5, the metastable region, where both order and disordered phases are stable, and they coexist, shows up. Results from Monte Carlo simulations have been obtained for the system of the size N = 105 averaged over 100 samples after 105 MCS.

https://doi.org/10.1371/journal.pone.0206166.g001

Furthermore, our model exhibits also discontinuous phase transitions for q ≥ 5, so the phase transition type depends on the influence group size q. A similar behavior is displayed by the q-voter model with independence as well, however, in that model continuous phase transitions become discontinuous for q = 6 [2, 24], see also Fig 1 for the comparison between the models.

Note that for discontinuous phase transitions, the formula for p* corresponds to the lower bound of a metastable region where the final, stationary state of the system depends on the initial conditions, and as a result, the hysteresis is observed; check the middle and the right columns of Fig 1. Looking at the same figure, one can spot that the q-voter model resemble in the shapes of concentrations more our modified model at the private level than at the public one. It may be surprising at first glance because we are used to think about the original q-voter model as a model with only a public level of opinion. However, this phenomenon can be understood if we look at the algorithms: in the case of independence a private opinion changes in exactly the same way as an opinion in the q-voter model, i.e., randomly, whereas a public opinion is replaced by a private one.

So far, it seems that the order of agents’ actions does not play an important role and does not influence the final outcome of the system. However, when the level of dissonance in the society d is measured as well, these two updating schemes produce very different results and become distinguishable on a macroscopic level, see Fig 2. Moreover, we see that states of private and public opinions are not completely independent as we assumed before in our calculations. If they were independent, the level of dissonance would be expressed in the simple form (12) and all simulation results, from both models, will lie on the black curves that correspond to the above formula in Fig 2. Evidently, this is the case for small values of the independence level p. However, it seems that the results from AT model follow Eq (12) in a wider range of independence variability, so that the states of private and public opinions stay independent for bigger values of p than in the case of the TA model. Moreover, we can infer that in general these public and private opinion states are more strongly correlated in TA model since the simulated points related to this updating order lie further away from Eq (12) than the points from the AT model.

thumbnail
Fig 2. Stationary value of the dissonance level as a function of independence.

Results for different q-panel sizes are presented: (a) q = 4, (b) q = 5 and (c) q = 6. Analytical results are marked by lines: black lines, which do not overlap symbols, are obtained under the assumption that private and public opinions are independent, i.e., by Eq (12), whereas lines that overlap symbols are obtained from the exact analytical approach. Symbols illustrate outcomes from Monte Carlo simulations: △ for the TA (think then act) and • for the AT (act then think) models. The initial state of the system is the ordered one. As seen, the level of dissonance for the AT model is higher that for the TA model. Results from Monte Carlo simulations have been obtained for the system of the size N = 105 averaged over 100 samples after 105 MCS.

https://doi.org/10.1371/journal.pone.0206166.g002

Since we already know that states of our opinions on private and public levels are coupled and are not fully independent of each other, we can repeat our mean-field analysis; however, this time without our false assumption. This will make our calculations strict for an infinite complete graph, and as a result, will allow us to obtain accurate predictions about the dissonance levels in both models. In order to capture the fact that states of private and public opinions may depend on each other, we have to describe the system more rigorously. Therefore, we split our two concentrations, cS and cσ, into four: c↑↑, c↑↓, c↓↓, and c↓↑—one for each state combination of public and private opinions, where the first subscript refers to the public opinion, and the second to the private one. Two arrow directions, ↑ and ↓, correspond to two different opinion states, 1 and −1. In such a notation we have (13) (14) (15) note, however, that this is only another way of representing cS, cσ, and d, and the initial definitions of these quantities Eqs (1)(3) are still valid. Additionally, we know that c↑↑+ c↑↓+ c↓↓+ c↓↑ = 1 since these four combinations of opinions exhaust all the possibilities. Further steps are analogical to the previous ones—we write down transition rates for all concentrations separately and solve the system of equations for the stationary states. However, this time, formulas for the transition rates are more complicated, so we omit their presentation herein. All readers interested in the precise forms of them are referred to S2 Appendix. The results of the above, exact, analytical approach are also presented in Fig 2 along with the previous outcomes from the simplified method and Monte Carlo simulations. Now, our calculations correctly predict the behavior of the dissonance levels for both models in the whole domain of the independence values p. This approach also produces the same stationary values of the concentrations as the simplified method, which does not surprise since we have known that the simulated stationary concentrations were already in agreement with our previous calculations. Additionally, at this stage, we can say a bit more about correlations between public and private opinion states and compute the Pearson correlation coefficient ρS,σ for these variables analytically: (16) a full derivation is presented in S3 Appendix. Based on the above formula, two remarks can be made right away. The first is that the correlations between public and private opinions should be smaller for AT model. This is because the level of dissonance d, which appears with the minus sign in the above equation, is higher for this updating order and at the same time the stationary concentrations in both models are the same. Furthermore, if the states of public and private opinions are independent then formula (12) is correct, which leads to ρS,σ = 0. Fig 3 illustrates the dependency between this correlation coefficient calculated in the stationary state and the level of independence p for the systems composed of N = 106 agents with different sizes of the q-panel. Indeed, the states of public and private opinions are stronger associated with each other in the TA model. Moreover, we see that the correlation coefficient is a non-decreasing function of p only in the case of TA model.

thumbnail
Fig 3. Pearson correlation coefficient between public and private opinions.

Results for different q-panel sizes are presented: (a) q = 4, (b) q = 5 and (c) q = 6. Analytical results are marked by lines. Symbols illustrate outcomes from Monte Carlo simulations: △ for the TA (think then act) and • for the AT (act then think) models. The system starts its evolution from the ordered state for all cases. We can see that the states of opinions on public and private levels are more strongly correlated in the TA model. On the other hand, for small values of the independence level, the correlation coefficient stays close to zero in a wider range of independence variability for the AT model. Note that in the high-independence phase, our measure of association increases to 1 for the TA model whereas it decreases to 0 in the case of the AT model. Results from Monte Carlo simulations have been obtained for the system of the size N = 106 after 103 MCS.

https://doi.org/10.1371/journal.pone.0206166.g003

It is not so difficult to understand why the correlations between public and private opinions are higher and simultaneously dissonance is lower for TA than for AT model if we look once again at algorithms. This situation is due to independence that acts differently on opinions on public and private levels. Within AT model, the private opinion is updated last, and then it can randomly change its state with probability p. Hence, independence may destroy the agreement between private and public opinions at the end of a time step increasing the dissonance. It is easy to see that for the extreme case when p = 1. Then in the last step independence occurs, and the private opinion takes value 1 or -1 with equal chances according to the algorithm. However, these are also the only acceptable states for the public opinion, hence, with probability 1/2 our opinions anti-align resulting in the dissonance value d = 1/2. On the other hand, within TA model, it is the public opinion that is updated last, and then with probability p the value of the private opinion is copied to the public one. Therefore, in this case independence helps to align the states of both opinions lowering the dissonance. Again it is easy to see that for p = 1 since then at the end of each time step the value of the private opinion is passed to the public one. Hence, both opinion are always in agreement, and there is no dissonance in the system d = 0.

More intriguing is the fact that in spite of significant correlations between public and private opinions, the simple mean-field approach, which assumes independence between both opinions, thus, neglects these correlations, gives correct values of the stationary concentrations. Additionally, these concentrations are identical for TA and AT models, which is also confirmed by Monte Carlo simulations. Moreover, as we have already written, our second method, which takes into account these correlations, leads exactly to the same result as the naive MFA. The question is why the model at the level of stationary opinions reduces to the simple mean-field-like model. Unfortunately, we do not have any straightforward answer to this question. Our only intuition is that this result is not universal and may be valid solely on a complete graph. If the intuition is correct, we should observe differences in the stationary concentrations between AT and TA models on other graphs, and therefore, the model examination on alternative networks is the task for the future.

In addition to the stationary concentrations, we can derive the whole time evolution of cS, cσ, and d just by solving the rate equations within the new approach. Of course, such an evolution can be also easily obtained from Monte Carlo simulations. In Fig 4, we present several trajectories of the system comprised of N = 106 agents averaged over 100 samples. The parameters were chosen in such a way that the considered model is in a metastable region where the dependence between initial and final states of the system is observed. Note that time trajectories of the concentrations are only slightly different for TA and TA models, and eventually they reach the same final state independently of the model. Thus, only the dissonance levels differentiate between these two updating orders in the stationary state. For the chosen set of parameters, the analytical paths accord significantly with the average sample trajectories. However, one should remember that our calculation were done in the limit of an infinite network size, so for smaller system sizes more discrepancies may originate. Small systems also induce larger fluctuations in the concentrations and the dissonance level, thus, obtaining so accurate and smooth averaged trajectories may require bigger samples. Moreover, these fluctuations present only in finite systems cause sometimes spontaneous transitions between stationary states that might also produce some divergence in results. In order to show how trajectories from the same initial conditions may vary, we calculate empirical percentiles for the system of the size N = 106 based on 103 simulated paths, the outcomes are presented in Fig 5. As seen, the variability of the trajectories might be substantial, and it is seemingly bigger for the AT model, at least for this set of parameters. Moreover, for this setup, both models support a long period of time without substantial changes in the concentrations. This can lead to the false conclusion that the system has already reached its final state despite the fact that the big turnover has yet to appear.

thumbnail
Fig 4. Average trajectories of the dissonance and concentration of positive opinions.

Results for the dissonance are presented in top panels, whereas results for public and private opinions in the middle and bottom panels respectively. Analytical results are marked by solid lines. Symbols illustrate outcomes from Monte Carlo simulations: △ for the TA (think then act) and • for the AT (act then think) models. The system is comprised of N = 106 agents with the independence level p = 0.2 and q = 6 in all cases. Note that these parameters correspond to the metastable region where order (c ≠ 1/2) and disorder phases (c = 1/2) coexist, so that the hysteresis appears, see Fig 1. These two different phases and the dependence between initial and final states of the system is clearly seen in the figures. The trajectories are averaged over 100 samples.

https://doi.org/10.1371/journal.pone.0206166.g004

thumbnail
Fig 5. Empirical quantiles of sample trajectories of public and private opinions.

Results for public opinions are presented on the left panels (a) and (c), whereas results for private opinions on the right panels (b) and (d). Top panels (a)-(b) correspond to TA and bottom panels (c)-(d) to the AT updating schemes. Marked with colors are the intervals containing α realizations closest to the median (for example, when α = 80% the lower bound of the marked area is the 10-th percentile, and the upper bound is the 90-th percentile). The quantiles were calculated for each time point separately. Black curves are the average trajectories based on an analytical description of the system. The simulation results were obtained using 103 independent trajectories for the system of N = 106 nodes, parameter q = 5 and p = 0.2664. The initial state of the system is Si(0) = σi(0) = 1 for all agents.

https://doi.org/10.1371/journal.pone.0206166.g005

Discussion

We have proposed a new model of opinion dynamics that combines (a) ideas introduced within the q-voter model with noise, which is an ABM and belongs to the world of sociophysics [2], with (b) the descriptive, four-dimensional model of social response formulated by social psychologists [3]. In our model, agents’ opinions are described by binary, dynamical variables that can be measured at two different levels, a public and a private one. The source of influence is formed by the unanimous group of q individuals, like in the original q-voter model [2, 23]. Not having found a clear answer to the question “What comes first—acting or thinking?” in social experiments, we considered two versions of the same model that differ only by the updating sequence of opinions just to check whether this order is important from the point of view of agent-based modeling. In our analysis, two independent methods have been used: Monte Carlo simulations and analytical calculations within the mean-field approximation. Having at least two autonomous approaches is especially important from the perspective of rigorous agent-based modeling since it allows for the precise verification of the implemented model [30]. The results obtained from both of our methods support each other well. This is not very surprising because we have considered the model on a complete graph, which corresponds to the mean field approach. Agreement between simulation results and analytical approach is in our opinion the best method of verification if the model was implemented correctly. Therefore, the complete graph should be highly recommended as a first step in agent-based modeling. Nevertheless, we are aware that investigating the model on different, complex networks will be a desired task for the future, as discussed below.

It has been shown that the stationary values of the concentrations on the public and private levels are the same for both updating orders, i.e., for TA and AT models. Thus, both models exhibit the same order-disorder phase transitions, compare plots in Fig 1. Their type depends on the number of individuals that exert social pressure, namely, on the q-panel size. For q ≤ 4, phase transitions are continuous, and we know the analytical formula for the critical point that separates low- and high-independence phases, see Eq (11). On the other hand, for q ≥ 5, phase transitions become discontinuous, and a metastable region appears where ordered and disordered phases coexist, and final states of the system depend on initial conditions. In this case, Eq (11) corresponds to the lower bound of this metastable region. A similar change of a phase transition type is also exhibited by the original q-voter model with independence, which incorporates only one opinion [2]. However, in that case, continuous phase transition become discontinuous for q = 6. So, it seems like adding to the original model another opinion level coupled with the old one lowers the point of the transition type change. Interestingly, introducing another layer of a network drives this point down as well when we consider the q-voter model on multiplex networks [26].

Since AT and TA updating schemes give the same stationary concentrations, we are not able to differentiate between models on a macroscopic scale only by measuring a fraction of individuals with a positive opinion on one or the other level in the final state. This may lead to the false conclusion that the updating order does not play an important role, and although the models differ on a microscopic scale, these differences are so subtle that the same collective behavior is produced in both cases. However, the dissonance level is significantly different for both updating schemes. For instance, the final level of dissonance is higher in the case of AT model. Nevertheless, the differences are not only quantitative. In the high-independence phase, the dissonance increases with the independence probability p for the AT model whereas it decreases to zero in the case of the TA model, look at Fig 2. Finally, we found out that the states of public and private opinions are in general less correlated in the AT model, and for small values of p, they stay independent in a wider range of this parameter variability, analyze Figs 2 and 3.

Based on our study, we can state that, indeed, the updating order of public and private opinions matters and changes the general behavior of the system. However, some model features remain unchanged, like the stationary values of the concentrations. From the perspective of our model, thinking then acting is more profitable in the sense that it leads to smaller dissonance in the society, and it makes public and private opinions more strongly correlated. One could also conclude that our results indicate that TA model is more correct than AT because it seems logical that in the case of high independence, i.e., low social pressure, people should behave in a way they think so the dissonance should be low and correlation between public and private opinion high, which is exactly the case of TA model.

Nevertheless, these are the results for a specific, relatively simple, model with several assumptions that not always have to reflect the reality. Therefore, taking into account other factors may lead to different conclusions. Luckily, agent-based modeling allows us to tune the conditions of simulations and make the system more realistic by changing agent attributes and rules of behaviors, introducing different system space or adding external environment influence [31].

So, let us point out a few such assumptions that could be investigated in future research. First of all, we have done our analysis on complete graphs. Although these structures mimic well relationships in small communities where all members know each other, they are inappropriate to model large societies, which are said to belong to the class of co called complex networks [32]. Additional analysis on such structures could reveal more differences between the updating schemes. However, obtaining analytical results in that case might require more sophisticated methods that are specially dedicated to network problems like heterogeneous mean-field or pair approximations [3335]. The original q-voter model with independence has been already studied on complex structure [35], and it turned out that the average node degree plays an important role in the model behavior. Another issue has been already mentioned in the model description and concerns the way we decide about the behavior of agents. Herein, we considered only the situation-oriented approach in which each agent could be either conformist or independent at different times. The person-oriented approach, where the agents’ way of acting does not change across time and settings, has not been investigated as yet. Still, it could drastically modify the model behavior, just as it did in the case of the q-voter model [28].

Finally, we assumed that the size of the influence group q is the same for all agents and does not change during one simulation. This makes our population homogeneous whereas in the reality q may vary [13, 36], thus, it would be interesting to introduce more heterogeneous agents to the system. Another more realistic modification of the model, also connected with the influence group, is to resign from requiring the unanimity of the q-panel. Instead, one could allow agents to follow the group when a minimal number of its members with the same opinion is crossed, like in the threshold q-voter model [24, 37].

From all the above, we see that there are still many important additional factors that are particularly relevant to social agent-based modeling. These factors should be considered in future analyses.

Supporting information

S1 Appendix. Derivation of formulas for the critical points and stationary states.

https://doi.org/10.1371/journal.pone.0206166.s001

(PDF)

S2 Appendix. Transition rates in the exact mathematical formulations of the models.

https://doi.org/10.1371/journal.pone.0206166.s002

(PDF)

S3 Appendix. Pearson correlation coefficient derivation.

https://doi.org/10.1371/journal.pone.0206166.s003

(PDF)

References

  1. 1. Myers DG. Social Psychology, 10th Edition. McGraw-Hill; 2013.
  2. 2. Nyczka P, Sznajd-Weron K, Cisło J. Phase transitions in the q-voter model with two types of stochastic driving. Phys Rev E. 2012;86(1):011105.
  3. 3. Nail PR, MacDonald G, Levy DA. Proposal of a four-dimensional model of social response. Psychol Bull. 2000;126(3):454. pmid:10825785
  4. 4. Castellano C, Fortunato S, Loreto V. Statistical physics of social dynamics. Reviews of modern physics. 2009;81(2):591.
  5. 5. Galam S. Sociophysics: a physicist’s modeling of psycho-political phenomena. Springer; 2012.
  6. 6. Sen P, Chakrabarti BK. Sociophysics: An Introduction. Oxford: Oxford University Press; 2013.
  7. 7. Sîrbu A, Loreto V, Servedio VDP, Tria F. Opinion dynamics: models, extensions and external effects. In: Participatory Sensing, Opinions and Collective Awareness. Springer, Cham; 2017. p. 363–401.
  8. 8. Lewenstein M, Nowak A, Latané B. Statistical mechanics of social impact. Phys Rev A. 1992;45(2):763. pmid:9907042
  9. 9. Hołyst JA, Kacperski K, Schweitzer F. Social impact models of opinion dynamics. In: Annual Reviews Of Computational Physics IX. World Scientific; 2001. p. 253–273.
  10. 10. Galam S. Social paradoxes of majority rule voting and renormalization group. J Stat Phys. 1990;61(3-4):943–951.
  11. 11. Watts DJ. A simple model of global cascades on random networks. PNAS. 2002;99(9):5766–5771. pmid:16578874
  12. 12. Krapivsky PL, Redner S. Dynamics of majority rule in two-state interacting spin systems. Phys Rev Lett. 2003;90(23):238701. pmid:12857298
  13. 13. Mellor A, Mobilia M, Zia RKP. Heterogeneous out-of-equilibrium nonlinear q-voter model with zealotry. Phys Rev E. 2017;95(1):012104. pmid:28208330
  14. 14. Fernández-Gracia J, Suchecki K, Ramasco JJ, San Miguel M, Eguíluz VM. Is the voter model a model for voters? Phys Rev Lett. 2014;112(15):158701. pmid:24785078
  15. 15. Martins ACR. Continuous opinions and discrete actions in opinion dynamics problems. J Modern Phys C. 2008;19(4):617–624.
  16. 16. Martins ACR, Galam S. Building up of individual inflexibility in opinion dynamics. Phys Rev E. 2013;87(4):042807.
  17. 17. Martins ACR. Discrete opinion models as a limit case of the CODA model. Physica A. 2014;395:352–357.
  18. 18. Gastner MT, Oborny B, Gulyás M. Consensus time in a voter model with concealed and publicly expressed opinions. J Stat Mech Theory Exp. 2018;2018(6):063401.
  19. 19. Clifford P, Sudbury A. A model for spatial conflict. Biometrika. 1973;60(3):581–588.
  20. 20. Willis RH. Two dimensions of conformity-nonconformity. Sociometry. 1963; p. 499–513.
  21. 21. Asch SE. Studies of independence and conformity: I. A minority of one against a unanimous majority. Psychological Monographs. 1956;70(9):1.
  22. 22. Bond R. Group size and conformity. Group processes & intergroup relations. 2005;8(4):331–354.
  23. 23. Castellano C, Muñoz MA, Pastor-Satorras R. Nonlinear q-voter model. Phys Rev E. 2009;80(4):041129.
  24. 24. Nyczka P, Sznajd-Weron K. Anticonformity or independence?—insights from statistical physics. J Stat Phys. 2013;151(1-2):174–202.
  25. 25. Sznajd-Weron K, Tabiszewski M, Timpanaro AM. Phase transition in the Sznajd model with independence. EPL. 2011;96(4):48002.
  26. 26. Chmiel A, Sznajd-Weron K. Phase transitions in the q-voter model with noise on a duplex clique. Phys Rev E. 2015;92(5):052812.
  27. 27. Sznajd-Weron K, Szwabiński J, Weron R. Is the person-situation debate important for agent-based modeling and vice-versa? PloS one. 2014;9(11):e112203. pmid:25369531
  28. 28. Jędrzejewski A, Sznajd-Weron K. Person-Situation Debate Revisited: Phase Transitions with Quenched and Annealed Disorders. Entropy. 2017;19(8):415.
  29. 29. Krueger T, Szwabiński J, Weron T. Conformity, anticonformity and polarization of opinions: insights from a mathematical model of opinion dynamics. Entropy. 2017;19(7):371.
  30. 30. Rand W, Rust RT. Agent-based modeling in marketing: Guidelines for rigor. Int J Res Mark. 2011;28(3):181–193.
  31. 31. Quang LA, Jung N, Cho ES, Choi JH, Lee JW. Agent-Based Models in Social Physics. J Korean Phys Soc. 2018;72(11):1272–1280.
  32. 32. Boccaletti S, Latora V, Moreno Y, Chavez M, Hwang DU. Complex networks: Structure and dynamics. Phys Rep. 2006;424(4-5):175–308.
  33. 33. Moretti P, Liu S, Castellano C, Pastor-Satorras R. Mean-field analysis of the q-voter model on networks. J Stat Phys. 2013;151(1-2):113–130.
  34. 34. Pugliese E, Castellano C. Heterogeneous pair approximation for voter models on networks. EPL. 2009;88(5):58004.
  35. 35. Jędrzejewski A. Pair approximation for the q-voter model with independence on complex networks. Phys Rev E. 2017;95(1):012307. pmid:28208483
  36. 36. Radosz W, Mielnik-Pyszczorski A, Brzezińska M, Sznajd-Weron K. Q-voter model with nonconformity in freely forming groups: Does the size distribution matter? Phys Rev E. 2017;95(6):062302. pmid:28709181
  37. 37. Vieira AR, Anteneodo C. Threshold q-voter model. Phys Rev E. 2018;97(5):052106. pmid:29906869