Training One-Dimensional Graph Neural Networks is NP-Hard
Robert Ganian Mathis Rocton Simon Wietheger
We initiate the study of the computational complexity of training graph neural networks (GNNs). We consider the classical node classification setting; there, the intractability of training multidimensonal GNNs immediately follows from known lower bounds for training classical neural networks (and holds even for trivial GNNs). However, one-dimensional GNNs form a crucial case of interest: the computational complexity of training such networks depends on both the graphical structure of the network and the properties of the involved activation and aggregation functions. As our main result, we establish the NP-hardness of training ReLU-activated one-dimensional GNNs via a highly non-trivial reduction. We complement this result with algorithmic upper bounds for the training problem in the ReLU-activated and linearly-activated settings.
Computational Complexity, Graph Neural Networks, Training, ReLU
We initiate the study of the computational complexity of training Graph Neural Networks (GNNs) and prove NP-hardness even in the one-dimensional case.