From News to Forecast: Integrating Event Analysis in LLM-Based Time Series Forecasting with Reflection

Xinlei Wang, Maike Feng, Jing Qiu, Jinjin Gu, Junhua Zhao
2/3/2026

No official code found. Best implementation: ameliawong1996/From_News_to_Forecast (185 stars, MIT, last commit 2024-10-30).

Abstract

This paper introduces a novel approach that leverages Large Language Models (LLMs) and Generative Agents to enhance time series forecasting by reasoning across both text and time series data. With language as a medium, our method adaptively integrates social events into forecasting models, aligning news content with time series fluctuations to provide richer insights. Specifically, we utilize LLM-based agents to iteratively filter out irrelevant news and employ human-like reasoning to evaluate predictions. This enables the model to analyze complex events, such as unexpected incidents and shifts in social behavior, and continuously refine the selection logic of news and the robustness of the agent's output. By integrating selected news events with time series data, we fine-tune a pre-trained LLM to predict sequences of digits in time series. The results demonstrate significant improvements in forecasting accuracy, suggesting a potential paradigm shift in time series forecasting through the effective utilization of unstructured news data.

View on arXivView PDF

Code Implementations(1)

MIT

This repository is for the paper entitled: From News to Forecast: Integrating Event Analysis in LLM-based Time Series Forecasting with Reflection (NeurIPS 2024)

18541Shell, PythonOct 3, 20241 years agoMIT

Similar Papers

Cite this paper

@article{wang2026from,
  title  = {From News to Forecast: Integrating Event Analysis in LLM-Based Time Series Forecasting with Reflection},
  author = {Xinlei Wang and Maike Feng and Jing Qiu and Jinjin Gu and Junhua Zhao},
  year   = {2026},
  eprint = {2409.17515},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2409.17515},
  url    = {https://arxiv.org/abs/2409.17515},
  journal = {NEURIPS 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2409.17515.svg)](https://codeofpaper.com/paper/2409.17515)

Discussion