CN114218502A - Social network key member detection method based on sparse evolution algorithm - Google Patents

Social network key member detection method based on sparse evolution algorithm Download PDF

Info

Publication number
CN114218502A
CN114218502A CN202111552637.8A CN202111552637A CN114218502A CN 114218502 A CN114218502 A CN 114218502A CN 202111552637 A CN202111552637 A CN 202111552637A CN 114218502 A CN114218502 A CN 114218502A
Authority
CN
China
Prior art keywords
state
members
key
population
generation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111552637.8A
Other languages
Chinese (zh)
Inventor
田野
陈豪文
张亚杰
张兴义
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Anhui University
Original Assignee
Anhui University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Anhui University filed Critical Anhui University
Priority to CN202111552637.8A priority Critical patent/CN114218502A/en
Publication of CN114218502A publication Critical patent/CN114218502A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9536Search customisation based on social or collaborative filtering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/004Artificial life, i.e. computing arrangements simulating life
    • G06N3/006Artificial life, i.e. computing arrangements simulating life based on simulated virtual individual or collective life forms, e.g. social simulations or particle swarm optimisation [PSO]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/12Computing arrangements based on biological models using genetic models
    • G06N3/126Evolutionary algorithms, e.g. genetic algorithms or genetic programming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/01Social networking

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Biophysics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Business, Economics & Management (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Evolutionary Computation (AREA)
  • Biomedical Technology (AREA)
  • Molecular Biology (AREA)
  • Artificial Intelligence (AREA)
  • Computational Linguistics (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Evolutionary Biology (AREA)
  • Genetics & Genomics (AREA)
  • Physiology (AREA)
  • Economics (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a social network key member detection method based on a sparse evolution algorithm, which is characterized by comprising the following steps of 1, constructing a target function; step 2, calculating scores of all members in the social network and initializing a state population; step 3, taking the state in the state population as a parent according to the designed genetic operator, generating a new state and adding the new state into an offspring state population; and 4, combining the offspring state population with the previous generation state population, deleting repeated states, sequencing without domination, calculating crowding distances among members and the like, and selecting the states with the same number as the original state population in a reverse sequence to serve as a new state population until a group of social networks consisting of key members and non-key members is obtained. The method and the device can reduce the time for identifying the key members in the large-scale complex social network and improve the accuracy for identifying the key members.

Description

Social network key member detection method based on sparse evolution algorithm
Technical Field
The invention belongs to the field of social network key member detection, and particularly relates to a social network key member detection method based on a sparse evolution algorithm.
Background
A social network is a social structure formed by a plurality of nodes such as individuals or organizations, and represents various social relationships. The social network has the four characteristics of rapidness, spreading, equality, self-organization and the like. Because of these characteristics, such networks have an influence on aspects of real society. From a member classification perspective, identifying members with higher reputation and impact in a social network is very important in designing marketing strategies. Locating a product may have a tremendous impact on society if the strategy is properly targeted to the most influential and recognized member of the community in place. However, if some public opinion and other information is also spread rapidly by virtue of social networking features, uncontrollable consequences are often produced. Therefore, how to identify key members in a large-scale complex social network becomes especially important.
Currently, there are mainly accurate methods and approximate methods for detecting key members of social networks. The accurate method provides a mathematical formula capable of solving key members of the social network by using integer linear programming, and the mathematical formula is used for solving. This approach can consume a large amount of computation when the size of the social network is too large or the complexity is too high, rendering the approach ineffective. Approximation methods include greedy algorithms and evolutionary algorithms. Greedy algorithms have been proposed to find key sites in a reasonable time, the key members of the selection always being the best choice currently viewed, but this cannot be considered overall optimal. The evolutionary algorithm is a popular method at present, and has better effect than the former two methods in the aspect of solving the large-scale social network. However, in a huge social network, the number of key members is small, that is, the key members are sparse, and the current evolutionary algorithm does not consider the situation, so that the time consumed for identifying the key members is increased, and the identification accuracy is also reduced.
Disclosure of Invention
The invention aims to overcome the defects in the prior art, and provides a social network key member detection method based on a sparse evolution algorithm, so that the time for identifying key members in a large-scale complex social network can be reduced, and the accuracy of identifying key members can be improved, thereby laying a foundation for constructing the social network of key member information.
In order to achieve the purpose, the invention adopts the following technical scheme:
the invention discloses a social network key member detection method based on a sparse evolution algorithm, which is characterized by being applied to a social network G consisting of D members and | E | relationship links, and recording a state set of whether all members in the social network G are key members as S ═ S { (S) } in a state set of whether all members in the social network G are key members1,s2,...,si,...,sN},siAn ith status indicating whether all members in the social network G are key members, N indicating the total number of statuses of all members, each status consisting of a key member and a non-key member; and si={vi1,vi2,...,vij,....,viD},vijIndicates the i-th state siThe next jth member vjWhether it is a key member, if v ij1 denotes the i-th state siThe next jth member vjIs a key member if v ij0 denotes the i-th state siThe next jth member vjIs not a key member, j is more than or equal to 1 and less than or equal to D; the r-th member vrAnd h member vhWhether or not to link the link is marked as erhA relationship link refers to a member vrAnd member vhA direct relationship or an indirect relationship of (a); if e rh1 denotes the r-th member vrAnd h member vhThere is a direct relationship or an indirect relationship between them; if e rh0 denotes the r-th member vrAnd h member vhThere is no direct relationship or indirect relationship between the two, and the method for detecting the key members of the social network comprises the following steps:
step one, constructing an objective function:
step 1.1, constructing a function COST of the number of key members by using the formula (1):
COST=|vij=1| (1)
in the formula (1, | v ij1| represents the number of key members in the social network G;
step 1.2, constructing a function PWC about the number of different pairs of members connected by relationship links on the social network G by using the formula (2):
Figure RE-GDA0003473902500000021
in formula (2), V' represents a set of all members except the key member in the social network G;
step 1.3, constructing a total objective function f by using the formula (3):
f=min(COST,PWC) (3)
calculating scores of all members in the social network and initializing a state population;
step 2.1, calculating the scores of all members in the social network:
step 2.1.1, let N states of the state population Q, define the state population as Q ═ Q1,Q2,...,Qi,...QN},QiRepresenting the ith state in the social network G, and enabling the number N of the states in the social network G to be the same as the number D of the members; forming a D multiplied by D matrix by the states of all members in the state population Q;
step 2.1.2, setting diagonal elements of the matrix of DxD as 1, and setting other elements as 0;
step 2.1.3, according to the total objective function f, carrying out non-dominant sorting on each state in the state population Q, and taking the non-dominant front edge number of the ith state as the SCORE SCORE of the ith memberi
Step 2.2, initializing the state population:
step 2.2.1, let N states of the state population P, define the state population as P ═ P1,p2,...,pi,...pN},piRepresents the ith state in social network G; setting all states in the state population P as 0 vectors;
step 2.2.2, initializing i to 1;
step 2.2.3, defining a variable z and initializing z to be 1;
step 2.2.4, randomly selecting two members v from the social network G for the z-th timerAnd member vhAnd judging the member vrSCORE of (SCORE)rWhether or not less than member vhSCORE of (SCORE)hIf yes, the member v in the ith state is selectedrSetting as a key member; otherwise, the member v in the ith statehSetting as a key member;
step 2.2.5, assigning z +1 to z, repeating step 2.2.4 for several times to obtain the final ith state piAnd is used as the ith initial state of the state population P;
step 2.2.6, assigning i +1 to i, judging whether i is greater than N, and if so, indicating that N initial states of the state population P are obtained; otherwise, returning to the step 2.2.3 for sequential execution;
step three, taking the state in the state population P as a parent according to the designed genetic operator, generating a new state and adding the new state into an offspring state population;
step 3.1, initializing parameters:
defining and initializing the current evaluation time t as 1 and the maximum evaluation time tmax(ii) a Let the t generation offspring state population RtIs an empty set;
taking N initial states of the state population P as the t generation state population Pt
Step 3.2, carrying out comparison on the t generation state population P according to the total objective function ftPerforming non-dominant sorting, and calculating the congestion distance of each state of the sorted non-dominant front edges, so as to perform descending sorting on each state according to the congestion distance, and finally obtaining a plurality of non-dominant front edges after descending sorting;
3.3, using the binary brocade according to the descending non-dominant front edges and the crowding distance thereofBidding competition method from t generation state population Pt2N states are selected as the t generation parent generation state population;
and 3.4, generating a filial generation state population according to the new genetic operator:
step 3.4.0, defining a variable n, and initializing n to be 1;
step 3.4.1, randomly selecting a pair of parent states p from the nth time in the tth generation parent state populationαAnd pβAnd generates an nth sub-generation state
Figure RE-GDA0003473902500000031
State the nth sub generation
Figure RE-GDA0003473902500000032
Initial value and parent state p ofαSet to be the same, and then set the parent state pαAnd pβDeleting from the parent generation state population of the t generation; alpha, beta ∈ [1,2N ]];
Step 3.4.2, generating the t random number randtIf randtIf < 0.5, then according to
Figure RE-GDA0003473902500000041
Of two key members v 'are randomly selected'rAnd key member v'hAnd judging the key member v'rSCORE of SCORE'rWhether is greater than key member v'hSCORE of SCORE'hIf yes, the child state is set
Figure RE-GDA0003473902500000042
V 'of'rSetting as a non-critical member; otherwise, the child state is set
Figure RE-GDA0003473902500000043
V 'of'hSetting as a non-critical member;
if randtNot less than 0.5, according to
Figure RE-GDA0003473902500000044
As a result of the state of (c), two key members v ″' are randomly selectedrAnd key member v ″)hAnd judging the key member v ″)rSCORE of (SCORE)rWhether or not it is less than key member vhSCORE of (SCORE)hIf yes, the offspring state is set
Figure RE-GDA0003473902500000045
Member v "of (1)rSetting as a key member; otherwise, the child state is set
Figure RE-GDA0003473902500000046
Member v "of (1)hSetting as a key member;
step 3.4.3 of generating a t-th random number rand'tIf rand't< 0.5, then in the offspring state
Figure RE-GDA0003473902500000047
Of two Key members v'rAnd Key Member v'h(ii) a And judging key member v'rSCORE of SCORE'rWhether greater than key member v'hSCORE of SCORE'hIf so, it will be in the child state
Figure RE-GDA0003473902500000048
V 'of'rSetting as a non-critical member; otherwise, it will be in the child state
Figure RE-GDA0003473902500000049
V 'of'hSetting as a non-critical member;
if rand'tGreater than or equal to 0.5, in the filial generation state
Figure RE-GDA00034739025000000410
Randomly selecting two non-key members
Figure RE-GDA00034739025000000411
And non-critical members
Figure RE-GDA00034739025000000412
And determining non-key members
Figure RE-GDA00034739025000000413
Is scored by
Figure RE-GDA00034739025000000414
Whether less than a non-critical member
Figure RE-GDA00034739025000000415
Is scored by
Figure RE-GDA00034739025000000416
If so, it will be in the child state
Figure RE-GDA00034739025000000417
Members of (1)
Figure RE-GDA00034739025000000418
Setting as a key member; otherwise, it will be in the child state
Figure RE-GDA00034739025000000419
Members of (1)
Figure RE-GDA00034739025000000420
Setting as a key member; thereby generating new offspring states
Figure RE-GDA00034739025000000421
Step 3.4.4 New offspring State to be generated
Figure RE-GDA00034739025000000422
Adding into the filial generation state population RtPerforming the following steps;
step 3.5, after n +1 is assigned to n, judging n>Whether N is true or not, if so, the method indicates that the t generation filial generation state population R of N sub generation states is obtainedt(ii) a Otherwise, return to stepStep 3.4.1 is carried out sequentially;
step four, circularly iterating to obtain a group of social networks G' consisting of key members and non-key members;
step 4.1, the filial generation state population R of the t generationtAnd the t generation status population PtMerging to obtain the state population RP with the size of 2NtAnd carrying out deduplication processing on the merged 2N states to obtain a state population RP after deduplication of the t generation′t
Step 4.2, removing the state population RP 'of the t generation'tPerforming non-dominant sorting, and calculating the congestion distance of each state of the sorted non-dominant front edge, so as to sort each state in a descending order according to the congestion distance, and finally obtaining all the sorted states;
step 4.3, selecting the state of N before ranking in all the sorted states as the t +1 generation state population Pt+1
Step 4.4, after t +1 is assigned to t, judging that t is more than tmaxIf yes, the t-th step is executedmaxGeneration status population
Figure RE-GDA0003473902500000051
The key members and non-key members represented by the respective states in the social network G' are formed, otherwise, the step 3.2 is returned to and executed.
Compared with the prior art, the invention has the beneficial effects that:
1. according to the method, the problem of detecting the key members in the social network is converted into a multi-objective optimization problem, whether the members in the social network are key or not is digitalized by a binary representation method, whether the members are key or not can be represented more conveniently, the initialized state can well keep the sparsity of the key members through a state initialization strategy, and the time for identifying the key members in the social network is reduced to a certain extent.
2. The member score is calculated according to the relationship link of the non-key node after the key node is removed, so that the contribution degree of each member in the social network can be effectively measured. In addition, the binary tournament method is used, so that the conversion of the members between the key state and the non-key state is more random and fair, and the accuracy of identifying the key members in the social network is improved.
3. According to the invention, whether the member is a key member or not is determined by calculating the score of the member, and the member with high score is more likely to become the key member, so that the average probability that half of the members are key members and half of the members are not key members is overcome, the sparsity of the key members in the optimization process is controlled, and the probability of accurately identifying the key members in a large-scale complex social network is improved.
Drawings
FIG. 1 is a flow chart of the algorithm of the present invention;
FIG. 2a is a simplified social network structure diagram illustrating an example of the present invention;
FIG. 2b is a diagram illustrating an exemplary process of initializing a state population and generating state children from a state parent according to the present invention.
Detailed Description
In the embodiment, the social network key member detection method based on the sparse evolutionary algorithm is characterized in that a state initialization strategy is used for initializing a state, the score of a member is calculated through the number of key nodes and the relation link calculation of non-key nodes after the key nodes are removed, and whether the member is a key member is judged through unequal probability on the basis of the score, so that the sparsity of the key member can be well maintained, the time for identifying the key member is accelerated to a certain extent, and the accuracy for identifying the key member is improved. In particular, the present invention relates to a method for producing,
the method for detecting key members of the social network is applied to the social network G consisting of D members and | E | relationship links, and the state set of whether all the members in the social network G are key members is recorded as S ═ S1,s2,...,si,...,sN},siStatus of i representing whether all members in social network G are key members, N representing the total number of statuses of all members, perSeed states consist of critical members and non-critical members; and si={vi1,vi2,...,vij,....,viD},vijIndicates the i-th state siThe next jth member vjWhether it is a key member, if vij1 denotes the i-th state siThe next jth member vjIs a key member if vij0 denotes the i-th state siThe next jth member vjIs not a key member, j is more than or equal to 1 and less than or equal to D; the r-th member vrAnd h member vhWhether or not to link the link is marked as erhA relationship link refers to a member vrAnd member vhA direct relationship or an indirect relationship of (a); if erh1 denotes the r-th member vrAnd h member vhThere is a direct relationship or an indirect relationship between them; if erh0 denotes the r-th member vrAnd h member vhThere is no direct or indirect relationship between them; as shown in fig. 2a, a network structure diagram containing 8 members and relationship links therebetween is shown, and each edge represents that there is a direct or indirect relationship between the members.
In this embodiment, referring to fig. 1, the method for detecting key members in a social network is performed according to the following steps:
step one, constructing an objective function:
step 1.1, constructing a function COST of the number of key members by using the formula (1):
COST=|vij=1| (1)
in the formula (1, | v ij1| represents the number of key members in the social network;
step 1.2, constructing a function PWC about the number of different pairs of members connected by relationship links on the social network G by using the formula (2):
Figure RE-GDA0003473902500000061
in formula (2), V' represents a set of all members except the key member in the social network G;
step 1.3, constructing a total objective function f by using the formula (3):
f=min(COST,PWC) (3)
calculating scores of all members in the social network and initializing a state population;
step 2.1, calculating the scores of all members in the social network:
step 2.1.1, let N states exist in the state population P, and define the state population as Q ═ Q1,Q2,...,Qi,...QN},QiRepresenting the ith state in the social network G, and enabling the number N of the states in the social network G to be the same as the number D of the members; forming a D multiplied by D matrix by the states of all members in the state population Q;
step 2.1.2, setting diagonal elements of the matrix of DxD as 1, and setting other elements as 0; for example, in fig. 2a, 8 members in the social network form an 8 × 8 matrix, and as shown in table 1, the status population Q with the initialization size of 8 and the number of members of 8, the diagonal element is 1, and the other elements are 0, which means that there is only one key member in each status, and the key members are determined by the status order. Therefore, the contribution degree of the member in the social network can be accurately measured.
TABLE 1 binary State population
Member 1 Member 2 Member 3 Member 4 Member 5 Member 6 Member 7 Member 8
State 1 1 0 0 0 0 0 0 0
State 2 0 1 0 0 0 0 0 0
State 3 0 0 1 0 0 0 0 0
State 4 0 0 0 1 0 0 0 0
State 5 0 0 0 0 1 0 0 0
State 6 0 0 0 0 0 1 0 0
State 7 0 0 0 0 0 0 1 0
State 8 0 0 0 0 0 0 0 1
Step 2.1.3, according to the total objective function f, carrying out non-dominant sorting on each state in the state population Q, and taking the non-dominant front edge number of the ith state as the SCORE SCORE of the ith memberi(ii) a The smaller the number of key members and the number of relationship link connected pairs after the key member is removed indicates the greater the probability that the key member will eventually be identified as a key member at that state. As shown in fig. 2a, the COST of the first state in the state population Q is 1,
Figure RE-GDA0003473902500000071
the second state COST is 1,
Figure RE-GDA0003473902500000072
COST of all members {1,1,1,1,1,1, 1},
Figure RE-GDA0003473902500000073
the non-dominated sorting leads to smaller ranks and ranks of the same value on the same front face, resulting in states 2 < state 5 < state 7 < state 3 < state 1-state 4-state 6-state 8. The results of the non-dominated sorting after the objective function values were calculated are shown in table 2. The pareto front for state 1 is 5, with only member 1 in state 1, then the score for member 1 is 5. By analogy, the scores of all the members can be obtained. The scores for all members are shown in table 3.
TABLE 2 results after non-dominated sorting of population states
State 1 State 2 State 3 State 4 State 5 State 6 State 7 State 8
Pareto frontier 5 1 4 5 2 5 3 5
Score of the members of Table 3
Member 1 Member 2 Member 3 Member 4 Member 5 Member 6 Member 7 Member 8
Membership score 5 1 4 5 2 5 3 5
Step 2.2, initializing the state population:
step 2.2.1, let N states of the state population P, define the state population as P ═ P1,p2,...,pi,...pN},piRepresents the ith state in social network G; setting all states in the state population P as 0 vectors; table 4 shows the status population P with a size of 10. The 0 vector indicates that there are no key members in the current state.
TABLE 4 State population size 10
Member 1 Member 2 Member 3 Member 4 Member 5 Member 6 Member 7 Member 8
State 1 0 0 0 0 0 0 0 0
State 2 0 0 0 0 0 0 0 0
State 3 0 0 0 0 0 0 0 0
State 4 0 0 0 0 0 0 0 0
State 5 0 0 0 0 0 0 0 0
State 6 0 0 0 0 0 0 0 0
State 7 0 0 0 0 0 0 0 0
State 8 0 0 0 0 0 0 0 0
State 9 0 0 0 0 0 0 0 0
State 10 0 0 0 0 0 0 0 0
Step 2.2.2, initializing i to 1;
step 2.2.3, defining a variable z and initializing z to be 1;
step 2.2.4, randomly selecting two members v from the social network G for the z-th timerAnd member vhAnd judging the member vrSCORE of (SCORE)rWhether or not less than member vhSCORE of (SCORE)hIf yes, the member v in the ith state is selectedrSetting as a key member; otherwise, the member v in the ith state is sethSetting as a key member; as in fig. 2b, assuming i is 1 and z is 1, two members v are randomly selected1And member v5According to Table 3, Member v1Is not less than member v5Is given a score of 1, then member v in the 1 st state5Can be set as a key member, i.e. v15=1。
Step 2.2.5, assigning z +1 to z, repeating step 2.2.4 for several times to obtain the final ith state piAnd is used as the ith initial state of the state population P; assuming that i is 1, the 1 st initial state in the state population P is shown in table 5.
TABLE 5 initial state 1 in State population P
Member 1 Member 2 Member 3 Member 4 Member 5 Member 6 Member 7 Member 8
State 1 0 1 0 0 1 1 0 0
Step 2.2.6, assigning i +1 to i, judging whether i is greater than N, and if so, indicating that N initial states of the state population P are obtained; otherwise, returning to the step 2.2.3 for sequential execution; table 6 shows the N initial states in the state population P.
Table 6 initial status of status population.
Member 1 Member 2 Member 3 Member 4 Member 5 Member 6 Member 7 Member 8
State 1 0 1 0 0 1 1 0 0
State 2 1 1 1 0 1 0 1 0
State 3 0 1 0 0 1 0 0 0
State 4 0 0 0 1 1 1 0 0
State 5 0 1 1 0 0 0 1 0
State 6 0 0 0 1 0 1 0 0
State 7 0 1 0 1 1 1 1 0
State 8 0 1 0 1 0 1 0 0
State 9 1 0 1 0 0 0 1 0
State 10 0 1 0 1 0 1 0 1
Step three, taking the state in the state population P as a parent according to the designed genetic operator, generating a new state and adding the new state into an offspring state population;
step 3.1, initializing parameters:
defining and initializing the current evaluation time t as 1 and the maximum evaluation time tmax(ii) a Let the t generation offspring state population RtIs an empty set;
taking N initial states of the state population P as the t generation state population Pt
Step 3.2, carrying out comparison on the t generation state population P according to the total objective function ftPerforming non-dominant sorting, and calculating the congestion distance of each state of the sorted non-dominant front edges, so as to perform descending sorting on each state according to the congestion distance, and finally obtaining a plurality of non-dominant front edges after descending sorting;
step 3.3, according to the descending non-dominant front edges and the crowding distance thereof, using a binary tournament method to carry out the state population P from the t generationt2N states are selected as the t generation parent generation state population;
and 3.4, generating a filial generation state population according to the new genetic operator:
step 3.4.0, defining a variable n, and initializing n to be 1;
step 3.4.1, randomly selecting a pair of parent states p from the nth time in the tth generation parent state populationαAnd pβAnd generates the nth sub-generationStatus of state
Figure RE-GDA0003473902500000101
State the nth sub generation
Figure RE-GDA0003473902500000102
Initial value and parent state p ofαSet to be the same, and then set the parent state pαAnd pβDeleting from the parent generation state population of the t generation; alpha, beta ∈ [1,2N ]];
Step 3.4.2, generating the t random number randtIf randtIf < 0.5, then according to
Figure RE-GDA0003473902500000103
Of two key members v 'are randomly selected'rAnd key member v'hAnd judging the key member v'rSCORE of SCORE'rWhether is greater than key member v'hSCORE of SCORE'hIf yes, the child state is set
Figure RE-GDA0003473902500000104
V 'of'rSetting as a non-critical member; otherwise, the child state is set
Figure RE-GDA0003473902500000105
V 'of'hSetting as a non-critical member; as shown in FIG. 2b, pα={0,1,0,0,1,1,0,0},pβN-th sub-generation state {1, 0, 1, 0, 0, 0, 1, 0}
Figure RE-GDA0003473902500000106
From which two key members v are randomly selected2And v5From Table 3, key member v is known2Has a score of 1, key member v5Has a score of 2, key member v2Score of (a) to a key member v5Small, therefore, child state
Figure RE-GDA0003473902500000107
Member v of (1)5Is set as a non-critical member and,
Figure RE-GDA0003473902500000108
if randtNot less than 0.5, according to
Figure RE-GDA0003473902500000109
As a result of the state of (c), two key members v ″' are randomly selectedrAnd key member v ″)hAnd judging the key member v ″)rSCORE of (SCORE)rWhether or not it is less than key member vhSCORE of (SCORE)hIf yes, the offspring state is set
Figure RE-GDA00034739025000001010
Member v "of (1)rSetting as a key member; otherwise, the child state is set
Figure RE-GDA00034739025000001011
Member v "of (1)hSetting as a key member;
step 3.4.3 of generating a t-th random number rand'tIf rand't< 0.5, then in the offspring state
Figure RE-GDA00034739025000001012
Of two Key members v'rAnd Key Member v'h(ii) a And judging key member v'rSCORE of SCORE'rWhether greater than key member v'hSCORE of SCORE'hIf so, it will be in the child state
Figure RE-GDA0003473902500000111
V 'of'rSetting as a non-critical member; otherwise, it will be in the child state
Figure RE-GDA0003473902500000112
V 'of'hSetting as a non-critical member;
if rand'tGreater than or equal to 0.5, in the filial generation state
Figure RE-GDA0003473902500000113
Randomly selecting two non-key members
Figure RE-GDA0003473902500000114
And non-critical members
Figure RE-GDA0003473902500000115
And determining non-key members
Figure RE-GDA0003473902500000116
Is scored by
Figure RE-GDA0003473902500000117
Whether less than a non-critical member
Figure RE-GDA0003473902500000118
Is scored by
Figure RE-GDA0003473902500000119
If so, it will be in the child state
Figure RE-GDA00034739025000001110
Members of (1)
Figure RE-GDA00034739025000001111
Setting as a key member; otherwise, it will be in the child state
Figure RE-GDA00034739025000001112
Members of (1)
Figure RE-GDA00034739025000001113
Setting as a key member; thereby generating new offspring states
Figure RE-GDA00034739025000001114
As shown in figure 2b of the drawings,
Figure RE-GDA00034739025000001115
random selection of non-critical members v3And v7Non-critical Member v3Is 4, non-critical member v7Is 3, non-critical member v3Is scored against non-critical member v7Is high, and thus, the offspring status
Figure RE-GDA00034739025000001116
Member v of (1)7Is set as a key member and is set as a key member,
Figure RE-GDA00034739025000001117
step 3.4.4 New offspring State to be generated
Figure RE-GDA00034739025000001118
Adding into the filial generation state population RtPerforming the following steps;
step 3.5, after n +1 is assigned to n, judging n>Whether N is true or not, if so, the method indicates that the t generation filial generation state population R of N sub generation states is obtainedt(ii) a Otherwise, returning to the step 3.4.1 for sequential execution;
step four, carrying out filial generation state population R of the t generationtAnd t generation state population PtCombining, deleting repeated states, sequencing without domination, calculating crowding distance and the like, and selecting states with the same number as the original state population in a reverse sequence to serve as a new state population until a group of social networks consisting of key members and non-key members is obtained;
step 4.1, the filial generation state population R of the t generationtAnd the t generation status population PtMerging to obtain the state population RP with the size of 2NtAnd carrying out deduplication processing on the merged 2N states to remove the states of completely same key members in the 2N state populations to obtain the state population RP 'subjected to deduplication in the t generation't
Step 4.2, removing the state population RP 'of the t generation'tPerforming non-dominant sorting, and calculating congestion distance of each state of the sorted non-dominant front edge so as to followThe congestion distance carries out descending sorting on each state, and all the sorted states are finally obtained;
step 4.3, selecting the state of N before ranking in all the sorted states as the t +1 generation state population Pt+1
Step 4.4, after t +1 is assigned to t, judging that t is more than tmaxIf yes, the t-th step is executedmaxGeneration status population
Figure RE-GDA00034739025000001119
And (3) the social network G' consisting of the key members and the non-key members represented by the states, and otherwise, returning to the step 3.2 for execution.

