STEP: Scientific Time-Series Encoder Pretraining via Cross-Domain Distillation
Authors: Chen Zhang, Liwei Liu, Jun Tao, Xiaoyu Yang, Xuenan Xu, Kai Chen, Bowen Zhou, Wen Wu, Chao Zhang
Organizations: Shanghai Aritificial Intelligence Laboratory · Tsinghua University · Harbin Institute of Technology · Sichuan University · University of Cambridge
Scientific time series are central to scientific AI but are typically sparse, highly heterogeneous, and limited in scale, making unified representation learning particularly challenging. Meanwhile, foundation models pretrained on relevant time series domains such as audio, general time series, and brain signals contain rich knowledge, but their applicability to scientific signals remains underexplored. In this paper, we investigate the transferability and complementarity of foundation models from relevant time series domains, and study how to effectively leverage them to build a unified encoder for scientific time series. We first systematically evaluate relevant foundation models, showing the effectiveness of knowledge transfer to scientific tasks and their complementary strengths. Based on this observation, we propose STEP, a Scientific Time Series Encoder Pretraining framework via cross domain distillation. STEP introduces adaptive patching to handle extreme-length sequences and a statistics compensation scheme to accommodate diverse numerical scales. It further leverages cross-domain distillation to integrate knowledge from multiple foundation models into a unified encoder. By combining complementary representations across different domains, STEP learns general-purpose and transferable features tailored for scientific signals. Experiments on seven scientific time series tasks demonstrate that STEP provides both an effective structure and an effective pretraining paradigm, taking a STEP toward scientific time series representation learning.
Figures & tables
Figure 1: Architecture of the STEP Encoder. It includes an adaptive module that dynamically compresses the input signal and a statistics compensation scheme that recovers task-relevant statistical information.
Figure 2: Illustration of the multi-teacher distillation process.
Dataset
Discipline
# Sample
Len. Range
Freq. (Hz)
# Ch.
Task
GWOSC ( Wu et al., 2026 )
Astronomy
1024
1.6e4
6.4e4
1
Gravitational wave detection
LEAVES ( Fei et al., 2024 )
Astronomy
1024
24 ∼ 1.3e3
1.2e-5
1
Light curve recognition
STEAD ( Mousavi et al., 2019 )
Earth Science
2048
1.0e2
6.0e3
3
Earthquake detection
MarmAudio ( Lamothe et al., 2025 )
Bioacoustics
900
6.2e4 ∼ 2.4e5
9.6e4
1
Vocalisation recognition
SleepEDF ( Kemp et al., 2000 )
Neuroscience
1024
3.0e3
1.0e2
1
Sleep staging
WBCIC ( Yang et al., 2025a )
Neuroscience
3600
1.0e3
2.5e2
58
Motor imagery classification
Table 1: Overview of downstream scientific datasets and corresponding tasks. “Len.” denotes length,“Freq.” denotes frequency, “Ch.” denotes channels.
Model
PT
FT
GWOSC
LEAVES
STEAD
MarmAudio
SleepEDF
WBCIC
RadSeg
Acc ↑
F1 ↑
Acc ↑
F1 ↑
Acc ↑
F1 ↑
Acc ↑
F1 ↑
Acc ↑
F1 ↑
Acc ↑
F1 ↑
Acc ↑
F1 ↑
Whisper
√
×
58.5
53.2
65.2
33.2
97.9
97.9
70.7
65.7
64.8
46.8
34.5
27.6
43.0
37.4
√
√
97.9
97.9
81.9
48.7
99.9
99.9
97.9
97.9
80.5
71.1
33.3
16.7
78.4
78.6
×
√
97.5
97.5
82.0
51.4
99.6
99.6
96.7
96.7
77.8
64.9
33.3
16.7
69.7
69.4
SPEAR
√
×
88.6
88.4
62.2
43.2
93.1
93.1
82.9
81.7
70.9
60.2
36.4
29.5
58.4
58.3
√
√
99.5
99.5
71.6
56.3
99.8
99.8
97.6
97.5
73.5
64.6
40.8
35.0
78.4
78.4
Table 2: The Accuracy (%) and F1 score (%) of foundation models from relevant domains on downstream scientific time series tasks. “PT” refers to whether pretrain weights are loaded. “FT” refers to whether encoder is finetuned during training. Best results in each column shown in bold. Second best underscored.
Model
GWOSC
LEAVES
STEAD
MarmAudio
SleepEDF
WBCIC
RagSeg
Acc ↑
F1 ↑
Acc ↑
F1 ↑
Acc ↑
F1 ↑
Acc ↑
F1 ↑
Acc ↑
F1 ↑
Acc ↑
F1 ↑
Acc ↑
F1 ↑
PatchTST
74.8
72.5
86.1
72.9
83.7
83.3
67.2
62.6
79.5
67.7
47.3
38.9
87.6
87.7
Informer
58.7
50.3
75.0
74.7
74.5
74.7
51.8
45.3
74.0
61.5
54.6
43.7
92.5
92.5
TimeMoE
78.7
77.8
82.0
72.7
92.8
92.7
50.7
50.6
69.3
57.1
33.9
21.2
86.5
86.5
Moirai
80.0
80.0
79.3
57.8
99.6
99.6
85.1
85.2
73.7
66.2
33.3
16.7
87.6
87.8
STEP
97.3
97.4
92.2
91.2
99.0
99.0
94.7
94.6
78.2
76.3
48.7
43.2
95.2
95.2
Table 3: Baseline comparison of encoder architectures. All models trained from scratch. Best results in each column shown in bold. Second best underscored. All values reported in percentage (%).
GWOSC
LEAVES
STEAD
MarmAudio
SleepEDF
WBCIC
RadSeg
STEP
Acc ↑
F1 ↑
Acc ↑
F1 ↑
Acc ↑
F1 ↑
Acc ↑
F1 ↑
Acc ↑
F1 ↑
Acc ↑
F1 ↑
Acc ↑
F1 ↑
− Adaptive patching
73.1 ∗
73.2 ∗
92.3
90.0
98.9
98.9
93.8
93.7
71.6 ∗
70.1 ∗
48.9
44.6
94.5
94.5
− Statistics compensation
97.9
97.9
88.8 ∗
85.3 ∗
98.2
98.2
93.6
93.4
74.6
74.0
50.4
45.6
89.5 ∗
89.5 ∗
Table 4: Ablation results of STEP, trained from scratch. Results with distinct decrease are marked by asterisk. All values reported in percentage (%).
Figure 3: F1 scores on the downstream scientific time series tasks for the STEP encoder distilled from different teacher models.
Time series representation learning develops compact, transferable features that capture temporal patterns for forecasting, classification, retrieval, and anomaly detection.
Self-supervised foundation models have achieved remarkable success across domains, including time series. However, the potential of non-contrastive methods, a paradigm that has driven significant advances in computer vision, remains underexplored for time series. In this work, we adapt DINOv2-style self-distillation to pretrain a time series foundation model, building on the Mantis tokenizer and transformer encoder architecture as our backbone. Through a student-teacher framework, our method Utica learns representations that capture both temporal invariance via augmented crops and fine-grained local structure via patch masking. Our approach achieves state-of-the-art classification performance on both UCR and UEA benchmarks. These results suggest that non-contrastive methods are a promising and complementary pretraining strategy for time series foundation models.
Yessin Moakher, Youssef Attia El Hili, Vasilii Feofanov
Ecole Polytechnique, France · Huawei Noah’s Ark Lab
The deployment of Time-Series Foundation Models (TSFMs) in physical sciences is hindered by a critical trade-off: while these models encode rich, universal temporal dynamics, they suffer from severe distributional misalignment when applied zero-shot to specific scientific domains, and their computational cost prohibits deployment in edge-computing sensor networks. We address a fundamental challenge: How can we extract latent structural knowledge from misaligned foundation models (FM) to train lightweight, specialized forecasters? We propose Gated Uncertainty-Aware Routing for Distillation (Guard), a novel framework that reframes multiteacher distillation as an instance-wise decision process with two adaptive mechanisms: (1) a Contextual Router that dynamically selects the most relevant teacher based on local input statistics, exploiting complementarity across diverse foundation models; and (2) an Uncertainty-Gated Temperature mechanism that acts as a "circuit-breaker," automatically attenuating distillation strength when teacher confidence diverges from domain reality. We evaluate our proposed lightweight framework on four climate-critical domains: meteorology, ecosystem carbon flux, soil moisture, and energy grids. Our method significantly reduces RMSE relative to a fixed-weight multi-teacher distillation baseline, successfully distilling knowledge from pretrained FMs (teachers) even when they exhibit suboptimal zero-shot accuracy due to distribution shift between the original and target data domains. We demonstrate that these domain-misaligned teachers can still serve as critical correctives, outperforming the globally superior FMs on 28.5% of the hardest instances. Ultimately, this enables high-precision scientific forecasting suitable for resource-constrained edge deployment. Code is available at https://github.com/RupasreeDey/GUARD-KDD2026.
Rupasree Dey, Abdul Matin, Nathan Orwick +3
Department of Computer Science Colorado State University Fort Collins, Colorado, USA · Department of Soil and Crop Sciences Colorado State University Fort Collins, Colorado, USA
While Next-Token Prediction (NTP) has unified LLM pretraining, its adaptation to unbounded, continuous time series (TS) remains open. To bridge the gap, we introduce UniTok, a universal tokenizer that transforms TS into discrete tokens, and UniTok-FM, a foundation model pretrained via NTP on these tokens. UniTok-FM is a general-purpose foundation model that supports zero-shot and prompt-boosted forecasting, as well as few-shot generation and classification via training-free in-context inference--a capability not achieved by prior works. Technically, UniTok is a vector-quantized autoencoder incorporating prefix normalization for scale stabilization, a progressive-resolution causal architecture for encoding and decoding, and a structure-preserving reconstruction loss for training. UniTok-FM adopts an off-the-shelf LLM architecture without TS-specific modifications. Instead of pretraining on isolated TS, it performs NTP on context windows formed by multiple series with similar patterns, aiming to capture their shared dynamics. Experiments on forecasting, generation, and classification show that a single unified UniTok-FM consistently outperforms statistical and supervised baselines, achieves competitive performance with task-specific foundation models, and uniquely enables training-free in-context inference across tasks.
Yunhao Zhang, Ruiying Qi, Jiale Zheng +3
Shanghai Jiao Tong University · Huawei Noah’s Ark Lab