Abstract

In complex systems, agents often interact with others in two distinct types of interactions, pairwise interaction and group interaction. The Deffuant–Weisbuch model adopting pairwise interaction and the Hegselmann–Krause model adopting group interaction are the two most widely studied opinion dynamics. In this study, we propose a novel opinion dynamics by combining pairwise and group interactions for agents and study the effects of the combination on consensus in the population. In the model, we introduce a parameter to control the weights of the two interactions in the dynamics. Through numerical simulations, we find that there exists an optimal , which can lead to a highest probability of complete consensus and minimum critical bounded confidence for the formation of consensus. Furthermore, we show the effects of on opinion formation by presenting the observations for opinion clusters. Moreover, we check the robustness of the results on different network structures and find the promotion of opinion consensus by not limited to a complete graph.

1. Introduction

Social behaviors are shaped by opinions and beliefs. In the real world, people hold opinions in various aspects of social life from the judgments for goods in daily life to the evaluation of candidates in elections. By interacting with other ones, people may change their opinions. The evolution of opinions could significantly affect the social life, including the formation of culture, language, mainstream views, social norms, and so on. Therefore, the study of opinions dynamics has attracted much attention of researchers from a wide variety of fields, from statistical physics to sociology to communication science [16].

According to whether the opinions take discrete values or not, the opinion dynamics can be divided into two categories, discrete opinion dynamics and continuous opinion dynamics. Typical discrete opinion dynamics include the Galam majority-rule model [5], the voter model [7], the naming game [8], the Sznajd model [9], and the social impact model [10]. Meanwhile, the Deffuant–Weisbuch (DW) model [11] and Hegselmann–Krause (HK) model [12] are the representative ones of continuous opinion dynamics.

In the original DW model with pairwise interaction, there are two key parameters, the bounded confidence in the range of and the convergence rate in the range of . In an elementary evolution step, two neighboring individuals are chosen randomly. If the difference of their opinions is less than the bounded confidence , they will update their own opinions and with and , respectively. The convergence rate can be used to describe how fast they are shifted towards each other. In the early work by Fortunato [13], the author found that the threshold value of above which all agents share the same opinion in the final configuration (consensus) is 0.5 in the DW model, independently of the underlying social topology. In [14], the authors modified the DW model by introducing heterogeneous convergence rate and found that the decrease of the convergence rate leads to the decrease of the confidence threshold. Furthermore, considering that individuals may form different network structures in the real world, Shang [15] studied the evolution of opinions by using the DW model on multiplex networks and found that the existence of multiplexity restrains the convergence. In [16], Chen et al. studied the DW model on a ring with repelling mechanism and circular opinions. Their results showed that the interplay between the repelling mechanism and the circular opinion may lead to a time-dependent opinion dynamics. Moreover, opinion dynamics based on the DW model have also been investigated on evolving and adaptive networks [17]. The authors obtained a counterintuitive finding that the diversity of opinions facilitates consensus formation.

In contrast, in an elementary evolution step in the HK model, each agent updates his/her opinion by taking into account all of the neighbors as long as their opinion differences are within the bounded confidence. Thus, the opinion updating is implemented through group interaction in the HK model, which is fundamentally different from the pairwise interaction in the DW model. Generally, the agent updates opinion by taking the average of his/her neighbors’ opinions including his/her own [12, 18]. In the traditional HK model, the bounded confidence is the only parameter. Many previous studies on the HK model have considered the effects of heterogeneous bounded confidence on consensus [1922]. Lorenz [19] found that, in a society with two different bounded confidences, consensus could be reached even when bounded confidences are significantly below the critical bounded confidence in a homogeneous society. In [20], the agents are divided into three categories, each with a different bounded confidence interval. The authors studied how agents of each category and the population size affect opinion dynamics. In addition, one of personal characteristics, the so-called stubbornness, has also been considered in the HK model. Stubbornness depicts that an agent adheres to his/her own opinion to some extent and can affect the opinion dynamics significantly [2328]. In [23], the authors introduced a parameter characterizing the extent to which an agent trust himself/herself and considered heterogeneous stubbornness. In their model, they used the HK model to present a public opinion control strategy based on public authority. Furthermore, in [24], Han et al. investigated a modified HK model with heterogeneous bounded confidences and stubbornness. Besides, some new perspectives have also been considered in the study of opinion dynamics based on the HK model. For example, Shang and Chen [29] proposed an opinion dynamics in which each agent can adjust his/her opinion by using an incremental proportional-integral controller and found that the strong integral effect can promote the system to achieve consensus easily and reduce the number of subsets fast.

