Robust graph neural network method and system based on community-level label governance

By employing methods such as structural enhancement, noise identification, propagation path optimization, and community-level label correction, the problems of noise diffusion and label sparsity in graph neural networks are solved, achieving improved robustness and accuracy in complex graph structures. This approach is applicable to graph data scenarios such as social networks and e-commerce recommendations.

CN123159403APending Publication Date: 2026-11-24GUANGXI NORMAL UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611095463.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-22
Publication Date
2026-11-24

Smart Images

  • Figure CN123159403A_ABST
    Figure CN123159403A_ABST
Patent Text Reader

Abstract

This invention belongs to the field of graph neural network technology and discloses a robust graph neural network method based on community-level label governance. This invention introduces global structural information discovered by communities into the noise governance strategy and designs an adaptive correction strategy based on community information entropy to dynamically adjust the correction mode for different communities. Secondly, to effectively utilize label information while avoiding noise interference, a phased contrastive learning strategy is proposed, a paradigm shift from unsupervised to supervised learning, to achieve deep fusion of topological structure and high-confidence semantic information. A noise edge pruning mechanism is introduced to actively suppress the spread of noise on the topological structure. Extensive experimental results on multiple public datasets show that it outperforms existing baseline models under different noise types. With uniform noise settings of 20%–40%, the classification accuracy is improved by 0.6%–2.0% compared to the best baseline, especially demonstrating significant robustness advantages in scenarios with high noise rates and low label rates.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to, but is not limited to, the field of graph neural network technology, and particularly relates to a robust graph neural network method and system based on community-level label governance. Background Technology

[0002] Graph-structured data, as an important data type describing entities and their relationships in non-Euclidean space, has wide applications in the real world, including social networks, recommender systems, biological networks, and transportation networks. In recent years, Graph Neural Networks (GNNs), as a powerful tool for processing graph-structured data, have received widespread attention from academia and industry. GNNs achieve information propagation and aggregation between nodes through message passing mechanisms, effectively capturing complex dependencies in graph data, which is beneficial for downstream tasks, especially performing exceptionally well in semi-supervised node classification tasks.

[0003] While Generative Neural Networks (GNNs) have achieved remarkable success in node classification tasks, their classification accuracy largely depends on the quality and quantity of the supervision signal, i.e., the labels. However, in real-world applications, acquiring large amounts of high-quality labeled data is usually costly, leading to label sparsity. More seriously, due to the subjectivity of manual labeling and the existence of adversarial attacks, the small number of labels obtained often contains erroneous labels, i.e., noise. These two problems pose significant challenges to GNNs: sparsity makes it difficult for the model to learn effective representations, while noisy labels are "memorized" by the GNN model during training and pollute the representation learning of neighboring nodes through message passing mechanisms, ultimately leading to a sharp decline in the model's generalization performance.

[0004] To address the label noise problem, co-teaching in computer vision uses two networks to teach each other, selecting samples with low loss for cross-updating parameters. DividMix uses a Gaussian mixture model to fit the loss distribution and dynamically divides the sample sets into clean and noisy sets. However, due to the unique structural dependencies of graph data and the message passing mechanism of GNNs, these methods are difficult to directly apply to GNN learning scenarios. Existing solutions for noise problems in GNNs mainly include noise correction and smoothing through neighborhood information, improving model robustness based on contrastive learning, using graph structure enhancements to block noise propagation, and sample selection methods based on different criteria to identify clean nodes. UnionNET, GNNCleaner, PIGNN, and ERASE utilize information from neighboring nodes to correct or smooth the labels of target nodes. BRGNN and CGNN use contrastive learning techniques to alleviate noise problems and obtain robust models; SSCL proposes a novel semi-supervised contrastive learning method based on label information to weaken the negative impact of label noise; and CR-GNN proposes a cross-space consistency method that allows the contrastive and classification spaces to learn from each other. NRGNN and RTGNN mitigate noise propagation by connecting unlabeled and labeled nodes; GNN-CFGD further connects unlabeled nodes with clean nodes to further hinder noise propagation; GTA uses adaptive graph topology adjustment to train a more robust classifier. TSS effectively selects clean nodes by considering the topological features of nodes; RASH mitigates interference from complex relationship modeling by separating iso- and hetero-matching relationships, achieving good results in heterogeneous graph scenarios. M-RGNN uses the consistency of three-view predictions to distinguish between clean and noisy nodes.

[0005] While the aforementioned methods have made some progress in noise handling, they still face several limitations. First, existing label correction methods primarily utilize graph topology at a local level, lacking a globally consistent perspective. In complex graph structures, this limitation makes them susceptible to local noise interference, hindering robustness improvements. Second, existing graph contrastive learning frameworks fail to fully utilize label semantic information and lack effective control over propagation paths. Directly introducing potentially noisy label information can lead to the model learning incorrect knowledge in the early stages of training, while the message passing mechanism of GNNs accelerates noise propagation within the graph.

[0006] In many graph datasets, communities derived from topological partitioning often exhibit significant semantic consistency: nodes within the same community may share the same or similar category labels. This consistency suggests that the graph's structural partitioning not only reflects connectivity relationships but also indicates that the community structure possesses a certain degree of semantic clustering effect. Therefore, elevating noise governance from the node level to the community level, and conducting noise governance from a higher-level structural unit, has structural rationale.

[0007] Based on the above analysis, the urgent technical problems that need to be solved in the existing technology are:

[0008] (1) Existing label correction methods mostly utilize graph topology at the local level and lack a global consistency perspective. In complex graph structures, this limitation makes them susceptible to local noise interference, which restricts the improvement of robust performance.

[0009] (2) Existing graph contrastive learning frameworks fail to make full use of label semantic information and lack effective control over the propagation path. Directly introducing label information that may contain noise will cause the model to learn incorrect knowledge in the early stages of training. Furthermore, the message passing mechanism of GNNs will accelerate the propagation of noise in the graph.

[0010] (3) The message passing mechanism also makes GNNs particularly vulnerable to label noise. Existing noise control methods mainly rely on the assumption of local homogeneity and fail to fully integrate the global topological information of the graph; moreover, traditional graph contrastive learning frameworks are easily interfered with by noisy labels in the early stage of training and lack effective utilization of semantic information. Summary of the Invention

[0011] To address the problems existing in the prior art, this invention provides a robust graph neural network method based on community-level tag governance.

[0012] This invention is implemented as follows: a robust graph neural network method based on community-level label governance, comprising:

[0013] Structural enhancement is performed on the input graph. The structural enhancement uses the non-negative similarity between node representations as the weighted candidate edges, and applies edge reconstruction constraints to the candidate edge weights based on the original connectivity and sampled non-connectivity, and outputs an enhanced graph.

[0014] Dual-coded noise identification is performed based on the enhanced graph. The dual-coded noise identification outputs two sets of label prediction distributions respectively, and cross-integrates the prediction loss partitioning result of the labeled node with the neighbor consensus label partitioning result to output a clean node set and a noisy node set.

[0015] The propagation path optimization is performed on the set of noise nodes. The propagation path optimization is based on the predicted loss normalization score and the neighbor consistency deviation to form a noise risk score. When the noise risk score meets the pruning condition, the connection state of the adjacent edge is updated according to a preset probability, and the optimized propagation relationship is output.

[0016] Label correction is performed based on a pre-fixed community division, where the community division is only used as a structural grouping basis for label noise governance. The label correction determines the corrected label or retains the original label based on the conditions of community label consistency, node consistency score and the number of community labeled nodes, and outputs the governed label.

[0017] Based on the enhanced graph, the optimized propagation relationship, and the post-governance label, a phased comparative learning is performed. The phased comparative learning includes unsupervised comparative learning of two views, supervised comparative learning of semantics, and joint optimization with prediction loss and edge reconstruction loss, outputting the training results of the robust graph neural network.

[0018] Furthermore, the structural enhancement includes:

[0019] A graph convolutional encoder is used to encode the node feature matrix and the adjacency matrix to obtain the node feature representation matrix;

[0020] For each unlabeled node and any labeled node, calculate the potential association weight according to the normalized inner product similarity relationship between their node representations, and set the similarity result less than zero to zero;

[0021] Using the node pairs that are connected in the original graph as positive samples and the node pairs that are not connected in the original graph but are obtained through uniform sampling as negative samples, edge reconstruction constraints are applied to the deviation between the potential association weights and the original adjacency values.

[0022] The original adjacent positions are kept connected, the potential association weights are written into the positions that are originally unconnected and whose potential association weights are greater than the enhancement threshold, and the remaining positions are kept unconnected to form an enhanced adjacency matrix.

[0023] Furthermore, the dual-coded noise identification includes:

[0024] The enhanced adjacency matrix and node features are input into two independent parametric graph encoders, which output two sets of label prediction probability distributions.

[0025] For each labeled node, the joint prediction loss is determined according to the logarithm of the product of its original label and the predicted probability distributions of the two sets of labels;

[0026] The small loss threshold is determined by the larger of the training progress retention ratio and the average loss retention ratio. The training progress retention ratio decreases as the current training round number increases relative to the total number of training rounds. The average loss retention ratio is determined by the proportion of nodes whose joint predicted loss is lower than the average loss to the total number of nodes in the loss set.

[0027] Based on the small loss partitioning threshold, the labeled nodes are divided into a set of clean nodes with small loss and a set of noisy nodes with small loss;

[0028] For any labeled node, obtain the maximum probability label of its neighboring nodes in the outputs of two independent parametric graph encoders, merge the two sets of neighbor prediction labels, and determine the neighbor consensus label based on the majority relationship of class counts.

[0029] The consensus ratio is defined as the proportion of neighbors whose predicted labels match the neighbors' consensus labels to twice the number of neighbors.

[0030] When the original label is different from the neighbor consensus label and the consistency ratio is higher than the homogeneity threshold, the corresponding labeled node is assigned to the homogeneous noisy node set, and the remaining labeled nodes constitute the homogeneous clean node set.

[0031] The intersection of the set of clean nodes with low loss and the set of homogeneous clean nodes is taken as the clean node set, and the intersection of the set of noisy nodes with low loss and the set of homogeneous noisy nodes is taken as the noisy node set.

[0032] Furthermore, the propagation path optimization includes:

[0033] For nodes in the noise node set, the prediction uncertainty score is calculated based on the exponential normalization relationship of the joint prediction loss in the set of small-loss noise nodes.

[0034] Calculate the structural inconsistency score based on the relationship between one and the consistency ratio;

[0035] The noise risk score is calculated based on the average relationship between the prediction uncertainty score and the structural inconsistency score.

