Skip to text

4 Results

The graph neural network is implemented in Pytorch-Geometric [14]. Results with a graph neural network with optimizers Adam [26] and AdamW [28] are shown in Figure 3.2. The training process was repeated with several configurations of hyperparameters, as listed below, with very similar performance. The starting learning rate varied between 1×10−2 and 1×10−3 and weight decay set between 1×10−5 and 5×10−4. The clustering layer extracts the top 50 nodes with the highest total variation. We set 5 as the maximum path length for which clusters are coalesced. The feature length (width) of the GraphSAGE layers (after clustering) was varied among 16 and 32 and the dropout [40] rate was varied among 30%, 40%, and 50%. In these cases, the model accuracy plateaus between 82.5% and 87.5%. For the figure shown in Figure 3.2, the GraphSAGE model has depth 4 and width 16, with a dropout rate of 0.5 and we use a 3-layer MLP (of width 16). The precision recall curve, on the test set, for the model trained with AdamW is shown in Figure 3.3.

Figure 3.2 Plot of the optimization over 100 epochs (horizontal axis). The axis on the left is for the training and testing loss trends, measured in terms of the BCE loss function (cf. Eq. (3.4)), using optimizers Adam (solid and dashed blue) and AdamW (solid and dashed red). The axis on the right measures the testing accuracy trends for Adam (solid green) and AdamW (dashed green).

Figure 3.3 Precision-recall curve of the model trained with AdamW on the test set.