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

Non-Redundant Graph Neural Networks with Improved Expressiveness

Franka Bause, Samir Moustafa, Johannes Langguth, Wilfried N. Gansterer, Nils M. Kriege

Abstract

Message passing neural networks iteratively generate node embeddings by aggregating information from neighboring nodes. With increasing depth, information from more distant nodes is included. However, node embeddings may be unable to represent the growing node neighborhoods accurately and the influence of distant nodes may vanish, a problem referred to as oversquashing. Information redundancy in message passing, i.e., the repetitive exchange and encoding of identical information amplifies oversquashing. We develop a novel aggregation scheme based on neighborhood trees, which allows for controlling redundancy by pruning redundant branches of unfolding trees underlying standard message passing. While the regular structure of unfolding trees allows the reuse of intermediate results in a straightforward way, the use of neighborhood trees poses computational challenges. We propose compact representations of neighborhood trees and merge them, exploiting computational redundancy by identifying isomorphic subtrees. From this, node and graph embeddings are computed via a neural architecture inspired by tree canonization techniques. Our method is less susceptible to oversquashing than traditional message passing neural networks and can improve the accuracy on widely used benchmark datasets.

Introduction

Modern Graph Neural Networks (GNNs) predominantly rely on Message Passing Neural Networks (MPNNs). While powerful, MPNNs face two critical challenges: oversquashing and redundancy. Oversquashing occurs as networks deepen to capture long-range dependencies; the exponential growth of neighborhood information must be compressed into a fixed-size vector, causing distant node signals to vanish. Redundancy exacerbates this, as standard message passing often involves "tottering"—the repetitive exchange of identical information between adjacent nodes.

This paper introduces DAG-MLP, an architecture designed to address these "two sides of redundancy." By pruning repetitive paths into "neighborhood trees" and merging them into compact Directed Acyclic Graphs (DAGs), the authors enhance expressivity beyond the standard 1-Weisfeiler-Leman (1-WL) test while mitigating the information bottleneck.

Methodology

The core of the proposed approach involves three key components:

$k$-redundant Neighborhood Trees ($k$-NTs)

Standard MPNNs can be viewed as aggregating information over "unfolding trees" that represent the paths of message passing. To eliminate tottering and repetitive flow, the authors introduce $k$-NTs. A $k$-NT prunes any subtree whose root has already appeared within $k$ levels closer to the target node. This focused pruning reduces noise and allows the model to capture unique structural features from greater distances.

Graph G and its unfolding trees F_2^v for all nodes v.

Neural Tree Canonization

To ensure structural consistency, the authors developed a bottom-up neural scheme inspired by the AHU algorithm for tree isomorphism. This ensures that structurally identical neighborhood trees are mapped to the same embedding, providing a robust foundation for graph representation.

DAG-MLP Architecture

While pruning reduces information redundancy, it introduces computational challenges because the regular structure of unfolding trees is lost. To exploit computational redundancy, the authors merge the neighborhood trees of all nodes into a single, compact Directed Acyclic Graph (DAG). By identifying and merging isomorphic subtrees, the DAG-MLP computes embeddings once and reuses them, reducing the complexity from exponential to polynomial ($O(nm)$).

Key Insights

  • Strategic Pruning: Pruning is treated as a feature that reduces noise, enabling the model to "see" further into the graph without being overwhelmed by local repetition.
  • Redundancy Trade-off: The work distinguishes between information redundancy (detrimental to learning) and computational redundancy (exploitable for efficiency).
  • Expressivity: The authors prove that $k$-NTs are "incomparable" to the 1-WL test, meaning they can distinguish certain graph structures that 1-WL cannot, and vice versa.

Empirical Evaluation

The DAG-MLP was evaluated across synthetic and real-world benchmarks:

  • Expressivity: On datasets like EXP-Class and CSL, where standard GNNs (e.g., GIN) fail, DAG-MLP achieved 100% accuracy.
  • Heterophily: The model excelled on heterophily datasets (e.g., Texas), reaching ~85.7% accuracy, significantly outperforming standard GCNs (~58%).
  • Oversquashing Mitigation: Theoretical and empirical analysis confirmed that $k$-NTs provide higher relative influence for distant nodes compared to standard MPNNs.
  • Scalability: Despite the complexity of tree construction, the DAG-based approach remains efficient, with preprocessing times in the range of seconds for standard datasets.

Conclusion

DAG-MLP offers a principled way to improve GNN expressiveness and combat oversquashing by managing redundancy. While $k$-NTs are not a complete graph invariant, they provide a powerful alternative to standard message passing. Future work may explore integrating this DAG-based approach with attention mechanisms or Transformers to further enhance performance on large-scale graph tasks.

Summary updated

BibTeX
@inproceedings{bause2023non,
  author = {Franka Bause and Samir Moustafa and Johannes Langguth and Wilfried N. Gansterer and Nils M. Kriege},
  title = {{Non-Redundant Graph Neural Networks with Improved Expressiveness}},
  booktitle = {ECML/PKDD},
  year = {2023},
  url = {https://openreview.net/forum?id=rJxFFgZ7sO},
}
Figure