Manuscript Offprint

arXiv:2608.22575

Two-level domain-decomposition AdaGrad method for scalable training of graph neural networks

Laurynas Varnas, Julien Herrmann, Alexander Heinlein, Serge Gratton, Alena Kopaničáková

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Graph neural networks (GNNs) have emerged as a powerful framework for learning from graph-structured data. However, their efficient training remains challenging, particularly in distributed computing environments. This challenge arises from the use of message passing, which couples all graph nodes, leading to expensive optimization steps, high memory requirements, and substantial communication overhead. To alleviate these limitations, we propose a novel domain-decomposition (DD) variant of AG2M, an AdaGrad method enhanced with second-order curvature information and momentum, denoted by DD-AG2M. The proposed DD-AG2M alternates between AG2M optimization on the original (global) graph and AG2M optimization on the partitioned graphs. To incorporate global information at reduced cost, we further introduce a two-level variant (2DD-AG2M) that performs global optimization steps on a coarse graph obtained by randomly subsampling nodes within each subdomain. Numerical experiments spanning graph classification, node-level regression, and spatiotemporal forecasting tasks demonstrate that the proposed DD methods reduce the computational cost required to achieve the same predictive performance by a factor of 4–8. Moreover, for the fixed computational cost, they improve the predictive performance of GNNs by up to 22% compared with the baseline AG2M.

Keywords: GNN, training, AdaGrad, domain-decomposition, multilevel optimization

1 Introduction

Graph Neural Networks (GNNs) have emerged as a powerful class of neural architectures for learning from graph-structured data by combining entity attributes with relational information encoded by the graph topology [1–3]. Following the early recurrent formulation of Scarselli et al. [1], several architectural principles have been introduced, including spectral graph convolutions [4, 5], inductive neighborhood aggregation [6], attention-weighted aggregation [7], and higher-order or substructure-aware models designed to improve expressivity [8, 9]. Many of these architectures can be expressed within the message-passing (MP) framework [10], in which the graph topology plays a dual role: it describes the relational structure of the data and determines the computational dependencies through which information is propagated.

GNNs have been applied to a wide range of problems in which the relations between entities carry information that cannot be captured from their attributes alone, such as molecular property prediction and atomistic modeling [10, 11], social and recommender systems [6], and knowledge-graph reasoning [12, 13]. Of particular interest are scientific applications in which the graph represents the discretization of a physical or spatiotemporal system. For instance, GNNs have been used as graph-based surrogate models for physical simulation [14], mesh-based numerical simulation [15], computational fluid dynamics [16], and traffic forecasting [17]. Moreover, weather forecasting provides a prominent large-scale spatiotemporal application, with GraphCast [18] and GenCast [19] employing mesh-based GNNs for deterministic and probabilistic global forecasting, respectively. In such applications, increasing the spatial resolution produces larger and denser graphs, and therefore raises the computational and memory costs of both MP and backpropagation.

Despite the success of GNNs across wide range of applications, training GNNs efficiently at scale remains a significant challenge. In contrast to dense feed-forward networks, MP layers combine sparse neighborhood aggregation with dense transformations of node or edge representations. Irregular graph topologies and non-uniform node degrees therefore induce indirect memory accesses and workload imbalance, which can limit accelerator utilization and complicate parallel execution [20, 21]. When training is distributed across multiple devices, MP dependencies additionally require exchanging node features and gradients between workers. The irregularity and volume of these exchanges hinder communication–computation overlap, increase synchronization costs, and may ultimately dominate the training time [22, 23].

These memory and computational demands have motivated a variety of methods that operate on reduced computation graphs. Node- and layer-wise sampling restrict the neighborhoods explored to a set of target nodes [6, 24], whereas subgraph-based methods construct mini-batches from connected graph regions, either through graph partitioning, as in Cluster-GCN [25], or subgraph sampling with normalized stochastic estimators, as in GraphSAINT [26]. Distributed GNN systems additionally address graph placement, remote feature access, workload balancing, and inter-device communication [22, 23, 27]. These approaches primarily reorganize or approximate the forward and backward computations.

Closer to our setting are methods based on local training over graph partitions. For example, LLCG [28] trains independent copies of a GNN on graph partitions, applies periodic parameter averaging, and uses global server corrections to compensate for the dependencies omitted during local training. Its analysis shows that periodic averaging alone may retain a residual error when cross-partition dependencies are ignored. Randomized partitioning has alternatively been proposed to improve model aggregation by reducing the discrepancy between the data distributions, losses, and gradients observed by the local trainers [29]. Other approaches preserve part of the missing graph information directly during MP; for instance, DIGEST [30] periodically synchronizes stale representations of remote neighbors.

Meanwhile, the numerical analysis community has extensively developed domain-decomposition (DD) methods [31–33] for solving, in parallel, large-scale systems of equations arising from the discretization of partial differential equations (PDEs). The idea behind these methods is to decompose the original problem into smaller subproblems that can be solved concurrently, while coordinating the information exchange among them in order to recover a globally coherent solution. Owing to this design, DD methods provide a natural framework for parallelization, and they rank among the most scalable solution strategies in scientific computing available to date.

The interplay between DD and machine learning has recently attracted significant attention; see [34, 35] for a comprehensive overview. In this work, we focus on approaches for accelerating and parallelizing neural network training. In this spirit, several methods based on decomposing either the network parameters or the training data have been proposed and led to model-parallel [36, 37] or data-parallel training [38], respectively. Moreover, authors of [39, 40] introduced a recursive bound-constrained AdaGrad framework, which extends AdaGrad-type methods to the multilevel and DD settings while accounting for stochastic gradient estimates. Complementarily, [41] proposed a multiscale approach to GNN training based on a hierarchy of coarsened graphs.

Motivated by these developments, we propose two DD-based variants of AdaGrad for the parallel training of GNNs. The proposed methods extend the recursive bound-constrained AdaGrad framework of [40] to the training of GNNs, with the decomposition induced directly by the structure of the input graph. The central idea is to partition the input graph into subgraphs and to perform independent local optimization steps on the resulting subgraphs using temporary copies of a shared global model. The local corrections are subsequently aggregated to update the parameters of the global model, in the spirit of additive Schwarz methods [32]. To incorporate global information at a reduced cost, we further introduce a two-level variant, which performs global optimization steps using a coarse graph, obtained by per-subdomain random node subsampling. In contrast to conventional distributed GNN training methods, which primarily focus on computational scalability, the proposed approach treats graph partitioning as a nonlinear preconditioning mechanism for the Ada-Grad optimizer, thereby enhancing convergence speed while also exposing additional parallelism.

The remainder of the paper is organized as follows. In Section 2, we review GNNs and formulate the associated training problem. Section 3 introduces the proposed DD-AG2M and 2DD-AG2M algorithms, which constitute the main contribution of this work. In Section 4, we describe the benchmark problems, together with the algorithmic and implementation details. Section 5 demonstrates the convergence and the algorithmic scalability properties of the proposed algorithms. Finally, in Section 6, we summarize our findings and discuss possible future extensions.

References (59)