Manuscript Offprint

arXiv:2611.08379

Module-Aware Optimization for Graph Neural Networks

Guy Hadad, Haggai Roitman, Moshe Eliasof, Bracha Shapira

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

Guy Hadad

Ben-Gurion University of the Negev

Beer-Sheva, Israel

guyhada@post.bgu.ac.il

Haggai Roitman

Ben-Gurion University of the Negev

Beer-Sheva, Israel

haggair@gmail.com

Moshe Eliasof

Ben-Gurion University of the Negev

Beer-Sheva, Israel

eliasof@bgu.ac.il

Bracha Shapira

Ben-Gurion University of the Negev

Beer-Sheva, Israel

bshapira@bgu.ac.il

Abstract

Different optimizers impose different geometries on parameter updates. Adaptive methods such as Adam and AdamW use coordinate-wise updates, while matrix-aware optimizers such as Muon utilize weight-matrix structure through orthogonalized updates. For Graph Neural Networks (GNNs), however, the effective geometry of its weight matrices is shaped not only by its learned channel-mixing weights, but also by the graph-propagated representations it acts on. Thus, even if an update is well normalized as a matrix, its effect on the layer output can be amplified when applied to graph-propagated features. To address this gap, we introduce GraphMuon, a graph-aware optimizer that adapts Muon's matrix updates to the covariance structure of graph-propagated layer inputs. GraphMuon performs orthogonalization in a metric defined by these propagated representations and normalizes step sizes according to the update's induced effect on the layer representation. We show that theoretically, vanilla Muon can suffer from graph-induced update amplification, while our GraphMuon can mitigate this effect. As such, our GraphMuon yields a graph-metric analogue of Muon's polar update step. Empirically, GraphMuon achieves 1.32×−2.42×1.32 \times -2.42 \times validation-loss time-to-target speedups over AdamW on three large-scale OGB benchmarks. Across 15 dataset–architecture configurations spanning node classification, inductive graph classification, and graph regression, it achieves lower time-to-target in 13 cases, while maintaining competitive or superior predictive performance. Code is available at https://github.com/guy-hadad/GraphMuon.

1 Introduction

Optimizers define the geometry in which neural-network updates are measured. Classical SGD uses a global Euclidean scale [26], adaptive methods such as Adam and AdamW normalize updates coordinate-wise [17, 20], and preconditioned methods such as Shampoo exploit matrix statistics to approximate richer curvature information [10]. More recently, matrix-aware optimizers such as Muon treat weight matrices as structured operators and replace raw momentum updates with approximately orthogonalized matrix directions [16]. Muon has also been shown to improve compute efficiency in large language-model training [19, 29, 30]. These developments suggest a broader principle: the geometry used by an optimizer should depend not only on the shape of a parameter tensor, but also on the module in which that parameter appears [1].

40th Conference on Neural Information Processing Systems (NeurIPS 2026).

Graph neural networks provide a setting where this module dependence is especially important. In a standard feed-forward layer, a weight matrix acts on representations produced by previous neural layers. In a GNN layer, however, the trainable matrix acts on graph-propagated representations. For a propagation operator SS and node representation HH, the effective input to the weight matrix is

Xg=SH.(1)X_g = SH. \tag{1}

Therefore, the effect of an update ΔW\Delta W is governed by the induced representation-level perturbation XgΔWX_g \Delta W, rather than by the parameter-space norm of ΔW\Delta W alone. Since XgX_g depends on the graph topology, neighborhood aggregation, feature smoothing, and the current training state, two updates with the same Euclidean matrix scale can induce very different changes in the layer output.

This observation exposes a gap in existing optimizers for GNNs. AdamW adapts updates through coordinate-wise gradient moments, but does not explicitly distinguish directions that are amplified by graph propagation from directions that are attenuated in the propagated feature distribution. Muon improves over coordinate-wise updates by using the matrix structure of WW, but its orthogonalization is still input-agnostic: the same Euclidean matrix geometry is used whether the matrix acts on dense features, tokens, or graph-propagated node representations. For GNNs, the relevant object is not only the standalone matrix WW, but the graph-conditioned map