Claims (1)

1. A social network key member detection method based on a sparse evolution algorithm is characterized by being applied to a social network G formed by D members and | E | relationship links, and recording a state set of whether all members in the social network G are key members as S ═ S1,s2,...,si,...,sN},siAn ith status indicating whether all members in the social network G are key members, N indicating the total number of statuses of all members, each status consisting of a key member and a non-key member; and si={vi1,vi2,...,vij,....,viD},vijIndicates the i-th state siThe next jth member vjWhether it is a key member, if vij1 denotes the i-th state siThe next jth member vjIs a key member if vij0 denotes the i-th state siThe next jth member vjIs not a key member, j is more than or equal to 1 and less than or equal to D; the r-th member vrAnd h member vhWhether or not to link the link is marked as erhA relationship link refers to a member vrAnd member vhA direct relationship or an indirect relationship of (a); if erh1 denotes the r-th member vrAnd h member vhThere is a direct relationship or an indirect relationship between them; if erh0 denotes the r-th member vrAnd h member vhThere is no direct relationship or indirect relationship between the two, and the method for detecting the key members of the social network comprises the following steps:
step one, constructing an objective function:
step 1.1, constructing a function COST of the number of key members by using the formula (1):
COST=|vij=1| (1)
in the formula (1, | vij1| represents the number of key members in the social network G;
step 1.2, constructing a function PWC about the number of different pairs of members connected by relationship links on the social network G by using the formula (2):
Figure FDA0003418242510000011
in formula (2), V' represents a set of all members except the key member in the social network G;
step 1.3, constructing a total objective function f by using the formula (3):
f=min(COST,PWC) (3)
calculating scores of all members in the social network and initializing a state population;
step 2.1, calculating the scores of all members in the social network:
step 2.1.1, let N states of the state population Q, define the state population as Q ═ Q1,Q2,...,Qi,...QN},QiRepresenting the ith state in the social network G, and enabling the number N of the states in the social network G to be the same as the number D of the members; forming a D multiplied by D matrix by the states of all members in the state population Q;
step 2.1.2, setting diagonal elements of the matrix of DxD as 1, and setting other elements as 0;
step 2.1.3, according to the total objective function f, carrying out non-dominant sorting on each state in the state population Q, and taking the non-dominant front edge number of the ith state as the SCORE SCORE of the ith memberi
Step 2.2, initializing the state population:
step 2.2.1, let N states of the state population P, define the state population as P ═ P1,p2,...,pi,...pN},piRepresents the ith state in social network G; setting all states in the state population P as 0 vectors;
step 2.2.2, initializing i to 1;
step 2.2.3, defining a variable z and initializing z to be 1;
step 2.2.4, randomly selecting two members v from the social network G for the z-th timerAnd member vhAnd judging the member vrSCORE of (SCORE)rWhether or not less than member vhSCORE of (SCORE)hIf yes, the member v in the ith state is selectedrSetting as a key member; otherwise, the member v in the ith statehSetting as a key member;
step 2.2.5, assigning z +1 to z, repeating step 2.2.4 for several times to obtain the final ith state piAnd is used as the ith initial state of the state population P;
step 2.2.6, assigning i +1 to i, judging whether i is greater than N, and if so, indicating that N initial states of the state population P are obtained; otherwise, returning to the step 2.2.3 for sequential execution;
step three, taking the state in the state population P as a parent according to the designed genetic operator, generating a new state and adding the new state into an offspring state population;
step 3.1, initializing parameters:
defining and initializing the current evaluation time t as 1 and the maximum evaluation time tmax(ii) a Let the t generation offspring state population RtIs an empty set;
taking N initial states of the state population P as the t generation state population Pt
Step 3.2, carrying out comparison on the t generation state population P according to the total objective function ftPerforming non-dominant sorting, and calculating the congestion distance of each state of the sorted non-dominant front edges, so as to perform descending sorting on each state according to the congestion distance, and finally obtaining a plurality of non-dominant front edges after descending sorting;
step 3.3, according to the descending non-dominant front edges and the crowding distance thereof, using a binary tournament method to carry out the state population P from the t generationt2N states are selected as the t generation parent generation state population;
and 3.4, generating a filial generation state population according to the new genetic operator:
step 3.4.0, defining a variable n, and initializing n to be 1;
step 3.4.1, randomly selecting a pair of parent states p from the nth time in the tth generation parent state populationαAnd pβAnd generates an nth sub-generation state
Figure FDA0003418242510000031
State the nth sub generation
Figure FDA0003418242510000032
Initial value and parent state p ofαSet to be the same, and then set the parent state pαAnd pβDeleting from the parent generation state population of the t generation; alpha, beta ∈ [1,2N ]];
Step 3.4.2, generating the t random number randtIf randtIf < 0.5, then according to
Figure FDA0003418242510000033
Of two key members v 'are randomly selected'rAnd key member v'hAnd judging the key member v'rSCORE of SCORE'rWhether is greater than key member v'hSCORE of SCORE'hIf yes, the child state is set
Figure FDA0003418242510000034
V 'of'rSetting as a non-critical member; otherwise, the child state is set
Figure FDA0003418242510000035
V 'of'hSetting as a non-critical member;
if randtNot less than 0.5, according to
Figure FDA0003418242510000036
As a result of the state of (c), two key members v ″' are randomly selectedrAnd key member v ″)hAnd judging the key member v ″)rSCORE of (SCORE)rWhether or not it is less than key member vhSCORE of (SCORE)hIf yes, the offspring state is set
Figure FDA0003418242510000037
Member v "of (1)rSetting as a key member; otherwise, the child state is set
Figure FDA0003418242510000038
Member v "of (1)hSetting as a key member;
step 3.4.3 of generating a t-th random number rand'tIf rand't< 0.5, then in the offspring state
Figure FDA0003418242510000039
Of two Key members v'rAnd Key Member v'h(ii) a And judging key member v'rSCORE of SCORE'rWhether greater than key member v'hSCORE of SCORE'hIf so, it will be in the child state
Figure FDA00034182425100000310
V 'of'rSetting as a non-critical member; otherwise, it will be in the child state
Figure FDA00034182425100000311
V 'of'hSetting as a non-critical member;
if rand'tGreater than or equal to 0.5, in the filial generation state
Figure FDA00034182425100000312
Randomly selecting two non-key members
Figure FDA00034182425100000313
And non-critical members
Figure FDA00034182425100000314
And determining non-key members
Figure FDA00034182425100000315
Is scored by
Figure FDA00034182425100000316
Whether less than a non-critical member
Figure FDA00034182425100000317
Is scored by
Figure FDA00034182425100000318
If so, it will be in the child state
Figure FDA00034182425100000319
Members of (1)
Figure FDA00034182425100000320
Setting as a key member; otherwise, it will be in the child state
Figure FDA00034182425100000321
Members of (1)
Figure FDA00034182425100000322
Setting as a key member; thereby generating new offspring states
Figure FDA00034182425100000323
Step 3.4.4 New offspring State to be generated
Figure FDA00034182425100000324
Adding into the filial generation state population RtPerforming the following steps;
step 3.5, after n +1 is assigned to n, judging n>Whether N is true or not, if so, the method indicates that the t generation filial generation state population R of N sub generation states is obtainedt(ii) a Otherwise, returning to the step 3.4.1 for sequential execution;
step four, circularly iterating to obtain a group of social networks G' consisting of key members and non-key members;
step 4.1, the filial generation state population R of the t generationtAnd the t generation status population PtMerging to obtain the state population RP with the size of 2NtAnd performing deduplication processing on the merged 2N states to obtain a state population RP 'after deduplication of the t generation't
Step 4.2, removing the state population RP 'of the t generation'tPerforming non-dominant sorting, and calculating the congestion distance of each state of the sorted non-dominant front edge, so as to sort each state in a descending order according to the congestion distance, and finally obtaining all the sorted states;
step 4.3, selecting the state of N before ranking in all the sorted states as the t +1 generation state population Pt+1
Step 4.4, after t +1 is assigned to t, judging that t is more than tmaxIf yes, the t-th step is executedmaxGeneration status population
Figure FDA0003418242510000041
The key members and non-key members represented by the respective states in the social network G' are formed, otherwise, the step 3.2 is returned to and executed.
CN202111552637.8A 2021-12-17 2021-12-17 Social network key member detection method based on sparse evolution algorithm Pending CN114218502A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111552637.8A CN114218502A (en) 2021-12-17 2021-12-17 Social network key member detection method based on sparse evolution algorithm

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111552637.8A CN114218502A (en) 2021-12-17 2021-12-17 Social network key member detection method based on sparse evolution algorithm

