Title: GNN-FILM: GRAPH NEURAL NETWORKS WITH FEATURE-WISE LINEAR MODULATION

Abstract: This paper presents a new Graph Neural Network (GNN) type using feature-wise linear modulation (FiLM). Many standard GNN variants propagate information along the edges of a graph by computing "messages" based only on the representation of the source of each edge. In GNN-FiLM, the representation of the target node of an edge is additionally used to compute a transformation that can be applied to all incoming messages, allowing feature-wise modulation of the passed information.
Results of experiments comparing different GNN architectures on three tasks from the literature are presented, based on re-implementations of baseline methods. Hyperparameters for all methods were found using extensive search, yielding somewhat surprising results: differences between baseline models are smaller than reported in the literature. Nonetheless, GNN-FiLM outperforms baseline methods on a regression task on molecular graphs and performs competitively on other tasks.

1. INTRODUCTION:

Learning from graph-structured data has seen explosive growth over the last few years, as graphs are a convenient formalism to model the broad class of data that has objects (treated as vertices) with some known relationships (treated as edges). Example usages include reasoning about physical and biological systems, knowledge bases, computer programs, and relational reasoning in computer vision tasks. This graph construction is a highly complex form of feature engineering, mapping the knowledge of a domain expert into a graph structure which can be consumed and exploited by high-capacity neural network models.

Many neural graph learning methods can be summarised as neural message passing (Gilmer et al., 2017) : nodes are initialised with some representation and then exchange information by transforming their current state (in practice with a single linear layer) and sending it as a message to all neighbours in the graph. At each node, messages are aggregated in some way and then used to update the associated node representation. In this setting, the message is entirely determined by the source node (and potentially the edge type) and the target node is not taken into consideration. A (partial) exception to this is the family of Graph Attention Networks (Veličković et al., 2018) , where the agreement between source and target representation of an edge is used to determine the weight of the message in an attention architecture. However, this weight is applied to all dimensions of the message at the same time.

A simple consequence of this observation may be to simply compute messages from the pair of source and target node state. However, the linear layer commonly used to compute messages would only allow additive interactions between the representations of source and target nodes. More complex transformation functions are often impractical, as computation in GNN implementations is dominated by the message transformation function.

However, this need for non-trivial interaction between different information sources is a common problem in neural network design. A recent trend has been the use of hypernetworks (Ha et al., 2017) , neural networks that compute the weights of other networks. In this setting, interaction between two signal sources is achieved by using one of them as the input to a hypernetwork and the other as input to the computed network. While an intellectually pleasing approach, it is often impractical because the prediction of weights of non-trivial neural networks is computationally expensive.

Approaches to mitigate this exist (e.g., Wu et al. (2019) handle this in natural language processing), but are often domain-specific.

A more general mitigation method is to restrict the structure of the computed network. Recently, "feature-wise linear modulations" (FiLM) were introduced in the visual question answering domain (Perez et al., 2017) . Here, the hypernetwork is fed with an encoding of a question and produces an element-wise affine function that is applied to the features extracted from a picture. This can be adapted to the graph message passing domain by using the representation of the target node to compute the affine function. This compromise between expressiveness and computational feasibility has been very effective in some domains and the results presented in this article indicate that it is also a good fit for the graph domain.

This article explores the use of hypernetworks in learning on graphs. Sect. 2 first reviews existing GNN models from the related work to identify commonalities and differences. This involves generalising a number of existing formalisms to new formulations that are able to handle graphs with different types of edges, which are often used to model different relationship between vertices. Then, two new formalisms are introduced: Relational Graph Dynamic Convolutional Networks (RGDCN), which dynamically compute the neural message passing function as a linear layer, and Graph Neural Networks with Feature-wise Linear Modulation (GNN-FiLM), which combine learned message passing functions with dynamically computed element-wise affine transformations. In Sect. 3, a range of baselines are compared in extensive experiments on three tasks from the literature, spanning classification, regression and ranking tasks on small and large graphs. Experiments were performed on re-implementations of existing model architectures in the same framework and hyperparameter setting searches were performed with the same computational budgets across all architectures. The results show that differences between baselines are smaller than the literature suggests and that the new FiLM model performs well on a number of interesting tasks.

2. MODEL:

Notation. Let L be a finite (usually small) set of edge types. Then, a directed graph G = (V, E) has nodes V and typed edges E ⊆ V × L × V, where (u, , v) ∈ E denotes an edge from node u to node v of type , usually written as u → v.

