Papers › Time-MoE: Billion-Scale Time Series Foundation Models with Mixture of Experts

Time-MoE: Billion-Scale Time Series Foundation Models with Mixture of Experts

24 Sep 2024arXiv:2409.16040archive 2025-07-28

Xiaoming Shi, Shiyu Wang, Yuqi Nie, Dianqi Li, Zhou Ye, Qingsong Wen, Ming Jin

Deep learning for time series forecasting has seen significant advancements over the past decades. However, despite the success of large-scale pre-training in language and vision domains, pre-trained time series models remain limited in scale and operate at a high cost, hindering the development of larger capable forecasting models in real-world applications. In response, we introduce Time-MoE, a scalable and unified architecture designed to pre-train larger, more capable forecasting foundation models while reducing inference costs. By leveraging a sparse mixture-of-experts (MoE) design, Time-MoE enhances computational efficiency by activating only a subset of networks for each prediction, reducing computational load while maintaining high model capacity. This allows Time-MoE to scale effectively without a corresponding increase in inference costs. Time-MoE comprises a family of decoder-only transformer models that operate in an auto-regressive manner and support flexible forecasting horizons with varying input context lengths. We pre-trained these models on our newly introduced large-scale data Time-300B, which spans over 9 domains and encompassing over 300 billion time points. For the first time, we scaled a time series foundation model up to 2.4 billion parameters, achieving significantly improved forecasting precision. Our results validate the applicability of scaling laws for training tokens and model size in the context of time series forecasting. Compared to dense models with the same number of activated parameters or equivalent computation budgets, our models consistently outperform them by large margin. These advancements position Time-MoE as a state-of-the-art solution for tackling real-world time series forecasting challenges with superior capability, efficiency, and flexibility.

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="2409.16040")

Code

Syntology Ran 14 of 20 code samples harvested from 1 repository linked to this paper; 6 have no recorded run. Of those that ran: 2 ran · honoured contract; 2 ran · our draft was wrong; 1 ran · fixture could not drive it; 9 ran with no contract checked.

By repository: official repository: 20 samples from 1 repository, 14 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

time-moe/time-moe 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

20 samples harvested; 14 ran; 2 honoured the contract we drafted; 6 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.

2ran · honoured contract
2ran · our draft was wrong
1ran · fixture could not drive it
9ran
6unverified

Licence: 0 of the 20 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 Time-MoE/Time-MoE. “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.

count_num_tensor_elements Time-MoE/Time-MoE/run_eval.py official repository ran · honoured contract fingerprinted Apache-2.0 (permissive) · 1ac8347912b2415e · report
repeat_kv Time-MoE/Time-MoE/time_moe/models/modeling_time_moe.py official repository ran · fixture could not drive it fingerprinted Apache-2.0 (permissive) · 3c76e52815c5401d · report
TimeMoeConfig time-moe/time-moe/time_moe/models/modeling_time_moe.py official repository ran · metamorphic tier: deterministic Apache-2.0 (permissive) · 3f901a4c755b778e · report
TimeMoeInputEmbedding time-moe/time-moe/time_moe/models/modeling_time_moe.py official repository ran · metamorphic tier: deterministic Apache-2.0 (permissive) · e958505dd9a77a19 · report
TimeMoeMLP time-moe/time-moe/time_moe/models/modeling_time_moe.py official repository ran · metamorphic tier: deterministic Apache-2.0 (permissive) · 45c683c6147f9aeb · report
TimeMoeOutputLayer time-moe/time-moe/time_moe/models/modeling_time_moe.py official repository ran · metamorphic tier: deterministic Apache-2.0 (permissive) · db5943a1300c151a · report
TimeMoePreTrainedModel time-moe/time-moe/time_moe/models/modeling_time_moe.py official repository ran · metamorphic tier: deterministic Apache-2.0 (permissive) · 0da41a274c8a465a · report
TimeMoeRMSNorm time-moe/time-moe/time_moe/models/modeling_time_moe.py official repository ran · metamorphic tier: deterministic Apache-2.0 (permissive) · 17cafe312739a7dd · report
TimeMoeRotaryEmbedding time-moe/time-moe/time_moe/models/modeling_time_moe.py official repository ran · metamorphic tier: deterministic Apache-2.0 (permissive) · 6ce7138c76e559cd · report
TimeMoeSparseExpertsLayer time-moe/time-moe/time_moe/models/modeling_time_moe.py official repository ran · metamorphic tier: deterministic Apache-2.0 (permissive) · 5642e200205692a9 · report
TimeMoeTemporalBlock time-moe/time-moe/time_moe/models/modeling_time_moe.py official repository ran · metamorphic tier: deterministic Apache-2.0 (permissive) · 8689182c3214eb30 · report
_get_unpad_data time-moe/time-moe/time_moe/models/modeling_time_moe.py official repository ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · 180b7fb4f14752ec · report
load_balancing_loss_func Time-MoE/Time-MoE/time_moe/models/modeling_time_moe.py official repository ran · honoured contract Apache-2.0 (permissive) · e0d3c24aaf39d620 · report
rotate_half Time-MoE/Time-MoE/time_moe/models/modeling_time_moe.py official repository ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · e03d53ba9d4f9ae5 · report
TSGenerationMixin time-moe/time-moe/time_moe/models/modeling_time_moe.py official repository unverified Apache-2.0 (permissive) · 324cdcce054c2bef · report
TimeMoeAttention time-moe/time-moe/time_moe/models/modeling_time_moe.py official repository unverified Apache-2.0 (permissive) · b789fb96aa9249b6 · report
TimeMoeDecoderLayer time-moe/time-moe/time_moe/models/modeling_time_moe.py official repository unverified Apache-2.0 (permissive) · 45df40b90039e227 · report
TimeMoeFlashAttention2 time-moe/time-moe/time_moe/models/modeling_time_moe.py official repository unverified Apache-2.0 (permissive) · 3342550a58b73daa · report
TimeMoeForPrediction time-moe/time-moe/time_moe/models/modeling_time_moe.py official repository unverified Apache-2.0 (permissive) · fa1448790e7ba45b · report
TimeMoeModel time-moe/time-moe/time_moe/models/modeling_time_moe.py official repository unverified Apache-2.0 (permissive) · e25a1475ceb73726 · report

Tasks

Computational EfficiencyMixture-of-ExpertsTime SeriesTime Series Forecasting

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

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