A software ecosystem community detection method based on decomposition multi-objective genetic algorithm

By combining the multi-objective genetic algorithm with modularity and node belonging functions in the software ecosystem, and using LPA-M initialization and simulated annealing strategies, the resolution and local evolution problems of the community detection algorithm in complex systems are solved, and the community improvement is improved. Detection efficiency and accuracy.

CN114281397BActive Publication Date: 2024-10-15CHINA UNIV OF MINING & TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111239407.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-25
Publication Date
2024-10-15
Estimated Expiration
2041-10-25

AI Technical Summary

Technical Problem

Existing community detection algorithms have problems with resolution limitations and insufficient local evolution in the face of complex and diverse software ecosystems. It is difficult to identify fine community structures, and the solving efficiency of genetic algorithms is low.

Method used

This paper proposes a community detection method based on the decomposed multi-objective genetic algorithm, which combines the modularity function and the node belongingness function as the objective function, adopts the LPA-M algorithm initialization strategy, and improves the algorithm's performance by improving the individual hybrid crossover strategy and simulated annealing operator. Local evolutionary capability.

Benefits of technology

It effectively improves the efficiency and accuracy of community detection, can better identify the community structural characteristics in the software ecosystem, improves the solving efficiency of the decomposed multi-objective genetic algorithm, and has important promotion and application value.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114281397B_ABST
    Figure CN114281397B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for detecting the community of a software ecosystem based on a decomposition multi-objective genetic algorithm. Among the currently proposed multi-objective community detection algorithms, the decomposition multi-objective genetic algorithm proposes an efficient new idea for this problem. However, the algorithm has poor local search capabilities, and its application to community partitioning problems also requires multi-angle consideration of the community structure characteristics of the specific software ecosystem. Based on this, this chapter proposes a node attribution function as the objective function of the community detection problem model based on specific characteristics, and uses a label propagation algorithm based on the node attribution function for encoding initialization to provide an efficient initial solution for the algorithm. On this basis, the individual hybrid crossover strategy is specifically analyzed and improved, and the simulated annealing operator is integrated to improve the local evolution capability of the algorithm.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of software ecosystem community detection, and in particular to a software ecosystem community detection method based on a decomposition multi-objective genetic algorithm. Background Art

[0002] As a functional unit and important structure in the field of software engineering, the software ecosystem includes an environment that can be a software company, a research group, or a virtual open source community. The number of components of the software ecosystem is huge, and the associations and interactions between the elements are intricate, which makes the software ecosystem essentially a dynamically changing complex network. Complex networks have some basic statistical properties such as small world, scale-free, and community structure. Among them, the community is the most natural and basic element existing in various network systems. Identifying the community structure in the network is a key step in understanding the network topology characteristics and the internal operation mechanism of the complex network. Community detection is to detect different types of complex networks and dig out the inherent community structure in the network, which helps to understand the function of complex networks, reveal hidden laws, and predict behaviors. With the continuous expansion of application fields, the community detection problem, as a multidisciplinary comprehensive research topic, has attracted many researchers from mathematics, physics, communication, and computer science, and has received widespread attention from industry insiders.

[0003] In recent years, more and more scholars have analyzed the social relationships in the software ecosystem by constructing network models, discovering the mechanism of collaboration, and monitoring the dynamic changes of the network to evaluate the health of the entire software ecosystem. Network-based analysis has become an important research method to improve the quality and efficiency of software development. At present, experts and scholars have proposed many relevant community detection algorithms, including algorithms using heuristic strategies and algorithms based on modularity. They have solved the community detection problem of software ecosystems from different angles and have achieved certain research results. Among them, evolutionary optimization, as a global probabilistic search method that imitates the biological evolution mechanism in nature, can be combined with the community detection problem of software ecosystems to solve the community detection problem more efficiently. However, with the continuous complexity and diversification of community structures in software ecosystems, the requirements for community detection algorithms are also increasing. The classic modularity objective function has the problem of resolution limitation and cannot identify more detailed community structures. The traditional decomposition multi-objective genetic algorithm can solve the community detection problem, but there is a problem of insufficient local evolutionary force. In addition, the specific characteristics of the community structure are not analyzed to better integrate the solution algorithm with the problem, which reduces the efficiency of the genetic algorithm in solving the problem. In order to improve the efficiency of the decomposition multi-objective genetic algorithm in solving the community detection problem, a completely new method must be used for research.

