NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

MuseGNN: Forming Scalable, Convergent GNN Layers that Minimize a Sampling-Based Energy

Haitian Jiang, Renjie Liu, Zengfeng Huang, Yichuan Wang, Xiao Yan, Zhenkun Cai, Minjie Wang, David Wipf

Graph Neural Networks (GNNs) have revolutionized how we model relational data, but they often face a "black box" problem. A sophisticated subclass of models called Unfolded GNNs (UGNNs) solves this by designing layers that explicitly minimize a mathematical "energy function." This makes them interpretable and robust against issues like oversmoothing. However, there is a catch: they are notoriously difficult to scale to massive, real-world graphs.

In their recent paper, researchers introduce MuseGNN, a framework that finally brings the theoretical elegance of UGNNs to the terabyte scale.

TL;DR

MuseGNN introduces a scalable architecture for "unfolded" GNNs by redesigning their layers to minimize a sampling-based energy function. It achieves state-of-the-art accuracy on massive benchmarks (including the 1.15TB IGB-full dataset) while maintaining the interpretability and convergence guarantees that traditional GNNs lack.

What Problem Does This Paper Address?

Most GNNs rely on "message passing," where nodes simply average information from their neighbors. While effective, this process is hard to analyze mathematically. UGNNs offer a more principled alternative: each layer is treated as a step in an optimization algorithm (like gradient descent) intended to minimize a "graph-regularized energy function." This energy function balances two things: keeping node features close to their original values and ensuring neighboring nodes have similar embeddings.

However, minimizing these functions across a whole graph is computationally expensive. When graphs grow to hundreds of millions of nodes, they cannot fit in memory. Standard scaling tricks, like neighbor sampling, often break the mathematical "unfolding" logic, leading to models that are either slow to converge or lose their theoretical rigor.

Comparison of GNN architectures

As shown above, previous methods force a tradeoff. Standard GNNs with neighbor sampling (GNN+NS) scale well but lack convergence guarantees and energy descent properties. Previous UGNNs have these guarantees but fail to handle large graphs (LGs). MuseGNN is the first to check all the boxes.

Methods

The core innovation of MuseGNN is the Sampling-Based Energy Function. Instead of trying to minimize energy across the entire graph at once, the authors define a new energy function that operates over a fixed set of sampled subgraphs.

Key technical components include:

  • Latent Summary Variables ($M$): Since a single node might appear in multiple sampled subgraphs, MuseGNN introduces a "shared summary embedding" ($M$) that acts as a global anchor, linking different versions of the same node across subgraphs.
  • Alternating Minimization: The forward pass of the network alternates between updating subgraph-specific embeddings and refining the global summary $M$.
  • Online Mean Estimator: To keep the process efficient, the global summary is updated using an online estimator with a "forgetting factor," allowing the model to scale without massive memory overhead.
  • Theoretical Convergence: Unlike many heuristic GNNs, the authors provide proofs showing that their training pipeline actually converges to a global minimum of the combined system.
Energy descent across layers

This convergence is not just theoretical. As the model depth (number of layers) increases, the log-energy reliably descends and stabilizes across different penalty factors ($\gamma$), proving the efficacy of the unfolded layer design.

Key Insights and Ideas

  • Expressivity Through Sampling: One of the most surprising findings in the paper is that sampling-based energy can actually be more expressive than full-graph energy. The authors demonstrate that MuseGNN can distinguish between certain non-isomorphic graphs that standard GNNs (and even full-graph energy versions) find identical.
  • Deterministic Substructures: By using offline sampling (sampling subgraphs once before training), the authors create a deterministic energy landscape. This allows for formal convergence analysis that is agnostic to the specific sampling method used.
  • Oversmoothing Mitigation: Because the architecture is derived from an energy function that penalizes deviations from input features, MuseGNN can be built with many layers without the embeddings collapsing into a useless, uniform blur.

Datasets and Key Results

The authors evaluated MuseGNN across a wide spectrum of graph sizes, from small datasets like ogbn-arxiv (170k nodes) to massive giants like MAG240M (244M nodes) and IGB-full. The latter is currently the largest publicly available node classification benchmark, exceeding 1.15TB in size with 269M nodes and 4B edges.

  • State-of-the-Art Performance: MuseGNN is currently the top-performing homogeneous graph model on the MAG240M (67.67% accuracy) and IGB-full (61.74% accuracy) leaderboards.
  • Efficiency: Despite its mathematical complexity, MuseGNN trains at speeds comparable to standard neighbor-sampling GNNs (like GraphSAGE) and is significantly faster and more memory-efficient than previous attempts to scale UGNNs (like LazyGNN).
  • Stability: The model shows stable performance across datasets of vastly different sizes using a single, fixed architecture.

Limitations and Future Work

  • Homogeneous Focus: The current work focuses primarily on homogeneous graphs (where all nodes and edges are of the same type). While the authors suggest extensions for heterogeneous graphs, those were not the primary focus of this specific study.
  • Memory for Mean Vectors: While scalable, the model still requires $O(nd)$ storage for the mean vectors $M$. While modest compared to other methods, it remains an additional requirement.
  • Hyperparameter Tuning: The model introduces several parameters (like $\gamma$ for the penalty factor and $\lambda$ for smoothness) that require careful tuning to balance feature preservation versus graph smoothing.

For those interested in the implementation, the source code is available at https://github.com/haitian-jiang/MuseGNN.

Summary updated

BibTeX
@inproceedings{jiang2025musegnn,
  author = {Haitian Jiang and Renjie Liu and Zengfeng Huang and Yichuan Wang and Xiao Yan and Zhenkun Cai and Minjie Wang and David Wipf},
  title = {{MuseGNN: Forming Scalable, Convergent GNN Layers that Minimize a Sampling-Based Energy}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=Gq7RDMeZi4},
}
Figure