A source domain graph pruning method based on node influence

By calculating multi-dimensional topological features of the source and target domain graphs, dynamically measuring structural bias, and pruning structural deviation nodes, the negative transfer problem in cross-graph transfer learning is solved, improving the model's classification accuracy and robustness in the target domain.

CN122310094BActive Publication Date: 2026-11-24CHINA UNIV OF MINING & TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202610373338.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2026-03-25
Publication Date
2026-11-24
Estimated Expiration
2046-03-25

AI Technical Summary

Technical Problem

In existing cross-graph transfer learning, the negative transfer problem is caused by the structural differences between nodes in the source graph and the target graph. Existing methods fail to effectively remove nodes with structural deviations, introduce noise, and affect the classification accuracy of the model in the target domain.

Method used

By calculating the multi-dimensional topological features of the source and target domain graphs, the structural deviation is dynamically measured. The influence of nodes is evaluated using nonlinear exponential decay, adaptive reciprocal mapping, or Gaussian kernel function. Nodes with structural deviations are pruned, and a compatible source domain subgraph is constructed for transfer learning.

Benefits of technology

Accurately identify and remove structural noise nodes to improve the model's classification accuracy in the target domain, reduce computational complexity, and enhance the robustness of transfer learning.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122310094B_ABST
    Figure CN122310094B_ABST
Patent Text Reader

Abstract

This invention relates to a source domain graph pruning method based on node influence, belonging to the field of transfer learning technology, and solves the problem of negative transfer caused by neglecting structural offset in existing technologies. The method includes: calculating the multi-dimensional topological features of each node in the source and target domain graphs; dynamically measuring the structural deviation between the source and target domain graphs; determining the comprehensive influence of each node in the source domain graph based on the structural deviation and the topological features of each node in the source domain graph; and pruning the source domain graph based on the comprehensive influence of each node. This effectively solves the negative transfer problem.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of transfer learning technology, and in particular to a source domain graph pruning method based on node influence. Background Technology

[0002] Cross-graph transfer learning refers to the process of transferring knowledge from a labeled graph (source graph) to an unlabeled graph (target graph) to perform tasks such as node classification or graph classification on the target graph. Since the two graphs may have differences in structure, node attributes, and distribution, models trained directly on the source graph often perform poorly on the target graph. Therefore, a cross-graph transfer learning method is needed, such as a node selection strategy based on deep learning feature extraction and reinforcement learning. This method, without using any labels from the target graph, uses techniques such as feature alignment to enable the model to perform accurate image classification on the source graph and generalize well on the target graph.

[0003] Existing cross-graph transfer learning assumes that all nodes in the source domain are effective, that is, it uses all nodes in the source domain for transfer learning; however, in complex graph scenarios, there may be nodes in the source graph that are completely different from the target graph in terms of topology. Blindly introducing these nodes will introduce serious distribution noise and cause negative transfer effects. Summary of the Invention

[0004] Based on the above analysis, the embodiments of the present invention aim to provide a source domain graph pruning method based on node influence to solve the negative migration problem caused by neglecting structural offset in existing methods.

[0005] On one hand, embodiments of the present invention provide a source domain graph pruning method based on node influence, including the following steps: Calculate the multi-dimensional topological features of each node in the source and target domain graphs; Dynamically measure the structural deviation between the source and target domain graphs; The comprehensive influence of each node in the source domain graph is determined based on the structural deviation between the source domain graph and the target domain graph, as well as the topological characteristics of each node in the source domain graph. Pruning is performed on the source domain graph based on the overall influence of each node in the source domain graph.

[0006] Based on further improvements to the above method, the comprehensive influence of each node in the source domain graph is determined using the following method, based on the structural deviation between the source and target domain graphs and the topological characteristics of each node in the source domain graph: For each node in the source domain graph, based on the structural deviation between the source domain graph structure and the target domain graph structure, the influence score of the node on each topological feature is calculated using nonlinear exponential decay, adaptive reciprocal mapping, or Gaussian and / or Gaussian kernel function. The node's overall influence is obtained by weighting and fusing its influence scores for each topological feature.

