IDEAS home Printed from https://ideas.repec.org/a/plo/pone00/0358970.html

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

Author

Listed:
  • Mohammadmahdi Ghasemloo
  • Alireza Moradi

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.

Suggested Citation

  • Mohammadmahdi Ghasemloo & Alireza Moradi, 2026. "Informed forecasting: Leveraging auxiliary knowledge to boost large language model performance on time series forecasting," PLOS ONE, Public Library of Science, vol. 21(10), pages 1-20, October.
  • Handle: RePEc:plo:pone00:0358970
    DOI: 10.1371/journal.pone.0358970
    as

    Download full text from publisher

    File URL: https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0358970
    Download Restriction: no

    File URL: https://journals.plos.org/plosone/article/file?id=10.1371/journal.pone.0358970&type=printable
    Download Restriction: no

    File URL: https://libkey.io/10.1371/journal.pone.0358970?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    More about this item

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:plo:pone00:0358970. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: plosone (email available below). General contact details of provider: https://journals.plos.org/plosone/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.