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

Sign is Not a Remedy: Multiset-to-Multiset Message Passing for Learning on Heterophilic Graphs

Langzhang Liang, Sunwoo Kim, Kijung Shin, Zenglin Xu, Shirui Pan, Yuan Qi

Introduction

Graph Neural Networks (GNNs) have traditionally relied on the assumption of homophily, where connected nodes share similar features or labels. However, real-world networks often exhibit heterophily, where edges connect nodes from different classes—such as in fraud detection or protein-protein interaction networks. While early attempts to adapt GNNs to heterophilic settings introduced Signed Message Passing (SMP)—using negative weights for dissimilar neighbors—this approach faces significant theoretical and practical hurdles.

In this paper, the authors demonstrate that SMP is insufficient for multi-class heterophilic graphs. They identify two primary failures: the "multi-hop trap" and the "oversmoothing bottleneck." To address these, they propose M2M-GNN, a Multiset-to-Multiset framework that preserves distinct neighbor signals through class-specific "chunking."

The Limitations of Signed Message Passing

Signed Message Passing was designed to "push" dissimilar node embeddings apart using negative edge weights. However, the authors identify two critical flaws in this logic:

  1. The Multi-hop Trap: In a multi-class environment, local "correctness" (e.g., a negative weight between class A and class B) does not guarantee global desirability. Over multiple layers, the cumulative effect of negative signs can lead to unintended positive correlations between different classes (e.g., if A to B is negative and B to C is negative, the 2-hop connection from A to C incorrectly becomes positive).
  2. The Oversmoothing Bottleneck: Most GNNs, including SMP variants, use a "multiset-to-element" (m-2-e) aggregation scheme. This squashes all incoming neighbor information into a single vector. In heterophilic graphs, this inevitably mixes signals from different classes, causing embeddings to converge and become indistinguishable as the network depth increases.

M2M-GNN: A Multiset-to-Multiset Approach

To overcome the limitations of m-2-e aggregation, the proposed M2M-GNN shifts the paradigm to a Multiset-to-Multiset (m-2-m) mapping. Instead of collapsing neighbor features into one vector, M2M-GNN partitions them into $C$ distinct "chunks," where $C$ corresponds to the number of classes.

Architectural Innovations

  • Chunking and Routing: The model organizes neighbor information into specialized containers. By maintaining separate chunks for different neighbor types, the model prevents the destructive mixing of features.
  • Soft-Label Attention: Since neighbor classes are unknown during inference, M2M-GNN employs an attention mechanism to predict "soft labels." These labels route neighbor features into the appropriate chunks based on their perceived class.
  • Concatenation over Summation: Unlike standard GNNs that sum or average neighbor signals, M2M-GNN concatenates the chunks. This preserves the high-dimensional diversity of the signals, ensuring that information from different classes remains separable.
  • Diversity Regularization ($L_{reg}$): To ensure the attention mechanism effectively utilizes all available chunks, a regularization term is introduced. This prevents the model from collapsing all neighbors into a single chunk, maintaining the structural integrity of the m-2-m mapping.

Experimental Evaluation

The authors evaluated M2M-GNN against 12 baseline models across 11 datasets, including both heterophilic (e.g., Texas, Actor, Squirrel) and homophilic (e.g., Cora, Pubmed) graphs.

Performance and Robustness

M2M-GNN achieved the best average ranking across all benchmarks. Notably, it demonstrated remarkable resilience to oversmoothing. While traditional SMP-based models often see a sharp decline in performance beyond 8 or 16 layers, M2M-GNN remained stable and even improved in accuracy at depths of up to 64 layers on certain datasets like Cora.

Interpretability of Soft Labels

Visualizations of the learned attention weights indicate that the model successfully learns to group neighbors of the same class into the same chunks. This suggests that M2M-GNN effectively recovers the underlying class structure of the graph without requiring explicit supervision of neighbor labels.

Conclusion

The transition from multiset-to-element to multiset-to-multiset message passing represents a significant step forward for GNNs on heterophilic graphs. By proving that "signs are not a remedy" and providing a robust alternative through chunking and concatenation, M2M-GNN offers a scalable and theoretically sound framework for complex graph learning tasks. While the model introduces some computational overhead due to the increased parameter count of the chunking mechanism, its ability to maintain discriminative features at great depth makes it a powerful tool for non-homophilic data.

Summary updated

BibTeX
@inproceedings{liang2024sign,
  author = {Langzhang Liang and Sunwoo Kim and Kijung Shin and Zenglin Xu and Shirui Pan and Yuan Qi},
  title = {{Sign is Not a Remedy: Multiset-to-Multiset Message Passing for Learning on Heterophilic Graphs}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=dGDFZM018a},
}
Figure