[0007] Based on a further improvement of the above method, the influence score of the node on each topological feature is calculated using nonlinear exponential decay and expressed as follows: ; in, Denotes the controlled attenuation coefficient of the i-th topological feature. This represents the standard deviation of the i-th topological feature of the target domain graph. Represents nodes in the source domain graph The structural deviation between the i-th topological feature and the structural benchmark feature of the target domain. Represents a node Influence score on the i-th topological feature.

[0008] Based on a further improvement to the above method, the influence score of the node on each topological feature is calculated using an adaptive reciprocal mapping, as follows: ; in, Represents a node Influence score on the i-th topological feature Let represent the mean of the i-th topological feature of the target domain graph. Indicates the adjustment power. This represents a small perturbation term. Represents nodes in the source domain graph The structural deviation between the i-th topological feature and the structural reference feature of the target domain.

[0009] Based on the above method, a further improvement is made, using the Gaussian kernel function to calculate the node's influence score on each topological feature, expressed as follows: ; in, Represents a node Influence score on the i-th topological feature Represents nodes in the source domain graph The structural deviation between the i-th topological feature and the structural benchmark feature of the target domain. This represents the kernel bandwidth parameter of the Gaussian kernel function.

[0010] Based on the above method, a further improvement is made to dynamically measure the structural deviation between the source domain graph and the target domain graph in the following way: Calculate the structural baseline features for each topological feature of the target domain graph; For each node in the source domain graph, calculate the structural deviation between its topological features and the structural baseline features of the target domain graph.

[0011] Based on further improvements to the above method, the multi-dimensional topological features include: k-order subgraph structure entropy, local clustering coefficient, and / or multi-order neighborhood distribution moments.

[0012] Based on the further improvement of the above method, the k-th order subgraph structure entropy of a node is calculated using the following formula: ; ; in, Represents a node The entropy of the k-th order subgraph structure, Represents a node The k-th order neighborhood subgraph, Represents a node In subgraph The degree above, Represents a node In subgraph The degree above, Represents a node The structural weights.

[0013] Based on the further improvement of the above method, the multi-order neighborhood distribution moments of the nodes are calculated using the following formula: ; in, Represents a node The multi-order neighborhood distribution moments, Represents a node k-order neighborhood subgraph The number of nodes in the middle, Represents a node In subgraph The degree above, Subgraph The average degree of all nodes in the equation.

[0014] Based on the further improvement of the above method, the local clustering coefficient of the nodes is calculated using the following formula: ; in, Represents a node The number of connecting edges in a first-order neighborhood subgraph Represents a node The number of nodes in the first-order neighborhood subgraph Represents a node The local clustering coefficient.

[0015] Compared with the prior art, the present invention can achieve at least one of the following beneficial effects: 1. By dynamically measuring the structural deviation between the source and target domain graphs, the differences in the topological structure of the source and target domains are reflected. This allows for the determination of the comprehensive influence of each node in the source domain graph. Based on the comprehensive influence of each node in the source domain graph, the source domain graph is pruned to eliminate structural deviation points and effectively solve the negative migration problem.

[0016] 2. Accurately measure the graph topology features of the source and target domain graphs by calculating the multidimensional topology features of each node.

[0017] 3. By quantifying the deviation values ​​of individual nodes in the source domain graph from the overall structure of the target domain graph in various topological features, the differences in the topological structure between the source domain and the target domain are reflected in numerical form.

[0018] In this invention, the above-described technical solutions can be combined with each other to achieve more preferred combinations. Other features and advantages of this invention will be set forth in the following description, and some advantages may become apparent from the description or be learned by practicing the invention. The objects and other advantages of this invention can be realized and obtained from what is particularly pointed out in the description and drawings. Attached Figure Description

[0019] The accompanying drawings are for illustrative purposes only and are not intended to limit the invention. Throughout the drawings, the same reference numerals denote the same parts. Figure 1 This is a flowchart of the source domain graph pruning method based on node influence, as described in an embodiment of the present invention. Detailed Implementation

[0020] Preferred embodiments of the present invention will now be described in detail with reference to the accompanying drawings, which form part of this application and are used together with the embodiments of the present invention to illustrate the principles of the present invention, but are not intended to limit the scope of the present invention.