In the above works, the researchers focused on only one of the two models, the DW model and the HK model. However, sometimes the combination of the characteristics of the two models might be more realistic. Consider that, in the real world, people are simultaneously influenced by their circumstances from different aspects. Some impacts might come from a small environment, for instance, from the partner or family, while others may come from general social environments, such as company and school. From an opinion dynamics perspective, these two types of impacts on opinion could be well described by the interactions adopted in the DW model and the HK model, respectively. The former one is the type of pairwise interaction, corresponding to the situation of a small environment, while the latter one is group-based, fitting for the case of a general environment. Generally, the pairwise and group interactions work together to shape one’s ideas or opinions in real life. Therefore, we are interested to study the opinion dynamics in which both types of interactions are involved in. Furthermore, from an engineering point of view, there would be a cost for interactions between/among individuals which are realized by data transmission and information exchange. Obviously, in the DW model and the HK model, different types of interactions need different communication costs. Thus, we wonder that whether an optimization of the condition for consensus could be found when these two models are combined. If the answer is yes, this method might be also applied to engineering fields to save communication resources and reduce computational complexity. Besides, the idea of combining different characteristics in the opinion dynamics has been considered in previous studies. For example, Chen et al. [30] considered two cognitive styles, field-dependence and field-independence, in public opinion dynamics and proposed a public opinion evolution model based on cognitive styles (CS model). In their model, the individual combines the opinions of neighbors and experiences of himself/herself to update his/her own opinion. Different from their work, we combine two different interactions described by the DW and the HK models, instead of two cognitive styles of individuals. Particularly, we introduce a parameter to control the weights of the two types of interactions and focus on how the combination affects the consensus of the population.

The rest of this study is organized as follows. In Section 2, we introduce the model of the opinion dynamics in detail. In Section 3, we present the results and discussion. Finally, we give a brief summary in Section 4.

2. Model

Consider a population with agents who are located at a complete graph or certain complex network. We set throughout this work. Each agent holds an opinion , which ranges from 0 to 1 and evolves with time . Initially, each agent is randomly assigned with an opinion, and the opinions in the population are uniformly distributed. In each elementary evolution step, a pair of neighboring agents is randomly chosen. If the network is a complete graph, each agent has neighbors. Otherwise, the neighboring agents are determined by the underlying complex networks. Generally, it is assumed that each agent only considers interacting with their neighbors whose opinions differ from his/her own within a certain confidence level, so-called the bounded confidence. For simplicity, we adopt homogeneous bounded confidence for the whole population.

The opinion updates include two ingredients. The first ingredient is determined by the pairwise interaction based on the DW model. We check whether . If it is true, the two individuals update their opinions based on a compromise strategy. That is, after a constructive debate, the two interacting individuals get closer to each other. Otherwise, nothing happens. This ingredient can be formulated as

The convergence rate characterizes how fast the agents are willing to update their opinions towards each other in one round. Here, we set to be 0.5, which means that the two individuals will converge to their average opinions.

The second ingredient is based on the HK model. Following the traditional HK model, the evolution of agents’ opinions can be defined aswhere is the set of agent ’s neighbors (including agent ) whose opinions satisfy at time , and is the number of the agents in the set .

In this work, we combine above two ingredients and assume that the agents update their opinions according to the equations given byin which is a tunable parameter controlling the weights of the two ingredients. If , the model degenerates to the original DW model. At the other extreme , the model turns into the original HK model.

In order to ensure that each agent has a chance to interact with his/her neighbor once on average, we take elementary steps described above in one full Monte Carlo step (MCS). In each MCS, we monitor the opinion changes between two successive MCSs for all the agents whose opinions are updated. If the opinion changes are less than for all the agents in successive 50 MCSs, we claim that a steady state is reached.

3. The Numerical Results and Discussion

