Papers › From News to Forecast: Integrating Event Analysis in LLM-Based Time Series Forecasting...

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

26 Sep 2024arXiv:2409.17515archive 2025-07-28

Xinlei Wang, Maike Feng, Jing Qiu, Jinjin Gu, Junhua Zhao

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.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2409.17515")

Code

Syntology Ran 8 of 12 code samples harvested from 2 repositories linked to this paper; 4 have no recorded run. Of those that ran: 1 ran · our draft was wrong; 7 ran with no contract checked.

By repository: official repository: 8 samples from 1 repository, 7 ran; found in paper text by Syntology: 4 samples from 1 repository, 1 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

ameliawong1996/From_News_to_Forecast officialmentioned in papermentioned on GitHubMIT report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

12 samples harvested; 8 ran; 0 honoured the contract we drafted; 4 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · our draft was wrong
7ran
4unverified

Licence: 4 of the 12 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

categorize_state ameliawong1996/From_News_to_Forecast/Agent/code/AU_LF_dataload_final.py official repository ran fingerprinted MIT (permissive) · 8c62102c18d2d432 · report
check_weekday_or_weekend ameliawong1996/From_News_to_Forecast/Agent/code/AU_LF_dataload_final.py official repository ran MIT (permissive) · 85901905d82ce6f9 · report
extract_numeric ameliawong1996/From_News_to_Forecast/accuracy-ts.py official repository ran fingerprinted MIT (permissive) · ffdca11a645038ed · report
process_news_section ameliawong1996/From_News_to_Forecast/Agent/code/justify_news_format_final.py official repository ran MIT (permissive) · a7d7c1ad819ea986 · report
replace_in_text ameliawong1996/From_News_to_Forecast/Agent/code/justify_news_format_final.py official repository ran fingerprinted MIT (permissive) · f1f0516a780f8f51 · report
split_list_by_markers ameliawong1996/From_News_to_Forecast/accuracy-ts.py official repository ran MIT (permissive) · 629d7705ab5051c9 · report
split_list_by_number ameliawong1996/From_News_to_Forecast/accuracy-ts.py official repository ran MIT (permissive) · 7393024cf8a2a0a3 · report
download_model_retry ameliawong1996/From_News_to_Forecast/model_download.py official repository unverified MIT (permissive) · 29e31466888b16c0 · report
l2norm DAMO-DI-ML/NeurIPS2023-One-Fits-All/Few-shot_Learning/models/PatchTST.py found in paper text by Syntology ran · our draft was wrong fingerprinted no licence file found · pointer only · 3eb58dae620046d3 · report
convert_metrics_per_batch_to_per_sample DAMO-DI-ML/NeurIPS2023-One-Fits-All/Classification/src/running.py found in paper text by Syntology unverified no licence file found · pointer only · f79cf1a40c083fee · report
divide_no_nan DAMO-DI-ML/NeurIPS2023-One-Fits-All/Anomaly_Detection/utils/losses.py found in paper text by Syntology unverified no licence file found · pointer only · bdc787c888ab83a2 · report
get_optimizer DAMO-DI-ML/NeurIPS2023-One-Fits-All/Classification/src/optimizers.py found in paper text by Syntology unverified no licence file found · pointer only · b8f656bc0425d825 · report

Tasks

Time SeriesTime Series Forecasting

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections