Introduction
Long-term Time Series Forecasting (LTSF) is essential for critical infrastructure management, from balancing energy grids to optimizing global supply chains. In recent years, the research community has gravitated toward increasingly complex architectures, primarily based on Transformers, which often utilize millions of parameters. While these models achieve high accuracy, their computational demands and memory footprints make them impractical for edge deployment or scenarios with limited training data.
SparseTSF introduces a paradigm shift by demonstrating that extreme parameter efficiency is not only possible but can lead to superior performance. By focusing on the fundamental components of time series—periodicity and trend—SparseTSF achieves state-of-the-art results with fewer than 1,000 parameters, representing a reduction of one to four orders of magnitude compared to traditional deep learning models.
The SparseTSF Architecture
The primary innovation of SparseTSF is the Cross-Period Sparse Forecasting technique. Rather than treating a time series as a dense, continuous sequence, the model leverages the inherent periodicity ($w$) of the data to simplify the forecasting task.
The architecture follows a streamlined pipeline:
- Channel Independence (CI): The model treats each variable in a multivariate dataset as an independent univariate series, a strategy proven effective in recent LTSF literature.
- Sliding Aggregation: To mitigate information loss during downsampling and improve robustness against outliers, a 1D convolution aggregates neighboring points.
- Downsampling by Period: The sequence is downsampled into $w$ subsequences. For hourly data with a daily cycle ($w=24$), the model groups data points from the same hour across different days.
- Linear Prediction: A single, shared linear layer performs the actual forecasting on these downsampled subsequences. This effectively transforms the complex task into a "cross-period trend prediction."
- Upsampling & Normalization: The predicted subsequences are reshaped into the final forecast horizon. Instance Normalization is applied to handle distribution shifts between training and testing environments.
Key Innovations and Insights
The success of SparseTSF rests on several counter-intuitive insights regarding time series data:
- Decoupling Dynamics: By downsampling based on the period, periodic patterns are transformed into "inter-subsequence dynamics," while long-term trends become "intra-subsequence characteristics." This separation allows the model to focus on the evolution of the trend without being distracted by high-frequency periodic noise.
- The Power of Sparsity: The authors found that sparse connections (using a large $w$) often outperform dense, fully connected layers. In dense time series, there is significant redundancy; "skipping" points via downsampling acts as a natural regularizer, preventing overfitting and helping the model generalize to unseen data.
- Extreme Efficiency: By mapping a small number of "periods" rather than every individual time step, the linear layer remains incredibly small. This allows SparseTSF to operate in the sub-1k parameter range, a feat previously thought impossible for competitive LTSF models.
Experimental Performance
The model was evaluated against seven mainstream LTSF benchmarks, including electricity consumption (Electricity), traffic occupancy (Traffic), and weather data (Weather).
SparseTSF consistently ranked in the top two across nearly all scenarios. Notably, on the Electricity dataset with a forecast horizon of 720, SparseTSF utilized only 0.92k parameters. In contrast, PatchTST requires approximately 6.3 million parameters, and DLinear uses 485k. Despite this massive difference in scale, SparseTSF maintained or exceeded the accuracy of these larger counterparts. Furthermore, the model demonstrated robust generalization; a model trained on one domain can perform well on another, provided they share the same underlying periodicity (e.g., a 24-hour cycle).
Discussion and Limitations
While SparseTSF is highly efficient, it currently relies on the manual selection of the period $w$. While often intuitive for hourly or daily data, this requires prior domain knowledge. Additionally, the model is optimized for a single primary period. While it performs well in many multi-periodic cases by simplifying the task, it may struggle with data containing multiple overlapping cycles (e.g., daily and weekly patterns) if they are equally dominant.
Future work aims to automate period identification and develop modules capable of handling complex multi-periodicity more gracefully.
Conclusion
SparseTSF proves that "bigger is not always better" in time series forecasting. By intelligently decoupling periodicity and trend through sparse downsampling, the model achieves state-of-the-art performance with a fraction of the parameters required by modern Transformers. Its extreme efficiency makes it an ideal candidate for real-time applications and deployment on resource-constrained hardware.
Summary updated