arXiv:2611.02750cs.LGNov 2026

Manuscript Offprint

arXiv:2611.02750

Investigating the effects of the patch size in Time Series Foundation Models

Jad Yehya, Andrei-Tiberiu Pantea, Aymeric Dieuleveut, Matthieu Kowalski, Thomas Moreau

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Jad Yehya*

Université Paris-Saclay, Inria, CEA

Palaiseau, France

jad.yehya@inria.fr

Andrei-Tiberiu Pantea*

CMAP, École polytechnique, IP Paris

Électricité de France R&D

Palaiseau, France

andrei-tiberiu.pantea@polytechnique.edu

Aymeric Dieuleveut

CMAP, École polytechnique, IP Paris

Palaiseau, France

Matthieu Kowalski

Université Paris-Saclay, Inria, CNRS, LISN

Gif-sur-Yvette, France

Thomas Moreau

Université Paris-Saclay, Inria, CEA

Palaiseau, France

Abstract

Patch size is a central design choice in patch-based time-series foundation models, controlling temporal resolution, sequence length, and computational cost. We study how this choice interacts with transformer architecture through a controlled comparison of encoder-only and decoder-only forecasting models trained with the same data mixture and optimization budget. Across 97 GIFT-Eval tasks, encoder-only models consistently benefit from smaller patches, whereas decoder-only performance follows a U-shaped trend, with an intermediate patch size performing best in aggregate. Dataset-level results further show that the preferred decoder patch size increases with the forecasting horizon. For encoder-only models, increasing context length improves performance across patch sizes, although the gains diminish beyond a context length of 2048. Finally, training-compute and CPU-latency Pareto analyses reveal complementary regimes: decoder-only models provide efficient low-cost alternatives, while encoder-only models attain the highest overall accuracy. These results show that the choice of patch size and architecture should be made depending on the forecasting horizon and deployment constraints.

1 Introduction

Recent years have witnessed an increasing interest in Time Series Foundation Models (TSFMs), which promise to replace dataset-specific forecasting pipelines with pretrained models capable of transferring across domains, sampling frequencies, context lengths, and prediction horizons, and, in some cases, across time series tasks. The growing capabilities of TSFMs are reflected in their increasingly strong performance on the various general purpose time series forecasting benchmarks such as GIFT-Eval [Aksu et al., 2024], fev-bench [Shchur et al., 2025], TIME [Qiao et al., 2026].

Despite rapid empirical progress, the field has not converged towards a single architectural recipe. The current state-of-the-art spans a wide range of backbones, including the Tirex family [Auer et al., 2025] of recurrent models built around xLSTM layers and state-space-based FlowState [Graf et al.,

  • Equal contribution.

40th Conference on Neural Information Processing Systems (NeurIPS 2026). Workshop: TS-LIMITS.

Figure

Figure 1: Normalized MASE (left) and CRPS (right) against CPU latency for encoder-only and decoder-only models for various values of the patch size PP. The latency is computed over evaluations on the GIFT-Eval horizon lengths and averaged according to GIFT-Eval's proportions.

2026]. Significant diversity also exists in the class of patch-based Transformers [Vaswani et al., 2017]: PatchTST-FM [Wen et al., 2026] and Chronos-2 [Ansari et al., 2025] use encoder-only, full-attention backbones to predict masked future patches in parallel, while TimesFM [Das et al., 2024], Moirai 2.0 [Liu et al., 2025], and Toto [Cohen et al., 2025] employ causal decoder-only transformer layers for single or multiple next-patches forecasting.

This diversity among the state-of-the-art shows that benchmark performance alone has not, until now, identified a preferred architecture for TSFMs. Moreover, published models differ simultaneously in the pretraining corpus, scale, training objectives, and tokenization strategies, preventing the isolation of the effects due to each component in the architectures.

Among these design choices, patch size remains insufficiently studied. Existing ablations of patch sizes have been performed within individual model families and evaluated through aggregate forecasting error metrics on benchmarks, e.g. GIFT-Eval. For example, Nie et al. [2023] report relatively robust PatchTST performance across patch lengths, with 8 and 16 generally performing well, while Das et al. [2024] study input patch length in TimesFM and decouple input and output patching, using lengths 32 and 128, respectively. Notably, patch size has also been connected to the rank structure and compressibility of TSFM representations [Yu et al., 2026]. However, these analyses remain architecture-specific, and the effect of patch size has not been systematically compared between encoder-only and decoder-only TSFMs under matched training conditions.

To address this gap, we conduct a controlled study of patch size in encoder-only and decoder-only patch-transformer-based TSFMs. We train both architectures under matched conditions and, within each architecture, vary the patch size while maintaining the remaining experimental setup fixed. This allows us to isolate the effect of temporal tokenization and determine whether patch size interacts differently with full-attention and causal-attention backbones. Figure 1 previews the central accuracy-efficiency trade-off identified in our experiments. Decoder-only configurations dominate the low-latency regime, while encoder-only models extend the Pareto frontier towards higher forecasting accuracy. The position of each configuration changes substantially with patch size, motivating a joint analysis of tokenization, architecture, and computational cost. The paper is structured as follows:

  • In Section 2, we introduce the encoder-only and decoder-only architectures studied in this work and explain their particularities. Both follow closely state-of-the-art architectures for encoder-only and decoder-only TSFMs.

  • In Section 3, we begin with the experimental setup and then present the numerical results of our experiments. We provide per family fine grained evaluations on GIFT-Eval [Aksu et al., 2024] and aggregated performance-efficiency comparisons between encoder-only and decoder-only models.

  • In Section 4, we comment on the limitations and present the conclusions of our work.