W↦XgW.(2)W \mapsto X_g W. \tag{2}

The geometry of this map is determined by the covariance of the propagated inputs,

Cg=1nXg⊤Xg.(3)C_g = \frac{1}{n} X_g^\top X_g. \tag{3}

Directions aligned with high-energy eigenspaces of CgC_g produce large representation-level perturbations, while directions in low-energy eigenspaces have much smaller immediate effect [12]. Thus, an optimizer for GNN weight matrices should be both matrix-aware and graph-aware: it should exploit the matrix structure of WW, while calibrating update direction and scale to the graph-induced geometry of the representations on which WW actually acts.

Inspired by this observation, we introduce GraphMuon, a graph-aware extension of Muon for GNN optimization. GraphMuon adapts Muon's matrix-orthogonalized updates to the layer-wise geometry induced by graph-propagated inputs. It has two complementary components. First, graph-aware orthogonalization applies the polar-style Muon update in a metric defined by the covariance of XgX_g. Second, graph-aware step normalization scales each update by its induced representation-level perturbation, rather than by its parameter-space magnitude alone. Together, these mechanisms align the optimizer geometry with the actual forward map of a GNN layer.

Our analysis in Section 4.3 shows that this modification is principled: a vanilla Muon update, although normalized in Euclidean matrix space, can still be amplified in representation space by the dominant eigenspaces of CgC_g. In contrast, our GraphMuon directly controls the quantity ∥XgΔW∥F/n\|X_g \Delta W\|_F/\sqrt{n}, which is the perturbation induced in the pre-activation representation of the GNN layer. We further show that the graph-aware orthogonalization step is the graph-metric analogue of Muon's polar update, rather than an ad hoc rescaling.

Figure 1 illustrates the resulting mismatch and our correction. A Muon update can be well normalized as a matrix while still causing a large graph-propagated perturbation. GraphMuon addresses this by using CgC_g to adapt both the update geometry and its scale.

We evaluate GraphMuon across graph-learning benchmarks spanning node classification, inductive graph classification, and graph regression, using GCN, GAT, GINE, and GraphGPS architectures. Under a fixed validation-loss time-to-target protocol, GraphMuon achieves 1.32×−2.42×1.32\times-2.42\times wall-clock speedups over AdamW on the three large-scale OGB benchmarks. Across a broader evaluation of 15 dataset-architecture configurations, GraphMuon improves epoch-level time-to-target in all cases and achieves faster wall-clock convergence in 13 of 15, while maintaining competitive or superior predictive performance.

Main Contributions. Our contributions are as follows:

  1. We identify a graph-induced optimization mismatch: standard optimizers normalize updates in parameter space, whereas the effect of a GNN weight update is determined by its perturbation of graph-propagated representations.

Figure

Figure 1: Motivation for graph-aware optimization. A GNN weight matrix acts on the graph-propagated input Xg=SHX_g = SH, whose geometry depends on graph structure and propagated feature statistics. As a result, a Muon update that is well normalized in Euclidean matrix space can still produce an amplified representation-level perturbation ∥XgΔW∥F\|X_g \Delta W\|_F. GraphMuon addresses this mismatch by adapting the update geometry to the graph-induced covariance Cg=Xg⊤Xg/nC_g = X_g^\top X_g / n and scaling each step by its induced effect on graph-propagated representations.

  1. We introduce GraphMuon, a graph-aware extension of Muon that adapts matrix-update geometry to the layer-wise covariance of graph-propagated representations and normalizes updates by their representation-level effect.

  2. We prove that GraphMuon controls graph-induced representation perturbations and yields a graph-metric analogue of Muon's polar update.

  3. We demonstrate faster validation-loss convergence across diverse graph-learning regimes, including inductive graph-level tasks and multiple GNN architectures, with wall-clock improvements in 13 of 15 evaluated configurations and competitive or superior predictive performance.

References (33)