Time Series Representations for Classification Lie Hidden in Pretrained Vision Transformers

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Roschmann, Simon, Bouniot, Quentin, Feofanov, Vasilii, Redko, Ievgen, Akata, Zeynep
Format: Preprint
Publié: 2025
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866918078852366336
author Roschmann, Simon
Bouniot, Quentin
Feofanov, Vasilii
Redko, Ievgen
Akata, Zeynep
author_facet Roschmann, Simon
Bouniot, Quentin
Feofanov, Vasilii
Redko, Ievgen
Akata, Zeynep
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2506_08641
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Time Series Representations for Classification Lie Hidden in Pretrained Vision Transformers
Roschmann, Simon
Bouniot, Quentin
Feofanov, Vasilii
Redko, Ievgen
Akata, Zeynep
Machine Learning
Artificial Intelligence
Computer Vision and Pattern Recognition
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.
title Time Series Representations for Classification Lie Hidden in Pretrained Vision Transformers
topic Machine Learning
Artificial Intelligence
Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2506.08641