[0004] In view of this, the present invention intends to give a new community detection objective function, which is used together with the modularity function as the objective function for solving the problem, to solve the resolution limitation problem of the modularity function. Then, we use the node's attribution function and the classic LPA community detection algorithm, and propose the algorithm initialization strategy of LPA-M to improve the solution efficiency. On this basis, the community structure characteristics are specifically analyzed to improve the individual mixed crossover strategy, and the simulated annealing operator is integrated to improve the local evolution ability of the algorithm. These will provide theoretical and methodological support for solving the community detection problem of the software ecosystem, and effectively improve the solution efficiency of the decomposition multi-objective genetic algorithm, which has important promotion and application value. The research results of the present invention will be applied to the software ecosystem to improve the efficiency and accuracy of community detection, thereby helping to explore typical community organization models and social characteristics, explore the laws of group collaboration in the software ecosystem and the mechanism of group wisdom emergence, and study personalized information fusion and service recommendation methods in group intelligence software development, which has obvious social needs and economic benefits. Summary of the invention

[0005] Aiming at the community detection problem of software ecosystem, the present invention studies the theory and method of multi-objective genetic community detection algorithm based on decomposition, intends to give a node attribution function, and provide a new objective function for the community detection problem model. On this basis, a mathematical model of the community detection problem based on the decomposition multi-objective genetic algorithm is established, the community detection problem of software ecosystem is converted into a mathematical optimization problem, and finally a corresponding evolutionary optimization solution method is given.

[0006] Technical problem to be solved by the present invention: The present invention aims at the problem of community detection in software ecosystem, establishes a mathematical model of the problem of community detection in software ecosystem, and provides a corresponding evolutionary solution method for the problem of community detection in software ecosystem based on a decomposition multi-objective genetic algorithm.

[0007] The technical solution of the present invention is a theory and method for detecting the community of software ecosystem based on a decomposition multi-objective genetic algorithm, which is characterized by the following steps:

[0008] Step 1: Multi-objective optimization model for the community detection problem in software ecosystems.

[0009] This section gives a mathematical model of the community detection problem in software ecosystems based on a decomposition multi-objective genetic algorithm. In view of the complexity of the community detection problem in software ecosystems based on a decomposition multi-objective genetic algorithm, a genetic algorithm is used to solve it. To this end, it is necessary to model the community detection problem in software ecosystems based on a decomposition multi-objective genetic algorithm as a dual-objective function optimization problem.

[0010] Step 2: Evolutionary solution for community detection based on decomposition multi-objective genetic algorithm.

[0011] Based on the mathematical model established in step 1, this section provides an evolutionary solution method for the mathematical model of the software ecosystem community detection problem, which is characterized by the following steps:

[0012] Step 2.1: Individual coding method;

[0013] Step 2.2: Population initialization;

[0014] Step 2.3: Genetic operation of genetic algorithm;

[0015] Step 2.4: Algorithm termination condition;

[0016] Step 2.5: The algorithm terminates. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 Schematic diagram of neighbor-based encoding method;

[0018] Figure 2 Schematic diagram of label-based encoding method;

[0019] Figure 3 Schematic diagram of the strategy for improving individual hybrid crossover;

[0020] Figure 4 It is the overall flow chart of the present invention. DETAILED DESCRIPTION

[0021] The embodiments of the present invention are described in detail below.

[0022] Step 1: Multi-objective optimization model for the community detection problem in software ecosystems.

[0023] This section will establish a mathematical optimization model for the community detection problem of software ecosystem based on the decomposition multi-objective genetic algorithm in combination with the existing modularity function Q. First, a dual-objective function is established in combination with the modularity function, and finally a mathematical model for the community detection problem of software ecosystem is given.

[0024] 1.1 Basic Concepts

[0025] Assume G = (V, E) is an undirected and unweighted graph, V = {v i ,...,v N} is the set of vertices in the network, E is the set of edges in the network, and N is the number of vertices in the network, that is, |V| = N. The community detection problem is to divide the graph G into several communities with more reasonable structures C = {C i ,...,C N}, generally speaking, the connections within the community are dense, while the connections outside the community are sparse. The community structure can be described by the following formula:

[0026]

[0027] Where C represents the node v i The community where you live, Represents the adjacency matrix of graph G, the community node v in the software ecosystem i Degree k vi (C) can be expressed as the node internal degree and node out-degree The sum of the nodes v i The number of edges with nodes belonging to the same community plus the number of edges with nodes belonging to different communities.

[0028] A strong community means that there are more connections within the community than between communities, and is defined as follows:

