Considering the impact that physical distance and other properties have on the change of opinions, this paper introduces an intension model of the Hegselmann-Krause (KH) model—heterogeneous interaction (HI) model. Based on the classical KH model, HI model designs new interaction rules and the interactive radius considering the impact of heterogeneous attributes, such as physical distance, individual conformity, and authority. The experiment results show that the opinion evolution of the HI model will be similar to the classic KH model when the interactive radius is above the particular threshold value (). Unlike the KH model, which leads to the polarization phenomenon; most agents reach a consensus in HI model when the confidence radius equals 0.2, and the interactive radius remains within regulatory limits (). The conclusions show that interactive radius affects public opinion evolution. HI model can explain more conscious opinion evolution in real life and has significance that effectively guides public opinion.

1. Introduction

As a social phenomenon in the social system, public opinion has attracted considerable interest from researchers in different scientific fields. A news article may spread globally in just a few seconds and further becomes a macroscopic network for public opinion [1]. Such rapid transmission can adversely affect people’s normal and orderly lives, a state which may have considerable effect on the order of our society. If the propagation law of public opinion in communications media and new media is allowed to play out, it will result in negative consequences for social stability in certain locales and situations. Public opinion evolution is a highly complex process [2] and it is influenced by individual and environmental factors with dynamics [3]. The evolutionary model of public opinion is becoming a focal point for research in the study of public opinion.

At present, the most frequently used opinion dynamics models include the Deffuant model [4], Hegselmann-Krause model [5], and Sznajd model [6]. The KH model is the typical model. At each discrete time, every individual sets the average value of the neighbor’s opinion, which is less than a confidence threshold, as the next moment individual’s opinion in the KH model. With the change in size of the confidence threshold, the overall evolution of public opinion is divided into discrete, polarization, and consensus [7, 8], which is similar to real life situations. In real life, however, the update of an individual’s opinion will be affected by a variety of aspects, such as psychological factors and social influence. The evolutionary process will be more complex.

In a recent study, considering the different environments and conditions in the evolution process, many improved KH models were put forward. When public opinion evolution occurred on the Internet, considering that the individual is unable to obtain all individuals’ opinions, Chen et al. [9] proposed a high-effect priority bounded confidence model based on confidence threshold and social influence and it contains a dual mechanism. In real life, all individuals are not the same, and their confidence thresholds are different. Lorenz [10] proposed an improved KH model, wherein the confidence threshold is heterogeneous, and divided the agents into open-minded and closed-minded agents. Considering the influence of authority control on the public opinion, Chen et al. [11] proposed a network model of pinning control. Considering the opinion exchange between individuals is not decided by unilateral decision, the model considers the interplay between individual ability factors; Liang et al. [12] put forward an opinion dynamics model based on heterogeneous confidence parameters and social power; but this model only considers the heterogeneity of individual confidence threshold, without fully considering individual heterogeneity. In 2013, Jalili [13] put forward an opinion evolution model based on the difference in individuals and imported social influence on a small number of individuals and then used this small group to guide attitude change. This model defines social influence that is based on the difference of the network topology and ignores the individual’s heterogeneity on the role of social influence. Although the above models consider many factors during evolution, they still lack consideration of some aspects, such as individual heterogeneity and interactive radius.

Previous studies have explained the public opinion phenomenon in a real society but rarely consider the impact of spatial constraints on opinion exchange. They assume that individuals are homogenous and failed to consider different individual attributes. In fact, full contact of any person to all the other individuals is impossible. As personal resources are finite, there is a limit on communication space, assumed as spatial constraints. Through long-term survey, psychologists found that with closer geographical location, individuals have more communication and interaction. Li and Zhang introduced an eyeshot mechanism similar to spatial constraints and investigated the effect of eyeshot on opinion dynamics. However, the model is set on square lattices, and individual property heterogeneity is not considered [14]. If all other conditions remain the same, adjacent people have more opportunity to meet with each other and know more about each other and, thus, are more likely to form a trust relationship. Individuals, who live in different localities, form social groups with different languages, cultural background, religious belief, and national tradition owing to the natural geological barriers. The same social groups of people have a higher recognition and trust level, and the communication between each other is more easily and more likely to have a similar attitude because of factors such as language and culture. Communication between individuals of two different social groups may produce the opposite results owing to background difference. In general, language, cultural background, religious beliefs, traditional factors, and so forth have the characteristics of geographical location convergence.

In this thesis, we introduce spatial constraints into modeling the evolution process of public opinion. Local communication is formed under the limitation of physical distance between two individuals. Combined with the researches in psychology and sociology, new factors including individual attributes, personality characteristics, and public authority are expressed quantitatively. Using the agent-based method, an evolutionary model of public opinion based on physical distance is developed. Through comparisons with two classical bounded confidence models, our results are in good agreement with the new features in the expansion of human communication and provide a comprehensive explanation for the evolution of public opinion in real social systems.

