Skip to main content

Thank you for visiting nature.com. You are using a browser version with limited support for CSS. To obtain the best experience, we recommend you use a more up to date browser (or turn off compatibility mode in Internet Explorer). In the meantime, to ensure continued support, we are displaying the site without styles and JavaScript.

Advertisement

Scientific Reports
  • View all journals
  • Search
  • My Account Login
  • Content Explore content
  • About the journal
  • Publish with us
  • Sign up for alerts
  • RSS feed
  1. nature
  2. scientific reports
  3. articles
  4. article
Knowledge graph-enhanced deep learning for pharmaceutical demand forecasting
Download PDF
Download PDF
  • Article
  • Open access
  • Published: 06 January 2026

Knowledge graph-enhanced deep learning for pharmaceutical demand forecasting

  • Xiaofang Chen1,2,
  • Gang Lu1,
  • Hao Zhang1 &
  • …
  • Junmin Wan3 

Scientific Reports , Article number:  (2026) Cite this article

  • 1282 Accesses

  • 3 Altmetric

  • Metrics details

We are providing an unedited version of this manuscript to give early access to its findings. Before final publication, the manuscript will undergo further editing. Please note there may be errors present which affect the content, and all legal disclaimers apply.

Subjects

  • Computational biology and bioinformatics
  • Health care
  • Mathematics and computing

Abstract

Accurate pharmaceutical demand forecasting is essential to ensure timely drug availability, reduce inventory costs, and improve operational efficiency in healthcare supply chains. However, existing statistical, machine learning, and deep learning approaches often struggle to capture the nonlinear and dynamic demand patterns arising from drug substitutions, comorbidity treatments, and seasonal disease fluctuations. To address this challenge, we propose KG-GCN-LSTM, a novel hybrid model that integrates a pharmaceutical knowledge graph (KG) with deep learning techniques. A clipped Graph Convolutional Network (GCN) is employed to extract feature representations from both the historical demand of the target drug and the related drugs encoded in the knowledge graph. The outputs of the GCN are subsequently processed by a Long Short-Term Memory (LSTM) network to capture temporal dynamics in drug demand. Experiments on real-world pharmacy sales data demonstrate that KG-GCN-LSTM consistently outperforms established benchmarks—including ARIMA, SVR, XGBoost, RNN, CNN-LSTM, TimeMixer and NBEATS, achieving a 3.62% reduction in Symmetric Mean Absolute Percentage Error (SMAPE) relative to NBEATS, while delivering performance comparable to the state-of-the-art TimeMixer. These results highlight the effectiveness of knowledge graph–enhanced deep learning in improving the accuracy and robustness of pharmaceutical demand forecasting, which can support data-driven decision-making in healthcare supply chain management.

Similar content being viewed by others

Predicting drug solubility in binary solvent mixtures using graph convolutional networks: a comprehensive deep learning approach

Article Open access 29 November 2025

New drugs and stock market: a machine learning framework for predicting pharma market reaction to clinical trial announcements

Article Open access 07 August 2023

A foundation model for clinician-centered drug repurposing

Article Open access 25 September 2024

Data availability

The datasets generated and analyzed during the current study are available from the corresponding author on reasonable request.

References

  1. Bilal, A. I., Bititci, U. S. & Fenta, T. G. Challenges and the Way Forward in Demand-Forecasting Practices within the Ethiopian Public Pharmaceutical Supply Chain. Pharmacy 12, 86 (2024).

  2. Bilal, A. I., Rostami-Tabar, B., Hewage, H. H., Bititci, U. S. & Fenta, T. G. The missing puzzle piece: contextual insights for enhanced pharmaceutical supply chain forecasting. Int. J. Prod. Res. 63, 10189–10207 (2025).

  3. Gers, F. A., Schmidhuber, J. & Cummins, F. Learning to forget: continual prediction with LSTM. Neural Comput. 12, 2451–2471 (2000).

    Google Scholar 

  4. Zhao, L. et al. T-GCN: A Temporal graph convolutional network for traffic prediction. IEEE Trans. Intell. Transp. Syst. 21, 3848–3858 (2019).

    Google Scholar 

  5. Shi, Y., Wang, Y., Qu, Y. & Chen, Z. Integrated GCN-LSTM stock prices movement prediction based on knowledge-incorporated graphs construction. Int. J. Mach. Learn. Cybernet. 15, 161–176 (2024).

    Google Scholar 

  6. Yang, C., Li, S. & Gou, Z. Spatiotemporal prediction of urban Building rooftop photovoltaic potential based on GCN-LSTM. Energy Build. 334, 115522 (2025).

    Google Scholar 

  7. Wei, M., Wen, M. & Zhang, Y. A novel Spatial electric load forecasting method based on LDTW and GCN. IET Generation Transmission Distribution. 18, 491–505 (2024).

    Google Scholar 

  8. Wang, X. et al. Distributed LSTM-GCN-based spatial–temporal indoor temperature prediction in multizone buildings. IEEE Trans. Industr. Inf. 20, 482–491 (2023).

    Google Scholar 

  9. Gilbert, K. An ARIMA supply chain model. Manage. Sci. 51, 305–310 (2005).

    Google Scholar 

  10. Kareem, Y. & Majeed, A. R. Monthly Peak-load Demand Forecasting for Sulaimany Governorate Using SARIMA. In 2006 IEEE/PES Transmission & Distribution Conference and Exposition: Latin America. 1–5 (2006).

  11. Jian, Y. et al. ARIMA model for predicting chronic kidney disease and estimating its economic burden in China. BMC Public. Health. 22, 2456 (2022).

    Google Scholar 

  12. Vairagade, N., Logofatu, D., Leon, F. & Muharemi, F. Demand forecasting using random forest and artificial neural network for supply chain management. In Computational Collective Intelligence: 11th International Conference, ICCCI Hendaye, France, September 4–6, 2019, Proceedings, Part I 11, 328–339 (2019). 

  13. Ji, S., Wang, X., Zhao, W. & Guo, D. An application of a three-stage XGBoost-based model to sales forecasting of a cross-border e-commerce enterprise. Mathematical Problems in Engineering (2019). 

  14. Yani, L. P. E. & Aamer, A. Demand forecasting accuracy in the pharmaceutical supply chain: a machine learning approach. Int. J. Pharm. Healthc. Mark. 17, 1–23 (2023).

    Google Scholar 

  15. Douaioui, K., Oucheikh, R., Benmoussa, O. & Mabrouki, C. Machine learning and deep learning models for demand forecasting in supply chain management: A critical review. Appl. Syst. Innov. 7, 93 (2024).

  16. Yildiz, O. & Sucuoglu, H. S. Development of Real-Time IoT-Based air quality forecasting system using machine learning approach. Sustainability 17, 8531 (2025).

    Google Scholar 

  17. Cao, B. et al. Daily peak load prediction method based on XGBoost and MLR. Appl. Sci. 15, 11180 (2025).

    Google Scholar 

  18. Alsmadi, L., Lei, G. & Li, L. Forecasting Day-Ahead electricity demand in Australia using a CNN-LSTM model with an attention mechanism. Appl. Sci. 15, 3829 (2025).

    Google Scholar 

  19. Punia, S., Nikolopoulos, K., Singh, S. P., Madaan, J. K. & Litsiou, K. Deep learning with long short-term memory networks and random forests for demand forecasting in multi-channel retail. Int. J. Prod. Res. 58, 4964–4979 (2020).

    Google Scholar 

  20. Oreshkin, B. N., Carpov, D., Chapados, N. & Bengio, Y. N-BEATS: Neural basis expansion analysis for interpretable time series forecasting. arXiv preprint arXiv:.10437 (2019). (2019). (1905).

  21. Zhang, Z., Zhang, Q., Liang, H. & Gorbani, B. Optimizing electric load forecasting with support vector regression/LSTM optimized by flexible Gorilla troops algorithm and neural networks a case study. Sci. Rep. 14, 22092 (2024).

    Google Scholar 

  22. Jeon, Y. & Seong, S. Robust recurrent network model for intermittent time-series forecasting. Int. J. Forecast. 38, 1415–1425 (2022).

    Google Scholar 

  23. Zha, W. et al. Forecasting monthly gas field production based on the CNN-LSTM model. Energy 260, 124889 (2022).

    Google Scholar 

  24. Tian, Y., Cao, H., Yan, D., Chen, J. & Hua, Y. Spatiotemporal pattern evolution and quantitative prediction of electrical carbon emissions from a demand-side perspective in urban areas. Sci. Rep. 15, 25097 (2025).

    Google Scholar 

  25. Farhadi, A., Zamanifar, A., Alipour, A., Taheri, A. & Asadolahi, M. A hybrid LSTM-GRU model for stock price prediction. IEEE Access 13, 117594–117618 (2025).

  26. Wang, S. et al. Timemixer: Decomposable multiscale mixing for time series forecasting. arXiv preprint arXiv:2405.14616 (2024).

  27. Fourkiotis, K. P. & Tsadiras, A. Applying machine learning and statistical forecasting methods for enhancing pharmaceutical sales predictions. Forecasting 6, 170–186 (2024).

    Google Scholar 

  28. Zhu, X., Ninh, A., Zhao, H. & Liu, Z. Demand forecasting with supply-chain information and machine learning: evidence in the pharmaceutical industry. Prod. Oper. Manage. 30, 3231–3252 (2021).

    Google Scholar 

  29. Rathipriya, R., Abdul Rahman, A. A., Dhamodharavadhani, S., Meero, A. & Yoganandan, G. Demand forecasting model for time-series pharmaceutical data using shallow and deep neural network model. Neural Comput. Appl. 35, 1945–1957 (2023).

    Google Scholar 

  30. Hapsari, I. Cluster-specific Bi-LSTM models for improved pharmaceutical sales forecasting. J. Industrial Servicess (JISS). 10, 259–270 (2024).

    Google Scholar 

  31. Mbonyinshuti, F., Nkurunziza, J., Niyobuhungiro, J. & Kayitare, E. Health supply chain forecasting: a comparison of ARIMA and LSTM time series models for demand prediction of medicines. Acta Logistica. 11, 269–280 (2024).

    Google Scholar 

  32. Priyadharshini, P., Keerthana, S. & Devi, G. K. Optimizing Pharmaceutical Supply Chains using a Hybrid CNN-LSTM Model for Accurate Medicine Demand Forecasting. In 3rd International Conference on Self Sustainable Artificial Intelligence Systems (ICSSAS). 1525–1532 (2025).

  33. Amiri, B., Haddadi, A. & Mojdehi, K. F. A novel hybrid GCN-LSTM algorithm for energy stock price prediction: leveraging Temporal dynamics and inter-stock relationships. IEEE Access 13, 24815–24832 (2025).

  34. Zhang, Y., Xu, S., Zhang, L., Jiang, W., Alam, S. & Xue, D. Short-term multi-step-ahead sector-based traffic flow prediction based on the attention-enhanced graph convolutional LSTM network (AGC-LSTM). Neural Comput. Appl. 37, 14869–14888 (2025).

  35. Mishra, R. & Shridevi, S. Knowledge graph driven medicine recommendation system using graph neural networks on longitudinal medical records. Sci. Rep. 14, 25449 (2024).

    Google Scholar 

  36. Dara, O. N., Ibrahim, A. A. & Mohammed, T. A. Advancing medical imaging: detecting polypharmacy and adverse drug effects with graph convolutional networks (GCN). BMC Med. Imaging. 24, 174 (2024).

    Google Scholar 

  37. Li, A. et al. KGSCS—a smart care system for elderly with geriatric chronic diseases: a knowledge graph approach. BMC Med. Inf. Decis. Mak. 24, 73 (2024).

    Google Scholar 

  38. Yang, L., Guo, Q. & Zhang, L. AI-assisted chemistry research: a comprehensive analysis of evolutionary paths and hotspots through knowledge graphs. Chem. Commun. 60, 6977–6987 (2024).

    Google Scholar 

  39. Rendra & Gustriansyah Retail sales dataset of a pharmacy in Indonesia, Mendeley Data, V1, doi:https://doi.org/10.17632/2ym7v78wtd.1 (2022).

  40. Knox, C. et al. DrugBank 6.0: the drugbank knowledgebase for 2024. Nucleic Acids Res. 52, D1265–D1275 (2024).

    Google Scholar 

  41. Hyndman, R. J. & Khandakar, Y. Automatic time series forecasting: the forecast package for R. J. Stat. Softw. 27, 1–22 (2008).

    Google Scholar 

  42. Aghelpour, P., Mohammadi, B. & Biazar, S. M. Long-term monthly average temperature forecasting in some climate types of Iran, using the models SARIMA, SVR, and SVR-FA. Theoret. Appl. Climatol. 138, 1471–1480 (2019).

    Google Scholar 

  43. Abbasi, R. A. et al. Short term load forecasting using XGBoost. In Workshops of the International Conference on Advanced Information Networking and Applications. 1120–1131 (2019).

  44. Tokgöz, A. & Ünal, G. A RNN based time series approach for forecasting turkish electricity load. In 2018 26th Signal processing and communications applications conference (SIU). 1–4 (2018).

  45. Bertolotti, F., Schettini, F., Ferrario, L., Bellavia, D. & Foglia, E. A prediction framework for pharmaceutical drug consumption using short time-series. Expert Syst. Appl. 253, 124265 (2024).

    Google Scholar 

  46. Liu, Y. et al. itransformer: Inverted transformers are effective for time series forecasting. arXiv preprint arXiv:2310.06625 (2023).

  47. Yan, X. et al. The WOA–CNN–LSTM–Attention model for predicting GNSS water vapor. IEEE Trans. Geosci. Remote Sens. 62, 1–15 (2024).

    Google Scholar 

