ServiceNow IA recherche

Beyond Naïve Prompting: Strategies for Improved Zero-shot Context-aided Forecasting with LLMs

Résumé

Forecasting in real-world settings requires models to integrate not only historical data but also relevant contextual information, often available in textual form. While recent work has shown that large language models (LLMs) can be effective context-aided forecasters via naïve direct prompting, their full potential remains underexplored. We address this gap with 4 strategies, providing new insights into the zero-shot capabilities of LLMs in this setting. ReDP improves interpretability by eliciting explicit reasoning traces, allowing us to assess the model’s reasoning over the context independently from its forecast accuracy. CorDP leverages LLMs solely to refine existing forecasts with context, enhancing their applicability in real-world forecasting pipelines. IC-DP proposes embedding historical examples of context-aided forecasting tasks in the prompt, substantially improving accuracy even for the largest models. Finally, RouteDP optimizes resource efficiency by using LLMs to estimate task difficulty, and routing the most challenging tasks to larger models. Evaluated on different kinds of context-aided forecasting tasks from the CiK benchmark, our strategies demonstrate distinct benefits over naïve prompting across LLMs of different sizes and families. These results open the door to further simple yet effective improvements in LLM-based context-aided forecasting.

Publication
Workshop at the Neural Information Processing Systems (NeurIPS)
Arjun Ashok
Arjun Ashok
Visiting Researcher

Visiting Researcher at Frontier AI Research located at Montreal, QC, Canada.

Andrew Williams
Andrew Williams
Visiting Researcher

Visiting Researcher at Frontier AI Research located at Montreal, QC, Canada.

Vincent Zhihao Zheng
Vincent Zhihao Zheng
Visiting Researcher

Visiting Researcher at Frontier AI Research located at Montreal, QC, Canada.

Nicolas Chapados
Nicolas Chapados
VP of Research

VP of Research at AI Research Management located at Montreal, QC, Canada.

Étienne Marcotte
Étienne Marcotte
Applied Research Scientist

Applied Research Scientist at Frontier AI Research located at Montreal, QC, Canada.

Valentina Zantedeschi
Valentina Zantedeschi
Research Scientist

Research Scientist at Frontier AI Research located at Montreal, QC, Canada.

Alexandre Drouin
Alexandre Drouin
Head of AI Frontier Research​

Head of AI Frontier Research​ at Frontier AI Research located at Montreal, QC, Canada.