README.md

June 16, 2026 Β· View on GitHub

A Researcher&Agent-Friendly Framework for Time Series Analysis.

Train Any Model on Any Dataset.

πŸ“Š Time series analysis leaderboard is now available on our πŸ€— Hugging Face space. Discover the performance of different models!


This is also the official repository for the following paper:

  • Learning Recursive Multi-Scale Representations for Irregular Multivariate Time Series Forecasting (ICLR 2026) [poster] [OpenReview] [arXiv]

    @inproceedings{li_LearningRecursiveMultiScale_2026,
        author = {Li, Boyuan and Liu, Zhen and Luo, Yicheng  and Ma, Qianli},
        booktitle = {International Conference on Learning Representations},
        title = {Learning Recursive Multi-Scale Representations for Irregular Multivariate Time Series Forecasting},
        year = {2026}
    }
    
  • HyperIMTS: Hypergraph Neural Network for Irregular Multivariate Time Series Forecasting (ICML 2025) [poster] [OpenReview] [arXiv]

    @inproceedings{li_HyperIMTSHypergraphNeural_2025,
        author = {Li, Boyuan and Luo, Yicheng and Liu, Zhen and Zheng, Junhao and Lv, Jianming and Ma, Qianli},
        booktitle = {Forty-Second International Conference on Machine Learning},
        title = {HyperIMTS: Hypergraph Neural Network for Irregular Multivariate Time Series Forecasting},
        year = {2025}
    }
    

1. ✨ Hightlighted Features

  • Extensibility: Adapt your model/dataset once, train almost any combination of "model" Γ—\times "dataset" Γ—\times "loss function".
  • Compatibility: Accept models with any number/type of arguments in forward; Accept datasets with any number/type of return values in __getitem__; Accept tailored loss calculation for specific models.
  • Maintainability: No need to worry about breaking the training codes of existing models/datasets/loss functions when adding new ones.
  • Reproducibility: Minimal library dependencies for core components. Try the best to get rid of fancy third-party libraries (e.g., PyTorch Lightning, EasyTorch).
  • Efficiency: Multi-GPU parallel training; Python built-in logger; structured experimental result saving (json)...
  • Transferability: Even if you don't like our framework, you can still easily find and copy the models/datasets you want. No overwhelming encapsulation.

2. 🧭 Documentation

Checkout the new documentation website.

Using 🦞agent? Check out our official PyOmniTS skill on clawhub. Your agent will understand the essentials of our framework, and even automate the code replication process by adapting other papers' codes into PyOmniTS!

3. πŸ€– Models

53 models, covering regular, irregular, pretrained, and traffic models, have been included in PyOmniTS, and more are coming.

Model classes can be found in models/, and their dependencies can be found in layers/

  • βœ…: supported
  • ❌: not supported
  • '-': not implemented
  • MTS: regularly sampled multivariate time series
  • IMTS: able to handle irregularly sampled multivariate time series
