Generalization, Expressivity, and Universality of Graph Neural Networks on Attributed Graphs

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Rauchwerger, Levi, Jegelka, Stefanie, Levie, Ron
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912553887596544
author Rauchwerger, Levi
Jegelka, Stefanie
Levie, Ron
author_facet Rauchwerger, Levi
Jegelka, Stefanie
Levie, Ron
contents We analyze the universality and generalization of graph neural networks (GNNs) on attributed graphs, i.e., with node attributes. To this end, we propose pseudometrics over the space of all attributed graphs that describe the fine-grained expressivity of GNNs. Namely, GNNs are both Lipschitz continuous with respect to our pseudometrics and can separate attributed graphs that are distant in the metric. Moreover, we prove that the space of all attributed graphs is relatively compact with respect to our metrics. Based on these properties, we prove a universal approximation theorem for GNNs and generalization bounds for GNNs on any data distribution of attributed graphs. The proposed metrics compute the similarity between the structures of attributed graphs via a hierarchical optimal transport between computation trees. Our work extends and unites previous approaches which either derived theory only for graphs with no attributes, derived compact metrics under which GNNs are continuous but without separation power, or derived metrics under which GNNs are continuous and separate points but the space of graphs is not relatively compact, which prevents universal approximation and generalization analysis.
format Preprint
id arxiv_https___arxiv_org_abs_2411_05464
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Generalization, Expressivity, and Universality of Graph Neural Networks on Attributed Graphs
Rauchwerger, Levi
Jegelka, Stefanie
Levie, Ron
Machine Learning
We analyze the universality and generalization of graph neural networks (GNNs) on attributed graphs, i.e., with node attributes. To this end, we propose pseudometrics over the space of all attributed graphs that describe the fine-grained expressivity of GNNs. Namely, GNNs are both Lipschitz continuous with respect to our pseudometrics and can separate attributed graphs that are distant in the metric. Moreover, we prove that the space of all attributed graphs is relatively compact with respect to our metrics. Based on these properties, we prove a universal approximation theorem for GNNs and generalization bounds for GNNs on any data distribution of attributed graphs. The proposed metrics compute the similarity between the structures of attributed graphs via a hierarchical optimal transport between computation trees. Our work extends and unites previous approaches which either derived theory only for graphs with no attributes, derived compact metrics under which GNNs are continuous but without separation power, or derived metrics under which GNNs are continuous and separate points but the space of graphs is not relatively compact, which prevents universal approximation and generalization analysis.
title Generalization, Expressivity, and Universality of Graph Neural Networks on Attributed Graphs
topic Machine Learning
url https://arxiv.org/abs/2411.05464