
Table 4: For each dataset and graph-building choice, test F1-measure with macro average and accuracy for the combination
of the best-performing choices.
Dataset Features Nodes Graph type F1-measure Accuracy
MNIST F1 50 RAG 91.2±0.4 91.3±0.4
Fashion-MNIST F1 200 1NN-Combined 84.0±0.4 84.2±0.4
CIFAR-10 F2 400 1NN-Combined 58.3±0.7 58.5±0.6
CIFAR-100 F2 200 1NN-Combined 30.9±1.1 32.2±0.8
STL-10 F2 400 2NN-Combined 51.8±0.6 52.1±0.4
formation in the segmentation process. The most sig-
nificant increase in performance is seen when adding
spatial information (i.e.: each superpixel’s geomet-
ric centroid) to the color information. However, we
note that the often-suggested pixel-density feature has
been detrimental to the performance in some of the
selected datasets.
By comparing the approaches for building edges,
we have found that, in most cases, increasing the size
of each node’s neighborhood results in a decrease in
performance. The best results were achieved when
neighborhoods were restricted to similar regions.
Grounds for future work include expanding the
analysis to other GNN architectures such as Graph
Attention Networks ((Veli
ˇ
ckovi
´
c et al., 2018)), ex-
ploring the effects of the levels of irregularity of the
image segments (as parameterized by the smoothness
factor in the basic SLIC algorithm), as well as explor-
ing the effects of other methods of image segmenta-
tion.
REFERENCES
Achanta, R., Shaji, A., Smith, K., Lucchi, A., Fua, P., and
S
¨
usstrunk, S. (2012). SLIC Superpixels Compared to
State-of-the-Art Superpixel Methods. IEEE Transac-
tions on Pattern Analysis and Machine Intelligence,
34(11):2274–2282. Conference Name: IEEE Trans-
actions on Pattern Analysis and Machine Intelligence.
Achanta, R. and Susstrunk, S. (2017). Superpixels
and Polygons Using Simple Non-Iterative Clustering.
pages 4651–4660.
Avelar, P. H. C., Tavares, A. R., da Silveira, T. L. T., Jung,
C. R., and Lamb, L. C. (2020a). Superpixel Im-
age Classification with Graph Attention Networks. In
2020 33rd SIBGRAPI Conference on Graphics, Pat-
terns and Images (SIBGRAPI), pages 203–209. ISSN:
2377-5416.
Avelar, P. H. C., Tavares, A. R., da Silveira, T. L. T., Jung,
C. R., and Lamb, L. C. (2020b). Superpixel Im-
age Classification with Graph Attention Networks. In
2020 33rd SIBGRAPI Conference on Graphics, Pat-
terns and Images (SIBGRAPI), pages 203–209, Re-
cife/Porto de Galinhas, Brazil. IEEE.
Bessadok, A., Mahjoub, M. A., and Rekik, I. (2022). Graph
neural networks in network neuroscience. IEEE
Transactions on Pattern Analysis and Machine Intel-
ligence, 45(5):5833–5848.
Chen, B., Li, J., Lu, G., Yu, H., and Zhang, D. (2020). Label
co-occurrence learning with graph convolutional net-
works for multi-label chest x-ray image classification.
IEEE journal of biomedical and health informatics,
24(8):2292–2302.
Chen, C., Wu, Y., Dai, Q., Zhou, H.-Y., Xu, M., Yang,
S., Han, X., and Yu, Y. (2022). A survey on graph
neural networks and graph transformers in computer
vision: A task-oriented perspective. arXiv preprint
arXiv:2209.13232.
Coates, A., Lee, H., and Ng, A. Y. An Analysis of Single-
Layer Networks in Unsupervised Feature Learning.
Defferrard, M., Bresson, X., and Vandergheynst, P. (2016).
Convolutional Neural Networks on Graphs with Fast
Localized Spectral Filtering. In Advances in Neural
Information Processing Systems, volume 29. Curran
Associates, Inc.
Du, H., Yao, M. M.-S., Liu, S., Chen, L., Chan, W. P., and
Feng, M. (2023). Automatic calcification morphology
and distribution classification for breast mammograms
with multi-task graph convolutional neural network.
IEEE Journal of Biomedical and Health Informatics.
Errica, F., Podda, M., Bacciu, D., and Micheli, A. (2022). A
Fair Comparison of Graph Neural Networks for Graph
Classification. arXiv:1912.09893 [cs, stat].
Hong, D., Gao, L., Yao, J., Zhang, B., Plaza, A., and
Chanussot, J. (2020). Graph convolutional net-
works for hyperspectral image classification. IEEE
Transactions on Geoscience and Remote Sensing,
59(7):5966–5978.
Kipf, T. N. and Welling, M. (2017). Semi-Supervised
Classification with Graph Convolutional Networks.
arXiv:1609.02907 [cs, stat].
Krizhevsky, A. Learning Multiple Layers of Features from
Tiny Images.
Lecun, Y., Bottou, L., Bengio, Y., and Haffner, P. (1998).
Gradient-based learning applied to document recog-
nition. Proceedings of the IEEE, 86(11):2278–2324.
Conference Name: Proceedings of the IEEE.
Linh, L. V. and Youn, C.-H. (2021). Dynamic Graph
Neural Network for Super-Pixel Image Classifica-
tion. In 2021 International Conference on Infor-
mation and Communication Technology Convergence
(ICTC), pages 1095–1099. ISSN: 2162-1233.
Long, J., yan, Z., and chen, H. (2021). A Graph Neural
Network for superpixel image classification. Journal
of Physics: Conference Series, 1871(1):012071.
Graph Convolutional Networks for Image Classification: Comparing Approaches for Building Graphs from Images
445