arXiv:2610.17794cs.LGOct 2026

Manuscript Offprint

arXiv:2610.17794

GIFT-Eval-CTX: A Benchmark For Contextual Forecasting Model Evaluation

Xu Liu, Hanshu Yan, Taha Aksu, Quang Pham, Zhongzheng Qiao, Jun Hao Liew, Silvio Savarese, Doyen Sahoo, Junnan Li

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

ABSTRACT

Contextual forecasting seeks to improve time series forecasting by incorporating forward-looking information, such as planned events, external conditions, and expert expectations. However, reliable evaluation remains difficult: existing benchmarks often have limited domain coverage, lack standardized history–future splits, or provide text that is not guaranteed to inform the future. We introduce GIFT-Eval-CTX, a benchmark that isolates whether forecasting methods can translate verified future information into accurate numerical trajectories. Built upon GIFT-Eval, GIFT-Eval-CTX contains 10,000 instances across 20 datasets. Each instance provides structured effects derived from the realized future: Macro effects describe horizon-wide behavior, while Micro effects specify localized changes. We construct these annotations with an agentic pipeline combining LLM-based discovery and deterministic code validation. We benchmark TSFMs, frontier LLMs, and tool-using agentic systems. The results show that structured effects reduce aggregate relative MASE by 40.7% for GPT-5.6 Sol and 29.6% for Claude Opus 4.8 relative to history-only prompting. The evaluated MoiraiAgent system achieves the best overall result. We further analyze the contributions of structured effects and agentic systems to performance, and identify opportunities for future research.

1 INTRODUCTION

Time series foundation models (TSFMs) have become strong zero-shot forecasters (Das et al., 2024; Ansari et al., 2025; Liu et al., 2025a; Khwaja et al., 2026), but their standard interfaces are designed primarily for numerical histories and predefined covariates. Consequently, they are not naturally equipped to incorporate open-ended forward-looking information, such as an energy operator expecting unusually high electricity demand during a heatwave, a transportation system facing a planned road closure, or a domain expert specifying how demand may evolve under a future scenario. Contextual forecasting addresses this limitation by integrating textual context with numerical history to guide forecasts (Xie et al., 2024; Liu et al., 2024b; Wang et al., 2025; Guan et al., 2026a). This requires two complementary capabilities: understanding what diverse, domain-specific context implies about the future and translating those implications into accurate numerical trajectories.

Developing and comparing contextual forecasting systems requires reliable benchmarks that pair diverse time series with relevant forward-looking context under standardized evaluation protocols. However, existing contextual forecasting benchmarks fall short of these requirements in several ways (Xu et al., 2025b; Kong et al., 2025; Xu et al., 2025a; Yin et al., 2026; Lee et al., 2026). First, collecting aligned text and time series data is difficult, resulting in limited domain diversity. Second, many datasets lack standardized history–future splits (e.g., providing only several years of financial news and related stock prices). Researchers must construct these splits themselves, reducing comparability across studies. Third, the accompanying text is not guaranteed to contain information about future events or conditions, making it unclear whether the benchmark truly evaluates a model's ability to use forward-looking context.

In this work, rather than treating contextual forecasting as a single end-to-end task, we distinguish two capabilities it requires: contextual understanding and numerical forecasting. We treat contextual understanding as an upstream capability handled by frontier LLMs, whose knowledge and reasoning

†^{\dagger}Corresponding authors. Emails: hanshu.yan@salesforce.com, junnan.li@salesforce.com

(a) Annotation Pipeline

Figure

(b) Benchmark Instance Example

(c) Paired Evaluation

Figure 1: Illustration of agentic annotation, an annotated instance, and paired evaluation.

continue to improve rapidly, and focus on the evaluation of the second capability: generating accurate numerical forecasts from verified future information. To this end, we introduce GIFT-Eval-CTX, a contextual extension of the GIFT-Eval benchmark (Aksu et al., 2024). GIFT-Eval offers broad domain diversity and standardized training–test and history–future splits, addressing the first two limitations above. To ensure that every context is informative about its corresponding future, we derive structured context from the realized future during benchmark construction, analogous to supplying a verified scenario or expert outlook. GIFT-Eval-CTX therefore does not test whether a model can extract or validate future information from raw sources, an upstream task that we believe can be handled by domain experts and increasingly capable frontier LLMs. Instead, it evaluates whether a model can convert provided future information into an accurate numerical trajectory.

To make the context portable across domains and less dependent on the language style of any particular LLM, we represent it as a compact key-value schema called structured effects, rather than as free-form text. Structured effects have two compositional levels. Macro effects describe horizon-wide trend, seasonality, and value range. Micro effects describe localized excursions, mean shifts, and seasonal changes, together with their temporal boundaries and scale. We then propose an agentic labeling pipeline to generate these structured effects. Concretely, we first identify GIFT-Eval test windows on which state-of-the-art TSFMs cannot solve easily, i.e., where future context is needed. Then a Macro Agent and a Micro Agent inspect the numerical evidence independently: the former summarizes global future structure, while the latter identifies localized mechanisms that are not adequately captured by the TSFMs' forecast. Deterministic validators enforce the schema, verify numerical evidence, and compute quantitative fields, after which a Joint Critic Agent reviews all proposed labels and commits a final annotation.

We benchmark three classes of forecasting methods on GIFT-Eval-CTX: TSFMs, frontier LLMs, and agentic systems that augment LLMs with tool use. The results show that LLM forecasts improve substantially when given structured effects: aggregate relative MASE decreases by 40.7% for GPT-5.6 Sol and 29.6% for Claude Opus 4.8 relative to history-only prompting. These improvements demonstrate that the structured effects are informative and actionable. Moreover, MoiraiAgent, which combines a frontier LLM with code-execution tools and a TSFM forecasting service, achieves the best overall performance. We also analyze how Macro and Micro effects contribute across forecast horizons, Micro families, and regions inside and outside labeled Micro intervals. Finally, we examine the sources of MoiraiAgent's gains, showing how its forecasting and code-execution tools improve performance, and identify limitations of code-based forecast editing.

References (41)