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.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Builds on6
- Training Fully Connected Neural Networks is ∃R-CompleteDaniel Bertschinger, Christoph Hertrich, Paul Jungeblut, Tillmann Miltzow et al.NeurIPS 2023 · 39 citations
- Training Neural Networks is NP-Hard in Fixed DimensionVincent Froese, Christoph HertrichNeurIPS 2023 · 36 citations
- Effect of Activation Functions on the Training of Overparametrized Neural NetsAbhishek Panigrahi, Abhishek Shetty, Navin GoyalICLR 2020 · 24 citations
- Counting Graph Substructures with Graph Neural NetworksCharilaos I. Kanatsoulis, Alejandro RibeiroICLR 2024 · 17 citations
- Causality-Inspired Spatial-Temporal Explanations for Dynamic Graph Neural NetworksKesen Zhao, Liang ZhangICLR 2024 · 7 citations
Related papers
- On the Hardness of Training Deep Neural Networks DiscretelyIlan Doron-AradAAAI 2025
- Learning Graph Neural Networks with Approximate Gradient DescentQunwei Li, Shaofeng Zou, Wenliang ZhongAAAI 2021 · 1 citation
- What do Graph Neural Networks learn? Insights from Tropical GeometryTuan Anh Pham, Vikas GargNeurIPS 2024 · 5 citations
- New Complexity-Theoretic Frontiers of Tractability for Neural Network TrainingCornelius Brand, Robert Ganian, Mathis RoctonNeurIPS 2023 · 4 citations
- A Convergence Analysis of Gradient Descent on Graph Neural NetworksPranjal Awasthi, Abhimanyu Das, Sreenivas GollapudiNeurIPS 2021 · 15 citations
