Graph Hierarchical Recurrence for Long-Range Generalization

Stefano Carotti, Marco Pacini, Alessio Gravina, Davide Bacciu, Bruno Lepri +1 more
5/18/2026
cs.LGcs.AI
gnn

No confident code implementation found for this paper.

Abstract

Graph Neural Networks and Graph Transformers have become central to graph learning, combining expressive representation learning with sample-efficient inductive biases. Yet they remain fundamentally limited when predictions depend on correlations between distant graph regions.

Show full abstract

We address this limitation with Graph Hierarchical Recurrence (GHR), a novel framework that jointly operates on the input graph and a pooled hierarchical abstraction. We also show that existing models degrade more sharply under out-of-range generalization, where test instances require interactions across distances exceeding those observed during training. Despite its minimal design, GHR consistently strengthens every tested message-passing backbone, yielding robust performance on long-range dependencies and particularly pronounced gains in out-of-range regimes. Across a broad suite of long-range benchmarks, GHR achieves state-of-the-art or competitive results on multiple tasks, establishing hierarchical recurrence as an effective mechanism for extending graph models beyond their observed interaction range.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{carotti2026graph,
  title  = {Graph Hierarchical Recurrence for Long-Range Generalization},
  author = {Stefano Carotti and Marco Pacini and Alessio Gravina and Davide Bacciu and Bruno Lepri and Sebastiano Bontorin},
  year   = {2026},
  eprint = {2605.18387},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.18387v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2605.18387.svg)](https://codeofpaper.com/paper/2605.18387)

Discussion