Papers › UniTS: A Unified Multi-Task Time Series Model

UniTS: A Unified Multi-Task Time Series Model

29 Feb 2024arXiv:2403.00131archive 2025-07-28

ShangHua Gao, Teddy Koker, Owen Queen, Thomas Hartvigsen, Theodoros Tsiligkaridis, Marinka Zitnik

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.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2403.00131")

Code

Syntology Ran 19 of 28 code samples harvested from 2 repositories linked to this paper; 9 have no recorded run. Of those that ran: 19 ran with no contract checked.

By repository: official repository: 16 samples from 1 repository, 9 ran; found in paper text by Syntology: 12 samples from 1 repository, 10 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

mims-harvard/UniTS officialmentioned in papermentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

28 samples harvested; 19 ran; 0 honoured the contract we drafted; 9 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

19ran
9unverified

Licence: 0 of the 28 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

CrossAttention mims-harvard/UniTS/models/UniTS.py official repository ran · metamorphic tier: invariant MIT (permissive) · ef2961b050617953 · report
DynamicLinear mims-harvard/UniTS/models/UniTS.py official repository ran · metamorphic tier: invariant fingerprinted MIT (permissive) · d81cf82caf0a3c14 · report
GateLayer mims-harvard/UniTS/models/UniTS.py official repository ran · metamorphic tier: invariant MIT (permissive) · 18d0036b2989c343 · report
LearnablePositionalEmbedding mims-harvard/UniTS/models/UniTS.py official repository ran · metamorphic tier: invariant fingerprinted MIT (permissive) · a7720e5f169c2b3d · report
PatchEmbedding mims-harvard/UniTS/models/UniTS.py official repository ran · metamorphic tier: deterministic fingerprinted MIT (permissive) · acc8fc941a65797e · report
SeqAttBlock mims-harvard/UniTS/models/UniTS.py official repository ran · metamorphic tier: invariant MIT (permissive) · dda0e56e79965b1b · report
SeqAttention mims-harvard/UniTS/models/UniTS.py official repository ran · metamorphic tier: invariant fingerprinted MIT (permissive) · 454a1cd3d3329ede · report
VarAttBlock mims-harvard/UniTS/models/UniTS.py official repository ran · metamorphic tier: invariant MIT (permissive) · 35326016e90c28ac · report
VarAttention mims-harvard/UniTS/models/UniTS.py official repository ran · metamorphic tier: invariant MIT (permissive) · 03d429ddb106034b · report
BasicBlock mims-harvard/UniTS/models/UniTS.py official repository unverified MIT (permissive) · d3cc5ae17d330bdd · report
CLSHead mims-harvard/UniTS/models/UniTS.py official repository unverified MIT (permissive) · d1b2155e7ac7b6df · report
DynamicLinearMlp mims-harvard/UniTS/models/UniTS.py official repository unverified MIT (permissive) · be28d50c76414fa6 · report
ForecastHead mims-harvard/UniTS/models/UniTS.py official repository unverified MIT (permissive) · bfe2418bb89918c9 · report
MLPBlock mims-harvard/UniTS/models/UniTS.py official repository unverified MIT (permissive) · 9707fb7077958a62 · report
Model mims-harvard/UniTS/models/UniTS.py official repository unverified MIT (permissive) · 1a32039eae4bf633 · report
calculate_unfold_output_length mims-harvard/UniTS/models/UniTS.py official repository unverified MIT (permissive) · ea42266bafc13587 · report
DFT_series_decomp thuml/Time-Series-Library/models/TimeMixer.py found in paper text by Syntology ran · metamorphic tier: deterministic MIT (permissive) · 2ab8882fbb385d83 · report
DataEmbedding_wo_pos thuml/Time-Series-Library/models/TimeMixer.py found in paper text by Syntology ran · metamorphic tier: deterministic MIT (permissive) · 6a02f6d3ac9d4ea7 · report
FixedEmbedding thuml/Time-Series-Library/models/TimeMixer.py found in paper text by Syntology ran · metamorphic tier: deterministic MIT (permissive) · 921d4aae41f22f16 · report
MultiScaleSeasonMixing thuml/Time-Series-Library/models/TimeMixer.py found in paper text by Syntology ran · metamorphic tier: deterministic MIT (permissive) · 125e0c04535acce1 · report
Normalize thuml/Time-Series-Library/models/TimeMixer.py found in paper text by Syntology ran · metamorphic tier: deterministic MIT (permissive) · d85e5a2fd0a672ba · report
PastDecomposableMixing thuml/Time-Series-Library/models/TimeMixer.py found in paper text by Syntology ran · metamorphic tier: deterministic MIT (permissive) · 4a082cb4e49aff69 · report
PositionalEmbedding thuml/Time-Series-Library/models/TimeMixer.py found in paper text by Syntology ran · metamorphic tier: invariant fingerprinted MIT (permissive) · 5da1d16a64cf53ce · report
TemporalEmbedding thuml/Time-Series-Library/models/TimeMixer.py found in paper text by Syntology ran · metamorphic tier: deterministic MIT (permissive) · f42ba6fda711db0d · report
TimeFeatureEmbedding thuml/Time-Series-Library/models/TimeMixer.py found in paper text by Syntology ran · metamorphic tier: deterministic fingerprinted MIT (permissive) · 98a0817e251d19c7 · report
TokenEmbedding thuml/Time-Series-Library/models/TimeMixer.py found in paper text by Syntology ran · metamorphic tier: deterministic MIT (permissive) · 588a4a8475ed63a0 · report
Model thuml/Time-Series-Library/models/TimeMixer.py found in paper text by Syntology unverified MIT (permissive) · b1d72a6f113503e9 · report
MultiScaleTrendMixing thuml/Time-Series-Library/models/TimeMixer.py found in paper text by Syntology unverified MIT (permissive) · ad047f96a9f8d71f · report

Tasks

Anomaly DetectionImputationTime SeriesTime Series Forecastingmodel

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Time Series Forecasting ETTh1 (336) Multivariate UniTS-ST MAE 0.422 #9 of 72 Archive leaderboard report
Time Series Forecasting ETTh1 (336) Multivariate UniTS-ST MSE 0.405 #9 of 72 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections