How Much Can Time-related Features Enhance Time Series Forecasting?

Chaolv Zeng, Yuan Tian, Guanjie Zheng, Yunjun GaoarXiv 2024 · DOI

Introduction

Long-Term Time Series Forecasting (LTSF) has traditionally focused on developing complex architectures—such as Transformers, CNNs, and MLPs—to extract patterns from historical observations. However, these models often treat the associated temporal metadata (e.g., hour of day, day of week) as secondary or ignore them entirely. This paper argues that explicitly modeling "when" an event occurs is frequently more critical than analyzing "what" happened recently, particularly for human-centric data with strong cyclical patterns.

Electricity consumption exhibits strong cyclicality based on time stamps, such as hour of the day and day of the week.

Methodology: TimeSter and TimeLinear

The authors introduce TimeSter, a lightweight, plug-and-play module designed to encode categorical time features. TimeSter maps features like "Hour" or "Month" into a hidden space using nonlinear layers and 1D convolutions, which are then projected into a future prediction ($Y_U$).

When paired with a simple linear backbone (BonSter), the resulting architecture is named TimeLinear. This model leverages a simplified version of Reversible Instance Normalization (RevIN) to mitigate distribution shifts. By treating time stamps as a separate forecasting path rather than just additional input columns, the model learns a "base" cyclical behavior that the backbone adjusts based on recent anomalies.

Key Insights

A pivotal finding of this study is the "Timestamp-Only" surprise: on the Electricity dataset, a model utilizing only time stamps outperformed several state-of-the-art (SOTA) models. This underscores the cyclical stability of certain datasets where temporal context provides a more reliable signal than short-term historical trends.

However, feature selection remains critical. For instance, in the Weather dataset, adding "Month" or "Season" features degraded performance because the data spanned only one year, leading to overfitting on a single cycle. TimeSter also works particularly well with "Channel-Independent" models by providing a shared global temporal context.

Performance and Efficiency

TimeLinear was evaluated across seven standard LTSF benchmarks, including ETT, Electricity, Traffic, and Weather. The results demonstrate that integrating TimeSter significantly boosts accuracy while maintaining extreme efficiency.

Performance comparison showing that models using only timestamps can outperform observation-based models on certain datasets.

Key results include:

  • Accuracy: TimeLinear reduced Mean Squared Error (MSE) by an average of 23% on Electricity and Traffic datasets compared to standard linear models.
  • Parameter Efficiency: On the ETTh2 dataset, TimeLinear utilizes approximately 186k parameters, a fraction of the 13.8M used by PatchTST.
  • Speed: TimeLinear trains roughly 3x faster than PatchTST and 15x faster than TimesNet.

Conclusion

This research highlights the untapped potential of time-related features in LTSF. By explicitly modeling temporal cycles through the TimeSter module, even simple linear models can surpass the performance of complex Transformers. Future work may explore cross-variate relationships to determine how different variables (e.g., temperature vs. humidity) respond uniquely to the same temporal signals.

Summary updated

Abstract

Recent advancements in long-term time series forecasting (LTSF) have primarily focused on capturing cross-time and cross-variate (channel) dependencies within historical data. However, a critical aspect often overlooked by many existing methods is the explicit incorporation of \textbf{time-related features} (e.g., season, month, day of the week, hour, minute), which are essential components of time series data. The absence of this explicit time-related encoding limits the ability of current models to capture cyclical or seasonal trends and long-term dependencies, especially with limited historical input. To address this gap, we introduce a simple yet highly efficient module designed to encode time-related features, Time Stamp Forecaster (TimeSter), thereby enhancing the backbone's forecasting performance. By integrating TimeSter with a linear backbone, our model, TimeLinear, significantly improves the performance of a single linear projector, reducing MSE by an average of 23\% on benchmark datasets such as Electricity and Traffic. Notably, TimeLinear achieves these gains while maintaining exceptional computational efficiency, delivering results that are on par with or exceed state-of-the-art models, despite using a fraction of the parameters.
BibTeX
@misc{zeng2024how,
  author = {Chaolv Zeng and Yuan Tian and Guanjie Zheng and Yunjun Gao},
  title = {{How Much Can Time-related Features Enhance Time Series Forecasting?}},
  year = {2024},
  eprint = {2412.01557},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2412.01557},
}
Figure