Publications (1)

Publication Number Publication Date
CN114218502A true CN114218502A (en) 2022-03-22

Family

ID=80703771

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111552637.8A Pending CN114218502A (en) 2021-12-17 2021-12-17 Social network key member detection method based on sparse evolution algorithm

Country Status (1)

Country Link
CN (1) CN114218502A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116049438A (en) * 2023-01-10 2023-05-02 昆明理工大学 Knowledge graph-based group membership analysis method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116049438A (en) * 2023-01-10 2023-05-02 昆明理工大学 Knowledge graph-based group membership analysis method
CN116049438B (en) * 2023-01-10 2023-06-02 昆明理工大学 Knowledge graph-based group membership analysis method

Similar Documents

Publication Publication Date Title
Sayed et al. A binary clonal flower pollination algorithm for feature selection
Haldurai et al. A study on genetic algorithm and its applications
Wu et al. Attribute weighting via differential evolution algorithm for attribute weighted naive bayes (wnb)
CN103116324B (en) Micro-electronics production line scheduling method based on index prediction and online learning
CN112258223B (en) Marketing advertisement click prediction method based on decision tree
Su et al. Fuzzy community detection in social networks using a genetic algortihm
CN111369000A (en) High-dimensional multi-target evolution method based on decomposition
CN114218502A (en) Social network key member detection method based on sparse evolution algorithm
CN109740722A (en) A kind of network representation learning method based on Memetic algorithm
CN115481727A (en) Intention recognition neural network generation and optimization method based on evolutionary computation
Singh et al. Time series forecasting using back propagation neural network with ADE algorithm
Kim et al. A modified genetic algorithm for fast training neural networks
Phan et al. Efficiency enhancement of evolutionary neural architecture search via training-free initialization
CN107590538B (en) Danger source identification method based on online sequence learning machine
Zahoor et al. Evolutionary computation technique for solving Riccati differential equation of arbitrary order
CN111753998A (en) Model training method, device and equipment for multiple data sources and storage medium
Cetin et al. A new network-based community detection algorithm for disjoint communities
CN113641496B (en) DIDS task scheduling optimization method based on deep reinforcement learning
CN114494643A (en) Disease propagation control method based on network division
Murthy Genetic Algorithms: Basic principles and applications
Liu et al. A new algorithm for overlapping community detection
Xie A feature selection algorithm combining information gain and multi-objective genetic search for intrusion detection system
Moroz Effectiveness of mutation operators in the genetic search for optimal model in a sorting-out GMDH algorithm
Alzaeemi Artificial Immune System Algorithm for Training Symbolic Radial Basis Function Neural Network Based 2 Satisfiability Logic Programming
Takano et al. Harmonic mean similarity based quantum annealing for k-means

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination