[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-439985-105":3,"detail-sidebar-cat-0-en-105":81,"doc-detail-439985-en":130,"doc-similar-439985":163},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":74,"head_meta":76,"extra_data":78,"updated_unix":80},105,"en","kalformer-knowledge-augmented-attention-learning-for-long-term-time-series-forecasting-with-transformer","KALFormer - Knowledge-augmented attention learning for long-term time series forecasting with transformer","","Time series forecasting remains a fundamental yet challenging task due to non-linear dynamics, inter-variable dependencies, and long-term temporal correlations. Existing approaches often fail to jointly capture local temporal continuity and global contextual relationships, especially under complex external influences. KALFormer introduces a knowledge-augmented attention learning transformer framework that fuses sequential modeling with external information using LSTM encoders, Transformer self-attention, and knowledge-aware modules, improving performance on six public benchmarks.",{"@graph":14,"@context":73},[15,34,56],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/research-report/","Research & Report",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/kalformer-knowledge-augmented-attention-learning-for-long-term-time-series-forecasting-with-transformer/439985/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/kalformer-knowledge-augmented-attention-learning-for-long-term-time-series-forecasting-with-transformer/439985.png","ImageObject",300,407,{"name":42,"@type":43},"Elsa","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-29","2026-09-29",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",9,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"Why is long-term time series forecasting difficult?","Question",{"text":63,"@type":64},"Long-term forecasting is hindered by non-linear dynamics, inter-variable dependencies, and long-range temporal correlations that become harder to capture as sequence length grows.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"What is KALFormer and what components does it use?",{"text":68,"@type":64},"KALFormer is a knowledge-augmented attention learning transformer framework that integrates LSTM encoders, Transformer-based multi-head self-attention, and knowledge-aware modules (including KAN) to fuse external information.",{"name":70,"@type":61,"acceptedAnswer":71},"How does KALFormer perform compared with baseline models?",{"text":72,"@type":64},"Experiments on six public benchmark datasets show KALFormer achieves an average improvement of 8.4% in MSE and MAE versus representative baseline models.","https://schema.org",{"og:url":32,"og:type":75,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":77,"canonical":32},"index,follow",{"doc_id":79,"site_id":7},439985,1790740733,{"code":4,"msg":82,"data":83},"success",[84,88,92,96,101,106,111,115,119,122,126],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":85,"show_sort_weight":86,"slug":87},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":89,"show_sort_weight":90,"slug":91},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":93,"show_sort_weight":94,"slug":95},"Exam",70,"exam",{"id":97,"doc_module":4,"doc_module_name":25,"category_name":98,"show_sort_weight":99,"slug":100},5,"Comic",60,"comic",{"id":102,"doc_module":4,"doc_module_name":25,"category_name":103,"show_sort_weight":104,"slug":105},6,"Technology",50,"technology",{"id":107,"doc_module":4,"doc_module_name":25,"category_name":108,"show_sort_weight":109,"slug":110},7,"Healthcare",40,"healthcare",{"id":112,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":113,"slug":114},8,30,"research-report",{"id":55,"doc_module":4,"doc_module_name":25,"category_name":116,"show_sort_weight":117,"slug":118},"Religion & Spirituality",20,"religion-spirituality",{"id":117,"doc_module":4,"doc_module_name":25,"category_name":120,"show_sort_weight":117,"slug":121},"World Cup","world-cup",{"id":123,"doc_module":4,"doc_module_name":25,"category_name":124,"show_sort_weight":123,"slug":125},10,"Lifestyle","lifestyle",{"id":127,"doc_module":4,"doc_module_name":25,"category_name":128,"show_sort_weight":97,"slug":129},19,"General","general",{"code":4,"msg":82,"data":131},{"doc_id":79,"user_id":132,"nickname":42,"user_avatar":133,"doc_module":4,"category_id":112,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":139,"language":140,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":12,"update_tm":144,"read_time":145,"preview_page_count":33,"preview_urls":146},137455077381,"https://ap-avatar.wpscdn.com/davatar_994ba38a5ba835b3df7d355c54d3ed8d","OPEN ACCESS  \nCitation: Dong X, Yang Q, Cheng W, Zhang Y (2026) KALFormer:  \nKnowledge-augmented attention learning for long-term time series forecasting with transformer. PLoS One 21(1): e0338052 . [https://doi.org/10.1371/journal.pone](https://doi.org/10.1371/journal.pone). 0338052  \nEditor: Rafael Duarte Coelho dos Santos, Instituto Nacional de Pesquisas Espaciais, BRAZIL  \nReceived: July 24, 2025  \nAccepted: November 17, 2025  \nPublished: January 5, 2026  \nPeer Review History: PLOS recognizes the benefits of transparency in the peer review process; therefore, we enable the publication of all of the content of peer review and author responses alongside final, published articles. The editorial history of this article is available here:  \n[https://doi.org/10.1371/journal.pone](https://doi.org/10.1371/journal.pone). 0338052  \nCopyright: © 2026 Dong et al. This is an open access article distributed under the terms of the Creative Commons Attribution License, which permits  \nRESEARCH ARTICLE  \nKALFormer: Knowledge-augmented attention learning for long-term time series forecasting with transformer  \nXing Dong1 , Qianwei Yang2 , Wenbo Cheng3 , Yun Zhang3 *  \n1 School of Basic Medical Sciences, Guizhou University of Traditional Chinese Medicine, Guiyang, China, 2 National Engineering Laboratory for Big Data System Computing Technology, Shenzhen University, Shenzhen, China, 3 School of Information Engineering, Guizhou University of Traditional Chinese Medicine, Guiyang, China  \n* [zhangyun016@gzy.edu.cn](zhangyun016@gzy.edu.cn)  \nAbstract  \nTime 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 knowledgeaugmented 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:](https:)//[github.com/dxpython/KALFormer](github.com/dxpython/KALFormer).  \n1 Introduction  \nTime series forecasting is a critical task in a wide range of fields [1], where accurate prediction of future trends is essential. The complexity of time series data [2] and the challenge of capturing long-range dependencies [3] are fundamental difficulties that have persisted in this domain. As the length of sequences grows, the contextual relationships between distant time steps become increasingly intricate. Traditional models, such as Long Short-Term Memory (LSTM) [22–24] and Recurrent Neural Networks (RNN) [4], often exhibit limitations in capturing these distant dependencies, leading to reduced forecasting accuracy, particularly when dealing with long-range patterns.  \nPLOS One  [https://doi.org/10.1371/journal.pone.0338052](https://doi.org/10.1371/journal.pone.0338052) January 5, 2026 1/ 17  \nunrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.  \nData availability statement: Data download:  \n[https://doi.org/10.5281/zenodo.17068599](https://doi.org/10.5281/zenodo.17068599) .  \nFunding: This work was financially supported by the Undergraduate Teaching Reform Project (2024-26) from Guizhou University of Traditional Chinese Medicine, the Doctoral Start-up Fund (2019-76) from Guizhou University of Tradition","cbCaijq56hzQYAWV","https://ap.wps.com/l/cbCaijq56hzQYAWV","pdf",6989969,17,"English","# Abstract\n# 1 Introduction","[{\"question\":\"Why is long-term time series forecasting difficult?\",\"answer\":\"Long-term forecasting is hindered by non-linear dynamics, inter-variable dependencies, and long-range temporal correlations that become harder to capture as sequence length grows.\"},{\"question\":\"What is KALFormer and what components does it use?\",\"answer\":\"KALFormer is a knowledge-augmented attention learning transformer framework that integrates LSTM encoders, Transformer-based multi-head self-attention, and knowledge-aware modules (including KAN) to fuse external information.\"},{\"question\":\"How does KALFormer perform compared with baseline models?\",\"answer\":\"Experiments on six public benchmark datasets show KALFormer achieves an average improvement of 8.4% in MSE and MAE versus representative baseline models.\"}]","KALFormer - Knowledge-augmented attention learning for long-term time series forecasting with transformer | PDF",1790690693,43,[147,151,155,159],{"page_no":22,"url":148,"width":149,"height":150},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/2e638c2f714dc9765d2a3b5b1d0a6d2a.webp",983,1272,{"page_no":26,"url":152,"width":153,"height":154},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/ab40ca393b796ed01cd1dcbb38bc089c.webp",982,1270,{"page_no":30,"url":156,"width":157,"height":158},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/d63494bacfd110091efeef2e23de4048.webp",981,1269,{"page_no":33,"url":160,"width":161,"height":162},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/3ee6a09ac1328cc318ffc09df7ff5b09.webp",980,1268,{"list":164,"token":11},[165,171,178,184,190,197,204,211,218,225],{"doc_id":166,"doc_title":167,"file_type":137,"home_preview_img_url":168,"slug":169,"view_count":55,"category_name":29,"create_tm":170},405959,"Leveraging similarity and community-based features for link prediction in temporal social networks using attention-enabled LSTM","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229920659685/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109119&Signature=P83KkEfk6xcPYt4xNaZZSjuTqic%3D","leveraging-similarity-and-community-based-features-for-link-prediction-in-temporal-social-networks-using-attention-enabled-lstm",1790562808,{"doc_id":172,"doc_title":173,"file_type":137,"home_preview_img_url":174,"slug":175,"view_count":176,"category_name":29,"create_tm":177},406078,"Hydraulic support pressure prediction via deep learning with multilevel temporal feature integration - Research paper","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229920431254/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109119&Signature=FVLaKvxdylYjBfICMKbinl2M9u4%3D","hydraulic-support-pressure-prediction-via-deep-learning-with-multilevel-temporal-feature-integration-research-paper",14,1790563459,{"doc_id":179,"doc_title":180,"file_type":137,"home_preview_img_url":181,"slug":182,"view_count":123,"category_name":29,"create_tm":183},328135,"STAGformer - A Spatio-temporal Agent Graph Transformer for Micro Mobility Demand Forecasting","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229909365548/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109119&Signature=eGoiUdGlx%2BmMJSES2nKbfd2lp5c%3D","stagformer-a-spatio-temporal-agent-graph-transformer-for-micro-mobility-demand-forecasting",1789978723,{"doc_id":185,"doc_title":186,"file_type":137,"home_preview_img_url":187,"slug":188,"view_count":176,"category_name":29,"create_tm":189},327470,"Self-Gating Attention for Efficient Time Series Forecasting","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229909324828/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109119&Signature=COG7UIzqz5bE98Zooahui79rhkI%3D","self-gating-attention-for-efficient-time-series-forecasting",1789977270,{"doc_id":191,"doc_title":192,"file_type":137,"home_preview_img_url":193,"slug":194,"view_count":195,"category_name":29,"create_tm":196},31749,"AraSER-Fusion: Multimodal Arabic Speech Emotion Recognition with Audio–Text Joint Embeddings","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229748474335/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109119&Signature=4IBRVqFbOmdXrKahhKHFGoqv7as%3D","araser-fusion-multimodal-arabic-speech-emotion-recognition-with-audiotext-joint-embeddings",46,1780088473,{"doc_id":198,"doc_title":199,"file_type":137,"home_preview_img_url":200,"slug":201,"view_count":202,"category_name":29,"create_tm":203},85938,"EvidentialRAG Quantifying and Mitigating Information Conflict in Multi Source Retrieval Augmented Generation via Evidential Deep Learning","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809366614/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109119&Signature=NFQLCFA8poJERvcvThOzws5ywF4%3D","evidentialrag-quantifying-and-mitigating-information-conflict-in-multi-source-retrieval-augmented-generation-via-evidential-deep-learning",37,1784207261,{"doc_id":205,"doc_title":206,"file_type":137,"home_preview_img_url":207,"slug":208,"view_count":209,"category_name":29,"create_tm":210},81739,"AGE: Adaptive-masking for Graph Embedding in Graph Retrieval-Augmented Generation","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229808476288/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109119&Signature=28uuoe8mXsQyNUkMWhm5UiqSMHI%3D","age-adaptive-masking-for-graph-embedding-in-graph-retrieval-augmented-generation",26,1784175754,{"doc_id":212,"doc_title":213,"file_type":137,"home_preview_img_url":214,"slug":215,"view_count":216,"category_name":29,"create_tm":217},127027,"Deep Learning and Machine Learning Models for High-Frequency Stock Price Prediction and Inference","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229839521714/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109119&Signature=Ls42XV9UZkbFJ0NIZR0tFLGyO9M%3D","deep-learning-and-machine-learning-models-for-high-frequency-stock-price-prediction-and-inference",24,1785936411,{"doc_id":219,"doc_title":220,"file_type":137,"home_preview_img_url":221,"slug":222,"view_count":223,"category_name":29,"create_tm":224},327599,"Harmonic-Aware Transformer for Real-Time Catheter Localization in Interventional Procedures of Magnetic Particle Imaging","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229909335155/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109119&Signature=NkSiiC24ywRu0a5LSWNs1VvmKl8%3D","harmonic-aware-transformer-for-real-time-catheter-localization-in-interventional-procedures-of-magnetic-particle-imaging",13,1789977632,{"doc_id":226,"doc_title":227,"file_type":137,"home_preview_img_url":228,"slug":229,"view_count":55,"category_name":29,"create_tm":230},492609,"SURGELLM - Rethinking Multi-Task Evaluation through Task-Aware Feature Gating with Class-Balanced Normalization","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229928363192/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796109119&Signature=4WW6Njg7%2FrYH%2BtLFynWgwU5xmwc%3D","surgellm-rethinking-multi-task-evaluation-through-task-aware-feature-gating-with-class-balanced-normalization",1790867219]