Abstract

In a social network, a user is greatly influenced by their neighbors’ opinions, and the user’s opinion updating can be regarded as the prisoner’s dilemma game. In view of such considerations, this paper proposes an opinion evolution and control model based on the prisoner’s dilemma game and gives the corresponding opinion evolution and control algorithm. Under different initial positive opinion proportions, different opinion control levels, and the same control threshold value and under different initial positive opinion proportions, different opinion control levels, and different opinion control threshold values in a scale-free network, the experiments illustrate the opinion evolution trends and control strategies according to the measures of changing the opinion control levels and opinion control threshold values for network regulators. The experiments show that the lower the initial positive opinion proportion is and the smaller (resp., larger) the control opinion threshold value chosen by the network regulators is, the lower (resp., higher) the opinion control level is; the larger the initial positive opinion proportion is and the larger the control opinion threshold value chosen by the network regulators is, the lower the opinion control level is.

1. Introduction

In social networks, the process of public opinion propagation is essentially the process of each netizen propagating their opinions in their community. Based on infectious disease models, Daley and Kendall [1] proposed DK model, thought that there is nothing critical in the process of rumors propagation, and analyzed the influence of randomness and certainty on rumor propagation. Maki and Thomson [2] presented MK model and believed that the first disseminators are controlled to suppress the propagation of rumors. Ising [3] connected the positive and negative of the particle with the positive and negative of the view and put forward Ising model to describe opinion dynamics. Sznajd-Weron and Sznajd [4] further proposed Sznajd model. In their model, they thought that one person will imitate their behavior around people and attract more people to imitate. On the basis of Sznajd model, Deffuant et al. [5, 6] established continuous opinion evolution model, i.e., Deffuant model and Hegselmann–Krause (HK) model. Moreno et al. [7, 8] made the simulation experiment on MK model and found that the clustering coefficient of network greatly influences the rumor propagation in scale-free networks. They further proposed a rumor dynamic model and made simulation experiments on homogeneous and heterogeneous networks. Martins [9] considered that all agents have inherent continuous opinions and external discrete behaviors and presented the continuous opinions and discrete actions (CODA) model. DeGroot [10] considered that the individual opinion is updated by the weighted average of all its neighbors’ opinions and proposed DeGroot model. Friedkin and Johnsen [11] introduced stubborn individuals, extended the DeGroot model, and proposed the Friedkin–Johnsen (FJ) model. In the FJ model, individual opinion is updated by the weighted average of the convex combination of all its neighbor nodes’ opinions and its opinion of innate belief. Gong et al. [12] improved the FJ model, proposed a structural-hole-based approach to control public opinion, and analyzed the influence of ordinary users and structural hole users on opinion evolution. Evidently, these researches mainly focused on the opinion evolution rules and the opinion dynamics environments to depict the public opinion evolution laws in social networks.

To understand the ubiquitous existence of cooperative phenomena in the process of opinion evolution, some scholars introduced the game theory into the process of the opinion evolution and propagation in social networks. Liu et al. [13] thought that opinion propagation process is just the process of different strategy choices and applied the game theory to opinion evolution models. Li et al. [14] studied the rumor propagation based on the evolutionary game and investigated the influences of the penalty coefficient and negative message risk factor on the opinion propagation. Hilbe et al. [15] studied the evolution of extortion in iterated prisoner’s dilemma games and found that the extortion is not a stable outcome of evolution but can catalyze the emergence of cooperation. Xu et al. [16] studied the evolution of cooperation structured populations in the context of repeated games by unconditional cooperation, unconditional defection, and extortion strategies and found a nontrivial role of the population structure and the microscopic strategy dynamics in the evolution of cooperation. Nowak and May [17] first adopted the prisoner’s dilemma model to study the cooperation evolution of group organizations in rule network and found that the persons with the same strategies are gradually concentrated in a denser group by the self-organization evolution. Tang et al. [18] studied the effects of average degree on cooperation-based prisoner’s dilemma game in random networks, small-world networks, and scale-free networks.

To the best of our knowledge, few scholars studied that the opinion evolution and control based on the prisoner’s dilemma game. This paper aims to establish the opinion evolution and control model and corresponding opinion evolution and control algorithm and finds the relationships among the initial positive opinion proportions, opinion control levels, and opinion control threshold values, providing a wide variety of control strategies for network regulators in social networks.

The remainder of this paper is organized as follows. Section 2 establishes the opinion evolution and control model and the corresponding algorithm based on prisoner’s dilemma game in detail. Section 3 carefully makes some experiments under the different initial positive opinion proportions, different opinion control levels, and same or different opinion control threshold values in scale-free networks. Finally, Section 4 summarizes this paper and gives some future research directions.

2. Opinion Evolution and Control Based on the Prisoner’s Dilemma Game

In a social network, users mainly propagate two different opinions: positive opinion and negative opinion. Considering that a user is greatly influenced by its neighbors’ opinions and inspired by the prisoner’s dilemma game [15], we take two arbitrary adjacent users as two players, and consider two strategies: positive opinion propagation and negative opinion propagation for them. When two users choose the positive opinion propagation (resp., negative opinion propagation), each player obtains the payoff (resp., ). When two players choose different strategies, the player who chooses the cooperation strategy gains the payoff , and the other player obtains the payoff . In general, the relationship among the four payoffs is and . In particular, the donation game is a game where the player who chooses cooperation strategy pays a cost to provide a benefit for the other player with , resulting in the parameters , and . For simplicity, we set in the following.

For two adjacent users and , let denote by the payoff of the user from the user , and let the values of negative, neutral, and positive opinions of be denoted by , respectively. Because the users holding neutral opinions are not susceptible to or influenced by others, we only consider the users holding positive and negative opinions and their interaction. Then, we can obtain the payoff of user from user :where .

Denote the set of all neighbors of user by . Then the total payoff of user , that is, from its all neighbors, denoted by , is the following:

Let and stand for the strategy, i.e., positive opinion propagation or negative opinion propagation, and the number of the neighbors of user , respectively. During the game, user continues to update its strategy based on its neighbors’ payoffs and its payoff. Then we assume that randomly chooses a strategy from one of their neighbors, say with the strategy , as their updating strategy, and the updating probability can be defined as

In a social network excluding the nodes of neutral opinions, let (resp., ) denote the proportion of the users holding positive opinions (resp., negative opinions), simplified as positive (negative) opinion proportion in the following, at some time. As users continue to change their opinion propagation strategies, the values and vary continuously. If the values , , and in the network, we call the network as positive, neutral, and negative opinion networks, respectively. For the neutral opinion network and negative opinion network, we need to employ some control strategies to change the networks into positive opinion networks.

When the proportion of the users holding positive opinions (resp., the proportion of the users holding negative opinions ) reaches a control threshold value, denoted by , the network regulators should adopt the control strategy, such as persuading users, providing some positive information to change some users’ opinions, to reduce the proportion of negative opinions in the social network. For user holding a negative opinion, we assume that the penalty variable that represents opinion control level for the payoff of iswhere is a parameter, stands for the average degree of the network, and . The higher the opinion control level, the greater the costs that the network regulators need. Obviously, when , implies that the user is not controlled by network regulators in the network. Then, we further get a new payoff with opinion control level for user , denoted by as follows:where . Obviously, when , we have . Similar to the former user’s strategy updating principle, a user randomly chooses the strategy of one of their neighbors, say with the strategy , as their updating strategy, and the updating probability is

Now, we propose an opinion evolution and control algorithm based on prisoner’s dilemma game (PDG-OEC algorithm) as follows (Algorithm 1).

Input: Social network excluding the nodes of neutral opinions, ,
Output: The final
(1)Calculate the average degree of the graph : ;
(2)Compute the total payoff for each ;
(3)Update the strategy of the user by randomly choosing a strategy of some
with the probability ;
(4)Count the proportion of the users holding positive opinions:
(5)whiledo
(6)Output the value
(7)whiledo
(8)fordo
(9)Compute the payoff with opinion control level for each :
;
(10)Update the strategy of user by randomly choosing a strategy of some
with the probability ;
(11)end for
(12)Output the final under different opinion control level , .

For the network regulators, they can control opinion evolution trends in social networks by flexibly changing opinion control levels and opinion control threshold values based on the PDG-OEC algorithm.

3. Experiment

As the connections of nodes (nodes’ degrees) in social networks obey power law distribution, we will adopt the scale-free network [19] to make simulation experiments on the proposed opinion evolution and control model and the PDG-OEC algorithm. To illustrate the effect of network topology on our model, we set the parameters of scale-free networks with 1000 nodes as follows. The number of the initial nodes is ; the number of newly added nodes in each time is , respectively. On the five scale-free networks, when the proportion of the initial positive opinion (initial proportion) is , we obtain five opinion evolution trends as shown in Figure 1. By comparison, it is found that the positive opinion proportions are slowly descending to a stable state (even tend to zero) in all networks. The reason is that, under the opinion evolution model based on prisoner’s dilemma game, if two adjacent users choose different strategies, then the user who chooses negative opinion propagation gains more payoff compared to another user, resulting in users tending to choose negative opinion propagation in the networks. In fact, compared to true information, rumors (false information) are more easier to propagate from one user to others and to be accepted by users to some extent. When , the positive opinion proportion in the corresponding network declines the slowest compared with three other networks. For our experiment purpose, the scale-free network with the parameters and will be chosen. For the newly added nodes, their initial strategies are randomly chosen from positive opinion propagation and negative opinion propagation.

In the following experiments, we directly set , and then the opinion control level is , abbreviated as .

Next, we analyze the opinion evolution trends in the scale-free network under the different initial proportions, opinion control levels, and opinion control threshold value (see Figure 2). In Figure 2(a), when the initial proportion , if , it has no effect on the trend of network opinions; if , the positive opinion proportions are increasing to a small extent and are controlled within the range of 0.1 to 0.2, respectively; if , the control effect is significant, and the positive opinion proportion continues to rise more than 0.5. It can be seen that, under the initial proportion , the network regulators should adopt the opinion control level 5 to achieve positive opinion network. In Figure 2(b), when the initial proportion , if , the positive opinion proportion is controlled about 0.15, a stable state; if , the positive opinion proportion increases continually in excess of 0.5; if , the positive opinion proportions go up to 1, keeping a stable state, respectively, and the larger is, the faster it goes up. It can be seen that, under the initial proportion , the network regulators should adopt the opinion control level 2 to achieve positive opinion network. In Figure 2(c), when the initial proportion , if , the positive opinion proportion just exceeds 0.1, a stable state; if , the positive opinion proportion just exceeds 0.3, a stable state; if , the positive opinion proportions keep going up, respectively. After the 16th time step, the larger is, the faster it goes up. It can be seen that, under the initial proportion , the network regulators should adopt the opinion control level 2 to achieve positive opinion network. In Figure 2(d), when the initial proportion , if , the positive opinion proportion quickly reaches about 0.52, a stable state, at the 7th time step; if , the positive opinion proportions rapidly increase and then slowly go up to 1, a stable state, respectively. It can be seen that, under the initial proportion , the network regulators should adopt the opinion control level 1 to achieve positive opinion network. In Figure 2(e), when the initial proportion , if , the positive opinion proportion slowly decreases to 0.2, a stable state; if , the larger is, the faster the positive opinion proportion increases; finally, the positive opinion proportions are stable at 0.6 for and at the range of 0.9 and 1 for . It can be seen that, under the initial proportion , the network regulators should adopt the opinion control level 2 to achieve positive opinion network. By comparison of Figures 2(a)2(e), under the control threshold value , if the positive opinion proportion , the network regulators need to choose the opinion control level 5; if the initial proportion , they can choose opinion control level 2 to change the negative opinion network and neutral opinion network into positive opinion networks.

Now we discuss opinion evolution trends under different positive opinion proportions, opinion control threshold values, and opinion control levels in the scale-free network. For simplicity, in the following experiments, we only consider opinion control levels 1, 3, and 5 (i.e., ), called low, medium, and high control levels, respectively.

For the initial proportion , from Figure 3(a), it is shown that if the network regulators adopt the low control level , while , the positive opinion proportions add in small increments and then slowly go down below 0.1; meanwhile, when , the positive opinion proportion increases to about 0.15, a stable state. This implies that, under the initial proportion , the network regulators using the low control level cannot change the network opinion trends whenever . From Figure 3(b), for the medium control level and , the positive opinion proportions all continuously increase over 0.5; in particular, for , the positive opinion proportion rises the fastest. It shows that, under the initial proportion and , the network regulators should select to begin to control the network state, a low cost. From Figure 3(c), for the high control level and , the positive opinion proportions all rapidly go up over 0.5 and reach the final stable state value about 0.94; in particular, for , the positive opinion proportion rises to the stable state at the first speed. This presents that the network regulators should opt to start to control the network state, a low cost, for . Combining the above analysis, it is concluded that if the initial proportion , the network regulators should select medium control level and , which needs a low cost to change the negative opinion network into the positive opinion network.

For the initial proportion , from Figure 4(a), it is shown that if the network regulators adopt the low control level , while , the positive opinion proportions decline about 0.15, a stable state; meanwhile, when , the positive opinion proportion presents small fluctuation and is finally stable at 0.2; when , the positive opinion proportion slowly rises to 0.24, a stable state; when , the positive opinion proportion slides to 0.04, a stable state. This implies that, under the initial proportion , the network regulators using the low control level cannot change the network opinion trends into a positive opinion network whenever . From Figure 4(b), if the network regulators choose the medium control level , while , all positive opinion proportions constantly increase between 0.9 and 1 and, respectively, reach different stable states; when , the positive opinion proportion first rapidly declines and then rises almost linearly over 0.6, an unsteady state. In this case, the network regulators should select to begin to control the network state, a low cost. From Figure 4(c), for the high control level , while , all positive opinion proportions increase at almost the same speed and run up to about 1, a stable state; when , the positive opinion proportion increases almost linearly at 0.75, a stable state. In this case, the network regulators should choose to start the network control, changing the network into positive opinion network, a low cost. To sum up the analysis, it is concluded that if the initial proportion , the network regulators should select medium control level and to change the negative opinion network into the positive opinion network, a low cost.

For the initial proportion , from Figure 5(a), if the network regulators choose the low control level , while , the positive opinion proportion rapidly decreases to 0.09, a stable state; when , the positive opinion proportion rapidly descends to 0.2 and then slowly falls to 0.15, a stable state; when , the positive opinion proportions slowly go up to 0.35, a stable state; when , the positive opinion proportion slowly ascends to 0.41, a stable state. This implies that, under the initial proportion , the network regulators using the low control level cannot change the network opinion trends into a positive opinion network whenever . From Figure 5(b), if the network regulators choose the medium control level , while , the positive opinion proportions continuously increase over 0.5 and then reach the stable value 1 at almost the same time step; compared with the former three cases, while , the positive opinion proportion slowly goes up to 0.9, a stable state; when , the positive opinion proportion increases to 0.51 at the lowest speed, a stable state. It is concluded that, in this case, the network regulators should choose to control the network opinion trends into a positive opinion network, a low cost. From Figure 5(c), if the network regulators choose the high control level , while , the positive opinion proportions continuously increase over 0.5 and then reach the stable value 1 at almost the same time step; compared with the former two situations, while , the positive opinion proportions go up to 0.94 at almost the same growth rate, a stable state; when , the positive opinion proportion slowly increases over 0.5 and does not reach a stable state. It concludes that, in this case, the network regulators should choose to control the network opinion trends into a positive opinion network, a low cost. Combining the above analysis, it is concluded that if the initial proportion , the network regulators should select medium control level and , which needs a low cost to change the negative opinion network into the positive opinion network.

For the initial proportion , from Figure 6(a), if the network regulators choose the low control level , while , the positive opinion proportions rapidly decrease and stabilize at 0.23, 0.15, and 0.08, respectively; when , the positive opinion proportion first rapidly descends and then slowly goes up to a stable value 0.37; when , the positive opinion proportion quickly goes up to 0.47 and then slowly decreases the stable value 0.37. This presents that, under this case, the network regulators cannot change the network opinion trends into a positive opinion network whenever . From Figure 6(b), if the network regulators choose the medium control level , while , the positive opinion proportion quickly goes up to the stable value 1; when , the positive opinion proportions present a brief reduction and then rapidly increase to 0.95, a stable state; when , the positive opinion proportions first rapidly descend, then continuously go up more than 0.5 and 0.37, and finally do not reach the stable state. This shows that, under this case, the network regulators should choose to change the network opinion trends into a positive opinion network, a low cost. From Figure 6(c), if the network regulators choose the high control level , while , the positive opinion proportions quickly go up to the stable value 1 at almost the same speed; when , the positive opinion proportions present a brief reduction and then continuously increase to different stable values 0.98, 0.92, and 0.62, respectively. This shows that, under this case, the network regulators should choose to change the network opinion trends into a positive opinion network, a low cost. To sum up the analysis, it is concluded that if the initial proportion , the network regulators should select medium control level and , a low cost, to change the negative opinion network into the positive opinion network.

For the initial proportion , from Figure 7(a), if the network regulators choose the low control level , while , the positive opinion proportion slowly increases between 0.5 and 0.6 and then slowly decreases to 0.5, no stable state; when , the positive opinion proportions first rapidly descend and then slowly decrease to the stable values 0.35, 0.19, 0.19, and 0.08, respectively. This presents that, under this case, the network regulators cannot change the network opinion trend into a positive opinion network whenever . From Figure 7(b), if the network regulators choose the medium control level , while , the positive opinion proportions quickly decrease and then continuously go up to the stable values 1, 0.98, and 0.8, respectively; when , the positive opinion proportions present a brief rise and then continuously increase to more than 0.5. This shows that, under this case, the network regulators should choose to change the network opinion trend into a positive opinion network, a low cost. From Figure 7(c), if the network regulators choose the high control level , while , the positive opinion proportions all first decrease and then continuously go up. Practically speaking, while , the positive opinion proportions rise to the stable value 1 at almost the same speed; when , the positive opinion proportion increases to the stable value 0.98; when , the positive opinion proportion goes up to more than 0.9 but does not reach a stable state; when , the positive opinion proportion presents a linear increase and eventually exceeds 0.5. This shows that, under this case, the network regulators should choose to change the network opinion trends into a positive opinion network, a low cost. Combining with the analysis, if the initial proportion , to reduce network control cost, the network regulators should choose medium control level and to change the current opinion network into the positive opinion network.

According to the above experiments, it is concluded that, for the network, the lower the initial positive proportion is, the lower (higher) the opinion control level is, while the control opinion threshold value is chosen smaller (larger); the higher the initial positive proportion is, the lower the opinion control level is, while the control opinion threshold value is chosen larger.

4. Conclusion

As a user’s neighbors impact the opinion of the user strongly and the process of users’ opinion evolution can be considered the process of the prisoner’s dilemma game, this paper proposes an opinion evolution and control model based on the prisoner’s dilemma game and gives the corresponding opinion evolution and control algorithm, i.e., the PDG-OEC algorithm. For our purpose, based on the PDG-OEC algorithm, we first analyze the parameter selection of our experimental scale-free network. Then we make two types of simulation experiments in the scale-free networks. Under the different initial proportions, opinion control levels, and the same control threshold value, and under the different positive opinion proportions, opinion control levels, and opinion control threshold values in the scale-free network, the experiments show that if the initial positive proportion is lower, then the opinion control level needs to be lower (higher), while the control opinion threshold value is adopted smaller (larger); if the initial positive proportion is higher, then the opinion control level could be chosen lower, while the control opinion threshold value is chosen larger. The future work is finding more compatible game models to depict the opinion evolution and control in social networks and making some opinion evolution and control game models in the real social networks.

Data Availability

Data sharing is not applicable to this article as no datasets were generated.

Conflicts of Interest

All authors declare no conflicts of interest.

Authors’ Contributions

The authors claim that the research was realized in collaboration with the same responsibility. All authors read and approved the last version of the manuscript.

Acknowledgments

This work was partially supported by the National Natural Science Foundation (nos. 61802316, 61872298, 61532009, and 61902324), Chunhui Plan Cooperation and Research Project, Ministry of Education of China (nos. Z2015109, Z2012030, and Z2015100), “Young Scholars Reserve Talents” program of Xihua University, Scientific Research Fund of Sichuan Provincial Education Department (nos. 15ZA0130 and 16ZA0157), Science and Technology Department of Sichuan Province (nos. 2017HH0083, 2018GZ0096, and 2019GFW115), the Natural Science Foundation of Xinjiang (NSFXJ) (no. 2019D01B10), Key Scientific Research Fund of Xihua University (no. z1422615), Open Research Subject of Key Laboratory of Security Insurance of Cyberspace, Sichuan Province (no. szjj2015-057), Open Research Subject of Key Laboratory of Grain and Oil Engineering and Food Safety, Sichuan Province (no. szjj2016-023), and Outstanding Young Scholar Development Scheme, School of Computer and Software Engineering, Xihua University.