[0029]

[0030] Compared with a strong community, a community is a weak community if it meets the following conditions:

[0031]

[0032] That is, the sum of the nodes in a weak community is larger than that in other places in the community. This paper adopts the definition of a weak community.

[0033] 1.2 Objective Function

[0034] The objective functions of multi-objective optimization problems are contradictory, and a set of good and representative optimal solutions must be found through balance or compromise between the objectives. We transform the community partitioning problem of software ecosystems into a dual objective function for solution.

[0035] 1.2.1 New modular density function

[0036] The first objective function is the classic modularity function. Initially, through the study of software ecosystems, some scholars proposed the concept of modularity Q (modularity), in which: Represents the adjacency matrix of the graph. Assume that the node sets of communities C1 and C2 are V1 and V2, then the number of connections between communities C1 and C2 is:

[0037]

[0038] For a community partition result P, the modularity Q in the partition P is defined as:

[0039]

[0040] Among them, q irepresents the difference between the actual coverage and the expected coverage of community i; Q ranges from (-1,1), and m represents the number of community divisions in the software ecosystem. From the definition, the larger the value of the modularity function, the more correct the result of the software ecosystem community division obtained by the algorithm. A good community division meets the requirements of close connection within the community and sparse connection between communities. We use the new modularity density function introduced above as the first objective function of the community detection problem.

[0041]

[0042] 1.2.2 Node Attribution Function

[0043] Although modularity is widely used and is a classic community division evaluation indicator, it has a resolution limitation problem and is not conducive to solving some smaller community problems. When the number of edges within some communities is less than , it may be impossible to distinguish these communities using modularity. Therefore, we propose a new node attribution function M as the second objective function. Let node v i The set of all neighbor nodes of is denoted as N(v i )={v j |v j ∈G,e ij ∈E}, node v i The set of all indirect neighbor nodes of is denoted as N in (v i )={N(v j )|v j ∈G,e ij ∈E}, then the node v in community C i The neighbor node set of can be expressed as N C (v i )={v j |v j ∈C,e ij ∈E}, then the node v in community C i The set of indirect neighbor nodes of can be expressed as Node v i The set of all the edges of the neighboring nodes is expressed as E(v)={e ij |v i ,v j ∈N(v)}, node v i The set of all the edges of the indirect neighbor nodes is represented as E in (v) = {e ij |v i ,v j ∈N in (v)}.

[0044] First consider the direct neighbor points for node v iThe direct impact of belonging to community C on D i :

[0045]

[0046] Indirect neighbor points for node v i Indirect effect of belonging to community C for:

[0047]

[0048] Direct neighbor edge rate for node v i The direct impact of the degree of belonging to community C on DE i for:

[0049]

[0050] Indirect neighbor edge rate for node v i Indirect effect of belonging to community C for:

[0051]

[0052] Combining the above node v i The degree of ownership influence formula is given by node v i The total degree of belonging in the current community C (value range is 0 to 1) formula:

[0053]

[0054] Among them, the parameter α≥1, which means that for the total degree of belonging, the node v i The direct impact of the degree of belonging is stronger than that of node v i The indirect impact of the degree of belonging.

[0055] Therefore, in order to solve the optimal division result of each node attribution, the second objective function (node ​​attribution function) of the community detection problem is given:

[0056]

[0057] The degree of belonging refers to the closeness of a node's connection with other nodes in its community. The higher the degree of belonging, the closer the connection with other nodes in the community. Conversely, the connection is sparse. Generally speaking, a node should be assigned to the community with the highest degree of belonging. At this time, the connection within the community is closer and the community division is more meaningful.

[0058] 1.3 Mathematical model

[0059] In summary, the community detection problem in software ecosystem can be modeled as the following mathematical optimization problem:

[0060] min F(x)=min{f1(x),f2(x)}

[0061] stx∈Ω

[0062] Among them, the decision variable x=(x1,...,x n )∈S, S is the decision space, F(x)={f1,f2}:S→R 2 is a two-dimensional objective function. We use the modularity function as the first objective function and the proposed node belonging function as the second objective function.

[0063] We adopt the MOEA / D framework, which treats each target problem as a one-dimensional space in k-dimensional space, divides the space into H parts according to [0,1], with a step size of 1 / H. For k-dimensional space, w1+w2+...+w k =1, where k is the number of objective functions in the problem. In this problem model, k = 2. H is a custom positive integer related to the number of subproblems. The classic distance-based penalty function (PBI) is used as the weighting method for subproblems.

