<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>How Does Bayesian Noisy Self-Supervision Defend Graph Convolutional Networks?</title></titleStmt>
			<publicationStmt>
				<publisher></publisher>
				<date>08/01/2022</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10380120</idno>
					<idno type="doi">10.1007/s11063-022-10750-8</idno>
					<title level='j'>Neural Processing Letters</title>
<idno>1370-4621</idno>
<biblScope unit="volume">54</biblScope>
<biblScope unit="issue">4</biblScope>					

					<author>Jun Zhuang</author><author>Mohammad Al Hasan</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[In recent years, it has been shown that, compared to other contemporary machine learning models, graph convolutional networks (GCNs) achieve superior performance on the node classification task. However, two potential issues threaten the robustness of GCNs, label scarcity and adversarial attacks. .Intensive studies aim to strengthen the robustness of GCNs from three perspectives, the self-supervision-based method, the adversarial-based method, and the detection-based method. Yet, all of the above-mentioned methods can barely handle both issues simultaneously. In this paper, we hypothesize noisy supervision as a kind of selfsupervised learning method and then propose a novel Bayesian graph noisy self-supervision model, namely GraphNS, to address both issues. Extensive experiments demonstrate that GraphNS can significantly enhance node classification against both label scarcity and adversarial attacks. This enhancement proves to be generalized over four classic GCNs and is superior to the competing methods across six public graph datasets.]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1">Introduction</head><p>By Generalizing convolutional operation to graph-structured data, Graph Convolutional Networks (GCNs) achieve superior performance on the node classification task <ref type="bibr">[7,</ref><ref type="bibr">24,</ref><ref type="bibr">48</ref>]. However, two potential issues threaten the robustness of GCNs, label scarcity and adversarial attacks. On the one hand, lacking annotated labels may undermine the training of robust GCNs <ref type="bibr">[16]</ref>. On the other hand, GCNs may be vulnerable to adversarial attacks <ref type="bibr">[3]</ref>, i.e. small well-designed perturbations may lead to dramatic degradation in a GCN's performance.</p><p>To improve the robustness of GCNs on node classification, intensive studies have been pursued to defend GCNs. Such efforts can be categorized into three groups: self-supervision-based method <ref type="bibr">[15,</ref><ref type="bibr">46,</ref><ref type="bibr">52,</ref><ref type="bibr">54]</ref>, adversarial-based method <ref type="bibr">[5,</ref><ref type="bibr">9,</ref><ref type="bibr">21]</ref>, and detectionbased method <ref type="bibr">[45,</ref><ref type="bibr">56,</ref><ref type="bibr">58]</ref>. The adversarial-based methods improve the robustness of GCNs by training with adversarial samples, whereas the detection-based methods detect the attacker nodes or edges and then alleviate the negative impact by removing them. However, neither of them can handle both the label scarcity and adversarial attacks issues simultaneously. An increased number of recent studies that focus on GCN's robustness are employing a kind of self-supervision-based method, namely, pre-training <ref type="bibr">[11,</ref><ref type="bibr">18]</ref>, to overcome the label scarcity. This approach constructs a pretext task to help GCNs learn transferable graph representation through the pre-training stage. Nevertheless, it is still a challenge to design a more generalized pretext task that can be beneficial to the downstream tasks. Self-training <ref type="bibr">[37]</ref> is an extended form of pre-training. It assigns self-generated pseudo-labels to highly confident unlabeled nodes and then adds up these to the labeled nodes for the next iteration. Nonetheless, the accuracy of such pseudo-labels may suffer serious degradation when the pre-trained GCN is under perturbation.</p><p>Learning graph representation with the noisy label is a potential solution to mitigate both aforementioned issues, label scarcity and adversarial attacks <ref type="bibr">[6]</ref>. In this paper, we argue that the annotated noisy labels assigned to the vertices could be regarded as a kind of self-information for each node. Thus, noisy supervision can be generalized as noisy selfsupervision, a subset of self-supervised learning methods. In this paper, our interest is to find answers to the following questions: Q1: Can a GCN-based node classifier benefit from noisy self-supervision on a label-scarce graph? Q2: Can noisy self-supervision defend a GCN-based node classifier from adversarial attacks?</p><p>To effectively answer the above-mentioned questions, we propose a novel Bayesian Graph Noisy Self-supervision model, named as GraphNS, which improves the robustness of a GCN-based node classifier. In the beginning, GraphNS trains the node classifier with noisy labels on the train graph. For each node, our model returns a multinomial distribution over the label set, which is updated by using a conditional label transition matrix. GraphNS then infers the label for each node by sampling from the updated multinomial distribution. The inference expects that inferred labels would match with the corresponding latent labels. In each iteration, the conditional label transition matrix is dynamically updated by replacing the predicted labels with the inferred labels from Gibbs sampling, and the node classifier is retrained. With each subsequent iterations, the prediction from the node classifier increasingly aligns with the latent labels, making the node classification more robust. Note that, throughout the whole process, the latent labels are unknown, yet GraphNS employs Bayesian inference to approximate the latent labels over conditional label transition. This is made possible by considering that the conditional label transition vector (a multinomial distribution) of each of the K labels follows a Dirichlet prior, and these vectors are iteratively updated using the Bayesian framework. The above design of GraphNS provides an affirmative answer to the first question, as it shows that GraphNS can utilize self-information, i.e., annotated noisy labels of the nodes, to build a robust node classifier (without knowing the ground-truth latent labels) and thereby can be used for node prediction in a label-scarce graph. For a likewise answer to the second question, in the experiment, we will show that GraphNS can repair the prediction of a node classifier when the graph is under adversarial attacks.</p><p>The contribution of this paper can be summarized as follows:</p><p>&#8226; We first generalize noisy supervision as a subset of self-supervised learning methods. This generalization offers an innovative path towards the defense of GCNs.</p><p>&#8226; We propose a new Bayesian graph noisy self-supervision model, namely GraphNS, to improve the robustness of the node classifier on graph data. To the best of our knowledge, our work is the first model that adapts Bayesian inference with noisy self-supervision on graph data and significantly improves the robustness of GCNs against both label scarcity and adversarial attacks.</p><p>&#8226; Extensive experiments demonstrate that GraphNS can enhance node classification under both non-attacked and attacked environments. This enhancement proves to be generalized over four classic GCNs and is superior to the competing methods across six public graph datasets.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2">Related Work</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.1">Graph Convolutional Networks</head><p>Graph convolutional networks (GCNs) generalize conventional convolutional neural networks (CNNs) to graph data and achieve great success in the recent few years <ref type="bibr">[47,</ref><ref type="bibr">48]</ref>. Bruna et al. <ref type="bibr">[2]</ref> first generalize convolutions on graph data from the perspective of both spatial method and spectral method. However, the eigendecomposition of the graph Laplacian matrix leads to high complexity on a large graph. To improve efficiency, <ref type="bibr">[4]</ref> introduce Korder Chebyshev polynomial to approximate spectral filter. <ref type="bibr">[24]</ref> limit the graph convolution to 1-order polynomial and achieve state-of-the-art performance with high efficiency. Wu et al. <ref type="bibr">[44]</ref> further simplify the graph convolution by successively removing nonlinearities and collapsing weight between consecutive layers without a negative impact on accuracy. Different from the aforementioned spectral methods, <ref type="bibr">[14]</ref> propose a spatial model that aggregates features from fixed-size local neighbors of the current node. Veli&#269;kovi&#263; et al. <ref type="bibr">[41]</ref> leverage a masked self-attention strategy to aggregate neighborhoods' information in both transductive and inductive manners. All aforesaid models improve the performance from the view of the model structure.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.2">Defense of GCNs on Node Classification</head><p>Intensive studies about the defense of GCNs mainly focus on node classification task <ref type="bibr">[12,</ref><ref type="bibr">22,</ref><ref type="bibr">25,</ref><ref type="bibr">39]</ref>. Inspired by <ref type="bibr">[38]</ref>, we divide most existing defending methods into three main categories, the self-supervised-based method, which utilizes self-information to help enhance the robustness of GCNs <ref type="bibr">[20,</ref><ref type="bibr">32,</ref><ref type="bibr">40,</ref><ref type="bibr">51]</ref>, the adversarial-based method, which improves the robustness of GCNs by training with generated adversarial samples <ref type="bibr">[42,</ref><ref type="bibr">49,</ref><ref type="bibr">55]</ref>, and the detection-based method, which aims to mitigate the negative impact of attacks by detecting and removing potential attacker nodes or edges <ref type="bibr">[45,</ref><ref type="bibr">56,</ref><ref type="bibr">58]</ref>. Within the first category, pre-training <ref type="bibr">[19,</ref><ref type="bibr">29,</ref><ref type="bibr">34]</ref> is a popular approach to mitigate the label scarcity. The approach constructs a pretext task to help GCNs learn transferable graph representation and then finetunes with the targeted task. Self-training <ref type="bibr">[37]</ref> is an extended form of pre-training. It assigns pseudo-labels to highly confident unlabeled nodes and then adds up these to the labeled nodes for the next iteration. Nonetheless, all of the above-mentioned defending methods can barely handle both label scarcity and adversarial attack simultaneously.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.3">Learning with Noisy Label</head><p>In the past few years, an increasing number of studies learns the deep learning networks with noisy labels <ref type="bibr">[13,</ref><ref type="bibr">28,</ref><ref type="bibr">31]</ref>. Sukhbaatar et al. <ref type="bibr">[36]</ref> introduce an extra noise transition matrix to adjust the network's output by noisy supervision. Subsequent improvement from <ref type="bibr">[26]</ref> considers noise, not only conditioning on the input image but also conditioning on the human annotation. <ref type="bibr">[50]</ref> propose a dynamic label regression framework that improves the prediction by embedding the noise transition into Dirichlet-distributed space. Those works achieve great improvement in conventional CNNs. From the perspective of GCNs, <ref type="bibr">[27]</ref> present a loss correction approach to handle the graph noisy label. <ref type="bibr">[59]</ref> employ GCNs as a label noise cleaner to acquire clean labels. Both works attempt to filter noises and then acquire cleaner labels.</p><p>Inspired by <ref type="bibr">[50]</ref>, we propose an innovative Bayesian graph noisy self-supervision model to improve the robustness of the node classifier on graph data without utilizing adversarial samples or identifying perturbators.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3">Methodology</head><p>In this section, we introduce the methodology of our proposed model, Bayesian graph noisy self-supervision model, GraphNS, as follows. Section 3.1 introduces the notation and preliminary background. Section 3.2 theoretically analyzes the Bayesian noisy self-supervision. Section 3.3 explains our algorithm and analyzes its time complexity.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.1">Notations and Preliminaries</head><p>Given an undirected attributed graph G = (V, E), where V = {v 1 , v 2 , . . . , v N } denotes the set of vertices, N is the number of vertices in G, and E &#8838; V &#215; V denotes the set of edges between vertices. We denote A &#8712; R N &#215;N as symmetric adjacency matrix and X &#8712; R N &#215;d as the feature matrix, where d is the number of features for each vertex. We define the label-scarce graph as an extreme case in which all ground-truth labels, hereby referred to as latent labels of the vertices Z &#8712; R N &#215;1 , are unobserved. We argue that manual annotation is a potential solution to this problem but human annotation unavoidably brings into noises <ref type="bibr">[26]</ref>. Another potential solution is to use a secondary or weak classifier to label the vertices with pseudo-labels. This solution also yields noisy labels; furthermore, such a solution is vulnerable to adversarial attacks. We use Y &#8712; R N &#215;1 to denote the manual-annotated (or auto-generated) noisy labels, which are observed for all nodes (train and test). Our task is to defend GCN-based node classification when its noisy labels (observed) deviate from its latent labels (unobserved). However, we assume that the entries of both Y and Z take values from the same closed category set. Below, we first discuss the variant of graph convolutional networks (GCNs) that we consider for our task.</p><p>The most representative GCN proposed by <ref type="bibr">[24]</ref> is our preferred GCNs' variant. The layer-wise propagation of this GCN is presented as follows:</p><p>In Equation ( <ref type="formula">1</ref>), &#195; = A+I N , D = D+I N , where I N is the identity matrix and D i,i = j A i, j is the diagonal degree matrix. H (l) &#8712; R N &#215;d is the nodes hidden representation in the l-th Fig. <ref type="figure">1</ref> The diagram of Bayesian noisy self-supervision (V, Z and Y denote the nodes, the latent labels, and the noisy labels, respectively. &#966; denotes the conditional label transition matrix. &#945; denotes the Dirichlet parameter.</p><p>N and K denote the number of nodes and classes, respectively.) layer, where H (0) = X. W (l) is the weight matrix in the l-th layer. &#963; (&#8226;) denotes a non-linear activation function, such as ReLU.</p><p>In the K-class node classification task, we denote z n as the latent label of node v n and y n as the corresponding noisy label (y nk is a one-hot vector representation of y n ). In our setting, the GCN can be trained by the following loss function L:</p><p>where</p><p>) is the prediction of node classifier parameterized by &#952; .</p><p>Our idea to build a robust GCN-based node classifier is to use label transition, in which a transition matrix of size K &#215; K is learned, which reflects a mapping from Y to Z. We represent such a matrix by &#966; (the same term is also used to denote a label to label mapping function). Under the presence of &#966;, the loss function L in Equation ( <ref type="formula">2</ref>) can be rewritten as follows:</p><p>However, learning accurate &#966; and f &#952; is a difficult task as the latent labels of the nodes are not available. So, in our method, the &#966; and f &#952; are iteratively updated to approximate the perfect one by using the Bayesian framework.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.2">Bayesian Noisy Self-supervision</head><p>As shown in the plate diagram of Bayesian noisy self-supervision (Fig. <ref type="figure">1</ref>), the unobserved latent labels (Z) depend on the node features, whereas the observed noisy labels (Y) depend on both Z and the conditional label transition matrix, &#966;, modeled by K multinomial distributions with a Dirichlet prior parameterized by &#945;.</p><p>, where &#945; is the parameter of Dirichlet distribution. The goal of our label transition is to obtain an updated P (&#8226; | v n ) by using Bayesian noisy self-supervision so that the inferred label of given node sampled from this updated distribution is identical to the latent label of that node as much as possible.</p><p>According to Fig. <ref type="figure">1</ref>, the dependency of latent labels can be formulated as follows:</p><p>where the posterior of Z which is conditioned on the nodes V, the noisy labels Y, and the Dirichlet parameter &#945;.</p><p>The posterior of Z can be deduced by Bayes' theorem as follows:</p><p>We assume the Dirichlet distribution is symmetric, i.e., the parameter vector &#945; has the same value to all elements. Thus, Equation ( <ref type="formula">5</ref>) can be further deduced as follows:</p><p>where the term</p><p>&#966;, and hence we take it out of the integration. We simplify this term as CST in the following deduction.</p><p>According to the conjugation property between the Multinomial distribution and the Dirichlet distribution, Equation ( <ref type="formula">6</ref>) can be deduced as follows:</p><p>Here we denote the confusion matrix between the node prediction and the noisy labels as C, where</p><p>kk so that we can integrate the terms based on the aforementioned conjugation property.</p><p>Unfortunately, Eq. ( <ref type="formula">7</ref>) can not directly be employed to infer the label. Instead, we apply Gibbs sampling here to approximate our goal. According to Gibbs sampling, for each time we sample z n by fixing n-th dimension in order to satisfy the detailed balance condition on the assumption of Markov chain <ref type="bibr">[1]</ref>. Combined with Equation ( <ref type="formula">7</ref>) and the recurrence relation of &#915; function, &#915; (n + 1) = n&#915; (n), we sample a sequence of z n as follows:</p><p>123 Fig. <ref type="figure">2</ref> The workflow of Bayesian graph noisy self-supervision (GraphNS) (The latent labels represent the ground-truth labels, which cannot be observed (White color). The noisy labels are manually annotated, which can be observed (Gray color).)</p><p>where we denote Z &#172;z n as the subset of Z that removes statistic z n . In the last row of Eq. ( <ref type="formula">8</ref>), the first term P (z n | v n ) is a categorical distribution of labels for the node v n modeled by f &#952; . We use the term P (Z | V) &#8712; R N &#215;K to denote the same over all the nodes. Note that P (Z | V) &#8712; R N &#215;1 in this paper denotes the predicted labels. Whereas the second term represents the conditional label transition which is obtained from the posterior of the multinomial distribution corresponding to label transition from y n to z n . We use Eq. ( <ref type="formula">8</ref>) to sample the inferred label, z n , which becomes the node v n 's label for retraining f &#952; . Also, &#966; is updated through Bayesian inference in each iteration. Such process is repeated for a given number of epochs with the expectation that subsequent inferred label can approximate to the latent label.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.3">GraphNS Algorithm and Pseudo-code</head><p>The total process of GraphNS is displayed in Fig. <ref type="figure">2</ref>. Given an undirected attribute graph, GraphNS classifies the nodes and generates categorical distribution P (Z | V) &#8712; R N &#215;K at first. After that, GraphNS applies Gibbs sampling to sample the inferred labels</p><p>and updates the label transition matrix &#966; parameterized by &#945;. The information of V is represented by both A and X. Simultaneously, the node classifier is iteratively re-trained to update P (Z | V). The inference will ultimately converge, approximating the inferred labels P (Z | V, Y; &#945;) to the latent labels Z as close as possible. In brief, the goal of GraphNS is to sample the inferred labels by supervising the categorical distribution based on dynamic conditional label transition and ultimately approximates the inferred labels to the latent labels as close as possible. The pseudo-code of GraphNS is shown in Algorithm <ref type="bibr">(1)</ref>. Training: GraphNS trains the node classifier f &#952; on the train graph G train at first (line 1) and then generates categorical distribution P (Z | V) by f &#952; (line 2). Inference: Before the inference, GraphNS first computes a warm-up label transition matrix &#966; by using the prediction over the train graph (line 3) and then defines (creates empty spaces) the inferred labels P (Z | V, Y; &#945;) and the dynamic label transition matrix &#966; based on the test graph G test (line 4). In the warm-up stage of the inference, GraphNS samples z n with the warm-up label transition matrix &#966; (line 7), which is built with the categorical distribution of f &#952; and the noisy labels on the train graph. The categorical distributions of both the train graph and the test graph should have high similarity if both follow a similar distribution. Thus, the warm-up &#966; is a keystone since subsequent inference largely depends on this distribution. After the warm-up stage, GraphNS samples z n with the dynamic &#966; (line 10). This dynamic &#966; updates in every epoch with current sampled z n and corresponding y n &#8712; Y. Simultaneously, the inferred labels P (Z | V, Y; &#945;) is also updated based on the before-mentioned z n whereas the node classifier is iteratively retrained (line 12). The inference will ultimately converge, approximating the inferred labels to the latent labels as close as possible. Note that both the train graph and the test graph contain corresponding symmetric adjacency matrix A, feature matrix X, and noisy labels Y. The categorical distributions of the test graph may change abruptly when this graph is under perturbation since the original distribution in this graph is being perturbed. In this case, GraphNS can also help recover the original categorical distribution by dynamic conditional label transition.</p><p>According to Algorithm (1), GraphNS applies Gibbs sampling via Eq. ( <ref type="formula">8</ref>) inside the F O R loop. The time complexity of the sampling is O(N test &#215; K + K 2 ) since element-wise multiplication only traverses the number of elements in matrices once, where N test denotes the number of nodes in the test graph. In practice, the number of test nodes is far more than the number of classes, i.e., N K . So, the time complexity of this sampling operation is approximately equal to O(N test ). Hence, the time complexity of inference except the first training (line 1) is O(E pochs &#215; N test ), where E pochs is the number of epochs for inference. </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4">Experiments</head><p>In this section, we present and analyze experimental results as follows. At first, we study how different variants of GCNs (spectral and spatial) node classifiers benefit from noisy selfsupervision, under different noise concentrations on the label-scarce graph. Furthermore, we perform investigations on how noisy self-supervision defends node classifiers against adversarial attacks. Finally, we analyze parameters and conduct an ablation study on our model.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.1">Experimental Settings</head><p>Our proposed model is evaluated on six datasets in Table <ref type="table">1</ref>. Cora, Citeseer, and Pubmed are famous citation graph data <ref type="bibr">[33]</ref>. AMZcobuy comes from the photo segment of the Amazon co-purchase graph <ref type="bibr">[17,</ref><ref type="bibr">35]</ref>, where nodes represent the products, whereas edges indicate that two products are frequently bought together. Product reviews are encoded by bag-of-words as the feature. The node label is the product category. Coauthor is co-authorship graphs of computer science based on the Microsoft Academic Graph from the KDD Cup 2016 challenge <ref type="foot">1</ref> . Each Node represents one author. Two nodes are connected if they are co-authors of one paper. The feature represents all paper keywords for this author. The node label is the most active research area for this author. Reddit dataset is constructed by connecting Reddit posts if the same user comments on both posts <ref type="bibr">[14]</ref>. The node label is the community that this post belongs to. For each post, its feature vector includes the embedding of title and comments, score, and the number of comments. For all six datasets, the percentage of train, validation, and test partition comprise 40%, 30%, and 30% of the nodes, respectively. In the training phase, all node classifiers converge within 200 epochs for training. Thus, we set the number of training epochs as 200. To generate noisy labels, we randomly replace the ground-truth label of a node with another label, chosen uniformly. To implement the adversarial attacks, we execute non-targeted node-level direct evasion attacks <ref type="bibr">[61]</ref> on the edges and features (L&amp;F) of the victim nodes, whereas the trained node classifier remains unchanged. The attacker randomly selects 20% of the test nodes as victims. Similar to <ref type="bibr">[53]</ref>, the intensity of perturbation n pert is set to be 2 (for Cora, Citeseer, and Pubmed), 5 (for AMZcobuy and Coauthor), and 10 (for Reddit), respectively. The ratio of n pert between applying on links and applying on features is 1 : 10. For example, the attacker applies 2 perturbations on links and 20 perturbations on features for L&amp;F. The noise ratio nr is 0.1 here. We run each experiment five times and present its mean and standard deviation.</p><p>To evaluate the defending performance, we compare our proposed model against six popular defending methods and present the hyper-parameters below. For reproducibility, we maintain the same denotation for each competing method as the corresponding original paper. The competing models are trained by Adam optimizer with 200 epochs.</p><p>&#8226; AdvTrain <ref type="bibr">[43,</ref><ref type="bibr">53]</ref> assigns pseudo labels to generated adversarial samples and then retrains the node classifier with both noisy labeled nodes and adversarial nodes. To implement this adversarial training method, we first generate the adversarial samples by L&amp;F. The number of adversarial samples is equal to 10% of victim nodes. After that, we add up these generated adversarial samples into the training set and then retrain the node classifier. Finally, we evaluate the defending result of adversarial training by implementing L&amp;F on the victim nodes. The approach of adversarial training can be formulated as follows:</p><p>where Y noisy , Y pseudo are the corresponding labels to compute loss functions, and A , X are perturbed adjacency, feature matrices generated by the attacking algorithm. &#8226; GNN-Jaccard <ref type="bibr">[45]</ref> preprocesses the graph by eliminating suspicious connections, whose Jaccard similarity of node's features is smaller than a given threshold. The similarity threshold for dropping edges is 0.01. The number of hidden units is 16. The dropout rate is 0.5. &#8226; GNN-SVD <ref type="bibr">[8]</ref> proposes another preprocessing approach with low-rank approximation on the perturbed graph to mitigate the negative effects from high-rank attacks, such as Nettack <ref type="bibr">[61]</ref>. The number of singular values and vectors is 15. The number of hidden units is 16. The dropout rate is 0.5.</p><p>&#8226; GRAND <ref type="bibr">[10]</ref> proposes random propagation and consistency regularization strategies to address the issues of over-smoothing and non-robustness of GCNs. We follow the same procedure to tune the hyper-parameters. The optimal hyper-parameters of GRAND in this paper are reported in Table <ref type="table">2</ref>.</p><p>&#8226; SelfGNN <ref type="bibr">[23]</ref> introduces a contrastive self-supervised approach for GCNs that leverages Batch Normalization and requires no explicit negative sampling. The number of units for each layer is 512 and 128, respectively. The dropout rate is 0.2. The learning rate is 1e-4. For the GAT model, the number of heads for each layer is 8 and 1, respectively. &#8226; GMNN <ref type="bibr">[30]</ref> models the joint label distribution with a conditional random field, which can be effectively trained with the variational EM algorithm. We apply RMSprop optimizer on Cora and Citeseer with learning rate lr = 0.05 and alternatively use Adam optimizer on the rest datasets with learning rate lr = 0.01. The decay rate is 5e-4. The number of hidden units is 16. The input dropout rate is 0.5. For the rest of the hyper-parameters, we follow the default settings in the paper <ref type="bibr">[30]</ref>.</p><p>Extra details about reproducibility are described in Appendix.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.2">Node Classification Using GraphNS</head><p>Can node classifiers benefit from noisy self-supervision on the label-scarce graph? In this experiment, we study how node classifiers benefit from noisy self-supervision over two groups of popular methods, spectral methods (GCN <ref type="bibr">[24]</ref>, SGC <ref type="bibr">[44]</ref>) and spatial methods (GraphSAGE <ref type="bibr">[14]</ref>, GAT <ref type="bibr">[41]</ref>), across six public datasets. As presented in Table <ref type="table">3</ref>, we compare the test accuracy of these node classifiers between the original performance Orig. and the performance after noisy self-supervision NS under different noise ratios nr = [0.5, 0.3, 0.1], where the value of noise ratio indicates the fraction of vertices, whose label has been replaced. As seen in Table <ref type="table">3</ref>, as expected, the accuracy increases as the noise ratio decreases. According to the result, all node classifiers benefit from GraphNS, often substantially when the noise ratio is small. However, node classifiers may sometimes be weakened when (1nr) is much lower than the original accuracy in some cases. For example, GraphNS is weakened by using the noisy labels (nr = 0.5) on Citeseer. We argue that GraphNS iteratively updates the predicted labels with the inferred labels, whereas the inferred labels are obtained from Gibbs sampling based on both the updated multinomial distribution and the noisy labels. However, the accuracy of the inferred labels may get worse if (1nr) is much lower than that of the predicted labels. We affirmatively observe that GraphNS can stably achieve superior improvement when (1nr) is not lower than the original accuracy. We also observe that GraphSAGE achieves the best classification performance on Cora, Citeseer, and Pubmed whereas GCN achieves that on AMZcobuy, Coauthor, and Reddit. We argue that the difference is caused by the degree of nodes. Compared to GCN, which applies 1-order polynomial on layer-wise graph convolution, GraphSAGE aggregates features from fixedsize local neighbors of the current node. Such aggregation may lose more information when the degree of nodes increases. That is to say, GCN can outperform GraphSAGE when the graph is denser (higher degrees of nodes).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.3">GraphNS Defends Node Classifiers</head><p>Can noisy self-supervision defend node classifiers from adversarial attacks? We investigate how GraphNS defends node classifiers against Nettack <ref type="bibr">[61]</ref>. In this investigation, we compare the defending performance of GraphNS against the competing methods and visualize the defending results on Cora, Citeseer, and Pubmed as examples.</p><p>In Table <ref type="table">4</ref>, we highlight the best performance for each dataset. All node classifiers originally have comparable performance. After the adversarial attacks, the results explicitly state that GraphNS achieves robust defending results on top of all node classifiers across six public  </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>Pubmed</head><p>Fig. <ref type="figure">3</ref> The confusion matrices (heatmap) of the defending performances on Cora, Citeseer and Pubmed for GraphNS (nr=0.1) (We apply log-scale to the confusion matrix for fine-grained visualization.)</p><p>datasets and also gains superior defense against the competing methods. Such defense recovers the performance after perturbations and even exceeds the original performance in some cases. We argue that edges of citation graphs may not be always coherent, that is probably the reason that in the citation graphs GraphSS sometimes outperforms the original performance. The extent of recovery may sometimes be influenced by the attacking consequence, i.e., GraphNS can retrieve higher accuracy when the node classifier undergoes less degradation. Furthermore, we have several observations on the competing methods. 1) AdvTrain and GRAND are two fragile defending methods. For AdvTrain, more serious perturbations lead to a much weaker recovery, which reveals that simply using adversarial samples is insufficient to obtain a robust classifier. For GRAND, its performance is worse (under Nettack <ref type="bibr">[61]</ref>) than what was reported in <ref type="bibr">[10]</ref> (under Metattack <ref type="bibr">[60]</ref>). One of the reasons for this is that GRAND assumes that the network satisfies homophily property, and if the input network does not satisfy such, it may not work well with GRAND. Nettack simultaneously alters the graph structures and features, which may make the network not satisfy homophily property leading to poor performance by GRAND. We also notice that GRAND is sensitive to the parameter's setting as we spent substantial time tuning the optimal parameters on different datasets. On the contrary, GraphNS does not assume such network property, and it is also easy to tune. 2) GNN-SVD presents lower performance compared to GNN-Jaccard across all datasets because GNN-SVD is designed for targeted attacks rather than non-targeted attacks.</p><p>3) SelfGNN achieves stable performance with a relatively lower standard deviation across all datasets. We argue that leveraging Batch Normalization and feature augmentation may help recover the accuracy from adversarial perturbations. 4) Both GMNN <ref type="bibr">[30]</ref> and Bayesian-GCNN <ref type="bibr">[57]</ref> aim to solve semi-supervised classification problems via Bayesian approaches. We select GMNN as the competing method and examine its defending performance. The results successfully verify its capacity of defense. We also visualize the defending performances for GraphNS (on top of GCN) on Cora, Citeseer, and Pubmed as examples in Fig. <ref type="figure">3</ref>. The first three columns present the predictions before perturbation, after perturbation, and our defending results by GraphNS. The last Fig. <ref type="figure">4</ref> Analysis of the number of warm-up steps W S (blue curve) and the number of retraining epochs Retrain (red curve) for GraphNS inference (nr=0.3) column shows the annotated noisy labels, where nr = 0.1. The visualization clarifies that GraphNS can recover the prediction as close as that before perturbation.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.4">Analysis of Parameters</head><p>In this experiment, we analyze how the number of warm-up steps W S and the number of retraining epochs Retrain affects the accuracy. We select GCN as the node classifier and conduct this analysis on the validation set with nr=0.3. We fix the number of epochs for inference as 100 since our model can achieve the best performance with this range. We then apply grid search to look for the optimal values for the above-mentioned parameters, where W S &#8712; <ref type="bibr">[5,</ref><ref type="bibr">80]</ref> and Retrain &#8712; <ref type="bibr">[20,</ref><ref type="bibr">100]</ref>. The results turn out that W S, Retrain reach the optimum nearby 40, and 60, respectively. To display the trend clearly, we fix one parameter as its optimal value and present another one in a curve. For example, we fix Retrain as 60 and investigate how the validation accuracy changes with different W S in the blue curve. To enlarge the difference, we display these curves separately in Fig. <ref type="figure">4</ref>. We observe that both larger and smaller W S have a negative effect on accuracy. Larger W S means insufficient inference, whereas smaller W S implies inadequate epochs to build the dynamic label transition matrix &#966;. This property also applies to Retrain. Larger Retrain is even harmful to the performance. In this study, we select the aforementioned optimal values for our model.</p><p>Besides the parameters, we also analyze the runtime of GraphNS inference. The second row of Table <ref type="table">5</ref> presents the average runtime of inference with different W S. It's expected that our model has longer runtime on a larger graph. We observe that the standard deviation for each dataset is stable, which indicates that the runtime stays stable no matter how the W S changes. In addition, we also present the runtime per 100 nodes in the third row of Table <ref type="table">5</ref>. The result specifies that this unit runtime maintains stability as the size of the graph increases in most cases, which means that the size of the graph doesn't affect the speed of inference. However, the unit runtime does increase slightly as the graph has denser connections. We argue that the inference gets slower on the denser graph (higher degrees of nodes).  </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.5">Ablation Study</head><p>We conduct an ablation study on top of GCN to illustrate how the label transition matrix &#966; and retraining affect the defending performance of our model architecture under four scenarios. We follow the same procedure as our previous defense experiments and repeat the experiments five times. According to Fig. <ref type="figure">5</ref>, we observe that the accuracy has no change without dynamically updating the transition matrix &#966;. In the last two scenarios (Dynamic &#966;), we notice that retraining the node classifier can help increase the accuracy further. This study reveals that dynamic transition matrix &#966; is a crucial component of GraphNS. Retraining can further promote the robustness of the node classifier with the help of dynamic &#966;.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.6">Limitation, Future Probe, and Community Impact</head><p>The inference of GraphNS significantly depends on the warm-up transition matrix &#966; , which is built with the categorical distribution on the train graph. Such dependence indicates that GraphNS can only handle the evasion attacks at this point. In the future, our model can be improved to defend the poisoning attacks by iteratively updating the noisy labels if necessary. Besides, we could also use auto-generated labels as noisy labels to supervise the categorical distribution, which may be used in the label scarcity scenario for self-training purposes.</p><p>These potential directions could benefit the GCNs community. On the one hand, most existing defending methods don't consider the recovery from the point of node distribution. In this direction, there are still plenty of low-hanging fruits waiting for us. On the other hand, incorporating self-supervision into the defense of GCNs is a promising approach. Our model shows a new alternative path from this perspective.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5">Conclusion</head><p>In this paper, we first generalize noisy supervision as a subset of self-supervised learning methods. This generalization regards the annotated noisy label as one kind of self-information for each node. The robustness of the node classifier can be improved by such self-information. We then propose a new Bayesian graph noisy self-supervision model, namely GraphNS, to accomplish this improvement by supervising the categorical distribution of the latent labels based on dynamic conditional label transition, which follows the Dirichlet distribution. Extensive experiments demonstrate that GraphNS can enhance node classification against both label scarcity and adversarial attacks. This enhancement proves to be generalized over four classic GCNs and is superior to the competing methods across six public graph datasets.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A Implementation</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A.1 Hardware and Software</head><p>All above-mentioned experiments are conducted on the server with the following configurations:</p><p>&#8226; Operating System: Ubuntu 18.04.5 LTS &#8226; CPU: Intel(R) Xeon(R) Gold 6258R CPU @ 2.70 GHz &#8226; GPU: NVIDIA Tesla V100 PCIe 16GB &#8226; Software: Python 3.8, PyTorch 1.7.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A.2 Model Architecture and Hyper-parameters</head><p>The model architecture of GCNs and hyper-parameters are described in Table <ref type="table">6</ref> and<ref type="table">7</ref>, respectively. We assume the Dirichlet distribution in this paper is symmetric and thus fix &#945; as 1.0 (a.k.a. flat Dirichlet distribution). </p></div><note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="1" xml:id="foot_0"><p>https://www.kdd.org/kdd-cup/view/kdd-cup-2016.</p></note>
		</body>
		</text>
</TEI>