Graph Neural Networks. As discussed above, Graph Neural Networks operate by propagating information along the edges of a given graph. Concretely, each node v is associated with an initial representation h (0) v (for example obtained from the label of that node, or by some other model component). Then, a GNN layer updates the node representations using the node representations of its neighbours in the graph, yielding representations h (1) v . This process can be unrolled through time by repeatedly applying the same update function, yielding representations h (2) v . . . h (T ) v . Alternatively, several GNN layers can be stacked, which is intuitively similar to unrolling through time, but increases the GNN capacity by using different parameters for each timestep.

In Gated Graph Neural Networks (GGNN) (Li et al., 2016) , the update rule uses one linear layer W per edge type to compute messages and combines the aggregated messages with the current representation of a node using a recurrent unit r (e.g., GRU or LSTM cells), yielding the following definition.

h (t+1) v = r h (t) v , u →v∈E W h (t) u ; θ r (1)

The learnable parameters of the model are the edge-type-dependent weights W and the recurrent cell parameters θ r .

In Relational Graph Convolutional Networks (R-GCN) (Schlichtkrull et al., 2018) , the gated unit is replaced by a simple non-linearity σ (e.g., the hyperbolic tangent).

h (t+1) v = σ u →v∈E 1 c v, • W h (t) u (2)

Here, c v, is a normalisation factor usually set to the number of edges of type ending in v. The learnable parameters of the model are the edge-type-dependent weights W . It is important to note that in this setting, the edge type set L is assumed to contain a special edge type 0 for self-loops v 0 → v, allowing state associated with a node to be kept.

In Graph Attention Networks (GAT) (Veličković et al., 2018) , new node representations are computed from a weighted sum of neighbouring node representations. The model can be generalised from the original definitional to support different edge types as follows (we will call this R-GAT below).1 

e u, ,v = LeakyReLU(α • (W h (t) u W h (t) v )) a v = softmax(e u, ,v | u → v ∈ E) h (t+1) v = σ u →v∈E (a v ) u →v • W h (t) u (3)

Here, α is a learnable row vector used to weigh different feature dimensions in the computation of an attention ("relevance") score of the node representations, x y is the concatenation of vectors x and y, and (a v ) u →v refers to the weight computed by the softmax for that edge. The learnable parameters of the model are the edge-type-dependent weights W and the attention parameters α . In practice, GATs usually employ several attention heads that independently implement the mechanism above in parallel, using separate learnable parameters. The results of the different attention heads are then concatenated after each propagation round to yield the value of h (t+1) v .

More recently, Xu et al. (2019) analysed the expressiveness of different GNN types, comparing their ability to distinguish similar graphs with the Weisfeiler-Lehman (WL) graph isomorphism test. Their results show that GCNs and the GraphSAGE model Hamilton et al. (2017) are strictly weaker than the WL test and hence they developed Graph Isomorphism Networks (GIN) (Xu et al., 2019) , which are indeed as powerful as the WL test. While the GIN definition is limited to a single edge type, Corollary 6 of Xu et al. (2019) shows that using the definition

h (t+1) v = ϕ (1 + ) • f (h (t) v ) + u→v∈E f (h (t) u ) ,

there are choices for , ϕ and f such that the node representation update is sufficient for the overall network to be as powerful as the WL test. In the setting of different edge types, the function f in the sum over neighbouring nodes needs to reflect different edge types to distinguish graphs such as v 1 → u 2 ← w and v 2 → u 1 ← w from each other. Using different functions f for different edge types makes it possible to unify the use of the current node representation h (t) v with the use of neighbouring node representations by again using a fresh edge type 0 for self-loops v 0 → v. In that setting, the factor (1 + ) can be integrated into f 0 . Finally, following an argument similar to Xu et al. (2019) , ϕ and f at subsequent layers can be "merged" into a single function which can be approximated by a multilayer perceptron (MLP), yielding the final R-GIN definition

EQUATION

The learnable parameters here are the edge-specific weights θ . Note that Eq. ( 4) is very similar to the definition of R-GCNs (Eq. ( 2)), only dropping the normalisation factor 1 c v, and replacing linear layers by an MLP.

While many more GNN variants exist, the four formalisms above are broadly representative of general trends. It is notable that in all of these models, the information passed from one node to another is based on the learned weights and the representation of the source of an edge. In contrast, the representation of the target of an edge is only updated (in the GGNN case Eq. (1)), treated as another incoming message (in the R-GCN case Eq. (2) and the R-GIN case Eq. ( 4)), or used to weight the relevance of an edge (in the R-GAT case Eq. (3)). Sometimes unnamed GNN variants of the above are used (e.g., by Selsam et al. (2019) ; Paliwal et al. (2019) ), replacing the linear layers to compute the messages for each edge by MLPs applied to the concatenation of the representations of source and target nodes. In the experiments, this will be called GNN-MLP, formally defined as follows.2 