[0036] When the noise risk score is higher than the pruning threshold and the random value meets the preset pruning probability, the adjacent edges of the corresponding noise node are updated to a disconnected state. If the pruning condition is not met, the original adjacent edges are kept connected.

[0037] Furthermore, the label correction based on the pre-fixed community division includes:

[0038] Before model training begins, the Louvain community detection algorithm is used to perform a one-time community partitioning on the original graph to obtain a set of non-overlapping communities, and the community partitioning results are kept fixed during training.

[0039] The community division results are limited to structural auxiliary information in the noise control phase and do not participate in the node representation learning and message passing process;

[0040] For any community containing labeled nodes, the community information entropy is calculated based on the frequency relationship between the number of labeled nodes of each category in the community and the number of labeled nodes in the community. The community information entropy is used as an indicator of label consistency and purity within the community.

[0041] When the node consensus score meets the adaptive threshold and the number of nodes already labeled in the community is greater than the minimum threshold, the node label will be corrected to the community consensus label.

[0042] When the node consensus score meets the adaptive threshold and the number of labeled nodes in the community is less than the minimum threshold, the node label is corrected to the neighbor consensus label.

[0043] If the aforementioned correction conditions are not met, retain the original node label.

[0044] Furthermore, the phased comparative learning includes:

[0045] Based on the augmented graph structure, two independent parametric graph encoders are used to construct two augmented views with the same topology but different node representations through random parameter initialization.

[0046] The representations of the same node in two augmented views are taken as positive sample pairs, and the representations of the node with other nodes are taken as negative sample pairs. The unsupervised contrast loss is calculated according to the relationship between similarity, temperature parameter and normalization exponent.

[0047] Based on the post-treatment labels, a set of semantically positive samples and a set of semantically negative samples are determined. The set of semantically positive samples consists of nodes of the same category, while the set of semantically negative samples consists of nodes of different categories. Supervised contrast loss is calculated according to the relationship between similarity, temperature parameter and normalization index.

[0048] A first prediction weight is assigned to nodes in the clean node set, and a second prediction weight is assigned to nodes in the noisy node set, with the second prediction weight being less than the first prediction weight. The overall prediction loss is formed based on the weighted joint prediction loss.

[0049] The unsupervised contrast loss is added to the supervised contrast loss to form the contrast loss. The edge reconstruction loss, the overall prediction loss, and the contrast loss are combined according to preset weight coefficients to form the total loss.

[0050] The present invention also provides a robust graph neural network system based on community-level label governance, including a path optimization module, a noise correction module, and a contrastive learning module;

[0051] The path optimization module is configured to receive a node feature matrix, an adjacency matrix, a labeled node set, and an unlabeled node set, and output an enhanced graph, a clean node set, a noisy node set, and an optimized propagation relationship based on the non-negative similarity relationship between node representations, edge reconstruction constraints, dual-encoding prediction loss, neighbor consensus labels, and noise risk scores.

[0052] The noise correction module is configured to receive the original graph, the set of marked nodes, the set of clean nodes, and the set of noisy nodes, and output the post-treatment labels based on the fixed community division, community information entropy, node consistency score, and the number of marked nodes in the community.

[0053] The contrastive learning module is configured to receive the augmented graph, optimized propagation relationship and post-governance label, form a dual-augmented view based on the independent parametric graph encoder, and combine unsupervised contrastive loss, supervised contrastive loss, prediction loss and edge reconstruction loss to output the training result of the robust graph neural network.

[0054] Furthermore, the path optimization module includes a structure enhancement processing unit, a dual-coding noise identification unit, and a propagation path pruning unit;

[0055] The structure enhancement processing unit is configured to use the node feature representation output by the graph convolutional encoder to form potential association weights according to the non-negative normalized inner product similarity relationship between unlabeled nodes and labeled nodes, and to generate an enhanced adjacency matrix based on positive sample connectivity, negative sample disconnection and enhancement threshold.

[0056] The dual-coding noise identification unit is configured to use two independent parametric graph encoders to output two sets of label prediction probability distributions, determine the joint prediction loss based on the logarithmic relationship of the product of the original label and the two sets of label prediction probability distributions, and cross-integrate the small loss partitioning result with the neighbor consensus label partitioning result.

[0057] The propagation path pruning unit is configured to generate a noise risk score based on the exponential normalization relationship of the joint prediction loss and the consistency ratio deviation, and to update the adjacent edge connection state when the noise risk score is higher than the pruning threshold and the random value meets the preset pruning probability.

[0058] Furthermore, the noise correction module includes a community segmentation unit, a community entropy calculation unit, and a label decision unit;

[0059] The community partitioning unit is configured to perform a one-time Louvain community partitioning on the original graph before model training begins, and to keep the community partitioning results fixed during training.

[0060] The community entropy calculation unit is configured to calculate the community information entropy based on the frequency relationship between the number of labeled nodes of each category in the community and the number of labeled nodes in the community.

[0061] The label decision unit is configured to output a community consensus label when the node consistency score meets the adaptive threshold and the number of labeled nodes in the community is greater than the minimum number threshold; output a neighbor consensus label when the node consistency score meets the adaptive threshold and the number of labeled nodes in the community is less than the minimum number threshold; and output the original label when the correction conditions are not met.

[0062] Furthermore, the contrastive learning module includes a view construction unit, an unsupervised contrastive learning unit, a supervised contrastive learning unit, and a total loss calculation unit;

[0063] The view construction unit is configured to construct two enhanced views with the same topology but different node representations based on the enhanced graph structure using two independent parametric graph encoders.

[0064] The unsupervised contrastive learning unit is configured to treat the representations of the same node in two augmented views as positive sample pairs and the representations of that node with other nodes as negative sample pairs.

[0065] The supervised contrastive learning unit is configured to treat nodes of the same category as semantic positive samples and nodes of different categories as semantic negative samples based on the governed labels.

[0066] The total loss calculation unit is configured to set a first prediction weight for nodes in the clean node set, set a second prediction weight lower than the first prediction weight for nodes in the noisy node set, and jointly calculate the edge reconstruction loss, overall prediction loss, unsupervised comparison loss and supervised comparison loss according to preset weight coefficients.

[0067] This invention also provides a robust graph neural network method based on community-level label governance, including:

[0068] Step 1: Graph augmentation and propagation path optimization;

[0069] Step 2, noise correction based on community perception;

[0070] Step 3: Compare and contrast learning in stages.

[0071] Furthermore, the graph enhancement and propagation path optimization are as follows:

[0072] (1) Graph enhancement

[0073] First, GCN is used as an encoder to obtain the feature matrix of the node. Then for each unlabeled node ,calculate and any marked node The cosine similarity of features is used to measure the potential association weight between two nodes. , The larger the value, the more likely it is to be a node. and The greater the feature similarity between them, the greater the likelihood of a connection:

[0074] (2)

[0075] Furthermore, the edge weight estimation is optimized by reconstructing the loss function:

[0076] (3)

[0077] Among them, nodes The set of positive samples consists of the neighboring nodes that are actually connected to it in the original graph, i.e., satisfying... node pairs Negative samples are nodes that do not have connections in the original graph, i.e., satisfying... node pairs ; for nodes Randomly sample from the set of non-neighboring nodes according to a uniform distribution Each node is used as a negative sample, and its sampling distribution is denoted as . Given a threshold that filters out edges with smaller weights. Enhanced graph neighbor matrix Constructed as:

[0078] (4)

[0079] in It belongs to the set of marked nodes;

[0080] (2) Noise detection

[0081] Two independent GCN encoders are used to process the enhanced image. Perform node representation learning and further obtain the label prediction probability distribution for each node:

[0082] (5)

[0083] node The joint classification cross-entropy loss is defined as:

[0084] (6)

[0085] in and Indicates encoder and For nodes The probability distribution of label prediction;

[0086] according to and maximum value ,Will Divided into a set of clean nodes based on small loss partitioning and the set of noisy nodes based on small loss partitioning ;

[0087] , (7)

[0088] (8)

[0089] in Indicates the current training round number. Indicates the total number of training rounds. Represents the loss set, Represents a node The loss;

[0090] For any marked node First, obtain its neighboring nodes. In the encoder and Predicted labels , Subsequently, the predicted label results of the two encoders on all neighboring nodes are merged, and the node is determined based on a majority voting strategy. Neighbor consensus tags:

[0091] (9)

[0092] in For category labels, For indicator functions;

[0093] In addition, define nodes. The consistency ratio is This is used to measure the consistency of neighbor predictions:

[0094] (10)

[0095] If the original node Consensus with Neighbors If the label is inconsistent and the proportion of homogeneous neighbors is high, then the node label is considered to be noise; given a consistency threshold... , It can be divided into a set of clean nodes based on homogeneity. and noise node set :

[0096] , (11)

[0097] Finally, the partitioning results based on small loss will be... Compared with homogeneous partitioning results , The fusion process yields the final clean set of partitioning results. and noise set ;

[0098] (12)

[0099] (3) Optimization of propagation path

[0100] First, calculate the noise nodes. The prediction uncertainty score and structural contradiction score Then, the noise risk score of the node is calculated by combining the scores from the two tests mentioned above. This score, by jointly characterizing the predicted confidence bias and structural consistency deviation, makes the noise identification process more stable and more resistant to interference.

[0101] , (13)

[0102] A randomized edge pruning strategy is adopted: when a node The noise risk exceeds the threshold At that time, with probability Gradual noise reduction is achieved by trimming its adjacent edges;

[0103] (14).

[0104] Furthermore, the noise correction based on community perception:

[0105] 1) Community perception

[0106] First, the Louvain community detection algorithm is used to partition the original graph G into communities, resulting in a community set C = { Each community contains a set of internally tightly connected nodes, and there are no overlapping nodes between communities. In this invention, communities are only used as structural auxiliary information in the noise control stage, rather than participating in node representation learning or message passing processes. Specifically, the community partitioning results are pre-calculated once before the model training begins and remain fixed throughout the training process to provide a stable structural grouping basis for the subsequent label correction module.

[0107] 2) Noise Correction

[0108] Using community information entropy as an indicator to measure the consistency and purity of tags within a community; for a community containing 1 marked node ,set up The marked nodes in the data are divided into Classes, including communities Chinese label Number of nodes The frequency of each tag appearing within the community Then the information entropy of the community Defined as:

[0109] (15)

[0110] entropy A lower entropy value indicates stronger label consistency within the community; a higher entropy value indicates a more chaotic label distribution, and the community may be more severely affected by noise.

[0111] Based on adaptive thresholds and consistency scores, for nodes The corrective decision based on the label can be represented as:

[0112] (16).