ModelVenueTypeForecastingClassificationImputationAvailable Versions
Ada-MSHyperNeurIPS 2024MTSβœ…βœ…βœ…v1.0.0+
APNAAAI 2026IMTSβœ…--v1.3.2+
ASTGIICLR 2026IMTSβœ…--v2.0.1+
AutoformerNeurIPS 2021MTSβœ…βœ…βœ…v1.0.0+
ScaleformerICLR 2023MTSβœ…-βœ…v2.0.0+
BigSTVLDB 2024MTSβœ…βœ…βœ…v1.0.0+
CrossformerICLR 2023MTSβœ…βœ…βœ…v1.0.0+
CRUICML 2022IMTSβœ…βŒβœ…v1.0.0+
DLinearAAAI 2023MTSβœ…βœ…βœ…v1.0.0+
ETSformerarXiv 2022MTSβœ…βœ…βœ…v1.0.0+
FEDformerICML 2022MTSβœ…βœ…βœ…v1.0.0+
FiLMNeurIPS 2022MTSβœ…βœ…βœ…v1.0.0+
FourierGNNNeurIPS 2023MTSβœ…βœ…βœ…v1.0.0+
FreTSNeurIPS 2023MTSβœ…βœ…βœ…v1.0.0+
GNeuralFlowNeurIPS 2024IMTSβœ…βŒβœ…v1.0.0+
GraFITiAAAI 2024IMTSβœ…βœ…βœ…v1.0.0+
GRU-DScientific Reports 2018IMTSβœ…βœ…βœ…v1.0.0+
HD-TTSICML 2024IMTSβœ…-βœ…v2.0.0+
Hi-PatchICML 2025IMTSβœ…βœ…βœ…v1.0.0+
higpICML 2024MTSβœ…βœ…βœ…v1.0.0+
HyperIMTS (Ours)ICML 2025IMTSβœ…-βœ…v1.0.0+
InformerAAAI 2021MTSβœ…βœ…βœ…v1.0.0+
iTransformerICLR 2024MTSβœ…βœ…βœ…v1.0.0+
KoopaNeurIPS 2023MTSβœ…βŒβœ…v1.0.0+
Latent_ODENeurIPS 2019IMTSβœ…βŒβœ…v1.0.0+
LeddamICML 2024MTSβœ…βœ…βœ…v1.0.0+
LightTSarXiv 2022MTSβœ…βœ…βœ…v1.0.0+
MambaLanguage Modeling 2024MTSβœ…βœ…βœ…v1.0.0+
MICNICLR 2023MTSβœ…βœ…βœ…v1.0.0+
MOIRAIICML 2024Anyβœ…-βœ…v1.0.0+
mTANICLR 2021IMTSβœ…βœ…βœ…v1.0.0+
NeuralFlowsNeurIPS 2021IMTSβœ…βŒβœ…v1.0.0+
NHITSAAAI 2023MTSβœ…-βœ…v2.0.0+
Nonstationary TransformerNeurIPS 2022MTSβœ…βœ…βœ…v1.0.0+
PatchTSTICLR 2023MTSβœ…βœ…βœ…v1.0.0+
PathformerICLR 2024MTSβœ…-βœ…v2.0.0+
PrimeNetAAAI 2023IMTSβœ…βœ…βœ…v1.0.0+
PyraformerICLR 2022MTSβœ…βœ…βœ…v2.0.0+
RaindropICLR 2022IMTSβœ…βœ…βœ…v1.0.0+
ReformerICLR 2020MTSβœ…βœ…βœ…v1.0.0+
ReIMTS (Ours)ICLR 2026IMTSβœ…βœ…-v2.0.0+
SeFTICML 2020IMTSβœ…βœ…βœ…v1.0.0+
SegRNNarXiv 2023MTSβœ…βœ…βœ…v1.0.0+
Temporal Fusion TransformerarXiv 2019MTSβœ…--v1.0.0+
TFMixerICML 2026IMTSβœ…--v2.0.1+
TiDETMLR 2023MTSβœ…βœ…βœ…v1.0.0+
TimeCHEATAAAI 2025MTSβœ…βœ…βœ…v1.0.0+
TimeMixerICLR 2024MTSβœ…βœ…βœ…v1.0.0+
TimesNetICLR 2023MTSβœ…βœ…βœ…v1.0.0+
tPatchGNNICML 2024IMTSβœ…βœ…βœ…v1.0.0+
TransformerNeurIPS 2017MTSβœ…βœ…βœ…v1.0.0+
TSMixerTMLR 2023MTSβœ…βœ…βœ…v1.0.0+
WarpformerKDD 2023IMTSβœ…βœ…βœ…v1.0.0+

4. πŸ’Ύ Datasets

Dataest classes are put in data/data_provider/datasets, and dependencies can be found in data/dependencies:

11 datasets, covering regular and irregular ones, have been included in PyOmniTS, and more are coming.

  • βœ…: supported
  • ❌: not supported
  • '-': not implemented
  • MTS: regularly sampled multivariate time series
  • IMTS: irregularly sampled multivariate time series
DatasetTypeFieldForecasting
ECLMTSelectricityβœ…
ETTh1MTSelectricityβœ…
ETTm1MTSelectricityβœ…
Human ActivityIMTSbiomechanicsβœ…
ILIMTShealthcareβœ…
MIMIC IIIIMTShealthcareβœ…
MIMIC IVIMTShealthcareβœ…
PhysioNet'12IMTShealthcareβœ…
TrafficMTStrafficβœ…
USHCNIMTSweatherβœ…
WeatherMTSweatherβœ…

Datasets for classification and imputation have not released yet.

5. πŸ“‰ Loss Functions

The following loss functions are included under loss_fns/:

Loss FunctionTaskNote
CrossEntropyLossClassification-
MAEForecasting/Imputation-
ModelProvidedLoss-Some models prefer to calculate loss within forward(), such as GNeuralFlows.
MSE_DualForecasting/Imputation
MSEForecasting/Imputation-

6. 🚧 Roadmap

PyOmniTS is continously evolving:

  • More tutorials.
  • Classification support in core components.
  • Imputation support in core components.
  • Optional python package management via uv.

Yet Another Code Framework?

We encountered the following problems when using existing ones:

  • Argument & return value chaos for models' forward():

    Different models usually take varying number and shape of arguments, especially ones from different domains. Changes to training logic are needed to support these differences.

  • Return value chaos for datasets' __getitem__():

    datasets can return a number of tensors in different shapes, which have to be aligned with arguments of models' forward() one by one. Changes to training logic are also needed to support these differences.

  • Argument & return value chaos for loss functions' forward():

    loss functions take different types of tensors as input, require aligning with return values from models' forward().

  • Overwhelming dependencies:

    some existing pipelines use fancy high-level packages in building the pipeline, which can lower the flexibility of code modification.

Contributors

Ladbaby
Ladbaby

πŸ’» πŸ›

Acknowledgement