arXiv:2610.28602cs.LGOct 2026

Manuscript Offprint

arXiv:2610.28602

Turning TS2Vec into a Foundation Model for Time Series Classification

Vasilii Feofanov, Zhenghan Tai, Andrei Ermakov, Irina Rish

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

TS2Vec is one of the strongest self-supervised methods for time series classification, introduced in 2022. It is designed to be trained anew on every dataset: self-supervised pre-training followed by linear probing. Since then, the field has shifted towards foundation models that reuse one encoder across datasets. Yet TS2Vec offers a compact convolutional architecture that operates directly on temporal samples and accepts variable-length inputs without resampling. We ask whether these properties can be retained when the encoder is pre-trained only once, and show that they can: TS2Vec can essentially be turned into a foundation model. Three changes suffice: pre-train on a synthetic corpus, feed the encoder a raw amplitude view and an instance-normalized shape view of the input through two small stems, and distill one specialist encoder per view into a single encoder. The result, TS2Vec-FM, is a 1.6M-parameter dilated convolutional network that, kept frozen, reaches 83.3% on UCR-128 and 75.3% on UEA-27 under linear probing, within 0.3 pp of MantisV2, the current state of the art, and above TS2Vec trained separately on each target dataset. What we find most interesting is how different TS2Vec-FM is from other foundation models in design: near-parity is reached without attention, without a patch tokenizer, and without intermediate-layer extraction, using an “old-school” convolutional encoder and a two-layer MLP stem.

1 Introduction

Time series foundation models (TSFMs) aim to provide a single frozen encoder whose features are useful across downstream datasets, removing the need to train a specialized model per task [Feofanov et al., 2026a, Lin et al., 2024, Goswami et al., 2024]. Most of TSFMs use transformer architecture pre-trained on a large corpus of time series, real and / or synthetic [Xie et al., 2026]. Prior to foundation models, the same problem was attacked from another angle: self-supervised methods such as TS2Vec [Yue et al., 2022], T-Loss [Franceschi et al., 2019] and TNC [Tonekaboni et al., 2021] train a small encoder separately on each target dataset. TS2Vec in particular remains a standard and strong baseline, but its design is viewed as somewhat outdated, and it has never been evaluated as a universal encoder itself. This paper asks whether it can become one.

The answer is yes, with three changes (Figure 1): pretrain once on synthetic data; give the encoder raw and instance-normalized input views through separate stems; and distill [Hinton et al., 2015] two resulting specialists into a single encoder. The specialists retain the original TS2Vec architecture and

Preprint.

(a) One encoder, two views of the input

Figure

(b) Training: pre-train two specialists, then distill them into one encoder

Figure

teachers are frozen after stage 1 and discarded after stage 2

Figure 1: TS2Vec-FM architecture and training. (a) Raw and instance-normalized inputs pass through an MLP and a linear stem, respectively. Their concatenation feeds a shared convolutional trunk and temporal max pooling. (b) Two specialists are pretrained on synthetic data with the TS2Vec objective and then frozen. On the same data, each teacher supervises one 320-dimensional half of the student through timestamp-level and pooled cosine losses. Downstream, only a classifier on frozen student features is fitted.

contrastive objective, while the student uses the same residual-block design with modified input and output layers and is trained by distillation.

The result is notable for two reasons. First, the resulting 1.6M-parameter encoder is competitive: frozen, it outperforms per-dataset TS2Vec and the evaluated forecasting-based extractors, and comes within a few tenths of a percentage point of MantisV2 while using about 25% fewer parameters. Second, it reaches this performance with a markedly different design — convolutions instead of attention, a two-layer MLP stem instead of a hand-designed multi-view tokenizer, and the final representation rather than a selected intermediate layer. This near-parity suggests that the information exposed to the encoder may matter more than the specific tokenizer design; our ablations point in particular to the complementarity of amplitude and shape.

References (44)