TSLib TimeMoE
A decoder-only time series forecasting transformer with sparse mixture-of-experts layers.
Time series · 2,328 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Task
- Time series
- Parameters
- 113.4M
- Operations
- 2,328
- Framework
- PyTorch
- Recurrent
- No
- Published
- ICLR 2025
- Cited by
- 12 (as of 23 October 2026)
- Authors
- Xiaoming Shi, Shiyu Wang, Yuqi Nie and others
- Source
- GitHub: Time-MoE/Time-MoE
- License
- Apache-2.0
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m3048
- Graph hash
- 1881268b560edf04150e91e5d42ed18c0da6c45768e7c6e4392b45d7e85fae06
- Skeleton hash
- a1d43c2c04b1d5ae7aca5c81b16b0e76d10a6a2ccee41720ce4fedc9959d4c36
- Architecture hash
- b24481cff39b7fb5a3595b0a93df9f4632f925fc807ef497db6cfa283bb3963b
- Diagram SHA-256
- d8b9180fbefbb4f0172adb318b901e07f954cbf81a2af2e6aaa2ec9cd5695d39
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
This model is TimeMoE-50M, which the authors list as Time-MoE (base).
Time-MoE is a set of foundation models for time series forecasting: decoder-only transformers that predict a series in an auto-regressive manner. The paper starts from the observation that pre-trained time series models remain limited in scale and operate at a high cost. Its answer is a sparse mixture-of-experts design, which activates only a subset of networks for each prediction and so reduces computational load while keeping model capacity high.
Each time point is a token of its own, a choice the paper calls point-wise tokenization. Inside each block, the feed-forward network is replaced by a mixture-of-experts layer whose experts are sparsely activated. The blocks also use rotary positional embeddings instead of absolute positional encoding. Several output projections forecast at different horizons, and the paper chooses horizons of 1, 8, 32 and 64. Training uses the Huber loss for its robustness to outliers.
The models were pre-trained on Time-300B, a collection the authors introduce that spans over 9 domains and over 300 billion time points. The largest model has 2.4 billion parameters with around 1 billion of them activated, and the base model has 50 million activated parameters. On six benchmarks, the authors report average reductions in forecasting error of 20% in zero-shot and 24% in in-distribution scenarios.
Key idea. Time-MoE uses a sparse mixture-of-experts design in a decoder-only forecasting transformer, activating only a subset of networks for each prediction to scale without a matching rise in inference cost.
- Time-MoE
- TimeMoE
- TimeMoE-50M
- time series foundation model
- time series forecasting
- mixture of experts
- zero-shot forecasting
- Time-300B
- sparse MoE transformer
- universal forecasting
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{shi2025timemoebillionscaletimeseries,
title={Time-MoE: Billion-Scale Time Series Foundation Models with Mixture of Experts},
author={Xiaoming Shi and Shiyu Wang and Yuqi Nie and Dianqi Li and Zhou Ye and Qingsong Wen and Ming Jin},
year={2025},
eprint={2409.16040},
archivePrefix={arXiv},
primaryClass={cs.LG},
url={https://arxiv.org/abs/2409.16040},
}