Title: GRAPH NEIGHBORHOOD ATTENTIVE POOLING

Abstract: Network representation learning (NRL) is a powerful technique for learning lowdimensional vector representation of high-dimensional and sparse graphs. Most studies explore the structure and metadata associated with the graph using random walks and employ an unsupervised or semi-supervised learning schemes. Learning in these methods is context-free, because only a single representation per node is learned. Recently studies have argued on the sufficiency of a single representation and proposed a context-sensitive approach that proved to be highly effective in applications such as link prediction and ranking. However, most of these methods rely on additional textual features that require RNNs or CNNs to capture high-level features or rely on a community detection algorithm to identify multiple contexts of a node. In this study, without requiring additional features nor a community detection algorithm, we propose a novel context-sensitive algorithm called GAP that learns to attend on different parts of a node's neighborhood using attentive pooling networks. We show the efficacy of GAP using three real-world datasets on link prediction and node clustering tasks and compare it against 10 popular and state-ofthe-art (SOTA) baselines. GAP consistently outperforms them and achieves up to ≈ 9% and ≈ 20% gain over the best performing methods on link prediction and clustering tasks, respectively.

1. INTRODUCTION:

NRL is a powerful technique to learn representation of a graph. Such a representation gracefully lends itself to a wide variety of network analysis tasks, such as link prediction, node clustering, node classification, recommendation, and so forth.

In most studies, the learning is done in a context-free fashion. That is, the representation of a node characterizes just a single aspect of the node, for instance, the local or global neighborhood of a node. Recently, a complementary line of research has questioned the sufficiency of single representations and considered a context-sensitive approach. Given a node, this approach projects it to different points in a space depending on other contexts it is coupled with. A context node can be sampled from a neighborhood (Tu et al., 2017; Zhang et al., 2018) , random walk (Ying et al., 2018) , and so on. In this study we sample from a node neighborhood (nodes connected by an edge). Thus, in the learning process of our approach a source node's representation changes depending on the target (context) node it is accompanied by. Studies have shown that context-sensitive approaches significantly outperform previous context-free SOTA methods in link-prediction task. A related notion (Peters et al., 2018; Devlin et al., 2018) in NLP has significantly improved SOTA across several NLP tasks.

In this paper we propose GAP (Graph neighborhood attentive pooling), which is inspired by attentive pooling networks (APN) (dos Santos et al., 2016) , originally proposed for solving the problem of pair ranking in NLP. For instance, given a question q, and a set of answers A = {a 1 , . . . , a z }, an APN can be trained to rank the answers in A with respect to q by using a two-way attention mechanism. APN is based on the prevalent deep learning formula for SOTA NLP, that is, embed, encode, attend, predict (Honnibal, 2018) . Given a question-answer pair (q, a i ), the APN model first projects the embedding of the pairs using two separate encoders, and the encoder can be a CNN or LSTM. The projection helps to capture n-gram context information and/or long-term dependencies in the input sequence. Next, a soft-alignment matrix is obtained by a mutual-attention mechanism that transforms these projections using a parameter matrix. Attention vectors are then computed through a column-wise and row-wise pooling operations on the alignment matrix. Finally, the weighted sum of each of the above projections by its respective attention vector is computed to obtain the representations of the question and answer. Each candidate answer a i is then ranked according to its similarity with the question q computed using the representations of q and a i .

Recently, APN have been applied to context-sensitive NRL by Tu et al. (2017) , and the inputs are textual information attached with a pair of incident nodes of edges in a graph. Such information, however, has the added overhead of encoding textual information.

Though we adopt APN in GAP, we capitalize on the graph neighborhood of nodes to avoid the need for textual documents without compromising the quality of the learned representations. Our hypothesis is that one can learn high-quality context-sensitive node representations just by mutually attending to the graph neighborhood of a node and its context node. To achieve this, we naturally assume that the order of nodes in the graph neighborhood of a node is arbitrary. Moreover, we exploit this assumption to simplify the APN model by removing the expensive encode phase.

