arXiv:2610.13676cs.LGOct 2026

Manuscript Offprint

arXiv:2610.13676

On the Encoding of Calendar Features in Covariate-Informed Time Series Foundation Models

Alexander Kreusel, Maximilian Beichter, Alexandra Nikoltchovska, Benjamin Schäfer, Ralf Mikut, Frederik Zahn, Veit Hagenmeyer

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

Abstract

Time series foundation models (TSFMs) increasingly offer covariate support, with calendar information being the most common type of categorical covariate in practice, as it is available for every point in time. However, how these features are encoded is largely treated as an implementation detail rather than as an object of study, despite encoding being one of the few design choices left for pretrained models at inference time. With the present study, we demonstrate that the way information is propagated into the model substantially affects forecast accuracy of TSFMs. Therefore, we systematically compare seven calendar encodings, including three conventional target-agnostic representations (ordinal, one-hot, and cyclic) and four target encodings, across four state-of-the-art TSFMs (Chronos-2, TabPFN-TS-3, TiRex-2, TimesFM-3) 1^{1} on nine datasets from multiple domains in a zero-shot rolling evaluation. The nine datasets are influenced by social activities, such as weekends and holidays, making calendar information particularly relevant for forecasting. We find that encoding choice affects forecast accuracy across all models, with MASE differences of up to 9.9 % on non-holidays and 83 % on holidays within a single model. Effectiveness and utilization vary substantially across models. Improvements are concentrated around holidays, where calendar information provides signals unavailable from target history, while some model encoding combinations also improve non-holiday forecasts. A SHAP-based attribution analysis locates the contribution of the covariates relative to the autoregressive component and explains why some model-encoding combinations degrade performance. Our findings suggest that current benchmarks for covariate-informed TSFMs can distort model comparisons by imposing fixed encoding strategies. Future benchmarks should therefore evaluate multiple encodings or provide model-specific encoding strategies aligned with each model's best practices.

1 Introduction

Accurate time series forecasts are essential for downstream decisions in energy, transport, retail, finance, and other domains, where forecast errors directly affect operational costs. While forecasting has traditionally relied on dataset-specific models that require sufficient historical data and computing power, time series foundation models (TSFMs) have emerged as a compelling alternative (Liang et al., 2024): pretrained on large, heterogeneous datasets, TSFMs can generalize learned temporal patterns to new forecasting tasks without further task-specific training, and have demonstrated impressive performance in benchmarks such as fev-bench (Shchur et al., 2026) or GIFT-Eval (Aksu et al., 2024). Given past observations of the target series, TSFMs can recognize the underlying structure from the context and implicitly activate the parts of

∗^{*}Equal contribution.

1^{1}Results of t0t_{0}-beta Meyer et al. (2026a) are in preparation.

the model that are best suited to it when similar series have been observed during pretraining. This zero-shot capability enables high scalability, allowing TSFMs to address forecasting tasks with limited historical data, while their input-driven predictions can improve robustness to distribution shifts. However, relying exclusively on target history has inherent limitations. It is most effective when the series exhibits strong autoregressive structure, but partially fails when the target series is affected by external factors such as public holidays, which recur at irregular intervals and can hardly be inferred from past observations alone. Recent work has therefore begun incorporating calendar information as categorical features into TSFMs with promising results, yet the impact of their encoding on forecast performance remains largely unexplored. This question is particularly relevant for pretrained models, since encoding is one of the few design choices available at inference time, and differences in pretraining strategies may lead to different requirements for representing additional categorical inputs. Furthermore, current benchmarks do not isolate covariate skill or test whether models use informative covariates while ignoring uninformative ones (Meyer et al., 2026a). Our contributions in the present study are as follows:

  • We systematically analyze seven different encoding strategies for calendar information as covariates across four state-of-the-art TSFMs, and evaluate their effect on forecast accuracy on nine diverse datasets from multiple domains, that are influenced by social activities such as weekends and holidays.

• We employ Shapley additive explanations (SHAP) to examine how models utilize the available covariates and to assess the role of calendar information in forecasting performance.

This study is structured as follows. Section 2 reviews related work on TSFMs with covariate integration, with a particular focus on categorical feature encoding. Section 3 presents the proposed methodology. Section 4 describes the experimental design, while Section 5 and 6 present and discuss the results. Section 7 concludes the work with a summary and outlook.

References (54)