Breaking the Context Bottleneck on Long Time Series Forecasting

Chao Ma, Yikai Hou, Li Xiang, Yinggang Sun, Haining Yu, Fang Zhou, Jiaxing QuarXiv 2024 · DOI

TL;DR

This paper introduces the Logsparse Decomposable Multiscaling (LDM) framework to tackle the challenge of long-term time series forecasting. LDM effectively handles long sequences by decomposing them into different scales and applying a novel "Logsparse" truncation, leading to improved accuracy and efficiency compared to existing methods.

What Problem Does This Paper Address?

Long-term time series forecasting (LTSF) is crucial for various domains like economics and energy planning, requiring models to predict far into the future. However, current models struggle with long input sequences due to overfitting and the difficulty of capturing long-range dependencies. This often forces them to use shorter input lengths, limiting their ability to leverage sufficient historical context and leading to suboptimal performance. Existing multiscale approaches also face challenges with non-stationarity and computational overhead.

Methods

The core of LDM is its Logsparse Decomposable Multiscaling framework. It combines two key ideas:

  • Multiscale Decomposition: Instead of processing the entire long sequence at once, LDM decomposes the time series into multiple scales. This is achieved using a modified wavelet transform approach with custom low-pass and high-pass filters, and a downsampling strategy that adapts to the scale. This decomposition helps in handling non-stationarity by separating components at different temporal resolutions.
  • Logsparse Truncation: This novel technique addresses the overfitting issue with long sequences. Inspired by the Dow Theory's emphasis on long-term trends, it selectively truncates sequences based on their scale. High-frequency, short-scale components are truncated more aggressively, while low-frequency, long-scale components are preserved. This creates a more compact input representation for each scale, allowing models to focus on relevant information without being overwhelmed by noise.

The framework then uses a Transformer-based Predictor that can handle both short and long-term forecasts by integrating vanilla and patch embeddings. This predictor processes the truncated sequences from each scale, and the final prediction is obtained by interpolating and aggregating the results.

Datasets

The paper evaluates LDM on eight benchmark datasets: Weather, Traffic, Electricity, Solar-Energy, and four ETT datasets (ETTh1, ETTh2, ETTm1, ETTm2). These datasets are standard for LTSF research. No new benchmarks were introduced.

Key Insights and Ideas

  • Decomposition is Key for Long Sequences: Breaking down long time series into different scales is a powerful way to manage complexity and non-stationarity, making long-term forecasting more tractable.
  • Logsparse Truncation is a Game-Changer for Overfitting: The "Logsparse" idea of selectively reducing sequence length based on scale is a novel and effective way to combat overfitting on long inputs, a persistent problem in LTSF.
  • Efficiency Through Simplicity: LDM's architecture avoids complex aggregation or communication modules between scales, leading to a simpler and more efficient framework.
  • Multiscale Analysis Enhances Predictability: By generating sparser spectra at each scale, LDM effectively reduces information entropy, making the underlying patterns more distinct and easier for models to learn.

Key Results

  • State-of-the-Art Performance: LDM achieves state-of-the-art (SoTA) results on all tested long-term time-series forecasting benchmarks.
  • Significant Improvement: LDM shows an improvement of up to 11.7% compared to MLP baselines and 3.4% compared to Transformer baselines in MSE for multivariate scenarios.
  • Efficiency Gains: LDM significantly reduces training time and memory costs compared to other Transformer-based approaches, performing comparably to linear and MLP models even with increased input sizes and decomposition levels.
  • Robustness: The framework demonstrates strong performance across various prediction lengths and hyperparameter settings, indicating its general applicability.

Limitations and Future Work

  • Hyperparameter Sensitivity: While LDM generally favors longer input lengths, the optimal length isn't absolute. The sparsity parameter $\eta$ requires careful tuning for a good balance. The paper suggests that two scales (resulting in three components) are generally optimal, implying that too many scales might not always be beneficial.
  • Channel Independence: The current framework handles multiple channels simultaneously but ignores potential correlations between them, which could be a direction for future research.
  • Future Work: The authors suggest that the LDM framework is generally applicable and can be combined with various predictor models, opening avenues for further exploration and improvement by integrating different predictor architectures.

Summary updated

Abstract

Long-term time-series forecasting is essential for planning and decision-making in economics, energy, and transportation, where long foresight is required. To obtain such long foresight, models must be both efficient and effective in processing long sequence. Recent advancements have enhanced the efficiency of these models; however, the challenge of effectively leveraging longer sequences persists. This is primarily due to the tendency of these models to overfit when presented with extended inputs, necessitating the use of shorter input lengths to maintain tolerable error margins. In this work, we investigate the multiscale modeling method and propose the Logsparse Decomposable Multiscaling (LDM) framework for the efficient and effective processing of long sequences. We demonstrate that by decoupling patterns at different scales in time series, we can enhance predictability by reducing non-stationarity, improve efficiency through a compact long input representation, and simplify the architecture by providing clear task assignments. Experimental results demonstrate that LDM not only outperforms all baselines in long-term forecasting benchmarks, but also reducing both training time and memory costs.
BibTeX
@misc{ma2024breaking,
  author = {Chao Ma and Yikai Hou and Li Xiang and Yinggang Sun and Haining Yu and Fang Zhou and Jiaxing Qu},
  title = {{Breaking the Context Bottleneck on Long Time Series Forecasting}},
  year = {2024},
  eprint = {2412.16572},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2412.16572},
}
Figure