We start from the model on a complete graph. We first consider the probability of complete consensus . We simulate the model for different realizations. is defined as the fraction of the realizations in which consensus is reached. The probability of complete consensus as a function of the bounded confidence at several different is shown in Figure 1. When is small, the system can not reach consensus and is equal to 0. With increasing, starts to be nonzero. It has been found that, for the original DW model, the critical bounded confidence is at for the complete consensus. However, is the threshold for , and nonzero actually appears at around , a value for the formation of polar state in which population breaks down into two noninteracting subpopulations. Between and 0.5, there exists a window of for nonzero [14]. Such a window with nonzero can be observed in our model. We denote the critical value of which leads to a nonzero by . As shown in Figure 1, for , when the opinion dynamics only contain the pairwise interactions described by the DW model, , and the window of nonzero exists for , which is consistent with the result in the previous study [14]. One can find that always decreases with the increase of . On the other hand, small leads to the expanse of the window of nonzero . For intermediate , the window of nonzero disappears and rises all the time till it reaches 1. For large , a rapid increase of could be observed when exceeds , while followed by a slightly decrease and then rises again. Finally, when is large enough, goes to 1 for all . Either the less or the expansion of the window of nonzero with suggests that the inclusion of the group interaction favors the consensus in the population. Furthermore, it could be found that reaches 1 when is above another critical value. We denote this critical value of by . These critical values for different are marked by the arrows of corresponding color shown in Figure 1, which will be discussed in more detail later.

The formation of window of for nonzero can be understood by the bridge effect proposed in [14]. The bridge effect is explained as follows. Consider two opinion clusters with a distance larger than . The two opinion clusters cannot interact with each other directly. However, if there exist certain agents holding opinions in between and the opinion differences between these agents and the opinion clusters less than , these two opinion clusters may indirectly interact with each other under the help of these agents. For the original DW model (), the states with opinion clusters is determined by the condition . The state with three opinion clusters transitions to the polarization state with two opinion clusters at . When is just little larger than 0.25, the transition to the polarization state requires a long transient. During the transient time, there may exist agents with such opinions that they are possible to be recruited by the two opinion clusters. The long transient enhances the indirect interaction between the two clusters, which makes these two clusters merge into a consensus state. However, when is not close to 0.25, the transient time is so short that the indirect interaction is weak for the two opinion clusters, and the consensus state is hard to be formed. Consequently, we observe a narrow window of nonzero at close to 0.25 for in Figure 1. When increases from zero, the group interaction described by the HK model steps in. In the presence of the HK group interaction, if there exist agents with opinions in between two opinion clusters, these opinions may stay in between for a long time and the interaction between the two clusters may be assisted by the agents holding these opinions. Such an effect becomes stronger with the increase of , which is in agreement with the observation that the window of nonzero is enlarged with . On the other hand, for the original HK model , increases from zero when , which covers the window of nonzero . Therefore, when becomes sufficiently large, the nonmonotonic of with due to the window of for nonzero is replaced by a monotonic increase.

Figure 1 shows that, for intermediate values of , there exists an optimal , which leads to a maximum . In order to present a clear picture for the optimization of with , we show the probability of complete consensus against at several different in Figure 2. From Figure 2, one can see that, when is small, increases rapidly with the increase of and reaches a quite high level, even close or equal to 1. In a certain range of (from about 0.1 to 0.3), can hold a high value. Then, with the further increase of , decreases slowly. It can remain in a relatively high level greater than 0.8, even when . The results are consistent with those shown in Figure 1. In addition, although the differences between these curves for different are not great, we still can find that, the larger the bounded confidence is, the higher consensus probability can be obtained. The optimization of by can also be explained by the bridge effect. For small , the pairwise interaction due to the DW model is dominant. The formation of distant two opinion clusters is due to the pairwise interaction. However, the opinions between two clusters may stay due to the group interaction of the HK model, which leads to the increase of . The bridge effect increases with . On the other hand, for large , the group interaction due to the HK model is dominant, and the distant two opinion clusters forms due to the group interaction. However, in simulations, we find that the transient time in the HK model is greatly longer than that in the DW model. In the formation of two clusters due to the group interaction, the pairwise interaction makes some agents with opinions hard to be recruited by these clusters. These agents play the roles of producing bridge effects and assist the merging of opinion clusters into one. This type of bridge effect due to the pairwise interaction gets enhanced with the decrease of . Based on the above two types of bridge effects, the optimization of appears. Actually, the optimization of with reflects the collective contribution of the pairwise interaction and the group interaction to the opinion dynamics.

