Towards Generalisable Time Series Understanding Across Domains

Özgün Turgut, Philip Müller, Martin J. Menten, Daniel Rueckert · Submission to ICLR 2025 · Rejected

TL;DR

OTiS (Open model for general Time Series analysis) is a foundation model designed to overcome the severe cross-domain heterogeneity of time series data. By combining learnable domain-specific signatures, a dual masking strategy, and a normalized cross-correlation loss, OTiS pre-trains on over 11 billion time points across 8 diverse domains and sets new state-of-the-art results across classification, regression, and forecasting tasks.

What Problem Does This Paper Address?

While self-supervised foundation models have revolutionized natural language processing and computer vision, time series analysis has lagged behind. Real-world time series data is notoriously heterogeneous:

  • Variate counts and relationships: Audio typically has 1–2 channels, while medical electroencephalography (EEG) can have hundreds of physically situated channels.
  • Temporal dynamics and frequencies: Weather and finance span hourly or monthly frequencies with strong seasonality or trends, whereas audio is sampled at tens of kilohertz.

Existing "universal" time series models usually bypass this diversity through crude workarounds—either treating multi-variate data as independent univariate streams, forcibly resampling frequencies, or cropping signals into rigid shapes. These shortcuts destroy vital inter-channel dependencies and long-term dynamics. OTiS introduces a pre-training framework that embraces multi-domain heterogeneity without sacrificing multi-variate context.

Methods

OTiS uses an encoder-decoder Transformer trained via masked data modeling (MDM), incorporating three core architectural innovations:

  1. Domain-Specific Tokenizer: Time series patches are embedded with a shared 1D convolutional patch projector and standard 1D temporal positional embeddings. To represent multi-variate dependencies, OTiS injects learnable domain-specific variate embeddings ($e_{S,v}^V$). These serve as structural signatures of each domain (e.g., capturing the spatial relationships among EEG electrodes). When transferring to an unseen domain, new variate embeddings are simply initialized and fine-tuned.
  2. Dual Masking Strategy: During pre-training, the model alternates between two masking modes:
  3. Random masking (75% of batches): Tokens are masked uniformly at random to encourage bidirectional feature extraction and inter-channel interaction.
  4. Post-fix masking (25% of batches): The entire second half of the time window is masked, forcing the network to predict future values from past context to learn temporal causality.
  5. Normalized Cross-Correlation (NCC) Loss: Mean Squared Error (MSE) focuses on local, point-wise reconstruction. To force the model to capture global temporal trends and long-range dependencies, OTiS supplements MSE with an auxiliary NCC loss: $$\mathcal{L} = \mathcal{L}_{\text{MSE}} + \lambda (1 - \mathcal{L}_{\text{NCC}})$$

Datasets

  • Pre-Training Corpus: 640,187 samples (~11 billion time points, 164 GB) spanning 8 domains:
  • ECG (MIMIC-IV-ECG)
  • Temperature (DWD)
  • Audio (AudioSet-20K mono/stereo)
  • Electromechanics (FD-A)
  • EEG (TDBrain, SEED)
  • Banking (NN5)
  • Economics (FRED-MD, Exchange)
  • Downstream Benchmarks (15 tasks across 10 datasets):
  • Classification: Epilepsy (EEG), FD-B (bearing fault detection), Gesture (accelerometer), EMG (muscular disease), and TUEV (EEG event types).
  • Regression: UK Biobank ECG data predicting five cardiac phenotypes (LVEDV, LVESV, LVSV, LVEF, LVM).
  • Forecasting: ETTh1, ETTh2, ETTm1, ETTm2 (power grid temperatures), Weather, and Electricity consumption.

Key Insights and Ideas

  • Cross-domain transfer beats domain-specific training: Pre-training on mixed multi-domain data outperformed models pre-trained solely on target-domain data. For instance, OTiS beat baseline models trained exclusively on ECG signals—and even matched or exceeded multimodal models (CM-AE, MMCL) that had access to paired cardiac MRI images during training.
  • Variate embeddings rediscover physical reality: Principal Component Analysis (PCA) on the learned EEG variate embeddings showed that the model reconstructed the spatial 3D/2D layouts of electrodes on the scalp ($R^2 = 0.81$ on pre-trained 19 channels; $R^2 = 0.95$ when fine-tuned on an unseen 32-channel dataset) without ever receiving physical coordinate labels. ECG embeddings similarly reconstructed cardiac lead geometries, and weather embeddings captured known meteorological relationships (such as the inverse link between vapor pressure deficit and relative humidity).

Key Results

OTiS established new state-of-the-art results on 10 out of 15 downstream benchmarks:

  • Classification: Achieved 99.24% accuracy on the long-sequence FD-B benchmark (outperforming prior state-of-the-art SimMTM at 69.40%).
  • Regression: Outperformed all time-series baselines across cardiac phenotype prediction (e.g., LVEDV $R^2 = 0.509$ vs. MAE's $0.486$; LVEF $R^2 = 0.292$ vs. MAE's $0.237$).
  • Forecasting: Set new SOTA MSE marks on 4 of 6 datasets, including ETTh2 (0.205 vs. PatchTST's 0.274) and Weather (0.139 vs. PatchTST's 0.149).
  • Zero-Shot: Evaluated without any downstream fine-tuning, frozen OTiS representations achieved 93.70% accuracy on Epilepsy and 95.12% on EMG.

Limitations and Future Work

  • Model Scaling Bottlenecks: Scaling from Base (8M parameters) to Large (44M) and Huge (131M) did not yield proportional performance improvements, indicating that time-series models require even larger corpora to benefit from massive parameter scaling.
  • Manual Data Curation: The pre-training corpus relies on manually selected datasets rather than open-ended web crawling. Automated data filtering and rebalancing pipelines are needed.
  • Inference Condition Conditioning: Future iterations could explore explicit domain prompting during inference to unlock richer zero-shot capabilities.

Summary updated

BibTeX
@article{turgut2026towards,
  author = {Özgün Turgut and Philip Müller and Martin J. Menten and Daniel Rueckert},
  title = {{Towards Generalisable Time Series Understanding Across Domains}},
  journal = {Trans. Mach. Learn. Res.},
  year = {2026},
}

Loading related content...

Figure