arXiv:2610.11734cs.LGOct 2026

Manuscript Offprint

arXiv:2610.11734

Timer-M1: A Multivariate Time Series Foundation Model via Learning Primitives

Haoran Zhang, Haixuan Liu, Xingjian Su, Yong Liu, Zhi Chen, Yuxuan Wang, Jianmin Wang, Mingsheng Long

ABSTRACT

We introduce Timer-M1, a pretrained multivariate time series foundation model that learns with primitives for zero-shot forecasting. Across domains, time series share elementary temporal and relational patterns, termed primitives, yet differ in how these primitives manifest and evolve across different contexts. Despite progress in zero-shot and task-general forecasting, existing foundation models may still struggle to generalize to complex real-world scenarios. To this end, we develop a primitive-based data synthesis and pretraining pipeline. The synthesis pipeline generates series with temporal primitives shared across domains and then assembles real and generated series into multivariate samples using relational primitives. Afterwards, samples are organized into episodes by assigning distinct channel roles as target variates, past-only covariates, and known-future covariates, ensuring that the model is optimized on predictable variates using available exogenous information. Technically, Timer-M1 further adapts gated two-dimensional Transformer blocks that dynamically allocate cross-variate attention across layers. Across three large-scale forecasting benchmarks, Timer-M1 ranks first on both FEV and TIME and second on GIFT-Eval among most recent time series foundation models. These results support effective primitive-based pretraining as a route to robust general forecasting technique across domains and task settings.

1 INTRODUCTION

Time series forecasting spans domains and task configurations in real-world applications. Time series foundation models have advanced a shift from task-specific training toward cross-domain pretraining and zero-shot forecasting (Das et al., 2024; Ansari et al., 2024; Woo et al., 2024; Khwaja et al., 2026; Liu et al., 2024b), demonstrating competitive accuracy against statistical and supervised baselines on multi-domain and multi-task benchmarks (Aksu et al., 2024; Shchur et al., 2025; Qiao et al., 2026). Meanwhile, multivariate foundation models (Ansari et al., 2025; Khwaja et al., 2026; Liu et al., 2026a) have empowered native capability to jointly predict multiple targets with historical or known-future covariates under observation settings (Shchur et al., 2025; Cohen et al., 2026).

Time series foundation models are targeted to generalize on cross-domain data and deal with heterogeneous input context. Previous foundation models have continuously improved toward this goal by task-agnostic training on real-world and synthetic datasets (Das et al., 2023; Dooley et al., 2023). However, real-world time series record complex and noisy dynamics but offer limited control over which patterns are observed; synthetic datasets provide such control but may omit the irregularities of real systems. This complementarity motivates a data construction process that combines observed dynamics with controllable relations, rather than relying on either source alone.

Recurring temporal and relational patterns provide a common basis for learning across diverse domains and forecasting tasks. Classical time series analysis separates trend, seasonal, and remainder components to understand and forecast a series (Hyndman & Athanasopoulos, 2018). We refer to such elementary patterns shared across series and domains as primitives: temporal primitives de-

∗^{*}Equal Contribution

(a) Real World Observations

(b) Primitive Compositions

Figure

(c) Episode Sampling

Figure 1: Learning with primitives. Temporal and relational patterns observed in real series are composed into diverse samples; episodes vary what is observed and predicted while introducing noise and interference to improve robustness, linking to generalization to new forecasting scenarios.

scribe trends, periodicity, stochastic dependence, and regime changes, while relational primitives describe cross-variate correlation, delayed responses, cointegration, and event effects. These primitives characterize individual regularities rather than specific forecasting scenarios. Just as learned concepts and motifs can be generalized in new combinations in language and vision (Zhao et al., 2024; Liu et al., 2022), recurring primitives motivate learning transferable forecasting capabilities that remain useful when their surrounding signals and available observations change across contexts.

Learning with primitives offers a systematic route for training generalizable time series foundation models. As shown in Figure 1, we develop a compact set of operators to describe temporal patterns and cross-variate relations, and to combine synthetic and real-world time series. In addition to constructing a bottom-up data pipeline, we extend the pretraining process of foundation models into a forecasting task pipeline. We build forecasting episodes that complement metadata of real-world tasks by specifying which variates are targets and which observations are available, coupling relational structure with the information needed for forecasting. Repeated exposure under different roles and masks encourages general forecasting capabilities rather than reliance on a task configuration.

Technically, we build Timer-M1 with native zero-shot and multivariate capabilities via a primitive-based data pipeline and episode-based pretraining. Synthesis operators provide temporal and relational primitives, compose real and generated series into multivariate samples, and apply data augmentations. Episodes assign target, past-only, and known-future roles, via task-dependent supervision masks to guarantee predictability. In terms of the architecture, we adapt gated two-dimensional Transformer blocks to learning from episodes along temporal and variate dimensions, using adaptive gates learned to allocate cross-variate attention across layers. Timer-M1 ranks first on FEV and TIME and second on GIFT-Eval among the state-of-the-art foundation models; controlled primitive analyses further examine the forecasting behaviors underlying these results. Our contributions are:

• We develop a unified data synthesis pipeline that generates elementary temporal and relational primitives to enrich pretraining data and improve cross-domain generalization.

• We present Timer-M1, a time series foundation model pretrained on carefully constructed forecasting episodes that unify univariate, covariate-aware, and multivariate forecasting.

• Timer-M1 achieves strong zero-shot results across tasks, ranking first on FEV and TIME and second on GIFT-Eval, highlighting its potential for broader real-world applications.

References (56)