In correspondence with the optimization of by , the critical value at which could be obtained also displays an optimization by . To show it, we present as a function of the parameter in Figure 3. For small , decreases rapidly with the increase of and reaches its minimum approximately at . Then, rises again with the increase of . The results are consistent with those shown in Figure 1. It can be concluded that the combination of the pairwise and group interactions can effectively reduce , since it supports wider parameter regions for the system to reach the complete consensus.

During the evolution process, opinion clusters can be formed through the interactions among agents. Generally speaking, in the beginning stage, small opinion clusters are formed, and then, small opinion clusters expand. The relatively large opinion clusters may invade smaller ones. Finally, the population tends to be consensus or split into two (polarization) or more (fragmentation) clusters with the same opinion in each of them. Thus, large opinion clusters play a critical role in the final opinion formation. Now, we are interested to explore the impact of on the relative sizes of the largest and the second largest opinion clusters (denoted by and , respectively) and the number of clusters . To measure the cluster size and count the number of clusters in the steady state of the opinion dynamics, we need to define opinion clusters. To do it, we sort out agents in the ascending order of their opinions. Two successive agents belong to different opinion clusters if the opinion difference between them is larger than the bounded confidence. The results are shown in Figure 4. When is small , and both increase with the increase of in a similar way. The system evolves into many opinion clusters (shown by in Figure 4(c)). The population cannot reach the state of complete consensus. When further increases, increases while decreases. At the same time, the number of clusters decreases rapidly. When is close to , approximately equals to 1, which means that most of the agents form a giant opinion cluster. Meanwhile, drops close to 0, and becomes very small. Finally, when is large enough , all agents can always form a single cluster, where equals to 1. To be noted, the optimization of by can be observed by careful scrutiny of shown in the inset of Figure 4(c). The curve of for is first reaching 1 with the increase of , which implies the existence of the optimal for obtaining the consensus state.

To further show the effects of different on the opinion formation, we present the distribution of opinions in the steady states in Figure 5, which is based on all different realizations. From Figure 5, it can be easily found that is symmetrical about . When is close to the optimal value which maximizes (for example, ), the agents’ opinions in the population are mainly concentrated around 0.5. In contrast, for other , the distributions become fragmented. It is worth noting that and 1 correspond to a single type of interaction, pairwise or group one, respectively. By comparison, we can conclude that the combination of these two types of interactions could efficiently promote consensus in the population.

Finally, we investigate the model on Erdös and Rényi (ER) random networks [31] instead of a complete graph, and the results are shown in Figure 6. One can see that the results for ER networks remain qualitatively unchanged when compared with those obtained on a complete graph. From Figure 6(a), we can still find two critical points of . Once goes beyond , the consensus state is possible to be reached and , and when it exceeds , consensus can be always obtained and . Moreover, first increases and then decreases with the increase of , and the optimization of by could be easily found in Figure 6(b). The promotion effects of consensus by the combination of pairwise and group interactions are robust to the changes of the network topology structure.

4. Conclusion

In this work, we propose a novel opinion dynamics by combining pairwise interaction and group-based interaction in the model, which are based on the traditional DW model and HK model, respectively. In particular, we introduce a tunable parameter to control the weights of these two types of interactions. By numerical simulating the model, we find that the combination of the two types of interactions could efficiently promote consensus in the population, and there exists an optimal which can lead the consensus probability to its maximum. Moreover, we show that, at the optimal , a minimum critical bounded confidence can be obtained, over which the system can always reach consensus. Furthermore, we present the results for the relative sizes of the largest and the second largest opinion clusters, the number of opinion clusters, and the distributions of opinions in the population to show the opinion formation in the steady states. We also check the robustness of the results on ER random networks.

For simplicity, we use the homogeneous bounded confidence in this study. However, it can be noticed that the heterogeneous bounded confidence is common in real life [32, 33]. The opinion dynamics with heterogeneous bounded confidence can be considered in our model in the further research. Moreover, in this work, we assign a uniform to the whole population. However, in the real society, the individuals have different roles. For example, some individuals are leaders while some are followers, and their opinions might be affected in different ways. Along this line, a potential extension to this work would be to consider leaders and followers have different weights for the two types of interactions through different social channels. That is, the values of are related to the roles of individuals. The effects of such role-dependent on consensus is also worthy of investigation in the future study.

Data Availability

The data used to support the findings of this study are available from the corresponding author upon request.

Conflicts of Interest

The authors declare that there are no conflicts of interest.

Acknowledgments

This work was supported by the National Natural Science Foundation of China (Grant nos. 11805021 and 12005043).