[0064] Step 2: Evolutionary solution for community detection based on decomposition multi-objective genetic algorithm.

[0065] This section presents an evolutionary solution method for community detection in software ecosystems based on a decomposed multi-objective genetic algorithm, including: individual encoding method, population initialization strategy, evolutionary operation of the genetic algorithm, local evolution operator and algorithm termination condition.

[0066] 2.1 Individual coding method

[0067] 1) Neighbor-based encoding

[0068] The encoding method based on neighbor nodes can be described as follows: the length of the solution gene and allele is N. If two vertices are connected, then the allele of the point may be assigned by the neighbor node. Conversely, the gene can also be decoded based on the idea of ​​encoding. For specific encoding methods, see the attached manual. Figure 1 .

[0069] 2) Tag-based encoding

[0070] The n initial population codes based on the labels are in the form of x=(x1,x2,...,x n ), where x represents the label set of n nodes in the software ecosystem; x i represents the label of node i, x i ={1,2,...,n}, nodes belonging to the same community have the same community label. For specific encoding methods, see the appendix of the manual Figure 2 .

[0071] Aiming at the typical characteristics of the community detection problem, the algorithm first adopts a coding method based on neighbor nodes (Locus-based Adjacency) to directly encode and generate the required n initial populations, and then decodes the initial populations. This makes it unnecessary to predict the number of divided communities at the beginning, and is conducive to subsequent initialization operations.

[0072] 2.2 Population initialization strategy based on optimized node attribution label propagation algorithm

[0073] In order to better combine the algorithm with the domain knowledge of the community detection problem and provide a higher quality and more efficient initial solution set, we propose the algorithm's population initialization strategy LPA-M, which combines LPA with the node attribution function and performs community division based on the topological structure of the graph.

[0074] LPA-M algorithm process: Each node is initially regarded as an independent community. Each node is traversed, and the total attribution benefit of the current node and its neighbor nodes after adding a neighbor label is calculated, and the best attribution label is selected. Then, the formed communities are folded, and each community is folded into a single point, and the previous step is repeated. The cycle is repeated until the number of iterations of the algorithm is reached, or the community division result of the software ecosystem has been formed. The biggest advantage of this algorithm is that it has low time complexity and is easy to implement.

[0075] The algorithm in the initialization phase first adopts the encoding method based on neighbor nodes (Locus-based Adjacency) to directly encode and generate the required n initial populations, and then decode the initial populations. This makes it unnecessary to predict the number of divided communities at the beginning, and is conducive to subsequent initialization operations.

[0076] For the randomly generated label-encoded initial population, we use the LPA-M algorithm to perform k initial iterations to obtain the initial population. A better initial population can improve the evolutionary efficiency and quality.

[0077] 2.3 Evolutionary Operations of Genetic Algorithms

[0078] The evolutionary operations of the genetic algorithm used here include selection operator, crossover operator and mutation operator. Among them, we use the roulette selection operator, and the crossover and mutation operators are introduced in detail below.

[0079] 1) Improve individual hybrid crossover strategy

[0080] In order to retain the beneficial information of the parent individuals during the evolution process while also providing new evolutionary space, we propose a new individual crossover strategy. In order to make the strategy convenient and efficient, a label-based encoding method is used.

[0081] The specific ideas of the improved strategy are as follows: First, randomly select a gene position of an individual in the population, such as gene position 8 in the figure below, and find the gene position in the parent ① that is in the same community as the gene position, such as gene positions 2, 3, and 9 in the figure below. Replace the same gene position in the parent ②, and change the label to the community label 4 where gene position 8 in the parent ② is located. Then generate the child ②, and perform the same crossover operation on the parent ① to generate the child ①. For specific operations, see the attached manual. Figure 3 .

[0082] This crossover operation can retain the beneficial information of the parent individuals and also provide new evolutionary space. Moreover, the label-based encoding method does not require the final decoding process, and this crossover process does not require the encoding standardization process, which is convenient to use and improves the efficiency of the algorithm.

[0083] 2) Mutation strategy for replacing neighbor labels

[0084] Adopt a single-point mutation method based on neighbors. Select a certain gene position according to a certain mutation probability p, randomly change the community classification to which the node belongs, and replace the label node with the maximum label of the neighbor node. If it is greater than one, replace it randomly. The mutation strategy based on neighbor labels allows the individual mutation process to proceed within a certain reasonable range, which can improve the speed of solving.