2. Heterogeneous Interaction Model

In this section, we construct an evolution model—Heterogeneous Interaction Model (HI). Firstly, we provide a detailed illustration about some related definitions, which play a vital role during the evolution process. Based on these preliminaries, we provide a description of some assumptions about the model. Subsequently, we present the algorithm of HI model.

2.1. Attributes of Individuals

In previous studies of opinion modeling, the heterogeneity of individuals has been unrepresented and individuals in social networks were assumed to be identical. It is evident that different social individuals manifest various social attributes and have different ways of forming their opinions. In our model, several important influence factors are abstracted and quantified to represent the heterogeneity among individuals.

(1) Character Trait. It can be concluded that opinion formation is greatly affected by character trait of a person. In the real world, the degree of belief in rumors depends on the individual itself. A conformity parameter is defined to measure the different degree of opinion variation. is assigned to agent to denote the individual conformity [15] of agent . Extremists are introduced on behalf of the type of people who refuse to change their attitude or wholly follow others in the evolution process. In general, extremists only take a small portion. Conformity parameter assignment is based on the principle of 80/20. The Italian economist Pareto proposed the 80/20 rule. He believes that for many events, the most important part, which plays a decisive role, is only approximately 20% and the remaining 80% is secondary and nonconclusive. After long-term exploration, many imbalance phenomena in life have been discovered that can be explained by the 80/20 rule, which has been widely used in fields such as sociology and business management. In our model about 20% of people are considered as extremists and 80% of individuals are ordinary individuals. The values are taken into account according to the following criteria (Figure 1):(a)10% of individuals are the dogmatic people with = 0.1.(b)10% of individuals are the copycats with = 0.9.(c)80% of individuals are the easy-going people with = 0.5.

(2) Geographic Position. Spatial constraints are quantified through the physical distance between two individuals. Hence, geographic position is introduced to compute the physical distance between two individuals. Geographical position determines the community a person belongs to. The physical distance between two individuals determines local communication with others in the system, which is a better way to describe information exchange in a so-called realistic society. The reference collection one can communicate with is decided by geographic position, which is the core condition for modeling opinion dynamics. We use two-dimensional coordinates to represent geographic positions of individuals. is assigned to agent to denote the geographic position of agent . The maximum value of both and is . The physical distance between agent and agent is quantified as

An interactive radius parameter— is assigned to agent on behalf of the communication ability. determines the reference collection one has access to.

(3) Public Authority. Generally speaking, individuals of high prestige or great social power would be more widespread and have greater acceptance among common people. To represent the diversity of attributes among individuals, a public authority parameter is assigned to each agent regarding social influence on neighbors in opinion exchange, which is related to the individual attributes.

To quantify the individual public authority [16], we refer to the fifth population census data of China and consider age, economic level, and educational attainment as the three most important factors in determining public authority. Other issues are considered as a random factor. The public authority of the individual is computed aswhere and , respectively, denote the age, economic level, educational attainment, and a random factor. The values of public authority are a real number between , distributed as Figure 2. A public authority is entirely different from social power [13]. The definition of social power is , where is the degree of the individual . Social power only considers the heterogeneity impact of network topology, without taking into account individual attributes. Public authority proposed in our model is only related to individual attributes.

2.2. Model Assumptions

Before we model the evolution process, we give a description of some assumptions about the model.(a)Opinion evolution follows the principle of bounded confidence, which means that only people with similar opinions talk to each other.(b)As individual resources are finite; it is impossible for any individual to get in touch with all the other persons and there is a limit on the communication space, assumed as spatial constraints.(c)Different social individuals manifest various social attributes and social power.(d)Public media is ignored during the process of opinion evolution.

2.3. Algorithm Description

By the above hypothesis, we now present the HI model according to the behavior characteristics of individual interaction. Consider a system consisting of agents. Assume that agent keeps a real number representing his/her initial opinion randomly distributed in the range of 0~1, where 0 stands for extreme agreement and 1 stands for extreme disagreement. All of the agents have the same confidences radius and the same interactive radius . At each discrete time , opinion update process is performed once including the reference collection calculation, exchange collection calculation, and opinion update in turn.

(1) Reference Collection Calculation. Under the condition of spatial constraints, only individuals within a certain range of space would be considered when the individual interacts in perspective. Moreover, the collection constituted by these individuals is called a reference collection of the individual . For a given time , the physical distance radius of the individual defines the size of the reference collection. The reference collection of individual can be calculated as follows:

In the above equation, the physical distance radius is a fixed constant.

