NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Do We Really Need Deep Learning Models for Time Series Forecasting?

Shereen Elsayed, Daniela Thyssens, Ahmed Rashed, Lars Schmidt-Thieme, Hadi Samer JomaaarXiv 2021

Abstract

Time series forecasting is a crucial task in machine learning, as it has a wide range of applications including but not limited to forecasting electricity consumption, traffic, and air quality. Traditional forecasting models rely on rolling averages, vector auto-regression and auto-regressive integrated moving averages. On the other hand, deep learning and matrix factorization models have been recently proposed to tackle the same problem with more competitive performance. However, one major drawback of such models is that they tend to be overly complex in comparison to traditional techniques. In this paper, we report the results of prominent deep learning models with respect to a well-known machine learning baseline, a Gradient Boosting Regression Tree (GBRT) model. Similar to the deep neural network (DNN) models, we transform the time series forecasting task into a window-based regression problem. Furthermore, we feature-engineered the input and output structure of the GBRT model, such that, for each training window, the target values are concatenated with external features, and then flattened to form one input instance for a multi-output GBRT model. We conducted a comparative study on nine datasets for eight state-of-the-art deep-learning models that were presented at top-level conferences in the last years. The results demonstrate that the window-based input transformation boosts the performance of a simple GBRT model to levels that outperform all state-of-the-art DNN models evaluated in this paper.

Introduction

In recent years, the field of time series forecasting has been dominated by increasingly sophisticated deep learning (DL) architectures, such as LSTNet, DeepGlo, and various attention-based Recurrent Neural Networks (RNNs). These models are often touted for their ability to capture complex non-linear dependencies. However, they come with significant costs: they are often "black boxes," computationally expensive to train, and notoriously difficult to tune.

This research addresses a fundamental question: Is the complexity of deep learning truly necessary for state-of-the-art performance, or can traditional machine learning models perform just as well if configured with the same care? The authors identify that many advanced DL models are compared against weak or poorly configured baselines, potentially leading to a skewed perception of their superiority.

Methodology

The core contribution of this work is the development of a feature-engineered, window-based GBRT (specifically utilizing the XGBoost implementation). The approach transforms the forecasting task into a supervised regression problem through three primary steps:

  1. Window-based Transformation: The time series is segmented into sliding windows of size $w$. This allows the model to effectively capture local autocorrelation effects.
  2. Feature Engineering and Flattening: For each window, target values are concatenated with external covariates. A key finding in the authors' ablation study was that appending only the covariates from the last time point in the window is often sufficient to achieve competitive results while maintaining efficiency.
  3. Multi-output Handling: Because standard GBRTs are designed for single-value prediction, the authors employ a multi-output wrapper. This wrapper trains independent regressors for each step in the forecasting horizon ($h$), with the final prediction being the aggregation of these estimators.
The window-based transformation process: input windows are flattened and combined with covariates for the multi-output GBRT.

Experimental Setup

The study evaluates the proposed GBRT model against eight state-of-the-art deep learning models across 11 diverse datasets. These datasets span various domains, including energy (Electricity, Solar-Energy), traffic (Traffic, PeMSD7(M)), finance (Exchange-Rate, NASDAQ 100), and environmental monitoring (Beijing PM2.5, Urban Air Quality).

Overview of the 11 datasets used in the comparative study, detailing their size, frequency, and forecasting horizons.

Key Results and Insights

The window-based GBRT, denoted as GBRT(W-b), demonstrated remarkable performance across the benchmarks:

  • Superior Accuracy: On the Electricity dataset, GBRT(W-b) achieved an RMSE of 125.626, significantly outperforming LSTNet (1095.309) and the specialized TRMF (136.400).
  • Domain-Specific Success: In air quality forecasting, GBRT(W-b) outperformed DAQFF, a deep learning framework specifically designed for that task.
  • The "Last Instance" Discovery: The authors found that including auxiliary features from every time step in a window is unnecessary. Using only the last time step's covariates provides a significant reduction in memory and compute requirements with negligible loss in accuracy.
  • The Transformer Exception: While GBRT beat most RNN and matrix factorization models, the Temporal Fusion Transformer (TFT) remained highly competitive, suggesting that Transformers represent a particularly robust class of DL models for time series.

Conclusion

The findings suggest that the perceived superiority of deep learning in time series forecasting may often stem from superior input handling rather than the neural architecture itself. A properly configured, window-based GBRT can match or exceed the performance of complex DL models while remaining more interpretable and easier to deploy. Future work may involve applying this window-based framework to other simple models, such as Multi-Layer Perceptrons (MLPs), to further explore the limits of non-deep architectures.

Summary updated

BibTeX
@misc{elsayed2021do,
  author = {Shereen Elsayed and Daniela Thyssens and Ahmed Rashed and Lars Schmidt-Thieme and Hadi Samer Jomaa},
  title = {{Do We Really Need Deep Learning Models for Time Series Forecasting?}},
  year = {2021},
  eprint = {2101.02118},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2101.02118},
}
Figure