Download references

Funding

This work was supported by National Key R&D. Program of China (2023YFE0208300, 2023YFE0197900), National Natural Science Foundation of China (72172113, 52272337, 71901165), Humanities and Social Sciences Research Planning Fund of the Ministry of Education of China (21YJAZH008, 25YJA790083), Wuhan Pilot construction of a strong Transportation Country Science and Technology Joint Research Projects (Grant No. 2023-2-9, 2024-2-9), Fundamental Research Funds for the Central Universities (104972024KFYzxk0035, 104972025KFYjc0140, 2024IVA063).

Author information

Authors and Affiliations

  1. School of Management, Wuhan University of Technology, Wuhan, 430070, China

    Xiaofang Chen, Gang Lu & Hao Zhang

  2. Research Institute of Digital Governance and Management Decision Innovation, Wuhan University of Technology, Wuhan, 430070, China

    Xiaofang Chen

  3. Faculty of Economics, Fukuoka University, Fukuoka, 814-0180, Japan

    Junmin Wan

Authors
  1. Xiaofang Chen
    View author publications

    Search author on:PubMed Google Scholar

  2. Gang Lu
    View author publications

    Search author on:PubMed Google Scholar

  3. Hao Zhang
    View author publications

    Search author on:PubMed Google Scholar

  4. Junmin Wan
    View author publications

    Search author on:PubMed Google Scholar

Contributions

Gang Lu: Writing original draft, Visualization, Validation, Software, Investigation, Formal analysis, Data curation. Xiaofang Chen: Conceptualization, Validation, Investigation, Funding acquisition. Hao Zhang: Conceptualization, Methodology, Validation, Investigation, Data curation. Junmin Wan: Validation, Investigation, Data curation.

Corresponding author

Correspondence to Hao Zhang.

Ethics declarations

Competing interests

The authors declare no competing interests.

Additional information

Publisher’s note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Chen, X., Lu, G., Zhang, H. et al. Knowledge graph-enhanced deep learning for pharmaceutical demand forecasting. Sci Rep (2026). https://doi.org/10.1038/s41598-026-35113-4

Download citation

  • Received: 01 December 2025

  • Accepted: 02 January 2026

  • Published: 06 January 2026

  • DOI: https://doi.org/10.1038/s41598-026-35113-4

Share this article

Anyone you share the following link with will be able to read this content:

Sorry, a shareable link is not currently available for this article.

Provided by the Springer Nature SharedIt content-sharing initiative

Keywords

  • Forecast
  • Gcn
  • Lstm
  • Knowledge graph
  • Pharmaceutical demand
Download PDF

Advertisement

Explore content

  • Research articles
  • News & Comment
  • Collections
  • Subjects
  • Follow us on Facebook
  • Follow us on Twitter
  • Sign up for alerts
  • RSS feed

About the journal

  • About Scientific Reports
  • Contact
  • Journal policies
  • Guide to referees
  • Calls for Papers
  • Editor's Choice
  • Journal highlights
  • Open Access Fees and Funding

Publish with us

  • For authors
  • Language editing services
  • Open access funding
  • Submit manuscript

Search

Advanced search

Quick links

  • Explore articles by subject
  • Find a job
  • Guide to authors
  • Editorial policies

Scientific Reports (Sci Rep)

ISSN 2045-2322 (online)

nature.com sitemap

About Nature Portfolio

  • About us
  • Press releases
  • Press office
  • Contact us

Discover content

  • Journals A-Z
  • Articles by subject
  • protocols.io
  • Nature Index

Publishing policies

  • Nature portfolio policies
  • Open access

Author & Researcher services

  • Reprints & permissions
  • Research data
  • Language editing
  • Scientific editing
  • Nature Masterclasses
  • Research Solutions

Libraries & institutions

  • Librarian service & tools
  • Librarian portal
  • Open research
  • Recommend to library

Advertising & partnerships

  • Advertising
  • Partnerships & Services
  • Media kits
  • Branded content

Professional development

  • Nature Awards
  • Nature Careers
  • Nature Conferences

Regional websites

  • Nature Africa
  • Nature China
  • Nature India
  • Nature Japan
  • Nature Middle East
  • Privacy Policy
  • Use of cookies
  • Legal notice
  • Accessibility statement
  • Terms & Conditions
  • Your US state privacy rights
Springer Nature

© 2026 Springer Nature Limited

Nature Briefing AI and Robotics

Sign up for the Nature Briefing: AI and Robotics newsletter — what matters in AI and robotics research, free to your inbox weekly.

Get the most important science stories of the day, free in your inbox. Sign up for Nature Briefing: AI and Robotics