From Text to Forecasts: Bridging Modality Gap with Temporal Evolution Semantic Space

Lehui Li, Yuyao Wang, Jisheng Yan, Wei Zhang, Jinliang Deng, Haoliang Sun, Zhongyi Han, Yongshun Gong

TL;DR

This paper introduces TESS, a novel framework that bridges the gap between textual information and time-series forecasting. By distilling text into interpretable "temporal evolution primitives" and using a confidence-aware gating mechanism, TESS significantly improves forecasting accuracy, especially in non-stationary scenarios, achieving up to a 29% reduction in error.

What Problem Does This Paper Address?

Time-series forecasting is crucial across many domains, but real-world data often exhibits non-stationarity – its underlying statistical properties change over time due to external events like accidents or market shocks. While textual information (news, social media) can provide valuable context for these events, directly fusing it with numerical time-series data is challenging. This is because text is qualitative and implicit about temporal impacts, while forecasting models need explicit, quantitative signals. Existing methods often struggle to pinpoint relevant textual information, getting distracted by redundant words, and fail to translate the nuanced temporal dynamics described in text into usable numerical cues. This "modality gap" limits the effectiveness of multimodal forecasting.

Methods

TESS tackles the modality gap with a two-stage approach:

  1. Text to Temporal Semantic Primitives:
    • Temporal Evolution Semantic Space (TESS): This is the core innovation, acting as an intermediate bottleneck. It breaks down temporal dynamics into four interpretable, numerically grounded primitives:
  2. Distribution Shift: Captures changes in mean and volatility.
  3. Shape: Encodes the inter-patch trend sequence (e.g., ascend, descend, oscillate).
  4. Lag and Decay: Localizes the timing and persistence of impacts.
  5. LLM-based Primitive Classification: A frozen Large Language Model (LLM) is prompted to extract these discrete primitive values from the text.
  6. Confidence-Aware Gating: To handle potential LLM extraction errors, a gating mechanism estimates the confidence of each primitive. This confidence score is used to weight the primitive's influence, suppressing unreliable signals.
  7. Semantic Primitives-Conditioned Forecasting:
    • The gated semantic primitives are injected as exogenous conditions into a Transformer-based forecaster (specifically, PatchTST).
  8. This allows the forecaster to leverage both the historical numerical data and the semantically rich, yet numerically grounded, textual insights to generate predictions.

Datasets

The authors evaluate TESS on four real-world multimodal datasets:

  • Bitcoin: Daily Bitcoin price data.
  • FNSPID: Financial news and daily stock price data, exhibiting pronounced non-stationarity.
  • Electricity: Half-hourly electricity demand data.
  • Environment: Daily Air Quality Index (AQI) measurements.

These datasets consist of target time series and temporally aligned news text describing relevant events.

Key Insights and Ideas

  • The "Modality Gap" is Real and Significant: The paper provides strong empirical evidence that simply feeding raw text embeddings into forecasting models is suboptimal. Models struggle to identify relevant tokens and translate qualitative text into quantitative signals.
  • Interpretable Primitives are Key: Breaking down complex temporal dynamics into discrete, interpretable primitives (like "distribution shift" or "shape") provides a structured way to bridge the semantic gap.
  • Confidence Matters: LLMs, while powerful, can make errors. A confidence-aware gating mechanism is crucial for filtering out noisy or incorrect primitive extractions, significantly improving robustness.
  • Complementarity of Primitives: The study shows that all four proposed primitives (distribution shift, volatility, shape, lag) are important and work best when used together, highlighting their complementary nature in capturing temporal evolution.

Key Results

  • Significant Performance Gains: TESS achieved up to a 29% reduction in Mean Squared Error (MSE) compared to state-of-the-art unimodal and multimodal baselines across four datasets.
  • Superiority on Financial Data: The most substantial improvements were seen on financial datasets (FNSPID and Bitcoin), which are characterized by high non-stationarity and event-driven dynamics. For instance, on FNSPID, TESS improved over the strongest baseline by up to 20.0% in MSE.
  • Stable Performance on General Data: TESS also demonstrated competitive performance on general datasets like Electricity and Environment, indicating its broad applicability.
  • Faster and Smoother Training: Figure 6 shows that TESS exhibits faster and smoother convergence compared to direct text fusion methods.
  • Effective Gating: Figure 8(b) demonstrates that the gating mechanism effectively assigns higher weights to correctly extracted primitives and lower weights to incorrect ones.

Limitations and Future Work

  • Limited Primitives: The current semantic space is intentionally limited to four fixed primitives for verifiability and interpretability. This might miss signals like seasonality or periodicity, meaning the semantic sufficiency assumption is scoped rather than universal.
  • Dataset Size: Existing multimodal time-series datasets are relatively small, which can lead to some fluctuations in performance across different hardware setups, though TESS consistently outperforms baselines.
  • Future Directions:
    • Introduce more numerically verifiable primitives or learn task-specific primitives from data.
  • Incorporate extensions for seasonality, periodicity, or fine-grained causal effects.
  • Explore larger multimodal datasets.

Summary updated

BibTeX
@inproceedings{li2026from,
  author = {Lehui Li and Yuyao Wang and Jisheng Yan and Wei Zhang and Jinliang Deng and Haoliang Sun and Zhongyi Han and Yongshun Gong},
  title = {{From Text to Forecasts: Bridging Modality Gap with Temporal Evolution Semantic Space}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=S2Fd1GEyv6},
}
Figure