[0113] Furthermore, the phased comparative learning:

[0114] (1) Constructing an enhanced view

[0115] Unlike traditional methods that rely on random data augmentation, this section constructs a contrast view directly through an independent parametric encoder; based on an augmented graph structure. A graph encoder using independent parameters and Two enhanced views with identical topologies but different node representations are constructed by initializing random parameters; the node feature matrices of the two views are respectively... , ;

[0116] (2) Unsupervised comparative learning;

[0117] For each node Its representation from two perspectives and These are considered positive sample pairs, while the representations of other nodes constitute negative sample pairs; InfoNCE loss is used as the optimization objective for unsupervised contrastive learning.

[0118]

[0119] (17)

[0120] Here Temperature is used to adjust the smoothness of the similarity distribution;

[0121] (3) Supervised comparative learning;

[0122] (4) Total loss.

[0123] Furthermore, the supervised contrastive learning described above:

[0124] For each node Define its semantic positive sample set Semantic negative sample set ,in for A set of nodes of the same category For different types of node sets; based on this, the supervised semantic contrastive loss is defined as:

[0125] (18).

[0126] Furthermore, the total loss is as follows:

[0127] Define weight function as follows:

[0128] (19)

[0129] The overall prediction loss can be defined as:

[0130] (20)

[0131] Contrast loss can be defined as:

[0132] (twenty one)

[0133] Total loss can be defined as:

[0134] (twenty two).

[0135] Another objective of this invention is to provide a robust graph neural network system based on community-level label governance, comprising:

[0136] The path optimization module is used for graph enhancement and propagation path optimization.

[0137] A noise correction module for community-perceived noise correction;

[0138] The comparative learning module is used for phased comparative learning.

[0139] Another object of the present invention is to provide a computer device including a memory and a processor, the memory storing a computer program, which, when executed by the processor, causes the processor to perform the steps of the robust graph neural network method based on community-level label governance.

[0140] Another object of the present invention is to provide a computer-readable storage medium storing a computer program that, when executed by a processor, causes the processor to perform the steps of the robust graph neural network method based on community-level label governance.

[0141] Another objective of this invention is to provide an information data processing terminal for implementing the robust graph neural network system based on community-level tag governance.

[0142] Based on the above technical solutions and the technical problems solved, the advantages and positive effects of the technical solution to be protected by this invention are as follows:

[0143] This invention proposes a robust graph neural network (CG-GNN) model based on community-level label governance. This framework elevates noise governance from the node level to the community level, and fully exploits label semantic information while avoiding early noise interference. Specifically, firstly, global structural information discovered by the community is incorporated into the noise governance strategy, and an adaptive correction strategy based on community information entropy is designed to dynamically adjust the correction mode for different communities. Secondly, to effectively utilize label information while avoiding noise interference, a phased contrastive learning strategy is proposed, transitioning from unsupervised to supervised learning to achieve deep fusion of topological structure and high-confidence semantic information. Furthermore, a noise edge pruning mechanism is introduced to actively suppress the spread of noise across the topological structure. Extensive experimental results on multiple public datasets demonstrate that the model outperforms existing baseline models under various noise types. With uniform noise settings of 20%–40%, the classification accuracy is improved by 0.6%–2.0% compared to the best baseline, exhibiting significant robustness, especially in scenarios with high noise rates and low label rates.

[0144] This invention proposes a robust graph neural network framework for community governance, CG-GNN. By introducing community-level structural information from a global perspective, it enhances the representation stability and robustness in noisy environments, thereby mitigating the performance degradation problem of GNNs under label noise and sparse supervision signals. Extensive experiments demonstrate that CG-GNN consistently outperforms state-of-the-art methods on multiple real-world benchmark datasets, with various noise types and proportions. Experimental results validate the effectiveness and generalization ability of the proposed framework in complex noisy scenarios. Future work plans to extend CG-GNN to more challenging settings, such as graph data simultaneously affected by label noise and structural noise, to further evaluate its applicability in large-scale real-world graph learning applications.

[0145] (1) The expected benefits and commercial value of the technical solution of this invention after transformation are as follows:

[0146] This invention can be transformed into robust node classification algorithm modules, software tools, or platform services for graph data scenarios such as social networks, e-commerce recommendations, knowledge graphs, scientific literature classification, financial risk control, and biological network analysis. This solution can improve the classification accuracy and stability of graph neural networks even with scarce labeled samples and noisy labels, reducing reliance on large-scale, high-quality manually labeled data, thereby reducing data labeling, cleaning, and model maintenance costs. Experimental results show that this invention achieves superior performance compared to existing baseline methods on multiple types of public graph datasets and under different noise levels. Even with uniform noise settings of 20% to 40%, it still achieves an accuracy improvement of 0.6% to 2.0% compared to the optimal baseline. It is particularly suitable for real-world business environments with high noise and low labeling rates, and has high industrialization potential.

[0147] (2) The technical solution of this invention fills a technical gap in the industry both domestically and internationally:

[0148] Existing robust graph neural network methods mostly address label noise from the perspectives of node-level local neighborhood, loss filtering, label smoothing, contrastive learning, or graph structure enhancement, lacking a systematic approach that treats community-level global structural information as an independent noise governance unit. This invention, for the first time, introduces community discovery results into the label noise governance process. It designs an adaptive label correction strategy based on community information entropy and integrates it with dual-encoding noise detection, propagation path optimization, and phased contrastive learning. This achieves an improvement from "node-level noise identification" to "community-level label governance," overcoming the shortcomings of existing technologies in utilizing global structural consistency, modeling community purity, and ensuring the safe use of noise labels.

[0149] (3) The technical solution of the present invention solves a technical problem that people have long wanted to solve but have never been able to solve successfully:

[0150] In graph neural networks, a small number of erroneous labels can spread to neighboring nodes through message passing mechanisms, causing the model to gradually memorize noise and degrade performance during training. Simultaneously, real-world graph data commonly suffers from sparse labeling and unstable label quality. Existing methods struggle to simultaneously address the three contradictions of insufficient supervision, noise label propagation, and the risk of semantic information misuse. This invention enhances the graph structure, identifies noisy nodes, probabilistically prunes high-risk propagation edges, and performs adaptive label correction based on community entropy. Furthermore, it employs a phased comparative learning approach—first unsupervised, then supervised—allowing the model to learn a stable topological representation before safely introducing high-confidence semantic labels. This effectively solves the technical challenge of consistently improving robust graph learning under conditions of sparse labeling and noise propagation.

[0151] (4) The technical solution of the present invention overcomes technical bias.

[0152] Existing technologies typically assume that noise label governance should primarily rely on the homogeneity of local neighborhoods or single-node loss screening, and that noisy labels should not be introduced into contrastive learning supervision too early, otherwise erroneous semantic signals may be amplified. This invention breaks with this approach, using community structure as a stable grouping basis for noise governance, rather than directly participating in message passing; simultaneously, it utilizes community information entropy to distinguish the label purity of different communities, adopting differentiated correction strategies for high-confidence and low-confidence communities, and avoiding early noise label misleading through phased contrastive learning. This scheme overcomes the technical biases of "only local node-level correction is possible," "community structure cannot effectively serve label noise governance," and "label semantics are difficult to safely use for contrastive learning in noisy scenarios." Attached Figure Description

[0153] Figure 1 This is a flowchart of a robust graph neural network method based on community-level tag governance provided in an embodiment of the present invention.

[0154] Figure 2 This is a block diagram of a robust graph neural network system based on community-level label governance provided in an embodiment of the present invention.

[0155] Figure 3 This is a visualization of the largest Louvain community in the Cora and PubMed datasets provided in this embodiment of the invention.

[0156] Figure 4 This is a statistical result graph of community partitioning on the Citeseer dataset provided in this embodiment of the invention, using the Louvain algorithm.

[0157] Figure 5 This is a statistical result graph of the community division using the Louvain algorithm on the Photo dataset provided in this embodiment of the invention.

[0158] Figure 6 This is a diagram of the robust graph neural network (CG-GNN) framework based on community governance provided in this embodiment of the invention. It is divided into three modules: graph augmentation and propagation path optimization; noise correction module based on community perception; and phased comparative learning module.

[0159] Figure 7 This is a performance comparison chart of different methods provided in the embodiments of the present invention under different tag noise levels.

[0160] Figure 8This invention provides a performance comparison of different methods on the Cora and Citeseer datasets at different label rates with a fixed noise rate of 20%. The noise settings are uniform noise and paired noise, respectively. Among them, (a) and (b) show the results under uniform noise, and (c) and (d) show the results under paired noise.

[0161] Figure 9 This is an accuracy gap graph provided by an embodiment of the present invention, showing the difference between the full model and the noise-free correction variant, and between the full model and the neighbor-based correction variant alone, on the Cora, Citeseer, PubMed, and Photo datasets.

[0162] Figure 10 This invention provides a visualization of node embeddings learned by different methods on the Cora and Citeseer datasets using t-SNE; nodes of different categories are represented by different colors, and nodes that are misclassified are marked in black.

[0163] Figure 11 This is a performance graph of CG-GNN on the Cora and Citeseer datasets provided in this embodiment of the invention, under different combinations of λ and β.

[0164] Figure 12 This is a graph showing the performance changes of CG-GNN under uniform and paired noise with different α values ​​on the Citeseer and PubMed datasets provided in this embodiment of the invention.

[0165] Figure 13 : The effect of temperature parameter τ on the Cora and Amazon Photo datasets under uniform and paired noise settings. Detailed Implementation

[0166] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention.

[0167] This invention uses graph data with labeled noise as input and achieves robust graph neural network training through structure enhancement, noise identification, propagation path optimization, community-level label correction, and phased comparative learning. First, the node feature matrix and the original adjacency matrix are input into a graph convolutional encoder to obtain node representations. Similarity is calculated based on the normalized inner product between unlabeled and labeled nodes, and negative similarities are set to zero to form potential association weights. Simultaneously, using the original connected edges as positive samples and uniformly sampled non-connected node pairs as negative samples, the potential association weights are constrained through edge reconstruction loss, ensuring that newly added connections conform to the structural rules of the original graph. When the weight of a non-connected node pair is greater than the enhancement threshold, it is written into the adjacency matrix to obtain the enhanced graph.

[0168] Subsequently, the augmented graph is input into two parameter-independent graph encoders, which output the predicted distribution of node labels respectively. A joint prediction loss is then calculated based on the original labels of the labeled nodes. The system combines training progress and average loss to determine nodes with small losses, and simultaneously counts the predicted labels of neighboring nodes in both encoders to obtain neighbor consensus labels and consistency ratios. By cross-fusing the small-loss partitioning results and the neighbor consensus partitioning results, clean nodes and noisy nodes are identified, reducing the probability of misclassification caused by a single discrimination method.

