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

Are Graph Transformers Necessary? Efficient Long-Range Message Passing with Fractal Nodes in MPNNs

Jeongwhan Choi, Seungjun Park, Sumin Park, Sung-Bae Cho, Noseong Park

Abstract

Graph Neural Networks (GNNs) have emerged as powerful tools for learning on graph-structured data, but often struggle to balance local and global information. While graph Transformers aim to address this by enabling long-range interactions, they often overlook the inherent locality and efficiency of Message Passing Neural Networks (MPNNs). We propose a new concept called 'fractal nodes', inspired by the fractal structure observed in real-world networks. Our approach is based on the intuition that graph partitioning naturally induces fractal structure, where subgraphs often reflect the connectivity patterns of the full graph. Fractal nodes are designed to coexist with the original nodes and adaptively aggregate subgraph-level feature representations, thereby enforcing feature similarity within each subgraph. We show that fractal nodes alleviate the over-squashing problem by providing direct shortcut connections that enable long-range propagation of subgraph-level representations. Experiment results show that our method improves the expressive power of MPNNs and achieves comparable or better performance to graph Transformers while maintaining the computational efficiency of MPNN by improving the long-range dependencies of MPNN.

Introduction

Graph Neural Networks generally fall into two categories: Message Passing Neural Networks (MPNNs) and Graph Transformers. MPNNs are highly efficient and excel at capturing local structures, but they suffer from over-squashing—a phenomenon where information from distant nodes is excessively compressed or lost as it traverses multiple layers. Conversely, Graph Transformers effectively capture long-range dependencies by allowing all-to-all attention, but they incur a quadratic computational complexity ($O(N^2)$) and often neglect the natural local hierarchy of graphs.

This paper introduces Fractal Nodes (FN), a simple yet powerful plug-in for MPNNs that provides the long-range capabilities of Graph Transformers without their prohibitive cost. By leveraging the concept of fractals—structures where parts reflect the whole—the authors enable efficient global information flow while maintaining the linear scalability of traditional GNNs.

Methodology: The MPNN-FN Framework

The proposed MPNN-FN framework enhances standard MPNNs through a three-step process designed to facilitate long-range communication:

  1. Graph Partitioning: The input graph is divided into several disjoint subgraphs using the METIS algorithm, which minimizes edge cuts to preserve local clusters.
  2. Fractal Node Insertion: For every subgraph, a "fractal node" is added. This node is connected to every original node within its specific subgraph, acting as a high-speed "shortcut" for intra-subgraph information.
  3. Adaptive Feature Aggregation: Fractal nodes do not merely average features. They utilize Low-Pass Filtering (LPF) to capture global signals and High-Pass Filtering (HPF) to retain local variations. In the final layer (the $FN_M$ variant), an MLP-Mixer allows these fractal nodes to communicate with one another, enabling inter-subgraph long-range interactions.
The MPNN-FN framework: partitioning, fractal node insertion, and inter-subgraph communication.

The total complexity remains $O(L(|V| + |E|))$, ensuring the model scales linearly with the size of the graph.

Theoretical Insights

The "Shortcut" Effect and Over-squashing

Mathematically, fractal nodes reduce the effective resistance between distant nodes. By providing a central hub for each subgraph, the path length between any two nodes in the graph is drastically reduced. This directly addresses the over-squashing bottleneck, allowing signals to propagate across the network with minimal distortion.

Fractal Intuition and Expressive Power

The authors demonstrate that subgraphs produced by partitioning often share structural properties, such as centrality distributions, with the original graph. This justifies the "fractal" nomenclature: the representative nodes form a simplified version of the global connectivity pattern.

Conceptual mapping of subgraphs to a simplified representative structure.

Furthermore, the paper proves that adding fractal nodes makes MPNNs more expressive than the standard Weisfeiler-Lehman (1-WL) isomorphism test. This allows the model to distinguish complex graph structures that standard GNNs are theoretically unable to differentiate.

Experimental Evaluation

The researchers evaluated MPNN-FN across a wide variety of benchmarks, ranging from synthetic tasks to large-scale real-world datasets:

  • Long-Range Benchmarks (LRGB): On the Peptides-func dataset, GINE+${FN}_M$ achieved an Average Precision of 0.7018, outperforming state-of-the-art Transformers like GraphGPS (0.6534) and Exphormer (0.6527).
  • Scalability: While many Graph Transformers suffer from Out-of-Memory (OOM) errors on large graphs, MPNN-FN successfully processed the ogbn-products dataset (2.4M nodes), improving GraphSAGE's accuracy from 78.29% to 83.11%.
  • Efficiency: Training time and memory usage for GCN+FN were nearly identical to a standard GCN, demonstrating that long-range dependencies can be captured without significant overhead.
  • Over-squashing Test: In the Tree-Neighbor-Match task, standard MPNNs failed at tree depths greater than 4. In contrast, the inclusion of fractal nodes allowed the model to maintain accuracy up to a depth of 7.

Conclusion

Fractal Nodes offer a compelling alternative to Graph Transformers for tasks requiring long-range reasoning. By integrating subgraph-level representative nodes into the message-passing paradigm, MPNN-FN achieves state-of-the-art performance while remaining computationally efficient. Future work may explore learnable partitioning or task-specific clustering to further refine how fractal nodes aggregate and distribute information across complex topologies.

Summary updated

BibTeX
@inproceedings{choi2026are,
  author = {Jeongwhan Choi and Seungjun Park and Sumin Park and Sung-Bae Cho and Noseong Park},
  title = {{Are Graph Transformers Necessary? Efficient Long-Range Message Passing with Fractal Nodes in MPNNs}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2026},
  doi = {10.1609/aaai.v40i25.39191},
}
Figure