Towards Neural Scaling Laws for Time Series Foundation Models

Qingren Yao, Chao-Han Huck Yang, Renhe Jiang, Yuxuan Liang, Ming Jin, Shirui Pan

Introduction

Neural scaling laws—the predictable relationship between a model's performance and its size, compute, and data—are no longer exclusive to Large Language Models (LLMs). Recent research demonstrates that Time Series Foundation Models (TSFMs) follow similar power laws for both in-distribution (ID) and out-of-distribution (OOD) data. This reveals that systematically scaling model parameters is a highly effective, scientifically backed strategy to boost forecasting accuracy across diverse domains.

The Challenge: Understanding TSFM Scaling

The field of time series forecasting is undergoing a paradigm shift, moving away from small, task-specific models toward massive "Foundation Models" trained on billions of data points. While the scaling behaviors of LLMs are well-documented, the "laws" governing TSFMs have remained largely unexplored.

Specifically, this research tackles three critical, unanswered questions:

  1. The OOD Gap: Do scaling laws hold when a model encounters "out-of-distribution" data it has never seen before?
  2. Architecture Impact: How do different Transformer configurations (e.g., encoder-only vs. decoder-only) affect a model's ability to scale?
  3. Design Principles: Can we derive a reliable "recipe" for building the next generation of massive time series models?

Methodology & Architectures

To establish these scaling laws, the researchers systematically trained a family of Transformer-based models ranging from tiny (1K parameters) to large (over 100M parameters). They independently varied three core scaling factors: Model Parameters ($N$), Compute Budget ($C$), and Training Dataset Size ($D$).

Key technical choices included:

  • Architectures: The study compared standard Encoder-only and Decoder-only Transformers, alongside case studies of state-of-the-art models like Moirai and Chronos.
  • Patching: Instead of processing one time point at a time, the models utilized "Patch Embedding" to group time steps into tokens, significantly improving computational efficiency.
  • Probabilistic Head: Rather than predicting a single deterministic number, the models output a Student-T Mixture Distribution. This approach is far superior at handling the heavy tails and outliers common in real-world sensor or financial data.
Architectural comparison of Encoder-only and Decoder-only Transformers for time series forecasting.

Data Curation

The authors curated a high-quality corpus rather than relying on standard, off-the-shelf datasets:

  • Pre-training: They used a refined version of the LOTSA archive, containing 17 billion time points across 39 datasets and 7 domains (Transport, Energy, Health, etc.). Strict quality filtering was applied to ensure a Signal-to-Noise Ratio (SNR) of at least 20dB.
  • Evaluation: Models were tested on In-Distribution (ID) validation sets and two major Out-of-Distribution (OOD) benchmarks: the LSF (Long-sequence Forecasting) benchmark and the Monash time series archive.

Key Insights & Scaling Laws

The empirical results yielded several profound insights into how time series models learn and generalize as they grow.

  • OOD Scaling is Predictable: The most significant finding is that Negative Log-Likelihood (NLL) follows a predictable power law even on unseen data. Performance ($L$) scales with parameters ($N$) according to $L(N) \approx (N_c / N)^{\alpha_N}$. If you know how your model improves on your training set as you scale it, you can accurately predict its improvement on completely new domains.
  • Scaling Favors the "Weak": Interestingly, scaling model size yields greater relative improvements on OOD data than on ID data. For models struggling with generalization, increasing parameter count is a highly effective mitigation strategy.
  • The 3M Threshold: The authors found that a TSFM generally needs at least 3 million parameters to consistently outperform classical statistical baselines (like Exponential Smoothing, or ETS) on unseen data.
  • Data vs. Model Size: The study suggests that scaling model size ($N$) is more critical than scaling data volume ($D$). Doubling the model size provides a much larger performance boost than doubling the training data.
Scaling behavior of TSFMs showing NLL and MAPE improvements across model sizes for both ID and OOD data.

Furthermore, the research highlighted an "Advanced Model" paradox. Advanced architectures like Moirai and Chronos show excellent performance at smaller scales, but their scaling "slopes" are flatter. This implies that while architectural enhancements help early on, basic architectures (particularly Encoder-only setups, which showed a slight edge in ID scalability) might eventually overtake them if scaled high enough.

Limitations and Future Directions

While comprehensive, the paper notes several areas for further exploration:

  • Univariate Focus: The current study focuses on univariate time series. Scaling laws for multivariate data—where complex variables interact—remain unexplored and are likely more intricate.
  • Data Mixing: The optimal "recipe" for mixing different domains (e.g., 10% finance, 90% weather) during pre-training is still unknown, though it likely impacts scaling efficiency.
  • Context Windows: Future work is needed to determine how the length of the "look-back" window affects these scaling constants.

Conclusion: If you want a better time series model, don't just hunt for more data. The math clearly indicates that building a bigger model and allocating more compute will reliably pay off, even for domains the model has never seen.

Summary updated

BibTeX
@inproceedings{yao2025towards,
  author = {Qingren Yao and Chao-Han Huck Yang and Renhe Jiang and Yuxuan Liang and Ming Jin and Shirui Pan},
  title = {{Towards Neural Scaling Laws for Time Series Foundation Models}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=uCqxDfLYrB},
}
Figure