Towards Efficient Large Scale Spatial-Temporal Time Series Forecasting via Improved Inverted Transformers

Jiarui Sun, Chin-Chia Michael Yeh, Yujie Fan, Xin Dai, Xiran Fan +8 more
3/13/2025
cs.LG

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Time series forecasting at scale presents significant challenges for modern prediction systems, particularly when dealing with large sets of synchronized series, such as in a global payment network. In such systems, three key challenges must be overcome for accurate and scalable predictions: 1) emergence of new entities, 2) disappearance of existing entities, and 3) the large number of entities present in the data. The recently proposed Inverted Transformer (iTransformer) architecture has shown promising results by effectively handling variable entities. However, its practical application in large-scale settings is limited by quadratic time and space complexity ($O(N^2)$) with respect to the number of entities $N$. In this paper, we introduce EiFormer, an improved inverted transformer architecture that maintains the adaptive capabilities of iTransformer while reducing computational complexity to linear scale ($O(N)$). Our key innovation lies in restructuring the attention mechanism to eliminate redundant computations without sacrificing model expressiveness. Additionally, we incorporate a random projection mechanism that not only enhances efficiency but also improves prediction accuracy through better feature representation. Extensive experiments on the public LargeST benchmark dataset and a proprietary large-scale time series dataset demonstrate that EiFormer significantly outperforms existing methods in both computational efficiency and forecasting accuracy. Our approach enables practical deployment of transformer-based forecasting in industrial applications where handling time series at scale is essential.

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. 1 weaker match is hidden by default — 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{sun2025towards,
  title  = {Towards Efficient Large Scale Spatial-Temporal Time Series Forecasting via Improved Inverted Transformers},
  author = {Jiarui Sun and Chin-Chia Michael Yeh and Yujie Fan and Xin Dai and Xiran Fan and Zhimeng Jiang and Uday Singh Saini and Vivian Lai and Junpeng Wang and Huiyuan Chen and Zhongfang Zhuang and Yan Zheng and Girish Chowdhary},
  year   = {2025},
  eprint = {2503.10858},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.10858v1}
}

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/2503.10858.svg)](https://codeofpaper.com/paper/2503.10858)

Discussion