arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.28602cs.LGcs.AI
收藏

将TS2Vec转化为时间序列分类的基础模型

Turning TS2Vec into a Foundation Model for Time Series Classification

University of Toronto(多伦多大学);Université de Montréal(蒙特利尔大学);Mila - Quebec AI Institute(米拉-魁北克人工智能研究所)

Vasilii Feofanov, Zhenghan Tai, Andrei Ermakov, Irina Rish

AI总结:

本文将自监督时间序列分类方法TS2Vec改造为基础模型TS2Vec-FM,通过三项改动实现跨数据集复用,在UCR-128、UEA-27上性能接近最优模型MantisV2且优于单独训练的TS2Vec。

摘要:

TS2Vec是2022年提出的时间序列分类领域最强的自监督方法之一,其设计为在每个数据集上重新训练,流程为自监督预训练后接线性探测。此后该领域转向可跨数据集复用编码器的基础模型,但TS2Vec具备紧凑的卷积架构,可直接作用于时间样本且支持可变长度输入无需重采样。本文探究能否在仅预训练一次编码器的同时保留这些特性,结果表明可行:TS2Vec可本质上转化为基础模型,仅需三项改动:在合成语料上预训练、通过两个小型分支向编码器输入输入的原始幅度视图和实例归一化的形状视图、将每个视图的专用编码器蒸馏为单个编码器。所得TS2Vec-FM是参数规模为160万的膨胀卷积网络,保持冻结状态下线性探测时在UCR-128上准确率达83.3%,在UEA-27上达75.3%,与当前最优模型MantisV2的差距在0.3个百分点以内,且优于在每个目标数据集上单独训练的TS2Vec。最值得注意的是TS2Vec-FM的设计与其他基础模型差异显著:无需注意力机制、无需分块标记器、无需中间层提取,仅采用“老式”卷积编码器和两层MLP分支即可达到接近的性能。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