Skip to main content
QUICK REVIEW

[Paper Review] Stochastic Aggregation in Graph Neural Networks

Yuanqing Wang, Theofanis Karaletsos|arXiv (Cornell University)|Feb 25, 2021
Advanced Graph Neural NetworksComputer Science24 references7 citations
TL;DR

This paper proposes Stochastic Aggregation (STAG), a unifying framework that injects adaptive noise into edge weights during message passing in Graph Neural Networks (GNNs), enhancing expressiveness and mitigating over-smoothing. STAG improves performance across citation and molecular graph benchmarks, with variational inference variants achieving state-of-the-art results with minimal computational overhead.

ABSTRACT

Graph neural networks (GNNs) manifest pathologies including over-smoothing and limited discriminating power as a result of suboptimally expressive aggregating mechanisms. We herein present a unifying framework for stochastic aggregation (STAG) in GNNs, where noise is (adaptively) injected into the aggregation process from the neighborhood to form node embeddings. We provide theoretical arguments that STAG models, with little overhead, remedy both of the aforementioned problems. In addition to fixed-noise models, we also propose probabilistic versions of STAG models and a variational inference framework to learn the noise posterior. We conduct illustrative experiments clearly targeting oversmoothing and multiset aggregation limitations. Furthermore, STAG enhances general performance of GNNs demonstrated by competitive performance in common citation and molecule graph benchmark datasets.

Motivation & Objective

  • To address over-smoothing and limited expressiveness in GNNs caused by deterministic aggregation mechanisms.
  • To unify existing regularization techniques like Dropout, DropEdge, and Graph DropConnect under a single stochastic framework.
  • To develop a variational inference-based STAG variant where noise parameters are jointly learned with model parameters.
  • To empirically validate STAG’s effectiveness on standard GNN benchmarks, including citation and molecular graphs.
  • To demonstrate that stochasticity in edge weights enhances generalization and model robustness without significant computational cost.

Proposed method

  • STAG replaces deterministic aggregation with stochastic edge weight sampling from a noise distribution during each message-passing step.
  • Noise is injected by perturbing edge weights using continuous distributions (e.g., Normal(1,1)) or discrete distributions (e.g., Bernoulli), enabling stochastic reweighting of neighborhood messages.
  • For training, gradients are estimated via Monte Carlo sampling, enabling end-to-end backpropagation without bias.
  • A variational inference (VI) framework is introduced where the parameters of the noise distribution are learned as variational parameters, potentially conditioned on node features and graph structure.
  • The predictive posterior at inference is obtained by marginalizing over the learned edge weight distributions.
  • The framework is implemented efficiently in PyTorch and DGL, with a one-line modification to message-passing operations.

Experimental results

Research questions

  • RQ1Can stochastic perturbation of edge weights in GNNs improve model expressiveness and reduce over-smoothing compared to deterministic aggregation?
  • RQ2How does STAG compare to existing regularization methods like Dropout, DropEdge, and Graph DropConnect in terms of performance and generalization?
  • RQ3Can a variational inference framework for learning noise parameters enhance GNN performance across diverse graph-structured tasks?
  • RQ4Does injecting continuous noise distributions (e.g., Normal) outperform discrete distributions (e.g., Bernoulli) in STAG, especially when normalization is not applied?
  • RQ5Can STAG generalize across different graph types, such as citation networks and molecular graphs, with consistent performance gains?

Key findings

  • STAG with continuous noise distributions (e.g., Normal(1,1)) outperforms deterministic baselines and discrete noise variants on Cora and Citeseer, with consistent improvements across multiple runs.
  • The variational inference variant, STAG_VI, consistently outperforms non-adaptive STAG and Graph DropConnect on both citation and molecular graph benchmarks.
  • The most expressive STAG_VI variant, which learns edge- and feature-specific noise parameters, achieves state-of-the-art performance on ESOL and FreeSolv datasets.
  • STAG incurs only a 5.9 to 9.3 ms increase in training iteration time per forward pass on a V100 GPU, demonstrating its lightweight nature.
  • Normalization operations degrade performance when used with continuous noise distributions, suggesting that STAG’s noise injection is inherently stable without such corrections.
  • The framework generalizes well across graph types, showing consistent gains on both social network and molecular graph datasets.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.