Abstract
Time Series foundation models (TSFMs) deliver strong forecasting performance through large-scale pretraining, but their large parameter sizes make deployment costly. While knowledge distillation offers a natural and effective approach for model compression, techniques developed for general machine learning tasks are not directly applicable to time series forecasting due to the unique characteristics. To address this, we present DistilTS, the first distillation framework specifically designed for TSFMs. DistilTS addresses two key challenges: (1) task difficulty discrepancy, specific to forecasting, where uniform weighting makes optimization dominated by easier short-term horizons, while long-term horizons receive weaker supervision; and (2) architecture discrepancy, a general challenge in distillation, for which we design an alignment mechanism in the time series forecasting. To overcome these issues, DistilTS introduces horizon-weighted objectives to balance learning across horizons, and a temporal alignment strategy that reduces architectural mismatch, enabling compact models. Experiments on multiple benchmarks demonstrate that DistilTS achieves forecasting performance comparable to full-sized TSFMs, while reducing parameters by up to 1/150 and accelerating inference by up to 6000x.
Introduction
Time Series Foundation Models (TSFMs) such as Chronos and TimeMoE have set new benchmarks in forecasting by leveraging massive pretraining. However, their computational demands—often involving hundreds of millions of parameters—preclude their use in real-time edge applications or resource-constrained environments. Knowledge distillation (KD) is a promising solution for model compression, but standard KD methods struggle with the specific nuances of time series data.
DistilTS is the first framework specifically engineered to bridge this gap. It tackles two primary hurdles: the Task Difficulty Discrepancy (the "seesaw effect" where models favor easier short-term predictions) and the Architecture Discrepancy (the structural mismatch between high-resolution teacher models and efficient student models).
Methodology: Bridging the Gap
DistilTS introduces two core innovations to enable effective distillation from large TSFMs into lightweight students like iTransformer or DLinear.
Horizon-Weighted Knowledge Distillation
In standard forecasting, predicting the immediate future is significantly easier than predicting distant time steps. Uniform loss functions often lead to a "seesaw effect," where the student model over-optimizes for short-term accuracy at the expense of long-term performance. DistilTS employs an exponentially increasing weighting scheme for the distillation loss, forcing the student to prioritize harder, long-term horizons.
Factorized Temporal Alignment (FTA)
A major challenge in distilling TSFMs is the architectural mismatch. Many TSFMs use point-wise or patch-wise tokenization, whereas efficient student models often utilize variate-wise encodings to avoid quadratic complexity. FTA resolves this by projecting student embeddings into a latent space and modulating them with learnable time embeddings. This allows the student to reconstruct and learn from the teacher's high-resolution internal representations without sacrificing its own efficiency.
Experimental Evaluation
The framework was rigorously tested on five standard multivariate benchmarks: ETTh1, ETTh2, ETTm1, ETTm2, and Weather. These datasets cover various temporal resolutions and are widely used to evaluate long-term forecasting.
Efficiency and Performance
DistilTS demonstrates remarkable efficiency gains. Compared to full-sized TSFMs, the distilled models achieve:
- 150x Parameter Reduction: Shrinking models from hundreds of millions of parameters to just 1.8M.
- 6000x Faster Inference: Enabling real-time processing that was previously impossible for foundation models.
Crucially, these gains do not come at the cost of accuracy. DistilTS ranked first in 13 out of 20 experimental scenarios, frequently outperforming the original foundation models in long-term forecasting metrics (MSE/MAE).
Key Insights
- The Seesaw Effect: Empirical results confirm that without horizon weighting, distillation signals are dominated by short-term horizons, leading to poor long-term generalization.
- Representation Quality: The quality of the teacher's internal representations is more critical for the student's success than the teacher's raw size. Increasing teacher parameters beyond a certain point yielded diminishing returns for the student.
- Structural Alignment: The FTA module is essential for bridging the gap between variate-wise and point-wise architectures, allowing compact models to capture complex temporal patterns.
Conclusion and Future Work
DistilTS provides a robust path for deploying powerful TSFM capabilities on edge devices. While highly effective, the framework currently requires student and teacher models to share the same lookback window, which can be a constraint. Future research will explore enhancing the zero-shot generalization of these distilled models and developing more flexible alignment strategies for varying lookback lengths.
Code is available at: https://github.com/itsnotacie/DistilTS-ICASSP2026
Summary updated