[0085] 2.4 Algorithm Local Search Strategy

[0086] In order to solve the problem of insufficient local search capability of the decomposition-based multi-objective genetic algorithm, simulated annealing is selected as the local search strategy of the algorithm. Simulated annealing is a random combinatorial optimization method that has a wide range of applications in current production and life. The algorithm simulates the relevant field knowledge of thermodynamics. The algorithm initially determines a temperature, that is, the initial state; then it is continuously updated, looking for a better new state during the update, but also accepting a certain probability of a worse state. In this process, the system temperature continues to decrease, and the process is repeated. After the system cools down, the process ends.

[0087] 2.5 Algorithm steps

[0088] Based on the above discussion, if Figure 4 As shown in the figure, the evolutionary solution method for the software ecosystem community detection problem based on the decomposition multi-objective genetic algorithm given in this paper is as follows:

[0089] Step 1 Parameter setting and individual coding

[0090] Set the control parameters of the algorithm, such as population size, algorithm termination number, crossover probability, mutation probability, etc.; determine the encoding method of individuals. Based on criterion 1, combined with the existing modularity function and the proposed node attribution function expression, the objective function of the community detection problem model is constructed.

[0091] Step 2: Initialize the algorithm population

[0092] Combining LPA with the node attribution function, the algorithm population is initialized based on the topological structure of the graph using a population initialization strategy based on optimizing the node attribution label propagation algorithm.

[0093] Step 3 Genetic operation of genetic algorithm

[0094] First, the selection operation is performed, and the algorithm is used to solve the fitness function of the individual. The individual is selected as the excellent individual of the current generation with a certain probability. Then the crossover operation is performed, and the random positions of a pair of parent individuals in the previous generation are randomly selected, and two individuals of the next generation are generated by crossover to obtain a new software ecosystem community partition solution. Then the mutation operation is performed. That is, the community partition to which a certain node belongs is to replace the corresponding labels of neighbor nodes with the maximum probability of mutation. Finally, the excellent solution is selected for update. If the number of optimal solutions is less than half of the current population, a local search is performed. Otherwise, the algorithm continues.

[0095] Step 4 determines whether the algorithm termination condition is met and whether the evolutionary generation reaches the termination generation. If not, go to step 3, otherwise go to step 5.

[0096] Step 5: The algorithm terminates, the algorithm is terminated and the loop is exited, and the optimal result is output.

Claims

