[Paper Review] From News to Forecast: Integrating Event Analysis in LLM-Based Time Series Forecasting with Reflection
The paper proposes an iterative, LLM-based framework that filters and incorporates unstructured news and supplementary information into time series forecasting, fine-tuning an LLaMa2 model, and using reasoning and evaluation agents to improve predictive accuracy across domains.
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.
Motivation & Objective
- Motivate the integration of unstructured news and contextual information into time series forecasting to capture external shocks and social events.
- Develop an end-to-end framework that uses LLMs to filter relevant news, pair it with time series data, and fine-tune forecasting models.
- Demonstrate the benefits and limitations of news-informed forecasting across multiple domains (electricity, exchange rates, traffic, Bitcoin).
- Propose an iterative, agent-based workflow with reasoning and evaluation components to refine news selection and forecasting quality.
Proposed method
- Treat time series forecasting as conditional next-token generation in LLMs, enabling integration of news and supplementary information through prompts.
- Fine-tune LLMs (LoRA) on historical time series paired with news and supplementary prompts to predict conditional probabilities P(x_{t+1}|x_{0:t}, e_{0:u}).
- Use LLM-based reasoning agents to filter and select relevant news with few-shot prompting and chain-of-thought prompting, producing structured outputs (JSON) for data pairing.
- Introduce an evaluation agent that analyzes prediction errors to update the news-filtering logic across iterative training rounds.
- Implement an iterative pipeline where a news-reasoning agent informs data pairing, followed by model fine-tuning and an evaluation agent that refines the logic across iterations.
- Assemble a dataset spanning time series (electricity, exchange, Bitcoin, traffic), news (GDELT and real-time sources), and supplementary information (weather, calendar, economic indicators).
Experimental results
Research questions
- RQ1Can unstructured news and supplementary information improve time series forecasting when integrated via prompting and fine-tuned LLMs?
- RQ2How can an iterative, agent-based framework automatically filter relevant news and refine forecasting accuracy through feedback loops?
- RQ3What are the relative impacts of different prompt designs and news filtering strategies on forecast accuracy across domains?
- RQ4What are the limitations and domain-specific constraints (e.g., localization of news for traffic) when using news-informed forecasting?
- RQ5Does an evaluation agent that reflects on prediction errors further enhance news selection and forecast quality?
Key findings
- Incorporating properly filtered news and supplementary information significantly improves forecast accuracy across electricity, exchange, Bitcoin, and traffic domains.
- Unfiltered or poorly selected news can degrade performance due to token overload and irrelevant signals, highlighting the need for intelligent filtering.
- Iterative refinement via an evaluation agent yields progressively better forecasts by identifying missed news and updating the filtering logic.
- Compared to baseline forecasting methods, the news-informed approach demonstrates substantial improvements on several metrics in several domains, with some domain-specific limitations.
- The approach preserves interpretability by avoiding normalization, maintaining alignment with original data scales in comparisons.
- The method shows particular strength in energy-related demand patterns where external events have strong impacts.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.