(2) Exchange Collection Calculation. According to the size of their trust in the neighborhood, an individual with a certain scope of opinion difference would be chosen. The collection constituted by these individuals is called exchange collection of the individual . For a given time , the exchange collection of node is decided by the radius of trust and reference collection . Its can be calculated as follows:

As can be seen from the equation, the individual is excluded from the exchange collection by the filtration of reference collection in HI model. However, the individual himself must be included in the exchange collection of classical limited trust model. Therefore, the exchange collection of HI model may be empty.

(3) Opinion Update. When the exchange collection is determined, the system begins to exchange opinions. In the next moment, the individual maintains his current opinion with probability and is affected by his trusted friend with probability ; the influence of individual on individual is proportional to the public authority of the individual . When the exchange collection of individual is empty, the opinion of the individual remains unchanged. The opinion of individual at time is expressed as

Opinion updating formula shows that the new opinion of the individual in the next moment is formed under the joint action of the individual’s current opinion, his personality characteristics, the opinion, and public authority of trusted friends.

An algorithm flowchart of our proposed model is shown in Figure 3. Our model operates as follows.

Step 1 (parameter initialization). Set appropriate parameters including the number of individuals, physical distance radius, confidence radius, and evolution time.

Step 2 (essential data generation). According to statistical proportion, essential data is generated to initialize the basic attributes of each agent.

Step 3. Calculate the exchange collection and the current agent change opinion with according to (3) and (4).

Step 4 (opinion update is completed). If the exchange collection is not empty, then the current individual updates his opinion according to (5) at next step or his opinion will remain unchanged. Loop Steps 3 and 4 until all of the opinions achieve stable states. Then the evolution is ended.

Step 5 (evolution result output). Output the time evolution result of the individual opinions, initial opinion distribution curve, and terminal opinion distribution curve.

3. The Opinion Research of HI Model in Full-Connected Network and Scale-Free Network

According to the fifth population census data of China [17], this paper utilizes the statistical data of age proportion, population proportion in different geographical positions, and education level proportion, respectively, in juvenile, youth, middle age, and old age. We obtained the economic condition in the various regions. Geographical distribution proportion, age proportion, and education proportion are presented in Table 1.

The simulation environment is designed as follows:(1)Essential data of 1000 nodal attributes is generated according to the statistical proportion of the fifth national census.(2)The platform for essential data generation is developed in C#. The simulation environment is Matlab 2010b and the database is SQLServer 2008.(3)According to the fifth census data, we can obtain the individual’s physical location (max = 1000). The physical distance between agent and agent is calculated from formula (4). The physical distance distribution is shown in Figure 4.

3.1. The Comparison of HI Model and KH Model

To compare the differences between HI model and classical KH model, this paper compares the opinion evolution of the two models in all connected networks and scale-free networks, under the same individual attributes (confidence radius, physical distance, and initial opinion) distribution. Selections of confidence radius are 0.05, 0.2, and 0.3. The initial opinion is random distribution between (0, 1). Individual authority and conformity are according to the distribution of Figures 1 and 2, respectively. As shown in Figure 4, 80% of the physical distance between two individuals is more than 600. Therefore, the interactive radius is set at 600.

The evolution result in the full-connected network is shown in Figure 5. The Figure indicates that the opinion evolution will be from discrete to polarization, finally reaching a consensus in both HI model and KH model, with the increase of confidence radius. The evolutions of public opinion of two models are similar, and the stable opinions are the same. However, the convergence time is very different. The convergence time of HI model is longer than the convergence time of KH mode. As the limitation of the interactive radius in HI model, the evolution process tends to be slow.

The evolution result in scale-free networks is shown in Figure 6. The opinion evolution will be from discrete to polarization, finally reaching a consensus in both HI model and KH model, with the increase of confidence radius. However, in a scale-free network, no matter what kind of model, the convergence time is longer than that in the full-connected network in the same situation. This is because the number of individual joint nodes is reduced, and it cannot reach a steady state in a short time, which leads to an increase in the convergence time.

From the above experimental result, it shows that the evolution time will be longer when interactive radius limits the HI model. In KH model, without the limitation of interactive radius, individuals can have more easy access to all other individual opinions in the system and update their opinion in a relatively short time. The global opinion could reach a steady state quickly. Also, KH model ignores the interpersonal influence and individual cognitive differences and just puts the average value of the neighbor’s opinion which is less than a confidence threshold with an own opinion as for the next moment opinion. However, the influence of different neighbors on him is not the same, when individual takes part in opinion interaction process in the real world. It makes the individual exchange opinion under limited communication range, increasing the difficulty of the individual to identify the overall environment of public opinion. It causes difficulty in forming their final opinion, and public opinion convergence takes a long time. Based on the actual situation, agents using the improved model can use interactive choice agents to update their opinion under the limitation of the individual’s heterogeneity and cognition degree, although forming the consensus or a stable state needs a long time. Eventually, evolution effect, such as discrete, polarization, and consensus, is similar to classical KH model.