[0169] For noisy nodes, the system exponentially normalizes the joint prediction loss to obtain a prediction uncertainty score, calculates a structural inconsistency score based on the neighbor consistency ratio, and then combines these to form a noise risk score. When the risk score exceeds the pruning threshold and meets the random pruning probability, the adjacent propagation edges of the noisy node are disconnected to reduce the spread of erroneous labels along the graph structure.

[0170] Before training begins, the system uses the Louvain algorithm to perform a one-time community partitioning of the original graph, which remains fixed during training. Community partitioning is used only for label governance and does not participate in feature propagation. The system calculates the community information entropy based on the distribution of labeled nodes of each category within the community, and determines the label correction method by combining node consistency scores, community consensus labels, and the number of labeled nodes in the community: when community samples are sufficient, community consensus labels are used; when community samples are insufficient, neighbor consensus labels are used; and when neither condition is met, the original labels are retained.

[0171] Finally, two independent encoders generate different node representation views on the same augmented topology. Unsupervised representation alignment is achieved through cross-view comparison of the same node, and supervised semantic contrastive learning is implemented by constructing positive samples of the same class and negative samples of different classes using the post-governed labels. During training, clean nodes are assigned higher prediction weights and noisy nodes are assigned lower weights. The prediction loss, edge reconstruction loss, unsupervised contrastive loss, and supervised contrastive loss are jointly optimized to improve the model's classification stability and generalization ability under label noise and structural perturbation conditions.

[0172] like Figure 1 As shown, the robust graph neural network method based on community-level label governance provided by this embodiment of the invention includes the following steps:

[0173] S101, Graph Augmentation and Propagation Path Optimization;

[0174] S102, Noise correction based on community perception;

[0175] S103, phased comparative learning.

[0176] like Figure 2 As shown, an embodiment of the present invention provides a robust graph neural network system based on community-level label governance, comprising:

[0177] The path optimization module is used for graph enhancement and propagation path optimization.

[0178] A noise correction module for community-perceived noise correction;

[0179] The comparative learning module is used for phased comparative learning.

[0180] The robust graph neural network method based on community-level label governance provided in this invention operates in concert through three steps: graph enhancement and propagation path optimization, community-aware noise correction, and phased comparative learning. This method addresses the information propagation process, the impact of label noise, and the learning process in a phased manner, enabling the graph neural network to maintain good robustness even in the presence of unreliable labels or propagation interference.

[0181] During execution, the process first proceeds to step S101, namely graph augmentation and propagation path optimization. This step is implemented by the path optimization module in the system, and its function revolves around the augmentation processing of graph data and the optimization of propagation paths, so that the subsequent information transmission process of the graph neural network has a more reasonable propagation basis. Through this step, the system first processes graph structure-related information to provide input conditions for subsequent noise correction and contrastive learning. This step does not deviate from the functional scope of graph augmentation and propagation path optimization; its core is to improve the propagation environment for the subsequent learning process and reduce the impact of unfavorable propagation paths on model training and representation learning.

[0182] The process then proceeds to step S102, which involves noise correction based on community awareness. This step is performed by the noise correction module. Since this invention emphasizes community-level label governance, this module corrects noise issues in labels based on community awareness. Its focus is on addressing noisy labels by incorporating community-level information, ensuring more robust label processing before subsequent learning stages. Through this step, the system reduces the interference of label noise on the graph neural network training process, thereby improving the model's adaptability and robustness to unreliable labels.

[0183] After noise correction is completed, the method proceeds to step S103, namely, phased comparative learning. This step is implemented by the comparative learning module. Based on the aforementioned graph augmentation and propagation path optimization results, as well as the community-perceived noise correction results, this module conducts comparative learning in a phased manner. Phased processing allows the learning process to connect with the different processing stages mentioned above, gradually utilizing the optimized and corrected information to improve the stability of the graph neural network representation learning. The purpose of this step is to further strengthen the effective information representation through the comparative learning mechanism, enabling the model to achieve more robust learning results based on community-level label governance.

[0184] From a system structure perspective, the path optimization module, noise correction module, and contrastive learning module correspond to steps S101, S102, and S103 of the method, respectively, and the modules cooperate sequentially according to the method flow. The path optimization module first completes graph augmentation and propagation path optimization, the noise correction module then performs label noise correction based on community perception, and the contrastive learning module finally performs phased contrastive learning. These modules together constitute a robust graph neural network system based on community-level label governance.

[0185] When this system is deployed on a computer device, the memory in the computer device stores the corresponding computer program. When the processor executes the computer program, it implements the robust graph neural network method based on community-level label governance according to the steps described above. Correspondingly, when the computer program stored in the computer-readable storage medium is executed by the processor, it also enables the processor to complete the method flow. The information data processing terminal is used to implement the above system, enabling the path optimization module, noise correction module, and contrastive learning module to complete their respective functions according to the set flow.

[0186] Specific implementation of the present invention:

[0187] 1. To verify the existence of stable and semantically consistent community structures in graph data, the Louvain community detection algorithm was used to partition the Cora and PubMed datasets, and the largest community in each dataset was selected for visualization analysis. For example... Figure 3 As shown, the node color represents its actual category label.

[0188] The visualization results reveal significant label consistency within the largest communities in both datasets, meaning that most nodes within the same community share the same or similar category labels. Particularly in larger datasets like PubMed, highly compact and semantically consistent clusters form within communities, indicating a strong intrinsic correlation between the graph's topology and node semantics. This phenomenon demonstrates that despite potential noise in the original labels, graph data retains stable structural consistency at the community level.

[0189] Figure 4 and Figure 5 This chart presents the statistical results of community partitioning using the Louvain algorithm on the Citeseer and Photo datasets. The horizontal axis represents the community size, i.e., the number of nodes within a community. The vertical axis represents the consistency strength within a community, defined as the proportion of majority class nodes to the total number of nodes in that community. The "n" above the bars indicates the number of communities at the corresponding size.

[0190] The above observations provide important experimental evidence for the community-level noise control strategy proposed in this invention. On the one hand, highly consistent low-entropy communities can provide reliable structural priors for label correction; on the other hand, in high-entropy communities with relatively chaotic label distribution, introducing a community-aware adaptive correction mechanism helps to suppress noise propagation at the global structural level. Therefore, this visualization result structurally verifies the necessity and rationality of raising the granularity of noise control from the node level to the community level.

[0191] To address the aforementioned issues and based on preliminary experimental observations, a robust graph neural network framework, CG-GNN, based on community-level label governance, is proposed. This framework aims to mitigate the adverse effects of label noise on graph neural networks from a global structural perspective, while effectively utilizing relatively reliable labels to support model training. To this end, global structural information is introduced at the community level to assist in noise processing and improve robustness. Simultaneously, a two-stage contrastive learning strategy is designed to gradually incorporate relatively reliable semantic supervision during model training, thereby reducing the adverse effects of noisy labels in the early stages of optimization. Furthermore, an edge pruning mechanism is employed to suppress the propagation of noise in the graph.

[0192] set up Represent a graph, where For a set of nodes, Let each node be a set of edges. Associate a feature vector The features of all nodes constitute the feature matrix. The structure of the graph is determined by the adjacency matrix. It means that, among them Represents a node and There are edges between them. , These represent the set of labeled nodes and the set of unlabeled nodes, respectively. The number of nodes is much smaller than The number of nodes. The goal of semi-supervised node classification in noisy environments is to design a robust GNN model that, with limited labeled data and some labels containing noise, learns robust node representations and accurately predicts the category of unlabeled nodes. Table 1 shows the main symbols used in this invention and their definitions.

[0193] Table 1 Symbols and Definitions

[0194]

[0195] Louvain Community Detection Algorithm: Community detection aims to identify subsets of nodes with tight internal connections and relatively sparse connections between communities from the topology of a graph. The Louvain

[46] community detection algorithm uses modularity as the optimization objective to measure the tightness of internal connections after the network is divided into communities. The larger the modularity, the denser the internal connections of the community and the sparser the connections between communities, and the higher the quality of community division. The modularity is defined as follows:

[0196] (1)

[0197] in Represents a node and Adjacency relationship, and These represent the degrees of the corresponding nodes. The total number of edges in the graph. Represents a node The community to which it belongs is the indicator function. Specifically, the algorithm first treats each node as an independent community and repeatedly attempts to move the node to its neighboring community to maximize the modularity gain; then, the resulting communities are compressed into supernodes, a new weighted graph is constructed, and the above process is repeated until the modularity no longer increases significantly.

[0198] Louvain's algorithm can partition a graph into several tightly structured community sets C = { This process is entirely based on graph topology and does not rely on any node label information, thus avoiding interference from noisy labels on the community partitioning results. Even in the presence of label noise, if individual nodes are incorrectly labeled, the overall structure and label distribution of their respective communities may still maintain a high degree of consistency. Therefore, this invention uses the Louvain community as the basic unit for noise governance, and in subsequent chapters, further constructs a community-aware adaptive noise correction strategy based on the label distribution characteristics within the community.

[0199] This invention proposes a robust graph neural network framework based on community governance (CG-GNN) to address the performance degradation caused by label noise in graph data. CG-GNN introduces community-level global structural information to guide noise governance and designs a phased contrastive learning strategy to safely utilize label semantics. Furthermore, the framework integrates a noise edge pruning mechanism to proactively suppress noise propagation at the topological level. Figure 6 As shown, CG-GNN mainly consists of three core modules: 1) graph augmentation and propagation path optimization, 2) community-aware noise correction, and 3) phased contrastive learning. These modules will be described in detail below.

[0200] Figure 6 The framework diagram of a robust graph neural network (CG-GNN) based on community governance is divided into three modules: graph augmentation and propagation path optimization; noise correction module based on community perception; and phased comparative learning module.

[0201] Since the number of labeled nodes in the graph is relatively small, connecting unlabeled nodes with labeled nodes enriches the graph structure and facilitates the propagation of the supervision signal. Specifically, a GCN is first used as an encoder to obtain the feature matrix of the nodes. Then for each unlabeled node ,calculate and any marked node The cosine similarity of features is used to measure the potential association weight between two nodes. , The larger the value, the more likely it is to be a node. and The greater the feature similarity between them, the greater the likelihood of a connection:

[0202] (2)

[0203] Furthermore, the edge weight estimation is optimized by reconstructing the loss function:

[0204] (3)

