Manuscript Offprint

arXiv:2611.05515

TSFM Meets LLM: Context as Covariates

Hemanth Ram, Sai Shankar Narasimhan, Shubhankar Agarwal, Sandeep Chinchali

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

Abstract

Textual information is ubiquitous in real-world time series datasets, appearing as news, reports, and annotations that hold key predictive signals not deducible from numerical history alone. Large Language Models (LLMs) interpret text but lack numerical precision, while Time Series Foundation Models (TSFMs) are quantitatively accurate but cannot reason about the effects of text. Moreover, the lack of large-scale paired multimodal datasets limits progress in bridging this gap. In this work, we address this challenge by providing a scalable approach for generating realistic multimodal datasets by annotating real-world time series with LLMs. Building on this, we propose Context as Covariates (CoCo), a forecasting framework in which an LLM distills its textual reasoning into numerically grounded forecast and confidence covariates that guide a TSFM backbone, thereby exploiting the strengths of both LLMs and TSFMs. We align the two models in stages, first fine-tuning the LLM via Group Relative Policy Optimization (GRPO) with a reward tied to covariate-induced improvement in forecasting performance, and then fine-tuning the TSFM on covariates generated by the aligned LLM. Our experiments show that models trained on our synthetic multimodal corpus generalize to real benchmarks spanning finance, economics, weather, traffic, and security. Notably, CoCo with Qwen3-4B-Instruct-2507 as the LLM and Chronos2 as the TSFM achieves up to 12% MAE improvement over state-of-the-art TSFMs and LLM forecasters, such as GPT-4o. Code¹, checkpoints, and the evaluation datasets² are publicly available.

1 Introduction

“Forecast Apple’s stock price if revenue from iPhone sales is 15% higher than the target”

“Forecast crude oil prices given the recent tariffs on the OPEC countries”

These contextual forecasting examples across domains show that the textual context is deeply intertwined with real-world time series and can provide signals about future changes that are not captured by past numerical values alone (check Figure 1). For example, in the finance domain, analyst notes, government policies, and even social media sentiments influence market dynamics, and are commonly used to predict stock price movements [1–4]. Similarly, in consumer markets, online reviews and social media discussions are used to forecast future product demand [5, 6].

Despite the availability of textual information, the state-of-the-art (SOTA) univariate (TimesFM [7]) and multivariate (Chronos2 [8]) time series foundation models (TSFMs) operate solely on unimodal numerical inputs. Figure 5 shows that incorporating text embeddings into SOTA multivariate

40th Conference on Neural Information Processing Systems (NeurIPS 2026).

Figure

Figure 1: Effective use of context is essential for accurate time series forecasting. In crude oil price forecasting, textual context (e.g., recession fears on March 9) aligns with sudden price shifts. Our approach, Context as Covariates (CoCo), leverages this context to produce accurate forecasts, while unimodal models such as Chronos2 fail to capture context-induced trends.

forecasting models does not necessarily yield multimodal gains, even when the text clearly contains useful information. Given the substantive progress in the understanding and reasoning capabilities of large language models (LLMs) [9, 10], we address the following key question in this work: How can we leverage LLMs to process textual annotations or context and improve the performance of TSFMs? Current efforts to build such context-aware TSFMs struggle with two major barriers:

  • Insufficient Multi-Domain Multimodal Training Data: Learning complex and lagged relationships between text and future numerical values requires large volumes of aligned multimodal data from different domains. However, existing multi-domain datasets such as TimeMMD [11] and Context-Is-Key [12] contain only a few thousand aligned samples. Large-scale datasets [13] are heavily restricted to a single sub-domain, limiting cross-domain generalization.

  • LLM-Centric Multimodal Forecasting approaches neglect the predictive power of TSFMs: Numerous prior works [14–20] initialize time series as tokens and rely primarily on LLM prediction. While this enables the use of textual context, it fails to leverage the forecasting inductive biases and uncertainty modeling strengths of dedicated TSFMs.

Motivated by these gaps, we make three contributions.

  • Scalable Synthetic Multimodal Data. We introduce a pipeline that annotates real-world time series with LLM-generated text, producing large-scale, text-aligned datasets with varied lagged correlations. We empirically show that augmenting scarce and often domain-restricted real multimodal data with synthetic annotations yields strong zero-shot forecasting performance.

  • CoCo Architecture and Staged Fine-tuning. We propose CoCo (Context as Covariates), where an LLM distills text into forecast and confidence covariates that guide a Chronos2 backbone. The LLM is fine-tuned via Group Relative Policy Optimization (GRPO) using a reward tied to the forecasting performance, after which Chronos2 is fine-tuned with the LLM-generated covariates.

  • Multimodal Forecasting Gains. CoCo outperforms SOTA TSFMs and LLMs across 30 datasets and 95 settings (Figure 5) spanning finance, weather, macroeconomics, traffic, and security domains, achieving up to 70% improvement over GPT-4o in traffic forecasting (Figure 2).

References (80)