Akin to textual features in APN, GAP simply uses graph neighborhood of nodes. That is, for every node in the graph we define a graph neighborhood function to build a fixed size neighborhood sequence, which specifies the input of GAP. In the APN model, the encoder phase is usually required to capture high-level features such as n-grams, and long term and order dependencies in textual inputs. As we have no textual features and due to our assumption that there is no ordering in the graph neighborhood of nodes, we can effectively strip off the encoder. The encoder is the expensive part of APN as it involves a RNN or CNN, and hence GAP can be trained faster than APN.

This simple yet empirically fruitful modification of the APN model enables GAP to achieve SOTA performance on link prediction and node clustering tasks using three real world datasets. Furthermore, we have empirically shown that GAP is more than 2 times faster than an APN like NRL algorithm based on text input. In addition, the simplification in GAP does not introduce new hyperparameters other than the usual ones, such as the learning rate and sequence length in APN.

2. APN ARCHITECTURE:

For the sake of being self-contained, here we briefly describe the original APN architecture. We are given a pair of natural language texts (x, y) as input, where x = (w 1 , . . . w X ) and y = (w 1 , . . . , w Y ) are a sequence of words of variable lengths, and each word w i is a sample from a vocabulary V, X = |x|, Y = |y|, and X and Y could be different. The APN's forward execution is shown in Fig. 1(A ) and in the following we describe each component.

Embed: First embedding matrices of x and y are constructed through a lookup operation on an embedding matrix E ∈ R d×|V| of words, where d is the embedding dimension. That is, for both x and y, respectively, embedding matrices X = [w 1 , . . . , w X ] and Y = [w 1 , . . . , w Y ] are constructed by concatenating embeddings w i of each word w i in x and y, the Embed box in Fig. 1(A) .

Encode: Each embedding matrix is then projected using a CNN or BI-LSTM encoder to capture inherent high-level features, the Encode box in Fig. 1(A) . More formally, the embedded texts X ∈ R d×X , Y ∈ R d×Y are projected as X enc = f (X, Θ) and Y enc = f (Y , Θ) where f is the encoder, CNN or BI-LSTM, Θ is the set of parameters of the encoder, and X enc ∈ R c×X and Y enc ∈ R c×Y , where c is the number of filters or hidden features of the CNN and BI-LSTM, respectively.

Attend: In the third step, a parameter matrix P ∈ R c×c is introduced so as to learn a similarity or soft-alignment matrix A ∈ R X×Y between the sequence projections X enc and Y enc as:

A = tanh(X T enc P Y enc )

Then unnormalized attention weight vectors x ∈ R X and y ∈ R Y are obtained through a column-wise and row-wise max-pooling operations on A, respectively as x i = max(A i,: ), y j = max(A :,j ), where 0 ≤ i < X, 0 ≤ j < Y and A i,: and A :,j are the i-th and j-th row and column of A, respectively. Next, the attention vectors are normalized using softmax, x = softmax(x ) Predict: In the last step, the representations r x and r y will be used for ranking depending on the task on hand. For instance, in a question and answer setting, each candidate answer's representation r y will be ranked based on its similarity score with the question's representation r x .

3. GAP:

GAP adopts the APN model for learning the representations of node pairs in a graph G = (V, E) with a set of n nodes V and m edges E. G can be a directed or undirected and weighted or unweighted graph. Without loss of generality we assume that G is an unweighted directed graph.

We define a neighborhood function

N : V → 2 V , which maps each node u ∈ V to a set of nodes N u ⊆ V . A simple way of materializing N u is to consider the first-order neighbors of u, that is, N u = [v : (u, v) ∈ E ∨ (v, u) ∈ E].

An important assumption that we have on N u is that the ordering of the nodes in N u is not important. GAP capitalizes on this assumption to simplify the APN model and achieve SOTA performance. Even though one can explore more sophisticated neighborhood functions, in this study we simply consider the first order neighborhood.

Our goal is to learn node representations using the simplified APN based on the node neighborhood function N . Hence, akin to the input text pairs in APN, we consider a pair of neighborhood sequences Thus, the next step of GAP is mutually attending on the embeddings, S and T , of the graph neighborhood of the node pairs; the Attend box of 1(B). That is, we employ the trainable parameter matrix P ∈ R d×d and compute the soft-alignment matrix, A, between the neighbors of s and t.

