TL;DR
Large-scale time series forecasting models, both LLM-based and foundation models, exhibit a "scaling paradox" where bigger isn't always better. This paper reveals that only a small fraction of layers are crucial for performance, while most are redundant. By identifying and keeping these "few dominant layers," they achieve significant speedups and even improved accuracy.
What Problem Does This Paper Address?
The field of time series (TS) forecasting has seen a surge in large-scale models, broadly falling into two categories: fine-tuning existing Large Language Models (LLMs) for TS tasks (LLM4TS) and training Time Series Foundation Models (TSFMs) from scratch. The prevailing assumption has been that increasing model size and data volume directly leads to better forecasting performance. However, scattered observations have hinted at a different reality: larger models don't always outperform smaller ones, and sometimes even perform worse. This paper tackles this "scaling paradox" head-on, aiming to rigorously demonstrate its existence, diagnose its root cause, and propose a practical solution.
Methods
The core of this research involves a systematic investigation into the "scaling paradox." The authors:
- Extensive Experimentation: Compared two architectural families (LLM4TS and TSFMs) across four scales (from 100M to 1.7B parameters) on a vast amount of data (up to 6B observations) and diverse datasets.
- Internal Representation Analysis: Analyzed the internal workings of these models to understand why the paradox occurs. This led to the identification of "few-layer dominance."
- Critical Layer Identification and Pruning: Developed a novel method to automatically identify the functionally important layers within a model. This method leverages inter-layer similarity and Euclidean distance to assess layer contributions.
- Model Pruning and Fine-tuning: Retained only the identified critical layers and then fine-tuned the pruned models.
- Universality Validation: Applied their pruning method to 8 prominent state-of-the-art (SOTA) TS models (both LLM4TS and TSFMs) to demonstrate its broad applicability.
Datasets
The paper utilizes a comprehensive set of datasets for training and evaluation:
- Single-Dataset Learning: ETT (four variants: ETTh1, ETTh2, ETTm1, ETTm2), ECL, Exchange, Solar, Weather, and Traffic.
- Cross-Dataset Learning: An expanded collection of 41 datasets spanning eight major domains, including the above plus NN5, PDB, Sceaux, Smart, Spanish, Sunspot-rain, USbirths, and Wind-power.
- Representation Analysis & Pruning Studies: An additional four traffic flow datasets from the PEMS family (PEMS03, PEMS04, PEMS07, PEMS08) were used to stress-test the method's robustness.
Key Insights and Ideas
- The "Scaling Paradox" is Real and Pervasive: Contrary to the common belief in deep learning, simply scaling up TS models doesn't guarantee better performance. In many cases, larger models underperform or offer only marginal gains.
- "Few-Layer Dominance": The Root Cause: The paradox isn't due to data volume, diversity, or learning strategy alone. Instead, it stems from the fact that only a small subset of layers in TS models are truly responsible for learning and transforming representations.
- Redundancy and Distraction: The majority of layers are redundant, under-utilized, and can even negatively impact training by introducing noise or distraction.
- Pruning is a Powerful Solution: Identifying and retaining only the critical layers leads to significantly more efficient and often more accurate models. This suggests that the vast majority of parameters in current large TS models are not contributing meaningfully to the final prediction.
- Universality of the Phenomenon: The "few-layer dominance" and the effectiveness of pruning are not limited to specific model architectures or scales; they hold across a wide range of SOTA LLM4TS and TSFM models.
Key Results
- Significant Speedup: Retaining only 21% of parameters in their model families achieved a 2.7x inference speedup.
- Accuracy Improvement: The pruned models achieved up to a 12% accuracy improvement.
- Minimal Performance Degradation: In the worst-case scenario, performance degradation was as small as 0.6%.
- Broad Applicability: The pruning method, retaining less than 30% of layers, achieved comparable or superior accuracy in over 95% of tasks across 8 prominent SOTA models.
- Universality: The phenomenon was confirmed across different model scales, architectures (encoder-only, decoder-only, encoder-decoder), and TS embedding levels.
Limitations and Future Work
- Limited to Mainstream Architectures: The current analysis is confined to mainstream Transformer-based architectures. The authors acknowledge that new and emerging approaches might behave differently.
- Future Work: The authors plan to incorporate the "few-layer dominance" phenomenon into the architectural design of future large-scale TS models to create more efficient and high-performing systems.
Summary updated