9
0

Temporal Query Network for Efficient Multivariate Time Series Forecasting

Abstract

Sufficiently modeling the correlations among variables (aka channels) is crucial for achieving accurate multivariate time series forecasting (MTSF). In this paper, we propose a novel technique called Temporal Query (TQ) to more effectively capture multivariate correlations, thereby improving model performance in MTSF tasks. Technically, the TQ technique employs periodically shifted learnable vectors as queries in the attention mechanism to capture global inter-variable patterns, while the keys and values are derived from the raw input data to encode local, sample-level correlations. Building upon the TQ technique, we develop a simple yet efficient model named Temporal Query Network (TQNet), which employs only a single-layer attention mechanism and a lightweight multi-layer perceptron (MLP). Extensive experiments demonstrate that TQNet learns more robust multivariate correlations, achieving state-of-the-art forecasting accuracy across 12 challenging real-world datasets. Furthermore, TQNet achieves high efficiency comparable to linear-based methods even on high-dimensional datasets, balancing performance and computational cost. The code is available at:this https URL.

View on arXiv
@article{lin2025_2505.12917,
  title={ Temporal Query Network for Efficient Multivariate Time Series Forecasting },
  author={ Shengsheng Lin and Haojun Chen and Haijie Wu and Chunyun Qiu and Weiwei Lin },
  journal={arXiv preprint arXiv:2505.12917},
  year={ 2025 }
}
Comments on this paper