[0021] A specific embodiment of the present invention discloses a source domain graph pruning method based on node influence, such as... Figure 1 As shown, it includes the following steps: S1. Calculate the topological features of each node in the source domain graph and the target domain graph; S2. Dynamically measure the structural deviation between the source and target domain graphs; S3. Determine the comprehensive influence of each node in the source domain graph based on the structural deviation between the source domain graph and the target domain graph, as well as the topological characteristics of each node in the source domain graph; S4. Prune the source domain graph based on the comprehensive influence of each node in the source domain graph.

[0022] Compared with existing technologies, the source domain graph pruning method based on node influence provided in this embodiment accurately measures the graph topology features of the source and target domain graphs by calculating the topology features of each node; it reflects the differences in the topology of the source and target domains by dynamically measuring the structural deviation between the source and target domain graphs in numerical form; it determines the comprehensive influence of each node in the source domain graph based on the structural deviation between the source and target domain graphs and the topology features of each node in the source domain graph; and it prunes the source domain graph based on the comprehensive influence of each node in the source domain graph, thereby abandoning the traditional full-source graph training mode. By refining the structure of the source domain graph before transfer learning, it selectively utilizes source domain nodes to optimize the knowledge transfer process, identifies and removes structurally abnormal nodes that may induce negative transfer, and constructs a cleaner source domain subgraph that is compatible with the target domain structure for subsequent knowledge transfer training. Then, it performs transfer training based on the pruned source and target domain graphs, thereby ensuring that the trained encoder can focus on extracting transferable and robust topology patterns, effectively solving the negative transfer problem, significantly improving the classification accuracy of the model in the target domain, and achieving more accurate image recognition.

[0023] Specifically, in order to characterize the position and role of nodes in the graph from different dimensions and accurately measure the topological features of the source and target graphs, multi-dimensional topological features are calculated for each node in the source and target graphs.

[0024] Specifically, multi-dimensional topological features include: k-order subgraph structure entropy, multi-hop diffusion intensity, local clustering coefficient, multi-order neighborhood distribution moments, multi-scale path diversity coefficient, and / or topological renormalization population coefficient.

[0025] k-order subgraph structure entropy is used to measure the structural complexity and orderliness of a node in its k-order neighborhood subgraph.

[0026] For nodes k-order neighborhood subgraph any node in Its structural weights are: ; in, Represents a node In subgraph The degree above, Represents a node In subgraph The structural weight of a node can be understood as the relative proportion of information distributed through that node in a subgraph. Based on structural weights, nodes... The entropy of the k-th order subgraph structure is: ; in, Represents a node The entropy of the k-th order subgraph structure, Represents a node The structural weights.

[0027] When subgraph When the distribution height of the nodes is uniform, A larger value indicates that the local structure of the node is complex; when the subgraph When exhibiting a star-shaped, chain-like, or highly concentrated structure, A smaller value indicates that the information is mainly concentrated in a few key nodes. The structural entropy of the k-order subgraph can effectively supplement the structural diversity and uncertainty information that traditional centrality indicators cannot reflect.

[0028] Multi-hop diffusion intensity is used to characterize nodes. In a graph structure, the spatial coverage capability of information propagation, i.e., information from nodes... The ability to penetrate the entire map.

[0029] First, define the thermonuclear diffusion matrix. ,in, Represents the Laplace matrix of the source or target domain graph. Indicates diffusion time. Elements of the thermonuclear diffusion matrix. This characterizes the pairwise transmission strength / energy of information propagating from the i-th node to the j-th node within time t. (Node) The multi-hop diffusion intensity is defined as the number of nodes in the diffusion matrix. The total energy of the corresponding row represents the node. As the source of information, it transmits the total capacity of information to the entire graph network.

[0030] ; in, This represents the size of the set of nodes in the source or target domain graph, i.e., the total number of nodes. In the thermonuclear diffusion matrix, the nodes represent... The element in the j-th column of the corresponding row. Represents a node The multi-hop diffusion intensity.

[0031] The diffusion time t plays a crucial role in determining the receptive field size during thermonuclear diffusion. The closer t is to 0, the more confined the diffusion is to the node itself and its first-order neighbors; the larger t is, the more information permeates globally. During implementation, a preset interval, such as {1,2,3,…,10}, can be used as a hyperparameter for grid search to find the optimal value.

[0032] Multi-hop diffusion intensity can characterize the propagation breadth of a node in the manifold space. It is crucial for identifying nodes with "strong coverage effect" or "isolation effect" and is a key indicator for measuring the differences in propagation characteristics between domains.

[0033] Local clustering coefficients are used to characterize the degree of local connectivity within the neighborhood of a node.

[0034] Specifically, the local clustering coefficient of a node is calculated using the following formula: ; in, Represents a node The number of connecting edges in a first-order neighborhood subgraph Represents a node The number of nodes in the first-order neighborhood subgraph Represents a node The local clustering coefficient.

[0035] It should be noted that when a node has fewer than 2 neighbors, its local clustering coefficient is set to 0. This metric measures whether the local structure of a node exhibits clustering characteristics; the higher the value, the tighter the connections within the node's neighborhood.

[0036] The multi-order neighborhood distribution moment is used to characterize the dispersion of the structural distribution within a node's k-th order neighborhood, and is represented by the variance (second moment) of the node's degree distribution within its k-th order neighborhood. Specifically, the multi-order neighborhood distribution moment of a node is calculated using the following formula: ; in, Represents a node The multi-order neighborhood distribution moments, Represents a node k-order neighborhood subgraph The number of nodes in the middle, Represents a node In subgraph The degree above, Subgraph The average degree of all nodes in the equation.

[0037] when When the value is large, it indicates that a few nodes in the neighborhood occupy the main structural weights, and the structure shows obvious concentration; when A smaller value indicates a more uniform distribution of the neighborhood structure.

[0038] The multi-scale path diversity coefficient aims to quantify the richness of path choices a node makes when visiting its neighboring nodes, rather than focusing solely on path length. Nodes connected to the core community via only a single path (structurally fragile nodes) are highly susceptible to feature drift due to connection breaks during cross-domain migration.

[0039] Specifically, the path diversity coefficient is defined as the sum of the Shannon entropies of the path number distribution under different path lengths, and the multi-scale path diversity coefficient of a node is calculated using the following formula: ; ; Where K represents the maximum path length of the source or target domain graph. This represents the set of nodes in the source or target domain graph. represents the k-th power of the adjacency matrix of the source or target graph. Indicates from node To the node The number of paths of length k. Indicates from node To the node The number of paths of length k. Represents a node The multi-scale path diversity coefficient.

[0040] The multi-scale nature of the path diversity coefficient is reflected in the simultaneous consideration of different path lengths. When When the value is too small, the node structure is highly fragile and prone to feature drift due to critical path breakage; when... When the value is too large, the node path distribution becomes excessively diffuse, leading to semantic dilution.

[0041] The core idea of ​​the topology renormalization population coefficient is to continuously merge and simplify the original graph through coarse-grained operations, observing the connectivity retention ability of nodes after scaling the graph structure. This coefficient measures the extent to which a node belongs to the structural backbone of the graph. If a node remains at the center of a supernode after multiple renormalization operations, it indicates that it carries stable topological information across scales. Such topologically robust nodes have a low probability of negative migration during migration and are high-influence nodes that should be retained.

[0042] In implementation, a community detection algorithm, such as the Louvain algorithm, can be used to divide the source domain graph into multiple local small communities. Then, the communities are sorted from smallest to largest according to the number of nodes they contain. Following this order, smaller communities are preferentially clustered into a supernode until the total number of nodes is reduced to a preset proportion of the original number of nodes (e.g., compressed to 30% or 40% of the original number of nodes), thus obtaining a coarse-grained graph of the source domain graph. The same method can be used to obtain the coarse-grained graph of the target domain graph.

[0043] compute nodes The supernode in the coarse-grained graph The degree of aggregation in the population is used to obtain the topological renormalization population coefficients: ; in, Represents nodes in the coarse-grained graph The degree of the supernode it belongs to. This represents the average degree of the coarse-grained plot. Represents a node The topological renormalization population coefficients.

