Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Time Series Representations for Classification Lie Hidden in Pretrained Vision Transformers

About

Time series classification is a fundamental task in healthcare and industry, yet the development of time series foundation models (TSFMs) remains limited by the scarcity of publicly available time series datasets. In this work, we propose Time Vision Transformer (TiViT), a framework that converts time series into images to leverage the representational power of frozen Vision Transformers (ViTs) pretrained on large-scale image datasets. First, we theoretically motivate our approach by analyzing the 2D patching of ViTs for time series, showing that it can increase the number of label-relevant tokens and reduce the sample complexity. Second, we empirically demonstrate that TiViT achieves state-of-the-art performance on standard time series classification benchmarks by utilizing the hidden representations of large OpenCLIP models. We explore the structure of TiViT representations and find that intermediate layers with high intrinsic dimension are the most effective for time series classification. Finally, we assess the alignment between TiViT and TSFM representation spaces and identify a strong complementarity, with further performance gains achieved by combining their features. Our findings reveal a new direction for reusing vision representations in a non-visual domain. Code is available at https://github.com/ExplainableML/TiViT.

Simon Roschmann, Quentin Bouniot, Vasilii Feofanov, Ievgen Redko, Zeynep Akata• 2025

Related benchmarks

TaskDatasetResultRank
Time-series classificationUCI-HAR
Accuracy89.36
88
Time-series classificationUEA-27 (test)
EigenWorms Accuracy93.13
39
Time-series classificationUCR First Part (test)
ACSF1 Accuracy86.67
32
Time-series classificationPCL OOD
Accuracy51.32
26
Time-series classificationUCR Archive all datasets
Wins62
21
Time-series classificationEpilepsy-EEG
Accuracy95.48
21
Time-series classificationHHAR OOD
Accuracy40.31
21
Time-series classificationMP8
Accuracy60.22
21
Time-series classificationCAP OOD
Accuracy78.4
17
Time-series classificationUCR
Accuracy80.29
10
Showing 10 of 24 rows

Other info

Follow for update