NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Language in the Flow of Time: Time-Series-Paired Texts Weaved into a Unified Temporal Narrative

Zihao Li, Xiao Lin, Zhining Liu, Jiaru Zou, Ziwei Wu, Lecheng Zheng, Dongqi Fu, Yada Zhu, Hendrik F. Hamann, Hanghang Tong, Jingrui He · DOI

Introduction

Time series forecasting is a cornerstone of modern data science, with applications ranging from financial market prediction to climate modeling. While numerical data provides the primary signal, it is often accompanied by textual narratives—such as news articles, policy announcements, or social media updates—that offer crucial context. Despite the potential of this multimodal data, most state-of-the-art models focus exclusively on numerical variables.

Existing attempts to integrate text often treat it as a static global description, overlooking its temporal evolution, or rely on complex, custom-built architectures that are difficult to adapt. This paper introduces the Texts as Time Series (TaTS) framework, a "plug-and-play" approach that treats paired textual data as auxiliary numerical variables, allowing standard time series models to leverage temporal narratives without architectural modifications.

Methodology: The TaTS Framework

The core innovation of TaTS is its treatment of text as a time-varying signal aligned with numerical data. The framework follows a streamlined pipeline:

  1. Temporal Text Encoding: At each timestamp, associated text is passed through a pre-trained language model (e.g., GPT-2 or LLaMA) to generate high-dimensional embeddings.
  2. Dimensionality Mapping: A simple Multi-Layer Perceptron (MLP) projects these embeddings into a lower-dimensional space ($d_{mapped}$), ensuring they are compatible with numerical features.
  3. Multimodal Integration: The projected text features are concatenated directly with the numerical time series, effectively adding "extra channels" to the multivariate data.
  4. Model-Agnostic Forecasting: This unified sequence is fed into off-the-shelf time series models (e.g., iTransformer, PatchTST) for downstream tasks.
Comparison of the traditional 'Bag-of-words' approach versus the proposed 'Text as Time-Series' (TaTS) framework.

To justify this approach, the authors introduce TT-Wasserstein, a metric based on optimal transport that measures the alignment between the spectral (frequency) distributions of the text and the numerical data.

Chronological Textual Resonance (CTR)

A significant discovery of this work is the phenomenon of Chronological Textual Resonance (CTR). By applying Fourier Transforms to text embeddings, the researchers found that text often exhibits the same seasonal and periodic cycles as the numbers it describes. For example, monthly economic reports show a periodicity of 12, matching the monthly indicators they narrate. This resonance suggests that text behaves like a hidden variable of the system, capturing the evolving "positional characteristics" of the temporal process.

Experimental Results

The TaTS framework was evaluated across 18 real-world datasets spanning domains such as agriculture, finance, and social good.

Performance and Efficiency

  • Significant Accuracy Gains: TaTS consistently outperformed numerical-only baselines and existing multimodal libraries, achieving an average 14% improvement in forecasting accuracy.
  • Broad Compatibility: The framework was tested with 9 different time series models. In nearly every instance, adding TaTS improved performance without any changes to the underlying model architecture.
  • Computational Efficiency: The overhead is minimal, adding only ~1% more parameters and increasing training time by roughly 8%.
  • Robustness: The system maintains its effectiveness even when up to 25% of the text data is missing, proving its suitability for real-world applications.
Performance comparison of TaTS against numerical-only and bag-of-texts baselines across various time-series models.

Conclusion

The TaTS framework offers a simple yet powerful method for integrating textual narratives into time series forecasting. By uncovering Chronological Textual Resonance, the authors provide a new perspective on how different modalities can be unified in the flow of time. Future research may explore extending this "resonance" concept to other modalities like audio or images, further enriching the temporal narrative.

Summary updated

BibTeX
@inproceedings{li2026language,
  author = {Zihao Li and Xiao Lin and Zhining Liu and Jiaru Zou and Ziwei Wu and Lecheng Zheng and Dongqi Fu and Yada Zhu and Hendrik F. Hamann and Hanghang Tong and Jingrui He},
  title = {{Language in the Flow of Time: Time-Series-Paired Texts Weaved into a Unified Temporal Narrative}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=a1zBg9cBvt},
}
Figure