Abstract

Models of the consensus of the individual state in social systems have been the subject of recent research studies in the physics literature. We investigate how network structures coevolve with the individual state under the framework of social identity theory. Also, we propose an adaptive network model to achieve state consensus or local structural adjustment of individuals by evaluating the homogeneity among them. Specifically, the similarity threshold significantly affects the evolution of the network with different initial conditions, and thus there emerges obvious community structure and polarization. More importantly, there exists a critical point of phase transition, at which the network may evolve into a significant community structure and state-consistent group.

1. Introduction

With the development of the Internet, the method of information spreading mainly depends on online social media, which promotes the formation of consensus in the complex network [14]. Understanding and analyzing the consensus formation can help the explanation and governance of social phenomena, such as public state polarization [5], rumor spreading [6] or riots, segregation, and interactions in cities [7]. The latest research on complex networks shows that consensus is the result of the coevolution of network structure and individual state. In addition, the formation process of consensus can be revealed by an adaptive network [8, 9].

An adaptive network model is a dynamically changing model that can self-organize network connections and update individual states. Models of the consensus in social systems have been the subject of a considerable amount of recent research studies in the physics literature [10]. These models can be categorized into two classes. One focuses on the role of network structure or individual state in the dynamic evolution process. Holme and Newman [10] (hereinafter referred to as the Holme model) proposed a model based on the well-known Voter model [11, 12]. Their model combines state dynamics with assortative network formation, revealing an apparent phase transition between regimes in which one process or the other dominates the dynamics [10]. The other tries to grasp the dynamic interaction of the individual state. A popular model was proposed by Kozma and Barrat [4] (hereinafter referred to as the Kozma model), who investigated how the coevolution of an adaptive network of interacting individuals and the individual’s states influences each other and how the final state of the system depends on this coevolution. Their model is based on the Deffuant model [13] for which a large number of states can coexist (and not only 2 as in the Voter model) [4].

It is observed in these models that network structure, coevolution rule, and distribution of state among social individuals significantly affect the final structure of the network and distribution of state. Furthermore, we find that these models undergo a continuous phase transition, from a regime in which the state is arbitrarily diverse to one in which most individuals hold the same state. Also, it can be controlled by adjusting the relevant parameters of the model [2, 3, 1416].

It can be found that most models try to reveal a general law of consensus by constructing an adaptive network. State convergence can be observed in social media where social networks tend to divide into several groups or communities of individuals with similar states. In addition, adaptive rewiring of links can happen in real-life systems such as acquaintance networks where people are more likely to maintain a social connection if their views and values are similar. An obvious question to ask is why individuals want to change their states or rewire their social connections. In another phrase: what are their initial needs and underlying motivations to change state or adjust structure? However, the Holme model cannot reflect the mutual interaction between individuals in social media. It requires prior knowledge, which depends on certain network structure and individual state information, as a part of coevolution rules. Improved models like the Kozma model focus on simple evolution rules that do not require prior knowledge of the states of individuals to which new links are established. But in their models, all individuals have the same behavior choices in response to different group effects. In other words, individuals are homogeneous, and their heterogeneity is not well reflected.

Up to now, few studies however considered the fact that individuals have different responses when they are in different groups or even when they are in the same group, they may still make different choices because they are heterogeneous. In addition, in the individual’s cognition of the message they received, the “herding effect” is particularly considered. It is believed that individuals will not only make judgments based on their rational expectations but also make decisions based on public behavior. Therefore, we propose a model that focuses on the realistic needs of individuals in a specific environment and the impact of behavioral motivation. To better understand the formation of consensus, social norms and individual psychology are considered in our model. Specifically, we introduce the social identity theory explaining social comparison and self-categorization when individuals face behavior choice. Social comparison and self-categorization both can give rise to realistic levels of agreement between acquaintances. Here, we combine both processes with a single parameter—similarity threshold—controlling the balance of the two processes. We investigate the role of various parameters such as the modularity and the rate of the largest group. We show that the network structure and evolution rules have important consequences on the evolution mechanisms of consensus formation.

The contributions of our work are threefold. (1) There is only one free parameter (similarity threshold), which can highlight the heterogeneity of individuals in the coevolution, in our model. This parameter has a clear meaning in social governance, which is a practice like disclosing and dispelling false information on social media, policy guidance, and behavioral intervention. (2) We make coevolution rules based on social identity theory, individuals’ behavior choices are highly influenced by local relationships, and majority state in a group has a significant effect on individuals. (3) Based on the BA network, we use similarity threshold to explain the polarization and formation of states in social media.

The organization of the paper is as follows. In Section 2, the relevant issues about the basic rules of the existing adaptive network model and social identity theory are discussed. To give a full description of the model, we start our study with the improved evolution rule and methods in Section 3. Then, we discuss the evolution process and experiment results in Section 4. Finally, Section 5 gives the conclusions of this paper.

2.1. Adaptive Network Model Based on Structural Coevolution

The adaptive network addresses the self-organization of complex network structure and its implications for system behavior [1719]. Over the past decades, adaptive networks have been developed and applied to various subjects, ranging from physical, biological to social and engineered systems. Applications of adaptive networks also include the evolution of an organizational network, information/knowledge/culture sharing, and trust formation within a group or corporation [20, 21]. Our study of adaptive networks is in the field of consensus of which models proposed by Holme et al. [10] and Zanette et al. [22] are seminal works.

According to the setting of the Holme model, consider a network of N nodes, representing individuals, joined in pairs by M links, representing social connections between individuals. Each individual is assumed to hold one of K possible states on some topic of interest. The state of individual i is denoted as ki. In each iteration of the model simulation, nodes will perform two basic operations according to the rules: (1) the links are randomly selected and placed between nodes with the same or similar state or (2) the node changes its state to be consistent with the state of the surrounding nodes. Specific rules are shown in Figure 1.

Figure 1(a) represents the formation of new social connections between people of similar states. Figure 1(b) represents the impact of acquaintances on one another. However, the rewiring operation in Step (a) requires certain prior knowledge to guide it. Meanwhile, the one-way influence operation in Step (b) cannot reflect the process of interaction between nodes. Therefore, Kozma et al. [4] proposed an adaptive network model based on the continuous distribution view.

Based on the Holme model and affected by the Deffuant model [13], the Kozma model is proposed. At each time step t, two neighboring nodes are selected, and they communicate if their states are close enough, i.e., if where d defines the tolerance threshold. In this case, the local communication tends to bring states even closer, according to the following equation:or an attempt to break the connection between i and j is made: if , a new node l is chosen at random and the link (i, j) is rewired to (i, l). The tolerance threshold d has an important impact on network regulation, and individual states tend to be homogeneous as d increases. Compared to the Holme model, the Kozma model emphasizes the microinteraction between nodes and controls the state convergence through tolerance threshold d. Also, the Kozma model emphasizes the randomness in the evolution to reduce the model’s dependence on prior knowledge.

It can be found that interaction rule between nodes is the core part of model construction, and the interaction rules in all existing models contain both adjustments of node state and structure. Such adjustment of nodes would affect the whole network structure. However, in most models, the adjustment of one node is affected by another node, and the effect of local structure to the node is completely ignored. Taking the node j in Figure 1(b) as an example, j is consistent with the state of node i with probability 1 − ξ in the Holme model. But according to the social norm, the group state has a great impact on individuals. So, the impact of i on j may be less than that of the other two neighbor nodes. With such a local structure, abstracting the behavior choice of j only based on the probability 1 − ξ does not conform to reality. In the same case, in the Kozma model, the interaction between i and j can be influenced by other neighbor nodes. Moreover, the heterogeneity of nodes is also ignored. In real life, every individual is independent, and his/her behavior choice is affected by various factors such as personality, willpower, education, and so on. But the rewiring probability ξ in the Holme model or the tolerance threshold d in the Kozma model applies to all nodes, which means all nodes in their models are homogeneous. Therefore, existing models are not very similar to what we may observe in real life. The heterogeneity of individuals should be considered, and the interaction between individuals and groups affected by social norms needs to be designed with corresponding rules. So, related theories in sociology need to be introduced to improve related rules.

2.2. The Formation of Consensus in Social Identity Theory

Social identity theory stems from the description of group formation and group relationship by ethnocentrism and realistic conflict theory [23]. Tajfel and Turner proposed social identity theory in 1986 to theorize how people conceptualize themselves in intergroup contexts and how a system of self-categorizations “creates and defines an individual’s place in society” [24, 25]. Tajfel defined social identity as “the individual’s knowledge that he belongs to certain social groups together with some emotional and value significance to him of this group membership.” Social identity can not only help individuals to identify the same social attributes and integrate into specific social groups but also enable individuals to confirm their value realization. This value realization includes both the value of physical capital and the satisfaction of psychological cognition. Figure 2 shows the two stages of social identity: self-categorization and social comparison.

Self-categorization simplifies an individual’s cognition of human society. Individuals usually use simple and independent attributes such as ethnicity, race, class, occupation, gender, and so on to describe things. They categorize themselves into a group with the same or similar attribute to reduce cognition of the complex world. Different attributes and state disagreements create group boundaries. Also, the group boundary formed in self-categorization is the precondition of the feature comparison which triggers the process of social comparison. The differences between groups are magnified in social comparison, thus forming positive heterogeneity. Pursuing positive heterogeneity is also a key part for individuals to realize their value and complete the evolution from individual behavior to consensus.

Overall, social identity enhances individual cognition and the positive heterogeneity formed in social identity is also the internal psychological driving force of individuals’ tendency to group behavior. In the interaction between individuals and groups, the differences between individuals will gradually be weakened through the formation of social identity, which will also help to modify individual behavior choices, thereby forming a consensus. But existing models lack interaction rules between individuals and their groups, so we introduce social identity theory as an interaction rule of individual behavior. We design specific rules based on self-categorization and social comparison to better understand the internal mechanism of consensus.

3. The Proposed Model

In this section, we propose an adaptive network model describing the formation of consensus, which is based on social identity theory.

3.1. Model Definition

According to the above description of the classical social identity theory, social identity leads to consensus. There, we incorporate the social norm into the model rules and define it as a social state of individuals with similar states or attributes. Here, we set an r-dimensional vector abstracting the individual multiple states or attributes and represent it as ωi=, where represents the kth state of the individual i. The state difference between individuals can be expressed by the Euclidean distance:

To normalize equation (2) (d (i, j)), there arewhere represents the similarity between i and j. Formally, close to 1 indicates a higher similarity between individuals; otherwise, it indicates a lower similarity. From the perspective of social identity theory, the self-categorization of social individuals needs to judge the similarity between individuals according to specific social standards. A similarity threshold is introduced here to help with the self-categorization of individuals. The function of self-categorization is given bywhere is the similarity threshold. When , it is considered that individuals are homogeneous, and if there is a social interaction between j and i, it is determined that j is a homogeneous neighbor individual of i; otherwise, it means that there is heterogeneity among individuals. Like the rewiring mechanism in the Holme model and the Kozma model, we abstract self-categorization as a relationship modification process. The establishment of homogeneous relationships is the goal of each individual, and we call this process the structural update mechanism (SU mechanism).

While updating the structure of social relations, strengthening individuals’ cognition is an important part in the formation of consensus. Inspired by the Kozma model’s interaction rules, we design a collective adaptive mechanism (CA mechanism) to abstract the strengthening of individuals’ cognition. Specifically, it is assumed that set Ti represents a set of neighbor individuals of i. According to equation (4), Ti can be subdivided into a set of homogeneous individuals si= {m | δ (i, m) = 1} and a set of heterogeneous individuals hi= {n | δ (i, n) = 0} (si ∪ hi = Ti). In particular, individuals only update their states with neighbors in si, but not in hi. In addition, the individual will update states according to the local average state of si, and the local average state is given bywhere is the average state of the kth state. Similar to the interaction rules in the Kozma model, individuals update their states one by one and update to a new state :where μ is the update parameter of the state; usually, μ ∈ (0, 0.5]. Equation (6) shows that individual will update its states to make sure the convergence to the average state of its homogeneous neighbors.

The above two mechanisms restore the description of the self-categorization and social comparison process and present individual cognitive changes in the formation of consensus. Both mechanisms are influenced by the similarity threshold θ. In social media, the greater the similarity threshold θ, the more heterogeneous the relationships among individuals, and they are more likely to adjust with existing structures, such as unfollowing those who disagree with them. The smaller the similarity threshold θ, the more homogeneous the relationships between individuals, and they are more likely to strengthen the individual’s convergence to the average state.

Compared with the Holme model and the Kozma model, our model is based on social psychology and pays more attention to group pressure on individuals. Also, there are three differences in our mechanism. Firstly, we introduce the similarity threshold in the SU mechanism, where a local structure is updated by the homogeneity between individuals. It is more in line with the interaction of individuals in the real environment. Secondly, in the CA mechanism, we do not introduce relevant parameters such as the tolerance threshold d which has been talked in the Kozma model. Instead, the individual’s cognitive update is realized by the average state of homogeneous neighbors, emphasizing the interaction between individuals and groups, reflecting the individual’s convergence in the formation of consensus. Thirdly, different from the obedience principles in existing models, the convergence in our mechanism emphasizes the impact of local homogeneous individuals, and update rule about the heterogeneous relationships between individuals highlights the impact of social interaction on individual behavior choice. In summary, the mechanism proposed in this paper is derived from the general description of social identity theory. It abstracts the process of individuals classifying themselves into a group by different states and achieving consensus by defining group boundaries. With this process, we can analyze the possible behavioral strategies of individuals based on the specificity of consensus among different groups.

Table 1 presents a brief comparison of the three models. The evolution rules of our model will be introduced in detail below.

3.2. Construction of Adaptive Network Model

Based on the above theoretical modeling, we construct an adaptive network model to simulate the coevolution of the network based on individuals’ structures and states. Specifically, set network represents social relationships between individuals, where represents a set of nodes formed by X individuals, and L represents a set of connected links formed by Y social relationships. Also, the state of each node is a set of r-dimensional vectors ω, and each state of the node obeys a continuous distribution within a certain interval. There is only one controllable parameter, which is the similarity threshold θ. Referring to the relevant settings of the existing model, the state update parameter μ in equation (6) is set to a certain value. The update process of the model at time t is divided into three steps as shown in Figure 3:Step 1: randomly select node and calculate the similarity between and its neighbors based on equation (3). At the same time, referring to the similarity threshold θ, the neighbor nodes of are divided into the homogeneous node-set si and the heterogeneous node-set hi.Step 2: when ‖si‖ ≥ ‖hi‖, as shown in Figure 3(a), the number of homogeneous neighbor nodes of is greater than that of heterogeneous neighbor nodes. The homogeneous neighbor nodes of will calculate their average state based on equation (5); here, it is the average state of and . Nodes and will influence the state of in the direction of the arrow. Node updates its state based on equation (6).Step 3: when ‖si‖ < ‖hi‖, as shown in Figure 3(b), the number of homogeneous neighbor nodes of is smaller than that of heterogeneous neighbor nodes. It indicates that is outside the group at the moment. According to the similarity si. between nodes, use the roulette method to randomly select a node and achieve a rewiring process. It should be pointed out that the target node of the rewiring link is randomly selected.

Based on the above steps, the overall implementation of the model is shown in Algorithm 1.

Input: Network: , Node Status: {ωi}, Number of Iteration Times: itmax; Similarity Threshold: θ
Output: Network: , Node Status: {ωi}
(1)  While t < itmax
(2)   For each node u in :
(3)    Obtain the neighbor nodes set T
(4)     For each node in T:
(5)      Calculate the similarity between node u and node : ;
(6)      If :
(7)       su ⟵ node ;
(8)      Else:
(9)       hu ⟵ node ;
(10)     End For
(11)     If ‖su‖ ≥ ‖hu‖:
(12)      Do Collective Adaptive Mechanism
(13)      For each  ⟵ Σakn/‖su‖, n ∈ su;  ∈ ωn
(14)      For each  ⟵ aku + μ [ak − ]
(15)     Else:
(16)      Do Structural Update Mechanism
(17)      Random Select node n ∈ hu by Roulette
(18)      Rewiring link l (u, n) ⟶ l (u, l)
(19)     End If
(20)   End For
(21)t++
(22) End While

Combined with the information dissemination process in social media, we can think that the impact operation in step 2 is actually the forwarding and dissemination of information in social media and the rewiring operation in step 3 is the shielding and attention of information.

4. Experiments and Results

In this section, we analyze the evolution process and results of the model based on a computer simulation experiment and discuss the impact of parameters.

4.1. Experiment Settings and Parameters

The simulation experiment is divided into two parts: (1) structure evolution experiments of the generated network model, focusing on the impact of parameters on structure evolution under different network structures; (2) state distribution evolution experiments of the generated network model, focusing on the impact of parameters on the distribution of node states under different network structures. For each set of experiments, there are two different initial networks, which are the ER network and the BA network. The reason we use the BA network as an experimental benchmark network is that the relationship structure of most social media platforms such as Twitter and Facebook is a scale-free network [1]. Specifically, the parameters of the generated network model are shown in Table 2:

Based on the generated network, the experiment randomly assigns the initial state of nodes. Then, simulation experiments are carried out based on the model parameters. The initial parameters are shown in Table 3:

The state update parameter μ (μ ∈ [0, 0.5]) is a convergence parameter. In order to simplify the experiment, we make μ = 0.5, which also shows that nodes and will adopt the same intermediate opinion after communication. This setting is consistent with the Kozma model. The parameters related to the network structure, such as the average degree or network density, and the parameters related to the state of the node, such as state dimension r or state distribution, will definitely affect the experimental results, but they are essentially independent of the evolution rules.

The similarity threshold θ is the only controllable parameter in the model. We focus on it to discuss the simulation results. Specifically, let the similarity threshold change in the range of [0.00, 1.00] in the step of 0.05. According to the description in social identity theory, the formation of consensus is also accompanied by the formation of groups, and there are obvious boundaries between groups. To distinguish the group boundaries in network structure and node state, our experiments will measure the groups that may generate from the structure and state, respectively. For the structure groups, it is expressed as community structure [26], and modularity [27] is used to measure the community structure; the calculation is given bywhere aij is adjacency relations between and ; and represent the degree of the two nodes; L is the number of edges in the network; and σ (Ci, Cj) indicates whether nodes and belong to the same community. If so, σ (Ci, Cj) = 1; otherwise, σ (Ci, Cj) = 0. According to Newman’s description of modularity, when Q ≥ 0.3, it is assumed that the network has a community structure. There are many methods to detect community structure. In this paper, we use the method proposed in [28] to detect the community structure. It can detect the community structure based on the local attributes of nodes, which is suitable for the design in our rules about node states and local structures.

For the state groups, we distinguish them by the Euclidean distance between its states’ point and the coordinate origin based on the equation (2). By statistical sorting of , a set of nodes within one standard deviation is regarded as a group, and the characteristics of state group is described by the ratio of the largest group’s node size Smax to the network node size N. Formally, Smax/N is closer to 1 which indicates that there is only one unique state group in the network; otherwise, there may be multiple state groups.

The experimental environment is Python 3.7, and the operating environment is Intel(R) Core(TM) i7-4790 CPU @ 3.60 GHz with 24.0 GB RAM. Since the model contains random distribution parameters, all the results are the average results of 30 runs under the same parameter setting.

4.2. Experiment Results of Structure Evolution
4.2.1. Analysis of the General Evolution Process

We conduct experiments on the modularity of the network during model evolution. Figure 4 shows the modularity changes during the evolution of the networks.

In general, with the iteration in our model, the modularity of the two networks continues to increase. It indicates that our model can realize the evolution of the network structure and promote the formation of community structure, which is a structure group. Specifically, the SU mechanism in our model can effectively adjust the local structure of nodes, thereby continuously strengthening the community structure and realizing the structure aggregation of individuals. It can be found that the modularity of the ER network is bigger than that of the BA network. We think it is related to the initial network structure. Although the modularity values differ under different similarity thresholds, the evolution law of the model is relatively consistent.

4.2.2. Impact of Similarity Threshold on Structure Evolution

We further investigate the impact of the similarity threshold on the structure evolution.

As shown in Figure 5, the modularity value is generally affected by similarity threshold θ, and there exists an obvious phase change characteristic. For the two networks, when the similarity threshold is around 0.35, the community structure of the network is most obvious, and the structure group is relatively prominent. In general, the modularity of the evolved networks exhibits evolution characteristic which increases at first, then falls back, and tends to be stable as similarity threshold θ increases. At the same time, θ = 0.35 and θ = 0.45 are two obvious phase transition points.

It can be found that the similarity threshold has a significant impact on the evolution of the structure group. The modularity phase change is concentrated at the interval of [0.15, 0.45], and when the similarity threshold is outside the interval, the modularity is stable. It indicates that random initial network structure and random initial node state have less impact on the structure group of the evolved network. In other words, via the model, the final structure of the network can be well controlled and will form a stable structure group. Combining equation (4) which is the definition of similarity threshold, similarity threshold controls the number of homogeneous nodes and heterogeneous nodes in the local structure. The larger the similarity threshold, the more heterogeneous nodes in the local structure, and thus the node is more likely to change its current structure. Otherwise, the node has more homogeneous nodes and it is easier to form the convergence of state. However, from the results in Figure 5, larger similarity threshold does not lead to a more obvious community structure or structure group. On the contrary, that situation occurs when the similarity threshold is more moderate (i.e., around θ = 0.35 in the experiment). From the perspective of social identity theory, the similarity threshold can be understood as the evaluation criteria of individual differences in society. The higher the evaluation criteria (the greater the similarity threshold), the greater the social distance between individuals, and individuals are more likely to form stable social relationships and social structures. The lower the evaluation criteria, the smaller the social distance between individuals, and individuals are also likely to form stable social relationships. It can be found that there may be a phase change threshold in the evaluation criteria. When the threshold is exceeded, individuals’ need for consensus may increase rapidly, and they will form independent groups in structure, which may trigger consensus.

4.2.3. Impact of Similarity Threshold on the Network Degree Distribution

We further investigate the impact of the similarity threshold on the degree distribution of the BA network.

It can be seen in Figure 6 that without the intervention of the similarity threshold, the degree distribution of the BA network shows a power-law distribution. Under the logarithmic coordinate system, the degree distribution of the BA network will eventually show a lognormal distribution. When the similarity threshold is small (θ< 0.15), the degree distribution is close to a power-law distribution. As the similarity threshold increases to two phase transition points (θ = 0.15 and θ = 0.35), the power-law structure is broken and gradually forms a lognormal distribution; with the similarity threshold exceeding 0.35, the structure of the degree distribution tends to be stable.

From the perspective of social identity theory, everyone has equal opportunities to reach consensus with others, thus forming a group. The similarity threshold can be understood as a social barrier. When the similarity threshold is low, social barriers are relatively low; as long as there is a communication, people can reach a consensus, thus forming a whole. But the prerequisite is that people have equal opportunities to communicate. Therefore, it is difficult for them to form large groups, and they can only exist in society as a large number of independent small groups. This phenomenon appears in the area where we can find that the degree distribution of this segment appears as a power-law distribution. As the evaluation standard improves, due to differences in similarity, people begin to selectively combine into a union. Under such a situation, the power-law distribution is destroyed, and the large group splits into several small groups, gradually forming a lognormal distribution. From Figure 5, we can see that the modularity of this region is a growing trend, and there are still a large number of structure groups in the network, so the score of the fitting function will fluctuate at this time. When the similarity threshold exceeds the phase transition point (θ = 0.35), modularity declines and stabilizes, and the degree distribution also presents a stable lognormal distribution.

4.3. Experiment Results of State Evolution
4.3.1. Impact of Similarity Threshold on Node State

Corresponding to the evolution of the structure group, the impact of the similarity threshold on node state has also been investigated. The Smax/N values of the two networks under different similarity thresholds are shown in Figure 7. Results are the average of 30 independent experiments.

As shown in Figure 7, the similarity threshold has a significant impact on the evolution of node state and causes a phase change in the Smax/N value. It can be found that the phase change point is concentrated near [0.15, 0.35]. In general, as the similarity threshold increases, the Smax/N values of the two networks tend to be stable after large fluctuations. Figure 7(a) shows the state evolution of the ER network. With the increase of the similarity threshold, Smax shows the change characteristics of increasing and then decreasing and gradually stabilizing. When the similarity threshold interval is [0.15, 0.35], the size of the largest state group decreases from 0.97 to around 0.3, and with the increase of similarity threshold, the ratio is stabilized at around 0.3 after θ ≥ 0.35. It indicates that the initial network has a greater impact on the model when θ is very small. For the ER network, the similarity threshold θ has a significant impact on the state group at the interval of (0.15, 0.35). Influenced by the ER network structure, the size and structure of the state group are stable at other intervals. Figure 7(b) shows the state evolution of the BA network. The largest state population size Smax in the network stabilizes first and has a sudden rise, then slumps, and gradually stabilizes with the increase of similarity threshold. When the similarity threshold θ is at the interval of [0.10, 0.15], the size of the largest state group increases from 0.56 to around 0.93. With the continuous increase of similarity threshold, Smax tends to decrease at the interval of [0.15, 0.35] and stabilizes around 0.3 after θ ≥ 0.35. For the BA network, as the similarity threshold increases, the node state in the network also converges and reaches the highest point at θ = 0.15. However, a higher similarity threshold does not lead to convergence of node states, and only 30% of nodes are stable and will form a consistent state.

Based on the results of the above two networks, it can be found that the evolution law is generally consistent. All networks have extreme values at the interval of [0.15, 0.35], which means there exist obvious phase changes in this interval. It can be known from equation (6) that node state is determined by the average state of its local homogeneous neighbor nodes, and the number of homogeneous neighbor nodes is determined by equation (4). Therefore, the similarity threshold also affects the node state. Similar to the experimental result of the structure group, a higher or lower similarity threshold does not cause nodes to converge on the state, and there also exists a critical value to cause state convergence. From the perspective of social identity theory, it can be found that the evaluation criteria of individual differences will affect the scope of consensus if we take consensus as a state of social individuals, and there exist clear critical points in the evaluation criteria of differences, which may lead to the formation of large-scale consensus. From the description of positive heterogeneity in social identity, the formation of large-scale consensus may lead to identity heterogeneity among different groups. When heterogeneity does not have positive characteristics, such as prejudice discrimination, popular and singular style, and so on, groups may adopt behavior strategies to form a consensus. In conclusion, the evaluation criteria of individual differences can be used as a risk indicator to estimate the occurrence of consensus.

4.3.2. Analysis of the Evolution Results of Node States

In Figure 7, when θ = 0.15, the node state difference before and after evolution is the most significant. We specifically choose the evolution of the node state similarity matrix with θ = 0.15 as an illustration. As a comparison, we also show the experimental results of θ = 0.35. Figure 8 shows the evolution of the state similarity matrix among the two sets of network nodes under different iteration steps.

Figures 8(a) and 8(b) show the evolution results of the state similarity matrix when θ = 0.15. In general, these networks will generate a very large state group, which will diverge as the model evolves. Specifically, the evolution law of the ER network is shown in Figure 8(a). When the number of iteration steps is close to 400, a very large group of similar states has been formed, that is, large-scale consensus. With the further evolution of the model, the similarity within the group will increase, but at the same time, there will be differentiation. In the final stage of the model, the network will form a large-scale state group with similar overall states but partial differences. It illustrates that the homogeneity of individual states promotes the formation of large-scale state groups, but the heterogeneity of individual structures leads to overlap states within groups. The evolution law of the BA network is similar to the ER network. The network will form a very large state group in the final state of the model, but there will be differentiation within the group. It can be seen from Figure 7 that when θ = 0.15, the proportions of the largest state group after the evolution of the two networks are close to 1. The large-scale state groups formed in Figures 8(a) and 8(b) have further verified the result of Figure 7.

Figures 8(c) and 8(d) show the evolution results of the state similarity matrix when θ = 0.35. In general, as the model evolves, both networks will generate several state groups and eventually form several state groups with strong state consistency. Specifically, the evolution law of the ER network is shown in Figure 8(c). As the model evolves, several decreasing state groups will appear in the network. With the evolution of the model, some of the state groups will become larger, and some will merge. The final state of the model is to form multiple state groups of different sizes. It shows that when θ = 0.35, there will not be a large-scale state consistency in the network. The evolution law of the BA network is similar to the ER network, and large-scale group consensus will not appear. It can be seen from the connection with Figure 7 that when θ = 0.35, the proportion of the largest state group in the network is only about 0.3, so there will be no large-scale group consensus in the final state of the model. It can be seen from Figure 8 that the network is divided into several state groups. At the same time, it can be seen from Figure 5 that it is divided into several structure groups. This shows that independent opinions are formed within each group and are structurally isolated from each other.

In summary, the similarity threshold in social media can be considered as an individual’s tolerance for other people’s opinions. The overall environmental tolerance in the virtual space is different from that of reality. Users can decide to follow or unfollow another user at any time, which makes the evolution of individual relationships more convenient. Individuals are more likely to form groups and exchange opinions within the group. From the existing research [1], we can know that the interaction between users in today’s social media platforms such as Twitter and Facebook is very unequal. In the real world, the characteristics of relationships between celebrities and fans are similar to that of the scale-free structure in the BA network. From the results of our experiments, we can know that the opinion polarization that currently appears in social media is essentially the evolution result of the network structure. Our experimental results verify this argument, and we find that the similarity threshold has a strong control effect on this process.

For the network degree distribution in the above process, it may evolve into a structure with the lognormal distribution. This shows that under the control of the similarity threshold, a number of parallel community structures appear among polarized groups, and this community structure changes the distribution of network degrees. To cite an instance, celebrities feed cultural products to people, and people come together as fanatics to negotiate against celebrities. This kind of tight organization brings together individuals who were unrelated before through an idol. Because they can form a community, the fan group’s voice and status have been significantly improved. They are no longer ordinary audiences who were unable to speak in the dual relationship of “idol-followers,” but become elders who can actively participate in the career planning of idols. In other words, the unequal power-law distribution in the original social media has changed after the emergence of the community, and it has become a lognormal distribution, which is also easy to trigger group isolation. Therefore, judging the evolution trend of the network degree distribution has certain guiding significance.

For the state distribution characteristics, it can be seen that the structure and state show different aggregation characteristics under different similarity thresholds. Generally speaking, when the threshold is around 0.15, there are obvious state groups in the network, and when the threshold is near 0.35, there are obvious structure groups. If there is a possibility that the similarity threshold may change dynamically, it indicates the inheritance relationship between the state group and the structure group. In social media, this means that if an individual’s tolerance for other people’s opinions slowly increases from a very low value, state groups will appear first and then structure groups.

5. Conclusions

In this paper, an adaptive network model is constructed based on social identity theory. Based on the Holme model and Kozma model, we improve the model evolution rules and parameters to make it more in line with reality. The formation of a structure group and state group has been analyzed. Also, we discussed the possible mechanism of formation and development of consensus in complex networks. It can be found that whether in the structure group or state group, the similarity evaluation criteria (similarity threshold) determine the final evolution result of the network, and the absolute high similarity or low similarity does not lead to differences between groups. On the contrary, when individuals tend to adjust their social relationship or state, there is often a clear threshold. Near this critical value, the network structure will be modularized or socialized, and individual states will form an obvious consensus. It indicates that the formation of consensus is often accompanied by differentiation or isolation in social groups. It also shows that the formation and development of consensus may be affected by the similarity between individuals. Moreover, through the evolution of the similarity matrix, we found that after the emergence of several large state groups, a larger-scale consensus will be formed, and then disagreement will occur, which will lead to re-differentiation in the large group. We also found that affected by the similarity threshold, the degree distribution of the BA network will change from a power-law distribution to a lognormal distribution. In summary, our model realized the adaptation of network structure and node state by restoring the social identity process of individuals. The individual similarity may determine in which way individuals interact with groups and the evolutionary direction of consensus. In the real social environment, individuals’ similarity belongs to a cognitive category, and its cognitive results can often be controlled through information disclosure, policy guidance, and behavioral intervention. In turn, it realizes the governance and regulation of public opinion and demonstrations. In addition, we find that when isolation occurs in the structure, opinions will also generate isolation. Therefore, whether the isolation of structure causes the differentiation of opinions or the differentiation of opinions causes structure isolation, we will study it in future research.

This study is still far from completion; our model simplified the general process of an individual’s pursuit of consensus because of the complexity of individual behavior, and we did not consider the direction of interaction between social individuals and the sequence of individuals updating their states. This will be supplemented and improved in the subsequent work.

Data Availability

The data used in our experiments are all generated using code in the Python 3.7 environment. The experiment requires two types of initial networks, ER network and BA network. In Section 4.1, we introduced the initial parameters of the generated networks, and readers can get the networks according to these parameter settings. If you have any further requirements, the data generation code used to support the findings of this study are available from the corresponding author upon request.

Conflicts of Interest

The authors declare that they have no conflicts of interest.

Acknowledgments

This study was supported by the Natural Science Foundation, Shaanxi (grant no. 2019JQ-531), the Fundamental Research Funds for the Central Universities, CHD (grant no. 300102238103), and the Social Science Foundation, Shaanxi (grant no. 2019S044).