3.2. The Different Interactive Radius Experiments in HI Model

In real life, the different physical distance will affect the interaction between the individuals. This paper considers evolution under a different range of interactive radius between HI model and classical KH model. Considering the scale-free network edge which is similar to individuals in real life, the simulation experiments are conducted in the scale-free networks. Because the opposition between two views (such as vote) in real life, namely, the polarization phenomenon, is common, the confidence radius of two models will be set to 0.2, which is easy to present the phenomenon. The initial opinion distributions of two models are taking the same random distribution.

Figure 7 shows the difference between the opinion evolution of HI model (interactive radius ) and KH model.

The figure shows that the convergence time of HI model is slower than the convergence time of KH model and the final cluster number increase. The main reason is due to the limitation of confidence radius and interactive radius which make the interactive agent number decrease in HI model. To describe the largest cluster in the steady state of public opinion evolution, Yang et al. [18] defined index as the ratio of the individual number of the largest cluster and overall cluster, Luo et al. [19] defined index, and Chen et al. [11] defined as a final number of controlled agents. We choose to describe the individual number of the largest cluster in the steady state. Figure 8 shows, under different interactive radius, the individual number of the largest cluster () in two models.

Figure 8 shows that when the interactive radius is between 150 and 520, the individual number of the largest cluster () of HI model is greater than the individual number of the largest cluster () of KH model. Figure 8(a) shows that the individual number of the largest cluster () of HI model is clearly less than the individual number of the largest cluster () of KH model after interactive rate becomes less than 150. Figure 8(f) shows that after the interactive radius becomes greater than 520, the HI model will eventually show the tendency of the polarization, and the individual number of the largest cluster () is not better than the individual number of the largest cluster () of KH model. This means that the interactive radius of HI model can influence the individual number of the largest cluster () of public opinion. In this case, because of the limitation of interactive radius, most of the nodes can be in the direction of the consensus when confidence radius is small.

From the above, when confidence radius is small, most agents will have a tendency to reach consensus in HI model, but most agents appear to have the trend of opinions polarization in KH model. This is due to the fact that the public opinion evolution of KH model is only determined by the confidence radius, without considering the limitation of actual physical distance in the society. In HI model, both interactive radius and confidence radius affect the agent’s interactive range. When the two parameters are limited to a proper range, most agents will be a consensus by local communication because of the mutual influence.

4. Conclusion

Based on the classic KH model, this paper proposes a new evolution model: heterogeneous interaction model (HI model), in the limitation of physical distance, individual conformity, and authority. The HI model conducts an opinion evolution in the full-connected network and the scale-free network, and the result is compared with the KH model. The result of experiment reveals that the evolutional efficiency of the network model will become slow after adding the limitation of the interactive radius, but the final evolutional situation of HI model and KH model is analogous. In addition, when other conditions are consistent and interactive radius is in a certain range, most agents of HI model will be consensus, but the opinions of agents will be polarized in the KH model. It means that we can limit the interactive radius to make most agents in consensus and control the final guidance of public opinion.

Based on the above experiments, the results prove that the individual heterogeneity and interactive radius have a significant influence in the public opinion evolution, and under the certain constraints of the condition, it can control the individual number of the largest cluster () of the evolution of public opinion. Most of the previous researches ignore the individual heterogeneity and the physical distance between individuals and only consider the confidence radius, so it makes public opinion evolution model too simple, and the evolution process is different with the real-world situations. HI model takes the individual heterogeneity and interactive distance into account, and the evolution process conforms to real-world data wherein the evolution time increases and the final point cluster increases. This means that the HI model is more reasonable in real life in describing the evolution of public opinion and can more effectively observe and predict the actual circumstances of the public opinion evolution by the HI model. In real life, the final result of public opinion evolution is that winner is who have more supporters, namely, the individual number of the largest cluster () is more than 50% of the whole, and HI model can effectively control the individual number of the largest cluster () by controlling the largest interactive distance. To some extent, the public opinion evolution of HI model reveals that the distance between the individuals has a significant influence on public opinion in consensus in real life. This also means that in real life, the authority can change the scope of interactive radius between the individuals to control the final trend of public opinion.

After that, we will conduct a more in-depth research in the individual heterogeneity of the HI model.

Conflicts of Interest

The authors declare that there are no conflicts of interest regarding the publication of this article.


This work was supported by the National Natural Science Foundation of China under Grant nos. 71571081, 61540032, and 91324203.