Overcoming the Modality Gap in Context-Aided Forecasting

Vincent Zhihao Zheng, Étienne Marcotte, Arjun Ashok, Andrew Williams, Lijun Sun, Alexandre Drouin, Valentina Zantedeschi · DOI

Abstract

Context-aided forecasting (CAF) holds promise for integrating domain knowledge and forward-looking information, enabling AI systems to surpass traditional statistical methods. However, recent empirical studies reveal a puzzling gap: multimodal models often fail to outperform their unimodal counterparts. We hypothesize that this underperformance stems from poor context quality in existing datasets, as verification is challenging. To address these limitations, we introduce a semi-synthetic data augmentation method that generates contexts both descriptive of temporal dynamics and verifiably complementary to numerical histories. This approach enables massive-scale dataset creation, resulting in CAF-7M, a corpus of 7 million context-augmented time series windows, including a rigorously verified test set. We demonstrate that semi-synthetic pre-training transfers effectively to real-world evaluation, and show clear evidence of context utilization. Our results suggest that dataset quality, rather than architectural limitations, has been the primary bottleneck in context-aided forecasting.

Introduction

In time series forecasting, the integration of textual "context"—such as news reports, weather alerts, or scheduled industrial events—represents a significant frontier. Ideally, a model predicting electricity demand should not only analyze historical usage but also "read" about an impending heatwave. This paradigm, known as Context-Aided Forecasting (CAF), aims to provide models with the forward-looking signals necessary to anticipate shifts that numerical history alone cannot predict.

Despite this potential, researchers have observed a persistent "modality gap": multimodal models frequently fail to outperform simple unimodal baselines that rely solely on numerical data. This paper argues that the bottleneck is not architectural but rather a matter of data quality. Most existing CAF datasets rely on web-scraped news that is often noisy, irrelevant, or poorly aligned with the specific time windows being forecasted. Without verifiably useful context during training, models fail to learn how to effectively leverage textual information.

The Semi-Synthetic Data Pipeline

To bridge the modality gap, we propose a "generate-then-verify" pipeline designed to create high-quality, verifiably useful context at scale. This process ensures that the textual modality provides a complementary signal to the numerical history.

The semi-synthetic data generation and verification pipeline.
  1. Sampling and Generation: We sample real-world numerical time series windows and utilize a Large Language Model (LLM), specifically Llama-3, to generate plausible scenarios. These scenarios are prompted to explain the transition from historical data to future values, creating a narrative link between the two.
  2. Verification: This is the critical innovation. To ensure the generated context is actually helpful, we use a strong "Direct Prompt" forecaster (such as GPT-5.2) to predict the future twice: once with the text and once without. We only retain contexts for our test set if the forecast accuracy improves (measured by a lower Continuous Ranked Probability Score) when the text is included.

DoubleCast Architecture

We introduce DoubleCast, an architecture designed to handle these dual modalities. Built upon the Chronos foundation model (a T5-based forecaster), DoubleCast incorporates a dedicated Qwen text encoder and a specialized "DualT5" decoder. This decoder utilizes additional cross-attention layers, allowing the model to simultaneously attend to both numerical and textual embeddings at every step of the forecasting process.

The CAF-7M Dataset

The result of our pipeline is CAF-7M, a massive dataset containing 7.4 million context-augmented windows across 11 diverse domains, including electricity, transport, finance, and weather. Drawn from 65 real-world datasets used in the Chronos benchmark, CAF-7M is significantly larger and more linguistically diverse than any previous CAF corpus, providing the scale necessary for robust multimodal training.

Key Results and Insights

Our evaluation demonstrates that high-quality data is the primary driver of performance in context-aided forecasting:

  • Performance Gains: On the CAF-7M test set, DoubleCast achieved a 71% win rate against the unimodal Chronos baseline.
  • Sim-to-Real Transfer: Surprisingly, pre-training on synthetic LLM-generated scenarios significantly improved performance on real-world events (evaluated on the CGTSF benchmark). This suggests the model learns a generalized relationship between textual descriptions and numerical dynamics.
  • Context Utilization: To confirm the model was truly "reading," we performed context-swapping experiments. When provided with incorrect context, performance plummeted, proving the model relies on the textual signal rather than just memorizing numerical patterns.
  • The "Hard" Window Advantage: Context proved most beneficial for "HARD" windows—instances where numerical history was a poor predictor of the future. In "EASY" windows, where the trend was predictable, the marginal benefit of text was lower.

Conclusion and Limitations

Our findings suggest that the "modality gap" in forecasting is largely a data problem. By providing models with verifiably useful context, we can unlock the true potential of multimodal forecasting. However, challenges remain. The use of a specific LLM for verification may introduce bias, and the model occasionally struggles with precise temporal localization (e.g., correctly timing a spike described in text). Future work will focus on increasing linguistic diversity and developing more efficient verification methods to further scale high-quality CAF data.

Summary updated

BibTeX
@inproceedings{zheng2026overcoming,
  author = {Vincent Zhihao Zheng and Étienne Marcotte and Arjun Ashok and Andrew Williams and Lijun Sun and Alexandre Drouin and Valentina Zantedeschi},
  title = {{Overcoming the Modality Gap in Context-Aided Forecasting}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=NOHlqCnYot},
}
Figure