[0044] In implementation, topological features may include: degree centrality, betweenness centrality, compact centrality, and eigenvector centrality. Degree centrality measures a node's importance by calculating the number of directly connected edges it has, reflecting its local centrality and immediate influence. This value is typically standardized (divided by the maximum possible number of connected edges in the graph) for comparison between graphs of different sizes. Betweenness centrality measures the proportion of shortest paths between all pairs of nodes in the graph that pass through that node, reflecting its ability to act as a bridge or intermediary. Closeness centrality, calculated by taking the reciprocal of the average shortest path distance from a node to all other nodes in the graph, measures the efficiency of information transmission between nodes; a higher score indicates that the node is geometrically closer to the graph center. Eigenvector centrality assesses a node's global importance, considering the quality of its neighbors; connections to high-scoring nodes contribute more to its score.

[0045] To address the issue that existing methods ignore structural offset, this invention identifies structurally incompatible nodes by quantifying the degree of deviation between source domain nodes and the overall structural benchmark of the target domain.

[0046] Specifically, the structural deviation between the source domain graph and the target domain graph is dynamically measured using the following method: Calculate the structural baseline features for each topological feature of the target domain graph; For each node in the source domain graph, calculate the structural deviation between each of its topological features and the structural baseline features of the target domain.

[0047] During implementation, the structural baseline features of the target domain graph in the corresponding dimension are calculated based on the topological features of each node in each dimension. That is, the target domain graph is calculated. Global expected value of each topological feature ,in, Representing the target domain graph Middle node The i-th topological feature Indicates the number of nodes in the target domain graph. This represents the set of nodes in the target domain graph. Represents the set of edges in the target domain graph. This represents the mean of the i-th topological feature of the target domain graph.

[0048] Then, the cross-domain structural deviation is calculated. That is, for each node in the source domain graph... , Represent the set of nodes in the source domain graph, and calculate the deviation value between it and the baseline features of the target domain structure. ,in, Representing the source domain graph Middle node The i-th topological eigenvalue, This indicates the absolute value operation.

[0049] By quantifying the deviation of individual nodes in the source domain graph from the overall structure of the target domain graph (i.e., the mean of each topological feature in the target domain graph) at various topological features, the differences in topological structure between the source and target domains are reflected numerically. Structural Deviation The larger the number of nodes in the source domain graph, the more important it is. The more inconsistent the topological representation of the i-th topological feature is with the target domain, the lower its value as a knowledge transfer carrier.

[0050] Since a larger structural deviation value for a node in the source domain graph corresponds to a smaller effect and a lower influence score, the node's influence score is inversely proportional to its structural deviation value. Therefore, the comprehensive influence of each node in the source domain graph is determined based on the structural deviations of the source and target domain graphs and the topological characteristics of each node in the source domain graph.

[0051] Specifically, the overall influence of each node in the source domain graph is determined using the following method: For each node in the source domain graph, based on the structural deviation between the source domain graph structure and the target domain graph structure, the influence score of the node on each topological feature is calculated using nonlinear exponential decay, adaptive reciprocal mapping, or Gaussian and / or Gaussian kernel function. The node's overall influence is obtained by weighting and fusing its influence scores for each topological feature.

[0052] Specifically, the influence score of this node on each topological feature is calculated using nonlinear exponential decay and is expressed as follows: ; in, Denotes the controlled attenuation coefficient of the i-th topological feature. This represents the standard deviation of the i-th topological feature of the target domain graph. Represents nodes in the source domain graph The structural deviation between the i-th topological feature and the structural benchmark feature of the target domain. Represents a node Influence score on the i-th topological feature.

[0053] A value greater than 0 ensures that the exponential function exhibits monotonically decaying characteristics; the larger the value, the lower the tolerance for deviations in the topological characteristics, and vice versa; in specific implementation, the empirical range [0.1, 4.0] can be considered.

[0054] When the structural features of a source domain graph node deviate from the baseline topology of the target domain, the influence score decreases exponentially with the structural deviation value, which can quickly filter out potential negative migration source domain graph nodes.

[0055] Specifically, the influence score of this node on each topological feature is calculated using an adaptive inverse mapping, and is represented as follows: ; in, Represents a node Influence score on the i-th topological feature Let represent the mean of the i-th topological feature of the target domain graph. Indicates the adjustment power. This represents a small perturbation term. Represents nodes in the source domain graph The structural deviation between the i-th topological feature and the structural reference feature of the target domain.

[0056] Adjusting the power , It is a small perturbation term to prevent the denominator from being zero; for example, it can be set to 1e-6.

