Mantis: Lightweight Foundation Model for Time Series Classification
About
While foundation models have revolutionized various domains, their application to time series classification remains rather under-explored, with existing literature predominantly focused on forecasting. To bridge this gap, we introduce \textbf{Mantis}, a transformer-based foundation model pre-trained exclusively on synthetic data via self-supervised contrastive learning. We demonstrate that effective tokenization is critical to unlocking the full potential of transformers, proposing a novel token generator unit. Furthermore, we introduce an enhanced test-time methodology that bridges the performance gap between Mantis and strong specialized approaches by leveraging intermediate-layer representations, self-ensembling, and cross-model embedding fusion. Extensive experiments demonstrate that Mantis establishes a new state-of-the-art, outperforming existing foundation models across four diverse dataset collections covering various application domains.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Time-series classification | UCI-HAR | Accuracy90.13 | 88 | |
| Time-series classification | UEA-27 (test) | EigenWorms Accuracy81.42 | 39 | |
| Time-series classification | UCR First Part (test) | ACSF1 Accuracy82.33 | 32 | |
| Time-series classification | PCL OOD | Accuracy53.11 | 26 | |
| Egocentric Human Activity Recognition | MMEA | Top-1 Accuracy93.01 | 23 | |
| Time-series classification | HHAR OOD | Accuracy58.22 | 21 | |
| Time-series classification | MP8 | Accuracy68.57 | 21 | |
| Time-series classification | Epilepsy-EEG | Accuracy95.58 | 21 | |
| Time-series classification | UCR Archive all datasets | Wins49 | 21 | |
| Time-series classification | UCR Archive (test) | -- | 20 |