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

Memory-Based Message Passing: Decoupling the Message for Propagation from Discrimination

Jie Chen, Weiqi Liu, Jian Pu

TL;DR

This paper introduces Memory-based Message Passing (MMP), a novel GNN layer that separates a node's "memory" for propagating information from its "self-embedding" for discrimination. This decoupling helps GNNs perform better on heterophilous graphs (where connected nodes often have different labels) and noisy graph data by allowing nodes to adaptively manage incoming information.

What Problem Does This Paper Address?

Graph Neural Networks (GNNs) excel at learning from graph-structured data by passing messages between connected nodes. This process typically relies on the "homophily assumption" – that connected nodes share similar features or labels. This works well for homophilous graphs (like citation networks), but struggles with heterophilous graphs (common in social networks or biological data) where connections often link dissimilar nodes. In such cases, standard message passing can blur class boundaries and degrade performance, sometimes even performing worse than simple MLPs. The challenge is to design a message-passing mechanism that can effectively learn from both homophilous and heterophilous graphs, maintaining a node's discriminative power while still aggregating neighbor information.

Methods

The core innovation is the Memory-based Message Passing (MMP) mechanism. It decouples a node's representation into two parts:

  1. Memory Cell (C): This acts as a buffer for information intended for propagation to neighbors.
  2. Self-Embedding (H): This represents the node's intrinsic features, used for discrimination and downstream tasks.

During message passing, a node sends its memory cell content to its neighbors. The aggregation step is standard, but the update step is where MMP shines. Each node adaptively updates both its hidden embedding (H) and its memory cell (C) based on its previous state and the aggregated message. This update is governed by a learned control mechanism (a simple neural network) that determines how much of the incoming message to absorb into H and how much to store in C.

Furthermore, a decoupling regularization loss is introduced. This loss encourages the updates to the memory cell and the hidden embedding to be orthogonal, promoting diversity and independence between the information used for propagation and the information used for discrimination. This regularization helps prevent the two components from becoming intertwined.

Crucially, MMP is designed as a plug-in layer. It can be added to existing GNN architectures (like GCN or GAT) without altering their core structure, making it a versatile tool for improving performance.

Datasets

The paper evaluates MMP on a variety of real-world datasets, chosen to represent a spectrum of homophily ratios, from highly heterophilous to highly homophilous. These include:

  • Cora: A classic citation network dataset.
  • Citeseer: Another citation network dataset.
  • Texas: A dataset with a low homophily ratio.
  • Wisconsin: A dataset with a low homophily ratio.
  • Actor: A social network dataset with a low homophily ratio.
  • Squirrel: A dataset with a low homophily ratio.
  • Chameleon: A dataset with a low homophily ratio.
  • PubMed: A dataset with a high homophily ratio.

The authors note that they use the same datasets and splits as cited in previous works [8, 3] for fair comparison.

Key Insights and Ideas

  • Decoupling is Key: The fundamental insight is that separating the message for propagation from the feature for discrimination is crucial for handling complex graph structures, especially heterophilous ones.
  • Adaptive Information Flow: The learned control mechanism allows nodes to dynamically decide how much information to absorb from neighbors, preventing noisy or irrelevant signals from corrupting their discriminative features.
  • Robustness to Noise: The memory mechanism and decoupling regularization make MMP more robust to noisy graphs, where random edge additions can disrupt traditional message passing.
  • Generalizability: MMP's design as a plug-in layer means it can enhance a wide range of existing GNN models, offering a straightforward path to improved performance without a complete architectural overhaul.

Key Results

  • State-of-the-Art Performance: MMP, when integrated with GCN (GCN+MMP), achieves competitive or superior performance compared to state-of-the-art GNNs specifically designed for heterophilous graphs.
  • Superior Ranking: GCN+MMP achieved the highest average rank across all tested datasets, indicating its broad effectiveness.
  • Robustness Demonstrated: In experiments with randomly added edges (up to 500% of original edges), MMP showed significantly better prediction accuracy on highly noisy graphs compared to baselines.
  • Hyperparameter Sensitivity: The decoupling regularization parameter ($\lambda$) was found to be beneficial, especially on heterophilous datasets, though excessively large values could lead to performance degradation by discarding too much information.

Limitations and Future Work

  • Hyperparameter Tuning: While $\lambda$ is beneficial, finding the optimal value might require careful tuning, and very large values can be detrimental.
  • GRU for Control: The paper mentions that a recurrent model like GRU could be used for the control mechanism, which is left as future work. This could potentially offer more sophisticated adaptive control.
  • Empirical Performance: While the paper states that using H to update C yielded similar empirical results to using only M, further exploration into the interaction between H and C could be beneficial.
  • Generalization to Other Tasks: The current evaluation focuses on node classification. Extending MMP to other graph-related tasks like link prediction or graph classification would be a valuable next step.

Summary updated

BibTeX
@inproceedings{chen2022memory,
  author = {Jie Chen and Weiqi Liu and Jian Pu},
  title = {{Memory-Based Message Passing: Decoupling the Message for Propagation from Discrimination}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2022},
  url = {https://openreview.net/forum?id=jgApSLoPAa},
}
Figure