Skip to main content
medRxiv
  • Home
  • About
  • Submit
  • ALERTS / RSS
Advanced Search

Adaptive forecasting of antiretroviral therapy demand using machine learning in India’s national HIV programme

View ORCID ProfileMuskaan Chugh, View ORCID ProfileBhavesh Neekhra, Manish Bamrotiya, View ORCID ProfileSteven J. Clipman, View ORCID ProfileDebayan Gupta
doi: https://doi.org/10.64898/2026.08.25.26361170
Muskaan Chugh
1Department of Computer Science, Ashoka University, Sonipat, Haryana, India
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Muskaan Chugh
Bhavesh Neekhra
1Department of Computer Science, Ashoka University, Sonipat, Haryana, India
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Bhavesh Neekhra
Manish Bamrotiya
2Department of Medicine, Division of Infectious Diseases, Johns Hopkins University School of Medicine, Baltimore, Maryland, United States of America
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
Steven J. Clipman
2Department of Medicine, Division of Infectious Diseases, Johns Hopkins University School of Medicine, Baltimore, Maryland, United States of America
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Steven J. Clipman
Debayan Gupta
1Department of Computer Science, Ashoka University, Sonipat, Haryana, India
  • Find this author on Google Scholar
  • Find this author on PubMed
  • Search for this author on this site
  • ORCID record for Debayan Gupta
  • For correspondence: debayan.gupta{at}ashoka.edu.in
  • Abstract
  • Full Text
  • Info/History
  • Metrics
  • Data/Code
  • Preview PDF
Loading

Abstract

Antiretroviral therapy (ART) stock-outs interrupt treatment, increase the risk of virologic failure and drug resistance, and erode the population-level benefits of viral suppression. India’s National AIDS Control Organization (NACO) manages one of the world’s largest public ART programmes, where regimen transitions, evolving formulations, changing treatment guidelines, and procurement-driven fluctuations in drug consumption complicate forecasting. We developed an end-to-end, regimen-specific forecasting workflow to support procurement planning during such periods of instability.

We analyzed monthly national ART consumption data from January 2013 through December 2024. A privacy-preserving synthetic dataset was used for pipeline development, followed by final evaluation on real national consumption time series. We compared three model classes, comprising six models: (1) classical models (Holt–Winters and ARIMA), (2) transformer models (TimesFM, which is a large pre-trained time-series foundation model, and its variant with logarithmically transformed values), and (3) hybrid models (two variants of a hybrid ARIMA-TimesFM residual model).

While the forecast horizon of 18 months remained constant, the train-test period varied across real and synthetic data, as real data were only available until February 2024. For synthetic data, models were trained through June 2023 (test window was July 2023-December 2024), while for real data, models were trained through August 2022 (our test window was September 2022-February 2024). We reported signed percentage deviation to preserve whether models tended to over-predict or under-predict, and selected models by the smallest absolute deviation. We then derived a regimen-specific model-error buffer, applied only to held-out under-prediction, and deployed the workflow through a no-code dashboard.

Forecasting performance was determined using signed percentage deviation (SPD), wherein positive deviation represents under-prediction and negative deviation represents over-prediction. Performance varied across regimens, indicating that no single approach was best-performing for all formulations. On synthetic benchmark data, the smallest absolute deviations ranged from 0.39% for adult AZT+3TC to 5.37% for adult DRV/r.

On real consumption data, classical methods remained competitive for some series, whereas transformer and hybrid models produced better predictive outcomes for others. For instance, for adult AZT+3TC, the Hybrid 70th percentile achieved an SPD of −2.02%, in contrast to the error range of [−15.7, 8.87] for other models. For adult RTV booster, Holt–Winters achieved an SPD of 1.68%, in contrast to the error range of [14.94%, 17.25%] for the other models.

Several formulations, particularly low-volume and transition regimens, nevertheless remained difficult to forecast accurately, underscoring persistent operational uncertainty. This was especially evident across the three pediatric regimens, where all models deviated systematically in the same direction — a more concerning pattern than mere error magnitude alone. For pediatric ABC+3TC, all models over-predicted within a narrow band of [−82.74, −67.43], while for pediatric AZT+3TC and LPV/r 100/25, all models under-predicted, with ranges of [24.93, 63.73] and [18.32, 52.07], respectively.

These findings support a portfolio approach to forecasting in national HIV programmes. Rather than replacing established public-health procurement systems, regimen-specific model selection, directional error reporting, and cautious model-error buffering can strengthen decision support during regimen transitions and other periods of unstable demand.

Author summary Reliable demand forecasting for HIV medicines is essential to prevent stock-outs that interrupt treatment and compromise patient outcomes. In India’s public ART programme, procurement planning has traditionally drawn on past consumption. This approach performs reasonably well for mature, high-volume regimens, but becomes less reliable when national treatment guidelines change, new formulations are introduced or scaled up, or patients shift between regimens.

We used national ART consumption data from India to compare several forecasting approaches, including classical time-series models, a zero-shot foundation model, and a hybrid residual model. No single method performed best across all drug regimens; performance depended on the specific regimen being forecast. Classical models performed competitively on some relatively stable series, whereas others benefited from more flexible methods. We also developed a practical method for translating model output into procurement recommendations through a regimen-specific model-error buffer, and implemented the workflow in an accessible dashboard.

Our findings suggest that forecasting in national HIV programmes should be framed as a regimen-specific decision problem, rather than a search for one universally best model. This strategy could improve procurement planning during periods of programmatic change and help protect continuity of HIV treatment.

Competing Interest Statement

The authors have declared no competing interest.

Author Declarations

I confirm all relevant ethical guidelines have been followed, and any necessary IRB and/or ethics committee approvals have been obtained.

Yes

The details of the IRB/oversight body that provided approval or exemption for the research described are given below:

This was a secondary analysis of de-identified data, and Johns Hopkins issued a Not Human Subjects Research determination (IRB00446614).

I confirm that all necessary patient/participant consent has been obtained and the appropriate institutional forms have been archived, and that any patient/participant/sample identifiers included were not known to anyone (e.g., hospital staff, patients or participants themselves) outside the research group so cannot be used to identify individuals.

Yes

I understand that all clinical trials and any other prospective interventional studies must be registered with an ICMJE-approved registry, such as ClinicalTrials.gov. I confirm that any such study reported in the manuscript has been registered and the trial registration ID is provided (note: if posting a prospective study registered retrospectively, please provide a statement in the trial ID field explaining why the study was not registered in advance).

Yes

I have followed all appropriate research reporting guidelines, such as any relevant EQUATOR Network research reporting checklist(s) and other pertinent material, if applicable.

Yes

Data Availability Statement

The real data underlying this study are national aggregate ART consumption records provided by India’s National AIDS Control Organization under a data-use agreement and are not publicly available. A validated synthetic dataset, the full analysis code, and dashboard source code are available on Zenodo (DOI: 10.5281/zenodo.21839042).

Funder Information Declared

Johns Hopkins Gupta-Klinsky India Institute, GK
80064639
National Institutes of Health, DP2DA056130
Copyright 
The copyright holder for this preprint is the author/funder, who has granted medRxiv a license to display the preprint in perpetuity. It is made available under a CC-BY-NC 4.0 International license.
Back to top
PreviousNext
Posted August 28, 2026.
Download PDF
Data/Code
Email

Thank you for your interest in spreading the word about medRxiv.

NOTE: Your email address is requested solely to identify you as the sender of this article.

Enter multiple addresses on separate lines or separate them with commas.
Adaptive forecasting of antiretroviral therapy demand using machine learning in India’s national HIV programme
(Your Name) has forwarded a page to you from medRxiv
(Your Name) thought you would like to see this page from the medRxiv website.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
Share
Adaptive forecasting of antiretroviral therapy demand using machine learning in India’s national HIV programme
Muskaan Chugh, Bhavesh Neekhra, Manish Bamrotiya, Steven J. Clipman, Debayan Gupta
medRxiv 2026.08.25.26361170; doi: https://doi.org/10.64898/2026.08.25.26361170
Twitter logo Facebook logo LinkedIn logo Mendeley logo
Citation Tools
Adaptive forecasting of antiretroviral therapy demand using machine learning in India’s national HIV programme
Muskaan Chugh, Bhavesh Neekhra, Manish Bamrotiya, Steven J. Clipman, Debayan Gupta
medRxiv 2026.08.25.26361170; doi: https://doi.org/10.64898/2026.08.25.26361170

Citation Manager Formats

  • BibTeX
  • Bookends
  • EasyBib
  • EndNote (tagged)
  • EndNote 8 (xml)
  • Medlars
  • Mendeley
  • Papers
  • RefWorks Tagged
  • Ref Manager
  • RIS
  • Zotero
  • Tweet Widget
  • Facebook Like
  • Google Plus One

Subject Area

  • HIV/AIDS
Subject Areas
All Articles
  • Addiction Medicine (616)
  • Allergy and Immunology (898)
  • Anesthesia (330)
  • Cardiovascular Medicine (4800)
  • Dentistry and Oral Medicine (478)
  • Dermatology (414)
  • Emergency Medicine (647)
  • Endocrinology (including Diabetes Mellitus and Metabolic Disease) (1624)
  • Epidemiology (15912)
  • Forensic Medicine (32)
  • Gastroenterology (1200)
  • Genetic and Genomic Medicine (7029)
  • Geriatric Medicine (732)
  • Health Economics (1063)
  • Health Informatics (5026)
  • Health Policy (1431)
  • Health Systems and Quality Improvement (1756)
  • Hematology (584)
  • HIV/AIDS (1341)
  • Infectious Diseases (except HIV/AIDS) (16275)
  • Intensive Care and Critical Care Medicine (1169)
  • Medical Education (667)
  • Medical Ethics (153)
  • Nephrology (722)
  • Neurology (7246)
  • Nursing (366)
  • Nutrition (1078)
  • Obstetrics and Gynecology (1237)
  • Occupational and Environmental Health (1003)
  • Oncology (3597)
  • Ophthalmology (1048)
  • Orthopedics (397)
  • Otolaryngology (451)
  • Pain Medicine (469)
  • Palliative Medicine (139)
  • Pathology (706)
  • Pediatrics (1792)
  • Pharmacology and Therapeutics (735)
  • Primary Care Research (762)
  • Psychiatry and Clinical Psychology (5875)
  • Public and Global Health (9737)
  • Radiology and Imaging (2408)
  • Rehabilitation Medicine and Physical Therapy (1446)
  • Respiratory Medicine (1246)
  • Rheumatology (640)
  • Sexual and Reproductive Health (770)
  • Sports Medicine (578)
  • Surgery (775)
  • Toxicology (107)
  • Transplantation (304)
  • Urology (289)