ICLR 2025poster0 citations

Training One-Dimensional Graph Neural Networks is NP-Hard

Robert Ganian, Mathis Rocton, Simon Wietheger

Abstract

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 ComplexityGraph Neural NetworksTrainingReLU
BibTeX
@inproceedings{
ganian2025training,
title={Training One-Dimensional Graph Neural Networks is {NP}-Hard},
author={Robert Ganian and Mathis Rocton and Simon Wietheger},
booktitle={The Thirteenth International Conference on Learning Representations},
year={2025},
url={https://openreview.net/forum?id=7BESdFZ7YA}
}
Training One-Dimensional Graph Neural Networks is NP-Hard · ICLR 2025