TimEE: End-to-end Time Series Classification via In-Context Learning

· Source: Machine Learning · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Data Science & Analytics · Depth: Expert, quick

Summary

TimEE is a 4.5M-parameter foundation model designed for end-to-end Time Series Classification (TSC) using in-context learning. Unlike traditional two-stage TSC methods that decouple representation learning from classification and require per-dataset training, TimEE directly outputs a predicted class distribution in a single forward pass without any dataset-specific training. The model is meta-trained exclusively on synthetic TSC tasks, leveraging the prior-data fitted network (PFN) framework, where tasks involve time series with distinct class identities from structured distributional shifts. Despite its synthetic-only pre-training, TimEE achieves top performance, ranking first in ROC AUC and third in accuracy on the UCR benchmark among various foundation models and supervised deep learning baselines. This marks TimEE as the first purely synthetic-pretrained model to reach such performance on UCR, highlighting a promising new direction for TSC. Its code is publicly available.

Key takeaway

For Machine Learning Engineers developing time series classification solutions, TimEE presents a compelling alternative to traditional two-stage pipelines. You should consider adopting in-context learning with synthetically pre-trained models to eliminate per-dataset training and streamline deployment. This approach offers top performance on benchmarks like UCR, suggesting significant efficiency gains. Explore TimEE's public code to integrate this end-to-end method into your projects, potentially reducing development cycles and computational overhead.

Key insights

TimEE enables end-to-end time series classification using in-context learning and synthetic-only meta-training.

Principles

Method

TimEE uses a prior-data fitted network (PFN) framework, meta-trained on synthetic TSC tasks with structured distributional shifts to directly predict class distributions.

In practice

Topics

Code references

Best for: AI Engineer, Research Scientist, AI Scientist, Machine Learning Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by Machine Learning.