Hyperparameter Transfer in Graph Neural Networks
2026-07-06 • Machine Learning
Machine LearningArtificial Intelligence
AI summaryⓘ
The authors study how to pick and reuse good settings (hyperparameters) for training graph neural networks (GNNs) when changing their size. They create and test a way to adjust these settings that works well with different training methods like SGD and Adam. Their approach helps keep learning stable and efficient as GNNs get bigger and deeper. They also find special tweaks for early training on certain graph data types and emphasize the role of message passing normalization. Overall, the authors offer practical guidelines to scale GNNs effectively across tasks.
graph neural networkshyperparametersSGDAdam optimizerweight decaylearning ratemessage passingnormalizationmodel scalingdeep learning
Authors
Gage DeZoort, Boris Hanin
Abstract
The performance of deep learning models crucially depends on the settings of hyperparameters like learning rate, initialization scale, and weight decay. Hyperparameter transfer aims to make near-optimal hyperparameter settings consistent across model scale, so that large models can be optimized by proxy tuning their smaller, cheaper-to-optimize counterparts. While transfer principles are well-studied in the context of dense neural networks in language and vision tasks, they remain comparatively under-explored for graph neural networks (GNNs). We develop and validate a transfer parameterization for GNNs trained with SGD, Adam, and AdamW. Through theoretical scaling analyses and controlled experiments, we show that the proposed parameterization yields stable feature updates, learning rate transfer, and improved performance as width and depth increase. For SGD, we identify graph-dependent first-layer correction factors and show that their use can accelerate early training in graphs with sparse bag-of-words inputs. For Adam, we explore how different message passing normalizations affect early- and late-training transfer behavior, illustrating the importance of message passing normalization and advocating for an associated hyperparameter. For AdamW, we adapt a parameterization that allows for the joint transfer of weight decay and learning rate. Together, these results provide a practical recipe for scaling GNNs across a variety of learning tasks and training scenarios.