FaST: Efficient and Effective Long-Horizon Forecasting for Large-Scale Spatial-Temporal Graphs via Mixture-of-Experts

Yiji Zhao, Zihao Zhong, Ao Wang, Haomin Wen, Ming Jin, Yuxuan Liang, Huaiyu Wan, Hao WuarXiv 2026 · DOI

TL;DR

FaST is a new framework that enables accurate, one-week-ahead forecasting for massive spatial-temporal graphs (like city-wide traffic networks) with linear computational complexity. By combining an adaptive "agent-based" attention mechanism with a parallelized Mixture-of-Experts (MoE) architecture, it achieves state-of-the-art accuracy while being up to 2.2x faster and significantly more memory-efficient than existing models.

What Problem Does This Paper Address?

Spatial-Temporal Graph (STG) forecasting is essential for modern urban management, such as predicting traffic flow or electricity demand across thousands of sensors. However, researchers face a "scalability wall."

Most current models rely on Graph Neural Networks (GNNs) and Transformers, which have quadratic complexity—meaning if you double the number of sensors ($N$) or the length of the forecast ($T$), the computational and memory costs quadruple ($O(N^2)$ or $O(T^2)$). When trying to predict a week ahead (672 steps) for a large city (8,000+ nodes), these models often crash even the most powerful GPUs. Existing "efficient" alternatives often oversimplify the data, losing the nuanced spatial and temporal patterns needed for long-term accuracy.

Methods

The authors introduce FaST, which stands for Fast and effective long-horizon aware Spatial-Temporal forecasting. Its architecture rests on two primary pillars:

  1. Adaptive Graph Agent Attention (AGA-Att): Instead of every node looking at every other node (which is $O(N^2)$), FaST introduces a small set of "agent tokens." Nodes aggregate their information into these agents, which then redistribute a global summary back to the nodes. This reduces spatial complexity to $O(Na)$, where $a$ is the small number of agents.
  2. Heterogeneity-Aware Mixture-of-Experts (HA-MoE): Urban data is diverse; a sensor in a residential area behaves differently than one in a business district. FaST replaces standard feed-forward layers with a parallelized MoE module.
  3. Heterogeneity-Aware Router: Uses spatial and temporal biases to ensure the model doesn't just rely on one "favorite" expert (a common problem called expert polarization), but instead uses specialized experts for different times and locations.
  4. Parallelized GLU Experts: By using Gated Linear Units (GLUs) as experts, the model can compute multiple expert outputs simultaneously in a single pass, maximizing GPU efficiency.
Figure 2: Architecture of FaST. The middle part illustrates the workflow: the input sequence X𝑡is first embedded and fed into 𝐿 stacked backbone blocks, and the resulting representations are concatenated and passed to an MLP predictor to generate ˆY𝑡.

Datasets

The model was evaluated on the LargeST benchmark, which includes four traffic subsets of increasing scale from California:

  • SD (San Diego): 716 nodes.
  • GBA (Greater Bay Area): 2,352 nodes.
  • GLA (Greater Los Angeles): 3,834 nodes.
  • CA (California): 8,600 nodes.

Additionally, the authors tested generalization on an Electricity demand dataset containing 321 variables over three years.

Key Insights and Ideas

  • Spatial Redundancy as an Opportunity: The success of the "agent tokens" suggests that city-wide data has significant redundancy. A few "latent prototypes" (agents) can effectively capture the essential spatial relationships of thousands of nodes.
  • Solving the MoE Polarization: Standard MoEs often suffer from "load imbalance" where only a few experts do all the work. By injecting spatial and temporal biases into the routing logic, FaST forces the model to leverage its full capacity, leading to better generalization.
  • Linear Scaling is the Future: By achieving linear complexity in both time and space, FaST proves that we don't need to sacrifice long-term forecasting horizons to handle large-scale graphs.

Key Results

FaST consistently outperformed all baselines (including DLinear, BigST, and PatchSTG) across every metric and dataset.

  • Accuracy: On the largest CA dataset, FaST reduced prediction error (MAE) by 18.4% compared to the best-performing baseline.
  • Efficiency: It is 1.3x to 2.2x faster in training and inference than state-of-the-art models.
  • Scalability: While many representative STGNNs (like DCRNN or STGCN) ran out of memory (OOM) on the 8,600-node CA dataset, FaST handled it easily, demonstrating its linear memory growth.
Figure 1: Efficiency–effectiveness comparison on large-scale STG benchmark (CA dataset; 8,600 nodes; 672-step predic- tion horizon). Smaller bubble means faster inference speed. The proposed FaST achieves the best performance and speed (both in training and inference).

Limitations and Future Work

While highly effective, the authors note that the "agent" approach relies on spatial redundancy. If a graph has very weak spatial correlation, the number of agents ($a$) might need to increase, which would eventually raise the computational cost.

For future work, the team plans to explore integrating time series foundation models (large pre-trained models) into the FaST framework to see if they can further boost the model's "understanding" of complex urban dynamics.

Summary updated

BibTeX
@misc{zhao2026fast,
  author = {Yiji Zhao and Zihao Zhong and Ao Wang and Haomin Wen and Ming Jin and Yuxuan Liang and Huaiyu Wan and Hao Wu},
  title = {{FaST: Efficient and Effective Long-Horizon Forecasting for Large-Scale Spatial-Temporal Graphs via Mixture-of-Experts}},
  year = {2026},
  eprint = {2601.05174},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2601.05174},
}
Figure