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

KALFormer: Knowledge-augmented attention learning for long-term time series forecasting with transformer

Author

Listed:
  • Xing Dong
  • Qianwei Yang
  • Wenbo Cheng
  • Yun Zhang

Abstract

Time series forecasting remains a fundamental yet challenging task due to its inherent non-linear dynamics, inter-variable dependencies, and long-term temporal correlations. Existing approaches often struggle to jointly capture local temporal continuity and global contextual relationships, particularly under complex external influences. To overcome these limitations, we propose KALFormer, a knowledge-augmented attention learning transformer framework that integrates sequential modeling with external information fusion. KALFormer enhances spatiotemporal representation and contextual reasoning by integrating Long Short-Term Memory (LSTM) encoders, Transformer-based self-attention mechanisms, and knowledge-aware modules. Extensive experiments on six public benchmark datasets demonstrate that KALFormer achieves an average improvement of 8.4% in MSE and MAE compared with representative baseline models, highlighting its robustness, interpretability, and reliability for long-term time series forecasting. The source code is available at https://github.com/dxpython/KALFormer.

Suggested Citation

  • Xing Dong & Qianwei Yang & Wenbo Cheng & Yun Zhang, 2026. "KALFormer: Knowledge-augmented attention learning for long-term time series forecasting with transformer," PLOS ONE, Public Library of Science, vol. 21(1), pages 1-17, January.
  • Handle: RePEc:plo:pone00:0338052
    DOI: 10.1371/journal.pone.0338052
    as

    Download full text from publisher

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

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

    File URL: https://libkey.io/10.1371/journal.pone.0338052?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
    ---><---

    References listed on IDEAS

    as
    1. Shari Baets & Nigel Harvey, 2023. "Incorporating External Factors into Time Series Forecasts," International Series in Operations Research & Management Science, in: Matthias Seifert (ed.), Judgment in Predictive Analytics, chapter 0, pages 265-287, Springer.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Chacon, Alvaro & Kaufmann, Esther, 2025. "An overview of the effects of algorithm use on judgmental biases affecting forecasting," International Journal of Forecasting, Elsevier, vol. 41(2), pages 424-439.
    2. Harvey, Nigel & De Baets, Shari, 2025. "Factors affecting preferences between judgmental and algorithmic forecasts: Feedback, guidance and labeling effects," International Journal of Forecasting, Elsevier, vol. 41(2), pages 532-553.
    3. Fildes, Robert & Goodwin, Paul & De Baets, Shari, 2025. "Forecast value added in demand planning," International Journal of Forecasting, Elsevier, vol. 41(2), pages 649-669.

    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:0338052. 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.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with 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.