Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

UniTS: A Unified Multi-Task Time Series Model

About

Although pre-trained transformers and reprogrammed text-based LLMs have shown strong performance on time series tasks, the best-performing architectures vary widely across tasks, with most models narrowly focused on specific areas, such as time series forecasting. Unifying predictive and generative time series tasks within a single model remains challenging. We introduce UniTS, a unified multi-task time series model that utilizes task tokenization to integrate predictive and generative tasks into a single framework. UniTS employs a modified transformer block to capture universal time series representations, enabling transferability from a heterogeneous, multi-domain pre-training dataset-characterized by diverse dynamic patterns, sampling rates, and temporal scales-to a wide range of downstream datasets with varied task specifications and data domains. Tested on 38 datasets across human activity sensors, healthcare, engineering, and finance, UniTS achieves superior performance compared to 12 forecasting models, 20 classification models, 18 anomaly detection models, and 16 imputation models, including adapted text-based LLMs. UniTS also demonstrates strong few-shot and prompt capabilities when applied to new domains and tasks. In single-task settings, UniTS outperforms competitive task-specialized time series models. Code and datasets are available at https://github.com/mims-harvard/UniTS.

Shanghua Gao, Teddy Koker, Owen Queen, Thomas Hartvigsen, Theodoros Tsiligkaridis, Marinka Zitnik• 2024

Related benchmarks

TaskDatasetResultRank
Time Series ForecastingETTm2
MSE0.275
382
Time Series ForecastingETTm1
MSE0.377
334
Anomaly DetectionSMD
F1 Score88.09
217
Time Series ImputationETTm1
MSE0.019
110
Multivariate Time Series ClassificationUEA multivariate TS classification archive Statistics without N/A 26 datasets (test)
Mean Rank10.115
34
Anomaly DetectionMSL, PSM, SMAP, SMD, SWAT (test)
Average F186.3
22
Deterministic forecastingETT Avg TSFM-Bench
MSE0.471
21
Deterministic forecastingSolar TSFM-Bench
MSE0.845
21
Time-series classification10 datasets Avg.
Accuracy75
20
Deterministic forecastingWeather TSFM-Bench
MSE0.275
20
Showing 10 of 35 rows

Other info

Code

Follow for update