Graph neural networks (GNNs) are a broad class of connectionist models for graph processing. Recent studies have shown that GNNs can approximate any function on graphs, modulo the equivalence relation on graphs defined by theWeisfeiler-Lehman (WL) test. However, these results suffer from some limitations, both because they were derived using the Stone-Weierstrass theorem — which is existential in nature — and because they assume that the target function to be approximated must be continuous. Furthermore, all current results are dedicated to graph classification/regression tasks, where the GNN must produce a single output for the whole graph, while also node classification/regression problems, in which an output is returned for each node, are very common. In this paper, we propose an alternative way to demonstrate the approximation capability of GNNs that overcomes these limitations. Indeed, we show that GNNs are universal approximators in probability for node classification/regression tasks, as they can approximate any measurable function that satisfies the 1-WL-equivalence on nodes. The proposed theoretical framework allows the approximation of generic discontinuous target functions and also suggests the GNN architecture that can reach a desired approximation. In addition, we provide a bound on the number of the GNN layers required to achieve the desired degree of approximation, namely 2r − 1, where r is the maximum number of nodes for the graphs in the domain.

D'Inverno, G.A., Bianchini, M., Sampoli, M.L., Scarselli, F. (2024). On the approximation capability of GNNs in node classification/regression tasks. SOFT COMPUTING [10.1007/s00500-024-09676-1].

On the approximation capability of GNNs in node classification/regression tasks

Giuseppe Alessio D'Inverno
;
Monica Bianchini;Maria Lucia Sampoli;Franco Scarselli
2024-01-01

Abstract

Graph neural networks (GNNs) are a broad class of connectionist models for graph processing. Recent studies have shown that GNNs can approximate any function on graphs, modulo the equivalence relation on graphs defined by theWeisfeiler-Lehman (WL) test. However, these results suffer from some limitations, both because they were derived using the Stone-Weierstrass theorem — which is existential in nature — and because they assume that the target function to be approximated must be continuous. Furthermore, all current results are dedicated to graph classification/regression tasks, where the GNN must produce a single output for the whole graph, while also node classification/regression problems, in which an output is returned for each node, are very common. In this paper, we propose an alternative way to demonstrate the approximation capability of GNNs that overcomes these limitations. Indeed, we show that GNNs are universal approximators in probability for node classification/regression tasks, as they can approximate any measurable function that satisfies the 1-WL-equivalence on nodes. The proposed theoretical framework allows the approximation of generic discontinuous target functions and also suggests the GNN architecture that can reach a desired approximation. In addition, we provide a bound on the number of the GNN layers required to achieve the desired degree of approximation, namely 2r − 1, where r is the maximum number of nodes for the graphs in the domain.
2024
D'Inverno, G.A., Bianchini, M., Sampoli, M.L., Scarselli, F. (2024). On the approximation capability of GNNs in node classification/regression tasks. SOFT COMPUTING [10.1007/s00500-024-09676-1].
File in questo prodotto:
File Dimensione Formato  
SoftComputing.pdf

accesso aperto

Tipologia: PDF editoriale
Licenza: Creative commons
Dimensione 1.06 MB
Formato Adobe PDF
1.06 MB Adobe PDF Visualizza/Apri

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11365/1264734