EQUATION

Below, we will instantiate the M LP with a single linear layer to obtain what we call GNN-MLP0, which only differs from R-GCNs (Eq. ( 2)) in that the message passing function is applied to the concatenation of source and target state.

2.1. GRAPH HYPERNETWORKS:

Hypernetworks (i.e., neural networks computing the parameters of another neural network) (Ha et al., 2017) have been successfully applied to a number of different tasks; naturally raising the question if they are also applicable in the graph domain.

Intuitively, a hypernetwork corresponds to a higher-order function, i.e., it can be viewed as a function computing another function. Hence, a natural idea would be to use the target of a message propagation step to compute the function computing the message; essentially allowing it to focus on features that are especially relevant for the update of the target node representation.

Relational Graph Dynamic Convolutional Networks (RGDCN) A first attempt would be to adapt (2) to replace the learnable message transformation W by the result of some learnable function f that operates on the target representation:

h (t+1) v = σ u →v∈E f (h (t) v ; θ f, )h (t) u

However, for a representation size D, f would need to produce a matrix of size D 2 from D inputs. Hence, if implemented as a simple linear layer, f would have on the order of O(D 3 ) parameters, quickly making it impractical in most contexts.

This can be somewhat mitigated by splitting the node representations

EQUATION

The number of parameters of the model can now be reduced by tying the value of some instances of θ f, ,c . For example, the update function for a chunk c can be computed using only the corresponding chunk of the node representation h (t) v,c , or the same update function can be applied to all "chunks" by setting θ f, ,1 = . . . = θ f, ,C . The learnable parameters of the model are only the hypernetwork parameters θ f, ,c . This is somewhat less desirable than the related idea of Wu et al. (2019) , which operates on sequences, where sharing between neighbouring elements of the sequence has an intuitive interpretation that is not applicable in the general graph setting.

Graph Neural Networks with Feature-wise Linear Modulation (GNN-FiLM) In (6), the message passing layer is a linear transformation conditioned on the target node representation, focusing on separate chunks of the node representation at a time. In the extreme case in which the dimension of each chunk is 1, this method coincides with the ideas of Perez et al. (2017) , who propose to use layers of element-wise affine transformations to modulate feature maps in the visual question answering setting; there, a natural language question is the input used to compute the affine transformation applied to the features extracted from a picture.

In the graph setting, we can use each node's representation as an input that determines an elementwise affine transformation of incoming messages, allowing the model to dynamically up-weight and down-weight features based on the information present at the target node of an edge. This yields the following update rule, using a learnable function g to compute the parameters of the affine transformation.

EQUATION

The learnable parameters of the model are both the hypernetwork parameters θ g, and the weights W . In practice, implementing g as a single linear layer works well.

In the case of using a single linear layer, the resulting message passing function is bilinear in source and target node representation, as the message computation is centred around

(W g h (t) v ) (W h (t) u )

. This is the core difference to the (linear) interaction of source and target node representations in models that use W (h (t) u h (t) v ). A simple toy example may illustrate the usefulness of such a mechanism: assuming a graph of nodes V A and V B and edge types 1 and 2, a task may involve counting the number of 1-neighbours of V A nodes and of 2-neighbours of V B nodes. By setting

γ 1,va = 1, γ 2,va = 0 for v a ∈ V A and γ 1,v b = 0, γ 2,v b = 1 for v b ∈ V B , GNN-FiLM can

solve this in a single layer. Simpler approaches can solve this by counting A/1, A/2, B/1 and B/2 neighbours separately in one layer and then projecting to the correct counter, but require more feature dimensions and layers for this. As this toy example illustrates, a core capability of GNN-FiLM is to learn to ignore graph edges based on the representation of target nodes.

