GraphAdaMix: Enhancing Node Representations with Graph Adaptive Mixtures

Da Sun Handason Tam, Siyue Xie, Wing Cheong LauAISTATS 2022

Abstract

Standard Graph Neural Networks (GNNs) typically rely on global parameter sharing, which can limit their expressivity in graphs with diverse local structures or isomorphic nodes. We introduce GraphAdaMix (Graph Adaptive Mixtures), a framework that utilizes a mixture of $K$ independent GNN models for each node. By adaptively learning node-specific mixture weights, GraphAdaMix overcomes the limitations of traditional parameter sharing. Our approach demonstrates consistent improvements over state-of-the-art GNNs in both semi-supervised and unsupervised tasks across various benchmarks, including citation networks and large-scale OGB datasets.

Introduction

Most contemporary Graph Neural Networks (GNNs) utilize a parameter-sharing scheme, applying identical learned weights across all nodes in a graph. While efficient, this approach introduces a significant bottleneck: standard GNNs struggle to distinguish between isomorphic nodes—nodes with identical local structures that may belong to different classes. Furthermore, real-world graphs often encompass diverse contexts where a single set of parameters is suboptimal.

GraphAdaMix breaks the symmetry of isomorphic nodes by using mixtures of independent GNNs.

Previous attempts to address this, such as "Network Lasso," assigned unique parameters to every node, which is computationally prohibitive for large-scale graphs. GraphAdaMix provides a scalable middle ground by maintaining a small set of independent models and learning how to mix them for each node.

Methodology

GraphAdaMix maintains $K$ independent GNN models. Each node $i$ is assigned a trainable mixture distribution $\pi_i$ that determines the contribution of each model to the final representation.

Semi-supervised Learning via EM

In the semi-supervised setting, GraphAdaMix is optimized using an Expectation-Maximization (EM) approach:

  • E-step: The model estimates the posterior probability of which GNN model best explains a node's label given current parameters.
  • M-step: GNN parameters and mixture weights are updated to maximize the expected log-likelihood.
The Expectation-Maximization (EM) training paradigm for GraphAdaMix.

To leverage graph homophily, the authors introduce Mixture Propagation, a regularization technique using Jensen-Shannon divergence to ensure neighboring nodes have similar mixture distributions.

Unsupervised Learning

For unsupervised tasks, GraphAdaMix is integrated into the Bootstrapped Graph Latent (BGRL) framework. It employs "online" and "target" encoders, both structured as mixtures of GNNs, to learn representations by maximizing similarity between augmented views of the graph.

Experimental Results

The framework was evaluated on ten benchmark datasets, including citation networks (Cora, Citeseer, Pubmed) and large-scale OGB datasets (ogbn-arxiv, ogbn-products).

Performance Gains

GraphAdaMix consistently enhances the performance of base architectures like GCN, GAT, and GraphSAGE. In unsupervised settings, BGRL-GraphAdaMix achieved state-of-the-art results on WikiCS (81.72%) and Amazon Computers (89.73%), outperforming several supervised baselines.

Specialization and Scalability

Visualizations using t-SNE confirm that different GNNs in the mixture specialize in distinct regions of the feature space. While using $K$ models increases computational overhead, choosing a small $K$ (e.g., 2 or 4) provides a scalable way to increase model capacity without the extreme cost of per-node parameterization.

Discussion and Limitations

GraphAdaMix effectively "breaks the symmetry" of isomorphic nodes by allowing different mixture weights for structurally identical nodes. However, the approach has limitations:

  • Computational Overhead: Training $K$ models increases time and memory complexity.
  • Overfitting: Larger values of $K$ (e.g., $K=8$) can lead to performance degradation on smaller datasets.
  • Homophily Assumption: Mixture Propagation assumes neighbors are similar, which may not hold for heterophilous graphs.

Future work includes exploring more sophisticated regularization for mixture parameters and extending the framework to heterophilous graph structures.

Summary updated

BibTeX
@inproceedings{tam2022graphadamix,
  author = {Da Sun Handason Tam and Siyue Xie and Wing Cheong Lau},
  title = {{GraphAdaMix: Enhancing Node Representations with Graph Adaptive Mixtures}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2022},
}
Figure