N s = (u 1 , . . . , u S ) and N t = (v 1 , . . . , v T )

A = tanh(S T P T ) (1)

Here A is a soft-alignment matrix between every pair of nodes, (u, v) ∈ N s × N t . Therefore, for each axis of A, we proceed by pooling the maximum alignment score for each node to obtain the unnormalized attention vectors s i = max(A i,: ) and t j = max(A :,j ). As a result of the pooling operations, each neighbor u ∈ N s of the source node, s, selects a neighbor v ∈ N t of the target node, t, with the maximum alignment or similarity score. A similar selection is done for v ∈ N t . This enables the source and target neighborhood sequences of the pair to influence each other in order to learn a context-sensitive representation of s and t. The normalized attention vectors are then obtained by applying softmax as s = softmax(s ) and t = softmax(t ). Ultimately, we compute the context-sensitive representations r s and r t of the source and target nodes s and t, respectively as r s = S • s T and r t = T • t T .

Optimization::

The objective of GAP is to maximize the likelihood of the graph (edges) by predicting edge similarities using the dot product of the source and target representations as r s • r t ; the Predict box of Fig 1 (B) . Hence, we employ a hard-margin loss given in Eq. 2.

EQUATION

where r - t is the representation of a negative target node t -, that is (s, t -) / ∈ E. The goal is to learn, in an unsupervised fashion, a context-sensitive embedding of nodes that enable us to rank the positive edges (s, t) ∈ E higher than the negative pairs (s, t -).

Finally a word on the computational complexity of GAP that is proportional to the the number of edges, as we are considering each edge as an input pair.

4. EXPERIMENTAL EVALUATION:

In this section we provide an empirical evaluation of GAP. To this end, experiments are carried out using the following datasets, and a basic summary is given in The first two datasets have features (documents) associated to nodes. For Cora, abstract of papers and Zhihu user posts. Some of the baselines, discussed beneath, require textual information, and hence they consume the aforementioned features. The Email dataset has ground-truth community assignment for nodes based on a person's affiliation to one of the 42 departments.

We compare our method against the following 10 popular and SOTA baselines grouped as:

• 2017), DMTE Zhang et al. (2018) We are aware of another SOTA context-sensitive algorithm (Epasto & Perozzi, 2019) that do not require textual information, however we have not included it in our experiments because the source code is not available.1 Now we report the experimental results carried out in two tasks, which are link prediction and node clustering. All experiments are performed using a 24-Core CPU and 125GB RAM Ubuntu 18.04 machine.

4.1. LINK PREDICTION:

Link prediction is an important task that graph embedding algorithms are applied to. Particularly context-sensitive embedding techniques have proved to be well suited for this task. Similar to existing studies we perform this experiment using a fraction of the edges as a training set. We hold out the remaining fraction of the edges from the training phase and we will only reveal them during the test phase, results are reported using this set. All hyper-parameter tuning is performed by taking a small fraction of the training set as a validation set.

Setup: In-line with existing techniques (Tu et al., 2017; Zhang et al., 2018) , the percentage of training edges ranges from 15% to 95% by a step of 10. The hyper-parameters of all algorithms are tuned using random-search. For some of the baselines, our results are consistent with what is reported in previous studies, and hence for Cora and Zhihu we simply report these results.