Note that the featurewise modulation can also be viewed of an extension of the gating mechanism of GRU or LSTM cells used in GGNNs. Concretely, the "forgetting" of memories in a GRU/LSTM is similar to down-weighting messages computed for the self-loop edges and the gating of the cell input is similar to the modulation of other incoming messages. However, GGNNs apply this gating to the sum of all incoming messages (cf. Eq. (1), wheras in GNN-FiLM the modulation additionally depends on the edge type, allowing for a more fine-grained gating mechanism.

Finally, a small implementation bug brought focus to the fact that applying the non-linearity σ after summing up messages from neighbouring nodes can make it harder to perform tasks such as counting the number of neighbours with a certain feature. In experiments, applying the non-linearity before aggregation as in the following update rule improved performance.

EQUATION

However, this means that the magnitude of node representations is now dependent on the degree of nodes in the handled graph. This can sometimes lead to instability during training, which can in turn be controlled by adding an additional layer l after message passing, which can be a simple bounded nonlinearity (e.g. tanh), a fully connected layer, or layer normalisation (Ba et al., 2016) , or any combination of these.

3. EVALUATION:



3.1. GNN BENCHMARK TASKS:

Due to the versatile nature of the GNN modelling formalism, many fundamentally different tasks are studied in the research area and it should be noted that good results on one task often do not transfer over to other tasks. This is due to the widely varying requirements of different tasks, as the following summary of tasks from the literature should illustrate.

• Cora/Citeseer/Pubmed (Sen et al., 2008) : Each task consists of a single graph of ∼ 10 000 nodes corresponding to documents and undirected (sic!) edges corresponding to references. The sparse ∼ 1 000 node features are a bag of words representation of the corresponding documents. The goal is to assign a subset of nodes to a small number of classes. State of the art performance on these tasks is achieved with two propagation steps along graph edges.

• PPI (Zitnik & Leskovec, 2017) : A protein-protein interaction dataset consisting of 24 graphs of ∼ 2 500 nodes corresponding to different human tissues. Each node has 50 features selected by domain experts and the goal is node-level classification, where each node may belong to several of the 121 classes. State of the art performance on this task requires three propagation steps. • QM9 property prediction (Ramakrishnan et al., 2014) Hence, tasks differ in the complexity of edges (from undirected and untyped to directed and manytyped), the size of the considered graphs, the size of the dataset, the importance of node-level vs. graph-level representations, and the number of required propagation steps.

This article includes results on the PPI, QM9 and VarMisuse tasks. Preliminary experiments on the citation network data showed results that were at best comparable to the baseline methods, but changes of a random seed led to substantial fluctuations (mirroring the problems with evaluation on these tasks reported by Shchur et al. (2018) ).

3.2. IMPLEMENTATION:

To allow for a wider comparison, the implementation of GNN-FiLM is accompanied by implementations of a range of baseline methods. These include GGNN (Li et al., 2016 ) (see Eq. (1)), R-GCN (Schlichtkrull et al., 2018 ) (see Eq. ( 2)), R-GAT (Veličković et al., 2018) (see Eq. (3)), and R-GIN (Hamilton et al., 2017) (see Eq. (4))3 . Additionally, GNN-MLP0 is a variant of R-GCN using a single linear layer to compute the edge message from both source and target state (i.e., Eq.

(5) instantiated with an "MLP" without hidden layers), and GNN-MLP1 is the same with a single hidden layer. The baseline methods were re-implemented in TensorFlow and individually tested to reach performance equivalent to results reported in their respective source papers. All code for the implementation of these GNNs is released on https://revealed/after/double/blind/ lifted, together with implementations of all tasks and scripts necessary to reproduce the results reported in this paper. This includes the hyperparameter settings found by search, which are stored in tasks/default hypers/ and are selected by default on the respective tasks. The code is designed to facilitate testing new GNN types on existing tasks and easily adding new tasks, allowing for rapid evaluation of new architectures.

Early on in the experiments, it became clear that the RGDCN approach (Eq. ( 6)) as presented is infeasible. It is extremely sensitive to the parameter initialisation and hence changes to the random seed lead to wild swings in the target metrics. Hence, no experimental results are reported for it in the following. It is nonetheless included in the article (and the implementation) to show the thought process leading to GNN-FiLM, as well as to allow other researchers to build upon this.

In the following, GNN-FiLM refers to the formulation of Eq. (8), which performed better than the variant of Eq. ( 7) across all experiments. Somewhat surprisingly, the same trick (of moving the non-linearity before the message aggregation step) did not help the other GNN types. For all models, using each layer only for a single propagation step performed better than using fewer layers with several propagation steps.

In all experiments, models were trained until the target metric did not improve anymore for some additional epochs (25 for PPI and QM9, 5 for VarMisuse). The reported results on the held-out test data are averaged across the results of a number of training runs, each starting from different random parameter initializations.

3.3. EXPERIMENTAL RESULTS:



3.3.1. PROTEIN-PROTEIN INTERACTIONS (PPI):

The models are first evaluated on the node-level classification PPI task (Zitnik & Leskovec, 2017) , following the dataset split from earlier papers. Training hence used a set of 20 graphs and validation and test sets of two separate graphs each. The graphs use two edge types: the dataset-provided untyped edges as well as a fresh "self-loop" edge type to allows nodes to keep state across propagation steps.

Hyperparameters for all models were selected based on results from earlier papers and a small grid search of a number of author-selected hyperparameter ranges (see App. A for details). This resulted in three (R-GAT), four (GGNN, GNN-FiLM, GNN-MLP1, R-GCN), or five (GNN-MLP0, R-GIN) layers (propagation steps) and a node representation size of 256 (GNN-MLP0, R-GIN) or 320 (all others). All models use dropout on the node representations before all GNN layers, with a keep ratio of 0.9. After selecting hyperparameters, all models were trained ten times with different random seeds on a NVidia V100. Tab. 1 shows the micro-averaged F1 score on the classification task on the test graphs, with standard deviations and training times in seconds computed over the ten runs. The results for all re-implemented models are better than the results reported by Veličković et al. (2018) for the GAT model (without edge types). A cursory exploration of the reasons yielded three factors. First, the generalisation to different edge types (cf. Eq. ( 3)) and the subsequent use of a special self-loop edge type helps R-GAT (and all other models) significantly. Second, using dropout between layers significantly improved the results. Third, the larger node representation sizes (compared to 256 used by Veličković et al. (2018) ) improved the results again. However, the new GNN-FiLM improves slightly over these four baselines from the literature, while converging substantially faster than all baselines, mainly because it converges in significantly fewer training steps (approx. 240 epochs compared to 400-600 epochs for the other models).

3.3.2. QUANTUM CHEMISTRY (QM9):

All models were additionally evaluated on graph-level regression tasks on the QM9 molecule data set (Ramakrishnan et al., 2014) , considering thirteen different quantum chemical properties. The ∼130k molecular graphs in the dataset were split into training, validation and test data by randomly selecting 10 000 graphs for the latter two sets. Additionally, another data split without a test set was used for the hyperparameter search (see below). The graphs use five edge types: the datasetprovided typed edges (single, double, triple and aromatic bonds between atoms) as well as a fresh "self-loop" edge type that allows nodes to keep state across propagation steps. The evaluation differs from the setting reported by Gilmer et al. (2017) , as no additional molecular information is encoded as edge features, nor are the graphs augmented by master nodes or additional edges. 4Hyperparameters for all models were found using a staged search process. First, 500 hyperparameter configurations were sampled from an author-provided search space (see App. A for details) and run on the first three regression tasks. The top three configurations for each of these three tasks were then run on all thirteen tasks and the final configuration was chosen as the one with the lowest average mean absolute error across all properties, as evaluated on the validation data of that dataset split. This process led to eight layers / propagation steps for all models but GGNN and R-GIN, which showed best performance with six layers. Furthermore, all models used residual connections connecting every second layer and GGNN, R-GCN, GNN-FiLM and GNN-MLP0 additionally used layer normalisation (as in Eq. ( 8)). Each model was trained for each of the properties separately five times using different random seeds on compute nodes with NVidia P100 cards. The average results of the five runs are reported in Tab. 2, with their respective standard deviations. 5 The results indicate that the new GNN-FiLM model outperforms the standard baselines on all tasks and the usually not considered GNN-MLP variants on the majority of tasks.

3.3.3. VARIABLE USAGE IN PROGRAMS (VARMISUSE):

Finally, the models were evaluated on the VarMisuse task of Allamanis et al. (2018) . This task requires to process a graph representing an abstraction of a program fragment and then select one of a few candidate nodes (representing program variables) based on the representation of another node (representing the location to use a variable in). The experiments are performed using the released split of the dataset, which contains ∼ 130k training graphs, ∼ 20k validation graphs and two test sets: SEENPROJTEST, which contains ∼ 55k graphs extracted from open source projects that also contributed data to the training and validation sets, and UNSEENPROJTEST, which contains ∼ 30k graphs extracted from completely unseen projects.

Due to the inherent cost of training models on this dataset (Balog et al. (2019) provide an in-depth performance analysis), a limited hyperparameter grid search was performed, with only ∼ 30 candidate configurations for each model (see App. A for details). For each model, the configuration yielding the best results on the validation data set fold was selected. This led to six layers for GGNN and R-GIN, eight layers for R-GAT and GNN-MLP0, and ten layers for the remaining models. Graph node hidden sizes were 128 for all models but GGNN and R-GAT, which performed better with 96 dimensions.

The results, shown in Tab. 3, are somewhat surprising, as they indicate a different ranking of model architectures as the results on PPI and QM9, with R-GCN performing best. All re-implemented baselines beat the results reported by Allamanis et al. (2018) , who also reported that R-GCN and GGNN show very similar performance. This is in spite of a simpler implementation of the task than in the original paper, as it only uses the string labels of nodes for the representation and does not use the additional type information provided in the dataset. However, the re-implementation of the task uses the insights from Cvitkovic et al. (2019) , who use character CNNs to encode node labels and furthermore introduce extra nodes for subtokens appearing in labels of different nodes, connecting them to their sources (e.g., nodes labelled openWullfrax and closeWullfrax are both connected to a fresh Wullfrax node).

A deeper investigation results showed that the more complex models seem to suffer from significant overfitting to the training data, as can be seen in the results for training and validation accuracy reported in Tab. 3. A brief exploration of more aggressive regularisation methods (more dropout, weight decay) showed no improvement and a deeper understanding of the cause of these results remains for future work.

Furthermore, the large variance in results on the validation set (especially for R-GCN) makes it likely that the hyperparameter grid search with only one training run per configuration did not yield the best configuration for each model.

4. DISCUSSION & CONCLUSIONS:

After a review of existing graph neural network architectures, the idea of using hypernetworkinspired models in the graph setting was explored. This led to two models, Graph Dynamic Convolutional Networks and GNNs with feature-wise linear modulation, were presented. While GDCNs seem to be impractical to train, experiments show that GNN-FiLM is competitive with or improving on baseline models on three tasks from the literature.

The extensive experiments also show that a number of results from the literature could benefit from more substantial hyperparameter search and are often missing comparisons to a number of obvious baselines:

• The results in Tab. 1 indicate that GATs have no advantage over GGNNs or R-GCNs on the PPI task, which does not match the findings by Veličković et al. (2018) . • The results in Tab. 3 indicate that R-GCNs are outperforming GGNNs substantially on the VarMisuse task, contradicting the findings of Allamanis et al. (2018) . • The GNN-MLP models are obvious extensions that are often alluded to, but are not part of the usually considered set of baseline models. Nonetheless, experiments across all three tasks have shown that these methods outperform better-published techniques such as GGNNs, R-GCNs and GATs, without a substantial runtime penalty.

These results indicate that there is substantial value in independent reproducibility efforts and comparisons that include "obvious" baselines, matching the experiences from other areas of machine learning as well as earlier work by Shchur et al. (2018) on reproducing experimental results for GNNs on citation network tasks.

:

Note that this is similar to the ARGAT model presented byBusbridge et al. (2019), but unlike the models studied there (and like the original GATs) uses a single linear layer to compute attention scores e u, ,v , instead of simpler additive or multiplicative variants.

These are similar to R-GIN, but apply an MLP to the concatenation of source and target state for each message.

Note that Eq. (3) and Eq. (4) define generalisations to different edge types not present in the original papers.

Adding these features is straightforward, but orthogonal to the comparison of different GNN variants.

Note that training sometimes did not converge (as visible in the large standard deviation). Removing these outliers, GGNN achieved 18.11(±1.62) and R-GAT achieved 17.66(±1.23) on R2; R-GIN has an average error rate of 7.04(±1.41) on U, and GNN-MLP1's result on the Omega task is 1.19(±0.08).

Figures and Tables:

: ∼ 130 000 graphs of ∼ 8 nodes represent molecules, where nodes are heavy atoms and undirected, typed edges are bonds between these atoms, different edge types indicating single/double/etc. bonds. The goal is to regress each graph to a number of quantum chemical properties. State of the art performance on these tasks requires at least four propagation steps. • VarMisuse (Allamanis et al., 2018): ∼ 235 000 graphs of ∼ 2500 nodes each represent program fragments, where nodes are tokens in the program text and different edge types represent the program's abstract syntax tree, data flow between variables, etc. The goal is to select one of a set of candidate nodes per graph. State of the art performance requires at least six propagation steps.

Table content: <table/>

GNN results on PPI task. GAT * result taken fromVeličković et al. (2018).

Table content: <table><tr><td>Model</td><td colspan="2">Avg. Micro-F1 Time (s)</td></tr><tr><td>GAT  *</td><td>0.973 ±0.002</td><td>n/a</td></tr><tr><td>GGNN</td><td>0.990 ±0.001</td><td>432.6</td></tr><tr><td>R-GCN</td><td>0.989 ±0.000</td><td>759.0</td></tr><tr><td>R-GAT</td><td>0.989 ±0.001</td><td>782.3</td></tr><tr><td>R-GIN</td><td>0.991 ±0.001</td><td>704.8</td></tr><tr><td colspan="2">GNN-MLP0 0.992±0.000</td><td>556.9</td></tr><tr><td colspan="2">GNN-MLP1 0.992±0.001</td><td>479.2</td></tr><tr><td colspan="2">GNN-FiLM 0.992±0.000</td><td>308.1</td></tr></table>

GNN average error rates and standard deviations on QM9 target values.

Table content: <table><tr><td>Property</td><td>GGNN</td><td>R-GCN</td><td>R-GAT</td><td>R-GIN</td><td colspan="3">GNN-MLP0 GNN-MLP1 GNN-FiLM</td></tr><tr><td>mu</td><td>3.85 ±0.16</td><td>3.21 ±0.06</td><td>2.68 ±0.06</td><td>2.64 ±0.11</td><td>2.36 ±0.04</td><td>2.44 ±0.12</td><td>2.38 ±0.13</td></tr><tr><td>alpha</td><td>5.22 ±0.86</td><td>4.22 ±0.45</td><td>4.65 ±0.44</td><td>4.67 ±0.52</td><td>4.27 ±0.36</td><td>4.63 ±0.54</td><td>3.75 ±0.11</td></tr><tr><td>HOMO</td><td>1.67 ±0.07</td><td>1.45 ±0.01</td><td>1.48 ±0.03</td><td>1.42 ±0.01</td><td>1.25 ±0.04</td><td>1.29 ±0.06</td><td>1.22 ±0.07</td></tr><tr><td>LUMO</td><td>1.74 ±0.06</td><td>1.62 ±0.04</td><td>1.53 ±0.07</td><td>1.50 ±0.09</td><td>1.35 ±0.04</td><td>1.50 ±0.19</td><td>1.30 ±0.05</td></tr><tr><td>gap</td><td>2.60 ±0.06</td><td>2.42 ±0.14</td><td>2.31 ±0.06</td><td>2.27 ±0.09</td><td>2.04 ±0.05</td><td>2.06 ±0.10</td><td>1.96 ±0.06</td></tr><tr><td>R2</td><td colspan="4">35.94 ±35.68 16.38 ±0.49 52.39 ±42.58 15.63 ±1.40</td><td colspan="3">14.86 ±1.62 15.81 ±1.42 15.59 ±1.38</td></tr><tr><td>ZPVE</td><td>17.84 ±3.61</td><td colspan="2">17.40 ±3.56 14.87 ±2.88</td><td>12.93 ±1.81</td><td colspan="3">12.00 ±1.66 14.12 ±1.10 11.00 ±0.74</td></tr><tr><td>U0</td><td>8.65 ±2.46</td><td>7.82 ±0.80</td><td>7.61 ±0.46</td><td>5.88 ±1.01</td><td>5.55 ±0.38</td><td>6.94 ±0.64</td><td>5.43 ±0.96</td></tr><tr><td>U</td><td>9.24 ±2.26</td><td>8.24 ±1.25</td><td>6.86 ±0.53</td><td>18.71 ±23.36</td><td>6.20 ±0.88</td><td>7.00 ±1.06</td><td>5.95 ±0.46</td></tr><tr><td>H</td><td>9.35 ±0.96</td><td>9.05 ±1.21</td><td>7.64 ±0.92</td><td>5.62 ±0.81</td><td>5.96 ±0.45</td><td>7.98 ±0.88</td><td>5.59 ±0.57</td></tr><tr><td>G</td><td>7.14 ±1.15</td><td>7.00 ±1.51</td><td>6.54 ±0.36</td><td>5.38 ±0.75</td><td>5.09 ±0.57</td><td>7.14 ±0.51</td><td>5.17 ±1.13</td></tr><tr><td>Cv</td><td>8.86 ±9.07</td><td>3.93 ±0.48</td><td>4.11 ±0.27</td><td>3.53 ±0.37</td><td>3.38 ±0.20</td><td>4.60 ±0.74</td><td>3.46 ±0.21</td></tr><tr><td>Omega</td><td>1.57 ±0.53</td><td>1.02 ±0.05</td><td>1.48 ±0.87</td><td>1.05 ±0.11</td><td>0.84 ±0.02</td><td>5.60 ±8.82</td><td>0.98 ±0.06</td></tr></table>

Accuracy on VarMisuse task. GGNN * result taken from appendix ofAllamanis et al. (2018).

Table content: <table><tr><td>Model</td><td>TRAIN</td><td>VALID</td><td colspan="3">SEENPROJTEST UNSEENPROJTEST</td></tr><tr><td>GGNN  *</td><td>n/a</td><td>n/a</td><td>84.0 n/a</td><td>74.1</td><td>n/a</td></tr><tr><td>GGNN</td><td>87.5 ±1.8%</td><td>82.1 ±0.9%</td><td>85.7 ±0.5%</td><td colspan="2">79.3 ±1.2%</td></tr><tr><td>R-GCN</td><td>88.7 ±3.1%</td><td>85.7 ±1.6%</td><td>87.2 ±1.5%</td><td colspan="2">81.4 ±2.3%</td></tr><tr><td>R-GAT</td><td>90.4 ±3.9%</td><td>84.2 ±1.0%</td><td>86.9 ±0.7%</td><td colspan="2">81.2 ±0.9%</td></tr><tr><td>R-GIN</td><td>93.4 ±1.8%</td><td>84.2 ±1.0%</td><td>87.1 ±0.1%</td><td colspan="2">81.1 ±0.9%</td></tr><tr><td>GNN-MLP0</td><td>95.3 ±2.4%</td><td>83.4 ±0.3%</td><td>86.5 ±0.2%</td><td colspan="2">80.5 ±1.4%</td></tr><tr><td>GNN-MLP1</td><td>94.7 ±1.2%</td><td>84.4 ±0.4%</td><td>86.9 ±0.3%</td><td colspan="2">81.4 ±0.7%</td></tr><tr><td>GNN-FiLM</td><td>94.3 ±1.0%</td><td>84.6 ±0.6%</td><td>87.0 ±0.2%</td><td colspan="2">81.3 ±0.9%</td></tr></table>

Peer review (iclr2020):
This paper introduces a new type of Graph Neural Network (GNN) that incorporates Feature-wise Linear Modulation (FiLM) layers. Current GNNs update the target representations by aggregating information from neighbouring nodes without taking into the account the target node representation. As graph networks might benefit from such target-source interactions, the current work proposes to use FiLM layers to let the target node modulate the source node representations. The authors thoroughly evaluate this new architecture — called GNN-FiLM—-on several graph benchmarks, including Citeseer, PPI, QM9, and VarMisuse. The proposed network outperforms the other methods on QM9 and is on par on the other benchmarks. Strengths - The literature review of existing work on GNN was a pleasure to read and provided a good motivation for the proposed GNN-FiLM architecture. - The authors put significant effort into reproducing other GNN baselines. Perhaps the most surprising result of this work is that all GNNs perform remarkably similar (contrary to what previous work has reported) Weaknesses - There seems to be a much tighter relationship between GNN-FiLM and Gated GNNs than currently discussed. If you actually write down the equations of the recurrent cell in Eq 1), you’ll notice that there are feature-wise interactions between the target node representations and the (sum of) source node representations. The paper should discuss in more depth what the exact differences are. Some visualizations would also help here. - Related to the previous point, I’d like to see a bit more discussion on *why* tight interactions between target and source nodes are helpful. For example, one could perhaps provide a toy example for which that’s obviously the case. All in all, I believe the ideas and results of this paper are promising but insufficient for publication in its current form. The paper tries to communicate two messages: 1) a model paper arguing for GNN-FiLM, 2) an unbiased evaluation of existing GNN models, showing that their performance is surprisingly similar on a number of benchmarks (with equal hyperparameter search). Both points are interesting but are not worked out sufficiently to pass the bar. For 1), I’d like to see an in-depth discussion on the benefits of target-source interactions, providing more insights into why this might be beneficial. Your current experiments report very minimal gains for your proposed network, questioning why such interactions might be necessary in the first place. For 2), I’d suggest to rewrite the paper from a slightly different angle and add more graph benchmarks if available (disclaimer: I’m not in the graph network community, so I can’t fully evaluate how significant these results are) Typos ——- Last paragraph of intro: “two two” - > two *EDIT After reading the rebuttal and revised paper, I*ve updated my score to *Weak Accept*. The toy example and connection to GGNN are important additions which makes the paper more complete, though I believe there*s room for further improvement here (see comments below). All in all, I weakly recommend to accept the paper.