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

Sparse Bayesian Message Passing under Structural Uncertainty

Yoonhyuk Choi, Jiho Choi, Chanran Kim, Yumin Lee, Hawon Shin, Yeowon Jeon, Minjeong Kim, Jiwoo KangarXiv 2026

TL;DR

Graph Neural Networks (GNNs) often fail when graph structures are noisy or "heterophilic" (where connected nodes have different labels). This paper introduces SpaM (Sparse Bayesian Message Passing), a framework that models structural uncertainty by treating the graph as a distribution over signed adjacency matrices (positive, negative, or absent edges). By combining Bayesian marginalization with local sparse coding, SpaM achieves state-of-the-art robustness against structural noise and label disassortativity.

What Problem Does This Paper Address?

Standard GNNs operate under the homophily assumption—the idea that connected nodes tend to share the same attributes or labels. However, real-world graphs are frequently heterophilic (e.g., fraud networks where fraudsters link to victims, or dating networks connecting different genders) and riddled with structural noise (spurious or missing edges).

When traditional GNNs pass messages across these deceptive or noisy edges, they suffer from "oversmoothing" (where node representations become indistinguishable) and severe performance drops. Existing heterophily-aware GNNs typically operate on a fixed, deterministic graph structure, making them highly sensitive to adversarial attacks or random edge corruptions. SpaM addresses this by treating the graph structure itself as a latent random variable, embracing structural uncertainty rather than trying to ignore or eliminate it.

Methods

SpaM introduces a unified Bayesian framework that reformulates message passing through three core components:

  1. Structural Uncertainty & Sampling: Instead of relying on a fixed adjacency matrix, SpaM uses a Variational Graph Autoencoder (VGAE) to learn a parametric posterior distribution over signed adjacency matrices $Z \in \{-1, 0, +1\}^{n \times n}$. Edges are probabilistically categorized as positive (supportive/homophilic), negative (opposing/heterophilic), or absent.
  2. Sparse & Signed Aggregation ($S^2$ Layer): For each sampled graph, nodes treat their neighbors as a local dictionary and solve a local LASSO (sparse coding) problem. This forces the network to select only a compact, highly informative subset of neighbors. Messages are then aggregated using a sign-aware rule: positive neighbors contribute additively, while negative neighbors are subtracted, explicitly canceling out heterophilic interference.
  3. Prediction & Joint Training: Multiple layers are stacked, and final node classifications are averaged over $K$ Monte Carlo samples drawn from the structural posterior. The entire pipeline is trained end-to-end by optimizing a joint loss function that balances classification accuracy, neighbor sparsity, and structural regularization (ELBO).
SpaM Architecture Overview

Datasets

The authors evaluated SpaM across a diverse set of graph benchmarks:

  • Heterophilic Benchmarks: Roman-Empire, Minesweeper, Amazon-Ratings, Chameleon, Squirrel, Actor, Cornell, Texas, and Wisconsin.
  • Large-Scale Heterophilic Graphs: Penn94, arXiv-year, and snap-patents.
  • Homophilic Benchmarks: Cora, Citeseer, and Pubmed (included to verify that the framework does not degrade performance in standard assortative settings).

Key Insights and Ideas

  • Embrace the Ambiguity: Instead of committing to a single "denoised" graph layout, maintaining a full posterior distribution over multiple plausible graph structures allows the model to express epistemic uncertainty about edge existence and polarity.
  • LASSO as a Neighbor Filter: Incorporating local sparse coding directly into the message-passing loop provides an elegant inductive bias. It restricts message mixing to a sparse subset of neighbors, which naturally mitigates oversmoothing even as network depth increases.
  • The Power of Negative Messages: Treating heterophilic connections as negative relations (subtracting their features) actively pushes embeddings of different classes apart, expanding inter-cluster margins in the latent space.

Key Results

  • Superiority on Heterophily: SpaM consistently outperformed strong baselines (such as H2GCN, GPRGNN, and GCNII) across heterophilic datasets. It achieved particularly pronounced gains on strongly heterophilic web page graphs like Cornell (70.8% accuracy vs. GCN's 39.9%) and Texas.
  • Robustness to Perturbations: SpaM demonstrated remarkable resilience against random edge deletions, additive feature noise, and targeted adversarial edge attacks. While baseline GNNs degraded rapidly under structural noise, SpaM maintained stable performance.
Robustness under edge deletions
  • Versatility: On classic homophilic datasets like Cora and Citeseer, SpaM actually outperformed standard GCN and GAT, proving that its structural inference safely adapts to clean, assortative graphs without sacrificing accuracy.

Limitations and Future Work

  • Computational Overhead: Drawing multiple Monte Carlo samples ($K$ times per forward pass) and solving local sparse coding approximations for every node increases the computational footprint compared to standard deterministic GNNs.
  • Dependence on Posterior Quality: SpaM's effectiveness hinges heavily on the expressiveness and calibration of the learned structural posterior. If the initial VGAE fails to capture meaningful patterns, the downstream sparse signed layers receive poor guidance.
  • Future Directions: The authors suggest scaling SpaM to extremely large or temporal/dynamic graphs and exploring more efficient inference mechanisms to reduce the training and inference overhead.

Summary updated

BibTeX
@misc{choi2026sparse,
  author = {Yoonhyuk Choi and Jiho Choi and Chanran Kim and Yumin Lee and Hawon Shin and Yeowon Jeon and Minjeong Kim and Jiwoo Kang},
  title = {{Sparse Bayesian Message Passing under Structural Uncertainty}},
  year = {2026},
  eprint = {2601.01207},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2601.01207},
}
Figure