Abstract
Among the many variants of graph neural network (GNN) architectures capable of modeling data with cross-instance relations, an important subclass involves layers designed such that the forward pass iteratively reduces a graph-regularized energy function of interest. In this way, node embeddings produced at the output layer dually serve as both predictive features for solving downstream tasks (e.g., node classification) and energy function minimizers that inherit transparent, exploitable inductive biases and interpretability. However, scaling GNN architectures constructed in this way remains challenging, in part because the convergence of the forward pass may involve models with considerable depth. To tackle this limitation, we propose a sampling-based energy function and scalable GNN layers that iteratively reduce it, guided by convergence guarantees in certain settings. We also instantiate a full GNN architecture based on these designs, and the model achieves competitive accuracy and scalability when applied to the largest publicly-available node classification benchmark exceeding 1TB in size.
Introduction: The Scalability Challenge in Interpretable GNNs
Graph Neural Networks (GNNs) have become the standard for relational data, yet they are frequently criticized as "black boxes." A sophisticated sub-field of research addresses this through Unfolded GNNs (UGNNs). In a UGNN, each layer is not merely a heuristic transformation but a specific step in an optimization algorithm designed to minimize a "graph energy" function. This approach provides inherent interpretability and robustness against common issues like "oversmoothing," where node representations become indistinguishable in deep networks.
Despite these advantages, UGNNs have historically struggled to scale to massive graphs. Standard GNN scaling relies on neighbor sampling—training on small sub-batches of the graph. However, random sampling typically breaks the mathematical structure of the energy function, destroying the convergence guarantees that make UGNNs attractive. MuseGNN, presented at ICLR 2025, overcomes this barrier by introducing a sampling-based energy function that scales to datasets exceeding 1TB.
Methods: A Sampling-Based Energy Framework
The core innovation of MuseGNN is an energy function designed from the ground up to be compatible with offline sampling.
- Sampling-Based Energy: Instead of a single global energy function, MuseGNN defines the objective as a summation over energy functions of sampled subgraphs.
- The Summary Embedding ($M$): To maintain consistency across subgraphs, the authors introduce a latent variable $M$. This "global anchor" or summary embedding links different subgraph representations, ensuring that a node appearing in multiple samples converges to a consistent state.
- Alternating Minimization: The forward pass employs a two-step iterative process:
- Step 1: Update node embeddings ($Y$) within each subgraph using proximal gradient descent.
- Step 2: Update the global summary ($M$) using an online mean estimator with a "forgetting factor."
- Bilevel Optimization: The model is trained using a bilevel approach: the GNN layers minimize the internal energy (lower level), while the standard training loss (e.g., cross-entropy) updates the model weights (upper level).
Key Insights and Comparative Analysis
MuseGNN offers several theoretical and practical advantages over existing architectures. Notably, the authors demonstrate that a sampling-based energy function can be more expressive than a full-graph energy function, distinguishing between certain non-isomorphic graphs that the standard Weisfeiler-Lehman (WL) test cannot.
Furthermore, the paper provides "agnostic convergence" proofs, showing that MuseGNN will converge regardless of the specific offline sampling strategy used. This allows practitioners to optimize sampling for their specific hardware without compromising the model's mathematical integrity.
Key Results and Convergence
MuseGNN was evaluated on a spectrum of benchmarks, from ogbn-arxiv to the massive IGB-full (269M nodes, 4B edges, >1TB).
- State-of-the-Art Performance: MuseGNN is currently the top-performing homogeneous graph model on the
MAG240MandIGB-fullleaderboards. OnIGB-full, it achieved 61.74% accuracy, significantly outperforming standard GCN and SAGE models. - Efficiency and Stability: Training speed is comparable to standard GNNs. On
papers100M, it is approximately 44x faster per epoch thanLazyGNN. Unlike many deep GNNs that degrade with depth, MuseGNN remains stable and continues to improve as the number of "unfolded" layers ($K$) increases.
The energy descent plots provide empirical validation of the model's interpretability, showing the forward pass actively working to reduce the defined energy (representing smoothness and feature fidelity) as it progresses through layers.
Limitations and Future Directions
While MuseGNN represents a significant leap in scalable, interpretable GNNs, several areas for future work remain:
- Heterogeneous Graphs: The current focus is on homogeneous graphs; extending this to multi-type node/edge systems is a natural next step.
- Sampling Dependencies: Theoretical convergence guarantees currently rely on "offline" (pre-computed) sampling. While online sampling works empirically, the theory needs further development.
- Memory Footprint: Maintaining the global summary embedding $M$ requires $O(nd)$ memory. While efficient, this remains a consideration for graphs with billions of nodes.
Source code is available at: https://github.com/haitian-jiang/MuseGNN
Summary updated