Time-Series Foundation Models, Patch Transformers, and Zero-Shot Probabilistic Forecasting Architectures in 2026: N-BEATS, LTSF-Linear (DLinear), PatchTST, Time-LLM, Lag-Llama, TimesFM, Moirai (LOTSA), and Chronos

Time-Series Foundation Models, Patch Transformers, and Zero-Shot Probabilistic Forecasting Architectures in 2026: N-BEATS, LTSF-Linear (DLinear), PatchTST, Time-LLM, Lag-Llama, TimesFM, Moirai (LOTSA), and Chronos

Time-Series Foundation Models, Patch Transformers, and Zero-Shot Probabilistic Forecasting Architectures in 2026: N-BEATS, LTSF-Linear (DLinear), PatchTST, Time-LLM, Lag-Llama, TimesFM, Moirai (LOTSA), and Chronos

How do temporal deep learning and foundation forecasting architectures evolve from decomposing univariate histories through 150-layer doubly residual stacks of polynomial trend and Fourier seasonality basis expansions to beat the M4 competition winner by 3% and statistical benchmarks by 11% (N-BEATS, Oreshkin, Carpov, Chapados & Bengio, ICLR 2020 / arXiv:1905.10437v4), exposing the permutation-invariant temporal order loss of early point-wise Transformers via single-layer direct multi-step (DMS) trend-seasonal linear regression that outperforms FEDformer, Autoformer, and Informer by 20% to 50% (LTSF-Linear / DLinear, Zeng et al., AAAI 2023 / arXiv:2205.13504v3), restoring Transformer scaling via subseries-level patching ($P=16, S=8$) and channel-independence (CI) to cut quadratic attention complexity by $(L/S)^2$, accelerate training up to 22× (464 s vs. 10,040 s), and reduce multivariate MSE by 21.0% (PatchTST, Nie et al., ICLR 2023 / arXiv:2211.14730v2), reprogramming frozen Llama-7B backbones via cross-attention text prototypes and Prompt-as-Prefix (PaP) with under 6.6M trainable parameters (~0.2% of weights) to beat GPT4TS by 12% and LLMTime by >75% (Time-LLM, Jin et al., ICLR 2024 / arXiv:2310.01728v2), tokenizing multi-frequency lags with robust interquartile range (IQR) scaling and a Student's $t$-distribution head (2,449,299 parameters) to achieve #1 fine-tuned average rank (2.786 vs. 5.000 TFT) across unseen domains (Lag-Llama, Rasul et al., arXiv:2310.08278v3), pretraining a 200M-parameter patched-decoder on O(100B) real and synthetic time points with asymmetric input/output patches ($p=32 \to h=128$) to match supervised PatchTST zero-shot (TimesFM, Das et al., Google Research, ICML 2024 / arXiv:2310.10688v2), flattening arbitrary multivariate channels into Any-Variate Attention with RoPE, binary variate biases, and a 4-component parametric mixture distribution across 27,646,462,733 (>27B) LOTSA observations (Moirai, Woo et al., Salesforce AI Research, ICML 2024 / arXiv:2402.02592v1), and quantizing mean-scaled real values into a discrete vocabulary trained with unmodified T5 (20M–710M) categorical cross-entropy on TSMix and Gaussian Process KernelSynth series to rank #1 in-domain (WQL = 0.574) and #2 zero-shot (WQL = 0.649) across 42 benchmarks (Chronos, Ansari et al., Amazon Science, TMLR 2024 / arXiv:2403.07815v1)?

