CrossLinear: Plug-and-Play Cross-Correlation Embedding for Time Series Forecasting with Exogenous Variables

Pengfei Zhou, Yunlong Liu, Junli Liang, Qi Song, Xiangyang Li
5/29/2025
53 citations
cs.LGcs.AI

Official code: mumiao2000/CrossLinear (52 stars, Python, MIT, last commit 2025-08-06).

Abstract

Time series forecasting with exogenous variables is a critical emerging paradigm that presents unique challenges in modeling dependencies between variables. Traditional models often struggle to differentiate between endogenous and exogenous variables, leading to inefficiencies and overfitting.

Show full abstract

In this paper, we introduce CrossLinear, a novel Linear-based forecasting model that addresses these challenges by incorporating a plug-and-play cross-correlation embedding module. This lightweight module captures the dependencies between variables with minimal computational cost and seamlessly integrates into existing neural networks. Specifically, it captures time-invariant and direct variable dependencies while disregarding time-varying or indirect dependencies, thereby mitigating the risk of overfitting in dependency modeling and contributing to consistent performance improvements. Furthermore, CrossLinear employs patch-wise processing and a global linear head to effectively capture both short-term and long-term temporal dependencies, further improving its forecasting precision. Extensive experiments on 12 real-world datasets demonstrate that CrossLinear achieves superior performance in both short-term and long-term forecasting tasks. The ablation study underscores the effectiveness of the cross-correlation embedding module. Additionally, the generalizability of this module makes it a valuable plug-in for various forecasting tasks across different domains. Codes are available at https://github.com/mumiao2000/CrossLinear.

View on arXivView PDF

Code Implementations(1)

MIT
524Python, ShellFeb 7, 20251 years agoMIT

Similar Papers

Cite this paper

@article{zhou2025crosslinear,
  title  = {CrossLinear: Plug-and-Play Cross-Correlation Embedding for Time Series Forecasting with Exogenous Variables},
  author = {Pengfei Zhou and Yunlong Liu and Junli Liang and Qi Song and Xiangyang Li},
  year   = {2025},
  eprint = {2505.23116},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.23116v1}
}

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

Discussion