EconPapers    
Economics at your fingertips  
 

Informed forecasting: Leveraging auxiliary knowledge to boost large language model performance on time series forecasting

Mohammadmahdi Ghasemloo and Alireza Moradi

PLOS ONE, 2026, vol. 21, issue 10, 1-20

Abstract: The rapid adoption of large language models (LLMs) has sparked growing interest in extending their capabilities beyond traditional natural language tasks, including applications in time series forecasting. This work explores the enhancement of time series forecasting with LLMs by incorporating time-dependent covariates. We propose a set of representative prompting strategies that span a wide range of formats while incorporating covariates, and then implement the proposed framework to evaluate performance across three real-world time series datasets in healthcare, service operations, and transportation. In our experiments, we use GPT-4o-mini and show that incorporating relevant covariate information through an appropriate prompt design can substantially improve forecasting accuracy, reducing prediction errors by up to 70% compared with the no-covariate baseline. Furthermore, the analysis reveals that both the choice of covariate and the prompt structure are critical, as poorly aligned configurations may degrade performance. Finally, we conduct sensitivity analyses to assess the effect of covariate integration in censored settings and quantify uncertainty, confirming that our method achieves statistically significant improvements over existing approaches. These findings underscore the potential of covariate integration in prompt design to bridge the gap between general-purpose LLMs and forecasting tasks.

Date: 2026
References: Add references at CitEc
Citations:

Downloads: (external link)
https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0358970 (text/html)
https://journals.plos.org/plosone/article/file?id= ... 58970&type=printable (application/pdf)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:plo:pone00:0358970

DOI: 10.1371/journal.pone.0358970

Access Statistics for this article

More articles in PLOS ONE from Public Library of Science
Bibliographic data for series maintained by plosone ().

 
Page updated 2026-10-04
Handle: RePEc:plo:pone00:0358970