Except the "unavoidable" hyper-parameters (eg. learning rate, regularization/dropout rate) that are common in all the algorithms, our model has just one hyper-parameter which is the neighborhood sequence length (#Neighborhood = S = T ), for nodes with smaller neighborhood size we use zero padding. As we shall verify later, GAP is not significantly affected by the choice of this parameter.

The quality of the prediction task is measured using the AUC score. AUC indicates the probability that a randomly selected pair (u, w) / ∈ E will have a higher similarity score than an edge (u, v) ∈ E. Similarity between a pair of nodes is computed as the dot product of their representation. For all the algorithms the representation size -d is 200 and GAP's configuration is shown in Table 2 .

Results::

The results of the empirical evaluations on the Cora, Zhihu, and Email datasets are reported in Tables 3, 4 , and 5. GAP outperforms the SOTA baselines in all cases for Zhihu and Email, and in almost all cases for Cora. One can see that as we increase the percentage of training edges, performance increases for all the algorithms. As indicated by the "Gain" row, GAP achieves up to 9% improvement over SOTA context-sensitive techniques. 

4.2. NODE CLUSTERING:

Nodes in a network has the tendency to form cohesive structures based on some kinds of shared aspects. These structures are usually referred to as groups, clusters or communities and identifying them is an important task in network analysis. In this section we use the Email dataset that has ground truth communities, and there are 42 of them. Since this dataset has only structural information, we have excluded the baselines that require textual information. Setup: Since each node belongs to exactly one cluster, we employ the Spectral Clustering algorithm to identify clusters. The learned representations of nodes by a certain algorithm are the input features of the clustering algorithm. In this experiment the percentage of training edges varies from 25% to 95% by a step of 20%, for the rest we use the same configuration as in the above experiment.

Given the ground truth community assignment y of nodes and the predicted community assignments ŷ, usually the agreement between y and ŷ are measured using mutual information I(y, ŷ). However, I is not bounded and difficult for comparing methods, hence we use two other variants of I (Vinh et al., 2010) . Which are, the normalized mutual information N M I(y, ŷ), which simply normalizes I and adjusted mutual information AM I(y, ŷ), which adjusts or normalizes I to random chances.

The results of this experiment are reported in Table 6 , and GAP significantly outperforms all the baselines by up to 20% with respect to AMI score. Consistent to our previous experiment GAP performs well in both extremes for the value of the percentage of the training edges. Similar improvements are achieved for AMI score.

4.3. PARAMETER SENSITIVITY ANALYSIS:

Here we first show the sensitivity of the main hyper-parameter of GAP, which is the size of the neighborhood, #Neighborhood = S = T . Figures 2 and 3 Next, we analyze the run time of training GAP and our goal is to show the benefit of removing the encoder of APN and we do this by comparing GAP against CANE, which employs the exact APN ar-q q q q q 0.575 

5. RELATED WORK:

NRL is usually carried out by exploring the structure of the graph and meta data, such as node attributes, attached to the graph (Perozzi et al., 2014; Grover & Leskovec, 2016; Tang et al., 2015; Perozzi et al., 2016; Wang et al., 2016; Yang et al., 2015; Pan et al., 2016; Sheikh et al., 2019) .

Random walks are widely used to explore local/global neighborhood structures, which are then fed into a learning algorithm. The learning is carried out in unsupervised manner by maximizing the likelihood of observing the neighbor nodes and/or attributes of a center node.

Recently graph convolutional networks have also been proposed for semi-supervised network analysis tasks (Kipf & Welling, 2017; Hamilton et al., 2017; Wu et al., 2019; Velickovic et al., 2017; Abu-El-Haija et al., 2019) . These algorithms work by way of aggregating neighborhood features, with a down-stream objective based on partial labels of nodes, for example. All these methods are essentially different from our approach because they are context-free.

Context-sensitive learning is another paradigm to NRL that challenges the sufficiency of a single representation of a node for applications such as, link prediction, product recommendation, ranking. While some of these methods (Tu et al., 2017; Zhang et al., 2018) rely on textual information, others have also shown that a similar goal can be achieved using just the structure of the graph (Epasto & Perozzi, 2019) . However, they require an extra step of persona decomposition that is based on microscopic level community detection algorithms to identify multiple contexts of a node. Unlike the first approaches our algorithm does not require extra textual information and with respect to the second ones our approach does not require any sort of community detection algorithm.

6. CONCLUSION:

In this study we present a novel context-sensitive graph embedding algorithm called GAP. It consumes node neighborhood as input feature, which are constructed based on an important assumption that their ordering is arbitrary. To learn representations of nodes GAP employs attentive pooling networks (APN). By exploiting the above assumption, it makes an important simplification of APN and gains more than 2X speed up over another SOTA method, which employs the exact APN. Furthermore, GAP consistently outperforms all the baselines and achieves up to ≈ 9% and ≈ 20% improvement over the best performing ones on the link prediction and node clustering tasks, respectively. In future we will investigate how node attributes can be incorporated and provide a theoretical framework on the relation between the neighborhood sampling and topological properties.

1. First we assume order is important in the neighborhood of nodes based on neighbors similarity with the current node. We use a topological feature to induce order, which is common neighbors. This baseline is referred to as GAPCN and uses the exact APN model to capture "order".

2. Second, we use the same input as in GAP, but nodes' neighborhood is now randomly permuted and fed multiple times (concretely 5 times), and the exact APN model is employed; this baseline is referred to as GAPAPN 3. Finally we replace GAP's Attend component with a standard feed-forward neural network that consumes the same input (Embedding matrices S and T) and also has the same learning objective specified in Eq. 2; the baseline is referred to as GAPMLP.

In Table 7 we report the results of the ablation experiment. This sheds some light on the assumptions and the design choices of GAP. For the reported results, GAPCN and GAPAPN use a CNN Encoder.

In both cases, they quickly over-fit the data, and we found out that we have to employ aggressive regularization using a dropout rate of 0.95. In addition, for GAPCN we have also observed that as we increase the kernel size to greater values than 1 (up to 5) the results keep getting worse, and hence, what we reported is the best one which is obtained using a kernel size of 1. For example, with a kernel size of 3 and training ratios of 25, 55, 75, and 95 percent the AUC scores respectively dropped to 54, 55, 56, and 58 percent on the Cora dataset, and 66, 69, 78 and 77 percent on the Email dataset. We conjecture that this is due the model's attempt to enforce high-level neighborhood patterns (eg. a combination of arbitrary neighbors) that are not intrinsically governing the underlying edge formation phenomena. Rather, what is important is to effectively pay attention to the presence of individual neighbors both in N s and N t regardless of their order. Apparently, training this model is at least twice slower than GAP as it is also illustrated in Section 4.3.

In the case of GAPAPN, though the variations in AUC are marginal with respect to the change in the kernel size, the training time of these model has increased almost by an order of magnitude.

Finally we see that the mutual attention mechanism (Attend component) plays an important role by comparing the results between the GAPMLP and GAP.

:

We have contacted the authors and have been told that the code is not ready for release

Figures and Tables:

Figure 1: The APN (A) and GAP (B) models forward execution for question answering and contextsensitive node representation, respectively.

Structure based methods: DEEPWALK Perozzi et al. (2014), NODE2VEC Grover & Leskovec (2016), WALKLETS Perozzi et al. (2016), ATTENTIVEWALK Abu-El-Haija et al. (2017), LINE Tang et al. (2015): • Structure and attribute based methods: TRIDNR Pan et al. (2016), TADW Yang et al. (2015), CENE Sun et al. (2016) • Context-sensitive: CANE Tu et al. (

Figure 2: Sensitivity of GAP to the size of node's neighborhood (S, T ) on the link prediction task

(A) show the effects of this parameter both on link prediction and node clustering tasks. In both cases we notice that GAP is not significantly affected by the change of values. We show the effect across different values of percentage and fixed (55%) of training edges for link prediction and node clustering tasks, respectively. Regardless of the percentage of training edges, we only see a small change of AUC (Fig 2), and NMI and AMI (Fig 3-a) across different values of #Neighborhood.

Figure 3: (a) Sensitivity of GAP to the size of node's neighborhood on the node clustering task and (b) the run time comparison of GAP and CANE using two real and two synthetic datasets

Summary of datasets, the Features column is relevant to some of the baselines not GAP Given a source node s, we seek to learn multiple context-sensitive embeddings of s with respect to a target node t it is paired with. In principle one can learn using all pairs of nodes, however that is not scalable, and hence we restrict learning between pairs in E.GAP's forward execution model is shown in Fig 1(B), and learning starts by embedding N s and N t , respectively, as S = (u 1 , . . . , u S ) and T = (v 1 , . . . , v T ). Since there is no order dependency between the nodes in N s or N t , besides being a neighbor of the respective node, we leave out the CNN or BI-LSTM based projections of S and T that could capture the dependencies. No encoder!

Table content: <table><tr><td colspan="4">Dataset #Nodes #Edges Features</td></tr><tr><td>Cora</td><td>2277</td><td>5214</td><td>Paper Abstract</td></tr><tr><td>Zhihu</td><td>10000</td><td>43894</td><td>User post</td></tr><tr><td>Email</td><td>1005</td><td>25571</td><td>NA</td></tr></table>

1. CoraTu et al. (2017);Zhang et al. (2018): is a citation network dataset, where a node represents a paper and an edge (u, v) ∈ E represents that paper u has cited paper v. 2. ZhihuTu et al. (2017);Zhang et al. (2018): is the biggest social network for Q&A and it is based in China. Nodes are the users and the edges are follower relations between the users. 3. EmailLeskovec et al. (2007): is an email communication network between the largest European research institutes.

Table content: <table><tr><td colspan="5">Dataset #Neighborhood (S and T ) Dropout Learning rate Representation size</td></tr><tr><td>Cora</td><td>100</td><td>0.5</td><td>0.0001</td><td>200</td></tr><tr><td>Zhihu</td><td>250</td><td>0.65</td><td>0.0001</td><td>200</td></tr><tr><td>Email</td><td>100</td><td>0.8</td><td>0.0001</td><td>200</td></tr></table>

Conifguration of GAP

Table content: <table/>

Notably the gain is pronounced for AUC score for link prediction on the Cora dataset

Table content: <table><tr><td>Algorithm</td><td colspan="9">% of training edges 15% 25% 35% 45% 55% 65% 75% 85% 95%</td></tr><tr><td>DEEPWALK</td><td>56.0</td><td>63.0</td><td>70.2</td><td>75.5</td><td>80.1</td><td>85.2</td><td>85.3</td><td colspan="2">87.8 90.3</td></tr><tr><td>LINE</td><td>55.0</td><td>58.6</td><td>66.4</td><td>73.0</td><td>77.6</td><td>82.8</td><td>85.6</td><td colspan="2">88.4 89.3</td></tr><tr><td>NODE2VEC</td><td>55.9</td><td>62.4</td><td>66.1</td><td>75.0</td><td>78.7</td><td>81.6</td><td>85.9</td><td colspan="2">87.3 88.2</td></tr><tr><td>WALKLETS</td><td>69.8</td><td>77.3</td><td>82.8</td><td>85.0</td><td>86.6</td><td>90.4</td><td>90.9</td><td colspan="2">92.0 93.3</td></tr><tr><td colspan="2">ATTENTIVEWALK 64.2</td><td>76.7</td><td>81.0</td><td>83.0</td><td>87.1</td><td>88.2</td><td>91.4</td><td colspan="2">92.4 93.0</td></tr><tr><td>TADW</td><td>86.6</td><td>88.2</td><td>90.2</td><td>90.8</td><td>90.0</td><td>93.0</td><td>91.0</td><td colspan="2">93.0 92.7</td></tr><tr><td>TRIDNR</td><td>85.9</td><td>88.6</td><td>90.5</td><td>91.2</td><td>91.3</td><td>92.4</td><td>93.0</td><td/><td>93.7</td></tr><tr><td>CENE</td><td>72.1</td><td>86.5</td><td>84.6</td><td>88.1</td><td>89.4</td><td>89.2</td><td>93.9</td><td colspan="2">95.0 95.9</td></tr><tr><td>CANE</td><td>86.8</td><td>91.5</td><td>92.2</td><td>93.9</td><td>94.6</td><td>94.9</td><td>95.6</td><td colspan="2">96.6 97.7</td></tr><tr><td>DMTE</td><td>91.3</td><td>93.1</td><td>93.7</td><td>95.0</td><td>96.0</td><td>97.1</td><td>97.4</td><td colspan="2">98.2 98.8</td></tr><tr><td>GAP</td><td>95.8</td><td>96.4</td><td>97.1</td><td>97.6</td><td>97.6</td><td>97.6</td><td>97.8</td><td colspan="2">98.0 98.2</td></tr><tr><td>GAIN%</td><td colspan="7">4.5% 3.6% 3.4% 2.6% 1.6% 0.5% 0.4%</td><td/><td/></tr><tr><td>Algorithm</td><td colspan="9">%of training edges 15% 25% 35% 45% 55% 65% 75% 85% 95%</td></tr><tr><td>DEEPWALK</td><td>56.6</td><td>58.1</td><td>60.1</td><td>60.0</td><td>61.8</td><td>61.9</td><td>63.3</td><td>63.7</td><td>67.8</td></tr><tr><td>LINE</td><td>52.3</td><td>55.9</td><td>59.9</td><td>60.9</td><td>64.3</td><td>66.0</td><td>67.7</td><td>69.3</td><td>71.1</td></tr><tr><td>NODE2VEC</td><td>54.2</td><td>57.1</td><td>57.3</td><td>58.3</td><td>58.7</td><td>62.5</td><td>66.2</td><td>67.6</td><td>68.5</td></tr><tr><td>WALKLETS</td><td>50.7</td><td>51.7</td><td>52.6</td><td>54.2</td><td>55.5</td><td>57.0</td><td>57.9</td><td>58.2</td><td>58.1</td></tr><tr><td colspan="2">ATTENTIVEWALK 69.4</td><td>68.0</td><td>74.0</td><td>75.9</td><td>76.4</td><td>74.5</td><td>74.7</td><td>71.7</td><td>66.8</td></tr><tr><td>TADW</td><td>52.3</td><td>54.2</td><td>55.6</td><td>57.3</td><td>60.8</td><td>62.4</td><td>65.2</td><td>63.8</td><td>69.0</td></tr><tr><td>TRIDNR</td><td>53.8</td><td>55.7</td><td>57.9</td><td>59.5</td><td>63.0</td><td>64.2</td><td>66.0</td><td>67.5</td><td>70.3</td></tr><tr><td>CENE</td><td>56.2</td><td>57.4</td><td>60.3</td><td>63.0</td><td>66.3</td><td>66.0</td><td>70.2</td><td>69.8</td><td>73.8</td></tr><tr><td>CANE</td><td>56.8</td><td>59.3</td><td>62.9</td><td>64.5</td><td>68.9</td><td>70.4</td><td>71.4</td><td>73.6</td><td>75.4</td></tr><tr><td>DMTE</td><td>58.4</td><td>63.2</td><td>67.5</td><td>71.6</td><td>74.0</td><td>76.7</td><td>78.7</td><td>80.3</td><td>82.2</td></tr><tr><td>GAP</td><td>72.6</td><td>77.9</td><td>81.2</td><td>80.8</td><td>81.4</td><td>81.8</td><td>82.0</td><td>83.7</td><td>86.3</td></tr><tr><td>GAIN%</td><td colspan="9">3.2% 9.9% 7.2% 5.1% 5.0% 5.1% 3.3% 3.4% 4.1%</td></tr></table>

AUC score for link prediction on the Zhihu dataset

Table content: <table><tr><td>Algorithm</td><td colspan="9">%of training edges 15% 25% 35% 45% 55% 65% 75% 85% 95%</td></tr><tr><td>DEEPWALK</td><td>69.2</td><td>71.4</td><td>74.1</td><td>74.7</td><td>76.6</td><td>76.1</td><td>78.7</td><td>75.7</td><td>79.0</td></tr><tr><td>LINE</td><td>65.6</td><td>71.5</td><td>73.8</td><td>76.0</td><td>76.7</td><td>77.8</td><td>78.5</td><td>77.9</td><td>78.8</td></tr><tr><td>NODE2VEC</td><td>66.4</td><td>68.6</td><td>71.2</td><td>71.7</td><td>72.7</td><td>74.0</td><td>74.5</td><td>74.4</td><td>76.1</td></tr><tr><td>WALKLETS</td><td>70.3</td><td>73.2</td><td>75.2</td><td>78.7</td><td>78.2</td><td>78.1</td><td>78.9</td><td>80.0</td><td>78.5</td></tr><tr><td colspan="2">ATTENTIVEWALK 68.8</td><td>72.5</td><td>73.5</td><td>75.2</td><td>74.1</td><td>74.9</td><td>73.0</td><td>70.3</td><td>68.6</td></tr><tr><td>GAP</td><td>77.6</td><td>81.6</td><td>81.9</td><td>83.3</td><td>83.1</td><td>84.1</td><td>84.5</td><td>84.8</td><td>84.8</td></tr><tr><td>GAIN%</td><td colspan="9">7.3% 8.4% 6.7% 4.6% 4.9% 6.0% 5.6% 4.8% 5.8%</td></tr></table>

AUC score for link prediction on the Email dataset smaller values of percentage of edges used for training. This is shows that GAP is suitable both in cases where there are several missing links and most of the links are present.

Table content: <table/>

NMI and AMI scores for node clustering experiment on the Email dataset. The Gain is with respect to the NMI only.

Table content: <table><tr><td/><td/><td/><td/><td colspan="3">%of training edges</td><td/><td/></tr><tr><td>Algorithm</td><td colspan="2">25%</td><td colspan="2">55%</td><td colspan="2">75%</td><td colspan="2">95%</td></tr><tr><td/><td colspan="8">NMI AMI NMI AMI NMI AMI NMI AMI</td></tr><tr><td>DEEPWALK</td><td>41.3</td><td>28.6</td><td>53.6</td><td>44.8</td><td>50.6</td><td>42.4</td><td>57.6</td><td>49.9</td></tr><tr><td>LINE</td><td>44.0</td><td>30.3</td><td>49.9</td><td>38.2</td><td>53.3</td><td>42.6</td><td>56.3</td><td>46.5</td></tr><tr><td>NODE2VEC</td><td>46.6</td><td>35.3</td><td>45.9</td><td>35.3</td><td>47.8</td><td>38.5</td><td>53.8</td><td>45.5</td></tr><tr><td>WALKLETS</td><td>47.5</td><td>39.9</td><td>55.3</td><td>47.4</td><td>54.0</td><td>45.4</td><td>50.1</td><td>41.6</td></tr><tr><td colspan="2">ATTENTIVEWALK 42.9</td><td>30.0</td><td>45.7</td><td>36.5</td><td>44.3</td><td>35.7</td><td>47.4</td><td>38.5</td></tr><tr><td>GAP</td><td>67.8</td><td>58.8</td><td>64.7</td><td>55.7</td><td>65.6</td><td>57.6</td><td>65.4</td><td>58.7</td></tr><tr><td>%Gain</td><td colspan="2">20.3%</td><td colspan="2">9.4%</td><td colspan="2">11.0%</td><td colspan="2">7.8%</td></tr></table>

Peer review (iclr2020):
This paper proposed a GAP (graph neighborhood attentive pooling) method to solve problems of node clustering and link prediction. The proposed idea is mostly inspired by the attentive pooling network approach (APN) that has been widely used in the NLP domains; indeed the detailed steps of the proposed method is almost a ``mirror” application of APN from question-answer pair ranking in NLP to the graph domains, and the only difference is that rather than using an RNN or LSTM to deal with the temporal orders in sentences (as in APN), the proposed method simply collect the first-order neighbors of the source node and target node and concatenate them without considering their orders. For the rest part, the authors used a hard margin loss function which is also the same as in APN. The proposed method is very similar to the APN method and so its novelty is limited. Another concern is that although graph nodes do not have temporal orders as in word sentences, their relative connections manifested through the edges are important topological information that should be captured in contextualize a node. Unfortunately the authors almost totally ignored this information. The ignorance of the node orders appear to me not an advantage but instead a limitation, though it makes the computation and implementation much easier. The graph attention network (GAT) is a very related method but I see no comparison with it in node clustering tasks. Also many recent methods on graph convolutional networks are not incorporated for comparison. Based on the concerns of novelty, lack of considering node topologies, and lack of comparison with strongly related methods, it is hard to recommend acceptance of this paper.