cs.AIOct 18, 2026

Spectral Adaptive Graph Transformer for Efficient and Scalable Traffic Forecasting

Authors: Amirhossein Ghaffari, Susanna Pirttikangas, Ekaterina Gilman

Organizations: Future Computing Group, University of Oulu, 90570 Oulu, Finland

Abstract

Traffic forecasting models based on spectral graph convolution offer an interpretable account of how information is mixed between sensors, but they rely on an eigendecomposition of the graph Laplacian. It costs cubic time, is fixed by the road network, and provides a symmetric operator that cannot represent the directed propagation of traffic congestion. Attention-based spatio-temporal transformers remove these limitations but generate a dense sensor-by-sensor attention map at each layer and time step, so memory, rather than accuracy, becomes the binding constraint on large networks. We introduce the spectral adaptive graph transformer, whose spatial operator is learned rather than derived from the Laplacian, directed rather than symmetric, and conditioned on the current traffic state rather than a static state, at a cost linear in the number of sensors. A sparse road graph diffusion branch provides the strictly local propagation that a low-rank operator cannot express, and a zero-initialized gate learns the balance between the two. Before spatial mixing, a unit-mean-gain frequency-bin attention module reweights each sensor's short-term periodicities according to its identity and current context. Across six public benchmarks spanning 170 to 1843 sensors, evaluated over three random seeds, the proposed model attains the lowest error of any single end-to-end model on one benchmark and remains competitive with the strongest current attention models on the others, while using about a quarter of their memory and training about twice as fast.

Figures & tables

Explore similar work

CardsList
  1. FAST: A Synergistic Framework of Attention and State-space Models for Spatiotemporal Traffic Prediction

    Apr 15, 2026Xinjin Li, Jinghan Cao, Mengyue Wang +5Spatiotemporal ForecastingTraffic Forecasting

  2. ADMFormer: An Adaptive-Decomposition Transformer with Time-Varying Masked Spatial Attention for Traffic Forecasting

    May 25, 2026Ruiwen Gu, Qitai Tan, Yahao Liu +1Attention MechanismsSpatiotemporal Forecasting

  3. EMAGN: Efficient Multi-Attention Graph Network via Learned Clustering for Scalable Traffic Forecasting

    Jul 14, 2026Mingxing Xu, Rakesh Chowdary Machineni, Ke Liu +7Efficient Neural Network InferenceGraph Attention Networks