[0205] Among them, nodes The set of positive samples consists of the neighboring nodes that are actually connected to it in the original graph, i.e., satisfying... node pairs Negative samples are nodes that do not have connections in the original graph, i.e., satisfying... node pairs To avoid the huge overhead of computing all non-neighbor nodes, for nodes... Randomly sample from the set of non-neighboring nodes according to a uniform distribution Each node is used as a negative sample, and its sampling distribution is denoted as . Given a threshold that filters out edges with smaller weights. Enhanced graph neighbor matrix Constructed as:

[0206] (4)

[0207] in It belongs to the set of marked nodes.

[0208] 4.1.2 Noise Detection

[0209] To effectively identify and suppress the negative impact of label noise on graph neural network training, noise node detection mechanisms based on prediction loss and homogeneity are employed to identify noise nodes. This mechanism first uses two structurally identical but parameter-independent GCN encoders. and Node representation learning is performed, and based on this, a loss-based sample selection and a voting mechanism based on neighbor homogeneity are combined to achieve high-confidence identification of noisy nodes.

[0210] Two independent GCN encoders are used to process the enhanced image. Perform node representation learning and further obtain the label prediction probability distribution for each node:

[0211] (5)

[0212] node The joint classification cross-entropy loss is defined as:

[0213] (6)

[0214] in and Indicates encoder and For nodes The label prediction probability distribution is used, and the loss measures the consistency and confidence of the node label predictions of the two GCNs. The lower the loss value, the more likely the node label is to be clean.

[0215] Loss-based noise detection: The memory effect of deep neural networks indicates that the model will prioritize learning simple patterns (clean labels) in the early stage of training

[47] , so the loss of clean nodes is usually less than that of noisy nodes. Based on this phenomenon, this invention uses node loss information to divide nodes. Specifically, in each round of training, a subset of nodes with smaller losses are selected as potential clean node sets based on the predicted loss values ​​of the nodes by the two GCN encoders, and the remaining nodes are regarded as nodes that may be contaminated by noise. In the early stage of training, a relatively loose judgment threshold is adopted to allow more nodes to be classified into the clean node set, so as to ensure that the model obtains sufficient supervision signals and converges stably; as the training progresses, the judgment criteria are gradually tightened to reduce the size of the clean node set, thereby effectively eliminating high-loss nodes and suppressing the overfitting of the model to the noisy labels. In this process, the following is introduced and Evaluating node reliability from both training epoch stability and overall loss level helps mitigate fluctuations and biases caused by single-epoch loss determination, thus obtaining more robust node partitioning results. Finally, based on... and maximum value ,Will Divided into a set of clean nodes based on small loss partitioning and the set of noisy nodes based on small loss partitioning .

[0216] , (7)

[0217] (8)

[0218] in Indicates the current training round number. Indicates the total number of training rounds. Represents the loss set, Represents a node The loss.

[0219] Homogeneity-Based Noise Detection: To improve the reliability of noisy node identification, a node partitioning strategy based on a neighbor homogeneity voting mechanism is introduced, dividing nodes into node sets from the perspective of local consistency. Graph data typically satisfies the homogeneity assumption, meaning connected nodes tend to have similar labels. Based on this, by aggregating the prediction information of neighboring nodes, the consistency between the target node and its neighborhood in label prediction is evaluated. Specifically, for any labeled node... First, obtain its neighboring nodes. In the encoder and Predicted labels , Subsequently, the predicted label results of the two encoders on all neighboring nodes are merged, and the node is determined based on a majority voting strategy. Neighbor consensus tags:

[0220] (9)

[0221] in For category labels, This is an indicator function.

[0222] In addition, define nodes. The consistency ratio is This is used to measure the consistency of neighbor predictions:

[0223] (10)

[0224] If the original node Consensus with Neighbors If the label is inconsistent and the proportion of homogeneous neighbors is high, then the node's label is considered to be noise. Given a consistency threshold... , It can be divided into a set of clean nodes based on homogeneity. and noise node set :

[0225] , (11)

[0226] Finally, the partitioning results based on small loss will be... Compared with homogeneous partitioning results , The fusion process yields the final clean set of partitioning results. and noise set .

[0227] (12)

[0228] To prevent noisy nodes from propagating error information through the graph structure, The strategy performs edge pruning on noisy nodes. It takes into account the prediction uncertainty and local structural contradictions of the nodes, dynamically assesses the noise risk of the nodes, and selectively prunes their connecting edges.

[0229] First, calculate the noise nodes. The prediction uncertainty score and structural contradiction score Then, the noise risk score of the node is calculated by combining the scores from the two tests mentioned above. This score, by jointly characterizing the predicted confidence shift and structural consistency deviation, makes the noise identification process more stable and more robust to interference.

[0230] , (13)

[0231] Since the determination of noisy nodes may be uncertain, directly deleting all their connecting edges may inadvertently delete potentially useful structural information. Therefore, a randomized edge pruning strategy is adopted: when a node... The noise risk exceeds the threshold At that time, with probability Gradual noise reduction is achieved by trimming adjacent edges.

[0232] (14)

[0233] This invention proposes an adaptive noise correction strategy based on community information entropy. This strategy uses the community as the basic governance unit, measures its purity by characterizing the consistency of label distribution within the community, and implements differentiated correction measures based on the purity level. Compared to node-level processing, this method elevates the granularity of noise governance to the community level, thereby enhancing the global consistency and structural adaptability of the correction process.

[0234] First, the Louvain community detection algorithm is used to partition the original graph G into communities, resulting in a community set C = { Each community contains a set of internally tightly connected nodes, and there are no overlapping nodes between communities. In this invention, communities serve only as structural auxiliary information in the noise control phase, and do not participate in node representation learning or message passing processes. Specifically, the community partitioning results are pre-calculated once before model training begins and remain fixed throughout the training process, providing a stable structural grouping basis for the subsequent label correction module.

[0235] Furthermore, community partitioning serves as a crucial basis for selecting a noisy node correction strategy. For a given noisy node, if its community has a sufficiently large number of nodes, a community-based correction strategy is adopted because the community can provide a relatively stable and information-rich structural context. Conversely, if its community is small, a neighbor-based correction strategy is used instead. The specific correction process will be described in Section 4.2.2. For nodes using neighbor-based correction, if the number of available neighbors is too small, the correction process is skipped to avoid unreliable updates due to insufficient local information.

[0236] Noise Correction: Community information entropy is used as an indicator to measure the consistency and purity of labels within a community. For a community containing... 1 marked node ,set up The marked nodes in the data are divided into Classes, including communities Chinese label Number of nodes The frequency of each tag appearing within the community Then the information entropy of the community Defined as:

[0237] (15)

[0238] entropy A lower entropy value indicates stronger label consistency within the community; a higher entropy value indicates a more chaotic label distribution, and the community may be more severely affected by noise.

[0239] To implement differentiated governance for communities with varying levels of community purity, an adaptive threshold negatively correlated with community information entropy was designed. , ,in for Function. Design a threshold that is inversely proportional to the information entropy of the community. The following scenarios were considered: 1) For low-entropy communities with highly consistent label distribution, these communities possess strong intrinsic structural homogeneity, and the existing label set has high prior confidence. In this case, a higher correction threshold should be used to protect the correct label signals within the community and avoid additional errors introduced by overcorrection; 2) For high-entropy communities with chaotic label distribution, these communities may be affected by noise contamination or class boundaries, resulting in low confidence of the supervision signal. In this case, using a lower correction threshold helps to form a consistent semantic representation, thereby curbing the spread of noise in the graph.

