English

Lightweight and Interpretable Transformer via Mixed Graph Algorithm Unrolling for Traffic Forecast

Machine Learning 2026-02-04 v3 Artificial Intelligence Signal Processing

Abstract

Unlike conventional "black-box" transformers with classical self-attention mechanism, we build a lightweight and interpretable transformer-like neural net by unrolling a mixed-graph-based optimization algorithm to forecast traffic with spatial and temporal dimensions. We construct two graphs: an undirected graph Gu\mathcal{G}^u capturing spatial correlations across geography, and a directed graph Gd\mathcal{G}^d capturing sequential relationships over time. We predict future samples of signal x\mathbf{x}, assuming it is "smooth" with respect to both Gu\mathcal{G}^u and Gd\mathcal{G}^d, where we design new 2\ell_2 and 1\ell_1-norm variational terms to quantify and promote signal smoothness (low-frequency reconstruction) on a directed graph. We design an iterative algorithm based on alternating direction method of multipliers (ADMM), and unroll it into a feed-forward network for data-driven parameter learning. We periodically insert graph learning modules for Gu\mathcal{G}^u and Gd\mathcal{G}^d that play the role of self-attention. Experiments show that our unrolled networks achieve competitive traffic forecast performance as state-of-the-art prediction schemes, while reducing parameter counts drastically.

Keywords

Cite

@article{arxiv.2505.13102,
  title  = {Lightweight and Interpretable Transformer via Mixed Graph Algorithm Unrolling for Traffic Forecast},
  author = {Ji Qi and Tam Thuc Do and Mingxiao Liu and Zhuoshi Pan and Yuzhe Li and Gene Cheung and H. Vicky Zhao},
  journal= {arXiv preprint arXiv:2505.13102},
  year   = {2026}
}

Comments

24 pages, 7 figures, 11 tables

R2 v1 2026-07-01T02:21:50.517Z