1. A software ecosystem community detection method based on a decomposition multi-objective genetic algorithm, characterized by: Step 1: Multi-objective optimization model for the community detection problem in software ecosystems; specifically including: Combining the modular density function with the node attribution function M, a dual objective function is established to give a mathematical model for the community detection problem in the software ecosystem. The modular density function is used as the first objective function of the community detection problem, and the node attribution function is used as the second objective function. The modular density function is as follows: Among them, let the node sets of communities C1 and C2 be V1 and V2, then the number of connections between communities C1 and C2 is L(C1, C2), q i represents the difference between the actual coverage and the expected coverage of community i; the value range of Q is (-1,1), and m represents the number of community divisions in the software ecosystem; The node attribution function is as follows: Let node v i The set of all neighbor nodes of is denoted as N(v i )={v j |v j ∈G,e ij ∈E}, node v i The set of all indirect neighbor nodes of is denoted as N in (v i )={N(v j )|v j ∈G,e ij ∈E}, then the node v in community C i The neighbor node set of can be expressed as N C (v i )={v j |v j ∈C,e ij ∈E}, then the node v in community C i The set of indirect neighbor nodes of can be expressed as Node v i The set of all the edges of the neighboring nodes is expressed as E(v)={e ij |v i ,v j ∈N(v)}, node v i The set of all the edges of the indirect neighbor nodes is represented as E in (v) = {e ij |v i ,v j ∈N in (v)}; First consider the direct neighbor points for node v i The direct impact of belonging to community C on D i : Indirect neighbor points for node v i Indirect effect of belonging to community C for: Direct neighbor edge rate for node v i The direct impact of the degree of belonging to community C on DE i for: Indirect neighbor edge rate for node v i Indirect effect of belonging to community C for: Combining the above node v i The degree of ownership influence formula is given by node v i The total belonging degree formula in the current community C is as follows, and the total belonging degree value ranges from 0 to 1; Among them, the parameter α≥1 is used to indicate that for the total degree of belonging, the node v i The direct impact of the degree of belonging is stronger than that of node v i The indirect influence of the degree of belonging; Therefore, in order to solve the optimal division result of each node attribution, the second objective function of the community detection problem studied is given, that is, the node attribution function is as follows: The community detection problem in software ecosystems can be modeled as the following mathematical optimization problem: min F(x)=min{f1(x),f2(x)} stx∈Ω Among them, the decision variable x=(x1,...,x n )∈S, S is the decision space, F(x)={f1,f2}:S→R 2 is a two-dimensional objective function; Step 2: Evolutionary solution of community detection based on decomposition multi-objective genetic algorithm; including the following steps: Step 2.1, parameter setting and individual coding, set the control parameters of the algorithm, including population size, algorithm termination number, crossover probability, and mutation probability; determine the individual coding method, and on the basis of criterion 1, combine the existing modular density function and the proposed node attribution function expression to construct the objective function of the community detection problem model; Step 2.2, algorithm population initialization, combining LPA with the node attribution function, using the population initialization strategy based on the optimized node attribution label propagation algorithm, and initializing the algorithm population based on the topological structure of the graph; Step 2.3, the genetic operation of the genetic algorithm, firstly, the selection operation is performed, the algorithm is calculated to solve the fitness function of the individual, and the individual is selected as the excellent individual of the current generation with a certain probability; then the crossover operation is performed, randomly selecting the random positions of a pair of parent individuals in the previous generation, crossover to generate two individuals of the new next generation, and obtain a new software ecosystem community partition solution; then the mutation operation is performed, that is, the community partition to which a certain node belongs is replaced by the maximum replacement of the corresponding labels of the neighboring nodes with the mutation probability, and finally the excellent solution is selected for update. If the number of optimal solutions is less than half of the current population number, a local search is performed, otherwise, the algorithm continues; Step 2.4, determine whether the algorithm termination condition is met and whether the evolutionary generation reaches the termination generation. If not, go to step 3, otherwise go to step 5; Step 2.5, algorithm termination, terminate the algorithm and exit the loop, output the optimal result; 2. The method for detecting a community in a software ecosystem based on a decomposition multi-objective genetic algorithm according to claim 1, characterized in that: The mathematical optimization problem adopts the MOEA / D framework. In the k-dimensional space, the algorithm regards each target problem as a one-dimensional space, divides the space into H parts according to [0,1], and the step size is 1 / H. For the k-dimensional space, w1+w2+...+w k =1, where k is the number of objective functions in the problem. In this problem model, k=2, and H is a custom positive integer related to the number of subproblems. The classic distance-based penalty function (PBI) is used as the weighting method for subproblems.

3. The method for detecting a community in a software ecosystem based on a decomposition multi-objective genetic algorithm according to claim 1, characterized in that: The individual coding algorithm targets typical features of the community detection problem. The algorithm first adopts a coding method based on neighbor nodes (Locus-based Adjacency) to directly encode and generate the required n initial populations, and then decodes the initial populations. This makes it unnecessary to predict the number of divided communities at the beginning, and is conducive to subsequent initialization operations. The population initialization strategy based on the optimized node attribution label propagation algorithm is adopted. In order to better combine the algorithm with the domain knowledge of the community detection problem and provide a more efficient initial solution set, the algorithm's population initialization strategy LPA-M combines LPA with the node attribution function and divides the community based on the topological structure of the graph. LPA-M algorithm process: Each node is initially regarded as an independent community. After traversing each node and adding it to a neighbor label, the optimal attribution label is selected based on the total attribution benefit of the current node and its neighbor nodes. Then, the formed communities are folded, and each community is folded into a single point. The previous step is repeated until the number of algorithm iterations is reached, or the community division result of the software ecosystem has been formed.

4. The method for detecting a community in a software ecosystem based on a decomposition multi-objective genetic algorithm according to claim 1, characterized in that: Adopt the mutation strategy of replacing neighbor labels, that is, adopt the single-point mutation method based on neighbors, select a certain gene position according to a certain mutation probability p, randomly change the community classification to which the node belongs, and replace the label node with the maximum label of the neighbor node. If it is greater than one, replace it randomly. The mutation strategy based on neighbor labels makes the individual mutation process proceed within a certain reasonable range, which can improve the speed of solving.

5. The method for detecting a community in a software ecosystem based on a decomposition multi-objective genetic algorithm according to claim 1, characterized in that: In order to solve the problem of insufficient local search capability of the decomposition-based multi-objective genetic algorithm, simulated annealing is selected as the local search strategy of the algorithm.