TimeBridge: Non-Stationarity Matters for Long-term Time Series Forecasting
Peiyuan Liu, Beiliang Wu, Yifan Hu, Naiqi Li, Tao Dai, Jigang Bao, Shu-tao Xia
TL;DR
TimeBridge tackles the divergent effects of non-stationarity in multivariate time series forecasting by decoupling short-term stabilization from long-term dependency modeling. It introduces a patch-based architecture with Integrated Attention to mitigate short-term non-stationarity within variates and Cointegrated Attention to preserve non-stationarity for capturing cross-variate cointegration, aided by patch embedding and downsampling to enrich long-horizon information. Empirical results show state-of-the-art performance across long-term, short-term, and financial forecasting tasks, including CSI 500 and S&P 500 datasets, underscoring the method's robustness to volatility and inter-variable relationships. The work provides theoretical and empirical support for balancing non-stationarity in modeling and offers a practical, open-source solution for complex real-world forecasting problems.
Abstract
Non-stationarity poses significant challenges for multivariate time series forecasting due to the inherent short-term fluctuations and long-term trends that can lead to spurious regressions or obscure essential long-term relationships. Most existing methods either eliminate or retain non-stationarity without adequately addressing its distinct impacts on short-term and long-term modeling. Eliminating non-stationarity is essential for avoiding spurious regressions and capturing local dependencies in short-term modeling, while preserving it is crucial for revealing long-term cointegration across variates. In this paper, we propose TimeBridge, a novel framework designed to bridge the gap between non-stationarity and dependency modeling in long-term time series forecasting. By segmenting input series into smaller patches, TimeBridge applies Integrated Attention to mitigate short-term non-stationarity and capture stable dependencies within each variate, while Cointegrated Attention preserves non-stationarity to model long-term cointegration across variates. Extensive experiments show that TimeBridge consistently achieves state-of-the-art performance in both short-term and long-term forecasting. Additionally, TimeBridge demonstrates exceptional performance in financial forecasting on the CSI 500 and S&P 500 indices, further validating its robustness and effectiveness. Code is available at https://github.com/Hank0626/TimeBridge.
