Mantis: Lightweight Calibrated Foundation Model for User-Friendly Time Series Classification

Vasilii Feofanov, Songkang Wen, Marius Alonso, Romain Ilbert, Hongbo Guo +4 more
2/21/2025
cs.LGcs.AIstat.ML

No official code found. Best implementation: vfeofanov/mantis (143 stars, Apache-2.0, last commit 2026-03-02).

Abstract

In recent years, there has been increasing interest in developing foundation models for time series data that can generalize across diverse downstream tasks. While numerous forecasting-oriented foundation models have been introduced, there is a notable scarcity of models tailored for time series classification. To address this gap, we present Mantis, a new open-source foundation model for time series classification based on the Vision Transformer (ViT) architecture that has been pre-trained using a contrastive learning approach. Our experimental results show that Mantis outperforms existing foundation models both when the backbone is frozen and when fine-tuned, while achieving the lowest calibration error. In addition, we propose several adapters to handle the multivariate setting, reducing memory requirements and modeling channel interdependence.

View on arXivView PDF

Code Implementations(1)

vfeofanov/mantisCommunity100%
Apache-2.0

Mantis: Lightweight Calibrated Foundation Model for User-Friendly Time Series Classification

14312Python, Jupyter NotebookOct 9, 20247 months agoApache-2.0
foundation-modelstime-seriestime-series-classificationtransformers

Similar Papers

Cite this paper

@article{feofanov2025mantis,
  title  = {Mantis: Lightweight Calibrated Foundation Model for User-Friendly Time Series Classification},
  author = {Vasilii Feofanov and Songkang Wen and Marius Alonso and Romain Ilbert and Hongbo Guo and Malik Tiomoko and Lujia Pan and Jianfeng Zhang and Ievgen Redko},
  year   = {2025},
  eprint = {2502.15637},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.15637v1}
}

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/2502.15637.svg)](https://codeofpaper.com/paper/2502.15637)

Discussion