For decades, operational time-series forecasting in energy grid dispatch, retail supply-chain inventory, quantitative finance, cloud telemetry, and macroeconomic modeling operated under a rigid one-model-per-series or one-model-per-dataset regime (https://arxiv.org/html/2402.02592v1, Section 1; https://arxiv.org/html/2403.07815v1, Section 1):

  1. The Classical Local Statistical Paradigm vs. Deep Learning scepticism (arXiv:1905.10437v4 Section 1): Classical local estimators—such as Box–Jenkins ARIMA / AutoARIMA, Holt–Winters Exponential Smoothing (ETS), and the Theta decomposition method (Assimakopoulos & Nikolopoulos 2000)—fit parameters independently to each individual time series. In the 100,000-series M4 forecasting competition (Makridakis et al. 2018), the six "pure" machine learning submissions ranked 23rd, 37th, 38th, 48th, 54th, and 57th out of 60 entries, while the winning architecture (Smyl 2020) required a hand-crafted hybrid pairing a dilated residual/attention LSTM stack with a learnable Holt–Winters seasonality equation tailored separately for every forecast horizon (https://arxiv.org/html/1905.10437v4, Section 1 & Section 4).
  2. The Point-Wise Transformer Crisis and Permutation-Invariant Temporal Loss (arXiv:2205.13504v3 Section 1 & 3): When early deep sequence models adapted the Transformer (Vaswani et al. 2017) to long-term time series forecasting (LTSF with horizon $T \in \{96, 192, 336, 720\}$), architectures such as LogTrans (Li et al. 2019), Informer (Zhou et al. 2021, ProbSparse $O(L\log L)$ attention), Autoformer (Wu et al. 2021, series auto-correlation), Pyraformer (Liu et al. 2022, pyramidal $O(L)$ attention), and FEDformer (Zhou et al. 2022, Fourier/wavelet $O(L)$ frequency blocks) tokenized each individual scalar time step $t$ as an attention token. As Zeng et al. (https://arxiv.org/html/2205.13504v3, Section 1 & Section 3) demonstrated, a single scalar numerical time point lacks semantic meaning, while the self-attention dot product is inherently permutation-invariant and "anti-order". Consequently, a single-layer direct multi-step (DMS) temporal linear regression model (LTSF-Linear / DLinear / NLinear) outperformed every point-wise Transformer across nine benchmarks by 20% to 50%, and early Transformers actually degraded in accuracy when given longer historical look-back windows $L$ (https://arxiv.org/html/2205.13504v3, Section 1 & Table 2).
  3. The Three Structural Barriers to Universal Time-Series Foundation Models (arXiv:2310.10688v2 Section 1, arXiv:2402.02592v1 Section 1): Unlike Natural Language Processing (NLP), where discrete subword tokens share a universal vocabulary across trillions of web documents, pretraining a single zero-shot Time-Series Foundation Model (TSFM) must simultaneously overcome: - Cross-Frequency Heterogeneity: Sampling granularities span orders of magnitude—from second-level and 5-minute sensor telemetry to hourly, daily, weekly, monthly, quarterly, and yearly series—causing severe negative transfer when trained with a single fixed receptive field (https://arxiv.org/html/2402.02592v1, Section 1). - Arbitrary Dimensionality and Variate Semantics: Multivariate datasets contain anywhere from $M=1$ to $M=862+$ channels (Traffic), where channel $m$ represents megawatts in one dataset, freeway occupancy in another, and patient influenza rates in a third (https://arxiv.org/html/2211.14730v2, Table 2; https://arxiv.org/html/2402.02592v1, Section 1). - Unbounded Continuous Scales and Non-Gaussian Predictive Distributions: Real-world time series exhibit wide magnitude disparities (requiring reversible instance normalization RevIN, mean scaling, or robust IQR scaling) as well as asymmetric, strictly positive, count-based, heavy-tailed, or multimodal predictive distributions that violate symmetric Gaussian or Student's $t$ assumptions (https://arxiv.org/html/2402.02592v1, Section 3.1.3; https://arxiv.org/html/2403.07815v1, Section 3.1–3.2).

Between 2020 and 2026, eight foundational works resolved these mathematical and architectural bottlenecks, transforming time-series forecasting from per-dataset statistical fitting into universal zero-shot foundation modeling:

  1. Neural Basis Expansion Analysis (N-BEATS, Oreshkin, Carpov, Chapados & Bengio, Element AI & Mila, ICLR 2020 / arXiv:1905.10437v4): Proving that pure deep learning without time-series feature engineering outperforms classical statistical methods and hybrid models via Doubly Residual Stacking (DRESS)—where each block $\ell$ predicts backward expansion coefficients $\theta_\ell^b$ to subtract its backcast $\widehat{\mathbf{x}}\ell$ from the residual input ($\mathbf{x}\ell = \mathbf{x}{\ell-1} - \widehat{\mathbf{x}}{\ell-1}$) and forward expansion coefficients $\theta_\ell^f$ to sum partial forecasts ($\widehat{\mathbf{y}} = \sum_\ell \widehat{\mathbf{y}}\ell$)—and introducing an interpretable configuration (N-BEATS-I) pairing a degree-$p$ polynomial Trend stack ($\mathbf{T}\theta{s,\ell}^f$) with a harmonic Fourier Seasonality stack ($\mathbf{S}\theta_{s,\ell}^f$) to achieve OWA = 0.795 (sMAPE = 11.135) on M4 (100,000 series), sMAPE = 12.37 on M3 (3,003 series), and MAPE = 18.47 (N-BEATS-G) / 18.52 (N-BEATS-I+G) on Tourism (1,311 series) (https://arxiv.org/html/1905.10437v4).
  2. Direct Multi-Step Linear Decomposition (LTSF-Linear / DLinear & NLinear, Zeng, Chen, Zhang & Xu, CUHK & IDEA, AAAI 2023 / arXiv:2205.13504v3): Demonstrating that a single temporal linear projection $\hat{X}_i = W X_i$ ($W \in \mathbb{R}^{T \times L}$) augmented with moving-average trend-remainder decomposition (DLinear) or last-value shift subtraction (NLinear) beats point-wise Transformers across all 9 LTSF benchmarks by 20% to 50% (including a 27.40% MSE reduction on Electricity 96-step to 0.140, 30.15% on Traffic 96-step to 0.410, and 45.27% on Exchange-Rate 96-step to 0.081) (https://arxiv.org/html/2205.13504v3).
  3. Channel-Independent Patch Time-Series Transformer (PatchTST, Nie, Nguyen, Sinthong & Kalagnanam, Princeton University & IBM Research, ICLR 2023 / arXiv:2211.14730v2): Grouping local time steps into subseries patches ($P=16, S=8$, yielding $N = \lfloor (L-P)/S \rfloor + 2$ tokens: PatchTST/42 for $L=336$, PatchTST/64 for $L=512$) processed via Channel-Independence (CI) and RevIN. PatchTST reduces quadratic attention cost by $(L/S)^2$ (up to 22× faster training on Traffic), achieves a 21.0% MSE and 16.7% MAE reduction over prior Transformers, beats DLinear across large benchmarks (Weather 96-step MSE 0.149 vs. 0.176; Traffic 96-step 0.360 vs. 0.410; Electricity 96-step 0.129 vs. 0.140), and introduces 40%-masked patch self-supervised pretraining (Traffic 96-step MSE 0.349, beating contrastive baselines on ETTh1 by 34.5% to 48.8%) (https://arxiv.org/html/2211.14730v2).
  4. Cross-Modality LLM Reprogramming (Time-LLM, Jin et al., Monash / Ant Group / IBM Research / Alibaba, ICLR 2024 / arXiv:2310.01728v2): Reprogramming a frozen pretrained Llama-7B (or GPT-2) backbone by aligning time-series patches with $V' \ll V$ learned text prototypes $\mathbf{E}' \in \mathbb{R}^{V' \times D}$ via multi-head cross-attention and prepending natural-language Prompt-as-Prefix (PaP) context (dataset description, task instructions, and trend/lag statistics). Updating fewer than 6.6M parameters (~0.2% of Llama-7B), Time-LLM outperforms GPT4TS by 12% and TimesNet by 20% in full-shot forecasting, beats PatchTST/DLinear/TimesNet by >20% in 5% few-shot learning, and cuts cross-domain zero-shot MSE by >14.2% over the runner-up (22% over GPT4TS, >75% over LLMTime) (https://arxiv.org/html/2310.01728v2).
  5. Lagged Probabilistic Decoder Foundation Model (Lag-Llama, Rasul et al., Morgan Stanley / ServiceNow Research / Mila, 2024 / arXiv:2310.08278v3): Pretraining a 2,449,299-parameter causal LLaMA decoder (8 layers, 9 heads, 16 dim/head, $C=32$, RMSNorm, RoPE) with a Student's $t$-distribution head ($\nu, \mu, \sigma$) and Interquartile Range (IQR) robust standardization over 27 datasets (7,965 series, ~352M tokens) using multi-frequency lag vectors $\mathbf{k}t[j] = x{t-\mathcal{L}[j]}$ and Freq-Mix/Freq-Mask augmentations—achieving #1 fine-tuned Average Rank (2.786 vs. 5.000 TFT and 5.071 N-BEATS) and #1 few-shot rank across 20%/40%/60%/80% history splits (https://arxiv.org/html/2310.08278v3).
  6. Patched-Decoder Time-Series Foundation Model (TimesFM, Das, Kong, Sen & Zhou, Google Research, ICML 2024 / arXiv:2310.10688v2): Pretraining a 200M-parameter causal patched-decoder (20 layers, 16 heads, $d_{\text{model}}=1280$) on O(100B) (100 billion) time points (50% real Google Trends 22k queries, Wikimedia pageviews, M4, Electricity, Traffic, Weather + 50% synthetic 3M series of length 2048) with asymmetric input patch length $p=32$ and output patch length $h=128$ plus random prefix masking $r \sim \mathcal{U}\{0, p-1\}$—matching or beating supervised PatchTST zero-shot on ETT and beating GPT-3.5 llmtime by >10% on Monash (https://arxiv.org/html/2310.10688v2).
  7. Masked-Encoder Universal Any-Variate Transformer (Moirai & LOTSA, Woo et al., Salesforce AI Research, ICML 2024 / arXiv:2402.02592v1): Pretraining Moirai Small (14M), Base (91M), and Large (311M) on 27,646,462,733 (>27B) open observations across 9 domains (LOTSA) with sequence packing (cutting padding from 61.08% to 0.38%, a +16% accuracy gain), 5 multi-patch-size projection layers ({8, 16, 32, 64, 128}), Any-Variate Attention flattening up to 128 variates with RoPE and binary variate biases $u^{(1)}\mathbb{1}{\{m=n\}} + u^{(2)}\mathbb{1}{\{m \neq n\}}$, and a 4-component parametric mixture distribution (Student's $t$, Negative Binomial, Log-Normal, low-variance Normal) (https://arxiv.org/html/2402.02592v1).
  8. Tokenized Language Modeling for Time Series (Chronos, Ansari et al., Amazon Web Services / Amazon Science, TMLR 2024 / arXiv:2403.07815v1): Scaling univariate histories by their mean absolute value $s = \frac{1}{C}\sum_{i=1}^C |x_i|$ and quantizing into uniform bins over $[-15, 15]$ to train unmodified T5 (20M, 46M, 200M, 710M) and GPT-2 (90M) architectures via categorical cross-entropy on 10M TSMix convex combinations and 1M KernelSynth Gaussian Process synthetic series (9:1 ratio)—ranking #1 on Benchmark I (15 in-domain datasets: WQL = 0.574, MASE = 0.726) and #2 in zero-shot probabilistic WQL (0.649) across 27 unseen Benchmark II datasets (https://arxiv.org/html/2403.07815v1).
📌 Key Takeaways & Empirical Time-Series Foundation Model Benchmarks
  • ✓N-BEATS & LTSF-Linear / DLinear (Oreshkin et al., arXiv:1905.10437v4; Zeng et al., arXiv:2205.13504v3): N-BEATS combines doubly residual backcast/forecast stacks with polynomial trend and Fourier seasonality bases to reach M4 OWA = 0.795 (sMAPE = 11.135) across 100,000 series—improving accuracy by 11% over statistical benchmarks and 3% over the M4 competition winner (OWA = 0.821). LTSF-Linear (DLinear / NLinear) proves that direct multi-step single-layer linear regression beats early point-wise Transformers (Informer, Autoformer, FEDformer) across 9 benchmarks by 20% to 50% (e.g., 27.40% on Electricity-96 to 0.140 and 30.15% on Traffic-96 to 0.410).
  • ✓PatchTST & Time-LLM (Nie et al., arXiv:2211.14730v2; Jin et al., arXiv:2310.01728v2): PatchTST segments each univariate channel into subseries patches ($P=16, S=8$; $N=42$ tokens at $L=336$, $N=64$ at $L=512$), cutting attention complexity quadratically by $(L/S)^2$ (22× faster on Traffic: 464 s vs. 10,040 s), reducing MSE by 21.0% and MAE by 16.7% over prior Transformers, and achieving 34.5%–48.8% MSE gains via 40%-masked self-supervised pretraining. Time-LLM reprograms a frozen Llama-7B with text prototypes and Prompt-as-Prefix using <6.6M trainable parameters (~0.2%), beating GPT4TS by 12%, TimesNet by 20%, and LLMTime zero-shot by >75%.
  • ✓Lag-Llama & TimesFM (Rasul et al., arXiv:2310.08278v3; Das et al., arXiv:2310.10688v2): Lag-Llama (2,449,299 params, 8 layers, 9 heads) tokenizes multi-frequency lags with robust IQR scaling and a Student's $t$ head across 27 datasets (~352M windows), earning #1 fine-tuned Average Rank (2.786 vs. 5.000 TFT) and #1 few-shot rank (1.857 at 20% data to 1.429 at 80% data). Google Research's TimesFM (200M params, 20 layers, 16 heads, $d_{\text{model}}=1280$) trains on O(100B) time points (50% real + 50% 3M synthetic ARMA/trend/seasonal series) with asymmetric patches ($p=32 \to h=128$, cutting 512-step autoregressive decoding from 16 steps to 4), beating zero-shot llmtime by >10% on Monash and matching supervised PatchTST on ETT.
  • ✓Moirai (LOTSA) & Chronos (Woo et al., arXiv:2402.02592v1; Ansari et al., arXiv:2403.07815v1): Salesforce's Moirai (14M / 91M / 311M) trains on 27,646,462,733 LOTSA observations across 9 domains using sequence packing (cutting padding from 61.08% to 0.38% for a 16% gain), multi-patch projections ($\{8,16,32,64,128\}$), Any-Variate Attention, and a 4-component mixture distribution to match or beat full-shot PatchTST/TiDE/TFT zero-shot. Amazon's Chronos-T5 (20M–710M) quantizes mean-scaled values over $[-15,15]$ and trains on 10M TSMix + 1M KernelSynth GP series (for just $252–$2,066 on 8×A100), ranking #1 in-domain (rel. WQL = 0.574) and #2 zero-shot (rel. WQL = 0.649) across 42 datasets.
22× & -21.0%
PatchTST Subseries Patching

Patching (P=16, S=8) + Channel-Independence cuts Traffic training time 22× (464 s vs. 10,040 s) and reduces multivariate MSE by 21.0%.

200M & 100B
TimesFM Patched-Decoder

Trained on O(100B) real & synthetic timepoints with asymmetric p=32 to h=128 patches; beats zero-shot llmtime by >10% on Monash.

27.65B (LOTSA)
Moirai Universal Transformer

Pretrained on 27,646,462,733 observations across 9 domains; sequence packing cuts padding from 61.08% to 0.38% (+16% MAE gain).

0.574 & 0.649
Chronos-T5 Relative WQL

Mean-scaled uniform quantization + T5 (710M) achieves #1 in-domain WQL (0.574) across 15 datasets and #2 zero-shot WQL (0.649) across 27 unseen datasets.


1. N-BEATS: Doubly Residual Stacking (DRESS), Polynomial Trend and Fourier Seasonality Basis Expansion, Meta-Learning Equivalence, and M4/M3/Tourism Benchmarks (Oreshkin, Carpov, Chapados & Bengio, ICLR 2020 / arXiv:1905.10437v4)

In N-BEATS: Neural basis expansion analysis for interpretable time series forecasting (Boris N. Oreshkin, Dmitri Carpov, Nicolas Chapados, and Yoshua Bengio, Element AI & Mila, ICLR 2020; https://arxiv.org/html/1905.10437v4, https://arxiv.org/abs/1905.10437), the authors challenged the prevailing consensus from the M4 competition (Makridakis et al. 2018) that pure deep learning cannot match classical statistical time-series models (ARIMA, ETS, Theta) or hand-engineered statistical–neural hybrids (Smyl 2020). Given a discrete-time univariate history $[y_1, \dots, y_T] \in \mathbb{R}^T$ and a lookback window $\mathbf{x} \in \mathbb{R}^t = [y_{T-t+1}, \dots, y_T]$ of length $t \in \{2H, 3H, \dots, 7H\}$, N-BEATS predicts the $H$-step horizon vector $\widehat{\mathbf{y}} \in \mathbb{R}^H = [\widehat{y}{T+1}, \dots, \widehat{y}{T+H}]$ evaluated across four scale-free competition metrics (https://arxiv.org/html/1905.10437v4, Section 2): $$\text{sMAPE} = \frac{200}{H}\sum_{i=1}^H \frac{|y_{T+i} - \widehat{y}{T+i}|}{|y{T+i}| + |\widehat{y}{T+i}|}, \qquad \text{MAPE} = \frac{100}{H}\sum{i=1}^H \frac{|y_{T+i} - \widehat{y}{T+i}|}{|y{T+i}|}$$ $$\text{MASE} = \frac{1}{H}\sum_{i=1}^H \frac{|y_{T+i} - \widehat{y}{T+i}|}{\frac{1}{T+H-m}\sum{j=m+1}^{T+H}|y_j - y_{j-m}|}, \qquad \text{OWA} = \frac{1}{2}\left[\frac{\text{sMAPE}}{\text{sMAPE}{\text{Naïve2}}} + \frac{\text{MASE}}{\text{MASE}{\text{Naïve2}}}\right]$$ where $m$ is the seasonal periodicity (e.g., $m=12$ for monthly series) and a seasonally adjusted Naïve2 predictor obtains $\text{OWA} = 1.0$.

1. The Fork Basic Block and Doubly Residual Stacking (DRESS) Topology

Every basic building block $\ell$ in N-BEATS takes a residual history vector $\mathbf{x}\ell \in \mathbb{R}^t$ (with $\mathbf{x}_1 \equiv \mathbf{x}$ for the first block) and passes it through a four-layer fully connected (FC) trunk with ReLU activations followed by two linear fork heads predicting backward expansion coefficients $\theta\ell^b$ and forward expansion coefficients $\theta_\ell^f$ (https://arxiv.org/html/1905.10437v4, Section 3.1, Equation 1): $$\mathbf{h}{\ell,1} = \operatorname{ReLU}(\mathbf{W}{\ell,1}\mathbf{x}\ell + \mathbf{b}{\ell,1}), \quad \mathbf{h}{\ell,2} = \operatorname{FC}{\ell,2}(\mathbf{h}{\ell,1}), \quad \mathbf{h}{\ell,3} = \operatorname{FC}{\ell,3}(\mathbf{h}{\ell,2}), \quad \mathbf{h}{\ell,4} = \operatorname{FC}{\ell,4}(\mathbf{h}{\ell,3})$$ $$\theta\ell^b = \mathbf{W}\ell^b \mathbf{h}{\ell,4}, \qquad \theta_\ell^f = \mathbf{W}\ell^f \mathbf{h}{\ell,4}$$ The second stage of block $\ell$ projects these coefficients onto a set of backward basis vectors $\{\mathbf{v}i^b\}{i=1}^{\dim(\theta_\ell^b)}$ and forward basis vectors $\{\mathbf{v}i^f\}{i=1}^{\dim(\theta_\ell^f)}$ via basis mappings $g_\ell^b$ and $g_\ell^f$ to produce the backcast $\widehat{\mathbf{x}}\ell \in \mathbb{R}^t$ and partial forecast $\widehat{\mathbf{y}}\ell \in \mathbb{R}^H$: $$\widehat{\mathbf{x}}\ell = g\ell^b(\theta_\ell^b) = \sum_{i=1}^{\dim(\theta_\ell^b)} \theta_{\ell,i}^b \mathbf{v}i^b, \qquad \widehat{\mathbf{y}}\ell = g_\ell^f(\theta_\ell^f) = \sum_{i=1}^{\dim(\theta_\ell^f)} \theta_{\ell,i}^f \mathbf{v}_i^f$$

Rather than using standard ResNet single-branch skip connections, N-BEATS connects blocks into stacks via Doubly Residual Stacking (DRESS) (https://arxiv.org/html/1905.10437v4, Section 3.2 & Appendix B.3): $$\mathbf{x}\ell = \mathbf{x}{\ell-1} - \widehat{\mathbf{x}}{\ell-1}, \qquad \widehat{\mathbf{y}} = \sum\ell \widehat{\mathbf{y}}\ell$$ Each block subtracts its best functional approximation $\widehat{\mathbf{x}}{\ell-1}$ of the input history before passing the unexplained residual $\mathbf{x}\ell$ to the next block—acting as a sequential signal demodulator that simplifies downstream forecasting while providing direct additive gradient pathways from the final loss to every block's partial forecast $\widehat{\mathbf{y}}\ell$.

2. Generic (N-BEATS-G) vs. Interpretable Polynomial-Trend and Fourier-Seasonality (N-BEATS-I) Configurations

Oreshkin et al. introduced two parameterizations of the basis layers $g_{s,\ell}^b$ and $g_{s,\ell}^f$ (https://arxiv.org/html/1905.10437v4, Section 3.3 & Appendix B.1):

  1. Generic Architecture (N-BEATS-G, up to 30 Stacks / 150 Layers Deep): Sets $g_\ell^b$ and $g_\ell^f$ to unconstrained learnable linear projection matrices $\mathbf{V}\ell^f \in \mathbb{R}^{H \times \dim(\theta\ell^f)}$ and $\mathbf{V}\ell^b \in \mathbb{R}^{t \times \dim(\theta\ell^b)}$: $$\widehat{\mathbf{y}}\ell = \mathbf{V}\ell^f \theta_\ell^f + \mathbf{b}\ell^f, \qquad \widehat{\mathbf{x}}\ell = \mathbf{V}\ell^b \theta\ell^b + \mathbf{b}_\ell^b$$ Increasing the depth of N-BEATS-G from 1 stack (5 FC layers) to 30 stacks (150 total FC layers) monotonically reduces M4 validation sMAPE from 11.154 (1 stack) $\to$ 11.061 (3 stacks) $\to$ 10.998 (9 stacks) $\to$ 10.950 (18 stacks) $\to$ 10.937 (30 stacks) (Table 5, Appendix B.1).
  2. Interpretable Architecture (N-BEATS-I, Polynomial Trend Stack + Fourier Seasonality Stack): Chains two weight-shared stacks (3 residual blocks of 5 layers per stack = 30–60 layers total) with explicit mathematical basis constraints on the normalized discrete time grid $\mathbf{t} = [0, 1, 2, \dots, H-1]^T / H$: - Stack 1 — Low-Degree Polynomial Trend Basis ($p = 2$ or $3$): Constrains the basis matrix to powers of time $\mathbf{T} = [\mathbf{1}, \mathbf{t}, \dots, \mathbf{t}^p] \in \mathbb{R}^{H \times (p+1)}$ so that the partial forecast is a slowly varying monotonic trend polynomial (Equation 2): $$\widehat{\mathbf{y}}{s,\ell}^{\text{tr}} = \sum{i=0}^p \theta_{s,\ell,i}^f t^i = \mathbf{T}\theta_{s,\ell}^f$$ - Stack 2 — Harmonic Fourier Series Seasonality Basis: After the Trend stack subtracts its polynomial backcast from $\mathbf{x}$, the Seasonality stack projects onto a full discrete Fourier basis matrix $\mathbf{S} = [\mathbf{1}, \cos(2\pi\mathbf{t}), \dots, \cos(2\pi\lfloor H/2 - 1\rfloor\mathbf{t}), \sin(2\pi\mathbf{t}), \dots, \sin(2\pi\lfloor H/2 - 1\rfloor\mathbf{t})]$ (Equation 3): $$\widehat{\mathbf{y}}{s,\ell}^{\text{seas}} = \sum{i=0}^{\lfloor H/2 - 1\rfloor} \left[\theta_{s,\ell,i}^f \cos(2\pi i t) + \theta_{s,\ell,i+\lfloor H/2\rfloor}^f \sin(2\pi i t)\right] = \mathbf{S}\theta_{s,\ell}^f$$ Ablating basis synergy in Table 6 (Appendix B.1) proves that chaining 3 detrend blocks with 3 seasonality blocks achieves 10.986 validation sMAPE, outperforming seasonality-only (0 detrend, 2 seasonality: 11.189) and trend-only (2 detrend, 0 seasonality: 11.572).
Benchmark Dataset & Series Count (arXiv:1905.10437v4 Table 1 & Appendix A)MetricClassical Statistical / Pure ML BaselineTop Competition Hybrid / Statistical EntryN-BEATS-G (Generic)N-BEATS-I (Interpretable)N-BEATS-I+G (Ensemble)
M4 Competition (100,000 series: Yearly 23k, Qtly 24k, Monthly 48k, Wkly 359, Daily 4,227, Hrly 414)sMAPE / OWAPure ML (Trotta): 12.894 / 0.915; Statistical (Legaki): 11.986 / 0.861ML/TS FFORMA (#2): 11.720 / 0.838; DL/TS Smyl (#1 Winner): 11.374 / 0.82111.168 / 0.79711.174 / 0.79811.135 / 0.795 (+11% vs. Stat, +3% vs. M4 Winner)
M3 Competition (3,003 series: Yearly 645, Qtly 756, Monthly 1,428, Other 174)sMAPEComb S-H-D: 13.52; ForecastPro: 13.19; Theta (M3 Winner): 13.01DOTM: 12.90; EXP (Spiliotis et al. 2019 SOTA): 12.7112.4712.4312.37
Tourism Kaggle Competition (1,311 series: Yearly 518, Qtly 427, Monthly 366)MAPEETS: 20.88; Theta: 20.88; ForePro: 19.84Stratometrics (#2): 19.52; LeeCBaker (#1 Winner): 19.3518.4718.9718.52

2. LTSF-Linear (DLinear & NLinear): Why Early Point-Wise Time-Series Transformers Failed and How Direct Multi-Step Linear Decomposition Beat Them by 20%–50% (Zeng, Chen, Zhang & Xu, AAAI 2023 / arXiv:2205.13504v3)

In Are Transformers Effective for Time Series Forecasting? (Ailing Zeng, Muxi Chen, Lei Zhang, and Qiang Xu, The Chinese University of Hong Kong & IDEA, AAAI 2023; https://arxiv.org/html/2205.13504v3, https://arxiv.org/abs/2205.13504), the authors investigated why early long-term time-series forecasting (LTSF) Transformers—including LogTrans (Li et al. 2019), Informer (Zhou et al. 2021), Autoformer (Wu et al. 2021), Pyraformer (Liu et al. 2022), and FEDformer (Zhou et al. 2022)—claimed large improvements over traditional baselines.

1. The Permutation-Invariance Paradox and Iterated (IMS) vs. Direct Multi-Step (DMS) Forecasting

Zeng et al. uncovered two fundamental flaws in the early time-series Transformer literature (https://arxiv.org/html/2205.13504v3, Section 1–4):

  1. Unfair Baseline Comparisons (IMS Error Accumulation vs. DMS): Prior Transformer papers compared their Direct Multi-Step (DMS) generative decoders—which predict all $T$ future steps simultaneously in one forward pass—against non-Transformer baselines using Iterated Multi-Step (IMS) autoregressive rollouts, which compound single-step estimation errors over long horizons $T \in \{96, 192, 336, 720\}$.
  2. Temporal Information Loss in Point-Wise Self-Attention: Because raw scalar measurements $X_i^t \in \mathbb{R}$ carry almost no point-wise semantic correlation analogous to words in text, applying permutation-invariant multi-head self-attention across point-wise tokens inevitably loses sequential order even when sinusoidal or learned timestamp embeddings are added (Section 3). Worse, on aperiodic financial series such as Exchange-Rate, simply repeating the final observed value (Repeat baseline: MSE = 0.081 at $T=96$, 0.167 at $T=192$, 0.305 at $T=336$, 0.823 at $T=720$) outperformed every Transformer (FEDformer: 0.148 / 0.271 / 0.460 / 1.195; Informer: 0.847 / 1.204 / 1.672 / 2.478) by ~45% because Transformers overfitted spurious training-set drift noise (Section 5.2 & Table 2).

2. Vanilla Linear, DLinear (Trend-Remainder Decomposition), and NLinear (Last-Value Shift Normalization)

To establish a true DMS baseline, Zeng et al. formulated LTSF-Linear, which directly regresses the $L$-step historical look-back window $X_i \in \mathbb{R}^L$ of each variate $i \in \{1, \dots, C\}$ onto the $T$-step forecast $\hat{X}i \in \mathbb{R}^T$ via a single temporal linear weight matrix $W \in \mathbb{R}^{T \times L}$ shared across all channels (https://arxiv.org/html/2205.13504v3, Section 4 & Appendix D.3): $$\hat{X}_i = W X_i, \qquad W \in \mathbb{R}^{T \times L} \quad (\text{initialized uniformly as } W{t,\tau} = 1/L)$$ Two domain-adaptive variants handle non-stationary trends and distribution shift:

  • DLinear (Decomposition Linear): Applies a moving-average kernel to decompose the raw input into a trend component $X_{\text{trend}}$ and a seasonal remainder $X_{\text{rem}} = X - X_{\text{trend}}$, applies two separate single-layer linear matrices $W_{\text{trend}}, W_{\text{rem}} \in \mathbb{R}^{T \times L}$, and sums the predictions: $\hat{X}i = W{\text{trend}} X_{\text{trend},i} + W_{\text{rem}} X_{\text{rem},i}$. Visualizing the learned weights of DLinear on Traffic ($L=96$) reveals sharp periodic peaks at lag steps $0, 23, 47, \dots$ (24-hour daily cycle) and $0, 167, 335, 503, 671$ (168-hour weekly cycle) (Appendix D.3).
  • NLinear (Normalized Linear): Subtracts the final observed value $X_i^L$ of the look-back window from the input sequence prior to applying $W \in \mathbb{R}^{T \times L}$, then adds $X_i^L$ back to the output: $\hat{X}_i = W(X_i - X_i^L \mathbf{1}) + X_i^L \mathbf{1}$, mitigating train-to-test distribution shift (Section 4).

Across all nine benchmarks (Table 2, arXiv:2205.13504v3), LTSF-Linear outperformed FEDformer, Autoformer, Informer, Pyraformer, and LogTrans by 20% to 50%—reducing 96-step MSE by 27.40% on Electricity (0.140 vs. 0.193 FEDformer), 30.15% on Traffic (0.410 vs. 0.587 FEDformer), 18.89% on Weather (0.176 vs. 0.217 FEDformer), 47.86% on ILI 24-step (1.683 NLinear vs. 3.228 FEDformer), and 21.10% on ETTm1 (0.299 DLinear vs. 0.379 FEDformer).


3. PatchTST: Subseries-Level Patch Tokenization, Channel-Independence (CI), Quadratic Attention Reduction, and Masked Self-Supervised Pre-Training (Nie, Nguyen, Sinthong & Kalagnanam, ICLR 2023 / arXiv:2211.14730v2)

While LTSF-Linear proved that point-wise self-attention fails on raw scalar time steps, linear models have limited representational capacity for large-scale self-supervised pretraining and cross-dataset transfer. In A Time Series is Worth 64 Words: Long-term Forecasting with Transformers (Yuqi Nie, Nam H. Nguyen, Phanwadee Sinthong, and Jayant Kalagnanam, Princeton University & IBM Research, ICLR 2023; https://arxiv.org/html/2211.14730v2, https://arxiv.org/abs/2211.14730), the authors rehabilitated the Transformer for time series through two structural innovations: Subseries-Level Patching and Channel-Independence (CI).

1. Mathematical Formulation of Subseries Patching ($P=16, S=8$) and Channel-Independent (CI) Attention

Given a multivariate look-back window $(\mathbf{x}_1, \dots, \mathbf{x}_L) \in \mathbb{R}^{M \times L}$ with $M$ channels (variates) and forecast horizon $T$, PatchTST splits the tensor into $M$ independent univariate series $\mathbf{x}^{(i)} = (x_1^{(i)}, \dots, x_L^{(i)}) \in \mathbb{R}^{1 \times L}$ ($i = 1, \dots, M$) (https://arxiv.org/html/2211.14730v2, Section 3.1):

  1. Instance Normalization (RevIN): Each univariate series $\mathbf{x}^{(i)}$ is normalized to zero mean and unit standard deviation before patching, and its channel statistics $(\mu^{(i)}, \sigma^{(i)})$ are restored to the final output projection to eliminate non-stationary distribution shift (Section 3.1).
  2. Subseries Patching ($N = \lfloor \frac{L-P}{S} \rfloor + 2$ Tokens): After padding $S$ repetitions of the final value $x_L^{(i)}$ to the end of the sequence, $\mathbf{x}^{(i)}$ is segmented into contiguous subseries patches of patch length $P$ and stride $S$, yielding a patch matrix $\mathbf{x}_p^{(i)} \in \mathbb{R}^{P \times N}$ where the number of input tokens is: $$N = \left\lfloor \frac{L - P}{S} \right\rfloor + 2 \approx \frac{L}{S}$$ With the default supervised hyperparameters $P = 16$ and $S = 8$, a look-back window of $L = 336$ compresses into $N = 42$ patch tokens (PatchTST/42), and a look-back window of $L = 512$ compresses into $N = 64$ patch tokens (PatchTST/64, hence "A Time Series is Worth 64 Words") (Section 4.1). Because vanilla self-attention scales as $O(N^2)$ in both compute and memory, patching reduces attention complexity quadratically by a factor of $S^2 = 64$—accelerating training with $L=336$ by 22× on Traffic (464 s with patching vs. 10,040 s without patching), 19× on Electricity (300 s vs. 5,730 s), and 4× on Weather (156 s vs. 680 s) (Table 1).
  3. Channel-Independent Shared Transformer Encoder: An input batch of shape $B \times M \times L$ is patched into $B \times M \times P \times N$ and reshaped into a 3D tensor $((B \cdot M) \times P \times N)$ so that all $M$ univariate channels share the exact same projection matrix $\mathbf{W}p \in \mathbb{R}^{D \times P}$, learnable positional encoding $\mathbf{W}{\text{pos}} \in \mathbb{R}^{D \times N}$, and 3-layer vanilla Transformer encoder ($H=16$ heads, latent dimension $D=128$, GELU feed-forward dimension $F=256$, BatchNorm, dropout $0.2$; or $H=4, D=16, F=128$ on small datasets ILI, ETTh1, ETTh2) (Section 3.1 & Appendix A.1.4–A.1.5): $$\mathbf{x}d^{(i)} = \mathbf{W}_p \mathbf{x}_p^{(i)} + \mathbf{W}{\text{pos}} \in \mathbb{R}^{D \times N}, \qquad (\mathbf{O}h^{(i)})^T = \operatorname{Softmax}\!\left(\frac{Q_h^{(i)} (K_h^{(i)})^T}{\sqrt{d_k}}\right) V_h^{(i)}$$ A flatten layer with a linear projection head maps the final encoder representation $\mathbf{z}^{(i)} \in \mathbb{R}^{D \times N}$ directly to the $T$-step forecast $\hat{\mathbf{x}}^{(i)} \in \mathbb{R}^{1 \times T}$, optimized under the channel-averaged MSE loss $\mathcal{L} = \mathbb{E}{\mathbf{x}}\frac{1}{M}\sum_{i=1}^M \|\hat{\mathbf{x}}{L+1:L+T}^{(i)} - \mathbf{x}{L+1:L+T}^{(i)}\|_2^2$.

2. Masked Self-Supervised Representation Learning (40% Patch Masking) and Benchmark Superiority

In Self-Supervised PatchTST (Section 3.2 & Section 4.2), Nie et al. partition an $L=512$ input into $N=42$ non-overlapping patches of length $P=12$ (so observed patches never leak boundary values of adjacent masked patches), replace the forecasting head with a lightweight $D \times P$ linear reconstruction head, and uniformly mask 40% of patches with zeros during 100 epochs of pretraining, followed by either 20-epoch linear probing or 10-epoch linear probing + 20-epoch end-to-end fine-tuning:

Benchmark Dataset & Horizon ($T \in \{96, 192, 336, 720\}$; ILI $\{24, 36, 48, 60\}$)PatchTST Self-Supervised (L=512, 40% Mask) MSE / MAEPatchTST/64 (L=512, N=64) MSE / MAEPatchTST/42 (L=336, N=42) MSE / MAEDLinear (L=336) MSE / MAEFEDformer (Best of 6 $L$) MSE / MAEAutoformer (Best of 6 $L$) MSE / MAEInformer (Best of 6 $L$) MSE / MAE
Weather (21 features, 52,696 steps) — $T=96 / 720$0.144 / 0.193 (96), 0.320 / 0.335 (720)0.149 / 0.198 (96), 0.314 / 0.334 (720)0.152 / 0.199 (96), 0.320 / 0.335 (720)0.176 / 0.237 (96), 0.323 / 0.362 (720)0.238 / 0.314 (96), 0.389 / 0.409 (720)0.249 / 0.329 (96), 0.415 / 0.426 (720)0.354 / 0.405 (96), 0.916 / 0.705 (720)
Traffic (862 features, 17,544 steps) — $T=96 / 720$0.352 / 0.244 (96), 0.425 / 0.282 (720)0.360 / 0.249 (96), 0.432 / 0.286 (720)0.367 / 0.251 (96), 0.434 / 0.287 (720)0.410 / 0.282 (96), 0.466 / 0.315 (720)0.576 / 0.359 (96), 0.621 / 0.375 (720)0.597 / 0.371 (96), 0.639 / 0.395 (720)0.733 / 0.410 (96), 0.827 / 0.466 (720)
Electricity (321 features, 26,304 steps) — $T=96 / 720$0.126 / 0.221 (96), 0.193 / 0.291 (720)0.129 / 0.222 (96), 0.197 / 0.290 (720)0.130 / 0.222 (96), 0.202 / 0.291 (720)0.140 / 0.237 (96), 0.203 / 0.301 (720)0.186 / 0.302 (96), 0.233 / 0.344 (720)0.196 / 0.313 (96), 0.236 / 0.342 (720)0.304 / 0.393 (96), 0.351 / 0.427 (720)
ILI (7 features, 966 steps) — $T=24 / 60$—1.319 / 0.754 (24), 1.470 / 0.788 (60)1.522 / 0.814 (24), 1.529 / 0.862 (60)2.215 / 1.081 (24), 2.368 / 1.096 (60)2.624 / 1.095 (24), 2.742 / 1.122 (60)2.906 / 1.182 (24), 2.761 / 1.114 (60)4.657 / 1.449 (24), 5.071 / 1.543 (60)
ETTh1 (7 features, 17,420 steps) — $T=96 / 720$0.322 / 0.369 (24), 0.487 / 0.478 (720 Lin. Prob.)0.370 / 0.400 (96), 0.447 / 0.468 (720)0.375 / 0.399 (96), 0.449 / 0.466 (720)0.375 / 0.399 (96), 0.472 / 0.490 (720)0.376 / 0.415 (96), 0.469 / 0.492 (720)0.435 / 0.446 (96), 0.515 / 0.517 (720)0.941 / 0.769 (96), 1.144 / 0.857 (720)

Look at Table 7 (arXiv:2211.14730v2, Section 4.3): ablating either Patching (P) or Channel-Independence (CI) on Traffic ($T=96$) causes MSE to jump from 0.367 (P+CI) to 0.397 (CI only, unpatched) and 0.595 (P only, channel-mixing), while the unpatched channel-mixing Transformer (Original TST) runs out of GPU memory on an NVIDIA A40 (48 GB) even at batch size 1 (https://arxiv.org/html/2211.14730v2, Table 7).


4. Time-LLM: Reprogramming Frozen Large Language Models via Text Prototypes and Prompt-as-Prefix (PaP) (Jin et al., ICLR 2024 / arXiv:2310.01728v2)

Rather than training a time-series backbone from scratch or converting floating-point series into brittle digit strings (LLMTime, Gruver et al. 2023) or fine-tuning internal LayerNorm/positional weights (GPT4TS / OneFitsAll, Zhou et al. 2023a), Time-LLM: Time Series Forecasting by Reprogramming Large Language Models (Ming Jin, Shiyu Wang, Lintao Ma, Zhixuan Chu, James Y. Zhang, Xiaoming Shi, Pin-Yu Chen, Yuxuan Liang, Yuan-Fang Li, Shirui Pan, and Qingsong Wen, ICLR 2024; https://arxiv.org/html/2310.01728v2, https://arxiv.org/abs/2310.01728) keeps the pretrained Llama-7B (32 layers) or GPT-2 backbone 100% frozen and reprograms continuous time-series patches into the native word-embedding subspace.

1. Multi-Head Cross-Attention Patch Reprogramming with Text Prototypes ($\mathbf{E}' \in \mathbb{R}^{V' \times D}$)

Given an $N$-variate history $\mathbf{X} \in \mathbb{R}^{N \times T}$, each univariate channel $\mathbf{X}^{(i)} \in \mathbb{R}^{1 \times T}$ is normalized via RevIN, segmented into $P = \lfloor \frac{T - L_p}{S} \rfloor + 2$ overlapping patches $\mathbf{X}_P^{(i)} \in \mathbb{R}^{P \times L_p}$, and linearly embedded into $\hat{\mathbf{X}}_P^{(i)} \in \mathbb{R}^{P \times d_m}$ (https://arxiv.org/html/2310.01728v2, Section 3.1). Because aligning $\hat{\mathbf{X}}_P^{(i)}$ directly against the entire LLM vocabulary matrix $\mathbf{E} \in \mathbb{R}^{V \times D}$ ($V = 32,000+$ tokens) is dense and unregularized, Time-LLM linearly probes $\mathbf{E}$ into a compact bank of $V' \ll V$ text prototypes $\mathbf{E}' \in \mathbb{R}^{V' \times D}$ (e.g., $V'=100$ or $1,000$ prototypes learning compositional language cues such as "short up" and "steady down"). A $K$-head cross-attention module then reprograms each time-series patch using patches as queries and text prototypes as keys and values (Equation 1): $$\mathbf{Q}_k^{(i)} = \hat{\mathbf{X}}_P^{(i)} \mathbf{W}_k^Q \in \mathbb{R}^{P \times d}, \qquad \mathbf{K}_k^{(i)} = \mathbf{E}' \mathbf{W}_k^K \in \mathbb{R}^{V' \times d}, \qquad \mathbf{V}_k^{(i)} = \mathbf{E}' \mathbf{W}_k^V \in \mathbb{R}^{V' \times d}$$ $$\mathbf{Z}_k^{(i)} = \operatorname{Attention}\!\left(\mathbf{Q}_k^{(i)}, \mathbf{K}_k^{(i)}, \mathbf{V}_k^{(i)}\right) = \operatorname{Softmax}\!\left(\frac{\mathbf{Q}_k^{(i)} (\mathbf{K}_k^{(i)})^\top}{\sqrt{d_k}}\right) \mathbf{V}_k^{(i)}$$ The concatenated multi-head outputs $\mathbf{Z}^{(i)} \in \mathbb{R}^{P \times d_m}$ are linearly projected to match the frozen LLM's hidden dimension $D$, producing reprogrammed patch embeddings $\mathbf{O}^{(i)} \in \mathbb{R}^{P \times D}$.

2. Prompt-as-Prefix (PaP) vs. Patch-as-Prefix and Lightweight Parameter Efficiency (<6.6M Trainable Params)

Instead of prompting the LLM to emit text digits (Patch-as-Prefix, where decimal 0.61 splits inconsistently into ['0', '.', '6', '1'] vs. ['0', '.', '61']), Time-LLM prepends a declarative natural-language Prompt-as-Prefix (PaP) embedding sequence before $\mathbf{O}^{(i)}$ comprising three structured components (https://arxiv.org/html/2310.01728v2, Section 3.1 & Section 4.5 Table 6):

  1. Dataset Context (e.g., domain and sensor physical semantics; ablating it increases MSE by 9.6% in Table 6 C.1).
  2. Task Instruction (e.g., forecast horizon $H$ transformation directive; ablating it increases MSE by 7.7% in Table 6 C.2).
  3. Input Statistical Context (min, max, median, overall upward/downward trend slope, and top-5 autocorrelation lags; ablating it hurts most, increasing MSE by 10.2% in Table 6 C.3).

After passing [Prompt Embeddings ; Reprogrammed Patch Embeddings] through the frozen 32-layer Llama-7B, the prefix tokens are discarded and the output patch representations are flattened and linearly projected to the horizon forecast $\hat{\mathbf{Y}}^{(i)} \in \mathbb{R}^{1 \times H}$:

  • Parameter & Memory Efficiency (Table 7): The trainable reprogramming and projection network itself (D.3 w/o LLM) contains only 6.39M (ETTh1-96) to 6.55M (ETTh1-512) trainable parameters—fewer than 6.6 million parameters (~0.2% of Llama-7B).
  • Full-Shot, Few-Shot (10% & 5%), and Cross-Domain Zero-Shot Benchmarks (Tables 1–5): On long-term forecasting ($T=512, H \in \{96, 192, 336, 720\}$), Time-LLM ranks #1 on 7 out of 8 benchmarks (ETTh1 = 0.408, ETTm1 = 0.329, ETTm2 = 0.251, Weather = 0.225, ECL = 0.158, Traffic = 0.388, ILI = 1.435), beating GPT4TS by 12% and TimesNet by 20%; on M4 short-term forecasting (Table 2), it reaches sMAPE = 11.983, MASE = 1.595, OWA = 0.859 (beating GPT4TS 0.940 by 8.7% and N-HiTS 0.869); on 5% few-shot learning (Table 4), it beats PatchTST, DLinear, and TimesNet by >20%; and on cross-domain zero-shot transfer (Table 5, e.g., ETTh1 -> ETTh2 = 0.353 vs. 0.380 PatchTST, 0.406 GPT4TS, 0.992 LLMTime), it outperforms the runner-up by >14.2%, GPT4TS by 22%, and LLMTime by >75%.

5. Lag-Llama: Multi-Frequency Lag Tokenization, Robust IQR Standardization, Student's $t$-Distribution Heads, and Broken Neural Scaling Laws (Rasul et al., arXiv:2310.08278v3)

In Lag-Llama: Towards Foundation Models for Probabilistic Time Series Forecasting (Kashif Rasul, Arjun Ashok, Andrew Robert Williams, Hena Ghonia, Rishika Bhagwatkar, Arian Khorasani, Marin Biloš, Sahil Garg, Anderson Schneider, Nicolas Chapados, Alexandre Drouin, Valentina Zantedeschi, Yuriy Nevmyvaka, and Irina Rish, Morgan Stanley, ServiceNow Research, Mila & Université de Montréal, 2024; https://arxiv.org/html/2310.08278v3), the authors designed an open-source univariate probabilistic foundation model trained from scratch on heterogeneous time-series domains without relying on fixed patch lengths.

1. Frequency-Agnostic Lag Feature Tokenization ($\mathbf{k}_t \in \mathbb{R}^{|\mathcal{L}|}$) and Robust IQR Standardization

To tokenize univariate time series across arbitrary and unseen sampling frequencies without frequency-specific projection heads, Lag-Llama defines a sorted set of positive lag indices $\mathcal{L} = \{1, \dots, L\}$ spanning quarterly, monthly, weekly, daily, hourly, and second-level periodicities (https://arxiv.org/html/2310.08278v3, Section 4.1): $$x_t \mapsto \mathbf{k}t \in \mathbb{R}^{|\mathcal{L}|}, \qquad \mathbf{k}_t[j] = x{t - \mathcal{L}[j]} \quad \text{for } j \in \{1, \dots, |\mathcal{L}|\}$$ Concatenating $|\mathcal{L}|$ historical lag values with $F$ calendar date-time features (second-of-minute, hour-of-day, day-of-week, ..., quarter-of-year) and window summary statistics produces a token vector $\mathbf{x}t^i \in \mathbb{R}^{|\mathcal{L}| + F}$ at each step $t$ of a context window $x{-L:C}^i$. Because all date-time features except the active sampling granularity remain constant from step $t$ to $t+1$, the causal decoder implicitly infers the underlying sampling rate (Section 4.1).

To prevent extreme outliers across heterogeneous domains from destabilizing pretraining gradients, Lag-Llama normalizes every context window $x_{1:C}$ using Robust Standardization via the Median and Interquartile Range (IQR) (Section 4.4, Equations 3–4): $$x't = \frac{x_t - \operatorname{Med}(x{1:C})}{\operatorname{IQR}(x_{1:C})}, \qquad \operatorname{IQR}(x_{1:C}) = \operatorname{Med}\!\left(\big\{x_{\lceil C/2\rceil : C}\big\}\right) - \operatorname{Med}\!\left(\big\{x_{1 : \lfloor C/2\rfloor}\big\}\right)$$ while passing the window summary statistics $(\mu^i, \sigma^i)$ as time-independent real-valued covariates so the model retains scale awareness.

2. Causal LLaMA Decoder (2,449,299 Parameters), Student's $t$-Distribution Head, and CRPS Benchmarks

The Lag-Llama backbone uses $M$ causal decoder-only Transformer layers with RMSNorm pre-normalization and Rotary Positional Encoding (RoPE) applied to query and key projections, topped by a parametric Student's $t$-distribution head that outputs degrees of freedom $\nu > 0$, location/mean $\mu \in \mathbb{R}$, and scale $\sigma > 0$ at each step to minimize the negative log-likelihood of the autoregressive joint distribution (Section 3 & Section 4.2–4.3): $$p_\phi\big(x_{C+1:C+P}^i \mid x_{1:C}^i, \mathbf{c}{1:C+P}^i; \theta\big) = \prod{t=C+1}^{C+P} p_\phi\big(x_t^i \mid x_{1:t-1}^i, \mathbf{c}_{1:t-1}^i; \theta\big)$$

Selected via a 100-configuration random search (Appendix D, Table 5) and pretrained on 27 datasets across 6 domains (7,965 univariate series comprising ~352 million data windows/tokens) with Freq-Mix (rate $0.25$) and Freq-Mask (rate $0.5$, augmentation probability $0.5$), the optimal Lag-Llama checkpoint contains 2,449,299 parameters (8 decoder layers, 9 attention heads, 16 embedding dimensions per head, context length $C=32$, weight decay $0$, dropout $0$) and follows a Broken Neural Scaling Law (Caballero et al. 2023, Appendix F.1) $y = a + (b x^{-c_0})\prod_{i=1}^n (1 + (x/d_i)^{1/f_i})^{-c_i f_i}$ with $a = -6.1167, b = 8.01589, c_0 = 0.0155, c_1 = -0.1043$:

Held-Out Unseen Test Dataset (arXiv:2310.08278v3 Table 1 & Table 2, CRPS via 100 Samples)AutoARIMAAutoETSDeepARPatchTSTN-BEATSTFT (Best Supervised)Lag-Llama (Zero-Shot)Lag-Llama (Fine-Tuned)
weather0.2130.2150.1480.1780.1340.1510.1640.132 (#1 SOTA)
ped-counts (Pedestrian Counts)0.7550.6250.2390.2540.2670.2680.2850.227 (#2)
ett-m2 (ETTm2)nan0.0810.0680.0350.0310.0300.0630.017 (#1 SOTA)
platform-delay0.1120.2970.0680.0940.1120.0990.091 (#2 Zero-Shot)0.096
requests (Cloud Requests)0.0760.0410.0450.0240.0210.0150.0900.012 (#1 SOTA)
beijing-pm2.50.1100.0900.1540.1450.0810.1560.1300.125
exchange (Exchange Rate, Unseen Domain & Freq)0.0090.0080.0120.0110.0240.0080.0110.009 (#2)
Average Rank Across Unseen Benchmarks (Table 1 & Table 2 Few-Shot)8.3338.0005.714 (3.429 at 20% data)5.643 (2.714 at 20% data)5.0715.000 (2.000 at 20% data)6.714 (Zero-Shot)2.786 (#1 Overall; 1.857 / 1.500 / 1.571 / 1.429 at 20%/40%/60%/80% data)

6. TimesFM: Google Research's 200M-Parameter Patched-Decoder Pretrained on O(100B) Time Points with Asymmetric Input/Output Patches ($p=32 \to h=128$) (Das, Kong, Sen & Zhou, ICML 2024 / arXiv:2310.10688v2)

In A decoder-only foundation model for time-series forecasting (TimesFM, Abhimanyu Das, Weihao Kong, Rajat Sen, and Yichen Zhou, Google Research, ICML 2024; https://arxiv.org/html/2310.10688v2, https://arxiv.org/abs/2310.10688), the authors addressed a core tension between encoder-decoder one-shot horizon prediction (PatchTST) and token-by-token autoregressive LLM decoding (GPT-3 / LLaMA): in zero-shot forecasting, neither the history length $L$ nor the forecast horizon $H$ is known a priori during pretraining, yet predicting a long horizon one small patch at a time accumulates multi-step autoregressive rollout error (https://arxiv.org/html/2310.10688v2, Section 4).

1. Asymmetric Input/Output Patching ($p=32 \to h=128$) and Random Prefix Patch Masking ($r \sim \mathcal{U}\{0, p-1\}$)

TimesFM resolves this trade-off through three architectural mechanisms (https://arxiv.org/html/2310.10688v2, Section 4, Equations 3–6 & Appendix A.3):

  1. Non-Overlapping Input Patches ($p = 32$) via Residual MLP Blocks: Given an input context $\mathbf{y}{1:L}$ and a binary padding/mask vector $\mathbf{m}{1:L} \in \{0,1\}^L$, TimesFM partitions them into $N = \lfloor L/p \rfloor$ contiguous patches $\tilde{\mathbf{y}}j = \mathbf{y}{p(j-1)+1:pj}$ and $\tilde{\mathbf{m}}j = \mathbf{m}{p(j-1)+1:pj}$ of length input_patch_len $p = 32$. Each patch is projected into model_dim $= 1280$ by a one-hidden-layer MLP with a skip connection (InputResidualBlock) plus sinusoidal positional encoding $\texttt{PE}_j$ (Equation 3): $$\mathbf{t}_j = \texttt{InputResidualBlock}\!\left(\tilde{\mathbf{y}}_j \odot (1 - \tilde{\mathbf{m}}_j)\right) + \texttt{PE}_j, \qquad j \in \{1, \dots, N\}$$
  2. Causal Stacked Transformer (200M Parameters, $n_l = 20$ Layers, 16 Heads, $d_{\text{model}} = 1280$): The token sequence passes through $n_l = 20$ causally masked multi-head self-attention layers (Equation 4): $$\mathbf{o}j = \texttt{StackedTransformer}\!\left((\mathbf{t}_1, \dot{m}_1), \dots, (\mathbf{t}_j, \dot{m}_j)\right), \qquad \dot{m}_j = \min\{\mathbf{m}{p(j-1)+1:pj}\}$$
  3. Longer Output Patches ($h = 128 = 4p$) and Random First-Patch Masking: Each causal output token $\mathbf{o}j$ is mapped via OutputResidualBlock to predict the next output_patch_len $h = 128$ future time steps simultaneously (Equations 5–6): $$\hat{\mathbf{y}}{pj+1 : pj+h} = \texttt{OutputResidualBlock}(\mathbf{o}j), \qquad \texttt{TrainLoss} = \frac{1}{N}\sum{j=1}^N \mathrm{MSE}\!\left(\hat{\mathbf{y}}{pj+1:pj+h}, \mathbf{y}{pj+1:pj+h}\right)$$ During inference, predicting a 512-step horizon on ETT requires only 4 autoregressive decoding steps with $h=128$ instead of 16 steps with $h=32$, significantly reducing rollout error (Section 6.2, Figure 4). Furthermore, to prevent the model from only generalizing to context lengths divisible by $p=32$, during training TimesFM samples a random prefix mask length $r \sim \mathcal{U}\{0, p-1\}$ for each series and sets $\mathbf{m}{1:r} = 1$, ensuring that across $N$ tokens the decoder is supervised on every single context length from $1$ to $L{\max}=512$ (Section 4, Training).

2. The O(100B) Time-Point Pretraining Mixture (50% Real / 50% Synthetic) and Zero-Shot Benchmarks

TimesFM is pretrained with cosine learning-rate decay (peak $\text{lr} = 5\times 10^{-4}$) on an O(100B) (100 billion) time-point corpus weighted 50% real data (equally balanced across hourly/sub-hourly, daily, weekly, and monthly granularities) and 50% synthetic data (https://arxiv.org/html/2310.10688v2, Section 5 & Appendix A.4):

  • Real Web & Competition Corpus: Google Trends search interest across ~22,000 head queries over 15 years (2007–2022) in hourly (Jan 2018–Dec 2019), daily, weekly, and monthly (Jan 2007–Dec 2021) granularities; Wikimedia Pageviews across all Wikimedia pages from Jan 2012 to Nov 2023 aggregated into hourly, daily, weekly, and monthly series; plus M4 (100k series), hourly/15-min Electricity (>300 series), hourly/15-min Traffic (>800 series), and 10-min Weather.
  • Synthetic Time-Series Generator (3M Series of Length 2,048): Additive and 50%-multiplicative combinations of four statistical generators: (I) piece-wise linear trends with $2$ to $8$ segments, (II) $\text{ARMA}(p,q)$ processes with $1 \le p, q \le 8$, and (III–IV) seasonal sine and cosine waves with random periods in $[4, 96]$ and random phase delays (Appendix A.4).

Across 18 held-out Monash datasets (Table 2), 8 Darts univariate benchmarks (Table 1), and 8 ETT long-horizon tasks (Table 4), zero-shot TimesFM (200M) exhibits monotonic scaling improvement from 17M $\to$ 70M $\to$ 200M parameters (Figure 3), beats GPT-3.5 llmtime (ZS) by >10% on Monash (and outperforms supervised DeepAR and FFNN, e.g., fred md MAE = 1823.16 vs. 2013.49 llmtime and 4264.36 DeepAR; us births MAE = 408.49 vs. 459.43 llmtime and 424.93 DeepAR), achieves AirPassengers MAE = 14.75 vs. 24.03 ARIMA and 34.37 llmtime and AusBeer MAE = 10.25 vs. 17.13 ARIMA on Darts, and achieves the lowest average MAE across all 8 ETT 96/192-step tasks (ETTh1-96 = 0.37 vs. 0.41 PatchTST, ETTh2-192 = 0.58 vs. 0.68 PatchTST, ETTm1-96 = 0.25 vs. 0.33 PatchTST, ETTm1-192 = 0.24 vs. 0.31 PatchTST) (https://arxiv.org/html/2310.10688v2, Appendix A.2.1–A.2.3).


7. Moirai (LOTSA 27.65B) and Chronos: Masked-Encoder Any-Variate Mixture Transformers vs. Quantized-Token Language Models (Woo et al., ICML 2024 / arXiv:2402.02592v1; Ansari et al., TMLR 2024 / arXiv:2403.07815v1)

In early 2024, two complementary foundation model paradigms emerged to solve universal probabilistic time-series forecasting: Salesforce AI Research's Moirai (https://arxiv.org/html/2402.02592v1), which engineers a time-series-native masked encoder for arbitrary multivariate and covariate dimensions, and Amazon Science's Chronos (https://arxiv.org/html/2403.07815v1), which reformulates continuous time-series regression as discrete token classification inside unmodified T5 language models.

1. Moirai: Multi-Patch Projections ({8,16,32,64,128}), Any-Variate Attention (RoPE + Binary Biases), 4-Component Mixture Likelihood, and LOTSA (27,646,462,733 Observations)

In Unified Training of Universal Time Series Forecasting Transformers (Gerald Woo, Chenghao Liu, Akshat Kumar, Caiming Xiong, Silvio Savarese, and Doyen Sahoo, Salesforce AI Research & SMU, ICML 2024; https://arxiv.org/html/2402.02592v1), Moirai (Small 14M: 6 layers, $d_{\text{model}}=384, d_{\text{ff}}=1536$, 6 heads; Base 91M: 12 layers, $d_{\text{model}}=768, d_{\text{ff}}=3072$, 12 heads; Large 311M: 24 layers, $d_{\text{model}}=1024, d_{\text{ff}}=4096$, 16 heads; pre-RMSNorm, query-key normalization, SwiGLU, bias-free layers) introduces four universal forecasting primitives (https://arxiv.org/html/2402.02592v1, Section 3.1–3.2 & Appendix B):

  1. Multi-Patch-Size Input/Output Projection Layers (Section 3.1.1 & Appendix B.1): Instead of a single fixed patch size, Moirai learns 5 shared input linear projection layers and 5 output distribution projection layers corresponding to patch sizes $P \in \{8, 16, 32, 64, 128\}$, assigned by sampling frequency: Yearly/Quarterly $\to \{8\}$, Monthly $\to \{8, 16, 32\}$, Weekly/Daily $\to \{16, 32\}$, Hourly $\to \{32, 64\}$, Minute-level $\to \{32, 64, 128\}$, and Second-level $\to \{64, 128\}$. In Table 7 (Section 4.3), fixing a single patch size (w/o multi patch size) degrades Monash aggregated normalized MAE from 0.655 to 1.156, while removing frequency-to-patch constraints degrades it to 0.720.
  2. Any-Variate Attention with RoPE and Binary Variate Biases (Section 3.1.2, Equations 2–3): To accept an arbitrary number of target variates $d_y$ and known dynamic covariates $d_z$ (replacing future target horizon patches with a learnable [mask] embedding) while guaranteeing permutation equivariance with respect to variate ordering and permutation invariance with respect to variate indices, Moirai flattens all $d_y + d_z$ variates into a single 1D token sequence (sampling up to 128 variates during training from $\text{Beta-Binomial}(n=128, a=2, b=5)$, mean $\approx 37$). The unscaled attention score $E_{ij,mn}$ between query token $(i, m)$ (time index $i$, variate index $m$) and key token $(j, n)$ (time index $j$, variate index $n$) combines Rotary Position Embeddings ($\mathbf{R}{i-j}$) for relative temporal distance with two per-head learnable binary attention biases $u^{(1)}, u^{(2)} \in \mathbb{R}$ that distinguish intra-variate ($m=n$) from cross-variate ($m \neq n$) interactions: $$E{ij,mn} = (\mathbf{W}^Q \mathbf{x}{i,m})^T \mathbf{R}{i-j}(\mathbf{W}^K \mathbf{x}{j,n}) + u^{(1)} \cdot \mathbb{1}{\{m=n\}} + u^{(2)} \cdot \mathbb{1}{\{m \neq n\}}, \qquad A{ij,mn} = \frac{\exp\{E_{ij,mn}\}}{\sum_{k,o}\exp\{E_{ik,mo}\}}$$ Replacing Any-Variate Attention with additive learned variate embeddings degrades Monash normalized MAE from 0.655 to 0.904 (Table 7).
  3. Flexible 4-Component Parametric Mixture Distribution (Section 3.1.3, Equation 4): To model heavy tails, discrete positive counts, right-skewed spikes, and high-confidence regimes simultaneously under a single negative log-likelihood objective, Moirai predicts mixture weights $\sum_{i=1}^4 w_i = 1$ and component parameters $\hat{\boldsymbol{\phi}} = \{w_1, \hat{\boldsymbol{\phi}}1, \dots, w_4, \hat{\boldsymbol{\phi}}_4\}$ for: $$p(\mathbf{Y}{t:t+h} \mid \hat{\boldsymbol{\phi}}) = \sum_{i=1}^4 w_i\, p_i(\mathbf{Y}_{t:t+h} \mid \hat{\boldsymbol{\phi}}_i) \quad \text{spanning } \big\{\text{Student's } t,\; \text{Negative Binomial},\; \text{Log-Normal},\; \text{Low-Variance Normal}\big\}$$ Replacing this 4-component mixture with a symmetric Student's $t$-distribution degrades Monash normalized MAE from 0.655 to 0.740 (Table 7).
  4. The LOTSA Archive (27,646,462,733 Observations) and Sequence Packing (Section 3.2.1 & 4.4): Compiled in Apache Arrow format across 9 domains and 105 datasets—Energy (30 datasets, 16,358,600,896 obs, 59.17%), Transport (23 datasets, 4,900,453,419 obs, 17.73%), Climate (6 datasets, 4,188,011,890 obs, 15.15%), CloudOps (3 datasets, 1,518,268,292 obs, 5.49%), Web (3 datasets, 428,082,373 obs, 1.55%), Sales (6 datasets, 197,984,339 obs, 0.72%), Nature (5 datasets, 28,547,647 obs, 0.09%), Econ/Fin (23 datasets, 24,919,596 obs, 0.10%), and Healthcare (6 datasets, 1,594,281 obs, 0.01%)—with sub-dataset sampling capped at $\epsilon = 0.001$. Because flattened multi-variate sequences vary wildly in token count ($2$ to $512$), sequence packing reduces wasted padding tokens from 61.08% to 0.38%, improving Monash normalized MAE by 16% (0.785 w/o packing $\to$ 0.655 with packing; 0.809 w/o LOTSA).

2. Chronos: Mean-Scaled Uniform Quantization, Categorical Cross-Entropy ("Regression via Classification"), TSMix, and Gaussian Process KernelSynth

In Chronos: Learning the Language of Time Series (Abdul Fatir Ansari, Lorenzo Stella, Caner Turkmen, Xiyuan Zhang, Pedro Mercado, Huibin Shen, Oleksandr Shchur, Syama Sundar Rangapuram, Sebastian Pineda Arango, Shubham Kapoor, Jasper Zschiegner, Danielle C. Maddix, Michael W. Mahoney, Kari Torkkola, Andrew Gordon Wilson, Michael Bohlke-Schneider, and Yuyang Wang, Amazon Web Services, TMLR 2024; https://arxiv.org/html/2403.07815v1), the authors eliminated all time-series-specific architectural modifications, lag covariates, and calendar features:

  1. Mean Scaling and Uniform Bin Quantization (Section 3.1, Equation 1): Given a univariate context $\mathbf{x}{1:C}$ and horizon $\mathbf{x}{C+1:C+H}$, Chronos applies affine mean scaling ($m=0, s = \frac{1}{C}\sum_{i=1}^C |x_i|$) so that $\tilde{x}i = x_i / s$, and maps real values into $B$ discrete uniform bin centers $c_1 < c_2 < \dots < c_B$ separated by $B-1$ bin edges $b_1 < \dots < b{B-1}$ across the interval $[l = -15, r = 15]$: $$q(x) = \begin{cases} 1 & \text{if } -\infty \le x < b_1 \\ 2 & \text{if } b_1 \le x < b_2 \\ \vdots & \\ B & \text{if } b_{B-1} \le x < \infty \end{cases}, \qquad d(j) = c_j, \qquad \hat{x}{C+h} = s \cdot d(z{C+h})$$ Appending two special language-modeling tokens (PAD for missing values/batch padding and EOS for sequence termination) yields a discrete time-series vocabulary $\mathcal{V}{\text{ts}}$ of size $|\mathcal{V}{\text{ts}}| = B + 2$ (default $|\mathcal{V}_{\text{ts}}| = 4096$).
  2. Categorical Cross-Entropy Objective ("Regression via Classification", Section 3.2, Equation 2): Standard encoder-decoder T5 (Mini 20M, Small 46M, Base 200M, Large 710M) and decoder-only GPT-2 (90M) models (context length $C=512$, prediction length $H=64$) are trained for 200,000 steps (batch size 256, AdamW $\text{lr}=0.001 \to 0$) to minimize the non-distance-aware categorical cross-entropy over $\mathcal{V}{\text{ts}}$: $$\ell(\boldsymbol{\theta}) = -\sum{h=1}^{H+1} \sum_{i=1}^{|\mathcal{V}{\text{ts}}|} \mathbf{1}{(z_{C+h+1}=i)} \log p_{\boldsymbol{\theta}}(z_{C+h+1}=i \mid \mathbf{z}_{1:C+h})$$ Because categorical softmax places zero parametric constraints on the output density, autoregressive sampling of 20 forecast trajectories naturally captures arbitrary multimodal, skewed, and heavy-tailed distributions (Section 3.2–3.3).
  3. TSMix ($10\text{M}$ Augmentations) and Gaussian Process KernelSynth ($1\text{M}$ Series, 9:1 Ratio, Section 4 & Appendix A): - TSMix (Algorithm 1): Samples $k \sim \mathcal{U}\{1, K\}$ ($K=3$) random series of length $l \sim \mathcal{U}\{128, 2048\}$ across the $N_d = 28$ training datasets (~890K series, ~84B tokens), mean-scales each series, and takes their convex combination weighted by a symmetric Dirichlet draw $[\lambda_1, \dots, \lambda_k] \sim \operatorname{Dir}(\alpha=1.5)$: $\tilde{\mathbf{x}}{1:l}^{\text{TSMix}} = \sum{i=1}^k \lambda_i \tilde{\mathbf{x}}{1:l}^{(i)}$ (retaining unmixed original series with probability $1/3$). - KernelSynth (Algorithm 2): Samples $j \sim \mathcal{U}\{1, J\}$ ($J=5$) basis kernels with replacement from a GP kernel bank $\mathcal{K}$ (linear trend kernels, RBF smooth local variation kernels, and periodic seasonal kernels), composes them via random binary operators $\star \sim \{+, \times\}$ into $\tilde{\kappa}(t, t')$, and draws synthetic series of length $l{\text{syn}} = 1024$ from the Gaussian Process prior $\mathcal{GP}(0, \tilde{\kappa}(t, t'))$. Ablations (Figure 10b) confirm that a 9:1 ratio (10% KernelSynth synthetic data) yields the optimal zero-shot and in-domain generalization, and that random weight initialization converges to lower training loss and better/equal accuracy than pretrained C4 T5 language weights (Figures 8–9).
⚡ Empirical Finding: Why Random Initialization Beats Pretrained Text LLM Weights on Quantized Time Series (Chronos Section 5.6)

When Ansari et al. (arXiv:2403.07815v1, Section 5.6 Initialization, Figures 8–9) compared Chronos-T5 models initialized from C4-pretrained T5 language weights against randomly initialized T5 weights across Mini (20M), Small (46M), Base (200M), and Large (710M), C4-initialized models exhibited a faster initial loss drop but converged to a higher final training loss and slightly worse or overlapping downstream WQL/MASE. Furthermore, training Chronos from scratch on an 8×A100-40GB p4d.24xlarge instance ($32.773/hr) required only 7.68 hours ($252) for Mini (20M), 7.73 hours ($253) for Small (46M), 17.96 hours ($588) for Base (200M), and 63.05 hours ($2,066) for Large (710M) (Appendix E Table 5).

Model / Foundation Architecture (arXiv:2402.02592v1 Tables 5–6; arXiv:2403.07815v1 Tables 5–9)Parameter Scale & Pretraining CorpusMoirai Zero-Shot Probabilistic CRPS (Electricity / Solar / Weather / Turkey Power)Moirai Zero-Shot Long-Sequence Avg MSE (ETTh1 / ETTh2 / ETTm1 / ETTm2 / Weather)Chronos Benchmark I (15 In-Domain Datasets) Agg. Rel. WQL / MASE (Avg Rank)Chronos Benchmark II (27 Unseen Zero-Shot Datasets) Agg. Rel. WQL / MASE (Avg Rank)
Moirai Small / Base / Large (Zero-Shot)14M / 91M / 311M on LOTSA (27,646,462,733 obs, 9 domains)Large: 0.050 (Elec), 0.406 (Solar), 0.036 (Turkey); Base: 0.041 (Weather)Small: 0.400 (ETTh1), 0.341 (ETTh2); Base: 0.381 (ETTm1), 0.272 (ETTm2), 0.238 (Weather)——
Chronos-T5 (Large) (710M, Zero-Shot / In-Domain)710M (63.05 hrs, $2,066), 28 datasets (~890K series, ~84B tokens) + 10M TSMix + 1M KernelSynth——0.574 (#1, Rank 3.000) / 0.726 (#1, Rank 3.400)0.649 (#2, Rank 6.407) / 0.831 (#3, Rank 6.556)
Chronos-T5 (Base) (200M) & Small (46M)200M (17.96 hrs, $588); 46M (7.73 hrs, $253)——Base: 0.589 (#2) / 0.736 (#2); Small: 0.610 / 0.751Base: 0.661 (#3) / 0.844; Small: 0.672 / 0.856 (#1 overall after 1,000-step fine-tuning)
PatchTST (Full-Shot Supervised Baseline)Task-specific supervised training per dataset0.052 (Elec), 0.518 (Solar), 0.059 (Weather), 0.054 (Turkey)0.469 (ETTh1), 0.387 (ETTh2), 0.387 (ETTm1), 0.281 (ETTm2), 0.259 (Weather)0.601 (Rank 5.667) / 0.740 (Rank 4.600)0.684 (Rank 5.963) / 0.810 (#1 Point, Rank 6.778)
TFT / N-HiTS / N-BEATS / DeepAR (Full-Shot Supervised)Task-specific supervised training per datasetTFT: 0.050 / 0.446 / 0.043 / 0.039; DeepAR: 0.065 / 0.431 / 0.132 / 0.066iTransformer: 0.454 / 0.383 / 0.407 / 0.288 / 0.258; DLinear: 0.456 / 0.559 / 0.403 / 0.350 / 0.265N-HiTS: 0.656 / 0.854; N-BEATS: 0.664 / 0.861; DeepAR: 0.676 / 0.821; TFT: 0.734 / 0.939TFT: 0.639 (#1 WQL, Rank 6.000) / 0.847; N-HiTS: 0.672 / 0.830; N-BEATS: 0.681 / 0.835; DeepAR: 0.733 / 0.843
GPT4TS (Fine-Tuned GPT-2) / ForecastPFN / AutoARIMAGPT4TS: per-task fine-tuned; ForecastPFN: synthetic zero-shot; AutoARIMA: localAutoARIMA: 0.327 / 1.055 / 0.252 / 0.116TimesNet: 0.458 / 0.414 / 0.400 / 0.291 / 0.259GPT4TS: — / 0.871; AutoARIMA: 0.876 / 0.941; AutoETS: 1.076 / 0.983GPT4TS: — / 0.895; ForecastPFN: — / 2.450; AutoARIMA: 0.761 / 0.908; AutoETS: 0.838 / 0.953

8. Reference PyTorch Implementation: DLinear Trend-Seasonal Decomposition, PatchTST Channel-Independent Subseries Patching (RevIN), Chronos Mean-Scaled Uniform Quantization, and Moirai Any-Variate RoPE Attention

The following self-contained PyTorch module implements the four core mathematical building blocks analyzed above—verifying DLinear moving-average decomposition (Zeng et al. 2023), PatchTST subseries patching ($N = \lfloor (L-P)/S \rfloor + 2$) with Reversible Instance Normalization (Nie et al. 2023), Chronos mean-scaled uniform quantization over $[-15, 15]$ (Ansari et al. 2024), and Moirai Any-Variate Attention with relative RoPE and binary intra-/inter-variate attention biases (Woo et al. 2024):

from __future__ import annotations

import math
import torch
import torch.nn as nn
import torch.nn.functional as F

class MovingAvgSeriesDecomp(nn.Module):
    """Moving-average trend-remainder decomposition from DLinear (Zeng et al., AAAI 2023, arXiv:2205.13504v3)."""

    def __init__(self, kernel_size: int = 25) -> None:
        super().__init__()
        self.kernel_size = kernel_size
        self.avg = nn.AvgPool1d(kernel_size=kernel_size, stride=1, padding=0)

    def forward(self, x: torch.Tensor) -> tuple[torch.Tensor, torch.Tensor]:
        """Decompose x of shape (B, C, L) into (x_rem, x_trend) of shape (B, C, L)."""
        pad_len = (self.kernel_size - 1) // 2
        front = x[:, :, 0:1].repeat(1, 1, pad_len)
        end = x[:, :, -1:].repeat(1, 1, pad_len)
        x_padded = torch.cat([front, x, end], dim=-1)
        x_trend = self.avg(x_padded)
        x_rem = x - x_trend
        return x_rem, x_trend

class DLinearForecaster(nn.Module):
    """Direct Multi-Step (DMS) Decomposition Linear model (Zeng et al., arXiv:2205.13504v3 Section 4 & Appendix D.3)."""

    def __init__(self, lookback_len: int = 336, horizon_len: int = 96, kernel_size: int = 25) -> None:
        super().__init__()
        self.decomp = MovingAvgSeriesDecomp(kernel_size=kernel_size)
        self.linear_Seasonal = nn.Linear(lookback_len, horizon_len)
        self.linear_Trend = nn.Linear(lookback_len, horizon_len)
        nn.init.constant_(self.linear_Seasonal.weight, 1.0 / lookback_len)
        nn.init.zeros_(self.linear_Seasonal.bias)
        nn.init.constant_(self.linear_Trend.weight, 1.0 / lookback_len)
        nn.init.zeros_(self.linear_Trend.bias)

    def forward(self, x: torch.Tensor) -> torch.Tensor:
        """Map (B, C, L) look-back tensor directly to (B, C, T) multi-step forecast."""
        seasonal_init, trend_init = self.decomp(x)
        seasonal_out = self.linear_Seasonal(seasonal_init)
        trend_out = self.linear_Trend(trend_init)
        return seasonal_out + trend_out

class PatchTSTChannelIndependent(nn.Module):
    """Channel-Independent Patch Time-Series Transformer (Nie et al., ICLR 2023, arXiv:2211.14730v2 Section 3.1)."""

    def __init__(
        self,
        lookback_len: int = 336,
        horizon_len: int = 96,
        patch_len: int = 16,
        stride: int = 8,
        d_model: int = 128,
        n_heads: int = 16,
        d_ff: int = 256,
        n_layers: int = 3,
    ) -> None:
        super().__init__()
        self.patch_len = patch_len
        self.stride = stride
        self.num_patches = (lookback_len - patch_len) // stride + 2
        self.patch_proj = nn.Linear(patch_len, d_model)
        self.pos_embed = nn.Parameter(torch.randn(1, self.num_patches, d_model) * 0.02)
        encoder_layer = nn.TransformerEncoderLayer(
            d_model=d_model,
            nhead=n_heads,
            dim_feedforward=d_ff,
            dropout=0.2,
            activation="gelu",
            batch_first=True,
        )
        self.encoder = nn.TransformerEncoder(encoder_layer, num_layers=n_layers)
        self.head = nn.Linear(self.num_patches * d_model, horizon_len)

    def forward(self, x: torch.Tensor) -> torch.Tensor:
        """Process multivariate series x of shape (B, M, L) via RevIN, patching, and channel-independent attention."""
        bsz, n_vars, _ = x.shape
        # 1. Reversible Instance Normalization (RevIN) per channel
        mean = x.mean(dim=-1, keepdim=True)
        std = torch.sqrt(x.var(dim=-1, keepdim=True, unbiased=False) + 1e-5)
        x_norm = (x - mean) / std

        # 2. Pad S repetitions of the last value x_L^(i) and extract N patches of length P with stride S
        last_pad = x_norm[:, :, -1:].repeat(1, 1, self.stride)
        x_padded = torch.cat([x_norm, last_pad], dim=-1)
        patches = x_padded.unfold(dimension=-1, size=self.patch_len, step=self.stride)  # (B, M, N, P)

        # 3. Reshape to ((B * M), N, P) for shared Channel-Independent Transformer encoding
        ci_tokens = patches.reshape(bsz * n_vars, self.num_patches, self.patch_len)
        h = self.patch_proj(ci_tokens) + self.pos_embed  # ((B * M), N, D)
        z = self.encoder(h).reshape(bsz, n_vars, self.num_patches * h.shape[-1])
        y_norm = self.head(z)  # (B, M, T)
        return y_norm * std + mean

class ChronosMeanScaleQuantizer:
    """Mean-scaling and uniform bin quantization over [l=-15, r=15] from Chronos (Ansari et al., arXiv:2403.07815v1 Section 3.1)."""

    def __init__(self, num_bins: int = 4094, low: float = -15.0, high: float = 15.0) -> None:
        self.pad_token_id = 0
        self.eos_token_id = 1
        self.num_bins = num_bins
        self.centers = torch.linspace(low, high, steps=num_bins)
        self.edges = 0.5 * (self.centers[:-1] + self.centers[1:])

    def tokenize(self, context: torch.Tensor) -> tuple[torch.Tensor, torch.Tensor]:
        """Scale context (B, C) by mean absolute value s = (1/C) sum |x_i| and quantize to token IDs in {2..B+1} plus EOS."""
        scale = context.abs().mean(dim=-1, keepdim=True).clamp(min=1e-7)
        scaled = context / scale
        bin_idx = torch.bucketize(scaled, self.edges) + 2  # Shift by 2 for PAD=0, EOS=1
        eos_col = torch.full((context.shape[0], 1), self.eos_token_id, dtype=torch.long, device=context.device)
        return torch.cat([bin_idx, eos_col], dim=-1), scale

    def dequantize(self, token_ids: torch.Tensor, scale: torch.Tensor) -> torch.Tensor:
        """Map sampled token IDs in {2..B+1} back to unscaled continuous values s * c_j."""
        clamped_idx = (token_ids - 2).clamp(min=0, max=self.num_bins - 1)
        return self.centers.to(token_ids.device)[clamped_idx] * scale

class MoiraiAnyVariateAttention(nn.Module):
    """Any-Variate Attention with temporal RoPE and binary variate biases u^(1), u^(2) (Woo et al., ICML 2024, arXiv:2402.02592v1 Eq. 2-3)."""

    def __init__(self, d_model: int = 384, n_heads: int = 6) -> None:
        super().__init__()
        self.n_heads = n_heads
        self.head_dim = d_model // n_heads
        self.q_proj = nn.Linear(d_model, d_model, bias=False)
        self.k_proj = nn.Linear(d_model, d_model, bias=False)
        self.v_proj = nn.Linear(d_model, d_model, bias=False)
        self.out_proj = nn.Linear(d_model, d_model, bias=False)
        self.u_same_var = nn.Parameter(torch.zeros(n_heads, 1, 1))
        self.u_diff_var = nn.Parameter(torch.zeros(n_heads, 1, 1))

    @staticmethod
    def _apply_rope(x: torch.Tensor, time_idx: torch.Tensor) -> torch.Tensor:
        """Apply 1D Rotary Position Embedding along the temporal index i for each flattened (time, variate) token."""
        half_d = x.shape[-1] // 2
        freq = 1.0 / (10000.0 ** (torch.arange(0, half_d, dtype=torch.float32, device=x.device) / half_d))
        angles = time_idx.unsqueeze(1).unsqueeze(-1).float() * freq  # (B, 1, S, half_d)
        cos_a, sin_a = torch.cos(angles), torch.sin(angles)
        x1, x2 = x[..., :half_d], x[..., half_d:]
        return torch.cat([x1 * cos_a - x2 * sin_a, x1 * sin_a + x2 * cos_a], dim=-1)

    def forward(self, x: torch.Tensor, time_idx: torch.Tensor, var_idx: torch.Tensor) -> torch.Tensor:
        """Compute Any-Variate Attention over flattened sequence x (B, S, d_model) with time_idx (B, S) and var_idx (B, S)."""
        bsz, seq_len, _ = x.shape
        q = self.q_proj(x).view(bsz, seq_len, self.n_heads, self.head_dim).transpose(1, 2)
        k = self.k_proj(x).view(bsz, seq_len, self.n_heads, self.head_dim).transpose(1, 2)
        v = self.v_proj(x).view(bsz, seq_len, self.n_heads, self.head_dim).transpose(1, 2)

        q = self._apply_rope(q, time_idx)
        k = self._apply_rope(k, time_idx)

        same_var_mask = (var_idx.unsqueeze(2) == var_idx.unsqueeze(1)).unsqueeze(1).float()  # (B, 1, S, S)
        var_bias = self.u_same_var * same_var_mask + self.u_diff_var * (1.0 - same_var_mask)

        scores = torch.matmul(q, k.transpose(-2, -1)) / math.sqrt(self.head_dim) + var_bias
        attn = F.softmax(scores, dim=-1)
        out = torch.matmul(attn, v).transpose(1, 2).contiguous().view(bsz, seq_len, -1)
        return self.out_proj(out)

if __name__ == "__main__":
    torch.manual_seed(42)

    # 1. Verify DLinear and PatchTST/42 (L=336 -> N=42 patches -> T=96)
    x_multivar = torch.randn(2, 7, 336)
    dlinear = DLinearForecaster(lookback_len=336, horizon_len=96)
    patchtst = PatchTSTChannelIndependent(lookback_len=336, horizon_len=96, patch_len=16, stride=8)
    assert patchtst.num_patches == 42, f"Expected N=42 patches for L=336, P=16, S=8; got {patchtst.num_patches}"
    assert dlinear(x_multivar).shape == (2, 7, 96) and patchtst(x_multivar).shape == (2, 7, 96)

    # 2. Verify Chronos mean-scaling and uniform quantization round-trip
    quantizer = ChronosMeanScaleQuantizer(num_bins=4094, low=-15.0, high=15.0)
    x_univar = torch.linspace(50.0, 150.0, steps=512).unsqueeze(0)
    tokens, s_scale = quantizer.tokenize(x_univar)
    recon = quantizer.dequantize(tokens[:, :-1], s_scale)
    max_quant_err = (x_univar - recon).abs().max().item()
    assert tokens.shape == (1, 513) and max_quant_err < 0.5

    # 3. Verify Moirai Any-Variate Attention permutation equivariance across variate indices
    moirai_attn = MoiraiAnyVariateAttention(d_model=64, n_heads=4)
    flat_tokens = torch.randn(1, 6, 64)  # 2 variates x 3 patches = 6 flattened tokens
    t_ids = torch.tensor([[0, 1, 2, 0, 1, 2]])
    v_ids_a = torch.tensor([[0, 0, 0, 1, 1, 1]])
    v_ids_b = torch.tensor([[9, 9, 9, 3, 3, 3]])  # Relabeled variate IDs must yield identical output
    diff_invariance = (moirai_attn(flat_tokens, t_ids, v_ids_a) - moirai_attn(flat_tokens, t_ids, v_ids_b)).abs().max().item()
    assert diff_invariance < 1e-6
    print(f"PatchTST tokens: {patchtst.num_patches} | Chronos max quant error: {max_quant_err:.4f} | Moirai variate-ID invariance diff: {diff_invariance:.2e}")

9. Frequently Asked Questions (FAQ): DLinear vs. PatchTST, TimesFM Asymmetric Patching, Moirai Any-Variate Attention, and Chronos Discrete Quantization

Why did simple linear models (LTSF-Linear / DLinear) outperform early time-series Transformers (Informer, Autoformer, FEDformer), and how did PatchTST reverse that result? In arXiv:2205.13504v3 (Zeng et al., AAAI 2023, Section 1 & Section 3–5), early time-series Transformers tokenized every individual scalar time point $t$ as an input token. Because a single scalar value lacks semantic meaning and the multi-head self-attention dot product is permutation-invariant, point-wise attention loses temporal order and overfits short-term noise—allowing a single-layer direct multi-step (DMS) linear regression model with moving-average trend-seasonal decomposition (DLinear) to outperform FEDformer, Autoformer, and Informer across 9 benchmarks by 20% to 50% (e.g., Electricity 96-step MSE 0.140 vs. 0.193 FEDformer). PatchTST (Nie et al., ICLR 2023, https://arxiv.org/html/2211.14730v2) solved this by (1) grouping contiguous time steps into subseries patches of length $P=16$ and stride $S=8$ ($N = \lfloor (L-P)/S \rfloor + 2 = 42$ tokens for $L=336$, or $N=64$ tokens for $L=512$), which preserves local temporal semantics and reduces quadratic attention cost by $S^2 = 64$ (22× faster training on Traffic: 464 s vs. 10,040 s), and (2) enforcing Channel-Independence (CI) with Reversible Instance Normalization (RevIN), achieving a 21.0% MSE reduction over prior Transformers and consistently surpassing DLinear (Traffic 96-step MSE 0.360 supervised and 0.352 self-supervised vs. 0.410 DLinear; Weather 96-step MSE 0.144 self-supervised vs. 0.176 DLinear).

Why does Google Research's TimesFM use a longer output patch length ($h=128$) than its input patch length ($p=32$) together with random first-patch prefix masking? In zero-shot foundation forecasting (https://arxiv.org/html/2310.10688v2, Section 4 & Section 6.2), the evaluation horizon $H$ is unknown during pretraining, requiring autoregressive decoding at inference time. However, multi-step autoregressive rollouts over small patches accumulate error on long horizons. By training its 200M-parameter causal decoder (20 layers, 16 heads, model_dim = 1280, pretrained on O(100B) time points) with an input patch length of $p = 32$ and a 4× longer output patch length of $h = 128$, TimesFM forecasts a 512-step ETT horizon in only 4 autoregressive decoding steps instead of 16, significantly lowering long-horizon MAE (Figure 4). Simultaneously, sampling a random prefix mask $r \sim \mathcal{U}\{0, p-1\}$ on the first input patch during training exposes the causal decoder to every context length from $1$ to $512$, avoiding the fixed-$p$-multiple constraint (Section 4).

How does Moirai handle arbitrary numbers of variates, cross-frequency sampling rates, and asymmetric non-Gaussian uncertainty in a single universal Transformer? In arXiv:2402.02592v1 (Woo et al., ICML 2024, Section 3.1–3.2), Moirai (14M, 91M, 311M) introduces three mechanisms pretrained on 27,646,462,733 (>27B) LOTSA observations: (1) 5 Multi-Patch-Size Input/Output Projection Layers ({8, 16, 32, 64, 128}) assigned by sampling frequency (e.g., 8 for yearly/quarterly up to 64, 128 for second-level data; ablating this degrades Monash normalized MAE from 0.655 to 1.156); (2) Any-Variate Attention, which flattens all $d_y$ target variates and $d_z$ covariates into a single sequence using Rotary Position Embeddings (RoPE) for relative time distance $(i-j)$ and learnable binary attention biases $u^{(1)}\mathbb{1}{\{m=n\}} + u^{(2)}\mathbb{1}{\{m \neq n\}}$ to distinguish intra-variate from cross-variate tokens while respecting variate permutation invariance (ablating this degrades normalized MAE from 0.655 to 0.904); and (3) a 4-component parametric mixture distribution combining Student's $t$, Negative Binomial, Log-Normal, and low-variance Normal densities (ablating to a single Student's $t$ degrades normalized MAE from 0.655 to 0.740), trained with sequence packing that cuts padding waste from 61.08% to 0.38% (+16% MAE improvement).

How can Chronos perform probabilistic time-series forecasting using an unmodified T5 language model and categorical cross-entropy without distance-aware regression loss? In arXiv:2403.07815v1 (Ansari et al., TMLR 2024, Section 3.1–3.3 & Section 5), Chronos normalizes each univariate series by the mean absolute value of its historical context ($s = \frac{1}{C}\sum_{i=1}^C |x_i|$) and quantizes the scaled real values into uniform discrete bins across $[l = -15, r = 15]$ (plus PAD and EOS tokens, default $|\mathcal{V}_{\text{ts}}| = 4096$). By training unmodified T5 (20M to 710M) models via standard categorical cross-entropy ("regression via classification") on 10M TSMix convex combinations and 1M KernelSynth Gaussian Process synthetic series (9:1 ratio), the categorical softmax output learns arbitrary non-parametric, multimodal, and skewed predictive distributions without distributional assumptions—achieving #1 in-domain relative WQL (0.574) and MASE (0.726) across 15 Benchmark I datasets and #2 zero-shot relative WQL (0.649) across 27 unseen Benchmark II datasets, while 1,000-step fine-tuning promotes Chronos-T5 (Small, 46M) to #1 overall (Figures 4–6, Tables 6–9).


10. Primary Technical Sources & Foundations

  1. Boris N. Oreshkin, Dmitri Carpov, Nicolas Chapados, Yoshua Bengio — N-BEATS: Neural basis expansion analysis for interpretable time series forecasting (Element AI & Mila, ICLR 2020 / arXiv:1905.10437v4 Full Experimental HTML): https://arxiv.org/html/1905.10437v4
  2. Boris N. Oreshkin, Dmitri Carpov, Nicolas Chapados, Yoshua Bengio — N-BEATS: Neural basis expansion analysis for interpretable time series forecasting (arXiv:1905.10437 Official Abstract & Metadata Repository): https://arxiv.org/abs/1905.10437
  3. Ailing Zeng, Muxi Chen, Lei Zhang, Qiang Xu — Are Transformers Effective for Time Series Forecasting? (LTSF-Linear, DLinear & NLinear) (The Chinese University of Hong Kong & IDEA, AAAI 2023 / arXiv:2205.13504v3 Full Experimental HTML): https://arxiv.org/html/2205.13504v3
  4. Yuqi Nie, Nam H. Nguyen, Phanwadee Sinthong, Jayant Kalagnanam — A Time Series is Worth 64 Words: Long-term Forecasting with Transformers (PatchTST) (Princeton University & IBM Research, ICLR 2023 / arXiv:2211.14730v2 Full Experimental HTML): https://arxiv.org/html/2211.14730v2
  5. Yuqi Nie, Nam H. Nguyen, Phanwadee Sinthong, Jayant Kalagnanam — A Time Series is Worth 64 Words: Long-term Forecasting with Transformers (PatchTST) (arXiv:2211.14730 Official Abstract & DOI Repository): https://arxiv.org/abs/2211.14730
  6. Ming Jin, Shiyu Wang, Lintao Ma, Zhixuan Chu, James Y. Zhang, Xiaoming Shi, Pin-Yu Chen, Yuxuan Liang, Yuan-Fang Li, Shirui Pan, Qingsong Wen — Time-LLM: Time Series Forecasting by Reprogramming Large Language Models (Monash University, Ant Group, IBM Research & Alibaba Group, ICLR 2024 / arXiv:2310.01728v2 Full Experimental HTML): https://arxiv.org/html/2310.01728v2
  7. Kashif Rasul, Arjun Ashok, Andrew Robert Williams, Hena Ghonia, Rishika Bhagwatkar, Arian Khorasani, Mohammad Javad Darvishi Bayazi, George Adamopoulos, Roland Riachi, Nadhir Hassen, Marin Biloš, Sahil Garg, Anderson Schneider, Nicolas Chapados, Alexandre Drouin, Valentina Zantedeschi, Yuriy Nevmyvaka, Irina Rish — Lag-Llama: Towards Foundation Models for Probabilistic Time Series Forecasting (Morgan Stanley, ServiceNow Research, Mila & Université de Montréal, arXiv:2310.08278v3 Full Experimental HTML): https://arxiv.org/html/2310.08278v3
  8. Abhimanyu Das, Weihao Kong, Rajat Sen, Yichen Zhou — A decoder-only foundation model for time-series forecasting (TimesFM) (Google Research, ICML 2024 / arXiv:2310.10688v2 Full Experimental HTML): https://arxiv.org/html/2310.10688v2
  9. Gerald Woo, Chenghao Liu, Akshat Kumar, Caiming Xiong, Silvio Savarese, Doyen Sahoo — Unified Training of Universal Time Series Forecasting Transformers (Moirai & LOTSA) (Salesforce AI Research & Singapore Management University, ICML 2024 / arXiv:2402.02592v1 Full Experimental HTML): https://arxiv.org/html/2402.02592v1
  10. Abdul Fatir Ansari, Lorenzo Stella, Caner Turkmen, Xiyuan Zhang, Pedro Mercado, Huibin Shen, Oleksandr Shchur, Syama Sundar Rangapuram, Sebastian Pineda Arango, Shubham Kapoor, Jasper Zschiegner, Danielle C. Maddix, Michael W. Mahoney, Kari Torkkola, Andrew Gordon Wilson, Michael Bohlke-Schneider, Yuyang Wang — Chronos: Learning the Language of Time Series (Amazon Web Services / Amazon Science, TMLR 2024 / arXiv:2403.07815v1 Full Experimental HTML): https://arxiv.org/html/2403.07815v1
🔗 Share Post

Reading next story...

Back to Feed