Unlocking Pretrained Vision Transformers for Time Series Classification

Simon Roschmann, Quentin Bouniot, Vasilii Feofanov, Ievgen Redko, Zeynep Akata
6/10/2025
8 citations
cs.LGcs.AIcs.CV
transformer-attention

Official code: ExplainableML/TiViT (28 stars, MIT, last commit 2026-09-21).

Abstract

Adapting vision models for time series analysis is compelling, yet all existing approaches are falling short of dedicated time series foundation models (TSFMs) in classification. In this work, we propose Time Vision Transformer (TiViT), the first framework that successfully unlocks the representational power of frozen Vision Transformers (ViTs) pretrained on large-scale image datasets for time series classification.

Show full abstract

TiViT achieves state-of-the-art performance without any finetuning by utilizing the hidden representations of OpenCLIP models. We explore the structure of TiViT representations and find that intermediate ViT layers with high intrinsic dimension are the most effective for time series classification. Furthermore, we assess the alignment between TiViT and TSFM representation spaces and identify a strong complementarity, with additional performance gains achieved through feature concatenation. Finally, we unfreeze the ViT backbone of TiViT for continual pretraining and contrastive alignment with TSFMs on time series, enhancing the performance of lightweight TiViT variants. Our findings reveal a new direction for the domain and task adaptation of vision foundation models. Code is available at https://github.com/ExplainableML/TiViT.

View on arXivView PDF

Code Implementations(1)

MIT

[GCPR 2026 Oral] Unlocking Pretrained Vision Transformers for Time Series Classification

283Jul 1, 20252 months agoMIT

Similar Papers

Cite this paper

@article{roschmann2025unlocking,
  title  = {Unlocking Pretrained Vision Transformers for Time Series Classification},
  author = {Simon Roschmann and Quentin Bouniot and Vasilii Feofanov and Ievgen Redko and Zeynep Akata},
  year   = {2025},
  eprint = {2506.08641},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2506.08641v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2506.08641.svg)](https://codeofpaper.com/paper/2506.08641)

Discussion