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

Graph Adaptive Autoregressive Moving Average Models

Moshe Eliasof, Alessio Gravina, Andrea Ceni, Claudio Gallicchio, Davide Bacciu, Carola-Bibiane Schönlieb

TL;DR

GRAMA (Graph Adaptive Autoregressive Moving Average) is a novel framework that brings the power of State Space Models (SSMs) to Graph Neural Networks (GNNs). By treating graph message passing as a learnable, selective ARMA process, GRAMA allows models to capture long-range dependencies efficiently while maintaining the crucial property of permutation equivariance.

The Challenge: Oversquashing and Complexity

Standard Message Passing Neural Networks (MPNNs) are inherently local; they aggregate information from immediate neighbors. To capture "long-range" interactions—information from nodes many hops away—you typically need to stack many layers. However, this leads to oversquashing, where information from a distant part of the graph is compressed into a fixed-size vector, losing critical detail.

While Graph Transformers can solve this by allowing every node to attend to every other node, they suffer from quadratic computational complexity ($O(N^2)$), making them impractical for large graphs. Recently, State Space Models (SSMs) like Mamba have emerged as linear-complexity alternatives for sequences. The challenge is that graphs are not sequences. Previous attempts to "linearize" graphs (e.g., by sorting nodes) often break permutation equivariance—the requirement that the model's output shouldn't change just because you reordered the node IDs in your data.

The GRAMA Framework

The authors introduce GRAMA, which transforms a static graph into a sequence of graph states. Instead of trying to order the nodes into a line, they "unroll" the graph's representation over an internal sequence dimension.

GRAMA Architecture

Core Components

  1. Graph-to-Sequence Initialization: The initial node features are stacked $L$ times (where $L$ is a hyperparameter for sequence length). Different MLPs are applied to each "time step" to create an initial sequence of graph states.
  2. Adaptive ARMA Layers: The model implements a classic Autoregressive Moving Average (ARMA) recurrence. The "Autoregressive" part looks at previous graph states, while the "Moving Average" part looks at previous residuals (errors).
  3. Selective Attention Mechanism: Inspired by Mamba, GRAMA doesn't use fixed ARMA coefficients. Instead, it uses a lightweight attention mechanism to compute input-dependent coefficients. This allows the model to dynamically decide which past states or residuals are important for the current update based on the specific graph structure.
  4. Backbone Agnostic: GRAMA is designed as a "drop-in" block. It can be wrapped around any existing GNN architecture (like GCN, GatedGCN, or even a Transformer) to enhance its long-range capabilities.

Key Insights

  • The ARMA-SSM Equivalence: A major theoretical contribution of the paper is proving that any ARMA model has an equivalent SSM representation. This provides a solid mathematical bridge between classical control theory and modern graph learning.
  • Solving Oversquashing via Dynamics: By treating the evolution of node features as a dynamical system, GRAMA can propagate information across many hops without the exponential decay or "squashing" seen in standard MPNNs.
  • Equivariance by Design: Because the sequence dimension is "internal" to the node representations and the message passing remains graph-aware, the model remains perfectly permutation-equivariant.

Key Results

The authors evaluated GRAMA on a massive suite of 26 datasets, including synthetic benchmarks, the Long-Range Graph Benchmark (LRGB), standard GNN benchmarks, and heterophilic datasets.

Long-Range Propagation Performance
  • Superior Long-Range Propagation: In the Graph Feature Transfer task, where a label must be moved 50 hops across a graph, GRAMA + GCN achieved near-zero error. In contrast, standard GCNs and GATs failed completely to bridge this distance.
  • Performance Boosts: On the Peptides-func dataset (a key long-range benchmark), GRAMA boosted a simple GCN backbone from 59.30 to 70.93 AP—an 11-point jump that makes it competitive with state-of-the-art Transformers.
  • Efficiency: GRAMA maintains the asymptotic complexity of its underlying backbone. It is significantly faster and more memory-efficient than full-attention Graph Transformers on larger graphs, avoiding the "Out of Memory" (OOM) errors that frequently plague Transformers.

Limitations and Future Work

While powerful, GRAMA introduces new hyperparameters, such as the sequence length ($L$) and the number of blocks ($S$), which require careful tuning. Additionally, stacking features $L$ times increases the memory footprint of the node representations by a factor of $L$. While still better than $O(N^2)$, it remains a trade-off. Finally, while the framework is built on sequential processing, the current focus is primarily on static graphs. Extending this to true spatio-temporal (dynamic) graphs is a promising direction for future research.

Summary updated

BibTeX
@inproceedings{eliasof2025graph,
  author = {Moshe Eliasof and Alessio Gravina and Andrea Ceni and Claudio Gallicchio and Davide Bacciu and Carola-Bibiane Schönlieb},
  title = {{Graph Adaptive Autoregressive Moving Average Models}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=UFlyLkvyAE},
}
Figure