[0057] The adaptive reciprocal mapping method introduces the concept of relative bias, making the influence scores of graph data of different scales comparable and preventing the scores from becoming invalid due to excessively large absolute values.

[0058] Specifically, the influence score of this node on each topological feature is calculated using the Gaussian kernel function and is expressed as follows: ; in, Represents a node Influence score on the i-th topological feature Represents nodes in the source domain graph The structural deviation between the i-th topological feature and the structural benchmark feature of the target domain. This represents the kernel bandwidth parameter of the Gaussian kernel function.

[0059] The Gaussian kernel function treats the "structural deviation value" as distance and the "influence score" as probability density. A higher influence score is obtained only when the structural features of the source domain graph nodes fall within the "high confidence interval" of the target domain graph's structural distribution.

[0060] In practice, one or more of the three methods mentioned above can be used to calculate the node's influence score. If two or three methods are used, the influence scores obtained from different methods can be weighted and summed or averaged to obtain the final influence score of the node on a certain topological feature.

[0061] During implementation, after obtaining the influence score of each node in the source domain graph on each topological feature, the influence scores of each dimension are weighted and fused: ; in, The weight of the i-th topological feature is represented by the following: Represents a node Influence score on the i-th topological feature Represents a node Its overall influence.

[0062] The weights of each topological feature can be manually set according to their respective importance, or a grid search can be performed from a manually set range. Ensure that the sum of the weights of all topological features is 1.

[0063] During implementation, due to the node influence scores of each dimension... The significant differences in the units of measurement mean that the direct weighted fusion method described above may lead to a single feature's influence score dominating, impacting the overall generalization performance of the model. To ensure numerical robustness, a ranking-based normalization mechanism can be used for normalization.

[0064] For each topological feature, first assign an influence score to the corresponding node in the source graph. Sort in ascending order. Then, map the influence score to a normalized interval. That is, the influence score is normalized based on the ranking of each node:

[0065] in, Represents a node The ranking position under the i-th topological feature This indicates the number of nodes in the source domain graph. It can be used as a node in the source domain graph. A novel influence score is assigned to this topological feature, and then a weighted fusion is performed to obtain the overall influence of the node.

[0066] By leveraging the combined influence, outliers in the source graph that are severely incompatible with the target domain's topology can be accurately identified. By pre-removing these structural noises, the subsequent graph neural network encoder can focus on extracting transferable and robust topological patterns, significantly improving the model's classification accuracy in the target domain.

[0067] During implementation, pruning the source domain graph based on the comprehensive influence of each node in the source domain graph includes: The nodes in the source domain graph are sorted in descending order of overall influence; the last one is ranked... Each node is a node with inconsistent structure; The pruned source domain graph is obtained by removing structurally inconsistent nodes and their associated edges from the source domain graph.

[0068] in, Indicates rounding down. This indicates the preset pruning ratio.

[0069] This invention approaches the issue from the perspective of source domain data selection, arguing that not all source domain nodes are suitable for knowledge transfer in the target domain. Source domain nodes with significant structural deviations can introduce noise, leading to negative knowledge transfer. By performing data-level pruning and refinement on the source domain graph, source domain nodes can be selectively used, constructing a cleaner source domain graph that is compatible with the target domain structure for subsequent knowledge transfer training. This approach also reduces computational complexity and improves the robustness of the trained model.

[0070] Transfer learning training is performed based on the pruned source and target domain graphs.

[0071] A specific embodiment of the present invention discloses a source domain graph pruning system based on node influence, comprising: The topology feature calculation module is used to extract the topology features of each node in the source domain graph and the target domain graph; The structural deviation calculation module is used to dynamically measure the structural deviation between the source domain graph and the target domain graph; The comprehensive influence assessment module is used to determine the comprehensive influence of each node in the source domain graph based on the structural deviation between the source domain graph structure and the target domain graph structure, as well as the topological characteristics of each node in the source domain graph. The pruning module is used to prune the source domain graph based on the overall influence of each node in the source domain graph.

[0072] The above-described method and system embodiments are based on the same principles, and their related aspects can be referenced from each other to achieve the same technical effects. For specific implementation processes, please refer to the foregoing embodiments, which will not be repeated here.

[0073] Electronic device example: One specific implementation of this application discloses an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the steps of the source domain graph pruning method based on node influence in the method embodiment.

