Abstract
In recent years, the success of Transformer architectures in Natural Language Processing (NLP) and Computer Vision (CV) has prompted a rapid adoption of similar complex models for time series forecasting. However, this transition often overlooks the fundamental differences between discrete tokens and continuous numerical sequences. This paper investigates whether the added complexity of Transformers is justified, proposing a "simplification path" that reveals shallow models—and even trivial baselines—frequently outperform state-of-the-art deep learning architectures in both accuracy and computational efficiency.
Introduction
The research community has largely embraced the assumption that the attention mechanisms inherent in Transformers are naturally suited for capturing long-range dependencies in time series data. This has led to an influx of increasingly complex models. However, this paper suggests that the field may be experiencing a "two steps forward, one step back" phenomenon. By re-evaluating these models against simpler alternatives, the authors identify a significant gap in how performance is measured and a potential structural mismatch between Transformer architectures and the chronological nature of time series data.
The Problem: Hype vs. Heuristics
The authors identify two primary issues in the current state of time series forecasting research:
- The Baseline Gap: New architectures are frequently compared against other complex models while ignoring simple, non-parametric baselines that might offer competitive performance.
- Structural Mismatch: Transformers are permutation-invariant by design, meaning they do not inherently respect the order of data points. While positional encodings attempt to mitigate this, the underlying architecture may still be fundamentally disadvantaged compared to models that treat time as a continuous, ordered sequence.
Methodology: The Simplification Path
To test the necessity of complexity, the researchers introduced a series of models that progressively strip away Transformer components:
- Sinformer & Sencoder: Simplified versions of the standard Transformer architecture designed to isolate the impact of specific layers.
- SLP (Sinusoidal Layered Perceptron): An extremely shallow model consisting of a single dense layer and a sinusoidal activation function. This model represents the extreme end of the simplification path.
- AddT2V (Additive Time To Vector): A memory-efficient embedding technique that uses learnable periodic functions to capture seasonality. Unlike the standard Time2Vec, it uses an additive operator rather than concatenation to minimize parameter overhead.
- The Persistence Baseline: A trivial, non-parametric model used as a "sanity check." It predicts that all future values in a window will be identical to the last observed value ($y_{t+1} = y_t$).
Experimental Setup
The models were evaluated using Mean Absolute Error (MAE) across six diverse real-world datasets:
- ETTh1 & ETTm1: Electricity Transformer Temperature at hourly and 15-minute intervals.
- Electricity: Consumption patterns for 321 customers.
- Milan T°: Univariate daily mean temperatures.
- Venice: Sea level data used to test extreme-horizon forecasting.
- Weather: A multivariate dataset containing 21 meteorological features.
Key Insights
The Persistence Reality Check
One of the most significant findings involves the Informer, a prominent Transformer-based model. In nearly 50% of the tested multivariate scenarios, the Informer failed to outperform the trivial Persistence baseline. This suggests that many complex models are failing to capture even the most basic temporal patterns that a "no-change" forecast identifies.
Occam’s Razor in Architecture
The study found that as models became simpler, performance often improved. The SLP, despite its minimal parameter count, frequently reached or exceeded the accuracy of state-of-the-art Transformers. This indicates that for many time series tasks, a shallow network with appropriate periodic activations is more effective than a deep, attention-based stack.
The Memory Wall
Transformers face a quadratic complexity issue ($O(L^2)$) relative to the sequence length ($L$). The authors observed that Transformer-based models became computationally intractable when forecasting windows exceeded 2,880 points. In contrast, the shallow SLP successfully handled windows of up to 23,040 points on the Venice dataset, maintaining high accuracy with a fraction of the memory footprint.
Results and Discussion
The quantitative analysis confirms that shallow dominance is a recurring theme. The SLP and NLinear (a simple linear model) emerged as the most consistent winners across the majority of datasets. While popular models like Autoformer and FEDformer showed strengths in specific areas, they rarely provided a margin of improvement over simpler baselines that justified their high computational cost.
On the Venice dataset, the SLP demonstrated remarkable robustness. When the prediction window was increased by a factor of 240, the error rate only increased by 88%, showcasing the ability of simple models to maintain stability over extremely long horizons where Transformers typically fail due to memory constraints.
Limitations and Conclusion
While the paper advocates for simplicity, it notes that shallow models like the SLP may struggle with data lacking clear periodicity or containing high-frequency stochastic noise. Future research should investigate whether the benefits of Transformers emerge in high-dimensional, short-term settings where cross-variable correlations are more complex than temporal trends.
Ultimately, the authors urge the community to avoid "evolutionary niches"—research paths that prioritize fashionable techniques over efficiency and empirical effectiveness. In time series forecasting, the most sophisticated solution is not always the best; sometimes, the most effective way forward is to embrace the simplicity we left behind.
Summary updated