[0240] Two noise correction strategies were designed: a community-based strategy and a neighbor-based strategy, to correct noise in communities of different sizes. For a community, if the number of nodes in the community is greater than or equal to a given threshold... ( This means that when there are a sufficient number of nodes in the community, a community-based correction strategy is adopted. First, the majority consensus label of community C is determined. and consensus tag set Then, for any noisy node in the community... The average similarity between its representation and the majority of consensus identifier nodes within the community is calculated and used as the semantic consistency score between the node and the community consensus. .if This indicates that the node has high semantic consistency with the majority of nodes in its community, and the confidence level of the corrected label is high, thus classifying it as a noisy node. Label correction .

[0241] If the community The number of nodes is less than the threshold ( When the community size is insufficient, the label distribution and consistency statistics within the community lack sufficient stability and representativeness. Community-based correction strategies are easily affected by noisy samples. In such cases, a neighbor correction strategy is used as an alternative. For noisy nodes within the community... Its local consistency modeling is based solely on one-hop neighbors. The label distribution is as follows. Specifically, first determine... Neighbor consensus label and consensus tag set Then, the consensus score of its neighbors is calculated, using the same method as the community consensus score. If the number of consensus labels among the first-order neighbors of a node is less than two, no correction is performed. Furthermore, the adaptive threshold mechanism used in neighbor correction is consistent with community correction, i.e., it is also dynamically adjusted based on information entropy guidance, only the entropy calculation object is changed from the community label distribution to the neighbor label distribution.

[0242] In form, based on adaptive thresholds and consistency scores, the nodes are... The corrective decision based on the label can be represented as:

[0243] (16)

[0244] 4.3 Phased Comparative Learning

[0245] To reduce noise interference while utilizing semantic information from labels, a phased contrastive learning framework is designed. In the early stages of training, unsupervised contrastive learning is employed to fully explore the graph topology and avoid early noise label contamination. In the later stages of training, high-confidence labels corrected by community governance are introduced to construct supervised semantic contrastive learning, achieving a deep fusion of topological structure and semantic information.

[0246] Constructing Enhanced Views: Unlike traditional methods that rely on random data augmentation, this section directly constructs contrastive views using an independent parametric encoder. Based on Enhanced Graph Structure A graph encoder using independent parameters and Two enhanced views with identical topologies but different node representations are constructed by initializing random parameters. The node feature matrices of the two views are as follows: , The construction of augmented views does not rely on additional random graph perturbations or data augmentation operations. Instead, it introduces representational differences through parameter space independence while sharing the same augmented graph structure and node features, providing stable and effective sample pairs for contrastive learning. On the one hand, the shared graph structure ensures that node representations have a consistent structural and semantic foundation under different views; on the other hand, the differences at the parameter level provide complementary perspectives for node representations, thereby enhancing the effectiveness of the contrastive learning signal.

[0247] To enhance the model's robustness to noisy labels, an unsupervised contrastive learning module is introduced in the early stages of training. Unsupervised contrastive loss aims to learn a general and robust node representation from the graph topology, minimizing early interference from noisy labels. For each node... Its representation from two perspectives and These are considered positive sample pairs, while the representations of other nodes constitute negative sample pairs. The InfoNCE loss is used as the optimization objective for unsupervised contrastive learning.

[0248]

[0249] (17)

[0250] Here Temperature is used to adjust the smoothness of the similarity distribution. This loss forces the representations of the same node from different perspectives to be close to each other in the embedding space, while the representations of different nodes are far apart, thereby learning node representations that can reflect the similarity of the graph structure.

[0251] After the unsupervised comparison phase, the supervised semantic comparison learning phase begins. Here, the high-confidence labels output by the community-aware noise correction module are used as supervision signals to construct the semantic-aware comparison learning objective. For each node... Define its semantic positive sample set Semantic negative sample set ,in for A set of nodes of the same category This represents a set of nodes of different categories. Based on this, the supervised semantic contrastive loss is defined as:

[0252] (18)

[0253] This loss function has a dual optimization objective: on the one hand, it brings nodes of the same class closer together in the representation space, enhancing intra-class compactness; on the other hand, it widens the representations of nodes of different classes, improving the discriminative power between the representations of different classes. In the algorithm implementation, for fixed anchor nodes... The similarity with nodes in the candidate set only needs to be calculated once, and this result is shared among all positive sample pairs. By using high-confidence labels corrected by community governance as supervision signals, the model can learn semantically rich node representations while avoiding the misleading influence of early noisy labels.

[0254] To collaboratively optimize noise detection, graph structure enhancement, and contrastive learning representation, this invention designs a multi-task joint loss function. This loss function consists of three parts: prediction loss, edge reconstruction loss, and contrastive loss, and the adjustable weight coefficients achieve balance and collaborative training among the modules.

[0255] To effectively distinguish between clean and noisy nodes and assign appropriate supervision weights to different node sets, this invention employs a weighted prediction loss function based on node partitioning. This loss function utilizes the node partitioning results obtained from the noise detection module to assign different weight strategies to each node set, thereby suppressing noisy nodes and reinforcing high-confidence nodes during training. For clean sets… Node labels have high confidence, so the original labels can be used directly for supervision; for noisy sets... Nodes in the model have low label confidence. To suppress the negative impact of noisy labels on model training and avoid overfitting, they are assigned lower supervision weights. This aims to reduce the contribution of noisy nodes to the loss calculation, thereby protecting the model from being misled by mislabeled nodes. Define the weight function. as follows:

[0256] (19)

[0257] The overall prediction loss can be defined as:

[0258] (20)

[0259] Contrast loss can be defined as:

[0260] (twenty one)

[0261] Total loss can be defined as:

[0262] (twenty two)

[0263] The pseudocode for this framework is shown in Algorithm 1. First, the model's input includes the original graph, node features, noisy training set labels, and relevant hyperparameters; the output is the trained encoder. and In the first line of the algorithm, the Louvain community detection algorithm is used to partition the original graph into communities to obtain community-level structural information. In each iteration, lines 3–6 first construct the enhanced graph and use the encoder to learn node representations, thereby obtaining the predicted probability distribution of nodes. Subsequently, noise detection is performed on nodes based on prediction loss and neighborhood consistency, dividing them into clean node sets and noisy node sets, and further performing edge pruning to optimize information propagation paths. In lines 7–9, label correction is performed on the detected noisy nodes to alleviate the interference of noise labels on model training. Lines 10–13 calculate unsupervised contrastive loss and supervised contrastive loss respectively, enhancing the robustness and semantic discriminative ability of node representations through staged contrastive learning. Finally, in lines 15–16, the total loss function is constructed by combining prediction loss, graph reconstruction loss, and contrastive loss, and the model parameters are updated through backpropagation, thus completing one training iteration and finally outputting the trained encoder. .

[0264]

[0265] To evaluate the robustness of CG-GNN under different noise environments, experiments were conducted on four widely used graph node classification datasets: three citation network datasets (Cora, Citeseer, and PubMed) and one Amazon product dataset (Photo). The Cora dataset contains 2708 nodes and 5429 edges, divided into 7 classes; the Citeseer dataset contains 3327 nodes and 4732 edges, divided into 6 classes; the PubMed dataset contains 19717 nodes and 44338 edges, divided into 3 classes; and the Photo dataset contains 7650 nodes and 119081 edges, divided into 8 classes. Specific details are shown in Table 2.

[0266] To simulate real-world label noise, two common noise types were introduced into each dataset: uniform noise and pair noise. In uniform noise, each node's label is randomly flipped to any other arbitrary category with probability p, and the flipping probability is equal for each category. In pair noise, each node's label is incorrectly assigned to a category that is semantically or structurally similar to the true category with probability p.

[0267] Table 2: Statistics of Experimental Dataset

[0268]

[0269] To verify the effectiveness of CG-GNN, the following representative baseline methods were selected for comparison, including traditional GCN models and more robust baseline models: Self-Training, Co-teaching, GRACE, NRGNN, RTGNN and ERASE.

[0270] GCN

[34] : Graph Convolutional Network, as a basic graph neural network model, is used to measure the impact of noise on traditional GNN.

[0271] Self-Training

[48] : A self-training method that enhances the supervision signal by iteratively predicting pseudo-labels.

[0272] Co-teaching

[16] : A noise-robust learning method based on dual-network collaborative teaching, which originates from the field of vision and is adapted to graph data.

[0273] GRACE

[42] : A graph contrastive learning method that enhances representation robustness through node-level contrast.

[0274] NRGNN

[26] : A GNN method designed specifically for noisy graphs that suppresses noise propagation by reconstructing the graph structure.

[0275] RTGNN

[27] : A robust training method based on noise control, which improves performance through label correction and structure optimization.

[0276] ERASE

[21] : A noise-robust GNN method based on error-tolerant representation learning, which improves robustness by maximizing coding rate reduction.

[0277] RNCGLN

[39] : A robust node classification method that simultaneously handles graph structure noise and label noise, and enhances the stability of node representation by combining a self-attention mechanism.

[0278] GTA

[29] : A graph topology adaptive robust method that optimizes the graph structure by combining trusted edge enhancement and noisy edge pruning to improve the reliability of information propagation in noisy tag scenarios.

[0279] DREAM

[49] : A dynamic weighting method based on semantic homogeneity, which uses semantic and topological dual relationships to evaluate the reliability of node labels in order to improve the robust training effect under noisy labels.

[0280] All experiments were conducted on an NVIDIA A100 PCIe 40GB GPU with 40GB of memory. A two-layer GCN was used as the backbone GNN model, with 128 hidden layers. The learning rate was fixed at 0.001, the decay rate was 5e-4, and the total number of training epochs T was set to 200. The first stage training epochs numbered... Set to 50 rounds, with edge reconstruction coefficients selected within the range {0.1, 0.2, 0.3, 0.4, 0.5}. and Select values ​​within the range {0.01, 0.05, 0.1, 0.2, 0.3} and compare the learning temperature parameters. It fluctuates within the range of {0.001, 0.01, 0.1, 1, 10, 100}. Consistency threshold. Set to 0.5, edge clipping threshold Setting it to 0.4, under default experimental settings, the labeling rate for the Cora and Citeseer datasets is set to 5%, and the labeling rate for the PubMed and Photo datasets is set to 1%, with the label noise rate set to 20% by default. The community size threshold for the Cora and Citeseer datasets is also set. The value was set to 5, and 10 for the Pubme and Photo datasets. All experiments were validated 5 times with the same parameters, and the mean and standard deviation were taken.

[0281] Table 3: Classification accuracy (mean accuracy and standard deviation) for uniform noise and paired noise types at a noise rate of 20%.

[0282]

[0283] To comprehensively evaluate the overall performance of CG-GNN on noisy graph data, comparative experiments were conducted on multiple benchmark datasets, including Cora, Citeseer, and PubMed, against nine representative methods, including traditional graph neural network models and robust graph learning methods proposed in recent years. All experiments were conducted under the same data partitioning and noise settings to ensure the fairness of the comparison results.

[0284] Table 3 shows that CG-GNN achieves best or near-best classification performance on all datasets, and significantly outperforms the comparison methods in most settings. The performance advantage of CG-GNN is particularly pronounced in PubMed and Photo scenarios with fewer labeled nodes, demonstrating good stability and generalization ability.

[0285] Further analysis of the performance of different methods reveals that traditional GCN exhibits the most significant performance degradation in the presence of label noise, indicating its high sensitivity to noise propagation. While some robust methods mitigate the negative impact of noise to some extent, they still rely on strong homogeneity assumptions or node-level noise modeling. In contrast, CG-GNN, by introducing a community-level noise governance mechanism and a phased contrastive learning strategy, effectively suppresses noise propagation while fully leveraging graph structure and semantic information, thus achieving more robust node representation learning. Overall, the performance comparison results demonstrate that CG-GNN exhibits good adaptability to datasets of varying sizes and structural features, validating its effectiveness in real-world complex graph learning scenarios.

[0286] To systematically evaluate the robustness of CG-GNN under different noise conditions, comparative experiments were conducted on the model performance under two common label noise settings: uniform noise and paired noise. Furthermore, the noise ratio was increased to verify the performance in high-noise scenarios.

[0287] like Figure 7 As shown, the classification performance of all methods declines to varying degrees with increasing noise rate. However, compared to the comparative methods, CG-GNN exhibits slower performance degradation across all noise rate ranges, with its performance advantage becoming more pronounced under medium to high noise conditions. This phenomenon indicates that CG-GNN can effectively suppress the propagation effect of noise labels in the graph structure, preventing the model from overfitting to incorrect supervision signals during training. In contrast, some baseline methods show a sharp performance drop at high noise rates, indicating that their robustness faces significant challenges in noisy environments. Overall, the results confirm that CG-GNN maintains stable and reliable performance across a wide range of noise intensities.

[0288] To evaluate the model's performance under different levels of supervision, experiments were conducted on the Cora and Citeseer datasets with varying label rates. Specifically, the proportion of labeled nodes was set to 2.5%, 5%, 7.5%, and 10%, and comparisons were made with several robust baseline methods under both uniform noise and paired noise settings. Figure 8As shown, CG-GNN maintains stable and competitive classification performance across almost all label rate configurations. Its advantage is particularly pronounced in low label rate scenarios (e.g., 2.5% and 5%), where supervisory information is extremely limited. Under such conditions, many comparative methods experience significant performance degradation, with some even failing to converge effectively. In contrast, CG-GNN maintains high classification accuracy. These observations demonstrate that CG-GNN does not overly rely on a large number of clean labels, but rather effectively utilizes structural topology and semantic information even when label supervision is sparse and potentially contaminated. Therefore, the proposed framework alleviates the performance degradation typically caused by insufficient supervision and exhibits strong adaptability under limited label settings.

[0289] Table 4: Ablation studies at 20% noise level

[0290]

[0291] To systematically evaluate the contribution of each key module of CG-GNN to the overall performance, ablation experiments were conducted on the Cora, Citeseer, and PubMed datasets. By removing or replacing core components in the model one by one, the mechanisms by which different modules affect noise robustness and representation learning were analyzed. Specifically, the following variant settings were considered:

[0292] w / o AP: Remove the graph augmentation and noise edge clipping modules and train only on the original graph structure.

[0293] w / o NC: Removes the noise detection module, and no longer identifies and classifies nodes for noise.

[0294] w / o CL: Remove the unsupervised structural contrastive learning stage and retain only the supervised semantic contrastive learning stage.

[0295] The ablation experiment results are shown in Table 4. The complete model consistently achieves the best performance across all datasets and noise types. Removing any single component leads to a significant performance degradation, confirming that each module contributes to the overall robustness of the framework. In particular, eliminating augmented graph construction (w / o AP) results in a substantial drop in accuracy under both uniform and paired noise, highlighting the importance of topology reinforcement in suppressing noise propagation. Similarly, removing noise detection (w / o NC) weakens the model's ability to distinguish clean nodes from noisy nodes, while removing structural contrastive learning (w / o CL) reduces representation stability under noise supervision. Overall, the ablation experiment results demonstrate that graph augmentation, along with edge pruning, noise detection, and staged contrastive learning—the three key components—work synergistically to improve the model's performance under noisy conditions.

[0296] To further verify the effectiveness of the noise correction module, more detailed ablation analyses are presented under uniform noise and paired noise settings, such as... Figure 9 As shown. Specifically, the complete model is compared with two variants: one without noise correction (All - w / o NC), and the other using only neighbor-based correction (All - NeighborCorrection). The former is used to evaluate the overall contribution of the noise correction module, while the latter is used to measure the additional gain brought by the community-based correction.

[0297] The full model consistently achieves higher accuracy than the noise-free correction variant across all datasets, validating the necessity of label correction under noise supervision. Furthermore, the full model also outperforms the variant using only neighbor-based correction, demonstrating that community-based correction provides more reliable structural guidance than purely local correction in challenging noisy environments.

[0298] To intuitively evaluate the performance of CG-GNN in node representation learning, the t-SNE

[50] method was used to visualize the node embeddings learned by the model on the Cora and Citeseer datasets in two dimensions, and the results were compared with representative baseline methods such as GCN, NRGNN and ERASE. In the visualization results, different colors represent different categories, and nodes that are predicted incorrectly are marked in black to highlight the model's ability to discriminate in noisy environments.

[0299] Experimental results are as follows Figure 10 As shown, from an overall distribution perspective, the node representations learned by CG-GNN exhibit a clearer clustering structure. Nodes of the same category are highly clustered in the embedding space, with significantly enhanced intra-class compactness, while the intervals between different categories are more pronounced, and the inter-class boundaries are clear. Further comparison with baseline methods reveals that traditional GCNs exhibit a relatively loose embedding distribution in the presence of noise, with significant overlap between multiple categories, and misclassified nodes often concentrated in the inter-class boundary region, reflecting their high sensitivity to noise propagation. NRGNN and ERASE alleviate these problems to some extent, but the phenomenon of some communities being fragmented by noisy nodes and discontinuous intra-class structures still exists. In contrast, the embedding distribution of CG-GNN shows stronger consistency within communities. Thanks to the community-aware noise correction strategy, the proposed model can maintain the original semantic structure in high-purity communities and actively repair the semantic consistency damaged by noise in high-entropy communities, thereby enabling nodes within the same community to form a more stable cluster structure in the representation space. Furthermore, the phased contrastive learning mechanism prioritizes learning topological consistency in the early stages of training and introduces high-confidence semantic supervision in the later stages, so that the final embedding has both good structural discriminativeness and semantic separability.

[0300] To delve into the impact of key hyperparameters in CG-GNN on model performance, a systematic hyperparameter sensitivity analysis was conducted on the Cora, Citeseer, PubMed, and Photo datasets, primarily focusing on edge reconstruction loss weights. Supervision weights for noise nodes And contrast loss weights And the temperature parameter τ, the results are as follows Figure 11 , Figure 12 and Figure 13 To present it.

[0301] parameter The noise set nodes are used to reduce their weight in the prediction loss, while λ is used to balance the proportion of contrastive loss in the total loss. Figure 11 The heatmaps illustrate the performance on the Cora and Citeseer datasets. and The model performance under different value combinations shows that as the values ​​change, significant color differences appear in the color blocks, indicating that... and All showed a certain degree of sensitivity, when If the value is too small, the suppression of noisy nodes is insufficient; if it is too large, it may excessively weaken the potentially useful information in the noisy nodes. Experimental results show... Good results are usually achieved within the range of 0.1 to 0.2. For Values ​​that are too small result in a weaker learning signal, failing to adequately bring positive samples closer and push negative samples further away. Values ​​that are too large may cause the model to focus excessively on the contrast task and neglect the classification objective.

[0302] Edge reconstruction loss Controlled The degree of contribution to the total loss, such as Figure 12 As shown on Citeseer and PubMed, with As the value increases, performance initially improves and then declines, indicating that the reconstruction loss needs to be appropriately balanced with the classification objective. Compared to PubMed, Citeseer... More sensitive, with more pronounced performance fluctuations under both uniform and paired noise settings. In contrast, the PubMed dataset shows less performance variation, indicating that large-scale datasets are less sensitive to reconstruction loss weights and can perform better over a wider range of conditions. Maintain more stable performance within the range.

[0303] Figure 13This demonstrates the performance variation on the Cora and Amazon Photo datasets as the temperature parameter varies between 0.001 and 100. The results show that the performance of both datasets improves under uniform noise and paired noise settings. They exhibit different sensitivities. When When the screen is very small, Cora performs relatively well, while Amazon Photo performs poorly. With... As the range increases to a moderate level, the performance difference between different settings becomes smaller. However, when... When the temperature becomes too large, Cora's performance drops sharply, while the change in Amazon Photo is relatively gradual. These observations suggest that Cora is more sensitive to temperature parameters, while Amazon Photo is more responsive over a wider range of temperature parameters. It is relatively more stable within the range.

[0304] To verify the effectiveness of the technical solution of this invention, tests were conducted on four public graph node classification datasets: Cora, Citeseer, PubMed, and Amazon Photo. The experiments simulated two common label noise scenarios: uniform noise and paired noise, with a default noise rate of 20%. The label rate for Cora and Citeseer was set to 5%, and for PubMed and Photo to 1%. A two-layer GCN was used as the basic encoder, with a hidden layer dimension of 128, a learning rate of 0.001, and a total of 200 training epochs, including 50 epochs of unsupervised contrastive learning in the first stage. All experiments were repeated 5 times, and the mean accuracy and standard deviation were used as evaluation results. Table 3 shows the comparison of classification accuracy between the proposed method (CG-GNN) and existing methods under 20% label noise. As can be seen from Table 3, the proposed method achieves the best classification accuracy in most experimental settings, especially in scenarios with sparse labeling or significant noise effects, such as Citeseer paired noise, PubMed, and Photo, indicating that the proposed method can effectively alleviate the performance degradation caused by label noise propagating through the graph structure.

[0305] Furthermore, to verify the contribution of each technical module, ablation experiments were conducted on this invention, as shown in Table 4. The ablation experiments show that the complete model achieves the best results across all datasets and noise types. Removing graph augmentation and propagation path optimization significantly reduces model performance, indicating that noise edge pruning and structural augmentation effectively block the propagation of erroneous labels along graph edges. Removing noise detection and community correction weakens the model's ability to identify and correct erroneous labels. Removing staged contrastive learning reduces the stability of node representations and class discriminability. This demonstrates that the graph augmentation and propagation path optimization, community-level noise correction, and staged contrastive learning modules in this invention have synergistic gains.

[0306] The following can be further explained by referring to the renderings: Figure 7 The results show that as the tag noise rate increases, the performance of CG-GNN decreases at a slower rate than other methods, indicating that it has stronger robustness in medium to high noise scenarios. Figure 8 The results show that the present invention can still maintain a high accuracy rate under low labeling rates such as 2.5% and 5%, indicating that it does not rely on a large number of clean labels. Figure 9 The results show that the complete model outperforms the variants with no noise correction and neighbor correction only, demonstrating that community-level label governance is more stable than simple local neighbor correction. Figure 10 The t-SNE visualization results show that the nodes learned by this invention are more compactly embedded within classes, have clearer boundaries between classes, and have fewer misclassified nodes; Figures 11 to 13 Hyperparameter experiments show that the present invention maintains stable performance within a reasonable parameter range and has good reproducibility and engineering applicability.

[0307] The technical effects of this invention stem from the following aspects: First, community detection results can reflect the global semantic consistency in the graph structure, making it less susceptible to local noise interference compared to individual nodes or first-order neighbors; second, community information entropy can measure the purity of label distribution within the community and dynamically adjust the label correction threshold accordingly, avoiding over-correction; third, noise risk-driven probabilistic edge pruning can suppress the propagation of erroneous labels while avoiding the loss of effective structural information caused by deleting edges all at once; fourth, phased contrastive learning first learns the topological structure representation and then introduces the regulated high-confidence label semantics, thereby reducing the risk of early training noise labels misleading the model. The above experimental data and theoretical analysis jointly demonstrate that this invention can significantly improve the robustness and classification performance of graph neural networks in graph learning scenarios with sparse and noisy labels.

[0308] In the description of this invention, unless otherwise stated, "a plurality of" means two or more; the terms "upper," "lower," "left," "right," "inner," "outer," "front end," "rear end," "head," "tail," etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings, and are only for the convenience of describing the invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of the invention. Furthermore, the terms "first," "second," "third," etc., are used for descriptive purposes only and should not be construed as indicating or implying relative importance.

[0309] It should be noted that embodiments of the present invention can be implemented in hardware, software, or a combination of both. The hardware portion can be implemented using dedicated logic; the software portion can be stored in memory and executed by a suitable instruction execution system, such as a microprocessor or dedicated-design hardware. Those skilled in the art will understand that the above-described devices and methods can be implemented using computer-executable instructions and / or included in processor control code, for example, such code provided on a carrier medium such as a disk, CD, or DVD-ROM, a programmable memory such as read-only memory (firmware), or a data carrier such as an optical or electronic signal carrier. The devices and modules of the present invention can be implemented by hardware circuitry such as very large-scale integrated circuits or gate arrays, semiconductors such as logic chips, transistors, or programmable hardware devices such as field-programmable gate arrays, programmable logic devices, etc., or by software executed by various types of processors, or by a combination of the above-described hardware circuitry and software, such as firmware.

[0310] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any modifications, equivalent substitutions, and improvements made by those skilled in the art within the scope of the technology disclosed in the present invention, and within the spirit and principles of the present invention, should be covered within the scope of protection of the present invention.

Claims

1. A robust graph neural network method based on community-level label governance, characterized in that, include: Structural enhancement is performed on the input graph. The structural enhancement uses the non-negative similarity between node representations as the weighted candidate edges, and applies edge reconstruction constraints to the candidate edge weights based on the original connectivity and sampled non-connectivity, and outputs an enhanced graph. Dual-coded noise identification is performed based on the enhanced graph. The dual-coded noise identification outputs two sets of label prediction distributions respectively, and cross-integrates the prediction loss partitioning result of the labeled node with the neighbor consensus label partitioning result to output a clean node set and a noisy node set. The propagation path optimization is performed on the set of noise nodes. The propagation path optimization is based on the predicted loss normalization score and the neighbor consistency deviation to form a noise risk score. When the noise risk score meets the pruning condition, the connection state of the adjacent edge is updated according to a preset probability, and the optimized propagation relationship is output. Label correction is performed based on a pre-fixed community division, where the community division is only used as a structural grouping basis for label noise governance. The label correction determines the corrected label or retains the original label based on the conditions of community label consistency, node consistency score and the number of community labeled nodes, and outputs the governed label. Based on the enhanced graph, the optimized propagation relationship, and the post-governance label, a phased comparative learning is performed. The phased comparative learning includes unsupervised comparative learning of two views, supervised comparative learning of semantics, and joint optimization with prediction loss and edge reconstruction loss, outputting the training results of the robust graph neural network.

2. The robust graph neural network method based on community-level tag governance as described in claim 1, characterized in that, The structural enhancements include: A graph convolutional encoder is used to encode the node feature matrix and the adjacency matrix to obtain the node feature representation matrix; For each unlabeled node and any labeled node, calculate the potential association weight according to the normalized inner product similarity relationship between their node representations, and set the similarity result less than zero to zero; Using the node pairs that are connected in the original graph as positive samples and the node pairs that are not connected in the original graph but are obtained through uniform sampling as negative samples, edge reconstruction constraints are applied to the deviation between the potential association weights and the original adjacency values. The original adjacent positions are kept connected, the potential association weights are written into the positions that are originally unconnected and whose potential association weights are greater than the enhancement threshold, and the remaining positions are kept unconnected to form an enhanced adjacency matrix.

3. The robust graph neural network method based on community-level tag governance as described in claim 1, characterized in that, The dual-coded noise identification includes: The enhanced adjacency matrix and node features are input into two independent parametric graph encoders, which output two sets of label prediction probability distributions. For each labeled node, the joint prediction loss is determined according to the logarithm of the product of its original label and the predicted probability distributions of the two sets of labels; The small loss threshold is determined by the larger of the training progress retention ratio and the average loss retention ratio. The training progress retention ratio decreases as the current training round number increases relative to the total number of training rounds. The average loss retention ratio is determined by the proportion of nodes whose joint predicted loss is lower than the average loss to the total number of nodes in the loss set. Based on the small loss partitioning threshold, the labeled nodes are divided into a set of clean nodes with small loss and a set of noisy nodes with small loss; For any labeled node, obtain the maximum probability label of its neighboring nodes in the outputs of two independent parametric graph encoders, merge the two sets of neighbor prediction labels, and determine the neighbor consensus label based on the majority relationship of class counts. The consensus ratio is defined as the proportion of neighbors whose predicted labels match the neighbors' consensus labels to twice the number of neighbors. When the original label is different from the neighbor consensus label and the consistency ratio is higher than the homogeneity threshold, the corresponding labeled node is assigned to the homogeneous noisy node set, and the remaining labeled nodes constitute the homogeneous clean node set. The intersection of the set of clean nodes with low loss and the set of homogeneous clean nodes is taken as the clean node set, and the intersection of the set of noisy nodes with low loss and the set of homogeneous noisy nodes is taken as the noisy node set.

4. The robust graph neural network method based on community-level label governance as described in claim 1, characterized in that, The propagation path optimization includes: For nodes in the noise node set, the prediction uncertainty score is calculated based on the exponential normalization relationship of the joint prediction loss in the set of small-loss noise nodes. Calculate the structural inconsistency score based on the relationship between one and the consistency ratio; The noise risk score is calculated based on the average relationship between the prediction uncertainty score and the structural inconsistency score. When the noise risk score is higher than the pruning threshold and the random value meets the preset pruning probability, the adjacent edges of the corresponding noise node are updated to a disconnected state. If the pruning condition is not met, the original adjacent edges are kept connected.

5. The robust graph neural network method based on community-level tag governance as described in claim 1, characterized in that, The label correction based on pre-fixed community division includes: Before model training begins, the Louvain community detection algorithm is used to perform a one-time community partitioning on the original graph to obtain a set of non-overlapping communities, and the community partitioning results are kept fixed during training. The community division results are limited to structural auxiliary information in the noise control phase and do not participate in the node representation learning and message passing process; For any community containing labeled nodes, the community information entropy is calculated based on the frequency relationship between the number of labeled nodes of each category in the community and the number of labeled nodes in the community. The community information entropy is used as an indicator of label consistency and purity within the community. When the node consensus score meets the adaptive threshold and the number of nodes already labeled in the community is greater than the minimum threshold, the node label will be corrected to the community consensus label. When the node consensus score meets the adaptive threshold and the number of labeled nodes in the community is less than the minimum threshold, the node label is corrected to the neighbor consensus label. If the aforementioned correction conditions are not met, retain the original node label.

6. The robust graph neural network method based on community-level tag governance as described in claim 1, characterized in that, The phased comparative learning includes: Based on the augmented graph structure, two independent parametric graph encoders are used to construct two augmented views with the same topology but different node representations through random parameter initialization. The representations of the same node in two augmented views are taken as positive sample pairs, and the representations of the node with other nodes are taken as negative sample pairs. The unsupervised contrast loss is calculated according to the relationship between similarity, temperature parameter and normalization exponent. Based on the post-treatment labels, a set of semantically positive samples and a set of semantically negative samples are determined. The set of semantically positive samples consists of nodes of the same category, while the set of semantically negative samples consists of nodes of different categories. Supervised contrast loss is calculated according to the relationship between similarity, temperature parameter and normalization index. A first prediction weight is assigned to nodes in the clean node set, and a second prediction weight is assigned to nodes in the noisy node set, with the second prediction weight being less than the first prediction weight. The overall prediction loss is formed based on the weighted joint prediction loss. The unsupervised contrast loss is added to the supervised contrast loss to form the contrast loss. The edge reconstruction loss, the overall prediction loss, and the contrast loss are combined according to preset weight coefficients to form the total loss.

7. A robust graph neural network system based on community-level label governance, characterized in that, It includes a path optimization module, a noise correction module, and a contrastive learning module; The path optimization module is configured to receive a node feature matrix, an adjacency matrix, a labeled node set, and an unlabeled node set, and output an enhanced graph, a clean node set, a noisy node set, and an optimized propagation relationship based on the non-negative similarity relationship between node representations, edge reconstruction constraints, dual-encoding prediction loss, neighbor consensus labels, and noise risk scores. The noise correction module is configured to receive the original graph, the set of marked nodes, the set of clean nodes, and the set of noisy nodes, and output the post-treatment labels based on the fixed community division, community information entropy, node consistency score, and the number of marked nodes in the community. The contrastive learning module is configured to receive the augmented graph, optimized propagation relationship and post-governance label, form a dual-augmented view based on the independent parametric graph encoder, and combine unsupervised contrastive loss, supervised contrastive loss, prediction loss and edge reconstruction loss to output the training result of the robust graph neural network.

8. The robust graph neural network system based on community-level label governance as described in claim 7, characterized in that, The path optimization module includes a structure enhancement processing unit, a dual-coding noise identification unit, and a propagation path trimming unit. The structure enhancement processing unit is configured to use the node feature representation output by the graph convolutional encoder to form potential association weights according to the non-negative normalized inner product similarity relationship between unlabeled nodes and labeled nodes, and to generate an enhanced adjacency matrix based on positive sample connectivity, negative sample disconnection and enhancement threshold. The dual-coding noise identification unit is configured to use two independent parametric graph encoders to output two sets of label prediction probability distributions, determine the joint prediction loss based on the logarithmic relationship of the product of the original label and the two sets of label prediction probability distributions, and cross-integrate the small loss partitioning result with the neighbor consensus label partitioning result. The propagation path pruning unit is configured to generate a noise risk score based on the exponential normalization relationship of the joint prediction loss and the consistency ratio deviation, and to update the adjacent edge connection state when the noise risk score is higher than the pruning threshold and the random value meets the preset pruning probability.

9. The robust graph neural network system based on community-level label governance as described in claim 7, characterized in that, The noise correction module includes a community segmentation unit, a community entropy calculation unit, and a label decision unit; The community partitioning unit is configured to perform a one-time Louvain community partitioning on the original graph before model training begins, and to keep the community partitioning results fixed during training. The community entropy calculation unit is configured to calculate the community information entropy based on the frequency relationship between the number of labeled nodes of each category in the community and the number of labeled nodes in the community. The label decision unit is configured to output a community consensus label when the node consistency score meets the adaptive threshold and the number of labeled nodes in the community is greater than the minimum number threshold; output a neighbor consensus label when the node consistency score meets the adaptive threshold and the number of labeled nodes in the community is less than the minimum number threshold; and output the original label when the correction conditions are not met.

10. The robust graph neural network system based on community-level label governance as described in claim 7, characterized in that, The contrastive learning module includes a view construction unit, an unsupervised contrastive learning unit, a supervised contrastive learning unit, and a total loss calculation unit. The view construction unit is configured to construct two enhanced views with the same topology but different node representations based on the enhanced graph structure using two independent parametric graph encoders. The unsupervised contrastive learning unit is configured to treat the representations of the same node in two augmented views as positive sample pairs and the representations of that node with other nodes as negative sample pairs. The supervised contrastive learning unit is configured to treat nodes of the same category as semantic positive samples and nodes of different categories as semantic negative samples based on the governed labels. The total loss calculation unit is configured to set a first prediction weight for nodes in the clean node set, set a second prediction weight lower than the first prediction weight for nodes in the noisy node set, and jointly calculate the edge reconstruction loss, overall prediction loss, unsupervised comparison loss and supervised comparison loss according to preset weight coefficients.