[0074] Examples of readable storage media: One specific implementation of this application discloses a non-transitory computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the source domain graph pruning method based on node influence in the method embodiment.

[0075] Those skilled in the art will understand that all or part of the processes of the methods described in the above embodiments can be implemented by a computer program instructing related hardware, and the program can be stored in a computer-readable storage medium. The computer-readable storage medium may be a disk, optical disk, read-only memory, or random access memory, etc.

[0076] The above description is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any changes or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in the present invention should be included within the scope of protection of the present invention.

Claims

1. A source domain graph pruning method based on node influence, characterized in that, Includes the following steps: Calculate the multi-dimensional topological features of each node in the source and target domain graphs; The multi-dimensional topological features include one or more of the following: k-order subgraph structure entropy, local clustering coefficient, and multi-order neighborhood distribution moments; Dynamically measure the structural deviation between the source and target domain graphs; The structural deviation between the source and target domain graphs is dynamically measured in the following manner: the structural baseline feature of each topological feature of the target domain graph is calculated; for each node in the source domain graph, the structural deviation between each topological feature of the node and the structural baseline feature of the target domain graph is calculated. The comprehensive influence of each node in the source domain graph is determined based on the structural deviation between the source domain graph and the target domain graph, as well as the topological characteristics of each node in the source domain graph. Based on the structural deviation between the source and target domain graphs and the topological features of each node in the source domain graph, the comprehensive influence of each node in the source domain graph is determined as follows: For each node in the source domain graph, based on the structural deviation between the source and target domain graph structures, the influence score of the node on each topological feature is calculated using nonlinear exponential decay, adaptive reciprocal mapping, or Gaussian kernel function; the comprehensive influence of the node is obtained by weighted fusion of the influence scores of the node on each topological feature. Pruning is performed on the source domain graph based on the overall influence of each node in the source domain graph.

2. The source domain graph pruning method based on node influence according to claim 1, characterized in that, The influence score of this node on each topological feature is calculated using nonlinear exponential decay and is expressed as follows: ; in, Denotes the controlled attenuation coefficient of the i-th topological feature. This represents the standard deviation of the i-th topological feature of the target domain graph. Represents nodes in the source domain graph The structural deviation between the i-th topological feature and the structural benchmark feature of the target domain. Represents a node Influence score on the i-th topological feature.

3. The source domain graph pruning method based on node influence according to claim 1, characterized in that, The influence score of this node on each topological feature is calculated using an adaptive reciprocal mapping and is represented as follows: ; in, Represents a node Influence score on the i-th topological feature Let represent the mean of the i-th topological feature of the target domain graph. Indicates the adjustment power. This represents a small perturbation term. Represents nodes in the source domain graph The structural deviation between the i-th topological feature and the structural reference feature of the target domain.

4. The source domain graph pruning method based on node influence according to claim 1, characterized in that, The influence score of this node on each topological feature is calculated using the Gaussian kernel function and is expressed as follows: ; in, Represents a node Influence score on the i-th topological feature Represents nodes in the source domain graph The structural deviation between the i-th topological feature and the structural benchmark feature of the target domain. This represents the kernel bandwidth parameter of the Gaussian kernel function.

5. The source domain graph pruning method based on node influence according to claim 1, characterized in that, The k-th order subgraph structure entropy of a node is calculated using the following formula: ; ; in, Represents a node The entropy of the k-th order subgraph structure, Represents a node The k-th order neighborhood subgraph, Represents a node In subgraph The degree above, Represents a node In subgraph The degree above, Represents a node The structural weights.

6. The source domain graph pruning method based on node influence according to claim 1, characterized in that, The multi-order neighborhood distribution moments of a node are calculated using the following formula: ; in, Represents a node The multi-order neighborhood distribution moments, Represents a node k-order neighborhood subgraph The number of nodes in the middle, Represents a node In subgraph The degree above, Subgraph The average degree of all nodes in the equation.

7. The source domain graph pruning method based on node influence according to claim 1, characterized in that, The local clustering coefficient of a node is calculated using the following formula: ; in, Represents a node The number of connecting edges in a first-order neighborhood subgraph Represents a node The number of nodes in the first-order neighborhood subgraph Represents a node The local clustering coefficient.