Hostname: page-component-74656f9884-c52kr Total loading time: 0 Render date: 2026-11-07T09:34:40.512Z Has data issue: false hasContentIssue false

ON THE EFFICACY OF GRAPH NEURAL NETWORKS IN DISTINGUISHING DECOMPOSABLE AND EXCEPTIONAL GRAPHS

Published online by Cambridge University Press:  29 September 2026

JIIN YIH TAN
Affiliation:
School of Computing and Artificial Intelligence, Sunway University , 47500 Bandar Sunway, Malaysia; e-mail: jiin.t@imail.sunway.edu.my
KAI AN SIM*
Affiliation:
School of Accounting and Finance, Taylor’s University , 47500 Subang Jaya, Selangor Darul Ehsan, Malaysia; e-mail: kaian.sim@taylors.edu.my School of Mathematical Sciences, Sunway University, Malaysia
*
Rights & Permissions [Opens in a new window]

Abstract

A graph $G$ is locally irregular if for every edge $(u,v) \in E(G)$, the vertices $u$ and $v$ have distinct degrees. The locally irregular edge-colouring problem is a graph decomposition problem in which the edges of a graph are coloured such that each colour induces a locally irregular subgraph. If a graph $G$ can be edge-coloured such that each colour induces a locally irregular subgraph, then $G$ is said to be decomposable; otherwise, $G$ is exceptional. Graph neural networks (GNNs) are a class of deep learning models designed to operate on graph-structured data and are typically applied to tasks involving rich node features. In this work, we investigate and benchmark several popular GNN architectures for the classification of decomposable and exceptional graphs using minimal feature input. We compare models with different input representations, and provide a detailed analysis of their learning behaviour and the resulting graph embeddings. We show that the performance of many message passing GNNs degrades in the absence of node features in many graph-related problems. However, little work has been done to show why that is the case. Our results show that this is not the case in general and modern GNNs are able to learn meaningful structural representations that enable effective classification of these graphs to a certain extent. Furthermore, we observe some generalization to out-of-distribution graphs, suggesting both the promise and current limitations of GNNs as tools for pattern discovery in theoretical graph problems.

Information

Type
Research Article
Copyright
© The Author(s), 2026. Published by Cambridge University Press on behalf of The Australian Mathematical Publishing Association Inc
Figure 0

Figure 1 The bow-tie graph, B$B$, and its 4-liec [61].

Figure 1

Figure 2 Illustration of node feature updates in layer l$l$ of a GNN for a single node.

Figure 2

Table 1 Statistics for in-distribution and OOD datasets.Table 1 long description.

Figure 3

Figure 3 Illustration of the forward pass shared by the GNN models.

Figure 4

Table 2 Summary of models considered in this study and their node-wise update formulations for each layer.Table 2 long description.

Figure 5

Figure 4 Accuracy learning curves (mean ±$\pm $ std across five folds) for training, validation and OOD splits using constant node features.

Figure 6

Figure 5 Accuracy learning curves (mean ±$\pm $ std across five folds) for training, validation and OOD splits using one-hot-degree node features.

Figure 7

Table 3 Average validation and OOD accuracy of various aggregation schemes (±$\pm $ std) and corresponding differences between validation and OOD accuracy (Δ$\Delta $ Gap) for 500 epochs.Table 3 long description.

Figure 8

Table 4 Number of principal components for >$>$99% cumulative explained variance for each model, trained on constant initialized node embeddings and one-hot-degree initialized node embeddings.Table 4 long description.

Figure 9

Figure 6 Missclassified graphs for GIN and GraphSAGE-lstm for the validation set (fold two). The cluster of missclassified graphs (in red) consists of paths, cycles and tadpole graphs. Similar clusters exist for the embeddings generated by other aggregation schemes.

Figure 10

Figure 7 Comparison of true and predicted labels for GAT-1H and GIN, with normalization and one-hot encoded degree as initial features for the OOD set (fold two). We observe that for aggregation schemes other than GAT-1H, the predictions tend to bias towards decomposable graphs heavily.

Figure 11

Figure 8 Accuracy learning curves (mean ±$\pm $ std across five folds) for training, validation and OOD splits using constant node features.

Figure 12

Table A1 List of hyper-parameters and their values. Note that we did not perform systematic hyper-parameter tuning and sweeps due to computational cost. It is entirely possible to achieve better results by tuning the hyper-parameters.Table A1 long description.

Figure 13

Figure A1 Confusion matrices of validation set with one-hot-encoded degree as node features of the best model over 500 epochs, detailing the TP, TN, FP, FN averaged over five folds. Positive instances are decomposable while negative instances are exceptional.

Figure 14

Figure A2 Confusion matrices of OOD set with one-hot-encoded degree as node features best model over 500 epochs, detailing the TP, TN, FP, FN averaged over five folds. Positive instances are decomposable while negative instances are exceptional.

Figure 15

Table A2 Average explained PCA variance (eight components) over five folds for models trained on graphs with constant initialized node embeddings of the in-distribution validation set. Each column Ci$C_i$ tabulates the average fraction of explained variance of each component i$i$.Table A2 long description.

Figure 16

Table A3 Average explained PCA variance (eight components) over five folds for models trained on graphs with one-hot-degree initialized node embeddings of the in-distribution validation set. Each column Ci$C_i$ tabulates the average fraction of explained variance of each component i$i$.Table A3 long description.

Figure 17

Table A4 Average explained PCA variance (eight components) over five folds for models trained on graphs with constant initialized node embeddings of the OOD set. Each column Ci$C_i$ tabulates the average fraction of explained variance of each component i$i$.Table A4 long description.

Figure 18

Table A5 Average explained PCA variance (eight components) over five folds for models trained on graphs with one-hot-degree initialized node embeddings of the OOD set. Each column Ci$C_i$ tabulates the average fraction of explained variance of each component i$i$.Table A5 long description.